@tencentcloud/roomkit-electron-vue3 2.7.0 → 2.7.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/AITools/AISubtitles.vue.mjs +1 -1
- package/es/components/AITools/AISubtitles.vue2.mjs +18 -19
- package/es/components/AITools/AITranscription.vue.mjs +1 -1
- package/es/components/AITools/AITranscription.vue2.mjs +65 -76
- package/es/components/Chat/ChatEditor/index.vue2.mjs +1 -1
- 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/index.vue2.mjs +1 -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.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/video-upload/index.vue2.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-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/offlinePushInfoManager/offlinePushInfoManager.mjs +1 -1
- package/es/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +1 -1
- 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/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.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/components/common/Transfer/index.vue2.mjs +1 -1
- package/es/components/Chat/ChatKit/locales/index.mjs +4 -4
- package/es/components/Chat/ChatKit/plugins/plugin-components/message-plugin.vue2.mjs +1 -1
- package/es/components/ManageMember/MemberControl/index.vue.mjs +1 -1
- package/es/components/ManageMember/MemberControl/index.vue2.mjs +6 -4
- package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +1 -1
- package/es/components/ManageMember/MemberItemCommon/MemberInfo.vue.mjs +1 -1
- package/es/components/ManageMember/index.vue2.mjs +1 -1
- package/es/components/PreRoom/PasswordDialog.vue2.mjs +1 -1
- package/es/components/RoomContent/StreamRegion/StreamPlay/index.vue2.mjs +1 -1
- package/es/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.mjs +1 -1
- 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 +5 -3
- package/es/components/RoomFooter/ChatControl.vue.mjs +2 -0
- package/es/components/RoomFooter/EndControl/index.vue2.mjs +1 -1
- package/es/components/RoomFooter/ScreenShareControl/Index.vue2.mjs +1 -1
- package/es/components/RoomFooter/ScreenShareControl/ScreenWindowSelectDialog.vue2.mjs +1 -1
- package/es/components/RoomFooter/VideoControl.vue2.mjs +2 -2
- package/es/components/RoomFooter/VirtualBackground.vue2.mjs +1 -1
- package/es/components/RoomFooter/WhiteboardControl.vue.mjs +1 -1
- package/es/components/RoomHeader/UserInfo/index.vue.mjs +1 -1
- package/es/components/RoomHeader/UserInfo/index.vue2.mjs +2 -1
- package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +1 -1
- package/es/components/RoomHome/RoomControl/index.vue2.mjs +2 -2
- package/es/components/RoomInvite/InvitationNotification.vue2.mjs +1 -1
- package/es/components/RoomInvite/index.vue2.mjs +1 -1
- package/es/components/RoomSetting/index.vue2.mjs +1 -1
- package/es/components/ScheduleConference/Contacts.vue2.mjs +1 -1
- package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue2.mjs +2 -2
- package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +2 -2
- package/es/components/ScheduleConference/ScheduleRoomList.vue2.mjs +1 -1
- package/es/components/ScheduleConference/ShareLink.vue2.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.vue2.mjs +1 -1
- package/es/components/common/base/Dialog/index.vue2.mjs +1 -1
- package/es/components/common/base/Input/index.vue2.mjs +1 -1
- package/es/components/common/base/Message/Message.vue2.mjs +1 -1
- package/es/components/common/base/MessageBox/index.vue2.mjs +1 -1
- package/es/components/common/base/SvgIcon.vue2.mjs +1 -1
- package/es/constants/room.mjs +1 -3
- package/es/extension/RoomMessageCard/RoomMessageCard.vue2.mjs +1 -1
- package/es/extension/chatExtension.mjs +3 -6
- package/es/hooks/useDeviceManager.mjs +1 -1
- package/es/index.mjs +134 -126
- package/es/services/function/aiTask.d.ts +13 -17
- package/es/services/function/aiTask.mjs +63 -100
- package/es/services/manager/MediaManager.mjs +1 -1
- package/es/services/manager/dataReportManager.d.ts +4 -1
- package/es/services/manager/dataReportManager.mjs +3 -0
- package/es/services/manager/roomActionManager.mjs +1 -1
- package/es/services/roomService.mjs +1 -1
- package/es/stores/basic.mjs +1 -1
- package/es/stores/room.mjs +1 -4
- package/es/utils/common/logger/index.mjs +1 -1
- package/es/utils/utils.d.ts +2 -0
- package/es/utils/utils.mjs +33 -0
- package/lib/components/AITools/AISubtitles.vue.js +1 -1
- package/lib/components/AITools/AISubtitles.vue2.js +17 -18
- package/lib/components/AITools/AITranscription.vue.js +1 -1
- package/lib/components/AITools/AITranscription.vue2.js +64 -75
- package/lib/components/Chat/ChatKit/components/TUIChat/message-input/index.vue2.js +6 -6
- package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.js +8 -8
- 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.vue2.js +10 -10
- package/lib/components/Chat/ChatKit/locales/index.js +4 -4
- package/lib/components/ManageMember/MemberControl/index.vue.js +1 -1
- package/lib/components/ManageMember/MemberControl/index.vue2.js +5 -3
- package/lib/components/ManageMember/MemberItemCommon/MemberInfo.vue.js +1 -1
- package/lib/components/RoomContent/StreamContainer/index.vue2.js +6 -6
- 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 +3 -1
- package/lib/components/RoomFooter/ChatControl.vue.js +2 -0
- package/lib/components/RoomFooter/ScreenShareControl/Index.vue2.js +5 -5
- package/lib/components/RoomFooter/VideoControl.vue2.js +4 -4
- package/lib/components/RoomHeader/UserInfo/index.vue.js +1 -1
- package/lib/components/RoomHeader/UserInfo/index.vue2.js +2 -1
- package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue2.js +1 -1
- package/lib/components/ScheduleConference/ScheduleRoomControl.vue2.js +1 -1
- package/lib/components/ScheduleConference/ScheduleRoomList.vue2.js +1 -1
- package/lib/conference.vue2.js +12 -12
- package/lib/constants/room.js +1 -3
- package/lib/extension/chatExtension.js +1 -4
- package/lib/hooks/useMasterApplyControl.js +9 -9
- package/lib/index.js +134 -126
- package/lib/preConference.vue2.js +7 -7
- package/lib/services/function/aiTask.d.ts +13 -17
- package/lib/services/function/aiTask.js +63 -100
- package/lib/services/manager/dataReportManager.d.ts +4 -1
- package/lib/services/manager/dataReportManager.js +3 -0
- package/lib/stores/room.js +0 -3
- package/lib/utils/utils.d.ts +2 -0
- package/lib/utils/utils.js +33 -0
- package/package.json +2 -2
- package/src/TUIRoom/components/AITools/AISubtitles.vue +26 -23
- package/src/TUIRoom/components/AITools/AITranscription.vue +106 -101
- package/src/TUIRoom/components/ManageMember/MemberControl/index.vue +8 -3
- package/src/TUIRoom/components/ManageMember/MemberItemCommon/MemberInfo.vue +1 -1
- package/src/TUIRoom/components/RoomFooter/BasicBeauty.vue +2 -1
- package/src/TUIRoom/components/RoomFooter/ChatControl.vue +2 -1
- package/src/TUIRoom/components/RoomHeader/UserInfo/index.vue +2 -5
- package/src/TUIRoom/services/function/aiTask.ts +79 -113
- package/src/TUIRoom/services/manager/dataReportManager.ts +3 -0
- package/src/TUIRoom/stores/room.ts +0 -3
- package/src/TUIRoom/utils/utils.ts +47 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, onUnmounted, openBlock, createElementBlock, createVNode, unref, withCtx,
|
|
1
|
+
import { defineComponent, computed, ref, onUnmounted, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, toDisplayString, createTextVNode } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import renderMsg from "../common/base/Message/Message.mjs";
|
|
4
4
|
import Dialog from "../common/base/Dialog/index.vue.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./BasicBeauty.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const BasicBeauty = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const BasicBeauty = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2e9e258c"]]);
|
|
5
5
|
export {
|
|
6
6
|
BasicBeauty as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, reactive, unref, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, withDirectives, isRef, vModelCheckbox, createTextVNode
|
|
1
|
+
import { defineComponent, ref, computed, watch, reactive, unref, openBlock, createElementBlock, createVNode, nextTick, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, withDirectives, isRef, vModelCheckbox, createTextVNode } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import IconButton from "../common/base/IconButton.vue.mjs";
|
|
4
4
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
@@ -6,11 +6,13 @@ import BasicBeautyIcon from "../common/icons/BasicBeautyIcon.vue.mjs";
|
|
|
6
6
|
import { useI18n } from "../../locales/index.mjs";
|
|
7
7
|
import "../../services/main.mjs";
|
|
8
8
|
import { roomService } from "../../services/roomService.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { TRTCVideoFillMode, TRTCVideoRotation, TRTCVideoMirrorType } from "@tencentcloud/tuiroom-engine-electron";
|
|
10
10
|
import "mitt";
|
|
11
11
|
import "../../services/manager/roomActionManager.mjs";
|
|
12
12
|
import "@tencentcloud/tui-core";
|
|
13
|
+
import { MetricsKey } from "../../services/manager/dataReportManager.mjs";
|
|
13
14
|
import { isMobile } from "../../utils/environment.mjs";
|
|
15
|
+
import { throttle } from "../../utils/utils.mjs";
|
|
14
16
|
import Dialog from "../common/base/Dialog/index.vue.mjs";
|
|
15
17
|
import TuiButton from "../common/base/Button.vue.mjs";
|
|
16
18
|
import Slider from "../common/base/Slider.vue.mjs";
|
|
@@ -23,7 +25,6 @@ import CompareIcon from "../common/icons/CompareIcon.vue.mjs";
|
|
|
23
25
|
import useGetRoomEngine from "../../hooks/useRoomEngine.mjs";
|
|
24
26
|
import { useBasicStore } from "../../stores/basic.mjs";
|
|
25
27
|
import { TRTCBeautyStyle } from "../../constants/room.mjs";
|
|
26
|
-
import { throttle } from "../../utils/utils.mjs";
|
|
27
28
|
const _hoisted_1 = {
|
|
28
29
|
key: 0,
|
|
29
30
|
class: "basicBeauty-control-container"
|
|
@@ -114,6 +115,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
114
115
|
view: "test-preview"
|
|
115
116
|
}));
|
|
116
117
|
isLoading.value = false;
|
|
118
|
+
roomService.dataReportManager.reportCount(MetricsKey.setBasicBeauty);
|
|
117
119
|
};
|
|
118
120
|
const closeBeautySettingPanel = async () => {
|
|
119
121
|
var _a;
|
|
@@ -12,6 +12,7 @@ import "@tencentcloud/tuiroom-engine-electron";
|
|
|
12
12
|
import "mitt";
|
|
13
13
|
import "../../services/manager/roomActionManager.mjs";
|
|
14
14
|
import "@tencentcloud/tui-core";
|
|
15
|
+
import { MetricsKey } from "../../services/manager/dataReportManager.mjs";
|
|
15
16
|
import "../../utils/environment.mjs";
|
|
16
17
|
const _hoisted_1 = {
|
|
17
18
|
key: 0,
|
|
@@ -34,6 +35,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
34
35
|
basicStore.setSidebarOpenStatus(true);
|
|
35
36
|
basicStore.setSidebarName("chat");
|
|
36
37
|
chatStore.updateUnReadCount(0);
|
|
38
|
+
roomService.dataReportManager.reportCount(MetricsKey.openChat);
|
|
37
39
|
}
|
|
38
40
|
return (_ctx, _cache) => {
|
|
39
41
|
return unref(chatControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, toDisplayString, unref, isRef,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode, toDisplayString, unref, isRef, createElementVNode, createCommentVNode, Fragment, renderList, createBlock } from "vue";
|
|
2
2
|
import TuiButton from "../../common/base/Button.vue.mjs";
|
|
3
3
|
import TuiSelect from "../../common/base/Select/index.vue.mjs";
|
|
4
4
|
import TuiOption from "../../common/base/Option/index.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onUnmounted, openBlock, createElementBlock, createVNode, normalizeClass, withCtx, createBlock, unref, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, computed, onUnmounted, openBlock, createElementBlock, createVNode, normalizeClass, withCtx, createBlock, unref, createElementVNode, toDisplayString, createTextVNode } from "vue";
|
|
2
2
|
import { ipcRenderer } from "electron";
|
|
3
3
|
import { storeToRefs } from "pinia";
|
|
4
4
|
import { useI18n } from "../../../locales/index.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, openBlock, createElementBlock, createVNode, unref, withCtx,
|
|
1
|
+
import { defineComponent, ref, watch, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createBlock, normalizeClass, createTextVNode } from "vue";
|
|
2
2
|
import renderMsg from "../../common/base/Message/Message.mjs";
|
|
3
3
|
import ScreenWindowPreviewer from "./ScreenWindowPreviewer.vue.mjs";
|
|
4
4
|
import { MESSAGE_DURATION } from "../../../constants/message.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onUnmounted, openBlock, createElementBlock, createVNode, unref, withCtx,
|
|
1
|
+
import { defineComponent, ref, computed, onUnmounted, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, toDisplayString, createTextVNode } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import Dialog from "../common/base/Dialog/index.vue.mjs";
|
|
4
4
|
import VideoMediaControl from "../common/VideoMediaControl.vue.mjs";
|
|
@@ -7,7 +7,7 @@ import { WARNING_MESSAGE, MESSAGE_DURATION } from "../../constants/message.mjs";
|
|
|
7
7
|
import { useI18n } from "../../locales/index.mjs";
|
|
8
8
|
import useGetRoomEngine from "../../hooks/useRoomEngine.mjs";
|
|
9
9
|
import useDeviceManager from "../../hooks/useDeviceManager.mjs";
|
|
10
|
-
import TUIRoomEngine__default, { TUIRoomEvents,
|
|
10
|
+
import TUIRoomEngine__default, { TUIRoomEvents, TUIRequestAction, TUIRole, TUIMediaDeviceType } from "@tencentcloud/tuiroom-engine-electron";
|
|
11
11
|
import { isMobile, isWeChat } from "../../utils/environment.mjs";
|
|
12
12
|
import { useBasicStore } from "../../stores/basic.mjs";
|
|
13
13
|
import TuiButton from "../common/base/Button.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, unref, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, createCommentVNode, normalizeClass, toDisplayString, createTextVNode
|
|
1
|
+
import { defineComponent, computed, ref, unref, openBlock, createElementBlock, createVNode, nextTick, withCtx, createElementVNode, createCommentVNode, normalizeClass, toDisplayString, createTextVNode } from "vue";
|
|
2
2
|
import IconButton from "../common/base/IconButton.vue.mjs";
|
|
3
3
|
import VirtualBackgroundIcon from "../common/icons/VirtualBackgroundIcon.vue.mjs";
|
|
4
4
|
import { useI18n } from "../../locales/index.mjs";
|
|
@@ -10,7 +10,7 @@ import { useRoomStore } from "../../stores/room.mjs";
|
|
|
10
10
|
import { useI18n } from "../../locales/index.mjs";
|
|
11
11
|
import bus from "../../hooks/useMitt.mjs";
|
|
12
12
|
import "../../services/main.mjs";
|
|
13
|
-
import {
|
|
13
|
+
import { roomEngine, roomService } from "../../services/roomService.mjs";
|
|
14
14
|
import { EventType } from "../../services/types.mjs";
|
|
15
15
|
import "mitt";
|
|
16
16
|
import "../../services/manager/roomActionManager.mjs";
|
|
@@ -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 UserInfo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const UserInfo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b5154ce3"]]);
|
|
5
5
|
export {
|
|
6
6
|
UserInfo as default
|
|
7
7
|
};
|
|
@@ -50,6 +50,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
50
50
|
} = useUserInfo();
|
|
51
51
|
const props = __props;
|
|
52
52
|
async function saveUserName(userName) {
|
|
53
|
+
const { userId } = props;
|
|
53
54
|
if (userName.length === 0) {
|
|
54
55
|
renderMsg({
|
|
55
56
|
type: "warning",
|
|
@@ -63,7 +64,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
64
|
avatarUrl: roomStore.localUser.avatarUrl || ""
|
|
64
65
|
});
|
|
65
66
|
basicStore.setUserName(userName);
|
|
66
|
-
roomStore.
|
|
67
|
+
roomStore.updateUserInfo({ userId, userName });
|
|
67
68
|
emits("update-user-name", userName);
|
|
68
69
|
closeUserNameEditor();
|
|
69
70
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, unref, withDirectives, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, normalizeClass, Fragment, renderList, toDisplayString,
|
|
1
|
+
import { defineComponent, ref, computed, unref, withDirectives, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, normalizeClass, Fragment, renderList, toDisplayString, pushScopeId, popScopeId, createCommentVNode } from "vue";
|
|
2
2
|
import { LAYOUT } from "../../../constants/render.mjs";
|
|
3
3
|
import { useBasicStore } from "../../../stores/basic.mjs";
|
|
4
4
|
import { useRoomStore } from "../../../stores/room.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, toDisplayString, unref, createCommentVNode, createBlock, createVNode, withModifiers, withCtx, withDirectives, withKeys, vModelText, normalizeClass
|
|
1
|
+
import { defineComponent, ref, watch, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, pushScopeId, popScopeId, toDisplayString, unref, createCommentVNode, createBlock, createVNode, withModifiers, withCtx, withDirectives, withKeys, vModelText, normalizeClass } from "vue";
|
|
2
2
|
import SvgIcon from "../../common/base/SvgIcon.vue.mjs";
|
|
3
3
|
import LoadingIcon from "../../common/icons/LoadingIcon.vue.mjs";
|
|
4
4
|
import NextIcon from "../../common/icons/NextIcon.vue.mjs";
|
|
@@ -13,7 +13,7 @@ import { useRoomStore } from "../../../stores/room.mjs";
|
|
|
13
13
|
import AudioMediaControl from "../../common/AudioMediaControl.vue.mjs";
|
|
14
14
|
import VideoMediaControl from "../../common/VideoMediaControl.vue.mjs";
|
|
15
15
|
import ScheduleConferencePanel from "../../ScheduleConference/ScheduleConferencePanel/index.vue.mjs";
|
|
16
|
-
import TUIRoomEngine__default, {
|
|
16
|
+
import TUIRoomEngine__default, { TRTCVideoFillMode, TRTCVideoRotation, TRTCVideoMirrorType, TUIRoomDeviceMangerEvents } from "@tencentcloud/tuiroom-engine-electron";
|
|
17
17
|
import vClickOutside from "../../../directives/vClickOutside.mjs";
|
|
18
18
|
import { isEnumerateDevicesSupported, isGetUserMediaSupported } from "../../../utils/mediaAbility.mjs";
|
|
19
19
|
import useDeviceManager from "../../../hooks/useDeviceManager.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, createElementVNode, createVNode, toDisplayString, unref,
|
|
1
|
+
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, createElementVNode, createVNode, toDisplayString, unref, pushScopeId, popScopeId, withCtx, createCommentVNode } from "vue";
|
|
2
2
|
import Avatar from "../common/Avatar.vue.mjs";
|
|
3
3
|
import { useI18n } from "../../locales/index.mjs";
|
|
4
4
|
import EnterRoomIcon from "../common/icons/EnterRoomIcon.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, unref, createVNode, createElementVNode, toDisplayString, isRef, withCtx,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, Fragment, renderList, unref, createVNode, createElementVNode, toDisplayString, isRef, withCtx, withDirectives, createBlock, createCommentVNode, vShow, createTextVNode } from "vue";
|
|
2
2
|
import useRoomInvite from "./useRoomInviteHooks.mjs";
|
|
3
3
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
4
4
|
import TuiButton from "../common/base/Button.vue.mjs";
|
|
@@ -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, pushScopeId, popScopeId, createBlock, createCommentVNode } 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";
|
|
@@ -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, withModifiers, normalizeClass, 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,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, computed, watch, nextTick, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createCommentVNode, normalizeClass, createBlock, createTextVNode } 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";
|
|
@@ -25,8 +25,8 @@ import "mitt";
|
|
|
25
25
|
import "../../../services/manager/roomActionManager.mjs";
|
|
26
26
|
import "@tencentcloud/tui-core";
|
|
27
27
|
import "../../../utils/environment.mjs";
|
|
28
|
-
import { PASSWORD_MAX_LENGTH_LIMIT } from "../../../constants/room.mjs";
|
|
29
28
|
import { deepClone, calculateByteLength } from "../../../utils/utils.mjs";
|
|
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";
|
|
32
32
|
import SvgIcon from "../../common/base/SvgIcon.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, withDirectives, createElementVNode, toDisplayString, unref, createBlock, createCommentVNode, normalizeClass, Fragment, renderList, vShow, createVNode, withCtx, createTextVNode, createSlots, withModifiers
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, withDirectives, createElementVNode, toDisplayString, unref, createBlock, createCommentVNode, pushScopeId, popScopeId, normalizeClass, nextTick, Fragment, renderList, vShow, createVNode, withCtx, createTextVNode, createSlots, withModifiers } 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";
|
|
@@ -8,6 +8,7 @@ import "mitt";
|
|
|
8
8
|
import "../../services/manager/roomActionManager.mjs";
|
|
9
9
|
import "@tencentcloud/tui-core";
|
|
10
10
|
import { isMobile } from "../../utils/environment.mjs";
|
|
11
|
+
import { convertSecondsToHMS, getUrlWithRoomId } from "../../utils/utils.mjs";
|
|
11
12
|
import useRoomInfo from "../RoomHeader/RoomInfo/useRoomInfoHooks.mjs";
|
|
12
13
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
13
14
|
import Dialog from "../common/base/Dialog/index.vue.mjs";
|
|
@@ -20,7 +21,6 @@ import WarningIcon from "../common/icons/WarningIcon.vue.mjs";
|
|
|
20
21
|
import TuiButton from "../common/base/Button.vue.mjs";
|
|
21
22
|
import vClickOutside from "../../directives/vClickOutside.mjs";
|
|
22
23
|
import ScheduleConferencePanel from "./ScheduleConferencePanel/index.vue.mjs";
|
|
23
|
-
import { convertSecondsToHMS, getUrlWithRoomId } from "../../utils/utils.mjs";
|
|
24
24
|
import { useBasicStore } from "../../stores/basic.mjs";
|
|
25
25
|
import { storeToRefs } from "pinia";
|
|
26
26
|
import ConferenceDetail from "./ConferenceDetail.vue.mjs";
|
|
@@ -8,12 +8,12 @@ import "mitt";
|
|
|
8
8
|
import "../../services/manager/roomActionManager.mjs";
|
|
9
9
|
import "@tencentcloud/tui-core";
|
|
10
10
|
import { isMobile } from "../../utils/environment.mjs";
|
|
11
|
+
import { objectMerge } from "../../utils/utils.mjs";
|
|
11
12
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
12
13
|
import CalendarIcon from "../common/icons/CalendarIcon.vue.mjs";
|
|
13
14
|
import ApplyStageLabelIcon from "../common/icons/ApplyStageLabelIcon.vue.mjs";
|
|
14
15
|
import ScheduleRoomControl from "./ScheduleRoomControl.vue.mjs";
|
|
15
16
|
import LoadingScheduleIcon from "../common/icons/LoadingScheduleIcon.vue.mjs";
|
|
16
|
-
import { objectMerge } from "../../utils/utils.mjs";
|
|
17
17
|
const _hoisted_1 = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "schedule-loading"
|
|
@@ -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, createElementBlock, Fragment, renderList, toDisplayString, createVNode, createTextVNode } 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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, watch, openBlock, createBlock,
|
|
1
|
+
import { defineComponent, computed, watch, openBlock, createBlock, isRef, unref, withCtx, createElementBlock, Fragment, renderList } from "vue";
|
|
2
2
|
import { useI18n } from "../../locales/index.mjs";
|
|
3
3
|
import TuiSelect from "./base/Select/index.vue.mjs";
|
|
4
4
|
import TuiOption from "./base/Option/index.vue.mjs";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, unref, createVNode,
|
|
1
|
+
import { defineComponent, computed, watch, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString, unref, createVNode, pushScopeId, popScopeId, createCommentVNode, isRef } from "vue";
|
|
2
2
|
import DeviceSelect from "./DeviceSelect.vue.mjs";
|
|
3
3
|
import VideoProfile from "./VideoProfile.vue.mjs";
|
|
4
4
|
import TuiSwitch from "./base/TuiSwitch.vue.mjs";
|
|
5
5
|
import { useBasicStore } from "../../stores/basic.mjs";
|
|
6
6
|
import { useI18n } from "../../locales/index.mjs";
|
|
7
7
|
import useGetRoomEngine from "../../hooks/useRoomEngine.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { TRTCVideoFillMode, TRTCVideoRotation, TRTCVideoMirrorType } from "@tencentcloud/tuiroom-engine-electron";
|
|
9
9
|
import { isMobile, isElectron } from "../../utils/environment.mjs";
|
|
10
10
|
import { storeToRefs } from "pinia";
|
|
11
11
|
const _withScopeId = (n) => (pushScopeId("data-v-5fa040b6"), n = n(), popScopeId(), n);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, renderSlot, createCommentVNode } from "vue";
|
|
2
2
|
const _hoisted_1 = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "button-icon"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createBlock, Teleport, createElementVNode,
|
|
1
|
+
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createBlock, Teleport, createElementVNode, normalizeStyle, normalizeClass, createVNode, toDisplayString, renderSlot, createCommentVNode, withCtx } from "vue";
|
|
2
2
|
import SvgIcon from "../SvgIcon.vue.mjs";
|
|
3
3
|
import CloseIcon from "../../icons/CloseIcon.vue.mjs";
|
|
4
4
|
import { addSuffix } from "../../../../utils/utils.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, computed, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode,
|
|
1
|
+
import { defineComponent, useSlots, computed, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, withKeys, normalizeStyle, withModifiers, renderSlot, createCommentVNode, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
const _hoisted_1 = ["value", "placeholder", "disabled", "maxlength", "type", "enterkeyhint", "readonly"];
|
|
3
3
|
const _hoisted_2 = {
|
|
4
4
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode,
|
|
1
|
+
import { defineComponent, computed, ref, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeStyle, normalizeClass, createVNode, toDisplayString, vShow } from "vue";
|
|
2
2
|
import SvgIcon from "../SvgIcon.vue.mjs";
|
|
3
3
|
import success from "./images/success.vue.mjs";
|
|
4
4
|
import error from "./images/error.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, watch, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeClass, normalizeStyle, unref, toDisplayString, createVNode, createElementBlock, createTextVNode, createCommentVNode, vShow } from "vue";
|
|
2
2
|
import TuiButton from "../Button.vue.mjs";
|
|
3
3
|
import SvgIcon from "../SvgIcon.vue.mjs";
|
|
4
4
|
import CloseIcon from "../../icons/CloseIcon.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, normalizeClass, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import { addSuffix } from "../../../utils/utils.mjs";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "SvgIcon",
|
package/es/constants/room.mjs
CHANGED
|
@@ -5,9 +5,7 @@ var IconButtonLayout = /* @__PURE__ */ ((IconButtonLayout2) => {
|
|
|
5
5
|
return IconButtonLayout2;
|
|
6
6
|
})(IconButtonLayout || {});
|
|
7
7
|
({
|
|
8
|
-
videoResolution: TRTCVideoResolution.TRTCVideoResolution_640_360
|
|
9
|
-
videoFps: 15,
|
|
10
|
-
videoBitrate: 800
|
|
8
|
+
videoResolution: TRTCVideoResolution.TRTCVideoResolution_640_360
|
|
11
9
|
});
|
|
12
10
|
var USERS_STATUS = /* @__PURE__ */ ((USERS_STATUS2) => {
|
|
13
11
|
USERS_STATUS2[USERS_STATUS2["Entered"] = 1] = "Entered";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watchEffect, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, unref, toDisplayString, Fragment, renderList, createCommentVNode
|
|
1
|
+
import { defineComponent, ref, watchEffect, computed, openBlock, createElementBlock, normalizeClass, createElementVNode, pushScopeId, popScopeId, unref, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
|
|
2
2
|
import { RoomState, chatExtension } from "../chatExtension.mjs";
|
|
3
3
|
import { HandleRoomMessage } from "./handleRoomMessage.mjs";
|
|
4
4
|
import { useI18n } from "../../locales/index.mjs";
|
|
@@ -2,9 +2,9 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import { TUICore, TUIConstants, TUILogin } from "@tencentcloud/tui-core";
|
|
5
|
-
import TUIRoomEngine__default, {
|
|
5
|
+
import TUIRoomEngine__default, { TUIRole, TUIErrorCode, TUIRoomEvents } from "@tencentcloud/tuiroom-engine-electron";
|
|
6
6
|
import "../services/main.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { roomService, roomEngine } from "../services/roomService.mjs";
|
|
8
8
|
import { EventType } from "../services/types.mjs";
|
|
9
9
|
import "../locales/index.mjs";
|
|
10
10
|
import "mitt";
|
|
@@ -397,10 +397,7 @@ const _ChatExtension = class _ChatExtension {
|
|
|
397
397
|
}
|
|
398
398
|
this.message = message;
|
|
399
399
|
this.messagePayload = this.parseMessageData(message);
|
|
400
|
-
const roomParam = {
|
|
401
|
-
isOpenCamera: true,
|
|
402
|
-
isOpenMicrophone: true
|
|
403
|
-
};
|
|
400
|
+
const roomParam = {};
|
|
404
401
|
this.roomInit();
|
|
405
402
|
try {
|
|
406
403
|
await ((_c = this.service) == null ? void 0 : _c.join(roomId, { roomParam }));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import TUIRoomEngine__default, {
|
|
1
|
+
import TUIRoomEngine__default, { TUIMediaDeviceType, TUIRoomDeviceMangerEvents, TUIMediaDeviceState } from "@tencentcloud/tuiroom-engine-electron";
|
|
2
2
|
import useGetRoomEngine from "./useRoomEngine.mjs";
|
|
3
3
|
import { useRoomStore } from "../stores/room.mjs";
|
|
4
4
|
import logger from "../utils/common/logger/index.mjs";
|