@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
|
@@ -95,7 +95,7 @@ function useRoomInvite() {
|
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
title: "Room Type",
|
|
98
|
-
content: `${t(getSeatModeDisplay(isSeatEnabled.value))}`,
|
|
98
|
+
content: `${t(getSeatModeDisplay(!!isSeatEnabled.value))}`,
|
|
99
99
|
isShowCopyIcon: false,
|
|
100
100
|
isVisible: true
|
|
101
101
|
},
|
|
@@ -133,7 +133,7 @@ function useRoomInvite() {
|
|
|
133
133
|
function copyRoomIdAndRoomLink() {
|
|
134
134
|
const invitationList = [
|
|
135
135
|
roomName.value,
|
|
136
|
-
`${t("Room Type")}: ${t(getSeatModeDisplay(isSeatEnabled.value))}`,
|
|
136
|
+
`${t("Room Type")}: ${t(getSeatModeDisplay(!!isSeatEnabled.value))}`,
|
|
137
137
|
`${t("Room ID")}: ${roomId.value}`
|
|
138
138
|
];
|
|
139
139
|
if (isShowPassword.value) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const AISubtitles = require("../common/widgets/AITools/AISubtitles.vue.js");
|
|
5
|
+
const useRoomOverlayHooks = require("./useRoomOverlayHooks.js");
|
|
6
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
7
|
+
__name: "RoomOverlay",
|
|
8
|
+
setup(__props) {
|
|
9
|
+
const { getOverlayMap } = useRoomOverlayHooks.useRoomOverlayHooks();
|
|
10
|
+
const overlayMap = getOverlayMap();
|
|
11
|
+
return (_ctx, _cache) => {
|
|
12
|
+
return Vue.unref(overlayMap).AISubtitlesOverlay.visible ? (Vue.openBlock(), Vue.createBlock(AISubtitles.default, { key: 0 })) : Vue.createCommentVNode("", true);
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const RoomOverlay_vue_vue_type_script_setup_true_lang = require("./RoomOverlay.vue.js");
|
|
4
|
+
exports.default = RoomOverlay_vue_vue_type_script_setup_true_lang.default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare enum OverlayMap {
|
|
2
|
+
AISubtitlesOverlay = "AISubtitlesOverlay",
|
|
3
|
+
RoomInviteOverlay = "RoomInviteOverlay"
|
|
4
|
+
}
|
|
5
|
+
export declare function useRoomOverlayHooks(): {
|
|
6
|
+
getOverlayMap: () => import('vue').Ref<{
|
|
7
|
+
AISubtitlesOverlay: {
|
|
8
|
+
visible: boolean;
|
|
9
|
+
};
|
|
10
|
+
RoomInviteOverlay: {
|
|
11
|
+
visible: boolean;
|
|
12
|
+
};
|
|
13
|
+
}>;
|
|
14
|
+
toggleOverlayVisibility: (overlay: OverlayMap, isShow: boolean) => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
var OverlayMap = /* @__PURE__ */ ((OverlayMap2) => {
|
|
5
|
+
OverlayMap2["AISubtitlesOverlay"] = "AISubtitlesOverlay";
|
|
6
|
+
OverlayMap2["RoomInviteOverlay"] = "RoomInviteOverlay";
|
|
7
|
+
return OverlayMap2;
|
|
8
|
+
})(OverlayMap || {});
|
|
9
|
+
const overlayMap = Vue.ref({
|
|
10
|
+
[
|
|
11
|
+
"AISubtitlesOverlay"
|
|
12
|
+
/* AISubtitlesOverlay */
|
|
13
|
+
]: { visible: false },
|
|
14
|
+
[
|
|
15
|
+
"RoomInviteOverlay"
|
|
16
|
+
/* RoomInviteOverlay */
|
|
17
|
+
]: { visible: false }
|
|
18
|
+
});
|
|
19
|
+
function useRoomOverlayHooks() {
|
|
20
|
+
const getOverlayMap = () => overlayMap;
|
|
21
|
+
const toggleOverlayVisibility = (overlay, isShow) => {
|
|
22
|
+
overlayMap.value[overlay].visible = isShow;
|
|
23
|
+
};
|
|
24
|
+
return {
|
|
25
|
+
getOverlayMap,
|
|
26
|
+
toggleOverlayVisibility
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
exports.OverlayMap = OverlayMap;
|
|
30
|
+
exports.useRoomOverlayHooks = useRoomOverlayHooks;
|
|
@@ -6,7 +6,7 @@ const useSideBarHooks = require("./useSideBarHooks.js");
|
|
|
6
6
|
const index$2 = require("../ManageMember/index.vue.js");
|
|
7
7
|
const index$1 = require("../RoomMore/index.vue.js");
|
|
8
8
|
const index = require("../Chat/index/index.vue.js");
|
|
9
|
-
const AITranscription = require("../AITools/AITranscription.vue.js");
|
|
9
|
+
const AITranscription = require("../common/widgets/AITools/AITranscription.vue.js");
|
|
10
10
|
const _hoisted_1 = { class: "sidebar-container" };
|
|
11
11
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
12
12
|
__name: "index",
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const InvitePanel_vue_vue_type_script_setup_true_lang = require("./InvitePanel.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const InvitePanel = /* @__PURE__ */ _pluginVue_exportHelper.default(InvitePanel_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const InvitePanel = /* @__PURE__ */ _pluginVue_exportHelper.default(InvitePanel_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-50de092b"]]);
|
|
7
7
|
exports.default = InvitePanel;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const ScheduleConferencePanel = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const ScheduleConferencePanel = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-9348c289"]]);
|
|
7
7
|
exports.default = ScheduleConferencePanel;
|
|
@@ -23,11 +23,11 @@ require("../../../services/main.js");
|
|
|
23
23
|
const roomService = require("../../../services/roomService.js");
|
|
24
24
|
const types = require("../../../services/types.js");
|
|
25
25
|
const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
26
|
+
require("../../../utils/environment.js");
|
|
27
|
+
const utils = require("../../../utils/utils.js");
|
|
26
28
|
require("mitt");
|
|
27
29
|
require("../../../services/manager/roomActionManager.js");
|
|
28
30
|
require("@tencentcloud/tui-core");
|
|
29
|
-
require("../../../utils/environment.js");
|
|
30
|
-
const utils = require("../../../utils/utils.js");
|
|
31
31
|
const room = require("../../../constants/room.js");
|
|
32
32
|
const common = require("../../../utils/common.js");
|
|
33
33
|
const scheduleUtils = require("../scheduleUtils.js");
|
|
@@ -97,7 +97,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
97
97
|
const passwordChecked = Vue.ref(false);
|
|
98
98
|
const isEditMode = Vue.computed(() => !!props.conferenceInfo);
|
|
99
99
|
const roomId = Vue.ref("");
|
|
100
|
-
|
|
100
|
+
const contacts = Vue.ref([]);
|
|
101
101
|
const { date: startDate, laterTime: startTime } = scheduleUtils.getDateAndTime(/* @__PURE__ */ new Date());
|
|
102
102
|
const defaultFormData = Vue.ref({
|
|
103
103
|
roomName: t("sb temporary room", {
|
|
@@ -136,7 +136,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
136
136
|
});
|
|
137
137
|
form.value.startDate = date;
|
|
138
138
|
form.value.startTime = laterTime;
|
|
139
|
-
contacts = await roomService.roomService.scheduleConferenceManager.fetchFriendList();
|
|
139
|
+
contacts.value = await roomService.roomService.scheduleConferenceManager.fetchFriendList();
|
|
140
140
|
isEditMode.value && (form.value = Object.assign({}, utils.deepClone(editParams.value)));
|
|
141
141
|
}
|
|
142
142
|
},
|
|
@@ -323,7 +323,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
323
323
|
};
|
|
324
324
|
const searchScheduleAttend = (v) => {
|
|
325
325
|
if (!v) return [];
|
|
326
|
-
return contacts.filter(
|
|
326
|
+
return contacts.value.filter(
|
|
327
327
|
(user) => (user == null ? void 0 : user.profile.nick.includes(v)) || (user == null ? void 0 : user.userID.includes(v))
|
|
328
328
|
);
|
|
329
329
|
};
|
|
@@ -348,12 +348,15 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
348
348
|
const contactsConfirm = (contacts2) => {
|
|
349
349
|
form.value.scheduleAttendees = contacts2;
|
|
350
350
|
};
|
|
351
|
+
let scheduleConferenceInProgress = false;
|
|
351
352
|
const scheduleConference = async () => {
|
|
353
|
+
if (scheduleConferenceInProgress) return;
|
|
352
354
|
if (!timeCheck()) return;
|
|
353
355
|
if (!roomNameCheck()) return;
|
|
354
356
|
if (!roomPasswordCheck()) return;
|
|
355
|
-
|
|
357
|
+
scheduleConferenceInProgress = true;
|
|
356
358
|
try {
|
|
359
|
+
roomId.value = await roomService.roomService.scheduleConferenceManager.generateRoomId();
|
|
357
360
|
await roomService.roomService.scheduleConferenceManager.scheduleConference({
|
|
358
361
|
...scheduleParams.value,
|
|
359
362
|
roomId: roomId.value
|
|
@@ -376,6 +379,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
376
379
|
message: err.message
|
|
377
380
|
});
|
|
378
381
|
}
|
|
382
|
+
scheduleConferenceInProgress = false;
|
|
379
383
|
};
|
|
380
384
|
const compareArrays = (oldArray, newArray, key) => {
|
|
381
385
|
const added = [];
|
|
@@ -684,7 +688,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
684
688
|
}, 8, ["visible", "title"]),
|
|
685
689
|
Vue.createVNode(Contacts.default, {
|
|
686
690
|
visible: contactsVisible.value,
|
|
687
|
-
contacts:
|
|
691
|
+
contacts: contacts.value,
|
|
688
692
|
"selected-list": scheduleParams.value.scheduleAttendees,
|
|
689
693
|
onInput: _cache[12] || (_cache[12] = ($event) => contactsVisible.value = $event),
|
|
690
694
|
onConfirm: contactsConfirm
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const ScheduleRoomControl_vue_vue_type_script_setup_true_lang = require("./ScheduleRoomControl.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const ScheduleRoomControl = /* @__PURE__ */ _pluginVue_exportHelper.default(ScheduleRoomControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const ScheduleRoomControl = /* @__PURE__ */ _pluginVue_exportHelper.default(ScheduleRoomControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-043bf927"]]);
|
|
7
7
|
exports.default = ScheduleRoomControl;
|
|
@@ -6,11 +6,11 @@ require("../../services/main.js");
|
|
|
6
6
|
const roomService = require("../../services/roomService.js");
|
|
7
7
|
const index$1 = require("../../utils/common/logger/index.js");
|
|
8
8
|
const index = require("../../locales/index.js");
|
|
9
|
+
const environment = require("../../utils/environment.js");
|
|
10
|
+
const utils = require("../../utils/utils.js");
|
|
9
11
|
require("mitt");
|
|
10
12
|
require("../../services/manager/roomActionManager.js");
|
|
11
13
|
require("@tencentcloud/tui-core");
|
|
12
|
-
const environment = require("../../utils/environment.js");
|
|
13
|
-
const utils = require("../../utils/utils.js");
|
|
14
14
|
const useRoomInfoHooks = require("../RoomHeader/RoomInfo/useRoomInfoHooks.js");
|
|
15
15
|
const SvgIcon = require("../common/base/SvgIcon.vue.js");
|
|
16
16
|
const index$3 = require("../common/base/Dialog/index.vue.js");
|
|
@@ -28,7 +28,7 @@ const pinia = require("pinia");
|
|
|
28
28
|
const ConferenceDetail = require("./ConferenceDetail.vue.js");
|
|
29
29
|
const InvitePanel = require("./InvitePanel.vue.js");
|
|
30
30
|
const PanelContainer = require("./PanelContainer.vue.js");
|
|
31
|
-
const _withScopeId = (n) => (Vue.pushScopeId("data-v-
|
|
31
|
+
const _withScopeId = (n) => (Vue.pushScopeId("data-v-043bf927"), n = n(), Vue.popScopeId(), n);
|
|
32
32
|
const _hoisted_1 = { class: "schedule-room-control" };
|
|
33
33
|
const _hoisted_2 = ["title"];
|
|
34
34
|
const _hoisted_3 = { class: "schedule-title-text" };
|
|
@@ -6,11 +6,11 @@ const roomService = require("../../services/roomService.js");
|
|
|
6
6
|
const types = require("../../services/types.js");
|
|
7
7
|
const index = require("../../locales/index.js");
|
|
8
8
|
const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
9
|
+
const environment = require("../../utils/environment.js");
|
|
10
|
+
const utils = require("../../utils/utils.js");
|
|
9
11
|
require("mitt");
|
|
10
12
|
require("../../services/manager/roomActionManager.js");
|
|
11
13
|
require("@tencentcloud/tui-core");
|
|
12
|
-
const environment = require("../../utils/environment.js");
|
|
13
|
-
const utils = require("../../utils/utils.js");
|
|
14
14
|
const SvgIcon = require("../common/base/SvgIcon.vue.js");
|
|
15
15
|
const CalendarIcon = require("../common/icons/CalendarIcon.vue.js");
|
|
16
16
|
const ApplyStageLabelIcon = require("../common/icons/ApplyStageLabelIcon.vue.js");
|
|
@@ -14,10 +14,10 @@ const basic = require("../../stores/basic.js");
|
|
|
14
14
|
require("../../services/main.js");
|
|
15
15
|
const roomService = require("../../services/roomService.js");
|
|
16
16
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
17
|
+
require("../../utils/environment.js");
|
|
17
18
|
require("mitt");
|
|
18
19
|
require("../../services/manager/roomActionManager.js");
|
|
19
20
|
require("@tencentcloud/tui-core");
|
|
20
|
-
require("../../utils/environment.js");
|
|
21
21
|
const _hoisted_1 = { class: "invite-member" };
|
|
22
22
|
const _hoisted_2 = { class: "invite-member-title" };
|
|
23
23
|
const _hoisted_3 = { class: "invite-member-item" };
|
|
@@ -8,10 +8,10 @@ const roomService = require("../../services/roomService.js");
|
|
|
8
8
|
const types = require("../../services/types.js");
|
|
9
9
|
require("../../locales/index.js");
|
|
10
10
|
require("@tencentcloud/tuiroom-engine-electron");
|
|
11
|
+
require("../../utils/environment.js");
|
|
11
12
|
require("mitt");
|
|
12
13
|
require("../../services/manager/roomActionManager.js");
|
|
13
14
|
require("@tencentcloud/tui-core");
|
|
14
|
-
require("../../utils/environment.js");
|
|
15
15
|
const _hoisted_1 = { class: "container" };
|
|
16
16
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
17
17
|
__name: "TimezonePicker",
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { TUIVideoStreamType } from '@tencentcloud/tuiroom-engine-electron';
|
|
2
|
+
|
|
3
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
maxColumn: number;
|
|
5
|
+
maxRow: number;
|
|
6
|
+
fillMode?: "fill" | "contain";
|
|
7
|
+
excludeStreamInfoList?: {
|
|
8
|
+
userId: string;
|
|
9
|
+
streamType: TUIVideoStreamType;
|
|
10
|
+
}[];
|
|
11
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"stream-view-dblclick": (...args: any[]) => void;
|
|
13
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
maxColumn: number;
|
|
15
|
+
maxRow: number;
|
|
16
|
+
fillMode?: "fill" | "contain";
|
|
17
|
+
excludeStreamInfoList?: {
|
|
18
|
+
userId: string;
|
|
19
|
+
streamType: TUIVideoStreamType;
|
|
20
|
+
}[];
|
|
21
|
+
}>>> & {
|
|
22
|
+
"onStream-view-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const
|
|
7
|
-
exports.default =
|
|
6
|
+
const MultiStreamView = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-5178602f"]]);
|
|
7
|
+
exports.default = MultiStreamView;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const ArrowStrokeTurnPageIcon = require("../../common/icons/ArrowStrokeTurnPageIcon.vue.js");
|
|
5
|
+
const SvgIcon = require("../../common/base/SvgIcon.vue.js");
|
|
6
|
+
const index = require("../common/StreamList/index.vue.js");
|
|
7
|
+
const mediaManager = require("../../../services/manager/mediaManager.js");
|
|
8
|
+
const useMultiStreamViewHook = require("./useMultiStreamViewHook.js");
|
|
9
|
+
const pinia = require("pinia");
|
|
10
|
+
const basic = require("../../../stores/basic.js");
|
|
11
|
+
const _hoisted_1 = { id: "streamContainer" };
|
|
12
|
+
const _hoisted_2 = {
|
|
13
|
+
key: 0,
|
|
14
|
+
class: "turn-page-container"
|
|
15
|
+
};
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
17
|
+
__name: "index",
|
|
18
|
+
props: {
|
|
19
|
+
maxColumn: {},
|
|
20
|
+
maxRow: {},
|
|
21
|
+
fillMode: {},
|
|
22
|
+
excludeStreamInfoList: {}
|
|
23
|
+
},
|
|
24
|
+
emits: ["stream-view-dblclick"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const {
|
|
28
|
+
column,
|
|
29
|
+
row,
|
|
30
|
+
totalPageNumber,
|
|
31
|
+
isEqualPointsLayout,
|
|
32
|
+
renderStreamInfoList,
|
|
33
|
+
equalPointsLayoutStreamList,
|
|
34
|
+
currentPageIndex
|
|
35
|
+
} = useMultiStreamViewHook.default(props);
|
|
36
|
+
const basicStore = basic.useBasicStore();
|
|
37
|
+
const { showRoomTool } = pinia.storeToRefs(basicStore);
|
|
38
|
+
const streamInfoList = Vue.computed(() => {
|
|
39
|
+
if (isEqualPointsLayout.value) {
|
|
40
|
+
return equalPointsLayoutStreamList.value[currentPageIndex.value];
|
|
41
|
+
}
|
|
42
|
+
return renderStreamInfoList.value;
|
|
43
|
+
});
|
|
44
|
+
const emits = __emit;
|
|
45
|
+
function handleStreamDblclick(streamInfo) {
|
|
46
|
+
emits("stream-view-dblclick", streamInfo);
|
|
47
|
+
}
|
|
48
|
+
const showTurnPageControl = Vue.computed(
|
|
49
|
+
() => isEqualPointsLayout.value && totalPageNumber.value > 1
|
|
50
|
+
);
|
|
51
|
+
const showTurnPageLeftArrow = Vue.computed(
|
|
52
|
+
() => isEqualPointsLayout.value && currentPageIndex.value > 0
|
|
53
|
+
);
|
|
54
|
+
const showTurnPageRightArrow = Vue.computed(
|
|
55
|
+
() => isEqualPointsLayout.value && currentPageIndex.value < totalPageNumber.value - 1
|
|
56
|
+
);
|
|
57
|
+
function handleTurnPageLeft() {
|
|
58
|
+
currentPageIndex.value = currentPageIndex.value - 1;
|
|
59
|
+
}
|
|
60
|
+
function handleTurnPageRight() {
|
|
61
|
+
currentPageIndex.value = currentPageIndex.value + 1;
|
|
62
|
+
}
|
|
63
|
+
return (_ctx, _cache) => {
|
|
64
|
+
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
65
|
+
Vue.createVNode(index.default, {
|
|
66
|
+
streamInfoList: streamInfoList.value,
|
|
67
|
+
column: Vue.unref(column),
|
|
68
|
+
row: Vue.unref(row),
|
|
69
|
+
streamPlayMode: Vue.unref(mediaManager.StreamPlayMode).PLAY_IN_VISIBLE,
|
|
70
|
+
streamPlayQuality: Vue.unref(mediaManager.StreamPlayQuality).Default,
|
|
71
|
+
"aspect-ratio": "16:9",
|
|
72
|
+
onStreamViewDblclick: handleStreamDblclick
|
|
73
|
+
}, null, 8, ["streamInfoList", "column", "row", "streamPlayMode", "streamPlayQuality"]),
|
|
74
|
+
showTurnPageControl.value && Vue.unref(showRoomTool) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
|
|
75
|
+
Vue.withDirectives(Vue.createElementVNode("div", {
|
|
76
|
+
class: "turn-page-arrow-container left-container",
|
|
77
|
+
onClick: handleTurnPageLeft
|
|
78
|
+
}, [
|
|
79
|
+
Vue.createVNode(SvgIcon.default, { icon: ArrowStrokeTurnPageIcon.default })
|
|
80
|
+
], 512), [
|
|
81
|
+
[Vue.vShow, showTurnPageLeftArrow.value]
|
|
82
|
+
]),
|
|
83
|
+
Vue.withDirectives(Vue.createElementVNode("div", {
|
|
84
|
+
class: "turn-page-arrow-container right-container",
|
|
85
|
+
onClick: handleTurnPageRight
|
|
86
|
+
}, [
|
|
87
|
+
Vue.createVNode(SvgIcon.default, {
|
|
88
|
+
class: "turn-page-right",
|
|
89
|
+
icon: ArrowStrokeTurnPageIcon.default
|
|
90
|
+
})
|
|
91
|
+
], 512), [
|
|
92
|
+
[Vue.vShow, showTurnPageRightArrow.value]
|
|
93
|
+
])
|
|
94
|
+
])) : Vue.createCommentVNode("", true)
|
|
95
|
+
]);
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ComputedRef } from 'vue';
|
|
2
|
+
import { StreamInfo } from '../../../stores/room';
|
|
3
|
+
|
|
4
|
+
export default function useMultiStreamViewHook(props: any): {
|
|
5
|
+
column: ComputedRef<any>;
|
|
6
|
+
row: ComputedRef<any>;
|
|
7
|
+
isHorizontalInfinityLayout: ComputedRef<boolean>;
|
|
8
|
+
isVerticalInfinityLayout: ComputedRef<boolean>;
|
|
9
|
+
isEqualPointsLayout: ComputedRef<boolean>;
|
|
10
|
+
maxCountEveryPage: ComputedRef<number>;
|
|
11
|
+
streamList: any;
|
|
12
|
+
renderStreamInfoList: ComputedRef<StreamInfo[]>;
|
|
13
|
+
equalPointsLayoutStreamList: ComputedRef<StreamInfo[][]>;
|
|
14
|
+
totalStreamNumber: ComputedRef<any>;
|
|
15
|
+
totalPageNumber: ComputedRef<number>;
|
|
16
|
+
currentPageIndex: import('vue').Ref<number>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const room = require("../../../stores/room.js");
|
|
5
|
+
const pinia = require("pinia");
|
|
6
|
+
function useMultiStreamViewHook(props) {
|
|
7
|
+
const roomStore = room.useRoomStore();
|
|
8
|
+
const { streamList } = pinia.storeToRefs(roomStore);
|
|
9
|
+
const isHorizontalInfinityLayout = Vue.computed(
|
|
10
|
+
() => props.maxColumn === Infinity
|
|
11
|
+
);
|
|
12
|
+
const isVerticalInfinityLayout = Vue.computed(() => props.maxRow === Infinity);
|
|
13
|
+
const isEqualPointsLayout = Vue.computed(
|
|
14
|
+
() => props.maxColumn !== Infinity && props.maxRow !== Infinity
|
|
15
|
+
);
|
|
16
|
+
const column = Vue.computed(() => {
|
|
17
|
+
if (props.maxColumn === Infinity) {
|
|
18
|
+
return props.maxColumn;
|
|
19
|
+
}
|
|
20
|
+
return Math.min(
|
|
21
|
+
Math.ceil(Math.sqrt(renderStreamInfoList.value.length)),
|
|
22
|
+
props.maxColumn
|
|
23
|
+
);
|
|
24
|
+
});
|
|
25
|
+
const row = Vue.computed(() => {
|
|
26
|
+
if (props.maxRow === Infinity) {
|
|
27
|
+
return props.maxRow;
|
|
28
|
+
}
|
|
29
|
+
return Math.min(
|
|
30
|
+
Math.ceil(renderStreamInfoList.value.length / column.value),
|
|
31
|
+
props.maxRow
|
|
32
|
+
);
|
|
33
|
+
});
|
|
34
|
+
const currentPageIndex = Vue.ref(0);
|
|
35
|
+
const maxCountEveryPage = Vue.computed(() => props.maxColumn * props.maxRow);
|
|
36
|
+
const renderStreamInfoList = Vue.computed(() => {
|
|
37
|
+
if (props.streamInfoList) {
|
|
38
|
+
return props.streamInfoList;
|
|
39
|
+
}
|
|
40
|
+
return streamList.value.filter(
|
|
41
|
+
(item1) => {
|
|
42
|
+
var _a;
|
|
43
|
+
return !((_a = props.excludeStreamInfoList) == null ? void 0 : _a.find(
|
|
44
|
+
(item2) => item2.userId === item1.userId && item2.streamType === item1.streamType
|
|
45
|
+
));
|
|
46
|
+
}
|
|
47
|
+
);
|
|
48
|
+
});
|
|
49
|
+
Vue.watch(
|
|
50
|
+
() => renderStreamInfoList.value.length,
|
|
51
|
+
(val) => {
|
|
52
|
+
if (isEqualPointsLayout.value) {
|
|
53
|
+
if (currentPageIndex.value > 0 && currentPageIndex.value > Math.ceil(val / maxCountEveryPage.value) - 1) {
|
|
54
|
+
currentPageIndex.value = Math.ceil(val / maxCountEveryPage.value) - 1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
const totalStreamNumber = Vue.computed(() => {
|
|
60
|
+
return streamList.value.length;
|
|
61
|
+
});
|
|
62
|
+
const equalPointsLayoutStreamList = Vue.computed(
|
|
63
|
+
() => {
|
|
64
|
+
if (isEqualPointsLayout.value) {
|
|
65
|
+
return [...new Array(totalPageNumber.value).keys()].map(
|
|
66
|
+
(pageIndex) => {
|
|
67
|
+
return renderStreamInfoList.value.slice(
|
|
68
|
+
pageIndex * maxCountEveryPage.value,
|
|
69
|
+
(pageIndex + 1) * maxCountEveryPage.value
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
return [[]];
|
|
75
|
+
}
|
|
76
|
+
);
|
|
77
|
+
const totalPageNumber = Vue.computed(
|
|
78
|
+
() => Math.ceil(renderStreamInfoList.value.length / maxCountEveryPage.value)
|
|
79
|
+
);
|
|
80
|
+
return {
|
|
81
|
+
column,
|
|
82
|
+
row,
|
|
83
|
+
isHorizontalInfinityLayout,
|
|
84
|
+
isVerticalInfinityLayout,
|
|
85
|
+
isEqualPointsLayout,
|
|
86
|
+
maxCountEveryPage,
|
|
87
|
+
streamList,
|
|
88
|
+
renderStreamInfoList,
|
|
89
|
+
equalPointsLayoutStreamList,
|
|
90
|
+
totalStreamNumber,
|
|
91
|
+
totalPageNumber,
|
|
92
|
+
currentPageIndex
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
exports.default = useMultiStreamViewHook;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TUIVideoStreamType } from '@tencentcloud/tuiroom-engine-electron';
|
|
2
|
+
|
|
3
|
+
interface Props {
|
|
4
|
+
streamInfo?: {
|
|
5
|
+
userId: string;
|
|
6
|
+
streamType: TUIVideoStreamType;
|
|
7
|
+
};
|
|
8
|
+
fillMode?: 'fill' | 'contain';
|
|
9
|
+
supportTouchScale?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
"stream-view-dblclick": (...args: any[]) => void;
|
|
13
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
|
|
14
|
+
"onStream-view-dblclick"?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
18
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
19
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
20
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
21
|
+
} : {
|
|
22
|
+
type: import('vue').PropType<T[K]>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const Vue = require("vue");
|
|
4
|
+
const index = require("../common/StreamRegion/index.vue.js");
|
|
5
|
+
const environment = require("../../../utils/environment.js");
|
|
6
|
+
const mediaManager = require("../../../services/manager/mediaManager.js");
|
|
7
|
+
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
8
|
+
__name: "index",
|
|
9
|
+
props: {
|
|
10
|
+
streamInfo: {},
|
|
11
|
+
fillMode: {},
|
|
12
|
+
supportTouchScale: { type: Boolean }
|
|
13
|
+
},
|
|
14
|
+
emits: ["stream-view-dblclick"],
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const aspectRatio = Vue.ref(environment.isPC ? "16:9" : "auto");
|
|
17
|
+
return (_ctx, _cache) => {
|
|
18
|
+
return _ctx.streamInfo ? (Vue.openBlock(), Vue.createBlock(index.default, {
|
|
19
|
+
key: 0,
|
|
20
|
+
"stream-info": _ctx.streamInfo,
|
|
21
|
+
"fill-mode": _ctx.fillMode,
|
|
22
|
+
"support-touch-scale": _ctx.supportTouchScale,
|
|
23
|
+
"stream-play-quality": Vue.unref(mediaManager.StreamPlayQuality).HIGH,
|
|
24
|
+
"aspect-ratio": aspectRatio.value,
|
|
25
|
+
onStreamViewDblclick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("stream-view-dblclick"))
|
|
26
|
+
}, null, 8, ["stream-info", "fill-mode", "support-touch-scale", "stream-play-quality", "aspect-ratio"])) : Vue.createCommentVNode("", true);
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
exports.default = _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
+
const index_vue_vue_type_script_setup_true_lang = require("./index.vue.js");
|
|
4
|
+
exports.default = index_vue_vue_type_script_setup_true_lang.default;
|
package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.js
RENAMED
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const LocalScreenView = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const LocalScreenView = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f3e45334"]]);
|
|
7
7
|
exports.default = LocalScreenView;
|