@tencentcloud/roomkit-electron-vue3 2.7.1 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/Chat/ChatKit/components/TUIChat/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 +23 -10
- 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-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +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-list/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/message-list/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/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 +2 -1
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +2 -2
- 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/Toast/index.vue.d.ts +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 +3 -3
- 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 +3 -1
- 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/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/useMemberControlHooks.d.ts +2 -2
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +3 -3
- package/es/components/ManageMember/MemberInvite/MemberInvite.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 +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue.mjs +1 -1
- package/es/components/RoomFooter/BasicBeauty.vue2.mjs +6 -3
- 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 +4 -6
- 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 +3 -3
- package/es/components/RoomFooter/VirtualBackground.vue.mjs +1 -1
- package/es/components/RoomFooter/VirtualBackground.vue2.mjs +5 -2
- package/es/components/RoomFooter/WhiteboardControl.vue.mjs +13 -3
- 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.vue.mjs +1 -1
- package/es/components/RoomHeader/UserInfo/index.vue2.mjs +3 -2
- package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +1 -1
- 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 +1 -2
- package/es/components/RoomInvite/InvitationNotification.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/RoomSidebar/index.vue.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 +11 -7
- package/es/components/ScheduleConference/ScheduleRoomControl.vue.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +3 -3
- package/es/components/ScheduleConference/ScheduleRoomList.vue2.mjs +2 -2
- package/es/components/ScheduleConference/ShareLink.vue2.mjs +1 -1
- 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 +17 -12
- 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/base/Button.vue.d.ts +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/IconButton.vue.d.ts +3 -3
- package/es/components/common/base/Input/index.vue.d.ts +4 -4
- package/es/components/common/base/Message/Message.vue.d.ts +4 -4
- package/es/components/common/base/MessageBox/index.vue.d.ts +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/{AITools → common/widgets/AITools}/AISubtitles.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.mjs +8 -7
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.mjs +2 -2
- package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue2.mjs +9 -8
- package/es/conference.d.ts +6 -0
- package/es/conference.mjs +7 -1
- package/es/conference.vue.mjs +1 -1
- package/es/conference.vue2.mjs +14 -24
- package/es/extension/chatExtension.mjs +1 -1
- package/es/extension/utils/interact.mjs +1 -1
- package/es/extension/utils/setLanguage.mjs +1 -1
- package/es/hooks/useMasterApplyControl.mjs +2 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +969 -1197
- 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} +110 -113
- package/es/services/manager/roomActionManager.d.ts +3 -0
- package/es/services/manager/roomActionManager.mjs +7 -0
- package/es/services/manager/scheduleConferenceManager.d.ts +1 -0
- package/es/services/manager/scheduleConferenceManager.mjs +24 -1
- package/es/services/manager/trackingManager.d.ts +11 -0
- package/es/services/manager/trackingManager.mjs +20 -0
- package/es/services/manager/userManager.d.ts +11 -1
- package/es/services/manager/userManager.mjs +159 -9
- package/es/services/roomService.d.ts +3 -2
- package/es/services/roomService.mjs +23 -41
- package/es/stores/basic.mjs +6 -1
- package/es/stores/room.d.ts +29 -1
- package/es/stores/room.mjs +49 -59
- 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/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 +1 -1
- 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 +1 -1
- 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 +3 -1
- 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/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 +3 -3
- 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.vue.js +1 -1
- package/lib/components/RoomHeader/UserInfo/index.vue2.js +3 -2
- 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 +8 -7
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.js +2 -2
- package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue2.js +9 -8
- package/lib/conference.d.ts +6 -0
- package/lib/conference.js +7 -1
- package/lib/conference.vue.js +1 -1
- package/lib/conference.vue2.js +14 -24
- package/lib/extension/chatExtension.js +1 -1
- package/lib/extension/utils/interact.js +1 -1
- package/lib/extension/utils/setLanguage.js +1 -1
- package/lib/hooks/useMasterApplyControl.js +2 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +969 -1197
- 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 +6 -3
- package/lib/services/index.d.ts +1 -0
- package/lib/services/manager/chatManager.d.ts +0 -2
- package/lib/services/manager/chatManager.js +6 -12
- package/{es/services/manager/MediaManager.d.ts → lib/services/manager/mediaManager.d.ts} +16 -13
- package/lib/services/manager/{MediaManager.js → mediaManager.js} +109 -112
- package/lib/services/manager/roomActionManager.d.ts +3 -0
- package/lib/services/manager/roomActionManager.js +7 -0
- package/lib/services/manager/scheduleConferenceManager.d.ts +1 -0
- package/lib/services/manager/scheduleConferenceManager.js +23 -0
- package/lib/services/manager/trackingManager.d.ts +11 -0
- package/lib/services/manager/trackingManager.js +20 -0
- package/lib/services/manager/userManager.d.ts +11 -1
- package/lib/services/manager/userManager.js +158 -8
- package/lib/services/roomService.d.ts +3 -2
- package/lib/services/roomService.js +24 -42
- package/lib/stores/basic.js +6 -1
- package/lib/stores/room.d.ts +29 -1
- package/lib/stores/room.js +49 -59
- 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/UserInfo/index.vue +2 -5
- 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 +2 -2
- package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AITranscription.vue +3 -3
- package/src/TUIRoom/conference.ts +14 -0
- package/src/TUIRoom/conference.vue +10 -23
- package/src/TUIRoom/hooks/useMasterApplyControl.ts +2 -1
- package/src/TUIRoom/index.ts +3 -1
- package/src/TUIRoom/locales/en-US.ts +4 -3
- package/src/TUIRoom/locales/zh-CN.ts +3 -1
- package/src/TUIRoom/preConference.vue +3 -1
- package/src/TUIRoom/services/index.ts +1 -0
- package/src/TUIRoom/services/manager/chatManager.ts +7 -16
- package/src/TUIRoom/services/manager/{MediaManager.ts → mediaManager.ts} +125 -136
- package/src/TUIRoom/services/manager/roomActionManager.ts +5 -0
- package/src/TUIRoom/services/manager/scheduleConferenceManager.ts +24 -1
- package/src/TUIRoom/services/manager/trackingManager.ts +22 -0
- package/src/TUIRoom/services/manager/userManager.ts +201 -7
- package/src/TUIRoom/services/roomService.ts +5 -24
- package/src/TUIRoom/stores/basic.ts +6 -0
- package/src/TUIRoom/stores/room.ts +60 -71
- 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
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const time: {
|
|
2
|
+
周: string;
|
|
3
|
+
天: string;
|
|
4
|
+
小时: string;
|
|
5
|
+
分钟: string;
|
|
6
|
+
刚刚: string;
|
|
7
|
+
前: string;
|
|
8
|
+
昨天: string;
|
|
9
|
+
星期一: string;
|
|
10
|
+
星期二: string;
|
|
11
|
+
星期三: string;
|
|
12
|
+
星期四: string;
|
|
13
|
+
星期五: string;
|
|
14
|
+
星期六: string;
|
|
15
|
+
星期日: string;
|
|
16
|
+
一月: string;
|
|
17
|
+
二月: string;
|
|
18
|
+
三月: string;
|
|
19
|
+
四月: string;
|
|
20
|
+
五月: string;
|
|
21
|
+
六月: string;
|
|
22
|
+
七月: string;
|
|
23
|
+
八月: string;
|
|
24
|
+
九月: string;
|
|
25
|
+
十月: string;
|
|
26
|
+
十一月: string;
|
|
27
|
+
十二月: string;
|
|
28
|
+
一: string;
|
|
29
|
+
二: string;
|
|
30
|
+
三: string;
|
|
31
|
+
四: string;
|
|
32
|
+
五: string;
|
|
33
|
+
六: string;
|
|
34
|
+
日: string;
|
|
35
|
+
};
|
|
36
|
+
export default time;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
const time = {
|
|
2
|
+
"周": "週",
|
|
3
|
+
"天": "天",
|
|
4
|
+
"小时": "小時",
|
|
5
|
+
"分钟": "分鐘",
|
|
6
|
+
"刚刚": "剛剛",
|
|
7
|
+
"前": "前",
|
|
8
|
+
"昨天": "昨天",
|
|
9
|
+
"星期一": "星期一",
|
|
10
|
+
"星期二": "星期二",
|
|
11
|
+
"星期三": "星期三",
|
|
12
|
+
"星期四": "星期四",
|
|
13
|
+
"星期五": "星期五",
|
|
14
|
+
"星期六": "星期六",
|
|
15
|
+
"星期日": "星期日",
|
|
16
|
+
"一月": "一月",
|
|
17
|
+
"二月": "二月",
|
|
18
|
+
"三月": "三月",
|
|
19
|
+
"四月": "四月",
|
|
20
|
+
"五月": "五月",
|
|
21
|
+
"六月": "六月",
|
|
22
|
+
"七月": "七月",
|
|
23
|
+
"八月": "八月",
|
|
24
|
+
"九月": "九月",
|
|
25
|
+
"十月": "十月",
|
|
26
|
+
"十一月": "十一月",
|
|
27
|
+
"十二月": "十二月",
|
|
28
|
+
"一": "一",
|
|
29
|
+
"二": "二",
|
|
30
|
+
"三": "三",
|
|
31
|
+
"四": "四",
|
|
32
|
+
"五": "五",
|
|
33
|
+
"六": "六",
|
|
34
|
+
"日": "日"
|
|
35
|
+
};
|
|
36
|
+
export {
|
|
37
|
+
time as default
|
|
38
|
+
};
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
declare const translate: {
|
|
2
|
+
"TUIKit-TUIChat-01": string;
|
|
3
|
+
"TUIKit-TUIChat-02": string;
|
|
4
|
+
"TUIKit-TUIChat-03": string;
|
|
5
|
+
"TUIKit-TUIChat-04": string;
|
|
6
|
+
"TUIKit-TUIChat-05": string;
|
|
7
|
+
"TUIKit-TUIChat-06": string;
|
|
8
|
+
"TUIKit-TUIChat-07": string;
|
|
9
|
+
"TUIKit-TUIChat-08": string;
|
|
10
|
+
"TUIKit-TUIChat-09": string;
|
|
11
|
+
"TUIKit-TUIChat-10": string;
|
|
12
|
+
"TUIKit-TUIChat-11": string;
|
|
13
|
+
"TUIKit-TUIChat-12": string;
|
|
14
|
+
"TUIKit-TUIChat-13": string;
|
|
15
|
+
"TUIKit-TUIChat-14": string;
|
|
16
|
+
"TUIKit-TUIChat-15": string;
|
|
17
|
+
"TUIKit-TUIChat-16": string;
|
|
18
|
+
"TUIKit-TUIChat-17": string;
|
|
19
|
+
"TUIKit-TUIChat-18": string;
|
|
20
|
+
"TUIKit-TUIChat-19": string;
|
|
21
|
+
"TUIKit-TUIChat-20": string;
|
|
22
|
+
"TUIKit-TUIChat-mange-01": string;
|
|
23
|
+
"TUIKit-TUIChat-mange-02": string;
|
|
24
|
+
"TUIKit-TUIChat-mange-03": string;
|
|
25
|
+
"TUIKit-TUIChat-mange-04": string;
|
|
26
|
+
"TUIKit-TUIChat-mange-05": string;
|
|
27
|
+
"TUIKit-TUIChat-mange-06": string;
|
|
28
|
+
"TUIKit-TUIChat-mange-07": string;
|
|
29
|
+
"TUIKit-TUIChat-mange-08": string;
|
|
30
|
+
"TUIKit-TUIChat-mange-09": string;
|
|
31
|
+
"TUIKit-TUIChat-mange-10": string;
|
|
32
|
+
"TUIKit-TUIChat-mange-11": string;
|
|
33
|
+
"TUIKit-TUIChat-mange-12": string;
|
|
34
|
+
"TUIKit-TUIChat-mange-13": string;
|
|
35
|
+
"TUIKit-TUIChat-mange-14": string;
|
|
36
|
+
"TUIKit-TUIChat-mange-15": string;
|
|
37
|
+
"TUIKit-TUIChat-mange-16": string;
|
|
38
|
+
"TUIKit-TUIChat-mange-17": string;
|
|
39
|
+
"TUIKit-TUIChat-mange-18": string;
|
|
40
|
+
"TUIKit-TUIChat-mange-19": string;
|
|
41
|
+
"TUIKit-TUIChat-mange-20": string;
|
|
42
|
+
"TUIKit-TUIChat-mange-21": string;
|
|
43
|
+
"TUIKit-TUIChat-mange-22": string;
|
|
44
|
+
"TUIKit-TUIChat-mange-23": string;
|
|
45
|
+
"TUIKit-TUIChat-mange-24": string;
|
|
46
|
+
"TUIKit-TUIChat-mange-25": string;
|
|
47
|
+
"TUIKit-TUIChat-mange-26": string;
|
|
48
|
+
"TUIKit-TUIChat-mange-27": string;
|
|
49
|
+
"TUIKit-TUIChat-mange-28": string;
|
|
50
|
+
"TUIKit-TUIChat-mange-29": string;
|
|
51
|
+
"TUIKit-TUIChat-mange-30": string;
|
|
52
|
+
"TUIKit-TUIChat-mange-31": string;
|
|
53
|
+
"TUIKit-TUIChat-mange-32": string;
|
|
54
|
+
"TUIKit-TUIChat-mange-33": string;
|
|
55
|
+
"TUIKit-TUIChat-mange-34": string;
|
|
56
|
+
"TUIKit-TUIChat-mange-35": string;
|
|
57
|
+
"TUIKit-TUIChat-mange-36": string;
|
|
58
|
+
"TUIKit-TUIChat-mange-37": string;
|
|
59
|
+
"TUIKit-TUIChat-mange-38": string;
|
|
60
|
+
"TUIKit-TUIContact-01": string;
|
|
61
|
+
"TUIKit-TUIContact-02": string;
|
|
62
|
+
"TUIKit-TUIContact-03": string;
|
|
63
|
+
"TUIKit-TUIContact-04": string;
|
|
64
|
+
"TUIKit-TUIContact-05": string;
|
|
65
|
+
"TUIKit-TUIContact-06": string;
|
|
66
|
+
"TUIKit-TUIContact-07": string;
|
|
67
|
+
"TUIKit-TUIContact-08": string;
|
|
68
|
+
"TUIKit-TUIContact-09": string;
|
|
69
|
+
"TUIKit-TUIContact-10": string;
|
|
70
|
+
"TUIKit-TUIContact-11": string;
|
|
71
|
+
"TUIKit-TUIContact-12": string;
|
|
72
|
+
"TUIKit-TUIContact-13": string;
|
|
73
|
+
"TUIKit-TUIContact-14": string;
|
|
74
|
+
"TUIKit-TUIContact-15": string;
|
|
75
|
+
"TUIKit-TUIContact-16": string;
|
|
76
|
+
"TUIKit-TUIConversation-01": string;
|
|
77
|
+
"TUIKit-TUIConversation-02": string;
|
|
78
|
+
"TUIKit-TUIConversation-03": string;
|
|
79
|
+
"TUIKit-TUIConversation-04": string;
|
|
80
|
+
"TUIKit-TUIConversation-05": string;
|
|
81
|
+
"TUIKit-TUIConversation-06": string;
|
|
82
|
+
"TUIKit-TUIConversation-07": string;
|
|
83
|
+
"TUIKit-TUIConversation-08": string;
|
|
84
|
+
"TUIKit-TUIConversation-09": string;
|
|
85
|
+
"TUIKit-TUIConversation-10": string;
|
|
86
|
+
"TUIKit-TUIConversation-11": string;
|
|
87
|
+
"TUIKit-TUIConversation-12": string;
|
|
88
|
+
"TUIKit-TUIConversation-13": string;
|
|
89
|
+
"TUIKit-TUIConversation-14": string;
|
|
90
|
+
"TUIKit-TUIConversation-15": string;
|
|
91
|
+
"TUIKit-TUIConversation-16": string;
|
|
92
|
+
"TUIKit-TUIProfile-01": string;
|
|
93
|
+
"TUIKit-TUIProfile-02": string;
|
|
94
|
+
"TUIKit-TUIProfile-03": string;
|
|
95
|
+
"TUIKit-TUIProfile-04": string;
|
|
96
|
+
"TUIKit-TUIProfile-05": string;
|
|
97
|
+
"TUIKit-TUIProfile-06": string;
|
|
98
|
+
"TUIKit-TUIProfile-07": string;
|
|
99
|
+
"TUIKit-TUIProfile-08": string;
|
|
100
|
+
"TUIKit-TUIProfile-09": string;
|
|
101
|
+
"TUIKit-TUIProfile-10": string;
|
|
102
|
+
"TUIKit-TUIProfile-11": string;
|
|
103
|
+
"TUIKit-TUIProfile-12": string;
|
|
104
|
+
"TUIKit-time-01": string;
|
|
105
|
+
"TUIKit-time-02": string;
|
|
106
|
+
"TUIKit-time-03": string;
|
|
107
|
+
"TUIKit-time-04": string;
|
|
108
|
+
"TUIKit-time-05": string;
|
|
109
|
+
"TUIKit-time-06": string;
|
|
110
|
+
"TUIKit-message-tip-01": string;
|
|
111
|
+
"TUIKit-message-tip-02": string;
|
|
112
|
+
"TUIKit-message-tip-03": string;
|
|
113
|
+
"TUIKit-message-tip-04": string;
|
|
114
|
+
"TUIKit-message-tip-05": string;
|
|
115
|
+
"TUIKit-message-tip-06": string;
|
|
116
|
+
"TUIKit-message-tip-07": string;
|
|
117
|
+
"TUIKit-message-tip-08": string;
|
|
118
|
+
"TUIKit-message-tip-09": string;
|
|
119
|
+
"TUIKit-message-tip-10": string;
|
|
120
|
+
"TUIKit-message-tip-11": string;
|
|
121
|
+
"TUIKit-message-tip-12": string;
|
|
122
|
+
"TUIKit-message-tip-13": string;
|
|
123
|
+
"TUIKit-message-tip-14": string;
|
|
124
|
+
"TUIKit-message-tip-15": string;
|
|
125
|
+
"TUIKit-message-tip-16": string;
|
|
126
|
+
"TUIKit-message-tip-17": string;
|
|
127
|
+
"TUIKit-message-tip-18": string;
|
|
128
|
+
"TUIKit-message-tip-19": string;
|
|
129
|
+
"TUIKit-message-tip-20": string;
|
|
130
|
+
"TUIKit-message-tip-21": string;
|
|
131
|
+
"TUIKit-message-tip-22": string;
|
|
132
|
+
"TUIKit-message-tip-23": string;
|
|
133
|
+
"TUIKit-message-tip-24": string;
|
|
134
|
+
"TUIKit-message-tip-25": string;
|
|
135
|
+
"TUIKit-message-tip-26": string;
|
|
136
|
+
"TUIKit-message-tip-27": string;
|
|
137
|
+
"TUIKit-message-tip-28": string;
|
|
138
|
+
"TUIKit-message-tip-29": string;
|
|
139
|
+
"TUIKit-message-tip-30": string;
|
|
140
|
+
"TUIKit-message-tip-31": string;
|
|
141
|
+
"TUIKit-message-tip-32": string;
|
|
142
|
+
"TUIKit-message-tip-33": string;
|
|
143
|
+
"TUIKit-message-custom-01": string;
|
|
144
|
+
"TUIKit-message-custom-02": string;
|
|
145
|
+
"TUIKit-message-custom-03": string;
|
|
146
|
+
"TUIKit-message-custom-04": string;
|
|
147
|
+
"TUIKit-message-custom-05": string;
|
|
148
|
+
"TUIKit-message-custom-06": string;
|
|
149
|
+
"TUIKit-message-custom-07": string;
|
|
150
|
+
"TUIKit-message-custom-08": string;
|
|
151
|
+
"TUIKit-message-custom-09": string;
|
|
152
|
+
"TUIKit-message-custom-10": string;
|
|
153
|
+
"TUIKit-message-custom-11": string;
|
|
154
|
+
"TUIKit-message-custom-12": string;
|
|
155
|
+
"TUIKit-component-01": string;
|
|
156
|
+
"TUIKit-component-02": string;
|
|
157
|
+
"TUIKit-component-03": string;
|
|
158
|
+
"TUIKit-component-04": string;
|
|
159
|
+
"TUIKit-component-05": string;
|
|
160
|
+
"TUIKit-component-06": string;
|
|
161
|
+
"TUIKit-component-07": string;
|
|
162
|
+
};
|
|
163
|
+
export default translate;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const Words: {
|
|
2
|
+
"\u5E38\u7528\u8BED-\u5FEB\u6377\u56DE\u590D\u5DE5\u5177": string;
|
|
3
|
+
"\u5728\u5417\uFF1F\u5728\u5417\uFF1F\u5728\u5417\uFF1F\u91CD\u8981\u7684\u8BDD\u8BF4\u4E09\u904D\u3002": string;
|
|
4
|
+
"\u597D\u4E45\u6CA1\u804A\u5929\u4E86\uFF0C\u5FEB\u6765\u548C\u6211\u8BF4\u8BF4\u8BDD\uFF5E": string;
|
|
5
|
+
"\u597D\u7684\uFF0C\u5C31\u8FD9\u4E48\u8BF4\u5B9A\u4E86\u3002": string;
|
|
6
|
+
"\u611F\u6069\u7684\u5FC3\uFF0C\u611F\u8C22\u6709\u4F60\u3002": string;
|
|
7
|
+
"\u7CDF\u7CD5\uFF01\u662F\u5FC3\u52A8\u7684\u611F\u89C9\uFF01": string;
|
|
8
|
+
"\u5FC3\u75BC\u5730\u62B1\u62B1\u81EA\u5DF1\uFF0C\u6211\u592A\u96BE\u4E86\uFF01": string;
|
|
9
|
+
"\u6CA1\u5173\u7CFB\uFF0C\u522B\u5728\u610F\uFF0C\u4E8B\u60C5\u8FC7\u53BB\u5C31\u8FC7\u53BB\u4E86\u3002": string;
|
|
10
|
+
"\u65E9\u4E0A\u597D\uFF0C\u4ECA\u5929\u4E5F\u662F\u8BA9\u4EBA\u671F\u5F85\u7684\u4E00\u5929\u5462\uFF01": string;
|
|
11
|
+
"\u71AC\u591C\u6709\u4EC0\u4E48\u7528\uFF0C\u53C8\u6CA1\u4EBA\u966A\u4F60\u804A\u5929\uFF0C\u65E9\u70B9\u4F11\u606F\u5427\u3002": string;
|
|
12
|
+
};
|
|
13
|
+
export default Words;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const Words = {
|
|
2
|
+
"常用语-快捷回复工具": "常用語-快捷回覆工具",
|
|
3
|
+
"在吗?在吗?在吗?重要的话说三遍。": "在嗎?在嗎?在嗎?重要的話說三遍。",
|
|
4
|
+
"好久没聊天了,快来和我说说话~": "好久沒聊天了,快來和我說說話~",
|
|
5
|
+
"好的,就这么说定了。": "好的,就這麼說定了。",
|
|
6
|
+
"感恩的心,感谢有你。": "感恩的心,感謝有你。",
|
|
7
|
+
"糟糕!是心动的感觉!": "糟糕!是心動的感覺!",
|
|
8
|
+
"心疼地抱抱自己,我太难了!": "心疼地抱抱自己,我太難了!",
|
|
9
|
+
"没关系,别在意,事情过去就过去了。": "沒關係,別在意,事情過去就過去了。",
|
|
10
|
+
"早上好,今天也是让人期待的一天呢!": "早上好,今天也是讓人期待的一天呢!",
|
|
11
|
+
"熬夜有什么用,又没人陪你聊天,早点休息吧。": "熬夜有什麼用,又沒人陪你聊天,早點休息吧。"
|
|
12
|
+
};
|
|
13
|
+
export {
|
|
14
|
+
Words as default
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function riseInput(input: HTMLElement, target?: HTMLElement): void;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { isIOS } from "@tencentcloud/universal-api";
|
|
2
|
+
const ua = navigator.userAgent;
|
|
3
|
+
function getScrollTypeByPlatform() {
|
|
4
|
+
if (isIOS) {
|
|
5
|
+
if (/Safari\//.test(ua) || /IOS 11_[0-3]\D/.test(ua)) {
|
|
6
|
+
return 0;
|
|
7
|
+
}
|
|
8
|
+
return 1;
|
|
9
|
+
}
|
|
10
|
+
return 2;
|
|
11
|
+
}
|
|
12
|
+
function riseInput(input, target) {
|
|
13
|
+
const scrollType = getScrollTypeByPlatform();
|
|
14
|
+
let scrollTimer;
|
|
15
|
+
if (!target) {
|
|
16
|
+
target = input;
|
|
17
|
+
}
|
|
18
|
+
const scrollIntoView = () => {
|
|
19
|
+
if (scrollType === 0) return;
|
|
20
|
+
if (scrollType === 1) {
|
|
21
|
+
document.body.scrollTop = document.body.scrollHeight;
|
|
22
|
+
} else {
|
|
23
|
+
target == null ? void 0 : target.scrollIntoView(false);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
input.addEventListener("focus", () => {
|
|
27
|
+
const timer = setTimeout(() => {
|
|
28
|
+
scrollIntoView();
|
|
29
|
+
clearTimeout(timer);
|
|
30
|
+
}, 300);
|
|
31
|
+
scrollTimer = setTimeout(scrollIntoView, 1e3);
|
|
32
|
+
});
|
|
33
|
+
input.addEventListener("blur", () => {
|
|
34
|
+
clearTimeout(scrollTimer);
|
|
35
|
+
if (scrollType && isIOS) {
|
|
36
|
+
const timer = setTimeout(() => {
|
|
37
|
+
document.body.scrollIntoView();
|
|
38
|
+
clearTimeout(timer);
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
riseInput as default
|
|
45
|
+
};
|
|
@@ -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 Chat = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const Chat = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-afefff39"]]);
|
|
5
5
|
export {
|
|
6
6
|
Chat as default
|
|
7
7
|
};
|
|
@@ -1,25 +1,19 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock,
|
|
2
|
-
import { TUIConversationService
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createVNode } from "vue";
|
|
2
|
+
import { TUIConversationService } from "@tencentcloud/chat-uikit-engine";
|
|
3
3
|
import TUIChatKit from "../ChatKit/server.mjs";
|
|
4
4
|
import "../../../services/main.mjs";
|
|
5
5
|
import { roomService } from "../../../services/roomService.mjs";
|
|
6
6
|
import "../../../locales/index.mjs";
|
|
7
7
|
import "@tencentcloud/tuiroom-engine-electron";
|
|
8
|
+
import "../../../utils/environment.mjs";
|
|
8
9
|
import "mitt";
|
|
9
10
|
import "../../../services/manager/roomActionManager.mjs";
|
|
10
11
|
import "@tencentcloud/tui-core";
|
|
11
|
-
import "../../../utils/environment.mjs";
|
|
12
12
|
import { hideTUIChatFeatures } from "../ChatKit/components/TUIChat/config.mjs";
|
|
13
13
|
import TUIChatServer from "../ChatKit/components/TUIChat/server.mjs";
|
|
14
|
-
import MessageList from "../MessageList/index.vue.mjs";
|
|
15
|
-
import ChatEditor from "../ChatEditor/index.vue.mjs";
|
|
16
14
|
import { useBasicStore } from "../../../stores/basic.mjs";
|
|
17
15
|
import TUIChat from "../ChatKit/components/TUIChat/index.vue.mjs";
|
|
18
16
|
const _hoisted_1 = { class: "chat-container" };
|
|
19
|
-
const _hoisted_2 = {
|
|
20
|
-
key: 1,
|
|
21
|
-
class: "chat-container-chat-scene"
|
|
22
|
-
};
|
|
23
17
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
18
|
__name: "index",
|
|
25
19
|
setup(__props) {
|
|
@@ -48,18 +42,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
48
42
|
hideTUIChatFeatures(defaultHideFeaturesButtons);
|
|
49
43
|
roomService.setTheme(basicStore.defaultTheme);
|
|
50
44
|
roomService.setLanguage(basicStore.lang);
|
|
51
|
-
TUIStore.watch(StoreName.CONV, {
|
|
52
|
-
currentConversationID: onCurrentConversationIDUpdate
|
|
53
|
-
});
|
|
54
|
-
function onCurrentConversationIDUpdate(currentConversationID) {
|
|
55
|
-
roomService.chatManager.setChatType(currentConversationID === currentRoomId);
|
|
56
|
-
}
|
|
57
45
|
return (_ctx, _cache) => {
|
|
58
46
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
59
|
-
|
|
60
|
-
createVNode(MessageList),
|
|
61
|
-
createVNode(ChatEditor)
|
|
62
|
-
]))
|
|
47
|
+
createVNode(TUIChat)
|
|
63
48
|
]);
|
|
64
49
|
};
|
|
65
50
|
}
|
|
@@ -11,14 +11,14 @@ export default function useMemberControl(props?: any): {
|
|
|
11
11
|
handleCancelDialog: () => void;
|
|
12
12
|
handleAction: (userInfo: UserInfo) => void;
|
|
13
13
|
isDialogVisible: Ref<boolean>;
|
|
14
|
-
dialogData:
|
|
14
|
+
dialogData: {
|
|
15
15
|
title: string;
|
|
16
16
|
content: string;
|
|
17
17
|
confirmText: string;
|
|
18
18
|
actionType: ActionType;
|
|
19
19
|
showInput: boolean;
|
|
20
20
|
isConfirmButtonDisable: boolean;
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
tempUserName: Ref<string>;
|
|
23
23
|
isShowInput: Ref<boolean>;
|
|
24
24
|
editorInputEle: Ref<any>;
|
|
@@ -24,11 +24,11 @@ import bus from "../../../hooks/useMitt.mjs";
|
|
|
24
24
|
import useMemberItem from "../MemberItem/useMemberItemHooks.mjs";
|
|
25
25
|
import "../../../services/main.mjs";
|
|
26
26
|
import { roomService } from "../../../services/roomService.mjs";
|
|
27
|
+
import { isMobile } from "../../../utils/environment.mjs";
|
|
28
|
+
import { calculateByteLength } from "../../../utils/utils.mjs";
|
|
27
29
|
import "mitt";
|
|
28
30
|
import "../../../services/manager/roomActionManager.mjs";
|
|
29
31
|
import "@tencentcloud/tui-core";
|
|
30
|
-
import { isMobile } from "../../../utils/environment.mjs";
|
|
31
|
-
import { calculateByteLength } from "../../../utils/utils.mjs";
|
|
32
32
|
function useMemberControl(props) {
|
|
33
33
|
const roomEngine = useGetRoomEngine();
|
|
34
34
|
const { t } = useI18n();
|
|
@@ -353,7 +353,7 @@ function useMemberControl(props) {
|
|
|
353
353
|
const roomInfo = await ((_a = roomEngine.instance) == null ? void 0 : _a.fetchRoomInfo());
|
|
354
354
|
if ((roomInfo == null ? void 0 : roomInfo.roomOwner) === roomStore.localUser.userId) {
|
|
355
355
|
try {
|
|
356
|
-
if (roomStore.localUser.hasScreenStream) {
|
|
356
|
+
if (roomStore.localUser.hasScreenStream && roomStore.isScreenShareDisableForAllUser) {
|
|
357
357
|
bus.emit("ScreenShare:stopScreenShare");
|
|
358
358
|
}
|
|
359
359
|
await ((_b = roomEngine.instance) == null ? void 0 : _b.changeUserRole({
|
|
@@ -4,10 +4,10 @@ import { useI18n } from "../../../locales/index.mjs";
|
|
|
4
4
|
import "../../../services/main.mjs";
|
|
5
5
|
import { roomService } from "../../../services/roomService.mjs";
|
|
6
6
|
import { TUIInvitationStatus } from "@tencentcloud/tuiroom-engine-electron";
|
|
7
|
+
import "../../../utils/environment.mjs";
|
|
7
8
|
import "mitt";
|
|
8
9
|
import "../../../services/manager/roomActionManager.mjs";
|
|
9
10
|
import "@tencentcloud/tui-core";
|
|
10
|
-
import "../../../utils/environment.mjs";
|
|
11
11
|
import renderMsg from "../../common/base/Message/Message.mjs";
|
|
12
12
|
import { MESSAGE_DURATION } from "../../../constants/message.mjs";
|
|
13
13
|
const _hoisted_1 = { class: "member-invite-container" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./PasswordDialog.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const PasswordDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const PasswordDialog = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d867aae2"]]);
|
|
5
5
|
export {
|
|
6
6
|
PasswordDialog as default
|
|
7
7
|
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, nextTick, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, watch, nextTick, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import "../../services/main.mjs";
|
|
4
4
|
import { roomService } from "../../services/roomService.mjs";
|
|
5
5
|
import { EventType } from "../../services/types.mjs";
|
|
6
6
|
import { useI18n } from "../../locales/index.mjs";
|
|
7
7
|
import "@tencentcloud/tuiroom-engine-electron";
|
|
8
|
+
import "../../utils/environment.mjs";
|
|
8
9
|
import "mitt";
|
|
9
10
|
import "../../services/manager/roomActionManager.mjs";
|
|
10
11
|
import "@tencentcloud/tui-core";
|
|
11
|
-
import "../../utils/environment.mjs";
|
|
12
12
|
import Dialog from "../common/base/Dialog/index.vue.mjs";
|
|
13
13
|
import TuiButton from "../common/base/Button.vue.mjs";
|
|
14
14
|
import TuiInput from "../common/base/Input/index.vue.mjs";
|
|
@@ -28,6 +28,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
28
28
|
const inputPassword = ref("");
|
|
29
29
|
const props = __props;
|
|
30
30
|
const isShowPasswordContainer = ref(false);
|
|
31
|
+
const isJoiningRoom = ref(false);
|
|
32
|
+
const isJoinButtonDisable = computed(
|
|
33
|
+
() => inputPassword.value.length === 0 || isJoiningRoom.value
|
|
34
|
+
);
|
|
31
35
|
watch(
|
|
32
36
|
() => props.visible,
|
|
33
37
|
(val) => {
|
|
@@ -38,12 +42,17 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
42
|
}
|
|
39
43
|
);
|
|
40
44
|
async function joinRoom() {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
try {
|
|
46
|
+
isJoiningRoom.value = true;
|
|
47
|
+
await roomService.join(roomId.value, {
|
|
48
|
+
isOpenCamera: false,
|
|
49
|
+
isOpenMicrophone: true,
|
|
50
|
+
password: inputPassword.value
|
|
51
|
+
});
|
|
52
|
+
roomService.emit(EventType.ROOM_JOIN);
|
|
53
|
+
} catch (error) {
|
|
54
|
+
isJoiningRoom.value = false;
|
|
55
|
+
}
|
|
47
56
|
}
|
|
48
57
|
function cancelInputPassword() {
|
|
49
58
|
inputPassword.value = "";
|
|
@@ -51,10 +60,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
51
60
|
}
|
|
52
61
|
watch(
|
|
53
62
|
() => inputPassword.value,
|
|
54
|
-
async (
|
|
55
|
-
if (
|
|
63
|
+
async (val) => {
|
|
64
|
+
if (val && invalidPasswordRegex.test(val)) {
|
|
56
65
|
await nextTick();
|
|
57
|
-
inputPassword.value =
|
|
66
|
+
inputPassword.value = val.replace(invalidPasswordRegex, "");
|
|
58
67
|
}
|
|
59
68
|
}
|
|
60
69
|
);
|
|
@@ -78,7 +87,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
78
87
|
createVNode(TuiButton, {
|
|
79
88
|
class: "button",
|
|
80
89
|
size: "default",
|
|
81
|
-
disabled:
|
|
90
|
+
disabled: isJoinButtonDisable.value,
|
|
82
91
|
onClick: joinRoom
|
|
83
92
|
}, {
|
|
84
93
|
default: withCtx(() => [
|
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<
|
|
2
|
-
showRoomTool: boolean;
|
|
3
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
-
showRoomTool: boolean;
|
|
5
|
-
}>>>, {}, {}>;
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
|
|
6
2
|
export default _default;
|
|
7
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
8
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
9
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
10
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
11
|
-
} : {
|
|
12
|
-
type: import('vue').PropType<T[K]>;
|
|
13
|
-
required: true;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./index.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const StreamContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const StreamContainer = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a06282dd"]]);
|
|
5
5
|
export {
|
|
6
6
|
StreamContainer as default
|
|
7
7
|
};
|