@tencentcloud/roomkit-electron-vue3 2.7.2 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/Chat/ChatKit/components/TUIChat/chat-header/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/default-emoji.mjs +4 -4
- package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/index.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
- package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.mjs +67 -0
- package/es/components/Chat/ChatKit/components/TUIChat/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/index.vue2.mjs +24 -11
- package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.mjs +14 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-quote/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/image-upload/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.mjs +13 -13
- package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/video-upload/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.mjs +4 -4
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-audio.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-record/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-group-application/index.vue2.mjs +2 -2
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.mjs +2 -1
- package/es/components/Chat/ChatKit/components/TUIChat/offlinePushInfoManager/offlinePushInfoManager.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/server.mjs +12 -3
- package/es/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.mjs +3 -2
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +3 -3
- package/es/components/Chat/ChatKit/components/common/Dialog/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Drawer/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Icon.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Overlay/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Overlay/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
- package/es/components/Chat/ChatKit/components/common/Toast/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Transfer/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Transfer/index.vue2.mjs +4 -4
- package/es/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/en/TUIChat.mjs +5 -2
- package/es/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/en/message.mjs +2 -2
- package/es/components/Chat/ChatKit/locales/index.d.ts +4 -1083
- package/es/components/Chat/ChatKit/locales/index.mjs +5 -3
- package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.mjs +4 -1
- package/es/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.mjs +155 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.mjs +67 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.mjs +25 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.mjs +88 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.mjs +42 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/component.mjs +22 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/emoji.mjs +4 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.mjs +12 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/index.mjs +39 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/message.mjs +63 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/time.mjs +38 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
- package/es/components/Chat/ChatKit/locales/zh_tw/words.mjs +15 -0
- package/es/components/Chat/ChatKit/plugins/plugin-components/message-plugin.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
- package/es/components/Chat/ChatKit/utils/riseInput.mjs +45 -0
- package/es/components/Chat/index/index.vue.mjs +1 -1
- package/es/components/Chat/index/index.vue2.mjs +4 -19
- package/es/components/ManageMember/MemberControl/index.vue2.mjs +1 -1
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +4 -4
- package/es/components/ManageMember/MemberInvite/MemberInvite.vue2.mjs +1 -1
- package/es/components/ManageMember/index.vue2.mjs +1 -1
- package/es/components/PreRoom/PasswordDialog.vue.mjs +1 -1
- package/es/components/PreRoom/PasswordDialog.vue2.mjs +21 -12
- package/es/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
- package/es/components/RoomContent/StreamContainer/index.vue.mjs +1 -1
- package/es/components/RoomContent/StreamContainer/index.vue2.mjs +111 -262
- package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
- package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.mjs +11 -0
- package/es/components/RoomContent/index.vue.d.ts +1 -14
- package/es/components/RoomContent/index.vue.mjs +1 -1
- package/es/components/RoomContent/index.vue2.mjs +1 -4
- package/es/components/RoomFooter/AIControl.vue.d.ts +1 -5
- package/es/components/RoomFooter/AIControl.vue.mjs +1 -1
- package/es/components/RoomFooter/AIControl.vue2.mjs +5 -8
- package/es/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.mjs +2 -2
- package/es/components/RoomFooter/ApplyControl/MemberApplyControl.vue2.mjs +1 -1
- package/es/components/RoomFooter/AudioControl.vue2.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue2.mjs +8 -5
- package/es/components/RoomFooter/ChatControl.vue.mjs +2 -1
- package/es/components/RoomFooter/EndControl/index.vue.mjs +1 -1
- package/es/components/RoomFooter/EndControl/index.vue2.mjs +5 -7
- package/es/components/RoomFooter/EndControl/useEndControlHooks.mjs +8 -12
- package/es/components/RoomFooter/FullScreenControl.vue.mjs +1 -1
- package/es/components/RoomFooter/InviteControl.vue.mjs +1 -1
- package/es/components/RoomFooter/InviteControl.vue2.mjs +2 -1
- package/es/components/RoomFooter/ManageMemberControl.vue.mjs +1 -1
- package/es/components/RoomFooter/MoreControl/index.vue.mjs +1 -1
- package/es/components/RoomFooter/ScreenShareControl/Index.vue.mjs +1 -1
- package/es/components/RoomFooter/ScreenShareControl/Index.vue2.mjs +4 -4
- package/es/components/RoomFooter/ScreenShareControl/ScreenWindowSelectDialog.vue2.mjs +1 -1
- package/es/components/RoomFooter/VideoControl.vue2.mjs +2 -2
- package/es/components/RoomFooter/VirtualBackground.vue.mjs +1 -1
- package/es/components/RoomFooter/VirtualBackground.vue2.mjs +6 -3
- package/es/components/RoomFooter/WhiteboardControl.vue.mjs +14 -4
- package/es/components/RoomFooter/index/index.vue.d.ts +1 -5
- package/es/components/RoomFooter/index/index.vue.mjs +1 -1
- package/es/components/RoomFooter/index/index.vue2.mjs +2 -8
- package/es/components/RoomHeader/UserInfo/index.vue2.mjs +1 -1
- package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +2 -2
- package/es/components/RoomHeader/index/index.vue.d.ts +1 -5
- package/es/components/RoomHeader/index/index.vue.mjs +1 -1
- package/es/components/RoomHeader/index/index.vue2.mjs +0 -15
- package/es/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
- package/es/components/RoomHome/RoomControl/index.vue.mjs +1 -1
- package/es/components/RoomHome/RoomControl/index.vue2.mjs +3 -4
- package/es/components/RoomInvite/InvitationNotification.vue2.mjs +2 -2
- package/es/components/RoomInvite/index.vue2.mjs +1 -1
- package/es/components/RoomInvite/useRoomInviteHooks.mjs +2 -2
- package/es/components/RoomOverlay/RoomOverlay.vue.mjs +16 -0
- package/es/components/RoomOverlay/RoomOverlay.vue2.mjs +4 -0
- package/es/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
- package/es/components/RoomOverlay/useRoomOverlayHooks.mjs +30 -0
- package/es/components/RoomSetting/index.vue2.mjs +1 -1
- package/es/components/RoomSidebar/index.vue.mjs +1 -1
- package/es/components/ScheduleConference/Contacts.vue2.mjs +1 -1
- package/es/components/ScheduleConference/InvitePanel.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue2.mjs +12 -8
- package/es/components/ScheduleConference/ScheduleRoomControl.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +4 -4
- package/es/components/ScheduleConference/ScheduleRoomList.vue2.mjs +2 -2
- package/es/components/ScheduleConference/ShareLink.vue2.mjs +2 -2
- package/es/components/ScheduleConference/TimezonePicker.vue.mjs +1 -1
- package/es/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
- package/es/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.mjs +2 -2
- package/es/components/Stream/MultiStreamView/index.vue2.mjs +99 -0
- package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
- package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.mjs +95 -0
- package/es/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
- package/es/components/Stream/SingleStreamView/index.vue.mjs +30 -0
- package/es/components/Stream/SingleStreamView/index.vue2.mjs +4 -0
- package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.mjs +1 -1
- package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.mjs +23 -58
- package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.mjs +1 -1
- package/es/components/Stream/common/StreamList/index.vue.d.ts +27 -0
- package/es/components/{RoomContent → Stream/common}/StreamList/index.vue.mjs +2 -2
- package/es/components/{RoomContent → Stream/common}/StreamList/index.vue2.mjs +59 -95
- package/{lib/components/RoomContent/StreamRegion → es/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
- package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.mjs +1 -1
- package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.mjs +18 -13
- package/es/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
- package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue.mjs +2 -2
- package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.mjs +24 -27
- package/es/components/common/Language.vue.mjs +1 -1
- package/es/components/common/SwitchTheme.vue.mjs +1 -1
- package/es/components/common/VideoProfile.vue2.mjs +1 -1
- package/es/components/common/VideoSettingTab.vue2.mjs +2 -2
- package/es/components/common/base/Button.vue.d.ts +1 -1
- package/es/components/common/base/Button.vue2.mjs +1 -1
- package/es/components/common/base/Checkbox/index.vue.d.ts +1 -1
- package/es/components/common/base/Dialog/index.vue.d.ts +4 -4
- package/es/components/common/base/Dialog/index.vue2.mjs +1 -1
- package/es/components/common/base/IconButton.vue.d.ts +3 -3
- package/es/components/common/base/Input/index.vue.d.ts +4 -4
- package/es/components/common/base/Input/index.vue2.mjs +1 -1
- package/es/components/common/base/Message/Message.vue.d.ts +4 -4
- package/es/components/common/base/Message/Message.vue2.mjs +1 -1
- package/es/components/common/base/MessageBox/index.vue.d.ts +1 -1
- package/es/components/common/base/MessageBox/index.vue2.mjs +1 -1
- package/es/components/common/base/Notification/index.vue.d.ts +1 -1
- package/es/components/common/base/Select/index.vue.d.ts +1 -1
- package/es/components/common/base/Select/index.vue2.mjs +1 -1
- package/es/components/common/base/Slider.vue.d.ts +1 -1
- package/es/components/common/base/SvgIcon.vue2.mjs +1 -1
- package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.mjs +7 -6
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue2.mjs +8 -7
- package/es/conference.d.ts +6 -0
- package/es/conference.mjs +7 -1
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +14 -24
- package/es/constants/room.mjs +3 -1
- package/es/extension/RoomMessageCard/RoomMessageCard.vue2.mjs +1 -1
- package/es/extension/chatExtension.mjs +7 -4
- package/es/extension/utils/interact.mjs +1 -1
- package/es/extension/utils/setLanguage.mjs +1 -1
- package/es/hooks/useDeviceManager.mjs +1 -1
- package/es/hooks/useMasterApplyControl.mjs +2 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +956 -1184
- package/es/locales/en-US.d.ts +2 -1
- package/es/locales/en-US.mjs +3 -2
- package/es/locales/zh-CN.d.ts +2 -1
- package/es/locales/zh-CN.mjs +2 -1
- package/es/preConference.vue.d.ts +5 -0
- package/es/preConference.vue.mjs +1 -1
- package/es/preConference.vue2.mjs +7 -4
- package/es/services/index.d.ts +1 -0
- package/es/services/manager/chatManager.d.ts +0 -2
- package/es/services/manager/chatManager.mjs +6 -12
- package/{lib/services/manager/MediaManager.d.ts → es/services/manager/mediaManager.d.ts} +16 -13
- package/es/services/manager/{MediaManager.mjs → mediaManager.mjs} +111 -114
- package/es/services/manager/roomActionManager.d.ts +3 -0
- package/es/services/manager/roomActionManager.mjs +8 -1
- package/es/services/manager/scheduleConferenceManager.d.ts +1 -0
- package/es/services/manager/scheduleConferenceManager.mjs +24 -1
- package/es/services/manager/trackingManager.d.ts +11 -0
- package/es/services/manager/trackingManager.mjs +20 -0
- package/es/services/manager/userManager.d.ts +11 -1
- package/es/services/manager/userManager.mjs +159 -9
- package/es/services/roomService.d.ts +3 -2
- package/es/services/roomService.mjs +24 -42
- package/es/stores/basic.mjs +7 -2
- package/es/stores/room.d.ts +29 -1
- package/es/stores/room.mjs +50 -57
- package/es/utils/common/logger/index.mjs +1 -1
- package/es/utils/domOperation.d.ts +4 -0
- package/es/utils/domOperation.mjs +17 -23
- package/es/utils/utils.d.ts +11 -0
- package/es/utils/utils.mjs +43 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.js +67 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/index.vue2.js +22 -9
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/index.vue2.js +6 -6
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.js +13 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.js +13 -13
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.js +9 -9
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-quote/index.vue2.js +4 -4
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.js +11 -11
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.js +1 -0
- package/lib/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
- package/lib/components/Chat/ChatKit/components/TUIChat/server.js +12 -3
- package/lib/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.js +2 -1
- package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.js +2 -2
- package/lib/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Overlay/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
- package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue.js +1 -1
- package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue2.js +2 -2
- package/lib/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/en/TUIChat.js +5 -2
- package/lib/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/en/message.js +2 -2
- package/lib/components/Chat/ChatKit/locales/index.d.ts +4 -1083
- package/lib/components/Chat/ChatKit/locales/index.js +5 -3
- package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.js +4 -1
- package/lib/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.js +155 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.js +67 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.js +25 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.js +88 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.js +42 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/component.js +22 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.js +4 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.js +12 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/index.js +39 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/message.js +63 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/time.js +38 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
- package/lib/components/Chat/ChatKit/locales/zh_tw/words.js +15 -0
- package/lib/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
- package/lib/components/Chat/ChatKit/utils/riseInput.js +45 -0
- package/lib/components/Chat/index/index.vue.js +1 -1
- package/lib/components/Chat/index/index.vue2.js +2 -17
- package/lib/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
- package/lib/components/ManageMember/MemberControl/useMemberControlHooks.js +3 -3
- package/lib/components/ManageMember/MemberInvite/MemberInvite.vue2.js +1 -1
- package/lib/components/PreRoom/PasswordDialog.vue.js +1 -1
- package/lib/components/PreRoom/PasswordDialog.vue2.js +20 -11
- package/lib/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
- package/lib/components/RoomContent/StreamContainer/index.vue.js +1 -1
- package/lib/components/RoomContent/StreamContainer/index.vue2.js +109 -260
- package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
- package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.js +11 -0
- package/lib/components/RoomContent/index.vue.d.ts +1 -14
- package/lib/components/RoomContent/index.vue.js +1 -1
- package/lib/components/RoomContent/index.vue2.js +1 -4
- package/lib/components/RoomFooter/AIControl.vue.d.ts +1 -5
- package/lib/components/RoomFooter/AIControl.vue.js +1 -1
- package/lib/components/RoomFooter/AIControl.vue2.js +5 -8
- package/lib/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.js +1 -1
- package/lib/components/RoomFooter/AudioControl.vue2.js +4 -4
- package/lib/components/RoomFooter/BasicBeauty.vue.js +1 -1
- package/lib/components/RoomFooter/BasicBeauty.vue2.js +6 -3
- package/lib/components/RoomFooter/ChatControl.vue.js +2 -1
- package/lib/components/RoomFooter/EndControl/index.vue.js +1 -1
- package/lib/components/RoomFooter/EndControl/index.vue2.js +4 -6
- package/lib/components/RoomFooter/EndControl/useEndControlHooks.js +8 -12
- package/lib/components/RoomFooter/FullScreenControl.vue.js +1 -1
- package/lib/components/RoomFooter/InviteControl.vue.js +1 -1
- package/lib/components/RoomFooter/InviteControl.vue2.js +2 -1
- package/lib/components/RoomFooter/ManageMemberControl.vue.js +1 -1
- package/lib/components/RoomFooter/MoreControl/index.vue.js +1 -1
- package/lib/components/RoomFooter/ScreenShareControl/Index.vue.js +1 -1
- package/lib/components/RoomFooter/ScreenShareControl/Index.vue2.js +8 -8
- package/lib/components/RoomFooter/VideoControl.vue2.js +4 -4
- package/lib/components/RoomFooter/VirtualBackground.vue.js +1 -1
- package/lib/components/RoomFooter/VirtualBackground.vue2.js +5 -2
- package/lib/components/RoomFooter/WhiteboardControl.vue.js +13 -3
- package/lib/components/RoomFooter/index/index.vue.d.ts +1 -5
- package/lib/components/RoomFooter/index/index.vue.js +1 -1
- package/lib/components/RoomFooter/index/index.vue2.js +2 -8
- package/lib/components/RoomHeader/UserInfo/index.vue2.js +1 -1
- package/lib/components/RoomHeader/index/LayoutControl.vue2.js +1 -1
- package/lib/components/RoomHeader/index/index.vue.d.ts +1 -5
- package/lib/components/RoomHeader/index/index.vue.js +1 -1
- package/lib/components/RoomHeader/index/index.vue2.js +0 -15
- package/lib/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
- package/lib/components/RoomHome/RoomControl/index.vue.js +1 -1
- package/lib/components/RoomHome/RoomControl/index.vue2.js +1 -2
- package/lib/components/RoomInvite/InvitationNotification.vue2.js +1 -1
- package/lib/components/RoomInvite/useRoomInviteHooks.js +2 -2
- package/lib/components/RoomOverlay/RoomOverlay.vue.js +16 -0
- package/lib/components/RoomOverlay/RoomOverlay.vue2.js +4 -0
- package/lib/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
- package/lib/components/RoomOverlay/useRoomOverlayHooks.js +30 -0
- package/lib/components/RoomSidebar/index.vue.js +1 -1
- package/lib/components/ScheduleConference/InvitePanel.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue2.js +11 -7
- package/lib/components/ScheduleConference/ScheduleRoomControl.vue.js +1 -1
- package/lib/components/ScheduleConference/ScheduleRoomControl.vue2.js +3 -3
- package/lib/components/ScheduleConference/ScheduleRoomList.vue2.js +2 -2
- package/lib/components/ScheduleConference/ShareLink.vue2.js +1 -1
- package/lib/components/ScheduleConference/TimezonePicker.vue.js +1 -1
- package/lib/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
- package/lib/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.js +2 -2
- package/lib/components/Stream/MultiStreamView/index.vue2.js +99 -0
- package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
- package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.js +95 -0
- package/lib/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
- package/lib/components/Stream/SingleStreamView/index.vue.js +30 -0
- package/lib/components/Stream/SingleStreamView/index.vue2.js +4 -0
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.js +1 -1
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.js +22 -57
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.js +1 -1
- package/lib/components/Stream/common/StreamList/index.vue.d.ts +27 -0
- package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue.js +2 -2
- package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue2.js +60 -96
- package/{es/components/RoomContent/StreamRegion → lib/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.js +1 -1
- package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.js +21 -16
- package/lib/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
- package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue.js +2 -2
- package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.js +24 -27
- package/lib/components/common/Language.vue.js +1 -1
- package/lib/components/common/SwitchTheme.vue.js +1 -1
- package/lib/components/common/base/Button.vue.d.ts +1 -1
- package/lib/components/common/base/Checkbox/index.vue.d.ts +1 -1
- package/lib/components/common/base/Dialog/index.vue.d.ts +4 -4
- package/lib/components/common/base/IconButton.vue.d.ts +3 -3
- package/lib/components/common/base/Input/index.vue.d.ts +4 -4
- package/lib/components/common/base/Message/Message.vue.d.ts +4 -4
- package/lib/components/common/base/MessageBox/index.vue.d.ts +1 -1
- package/lib/components/common/base/Notification/index.vue.d.ts +1 -1
- package/lib/components/common/base/Select/index.vue.d.ts +1 -1
- package/lib/components/common/base/Select/index.vue2.js +1 -1
- package/lib/components/common/base/Slider.vue.d.ts +1 -1
- package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue.js +2 -2
- package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.js +7 -6
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.js +2 -2
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue2.js +8 -7
- package/lib/conference.d.ts +6 -0
- package/lib/conference.js +7 -1
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +24 -34
- package/lib/constants/room.js +3 -1
- package/lib/extension/chatExtension.js +5 -2
- package/lib/extension/utils/interact.js +1 -1
- package/lib/extension/utils/setLanguage.js +1 -1
- package/lib/hooks/useMasterApplyControl.js +11 -10
- package/lib/index.d.ts +1 -0
- package/lib/index.js +956 -1184
- package/lib/locales/en-US.d.ts +2 -1
- package/lib/locales/en-US.js +3 -2
- package/lib/locales/zh-CN.d.ts +2 -1
- package/lib/locales/zh-CN.js +2 -1
- package/lib/preConference.vue.d.ts +5 -0
- package/lib/preConference.vue.js +1 -1
- package/lib/preConference.vue2.js +13 -10
- package/lib/services/index.d.ts +1 -0
- package/lib/services/manager/chatManager.d.ts +0 -2
- package/lib/services/manager/chatManager.js +6 -12
- package/{es/services/manager/MediaManager.d.ts → lib/services/manager/mediaManager.d.ts} +16 -13
- package/lib/services/manager/{MediaManager.js → mediaManager.js} +109 -112
- package/lib/services/manager/roomActionManager.d.ts +3 -0
- package/lib/services/manager/roomActionManager.js +7 -0
- package/lib/services/manager/scheduleConferenceManager.d.ts +1 -0
- package/lib/services/manager/scheduleConferenceManager.js +23 -0
- package/lib/services/manager/trackingManager.d.ts +11 -0
- package/lib/services/manager/trackingManager.js +20 -0
- package/lib/services/manager/userManager.d.ts +11 -1
- package/lib/services/manager/userManager.js +158 -8
- package/lib/services/roomService.d.ts +3 -2
- package/lib/services/roomService.js +24 -42
- package/lib/stores/basic.js +6 -1
- package/lib/stores/room.d.ts +29 -1
- package/lib/stores/room.js +49 -56
- package/lib/utils/domOperation.d.ts +4 -0
- package/lib/utils/domOperation.js +17 -23
- package/lib/utils/utils.d.ts +11 -0
- package/lib/utils/utils.js +43 -0
- package/package.json +4 -4
- package/src/TUIRoom/components/Chat/ChatKit/CHANGELOG.md +35 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.ts +66 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/index.vue +24 -8
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue +15 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue +13 -13
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/index.vue +1 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue +2 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue +4 -6
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue +9 -3
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/server.ts +12 -3
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.ts +1 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIContact/contact-list/index.vue +3 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/TUIGroup/manage-group/index.vue +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/index.vue +1 -1
- package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/h5.scss +4 -3
- package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/modal.scss +0 -2
- package/src/TUIRoom/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/components/common/Overlay/index.vue +5 -0
- package/src/TUIRoom/components/Chat/ChatKit/components/common/Transfer/index.vue +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/locales/en/TUIChat.ts +4 -1
- package/src/TUIRoom/components/Chat/ChatKit/locales/en/message.ts +2 -2
- package/src/TUIRoom/components/Chat/ChatKit/locales/index.ts +9 -3
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_cn/TUIChat.ts +3 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIChat.ts +154 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIContact.ts +66 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIConversation.ts +24 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIGroup.ts +87 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUISearch.ts +41 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/component.ts +21 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/emoji.ts +2 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/evaluate.ts +11 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/index.ts +41 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/message.ts +62 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/time.ts +37 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/translate.ts +164 -0
- package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/words.ts +14 -0
- package/src/TUIRoom/components/Chat/ChatKit/utils/riseInput.ts +53 -0
- package/src/TUIRoom/components/Chat/index/index.vue +2 -20
- package/src/TUIRoom/components/ManageMember/MemberControl/useMemberControlHooks.ts +7 -4
- package/src/TUIRoom/components/PreRoom/PasswordDialog.vue +21 -11
- package/src/TUIRoom/components/RoomContent/StreamContainer/index.vue +107 -384
- package/src/TUIRoom/components/RoomContent/StreamContainer/useStreamContainerHooks.ts +5 -112
- package/src/TUIRoom/components/RoomContent/index.vue +1 -5
- package/src/TUIRoom/components/RoomFooter/AIControl.vue +7 -6
- package/src/TUIRoom/components/RoomFooter/BasicBeauty.vue +1 -1
- package/src/TUIRoom/components/RoomFooter/ChatControl.vue +1 -0
- package/src/TUIRoom/components/RoomFooter/EndControl/index.vue +4 -3
- package/src/TUIRoom/components/RoomFooter/EndControl/useEndControlHooks.ts +4 -10
- package/src/TUIRoom/components/RoomFooter/InviteControl.vue +1 -0
- package/src/TUIRoom/components/RoomFooter/ScreenShareControl/Index.vue +3 -3
- package/src/TUIRoom/components/RoomFooter/VirtualBackground.vue +1 -1
- package/src/TUIRoom/components/RoomFooter/WhiteboardControl.vue +13 -2
- package/src/TUIRoom/components/RoomFooter/index/index.vue +0 -6
- package/src/TUIRoom/components/RoomHeader/index/index.vue +0 -17
- package/src/TUIRoom/components/RoomHome/RoomControl/index.vue +0 -2
- package/src/TUIRoom/components/RoomInvite/useRoomInviteHooks.ts +2 -2
- package/src/TUIRoom/components/RoomOverlay/RoomOverlay.vue +13 -0
- package/src/TUIRoom/components/RoomOverlay/useRoomOverlayHooks.ts +21 -0
- package/src/TUIRoom/components/RoomSidebar/index.vue +1 -1
- package/src/TUIRoom/components/ScheduleConference/InvitePanel.vue +1 -0
- package/src/TUIRoom/components/ScheduleConference/ScheduleConferencePanel/index.vue +10 -4
- package/src/TUIRoom/components/ScheduleConference/ScheduleRoomControl.vue +1 -0
- package/src/TUIRoom/components/Stream/MultiStreamView/index.vue +161 -0
- package/src/TUIRoom/components/Stream/MultiStreamView/useMultiStreamViewHook.ts +107 -0
- package/src/TUIRoom/components/Stream/SingleStreamView/index.vue +32 -0
- package/src/TUIRoom/components/Stream/common/LocalScreenView/index.vue +150 -0
- package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue +1 -6
- package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamList/index.vue +74 -124
- package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue +28 -13
- package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamRegion/index.vue +27 -32
- package/src/TUIRoom/components/common/base/Swiper.vue +20 -6
- package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AISubtitles.vue +1 -1
- package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AITranscription.vue +2 -2
- package/src/TUIRoom/conference.ts +14 -0
- package/src/TUIRoom/conference.vue +10 -23
- package/src/TUIRoom/hooks/useMasterApplyControl.ts +2 -1
- package/src/TUIRoom/index.ts +3 -1
- package/src/TUIRoom/locales/en-US.ts +4 -3
- package/src/TUIRoom/locales/zh-CN.ts +3 -1
- package/src/TUIRoom/preConference.vue +3 -1
- package/src/TUIRoom/services/index.ts +1 -0
- package/src/TUIRoom/services/manager/chatManager.ts +7 -16
- package/src/TUIRoom/services/manager/{MediaManager.ts → mediaManager.ts} +125 -136
- package/src/TUIRoom/services/manager/roomActionManager.ts +5 -0
- package/src/TUIRoom/services/manager/scheduleConferenceManager.ts +24 -1
- package/src/TUIRoom/services/manager/trackingManager.ts +22 -0
- package/src/TUIRoom/services/manager/userManager.ts +201 -7
- package/src/TUIRoom/services/roomService.ts +5 -24
- package/src/TUIRoom/stores/basic.ts +6 -0
- package/src/TUIRoom/stores/room.ts +60 -68
- package/src/TUIRoom/utils/domOperation.ts +27 -0
- package/src/TUIRoom/utils/utils.ts +61 -0
- package/es/components/Chat/ChatEditor/index.vue.mjs +0 -7
- package/es/components/Chat/ChatEditor/index.vue2.mjs +0 -45
- package/es/components/Chat/ChatEditor/useChatEditor.mjs +0 -83
- package/es/components/Chat/EditorTools/index.vue.d.ts +0 -6
- package/es/components/Chat/EditorTools/index.vue.mjs +0 -7
- package/es/components/Chat/EditorTools/index.vue2.mjs +0 -59
- package/es/components/Chat/MessageList/index.vue2.mjs +0 -101
- package/es/components/Chat/MessageList/useMessageListHook.mjs +0 -142
- package/es/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
- package/es/components/Chat/MessageTypes/MessageText.vue.mjs +0 -7
- package/es/components/Chat/MessageTypes/MessageText.vue2.mjs +0 -31
- package/es/components/Chat/util.mjs +0 -432
- package/es/components/RoomContent/StreamList/index.vue.d.ts +0 -39
- package/es/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
- package/es/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
- package/es/components/common/icons/EmojiIcon.vue.mjs +0 -21
- package/lib/components/Chat/ChatEditor/index.vue.js +0 -7
- package/lib/components/Chat/ChatEditor/index.vue2.js +0 -45
- package/lib/components/Chat/ChatEditor/useChatEditor.js +0 -83
- package/lib/components/Chat/EditorTools/index.vue.d.ts +0 -6
- package/lib/components/Chat/EditorTools/index.vue.js +0 -7
- package/lib/components/Chat/EditorTools/index.vue2.js +0 -59
- package/lib/components/Chat/MessageList/index.vue.d.ts +0 -2
- package/lib/components/Chat/MessageList/index.vue2.js +0 -101
- package/lib/components/Chat/MessageList/useMessageListHook.js +0 -142
- package/lib/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
- package/lib/components/Chat/MessageTypes/MessageText.vue.js +0 -7
- package/lib/components/Chat/MessageTypes/MessageText.vue2.js +0 -31
- package/lib/components/Chat/util.js +0 -432
- package/lib/components/RoomContent/StreamList/index.vue.d.ts +0 -39
- package/lib/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
- package/lib/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
- package/lib/components/common/icons/EmojiIcon.vue.d.ts +0 -2
- package/lib/components/common/icons/EmojiIcon.vue.js +0 -21
- /package/es/components/{AITools/AISubtitles.vue.d.ts → RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
- /package/es/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
- /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
- /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.mjs +0 -0
- /package/{lib/components → es/components/common/widgets}/AITools/AISubtitles.vue.d.ts +0 -0
- /package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
- /package/{es/components/Chat/MessageList/index.vue.d.ts → lib/components/RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
- /package/lib/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
- /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
- /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.js +0 -0
- /package/{es/components/common/icons/EmojiIcon.vue.d.ts → lib/components/common/widgets/AITools/AISubtitles.vue.d.ts} +0 -0
- /package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
|
@@ -1,123 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type { Ref } from 'vue';
|
|
3
|
-
import { useRoomStore, StreamInfo } from '../../../stores/room';
|
|
4
|
-
import { TRTCVolumeInfo } from '@tencentcloud/tuiroom-engine-electron';
|
|
5
|
-
import { useI18n } from '../../../locales';
|
|
6
|
-
import { useBasicStore } from '../../../stores/basic';
|
|
7
|
-
import { storeToRefs } from 'pinia';
|
|
8
|
-
import { throttle } from '../../../utils/utils';
|
|
9
|
-
import { LAYOUT } from '../../../constants/render';
|
|
1
|
+
import { StreamInfo } from '../../../stores/room';
|
|
10
2
|
|
|
11
3
|
export default function useStreamContainer() {
|
|
12
|
-
/** --- The following processing stream events ---- **/
|
|
13
|
-
const basicStore = useBasicStore();
|
|
14
|
-
const roomStore = useRoomStore();
|
|
15
|
-
const { layout } = storeToRefs(basicStore);
|
|
16
|
-
const { localStream } = storeToRefs(roomStore);
|
|
17
|
-
const { t } = useI18n();
|
|
18
|
-
|
|
19
|
-
const currentRemoteSpeakerUserId: Ref<string> = ref('');
|
|
20
|
-
const currentSpeakerUserId: Ref<string> = ref('');
|
|
21
|
-
|
|
22
|
-
// Calculate the userId of the loudest speaker in the room
|
|
23
|
-
// Calculate the userId of the remote user who speaks the loudest in the current room.
|
|
24
|
-
function handleUserVoiceVolume(userVolumeList: Array<TRTCVolumeInfo>) {
|
|
25
|
-
const localUserVolume = {
|
|
26
|
-
userId: basicStore.userId,
|
|
27
|
-
volume: 0,
|
|
28
|
-
};
|
|
29
|
-
const largestRemoteUserVolume = {
|
|
30
|
-
userId: '',
|
|
31
|
-
volume: 0,
|
|
32
|
-
};
|
|
33
|
-
userVolumeList.forEach((item: TRTCVolumeInfo) => {
|
|
34
|
-
if (
|
|
35
|
-
item.userId === basicStore.userId &&
|
|
36
|
-
localStream.value.hasAudioStream
|
|
37
|
-
) {
|
|
38
|
-
localUserVolume.volume = item.volume;
|
|
39
|
-
} else if (
|
|
40
|
-
item.userId !== basicStore.userId &&
|
|
41
|
-
roomStore.userInfoObj[item.userId]?.hasAudioStream
|
|
42
|
-
) {
|
|
43
|
-
const { userId, volume } = item;
|
|
44
|
-
if (volume > largestRemoteUserVolume.volume) {
|
|
45
|
-
largestRemoteUserVolume.userId = userId;
|
|
46
|
-
largestRemoteUserVolume.volume = volume;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
const largestUserVolume =
|
|
52
|
-
localUserVolume.volume > largestRemoteUserVolume.volume
|
|
53
|
-
? localUserVolume
|
|
54
|
-
: largestRemoteUserVolume;
|
|
55
|
-
|
|
56
|
-
if (currentRemoteSpeakerUserId.value) {
|
|
57
|
-
const lastRemoteSpeakerUserVolumeInfo = userVolumeList.find(
|
|
58
|
-
(item: TRTCVolumeInfo) =>
|
|
59
|
-
item.userId === currentRemoteSpeakerUserId.value
|
|
60
|
-
);
|
|
61
|
-
if (
|
|
62
|
-
!lastRemoteSpeakerUserVolumeInfo ||
|
|
63
|
-
lastRemoteSpeakerUserVolumeInfo.volume === 0
|
|
64
|
-
) {
|
|
65
|
-
if (largestRemoteUserVolume.volume > 0) {
|
|
66
|
-
currentRemoteSpeakerUserId.value = largestRemoteUserVolume.userId;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
} else {
|
|
70
|
-
if (largestRemoteUserVolume.volume > 0) {
|
|
71
|
-
currentRemoteSpeakerUserId.value = largestRemoteUserVolume.userId;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
if (currentSpeakerUserId.value) {
|
|
76
|
-
const lastSpeakerUserVolumeInfo: TRTCVolumeInfo | undefined =
|
|
77
|
-
userVolumeList.find(
|
|
78
|
-
(item: TRTCVolumeInfo) => item.userId === currentSpeakerUserId.value
|
|
79
|
-
);
|
|
80
|
-
if (
|
|
81
|
-
!lastSpeakerUserVolumeInfo ||
|
|
82
|
-
lastSpeakerUserVolumeInfo.volume === 0
|
|
83
|
-
) {
|
|
84
|
-
if (largestUserVolume.volume > 0) {
|
|
85
|
-
currentSpeakerUserId.value = largestUserVolume.userId;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
} else {
|
|
89
|
-
if (largestUserVolume.volume > 0) {
|
|
90
|
-
currentSpeakerUserId.value = largestUserVolume.userId;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
const handleUserVoiceVolumeThrottle = throttle(handleUserVoiceVolume, 1000);
|
|
96
|
-
|
|
97
|
-
// volume change
|
|
98
|
-
const onUserVoiceVolumeChanged = (eventInfo: { userVolumeList: any[] }) => {
|
|
99
|
-
const { userVolumeList } = eventInfo;
|
|
100
|
-
if (layout.value === LAYOUT.LARGE_SMALL_WINDOW) {
|
|
101
|
-
handleUserVoiceVolumeThrottle(userVolumeList);
|
|
102
|
-
}
|
|
103
|
-
};
|
|
104
|
-
|
|
105
4
|
const isSameStream = (
|
|
106
|
-
stream1: StreamInfo | null,
|
|
107
|
-
stream2: StreamInfo | null
|
|
108
|
-
) =>
|
|
109
|
-
`${stream1?.userId}_${stream1?.streamType}` ===
|
|
110
|
-
`${stream2?.userId}_${stream2?.streamType}`;
|
|
5
|
+
stream1: StreamInfo | null | undefined,
|
|
6
|
+
stream2: StreamInfo | null | undefined
|
|
7
|
+
) => getStreamKey(stream1) === getStreamKey(stream2);
|
|
111
8
|
|
|
112
|
-
const getStreamKey = (stream: StreamInfo | null) =>
|
|
9
|
+
const getStreamKey = (stream: StreamInfo | null | undefined) =>
|
|
113
10
|
`${stream?.userId}_${stream?.streamType}`;
|
|
114
11
|
|
|
115
12
|
return {
|
|
116
|
-
currentRemoteSpeakerUserId,
|
|
117
|
-
currentSpeakerUserId,
|
|
118
|
-
onUserVoiceVolumeChanged,
|
|
119
13
|
isSameStream,
|
|
120
14
|
getStreamKey,
|
|
121
|
-
t,
|
|
122
15
|
};
|
|
123
16
|
}
|
|
@@ -1,15 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="content-container">
|
|
3
|
-
<stream-container
|
|
3
|
+
<stream-container />
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
7
7
|
<script setup lang="ts">
|
|
8
8
|
import StreamContainer from './StreamContainer/index.vue';
|
|
9
|
-
|
|
10
|
-
defineProps<{
|
|
11
|
-
showRoomTool: boolean;
|
|
12
|
-
}>();
|
|
13
9
|
</script>
|
|
14
10
|
|
|
15
11
|
<style lang="scss" scoped>
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
</template>
|
|
24
24
|
|
|
25
25
|
<script setup lang="ts">
|
|
26
|
-
import { ref, watch
|
|
26
|
+
import { computed, ref, watch } from 'vue';
|
|
27
27
|
import IconButton from '../common/base/IconButton.vue';
|
|
28
28
|
import AIIcon from '../common/icons/AIIcon.vue';
|
|
29
29
|
import AITranscription from '../common/icons/AITranscription.vue';
|
|
@@ -31,9 +31,13 @@ import AISubtitlesIcon from '../common/icons/AISubtitles.vue';
|
|
|
31
31
|
import { roomService } from '../../services';
|
|
32
32
|
import { useI18n } from '../../locales';
|
|
33
33
|
import SvgIcon from '../common/base/SvgIcon.vue';
|
|
34
|
+
import {
|
|
35
|
+
useRoomOverlayHooks,
|
|
36
|
+
OverlayMap,
|
|
37
|
+
} from '../RoomOverlay/useRoomOverlayHooks.ts';
|
|
34
38
|
|
|
39
|
+
const { toggleOverlayVisibility } = useRoomOverlayHooks();
|
|
35
40
|
const { t } = useI18n();
|
|
36
|
-
const emit = defineEmits(['show-overlay']);
|
|
37
41
|
const AIControlConfig = roomService.getComponentConfig('AIControl');
|
|
38
42
|
const { basicStore } = roomService;
|
|
39
43
|
|
|
@@ -67,10 +71,7 @@ const toggleAITranscription = () => {
|
|
|
67
71
|
const openAISubtitles = () => {
|
|
68
72
|
showSubtitles.value = !showSubtitles.value;
|
|
69
73
|
showToolBox.value = false;
|
|
70
|
-
|
|
71
|
-
name: 'AISubtitlesOverlay',
|
|
72
|
-
visible: showSubtitles.value,
|
|
73
|
-
});
|
|
74
|
+
toggleOverlayVisibility(OverlayMap.AISubtitlesOverlay, showSubtitles.value);
|
|
74
75
|
};
|
|
75
76
|
</script>
|
|
76
77
|
<style lang="scss" scoped>
|
|
@@ -139,7 +139,7 @@ const isBeautyStarted = ref(false);
|
|
|
139
139
|
const componentConfig =
|
|
140
140
|
roomService.componentManager.getComponentConfig('BasicBeauty');
|
|
141
141
|
const isAllowed = computed(
|
|
142
|
-
() => roomService.roomStore.localStream
|
|
142
|
+
() => roomService.roomStore.localStream?.hasVideoStream
|
|
143
143
|
);
|
|
144
144
|
|
|
145
145
|
watch(isLocalStreamMirror, async (val: boolean) => {
|
|
@@ -45,7 +45,6 @@
|
|
|
45
45
|
{{ t('Dismiss') }}
|
|
46
46
|
</tui-button>
|
|
47
47
|
<tui-button
|
|
48
|
-
v-if="isShowLeaveRoomDialog"
|
|
49
48
|
class="button"
|
|
50
49
|
size="default"
|
|
51
50
|
@click="handleEndLeaveClick"
|
|
@@ -91,7 +90,6 @@ import { roomService } from '../../../services';
|
|
|
91
90
|
|
|
92
91
|
const {
|
|
93
92
|
t,
|
|
94
|
-
isShowLeaveRoomDialog,
|
|
95
93
|
roomStore,
|
|
96
94
|
roomEngine,
|
|
97
95
|
stopMeeting,
|
|
@@ -114,7 +112,10 @@ function handleEndBtnClick() {
|
|
|
114
112
|
stopMeeting();
|
|
115
113
|
}
|
|
116
114
|
function handleEndLeaveClick() {
|
|
117
|
-
if (
|
|
115
|
+
if (
|
|
116
|
+
!roomStore.isMaster ||
|
|
117
|
+
(roomStore.isMaster && remoteEnteredUserList.value.length === 0)
|
|
118
|
+
) {
|
|
118
119
|
leaveRoom();
|
|
119
120
|
return;
|
|
120
121
|
}
|
|
@@ -36,11 +36,6 @@ export default function useEndControl() {
|
|
|
36
36
|
? t('Leave room?')
|
|
37
37
|
: t('Select a new host')
|
|
38
38
|
);
|
|
39
|
-
const isShowLeaveRoomDialog = computed(
|
|
40
|
-
() =>
|
|
41
|
-
(roomStore.isMaster && remoteEnteredUserList.value.length > 0) ||
|
|
42
|
-
!roomStore.isMaster
|
|
43
|
-
);
|
|
44
39
|
const { isSidebarOpen, sidebarName } = storeToRefs(basicStore);
|
|
45
40
|
const showSideBar = computed(
|
|
46
41
|
() => isSidebarOpen.value && sidebarName.value === 'transfer-leave'
|
|
@@ -154,13 +149,13 @@ export default function useEndControl() {
|
|
|
154
149
|
if (isLocal) {
|
|
155
150
|
if (
|
|
156
151
|
roomStore?.isMicrophoneDisableForAllUser &&
|
|
157
|
-
!roomStore.localStream
|
|
152
|
+
!roomStore.localStream?.hasAudioStream
|
|
158
153
|
) {
|
|
159
154
|
roomStore.setCanControlSelfAudio(false);
|
|
160
155
|
}
|
|
161
156
|
if (
|
|
162
157
|
roomStore?.isCameraDisableForAllUser &&
|
|
163
|
-
!roomStore.localStream
|
|
158
|
+
!roomStore.localStream?.hasVideoStream
|
|
164
159
|
) {
|
|
165
160
|
roomStore.setCanControlSelfVideo(false);
|
|
166
161
|
}
|
|
@@ -170,10 +165,10 @@ export default function useEndControl() {
|
|
|
170
165
|
message: t('Your administrator status has been revoked'),
|
|
171
166
|
});
|
|
172
167
|
}
|
|
173
|
-
if (roomStore.localStream
|
|
168
|
+
if (roomStore.localStream?.hasAudioStream) {
|
|
174
169
|
roomStore.setCanControlSelfAudio(true);
|
|
175
170
|
}
|
|
176
|
-
if (roomStore.localStream
|
|
171
|
+
if (roomStore.localStream?.hasVideoStream) {
|
|
177
172
|
roomStore.setCanControlSelfVideo(true);
|
|
178
173
|
}
|
|
179
174
|
}
|
|
@@ -242,7 +237,6 @@ export default function useEndControl() {
|
|
|
242
237
|
return {
|
|
243
238
|
t,
|
|
244
239
|
basicStore,
|
|
245
|
-
isShowLeaveRoomDialog,
|
|
246
240
|
roomStore,
|
|
247
241
|
roomEngine,
|
|
248
242
|
localUser,
|
|
@@ -111,7 +111,7 @@ const roomStore = useRoomStore();
|
|
|
111
111
|
|
|
112
112
|
const {
|
|
113
113
|
isAudience,
|
|
114
|
-
|
|
114
|
+
remoteScreenStream,
|
|
115
115
|
isGeneralUser,
|
|
116
116
|
isScreenShareDisableForAllUser,
|
|
117
117
|
isWhiteboardVisiable,
|
|
@@ -155,7 +155,7 @@ async function toggleScreenShare() {
|
|
|
155
155
|
return;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
if (
|
|
158
|
+
if (remoteScreenStream.value) {
|
|
159
159
|
TUIMessage({
|
|
160
160
|
type: 'warning',
|
|
161
161
|
message: t('Another user is sharing the screen.'),
|
|
@@ -213,7 +213,7 @@ async function onPermissionScreenShare() {
|
|
|
213
213
|
}
|
|
214
214
|
|
|
215
215
|
async function onConfirmScreenShare(screenInfo: TRTCScreenCaptureSourceInfo) {
|
|
216
|
-
if (
|
|
216
|
+
if (remoteScreenStream.value) {
|
|
217
217
|
TUIMessage({
|
|
218
218
|
type: 'warning',
|
|
219
219
|
message: t(
|
|
@@ -81,7 +81,7 @@ const { t } = useI18n();
|
|
|
81
81
|
const componentConfig =
|
|
82
82
|
roomService.componentManager.getComponentConfig('VirtualBackground');
|
|
83
83
|
const isAllowed = computed(
|
|
84
|
-
() => roomService.roomStore.localStream
|
|
84
|
+
() => roomService.roomStore.localStream?.hasVideoStream
|
|
85
85
|
);
|
|
86
86
|
const appliedBackground = ref<'close' | 'blur'>('close');
|
|
87
87
|
const selectedBackground = ref<'close' | 'blur'>('close');
|
|
@@ -37,7 +37,7 @@ const roomStore = useRoomStore();
|
|
|
37
37
|
|
|
38
38
|
const {
|
|
39
39
|
isAudience,
|
|
40
|
-
|
|
40
|
+
remoteScreenStream,
|
|
41
41
|
isLocalUserSharing,
|
|
42
42
|
isWhiteboardVisiable,
|
|
43
43
|
isAnnotationVisiable,
|
|
@@ -63,6 +63,17 @@ async function startShareWhiteboard() {
|
|
|
63
63
|
return;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
+
if (isAudience.value) {
|
|
67
|
+
TUIMessage({
|
|
68
|
+
type: 'warning',
|
|
69
|
+
message: t(
|
|
70
|
+
'You currently do not have whiteboard permission, please raise your hand to apply for whiteboard permission first'
|
|
71
|
+
),
|
|
72
|
+
duration: MESSAGE_DURATION.LONG,
|
|
73
|
+
});
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
|
|
66
77
|
if (whiteboardDisabled.value) {
|
|
67
78
|
TUIMessage({
|
|
68
79
|
type: 'warning',
|
|
@@ -74,7 +85,7 @@ async function startShareWhiteboard() {
|
|
|
74
85
|
return;
|
|
75
86
|
}
|
|
76
87
|
|
|
77
|
-
if (
|
|
88
|
+
if (remoteScreenStream.value) {
|
|
78
89
|
TUIMessage({
|
|
79
90
|
type: 'warning',
|
|
80
91
|
message: t(
|
|
@@ -55,7 +55,6 @@
|
|
|
55
55
|
<AIControl
|
|
56
56
|
class="center-container-item"
|
|
57
57
|
@click="handleControlClick('AIControl')"
|
|
58
|
-
@show-overlay="handleShowOverlay"
|
|
59
58
|
/>
|
|
60
59
|
<setting-control
|
|
61
60
|
class="center-container-item"
|
|
@@ -71,7 +70,6 @@
|
|
|
71
70
|
</template>
|
|
72
71
|
|
|
73
72
|
<script setup lang="ts">
|
|
74
|
-
import { defineEmits } from 'vue';
|
|
75
73
|
import AudioControl from '../AudioControl.vue';
|
|
76
74
|
import ScreenShareControl from '../ScreenShareControl/Index.vue';
|
|
77
75
|
import FullScreenControl from '../FullScreenControl.vue';
|
|
@@ -93,13 +91,9 @@ import bus from '../../../hooks/useMitt';
|
|
|
93
91
|
import useRoomFooter from './useRoomFooterHooks';
|
|
94
92
|
import { isElectron } from '../../../utils/environment';
|
|
95
93
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
96
|
-
const emit = defineEmits(['show-overlay']);
|
|
97
94
|
function handleControlClick(name: string) {
|
|
98
95
|
bus.emit('experience-communication', name);
|
|
99
96
|
}
|
|
100
|
-
function handleShowOverlay(data: { name: string; visible: boolean }) {
|
|
101
|
-
emit('show-overlay', data);
|
|
102
|
-
}
|
|
103
97
|
</script>
|
|
104
98
|
|
|
105
99
|
<style lang="scss" scoped>
|
|
@@ -10,36 +10,19 @@
|
|
|
10
10
|
</div>
|
|
11
11
|
<div class="right-container">
|
|
12
12
|
<language v-show="showHeaderInfo" class="header-item" />
|
|
13
|
-
<user-info
|
|
14
|
-
v-show="showHeaderInfo"
|
|
15
|
-
class="header-item"
|
|
16
|
-
:user-id="userId"
|
|
17
|
-
:user-name="userName"
|
|
18
|
-
:avatar-url="avatarUrl"
|
|
19
|
-
@log-out="$emit('log-out')"
|
|
20
|
-
/>
|
|
21
13
|
</div>
|
|
22
14
|
</div>
|
|
23
15
|
</template>
|
|
24
16
|
|
|
25
17
|
<script setup lang="ts">
|
|
26
18
|
import { inject } from 'vue';
|
|
27
|
-
import UserInfo from '../UserInfo/index.vue';
|
|
28
19
|
import Language from '../../common/Language.vue';
|
|
29
20
|
import SwitchTheme from '../../common/SwitchTheme.vue';
|
|
30
21
|
import RoomInfo from '../RoomInfo/index.vue';
|
|
31
22
|
import LayoutControl from './LayoutControl.vue';
|
|
32
23
|
import NetworkInfo from './NetworkInfo.vue';
|
|
33
|
-
import { useBasicStore } from '../../../stores/basic';
|
|
34
|
-
import { storeToRefs } from 'pinia';
|
|
35
|
-
|
|
36
|
-
const basicStore = useBasicStore();
|
|
37
|
-
|
|
38
|
-
const { userId, userName, avatarUrl } = storeToRefs(basicStore);
|
|
39
24
|
|
|
40
25
|
const showHeaderInfo = inject('showHeaderInfo', true);
|
|
41
|
-
|
|
42
|
-
defineEmits(['log-out']);
|
|
43
26
|
</script>
|
|
44
27
|
|
|
45
28
|
<style lang="scss" scoped>
|
|
@@ -175,12 +175,10 @@ const { deviceManager, initMediaDeviceList } = useDeviceManager({
|
|
|
175
175
|
const props = withDefaults(
|
|
176
176
|
defineProps<{
|
|
177
177
|
userName?: string;
|
|
178
|
-
showLogo?: boolean;
|
|
179
178
|
givenRoomId: string | null;
|
|
180
179
|
enableScheduledConference?: boolean;
|
|
181
180
|
}>(),
|
|
182
181
|
{
|
|
183
|
-
showLogo: true,
|
|
184
182
|
userName: '',
|
|
185
183
|
enableScheduledConference: true,
|
|
186
184
|
}
|
|
@@ -102,7 +102,7 @@ export default function useRoomInvite() {
|
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
title: 'Room Type',
|
|
105
|
-
content: `${t(getSeatModeDisplay(isSeatEnabled.value))}`,
|
|
105
|
+
content: `${t(getSeatModeDisplay(!!isSeatEnabled.value))}`,
|
|
106
106
|
isShowCopyIcon: false,
|
|
107
107
|
isVisible: true,
|
|
108
108
|
},
|
|
@@ -143,7 +143,7 @@ export default function useRoomInvite() {
|
|
|
143
143
|
function copyRoomIdAndRoomLink() {
|
|
144
144
|
const invitationList = [
|
|
145
145
|
roomName.value,
|
|
146
|
-
`${t('Room Type')}: ${t(getSeatModeDisplay(isSeatEnabled.value))}`,
|
|
146
|
+
`${t('Room Type')}: ${t(getSeatModeDisplay(!!isSeatEnabled.value))}`,
|
|
147
147
|
`${t('Room ID')}: ${roomId.value}`,
|
|
148
148
|
];
|
|
149
149
|
if (isShowPassword.value) {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<AISubtitlesOverlay v-if="overlayMap.AISubtitlesOverlay.visible" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup lang="ts">
|
|
6
|
+
import AISubtitlesOverlay from '../common/widgets/AITools/AISubtitles.vue';
|
|
7
|
+
import { useRoomOverlayHooks } from './useRoomOverlayHooks';
|
|
8
|
+
|
|
9
|
+
const { getOverlayMap } = useRoomOverlayHooks();
|
|
10
|
+
const overlayMap = getOverlayMap();
|
|
11
|
+
</script>
|
|
12
|
+
|
|
13
|
+
<style scoped lang="scss"></style>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { ref } from 'vue';
|
|
2
|
+
export enum OverlayMap {
|
|
3
|
+
AISubtitlesOverlay = 'AISubtitlesOverlay',
|
|
4
|
+
RoomInviteOverlay = 'RoomInviteOverlay',
|
|
5
|
+
}
|
|
6
|
+
const overlayMap = ref<{
|
|
7
|
+
[key in OverlayMap]: { visible: boolean };
|
|
8
|
+
}>({
|
|
9
|
+
[OverlayMap.AISubtitlesOverlay]: { visible: false },
|
|
10
|
+
[OverlayMap.RoomInviteOverlay]: { visible: false },
|
|
11
|
+
});
|
|
12
|
+
export function useRoomOverlayHooks() {
|
|
13
|
+
const getOverlayMap = () => overlayMap;
|
|
14
|
+
const toggleOverlayVisibility = (overlay: OverlayMap, isShow: boolean) => {
|
|
15
|
+
overlayMap.value[overlay].visible = isShow;
|
|
16
|
+
};
|
|
17
|
+
return {
|
|
18
|
+
getOverlayMap,
|
|
19
|
+
toggleOverlayVisibility,
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -21,7 +21,7 @@ import useSideBar from './useSideBarHooks';
|
|
|
21
21
|
import ManageMember from '../ManageMember/index.vue';
|
|
22
22
|
import RoomMore from '../RoomMore/index.vue';
|
|
23
23
|
import Chat from '../Chat/index/index.vue';
|
|
24
|
-
import AITranscription from '../AITools/AITranscription.vue';
|
|
24
|
+
import AITranscription from '../common/widgets/AITools/AITranscription.vue';
|
|
25
25
|
const { isSidebarOpen, title, handleClose, sidebarName } = useSideBar();
|
|
26
26
|
</script>
|
|
27
27
|
|
|
@@ -281,7 +281,7 @@ const isShowPassword = ref(false);
|
|
|
281
281
|
const passwordChecked = ref(false);
|
|
282
282
|
const isEditMode = computed(() => !!props.conferenceInfo);
|
|
283
283
|
const roomId = ref('');
|
|
284
|
-
|
|
284
|
+
const contacts = ref([]);
|
|
285
285
|
const { date: startDate, laterTime: startTime } = getDateAndTime(new Date());
|
|
286
286
|
const defaultFormData = ref({
|
|
287
287
|
roomName: t('sb temporary room', {
|
|
@@ -322,7 +322,8 @@ watch(
|
|
|
322
322
|
});
|
|
323
323
|
form.value.startDate = date;
|
|
324
324
|
form.value.startTime = laterTime;
|
|
325
|
-
contacts =
|
|
325
|
+
contacts.value =
|
|
326
|
+
await roomService.scheduleConferenceManager.fetchFriendList();
|
|
326
327
|
isEditMode.value &&
|
|
327
328
|
(form.value = Object.assign({}, deepClone(editParams.value)));
|
|
328
329
|
}
|
|
@@ -529,7 +530,7 @@ const selectScheduleAttends = () => {
|
|
|
529
530
|
};
|
|
530
531
|
const searchScheduleAttend = (v: string) => {
|
|
531
532
|
if (!v) return [];
|
|
532
|
-
return contacts.filter(
|
|
533
|
+
return contacts.value.filter(
|
|
533
534
|
(user: any) => user?.profile.nick.includes(v) || user?.userID.includes(v)
|
|
534
535
|
);
|
|
535
536
|
};
|
|
@@ -558,12 +559,16 @@ const contactsConfirm = (contacts: TUIUserInfo[]) => {
|
|
|
558
559
|
form.value.scheduleAttendees = contacts;
|
|
559
560
|
};
|
|
560
561
|
|
|
562
|
+
let scheduleConferenceInProgress = false;
|
|
561
563
|
const scheduleConference = async () => {
|
|
564
|
+
if (scheduleConferenceInProgress) return;
|
|
562
565
|
if (!timeCheck()) return;
|
|
563
566
|
if (!roomNameCheck()) return;
|
|
564
567
|
if (!roomPasswordCheck()) return;
|
|
565
|
-
|
|
568
|
+
scheduleConferenceInProgress = true;
|
|
569
|
+
|
|
566
570
|
try {
|
|
571
|
+
roomId.value = await roomService.scheduleConferenceManager.generateRoomId();
|
|
567
572
|
await roomService.scheduleConferenceManager.scheduleConference({
|
|
568
573
|
...scheduleParams.value,
|
|
569
574
|
roomId: roomId.value,
|
|
@@ -586,6 +591,7 @@ const scheduleConference = async () => {
|
|
|
586
591
|
message: err.message,
|
|
587
592
|
});
|
|
588
593
|
}
|
|
594
|
+
scheduleConferenceInProgress = false;
|
|
589
595
|
};
|
|
590
596
|
const compareArrays = (oldArray: any[], newArray: any[], key: string) => {
|
|
591
597
|
const added: any[] = [];
|