@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
|
@@ -93,7 +93,7 @@ function useRoomInvite() {
|
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
title: "Room Type",
|
|
96
|
-
content: `${t(getSeatModeDisplay(isSeatEnabled.value))}`,
|
|
96
|
+
content: `${t(getSeatModeDisplay(!!isSeatEnabled.value))}`,
|
|
97
97
|
isShowCopyIcon: false,
|
|
98
98
|
isVisible: true
|
|
99
99
|
},
|
|
@@ -131,7 +131,7 @@ function useRoomInvite() {
|
|
|
131
131
|
function copyRoomIdAndRoomLink() {
|
|
132
132
|
const invitationList = [
|
|
133
133
|
roomName.value,
|
|
134
|
-
`${t("Room Type")}: ${t(getSeatModeDisplay(isSeatEnabled.value))}`,
|
|
134
|
+
`${t("Room Type")}: ${t(getSeatModeDisplay(!!isSeatEnabled.value))}`,
|
|
135
135
|
`${t("Room ID")}: ${roomId.value}`
|
|
136
136
|
];
|
|
137
137
|
if (isShowPassword.value) {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { defineComponent, unref, openBlock, createBlock, createCommentVNode } from "vue";
|
|
2
|
+
import AISubtitlesOverlay from "../common/widgets/AITools/AISubtitles.vue.mjs";
|
|
3
|
+
import { useRoomOverlayHooks } from "./useRoomOverlayHooks.mjs";
|
|
4
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
+
__name: "RoomOverlay",
|
|
6
|
+
setup(__props) {
|
|
7
|
+
const { getOverlayMap } = useRoomOverlayHooks();
|
|
8
|
+
const overlayMap = getOverlayMap();
|
|
9
|
+
return (_ctx, _cache) => {
|
|
10
|
+
return unref(overlayMap).AISubtitlesOverlay.visible ? (openBlock(), createBlock(AISubtitlesOverlay, { key: 0 })) : createCommentVNode("", true);
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
_sfc_main as default
|
|
16
|
+
};
|
|
@@ -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
|
+
import { ref } from "vue";
|
|
2
|
+
var OverlayMap = /* @__PURE__ */ ((OverlayMap2) => {
|
|
3
|
+
OverlayMap2["AISubtitlesOverlay"] = "AISubtitlesOverlay";
|
|
4
|
+
OverlayMap2["RoomInviteOverlay"] = "RoomInviteOverlay";
|
|
5
|
+
return OverlayMap2;
|
|
6
|
+
})(OverlayMap || {});
|
|
7
|
+
const overlayMap = ref({
|
|
8
|
+
[
|
|
9
|
+
"AISubtitlesOverlay"
|
|
10
|
+
/* AISubtitlesOverlay */
|
|
11
|
+
]: { visible: false },
|
|
12
|
+
[
|
|
13
|
+
"RoomInviteOverlay"
|
|
14
|
+
/* RoomInviteOverlay */
|
|
15
|
+
]: { visible: false }
|
|
16
|
+
});
|
|
17
|
+
function useRoomOverlayHooks() {
|
|
18
|
+
const getOverlayMap = () => overlayMap;
|
|
19
|
+
const toggleOverlayVisibility = (overlay, isShow) => {
|
|
20
|
+
overlayMap.value[overlay].visible = isShow;
|
|
21
|
+
};
|
|
22
|
+
return {
|
|
23
|
+
getOverlayMap,
|
|
24
|
+
toggleOverlayVisibility
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
OverlayMap,
|
|
29
|
+
useRoomOverlayHooks
|
|
30
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, unref, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, Fragment, renderList, normalizeClass,
|
|
1
|
+
import { defineComponent, computed, unref, openBlock, createElementBlock, createElementVNode, toDisplayString, createVNode, Fragment, renderList, normalizeClass, createBlock, createCommentVNode, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
3
3
|
import AudioSettingTab from "../common/AudioSettingTab.vue.mjs";
|
|
4
4
|
import VideoSettingTab from "../common/VideoSettingTab.vue.mjs";
|
|
@@ -4,7 +4,7 @@ import useSideBar from "./useSideBarHooks.mjs";
|
|
|
4
4
|
import ManageMember from "../ManageMember/index.vue.mjs";
|
|
5
5
|
import RoomMore from "../RoomMore/index.vue.mjs";
|
|
6
6
|
import Chat from "../Chat/index/index.vue.mjs";
|
|
7
|
-
import AITranscription from "../AITools/AITranscription.vue.mjs";
|
|
7
|
+
import AITranscription from "../common/widgets/AITools/AITranscription.vue.mjs";
|
|
8
8
|
const _hoisted_1 = { class: "sidebar-container" };
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
10
|
__name: "index",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, openBlock, createBlock, unref, createSlots, withCtx, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, computed, watch, openBlock, createBlock, unref, createSlots, withCtx, createElementVNode, normalizeClass, withModifiers, createVNode, createElementBlock, toDisplayString, Fragment, renderList, createTextVNode, createCommentVNode } from "vue";
|
|
2
2
|
import TuiInput from "../common/base/Input/index.vue.mjs";
|
|
3
3
|
import TuiCheckbox from "../common/base/Checkbox/index.vue.mjs";
|
|
4
4
|
import TuiButton from "../common/base/Button.vue.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./InvitePanel.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const InvitePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const InvitePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-50de092b"]]);
|
|
5
5
|
export {
|
|
6
6
|
InvitePanel as default
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const ScheduleConferencePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ScheduleConferencePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9348c289"]]);
|
|
5
5
|
export {
|
|
6
6
|
ScheduleConferencePanel as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createCommentVNode, normalizeClass
|
|
1
|
+
import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, createTextVNode, toDisplayString, createBlock, Fragment, renderList, createCommentVNode, normalizeClass } from "vue";
|
|
2
2
|
import { useI18n } from "../../../locales/index.mjs";
|
|
3
3
|
import TuiInput from "../../common/base/Input/index.vue.mjs";
|
|
4
4
|
import TuiSelect from "../../common/base/Select/index.vue.mjs";
|
|
@@ -21,11 +21,11 @@ import "../../../services/main.mjs";
|
|
|
21
21
|
import { roomService } from "../../../services/roomService.mjs";
|
|
22
22
|
import { EventType } from "../../../services/types.mjs";
|
|
23
23
|
import { TUISeatMode, TUIConferenceStatus } from "@tencentcloud/tuiroom-engine-electron";
|
|
24
|
+
import "../../../utils/environment.mjs";
|
|
25
|
+
import { deepClone, calculateByteLength } from "../../../utils/utils.mjs";
|
|
24
26
|
import "mitt";
|
|
25
27
|
import "../../../services/manager/roomActionManager.mjs";
|
|
26
28
|
import "@tencentcloud/tui-core";
|
|
27
|
-
import "../../../utils/environment.mjs";
|
|
28
|
-
import { deepClone, calculateByteLength } from "../../../utils/utils.mjs";
|
|
29
29
|
import { PASSWORD_MAX_LENGTH_LIMIT } from "../../../constants/room.mjs";
|
|
30
30
|
import { invalidDigitalPasswordRegex } from "../../../utils/common.mjs";
|
|
31
31
|
import { getDateAndTime, convertToTimestamp, calculateEndTime } from "../scheduleUtils.mjs";
|
|
@@ -95,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
95
95
|
const passwordChecked = ref(false);
|
|
96
96
|
const isEditMode = computed(() => !!props.conferenceInfo);
|
|
97
97
|
const roomId = ref("");
|
|
98
|
-
|
|
98
|
+
const contacts = ref([]);
|
|
99
99
|
const { date: startDate, laterTime: startTime } = getDateAndTime(/* @__PURE__ */ new Date());
|
|
100
100
|
const defaultFormData = ref({
|
|
101
101
|
roomName: t("sb temporary room", {
|
|
@@ -134,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
134
134
|
});
|
|
135
135
|
form.value.startDate = date;
|
|
136
136
|
form.value.startTime = laterTime;
|
|
137
|
-
contacts = await roomService.scheduleConferenceManager.fetchFriendList();
|
|
137
|
+
contacts.value = await roomService.scheduleConferenceManager.fetchFriendList();
|
|
138
138
|
isEditMode.value && (form.value = Object.assign({}, deepClone(editParams.value)));
|
|
139
139
|
}
|
|
140
140
|
},
|
|
@@ -321,7 +321,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
321
321
|
};
|
|
322
322
|
const searchScheduleAttend = (v) => {
|
|
323
323
|
if (!v) return [];
|
|
324
|
-
return contacts.filter(
|
|
324
|
+
return contacts.value.filter(
|
|
325
325
|
(user) => (user == null ? void 0 : user.profile.nick.includes(v)) || (user == null ? void 0 : user.userID.includes(v))
|
|
326
326
|
);
|
|
327
327
|
};
|
|
@@ -346,12 +346,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
346
346
|
const contactsConfirm = (contacts2) => {
|
|
347
347
|
form.value.scheduleAttendees = contacts2;
|
|
348
348
|
};
|
|
349
|
+
let scheduleConferenceInProgress = false;
|
|
349
350
|
const scheduleConference = async () => {
|
|
351
|
+
if (scheduleConferenceInProgress) return;
|
|
350
352
|
if (!timeCheck()) return;
|
|
351
353
|
if (!roomNameCheck()) return;
|
|
352
354
|
if (!roomPasswordCheck()) return;
|
|
353
|
-
|
|
355
|
+
scheduleConferenceInProgress = true;
|
|
354
356
|
try {
|
|
357
|
+
roomId.value = await roomService.scheduleConferenceManager.generateRoomId();
|
|
355
358
|
await roomService.scheduleConferenceManager.scheduleConference({
|
|
356
359
|
...scheduleParams.value,
|
|
357
360
|
roomId: roomId.value
|
|
@@ -374,6 +377,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
374
377
|
message: err.message
|
|
375
378
|
});
|
|
376
379
|
}
|
|
380
|
+
scheduleConferenceInProgress = false;
|
|
377
381
|
};
|
|
378
382
|
const compareArrays = (oldArray, newArray, key) => {
|
|
379
383
|
const added = [];
|
|
@@ -682,7 +686,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
682
686
|
}, 8, ["visible", "title"]),
|
|
683
687
|
createVNode(Contacts, {
|
|
684
688
|
visible: contactsVisible.value,
|
|
685
|
-
contacts:
|
|
689
|
+
contacts: contacts.value,
|
|
686
690
|
"selected-list": scheduleParams.value.scheduleAttendees,
|
|
687
691
|
onInput: _cache[12] || (_cache[12] = ($event) => contactsVisible.value = $event),
|
|
688
692
|
onConfirm: contactsConfirm
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./ScheduleRoomControl.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const ScheduleRoomControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ScheduleRoomControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-043bf927"]]);
|
|
5
5
|
export {
|
|
6
6
|
ScheduleRoomControl as default
|
|
7
7
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, withDirectives, createElementVNode, toDisplayString, unref, createBlock, createCommentVNode,
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, withDirectives, createElementVNode, toDisplayString, unref, createBlock, createCommentVNode, normalizeClass, Fragment, renderList, vShow, createVNode, withCtx, createTextVNode, createSlots, withModifiers, nextTick, pushScopeId, popScopeId } from "vue";
|
|
2
2
|
import { TUIConferenceStatus } from "@tencentcloud/tuiroom-engine-electron";
|
|
3
3
|
import "../../services/main.mjs";
|
|
4
4
|
import { roomService } from "../../services/roomService.mjs";
|
|
5
5
|
import logger from "../../utils/common/logger/index.mjs";
|
|
6
6
|
import { useI18n } from "../../locales/index.mjs";
|
|
7
|
+
import { isMobile } from "../../utils/environment.mjs";
|
|
8
|
+
import { convertSecondsToHMS, getUrlWithRoomId } from "../../utils/utils.mjs";
|
|
7
9
|
import "mitt";
|
|
8
10
|
import "../../services/manager/roomActionManager.mjs";
|
|
9
11
|
import "@tencentcloud/tui-core";
|
|
10
|
-
import { isMobile } from "../../utils/environment.mjs";
|
|
11
|
-
import { convertSecondsToHMS, getUrlWithRoomId } from "../../utils/utils.mjs";
|
|
12
12
|
import useRoomInfo from "../RoomHeader/RoomInfo/useRoomInfoHooks.mjs";
|
|
13
13
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
14
14
|
import Dialog from "../common/base/Dialog/index.vue.mjs";
|
|
@@ -26,7 +26,7 @@ import { storeToRefs } from "pinia";
|
|
|
26
26
|
import ConferenceDetail from "./ConferenceDetail.vue.mjs";
|
|
27
27
|
import InvitePanel from "./InvitePanel.vue.mjs";
|
|
28
28
|
import PanelContainer from "./PanelContainer.vue.mjs";
|
|
29
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
29
|
+
const _withScopeId = (n) => (pushScopeId("data-v-043bf927"), n = n(), popScopeId(), n);
|
|
30
30
|
const _hoisted_1 = { class: "schedule-room-control" };
|
|
31
31
|
const _hoisted_2 = ["title"];
|
|
32
32
|
const _hoisted_3 = { class: "schedule-title-text" };
|
|
@@ -4,11 +4,11 @@ import { roomService } from "../../services/roomService.mjs";
|
|
|
4
4
|
import { EventType } from "../../services/types.mjs";
|
|
5
5
|
import { useI18n } from "../../locales/index.mjs";
|
|
6
6
|
import { TUIConferenceListManagerEvents } from "@tencentcloud/tuiroom-engine-electron";
|
|
7
|
+
import { isMobile } from "../../utils/environment.mjs";
|
|
8
|
+
import { objectMerge } from "../../utils/utils.mjs";
|
|
7
9
|
import "mitt";
|
|
8
10
|
import "../../services/manager/roomActionManager.mjs";
|
|
9
11
|
import "@tencentcloud/tui-core";
|
|
10
|
-
import { isMobile } from "../../utils/environment.mjs";
|
|
11
|
-
import { objectMerge } from "../../utils/utils.mjs";
|
|
12
12
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
13
13
|
import CalendarIcon from "../common/icons/CalendarIcon.vue.mjs";
|
|
14
14
|
import ApplyStageLabelIcon from "../common/icons/ApplyStageLabelIcon.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, computed, openBlock, createBlock, unref, withCtx, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, watch, computed, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString, createElementBlock, Fragment, renderList } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import { useI18n } from "../../locales/index.mjs";
|
|
4
4
|
import Dialog from "../common/base/Dialog/index.vue.mjs";
|
|
@@ -12,10 +12,10 @@ import { useBasicStore } from "../../stores/basic.mjs";
|
|
|
12
12
|
import "../../services/main.mjs";
|
|
13
13
|
import { roomService } from "../../services/roomService.mjs";
|
|
14
14
|
import "@tencentcloud/tuiroom-engine-electron";
|
|
15
|
+
import "../../utils/environment.mjs";
|
|
15
16
|
import "mitt";
|
|
16
17
|
import "../../services/manager/roomActionManager.mjs";
|
|
17
18
|
import "@tencentcloud/tui-core";
|
|
18
|
-
import "../../utils/environment.mjs";
|
|
19
19
|
const _hoisted_1 = { class: "invite-member" };
|
|
20
20
|
const _hoisted_2 = { class: "invite-member-title" };
|
|
21
21
|
const _hoisted_3 = { class: "invite-member-item" };
|
|
@@ -6,10 +6,10 @@ import { roomService } from "../../services/roomService.mjs";
|
|
|
6
6
|
import { EventType } from "../../services/types.mjs";
|
|
7
7
|
import "../../locales/index.mjs";
|
|
8
8
|
import "@tencentcloud/tuiroom-engine-electron";
|
|
9
|
+
import "../../utils/environment.mjs";
|
|
9
10
|
import "mitt";
|
|
10
11
|
import "../../services/manager/roomActionManager.mjs";
|
|
11
12
|
import "@tencentcloud/tui-core";
|
|
12
|
-
import "../../utils/environment.mjs";
|
|
13
13
|
const _hoisted_1 = { class: "container" };
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
15
|
__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
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const
|
|
4
|
+
const MultiStreamView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5178602f"]]);
|
|
5
5
|
export {
|
|
6
|
-
|
|
6
|
+
MultiStreamView as default
|
|
7
7
|
};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, createVNode, unref, withDirectives, createElementVNode, vShow, createCommentVNode } from "vue";
|
|
2
|
+
import ArrowStrokeTurnPageIcon from "../../common/icons/ArrowStrokeTurnPageIcon.vue.mjs";
|
|
3
|
+
import SvgIcon from "../../common/base/SvgIcon.vue.mjs";
|
|
4
|
+
import StreamList from "../common/StreamList/index.vue.mjs";
|
|
5
|
+
import { StreamPlayMode, StreamPlayQuality } from "../../../services/manager/mediaManager.mjs";
|
|
6
|
+
import useMultiStreamViewHook from "./useMultiStreamViewHook.mjs";
|
|
7
|
+
import { storeToRefs } from "pinia";
|
|
8
|
+
import { useBasicStore } from "../../../stores/basic.mjs";
|
|
9
|
+
const _hoisted_1 = { id: "streamContainer" };
|
|
10
|
+
const _hoisted_2 = {
|
|
11
|
+
key: 0,
|
|
12
|
+
class: "turn-page-container"
|
|
13
|
+
};
|
|
14
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
|
+
__name: "index",
|
|
16
|
+
props: {
|
|
17
|
+
maxColumn: {},
|
|
18
|
+
maxRow: {},
|
|
19
|
+
fillMode: {},
|
|
20
|
+
excludeStreamInfoList: {}
|
|
21
|
+
},
|
|
22
|
+
emits: ["stream-view-dblclick"],
|
|
23
|
+
setup(__props, { emit: __emit }) {
|
|
24
|
+
const props = __props;
|
|
25
|
+
const {
|
|
26
|
+
column,
|
|
27
|
+
row,
|
|
28
|
+
totalPageNumber,
|
|
29
|
+
isEqualPointsLayout,
|
|
30
|
+
renderStreamInfoList,
|
|
31
|
+
equalPointsLayoutStreamList,
|
|
32
|
+
currentPageIndex
|
|
33
|
+
} = useMultiStreamViewHook(props);
|
|
34
|
+
const basicStore = useBasicStore();
|
|
35
|
+
const { showRoomTool } = storeToRefs(basicStore);
|
|
36
|
+
const streamInfoList = computed(() => {
|
|
37
|
+
if (isEqualPointsLayout.value) {
|
|
38
|
+
return equalPointsLayoutStreamList.value[currentPageIndex.value];
|
|
39
|
+
}
|
|
40
|
+
return renderStreamInfoList.value;
|
|
41
|
+
});
|
|
42
|
+
const emits = __emit;
|
|
43
|
+
function handleStreamDblclick(streamInfo) {
|
|
44
|
+
emits("stream-view-dblclick", streamInfo);
|
|
45
|
+
}
|
|
46
|
+
const showTurnPageControl = computed(
|
|
47
|
+
() => isEqualPointsLayout.value && totalPageNumber.value > 1
|
|
48
|
+
);
|
|
49
|
+
const showTurnPageLeftArrow = computed(
|
|
50
|
+
() => isEqualPointsLayout.value && currentPageIndex.value > 0
|
|
51
|
+
);
|
|
52
|
+
const showTurnPageRightArrow = computed(
|
|
53
|
+
() => isEqualPointsLayout.value && currentPageIndex.value < totalPageNumber.value - 1
|
|
54
|
+
);
|
|
55
|
+
function handleTurnPageLeft() {
|
|
56
|
+
currentPageIndex.value = currentPageIndex.value - 1;
|
|
57
|
+
}
|
|
58
|
+
function handleTurnPageRight() {
|
|
59
|
+
currentPageIndex.value = currentPageIndex.value + 1;
|
|
60
|
+
}
|
|
61
|
+
return (_ctx, _cache) => {
|
|
62
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
63
|
+
createVNode(StreamList, {
|
|
64
|
+
streamInfoList: streamInfoList.value,
|
|
65
|
+
column: unref(column),
|
|
66
|
+
row: unref(row),
|
|
67
|
+
streamPlayMode: unref(StreamPlayMode).PLAY_IN_VISIBLE,
|
|
68
|
+
streamPlayQuality: unref(StreamPlayQuality).Default,
|
|
69
|
+
"aspect-ratio": "16:9",
|
|
70
|
+
onStreamViewDblclick: handleStreamDblclick
|
|
71
|
+
}, null, 8, ["streamInfoList", "column", "row", "streamPlayMode", "streamPlayQuality"]),
|
|
72
|
+
showTurnPageControl.value && unref(showRoomTool) ? (openBlock(), createElementBlock("div", _hoisted_2, [
|
|
73
|
+
withDirectives(createElementVNode("div", {
|
|
74
|
+
class: "turn-page-arrow-container left-container",
|
|
75
|
+
onClick: handleTurnPageLeft
|
|
76
|
+
}, [
|
|
77
|
+
createVNode(SvgIcon, { icon: ArrowStrokeTurnPageIcon })
|
|
78
|
+
], 512), [
|
|
79
|
+
[vShow, showTurnPageLeftArrow.value]
|
|
80
|
+
]),
|
|
81
|
+
withDirectives(createElementVNode("div", {
|
|
82
|
+
class: "turn-page-arrow-container right-container",
|
|
83
|
+
onClick: handleTurnPageRight
|
|
84
|
+
}, [
|
|
85
|
+
createVNode(SvgIcon, {
|
|
86
|
+
class: "turn-page-right",
|
|
87
|
+
icon: ArrowStrokeTurnPageIcon
|
|
88
|
+
})
|
|
89
|
+
], 512), [
|
|
90
|
+
[vShow, showTurnPageRightArrow.value]
|
|
91
|
+
])
|
|
92
|
+
])) : createCommentVNode("", true)
|
|
93
|
+
]);
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
export {
|
|
98
|
+
_sfc_main as default
|
|
99
|
+
};
|
|
@@ -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
|
+
import { computed, ref, watch } from "vue";
|
|
2
|
+
import { useRoomStore } from "../../../stores/room.mjs";
|
|
3
|
+
import { storeToRefs } from "pinia";
|
|
4
|
+
function useMultiStreamViewHook(props) {
|
|
5
|
+
const roomStore = useRoomStore();
|
|
6
|
+
const { streamList } = storeToRefs(roomStore);
|
|
7
|
+
const isHorizontalInfinityLayout = computed(
|
|
8
|
+
() => props.maxColumn === Infinity
|
|
9
|
+
);
|
|
10
|
+
const isVerticalInfinityLayout = computed(() => props.maxRow === Infinity);
|
|
11
|
+
const isEqualPointsLayout = computed(
|
|
12
|
+
() => props.maxColumn !== Infinity && props.maxRow !== Infinity
|
|
13
|
+
);
|
|
14
|
+
const column = computed(() => {
|
|
15
|
+
if (props.maxColumn === Infinity) {
|
|
16
|
+
return props.maxColumn;
|
|
17
|
+
}
|
|
18
|
+
return Math.min(
|
|
19
|
+
Math.ceil(Math.sqrt(renderStreamInfoList.value.length)),
|
|
20
|
+
props.maxColumn
|
|
21
|
+
);
|
|
22
|
+
});
|
|
23
|
+
const row = computed(() => {
|
|
24
|
+
if (props.maxRow === Infinity) {
|
|
25
|
+
return props.maxRow;
|
|
26
|
+
}
|
|
27
|
+
return Math.min(
|
|
28
|
+
Math.ceil(renderStreamInfoList.value.length / column.value),
|
|
29
|
+
props.maxRow
|
|
30
|
+
);
|
|
31
|
+
});
|
|
32
|
+
const currentPageIndex = ref(0);
|
|
33
|
+
const maxCountEveryPage = computed(() => props.maxColumn * props.maxRow);
|
|
34
|
+
const renderStreamInfoList = computed(() => {
|
|
35
|
+
if (props.streamInfoList) {
|
|
36
|
+
return props.streamInfoList;
|
|
37
|
+
}
|
|
38
|
+
return streamList.value.filter(
|
|
39
|
+
(item1) => {
|
|
40
|
+
var _a;
|
|
41
|
+
return !((_a = props.excludeStreamInfoList) == null ? void 0 : _a.find(
|
|
42
|
+
(item2) => item2.userId === item1.userId && item2.streamType === item1.streamType
|
|
43
|
+
));
|
|
44
|
+
}
|
|
45
|
+
);
|
|
46
|
+
});
|
|
47
|
+
watch(
|
|
48
|
+
() => renderStreamInfoList.value.length,
|
|
49
|
+
(val) => {
|
|
50
|
+
if (isEqualPointsLayout.value) {
|
|
51
|
+
if (currentPageIndex.value > 0 && currentPageIndex.value > Math.ceil(val / maxCountEveryPage.value) - 1) {
|
|
52
|
+
currentPageIndex.value = Math.ceil(val / maxCountEveryPage.value) - 1;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
const totalStreamNumber = computed(() => {
|
|
58
|
+
return streamList.value.length;
|
|
59
|
+
});
|
|
60
|
+
const equalPointsLayoutStreamList = computed(
|
|
61
|
+
() => {
|
|
62
|
+
if (isEqualPointsLayout.value) {
|
|
63
|
+
return [...new Array(totalPageNumber.value).keys()].map(
|
|
64
|
+
(pageIndex) => {
|
|
65
|
+
return renderStreamInfoList.value.slice(
|
|
66
|
+
pageIndex * maxCountEveryPage.value,
|
|
67
|
+
(pageIndex + 1) * maxCountEveryPage.value
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
return [[]];
|
|
73
|
+
}
|
|
74
|
+
);
|
|
75
|
+
const totalPageNumber = computed(
|
|
76
|
+
() => Math.ceil(renderStreamInfoList.value.length / maxCountEveryPage.value)
|
|
77
|
+
);
|
|
78
|
+
return {
|
|
79
|
+
column,
|
|
80
|
+
row,
|
|
81
|
+
isHorizontalInfinityLayout,
|
|
82
|
+
isVerticalInfinityLayout,
|
|
83
|
+
isEqualPointsLayout,
|
|
84
|
+
maxCountEveryPage,
|
|
85
|
+
streamList,
|
|
86
|
+
renderStreamInfoList,
|
|
87
|
+
equalPointsLayoutStreamList,
|
|
88
|
+
totalStreamNumber,
|
|
89
|
+
totalPageNumber,
|
|
90
|
+
currentPageIndex
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
export {
|
|
94
|
+
useMultiStreamViewHook as default
|
|
95
|
+
};
|
|
@@ -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
|
+
import { defineComponent, ref, openBlock, createBlock, unref, createCommentVNode } from "vue";
|
|
2
|
+
import StreamRegion from "../common/StreamRegion/index.vue.mjs";
|
|
3
|
+
import { isPC } from "../../../utils/environment.mjs";
|
|
4
|
+
import { StreamPlayQuality } from "../../../services/manager/mediaManager.mjs";
|
|
5
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "index",
|
|
7
|
+
props: {
|
|
8
|
+
streamInfo: {},
|
|
9
|
+
fillMode: {},
|
|
10
|
+
supportTouchScale: { type: Boolean }
|
|
11
|
+
},
|
|
12
|
+
emits: ["stream-view-dblclick"],
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const aspectRatio = ref(isPC ? "16:9" : "auto");
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
return _ctx.streamInfo ? (openBlock(), createBlock(StreamRegion, {
|
|
17
|
+
key: 0,
|
|
18
|
+
"stream-info": _ctx.streamInfo,
|
|
19
|
+
"fill-mode": _ctx.fillMode,
|
|
20
|
+
"support-touch-scale": _ctx.supportTouchScale,
|
|
21
|
+
"stream-play-quality": unref(StreamPlayQuality).HIGH,
|
|
22
|
+
"aspect-ratio": aspectRatio.value,
|
|
23
|
+
onStreamViewDblclick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("stream-view-dblclick"))
|
|
24
|
+
}, null, 8, ["stream-info", "fill-mode", "support-touch-scale", "stream-play-quality", "aspect-ratio"])) : createCommentVNode("", true);
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
export {
|
|
29
|
+
_sfc_main as default
|
|
30
|
+
};
|
package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.mjs
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const LocalScreenView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const LocalScreenView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f3e45334"]]);
|
|
5
5
|
export {
|
|
6
6
|
LocalScreenView as default
|
|
7
7
|
};
|