@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,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./AISubtitles.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const AISubtitlesOverlay = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const AISubtitlesOverlay = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cacf47e3"]]);
|
|
5
5
|
export {
|
|
6
6
|
AISubtitlesOverlay as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onUnmounted, openBlock, createElementBlock, Fragment, renderList, toDisplayString, createCommentVNode } from "vue";
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, onUnmounted, openBlock, createElementBlock, Fragment, renderList, toDisplayString, unref, createCommentVNode } from "vue";
|
|
2
2
|
import "../../services/main.mjs";
|
|
3
3
|
import { roomService } from "../../services/roomService.mjs";
|
|
4
4
|
import "../../locales/index.mjs";
|
|
@@ -6,6 +6,7 @@ import "@tencentcloud/tuiroom-engine-electron";
|
|
|
6
6
|
import "mitt";
|
|
7
7
|
import "../../services/manager/roomActionManager.mjs";
|
|
8
8
|
import "@tencentcloud/tui-core";
|
|
9
|
+
import { MetricsKey } from "../../services/manager/dataReportManager.mjs";
|
|
9
10
|
import { AI_TASK } from "../../services/function/aiTask.mjs";
|
|
10
11
|
const _hoisted_1 = {
|
|
11
12
|
key: 0,
|
|
@@ -14,32 +15,30 @@ const _hoisted_1 = {
|
|
|
14
15
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
16
|
__name: "AISubtitles",
|
|
16
17
|
setup(__props) {
|
|
17
|
-
const
|
|
18
|
-
const subtitleLines = computed(
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
clearTimeout(subtitleTimeout);
|
|
25
|
-
}
|
|
26
|
-
subtitleTimeout = setTimeout(() => {
|
|
27
|
-
rawSubtitleText.value = "";
|
|
28
|
-
}, 3e3);
|
|
29
|
-
};
|
|
18
|
+
const subtitleMessages = ref({});
|
|
19
|
+
const subtitleLines = computed(() => {
|
|
20
|
+
const arr = Object.keys(subtitleMessages.value).map((userId) => {
|
|
21
|
+
return subtitleMessages.value[userId];
|
|
22
|
+
});
|
|
23
|
+
return arr.sort((a, b) => a.startMsTs - b.startMsTs);
|
|
24
|
+
});
|
|
30
25
|
const handleAISubtitles = (data) => {
|
|
31
26
|
if (!data) return;
|
|
32
|
-
|
|
33
|
-
resetSubtitleTimeout();
|
|
27
|
+
subtitleMessages.value = Object.assign({}, data.subtitleMessages);
|
|
34
28
|
};
|
|
35
|
-
|
|
29
|
+
onMounted(() => {
|
|
30
|
+
roomService.dataReportManager.reportCount(MetricsKey.aiTask);
|
|
31
|
+
roomService.aiTask.on(AI_TASK.TRANSCRIPTION_TASK, handleAISubtitles);
|
|
32
|
+
});
|
|
36
33
|
onUnmounted(() => {
|
|
37
34
|
roomService.aiTask.off(AI_TASK.TRANSCRIPTION_TASK, handleAISubtitles);
|
|
38
35
|
});
|
|
39
36
|
return (_ctx, _cache) => {
|
|
40
37
|
return subtitleLines.value.length ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
41
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(subtitleLines.value, (line
|
|
42
|
-
return openBlock(), createElementBlock("div", {
|
|
38
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(subtitleLines.value, (line) => {
|
|
39
|
+
return openBlock(), createElementBlock("div", {
|
|
40
|
+
key: line.sender
|
|
41
|
+
}, toDisplayString(`${unref(roomService).roomStore.getDisplayName(line.sender)}: ${line == null ? void 0 : line.text}`), 1);
|
|
43
42
|
}), 128))
|
|
44
43
|
])) : createCommentVNode("", true);
|
|
45
44
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./AITranscription.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const AITranscription = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const AITranscription = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-35b9944f"]]);
|
|
5
5
|
export {
|
|
6
6
|
AITranscription as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, nextTick, computed, openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString } from "vue";
|
|
1
|
+
import { defineComponent, ref, onMounted, nextTick, computed, watch, onUnmounted, openBlock, createElementBlock, Fragment, renderList, createElementVNode, toDisplayString, unref } from "vue";
|
|
2
2
|
import "../../services/main.mjs";
|
|
3
3
|
import { roomService } from "../../services/roomService.mjs";
|
|
4
4
|
import "../../locales/index.mjs";
|
|
@@ -6,108 +6,97 @@ import "@tencentcloud/tuiroom-engine-electron";
|
|
|
6
6
|
import "mitt";
|
|
7
7
|
import "../../services/manager/roomActionManager.mjs";
|
|
8
8
|
import "@tencentcloud/tui-core";
|
|
9
|
+
import { MetricsKey } from "../../services/manager/dataReportManager.mjs";
|
|
9
10
|
import { AI_TASK } from "../../services/function/aiTask.mjs";
|
|
11
|
+
import { formatTimestampToTime } from "../../utils/utils.mjs";
|
|
10
12
|
const _hoisted_1 = { class: "title" };
|
|
11
13
|
const _hoisted_2 = { class: "speaker" };
|
|
12
14
|
const _hoisted_3 = { class: "timestamp" };
|
|
13
|
-
const
|
|
15
|
+
const timeInterval = 60 * 1e3;
|
|
14
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
15
17
|
__name: "AITranscription",
|
|
16
18
|
setup(__props) {
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
const
|
|
19
|
+
const conversationContainerRef = ref();
|
|
20
|
+
const isUserScrolling = ref(false);
|
|
21
|
+
const rawTranscribedMessageList = ref(
|
|
22
|
+
roomService.aiTask.transcribedMessageList
|
|
23
|
+
);
|
|
24
|
+
onMounted(() => {
|
|
25
|
+
scrollToBottom();
|
|
26
|
+
});
|
|
20
27
|
const scrollToBottom = async () => {
|
|
21
|
-
if (
|
|
28
|
+
if (conversationContainerRef.value && !isUserScrolling.value) {
|
|
22
29
|
await nextTick();
|
|
23
|
-
|
|
30
|
+
conversationContainerRef.value.scrollTop = conversationContainerRef.value.scrollHeight;
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
const handleScroll = () => {
|
|
34
|
+
if (conversationContainerRef.value) {
|
|
35
|
+
const isAtBottom = conversationContainerRef.value.scrollTop + conversationContainerRef.value.clientHeight >= conversationContainerRef.value.scrollHeight - 5;
|
|
36
|
+
if (isAtBottom) {
|
|
37
|
+
isUserScrolling.value = false;
|
|
38
|
+
scrollToBottom();
|
|
39
|
+
} else {
|
|
40
|
+
isUserScrolling.value = true;
|
|
41
|
+
}
|
|
24
42
|
}
|
|
25
43
|
};
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
let
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
44
|
+
const transcribedMessageList = computed(() => {
|
|
45
|
+
const aggregatedMessageList = [];
|
|
46
|
+
let currentAggregatedMessage = null;
|
|
47
|
+
for (const message of rawTranscribedMessageList.value) {
|
|
48
|
+
if (!currentAggregatedMessage || message.sender !== currentAggregatedMessage.sender || message.startMsTs - currentAggregatedMessage.startMsTs > timeInterval) {
|
|
49
|
+
currentAggregatedMessage = {
|
|
50
|
+
messages: [message],
|
|
51
|
+
sender: message.sender,
|
|
52
|
+
startMsTs: message.startMsTs
|
|
53
|
+
};
|
|
54
|
+
aggregatedMessageList.push(currentAggregatedMessage);
|
|
36
55
|
} else {
|
|
37
|
-
|
|
38
|
-
result.push({
|
|
39
|
-
timestamp: currentTimestamp,
|
|
40
|
-
speaker: currentSpeaker,
|
|
41
|
-
messages: currentMessages
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
currentSpeaker = item.speaker;
|
|
45
|
-
currentTimestamp = timestampMinute;
|
|
46
|
-
currentMessages = [item.content];
|
|
56
|
+
currentAggregatedMessage.messages.push(message);
|
|
47
57
|
}
|
|
48
|
-
});
|
|
49
|
-
if (currentSpeaker !== null) {
|
|
50
|
-
result.push({
|
|
51
|
-
timestamp: currentTimestamp,
|
|
52
|
-
speaker: currentSpeaker,
|
|
53
|
-
messages: currentMessages
|
|
54
|
-
});
|
|
55
58
|
}
|
|
56
|
-
return
|
|
59
|
+
return aggregatedMessageList;
|
|
57
60
|
});
|
|
58
|
-
|
|
61
|
+
watch(rawTranscribedMessageList, () => {
|
|
62
|
+
scrollToBottom();
|
|
63
|
+
});
|
|
64
|
+
const handleAITranscriptionTask = async (data) => {
|
|
59
65
|
if (!data) return;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
66
|
+
rawTranscribedMessageList.value = [...data.transcribedMessageList];
|
|
67
|
+
};
|
|
68
|
+
onMounted(() => {
|
|
69
|
+
roomService.dataReportManager.reportCount(MetricsKey.aiTask);
|
|
70
|
+
roomService.aiTask.on(AI_TASK.TRANSCRIPTION_TASK, handleAITranscriptionTask);
|
|
71
|
+
});
|
|
72
|
+
onUnmounted(() => {
|
|
73
|
+
roomService.aiTask.off(AI_TASK.TRANSCRIPTION_TASK, handleAITranscriptionTask);
|
|
63
74
|
});
|
|
64
|
-
function processConversation(data) {
|
|
65
|
-
const pattern = /(\d{2}:\d{2}:\d{2}->\d{2}:\d{2}:\d{2})\s+([\u4e00-\u9fa5\w]+):\s*(.*)/;
|
|
66
|
-
const conversations2 = [];
|
|
67
|
-
const lines = data.split("\n");
|
|
68
|
-
lines.forEach((line) => {
|
|
69
|
-
const match = pattern.exec(line);
|
|
70
|
-
if (match) {
|
|
71
|
-
const timestamp = match[1];
|
|
72
|
-
const speaker = match[2];
|
|
73
|
-
const content = match[3];
|
|
74
|
-
conversations2.push({
|
|
75
|
-
timestamp,
|
|
76
|
-
speaker,
|
|
77
|
-
content
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
conversations2.sort((a, b) => {
|
|
82
|
-
const timeA = a.timestamp.split("->")[0];
|
|
83
|
-
const timeB = b.timestamp.split("->")[0];
|
|
84
|
-
return timeA.localeCompare(timeB);
|
|
85
|
-
});
|
|
86
|
-
return conversations2;
|
|
87
|
-
}
|
|
88
75
|
return (_ctx, _cache) => {
|
|
89
76
|
return openBlock(), createElementBlock("div", {
|
|
90
77
|
class: "conversation",
|
|
91
|
-
ref_key: "
|
|
92
|
-
ref:
|
|
78
|
+
ref_key: "conversationContainerRef",
|
|
79
|
+
ref: conversationContainerRef,
|
|
80
|
+
onScroll: handleScroll
|
|
93
81
|
}, [
|
|
94
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
82
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(transcribedMessageList.value, (group) => {
|
|
95
83
|
return openBlock(), createElementBlock("div", {
|
|
96
|
-
key:
|
|
97
|
-
class: "conversation-
|
|
84
|
+
key: group.startMsTs,
|
|
85
|
+
class: "conversation-group"
|
|
98
86
|
}, [
|
|
99
87
|
createElementVNode("div", _hoisted_1, [
|
|
100
|
-
createElementVNode("span", _hoisted_2, toDisplayString(
|
|
101
|
-
createElementVNode("span", _hoisted_3, toDisplayString(
|
|
88
|
+
createElementVNode("span", _hoisted_2, toDisplayString(unref(roomService).roomStore.getDisplayName(group.sender)), 1),
|
|
89
|
+
createElementVNode("span", _hoisted_3, toDisplayString(unref(formatTimestampToTime)(group.startMsTs)), 1)
|
|
102
90
|
]),
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
91
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(group.messages, (message, messageIndex) => {
|
|
92
|
+
return openBlock(), createElementBlock("div", {
|
|
93
|
+
key: messageIndex,
|
|
94
|
+
class: "content"
|
|
95
|
+
}, toDisplayString(message.text), 1);
|
|
96
|
+
}), 128))
|
|
108
97
|
]);
|
|
109
98
|
}), 128))
|
|
110
|
-
],
|
|
99
|
+
], 544);
|
|
111
100
|
};
|
|
112
101
|
}
|
|
113
102
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withDirectives, createElementVNode,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withDirectives, createElementVNode, withKeys, isRef, vModelText } from "vue";
|
|
2
2
|
import emoji from "../EditorTools/index.vue.mjs";
|
|
3
3
|
import useChatEditor from "./useChatEditor.mjs";
|
|
4
4
|
const _hoisted_1 = ["disabled", "placeholder"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, createVNode, createCommentVNode, createElementVNode, toDisplayString,
|
|
1
|
+
import { defineComponent, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, unref, createVNode, createCommentVNode, createElementVNode, toDisplayString, pushScopeId, popScopeId, Fragment, renderList, withModifiers } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import { TUIStore, StoreName, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import { TUIConstants } from "@tencentcloud/tui-core";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _a, _b;
|
|
2
|
-
import Emoji from "./locales/zh_cn.mjs";
|
|
3
|
-
import Emoji
|
|
2
|
+
import Emoji$1 from "./locales/zh_cn.mjs";
|
|
3
|
+
import Emoji from "./locales/en.mjs";
|
|
4
4
|
import { EMOJI_TYPE } from "../../../constant.mjs";
|
|
5
5
|
const DEFAULT_BASIC_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/emoji-plugin/";
|
|
6
6
|
const DEFAULT_BIG_EMOJI_URL = "https://web.sdk.qcloud.com/im/assets/face-elem/";
|
|
@@ -144,10 +144,10 @@ const BIG_EMOJI_GROUP_LIST = [
|
|
|
144
144
|
];
|
|
145
145
|
const BASIC_EMOJI_NAME_TO_KEY_MAPPING = {
|
|
146
146
|
...Object.fromEntries(
|
|
147
|
-
(_a = Object.entries(Emoji)) == null ? void 0 : _a.map(([key, val]) => [val, key])
|
|
147
|
+
(_a = Object.entries(Emoji$1)) == null ? void 0 : _a.map(([key, val]) => [val, key])
|
|
148
148
|
),
|
|
149
149
|
...Object.fromEntries(
|
|
150
|
-
(_b = Object.entries(Emoji
|
|
150
|
+
(_b = Object.entries(Emoji)) == null ? void 0 : _b.map(([key, val]) => [val, key])
|
|
151
151
|
)
|
|
152
152
|
};
|
|
153
153
|
export {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
2
2
|
import { CUSTOM_BIG_EMOJI_GROUP_LIST } from "./custom-emoji.mjs";
|
|
3
3
|
import { CUSTOM_BIG_EMOJI_URL } from "./custom-emoji.mjs";
|
|
4
|
-
import {
|
|
4
|
+
import { DEFAULT_BASIC_EMOJI_URL_MAPPING, DEFAULT_BASIC_EMOJI_URL, BIG_EMOJI_GROUP_LIST, BASIC_EMOJI_NAME_TO_KEY_MAPPING } from "./default-emoji.mjs";
|
|
5
5
|
import { DEFAULT_BIG_EMOJI_URL } from "./default-emoji.mjs";
|
|
6
6
|
import Emoji from "./locales/zh_cn.mjs";
|
|
7
7
|
import { EMOJI_TYPE } from "../../../constant.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUnmounted, computed, openBlock, createElementBlock, createElementVNode, normalizeClass, unref, renderSlot, createCommentVNode, createVNode, toDisplayString, createBlock, Fragment } from "vue";
|
|
2
2
|
import "../../adapter-vue.mjs";
|
|
3
|
-
import TUIChatEngine, { TUIStore, StoreName,
|
|
3
|
+
import TUIChatEngine, { TUIStore, StoreName, TUIConversationService, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import TUICore, { TUIConstants } from "@tencentcloud/tui-core";
|
|
5
5
|
import ChatHeader from "./chat-header/index.vue.mjs";
|
|
6
6
|
import MessageList from "./message-list/index.vue.mjs";
|
|
@@ -3,7 +3,7 @@ import "../../../../adapter-vue.mjs";
|
|
|
3
3
|
import TUIChatEngine, { TUIStore, StoreName, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import Icon from "../../../common/Icon.vue.mjs";
|
|
5
5
|
import closeIcon from "../../../../assets/icon/icon-close.svg.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { isH5, isUniFrameWork } from "../../../../utils/env.mjs";
|
|
7
7
|
import { transformTextWithKeysToEmojiNames } from "../../emoji-config/index.mjs";
|
|
8
8
|
const _hoisted_1 = { class: "input-quote-content" };
|
|
9
9
|
const _hoisted_2 = { class: "max-one-line" };
|
|
@@ -7,7 +7,7 @@ import faceIconDark from "../../../../assets/icon/face-dark.svg.mjs";
|
|
|
7
7
|
import { EMOJI_TYPE } from "../../../../constant.mjs";
|
|
8
8
|
import { isPC, isUniFrameWork } from "../../../../utils/env.mjs";
|
|
9
9
|
import { isEnabledMessageReadReceiptGlobal } from "../../utils/utils.mjs";
|
|
10
|
-
import { EMOJI_GROUP_LIST,
|
|
10
|
+
import { EMOJI_GROUP_LIST, convertKeyToEmojiName, BASIC_EMOJI_URL_MAPPING } from "../../emoji-config/index.mjs";
|
|
11
11
|
import ChatConfig from "../../config.mjs";
|
|
12
12
|
const _hoisted_1 = ["onClick"];
|
|
13
13
|
const _hoisted_2 = ["src"];
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, openBlock, createBlock, unref, withCtx,
|
|
|
2
2
|
import TUIChatEngine, { TUIStore, StoreName, TUIChatService } from "@tencentcloud/chat-uikit-engine";
|
|
3
3
|
import { TUIGlobal } from "@tencentcloud/universal-api";
|
|
4
4
|
import "../../../../adapter-vue.mjs";
|
|
5
|
-
import { isUniFrameWork,
|
|
5
|
+
import { isUniFrameWork, isWeChat, isPC } from "../../../../utils/env.mjs";
|
|
6
6
|
import ToolbarItemContainer from "../toolbar-item-container/index.vue.mjs";
|
|
7
7
|
import imageIconLight from "../../../../assets/icon/image-light.svg.mjs";
|
|
8
8
|
import imageIconDark from "../../../../assets/icon/image-dark.svg.mjs";
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, openBlock, createBlock, unref, withCtx, createEle
|
|
|
2
2
|
import TUIChatEngine, { TUIStore, StoreName, TUIChatService } from "@tencentcloud/chat-uikit-engine";
|
|
3
3
|
import { TUIGlobal } from "@tencentcloud/universal-api";
|
|
4
4
|
import "../../../../adapter-vue.mjs";
|
|
5
|
-
import { isUniFrameWork,
|
|
5
|
+
import { isUniFrameWork, isWeChat, isPC } from "../../../../utils/env.mjs";
|
|
6
6
|
import ToolbarItemContainer from "../toolbar-item-container/index.vue.mjs";
|
|
7
7
|
import videoIconLight from "../../../../assets/icon/video-light.svg.mjs";
|
|
8
8
|
import videoIconDark from "../../../../assets/icon/video-dark.svg.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, onMounted,
|
|
1
|
+
import { defineComponent, ref, computed, onMounted, nextTick, onUnmounted, watch, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, toDisplayString, createCommentVNode, createBlock, Fragment, renderList, createVNode, withModifiers, withCtx } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import TUIChatEngine, { TUIStore, StoreName, TUIChatService, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import TUICore, { TUIConstants } from "@tencentcloud/tui-core";
|
|
5
|
-
import {
|
|
5
|
+
import { getScrollInfo, getBoundingClientRect, outsideClick } from "@tencentcloud/universal-api";
|
|
6
6
|
import Link from "./link/index.mjs";
|
|
7
7
|
import MessageGroupApplication from "./message-group-application/index.vue.mjs";
|
|
8
8
|
import MessageText from "./message-elements/message-text.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, onMounted, onUnmounted, watchEffect, openBlock, createElementBlock, normalizeClass, unref,
|
|
1
|
+
import { defineComponent, ref, onMounted, onUnmounted, watchEffect, openBlock, createElementBlock, withModifiers, normalizeClass, unref, createElementVNode, createVNode, normalizeStyle, toDisplayString } from "vue";
|
|
2
2
|
import "../../../../adapter-vue.mjs";
|
|
3
3
|
import Icon from "../../../common/Icon.vue.mjs";
|
|
4
4
|
import audioIcon from "../../../../assets/icon/msg-audio.svg.mjs";
|
|
@@ -4,7 +4,7 @@ import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
|
4
4
|
import Overlay from "../../../../common/Overlay/index.vue.mjs";
|
|
5
5
|
import Drawer from "../../../../common/Drawer/index.vue.mjs";
|
|
6
6
|
import SimpleMessageList from "../simple-message-list/index.vue.mjs";
|
|
7
|
-
import { isPC, isH5
|
|
7
|
+
import { isUniFrameWork, isPC, isH5 } from "../../../../../utils/env.mjs";
|
|
8
8
|
import { transformTextWithKeysToEmojiNames } from "../../../emoji-config/index.mjs";
|
|
9
9
|
const _hoisted_1 = { class: "record-title" };
|
|
10
10
|
const _hoisted_2 = { class: "record-abstract-container" };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createCommentVNode, createVNode, withCtx, createBlock, Fragment, renderList
|
|
1
|
+
import { defineComponent, ref, watch, onMounted, onUnmounted, openBlock, createElementBlock, unref, createElementVNode, toDisplayString, createCommentVNode, createVNode, withCtx, normalizeClass, createBlock, Fragment, renderList } from "vue";
|
|
2
2
|
import "../../../../adapter-vue.mjs";
|
|
3
|
-
import { TUIUserService, TUIStore, StoreName, TUITranslateService
|
|
3
|
+
import { TUIGroupService, TUIUserService, TUIStore, StoreName, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import Icon from "../../../common/Icon.vue.mjs";
|
|
5
5
|
import Avatar from "../../../common/Avatar/index.vue.mjs";
|
|
6
6
|
import Drawer from "../../../common/Drawer/index.vue.mjs";
|
|
@@ -3,7 +3,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
import TUIChatEngine, { TUITranslateService, TUIStore, StoreName } from "@tencentcloud/chat-uikit-engine";
|
|
5
5
|
import { transformTextWithKeysToEmojiNames } from "../emoji-config/index.mjs";
|
|
6
|
-
import {
|
|
6
|
+
import { callOfflinePushInfo, chatOfflinePushInfo } from "./info.mjs";
|
|
7
7
|
import { PUSH_SCENE, DEFAULT_DESC } from "./const.mjs";
|
|
8
8
|
const _OfflinePushInfoManager = class _OfflinePushInfoManager {
|
|
9
9
|
constructor() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import TUIChatEngine, { TUIStore, StoreName,
|
|
1
|
+
import TUIChatEngine, { TUIChatService, TUIStore, StoreName, TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
2
2
|
import { Toast } from "../../common/Toast/index.mjs";
|
|
3
3
|
import { isEnabledMessageReadReceiptGlobal } from "./utils.mjs";
|
|
4
4
|
import { enableSampleTaskStatus } from "../../../utils/enableSampleTaskStatus.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, watch, nextTick, openBlock, createElementBlock, unref, normalizeClass, createElementVNode, withModifiers, normalizeStyle, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import { outsideClick } from "@tencentcloud/universal-api";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watchEffect, unref, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, watchEffect, unref, openBlock, createElementBlock, withModifiers, normalizeClass, createElementVNode, toDisplayString, createCommentVNode, renderSlot } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import { isPC, isUniFrameWork, isH5 } from "../../../utils/env.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, openBlock, createBlock, withCtx, unref, createElementBlock,
|
|
1
|
+
import { defineComponent, ref, watch, openBlock, createBlock, withCtx, unref, createElementBlock, normalizeStyle, normalizeClass, createElementVNode, renderSlot, createCommentVNode } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import Overlay from "../Overlay/index.vue.mjs";
|
|
4
4
|
const _hoisted_1 = { class: "drawer-container" };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, computed, openBlock, createElementBlock, normalizeStyle, unref, normalizeClass } from "vue";
|
|
2
2
|
import "../../adapter-vue.mjs";
|
|
3
3
|
import { isPC, isApp } from "../../utils/env.mjs";
|
|
4
4
|
const _hoisted_1 = ["src"];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, unref, openBlock, createElementBlock, normalizeStyle,
|
|
1
|
+
import { defineComponent, ref, watch, unref, openBlock, createElementBlock, normalizeStyle, withModifiers, normalizeClass, createCommentVNode, createElementVNode, renderSlot } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
4
4
|
__name: "index",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createVNode, render
|
|
1
|
+
import { vueVersion, createVNode, render } from "../../../adapter-vue.mjs";
|
|
2
2
|
import { TUIGlobal } from "@tencentcloud/universal-api";
|
|
3
3
|
import MessageConstructor from "./index.vue.mjs";
|
|
4
4
|
const instances = [];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, computed, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode,
|
|
1
|
+
import { defineComponent, ref, watch, computed, onMounted, openBlock, createBlock, Transition, withCtx, withDirectives, createElementVNode, normalizeStyle, unref, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, vShow } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import { isH5 } from "../../../utils/env.mjs";
|
|
4
4
|
import TOAST_TYPE from "./type.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watchEffect, computed, openBlock, createElementBlock, normalizeClass, unref, createVNode, createCommentVNode, createElementVNode, toDisplayString, withKeys, createBlock, Fragment, renderList, renderSlot
|
|
1
|
+
import { defineComponent, ref, watchEffect, computed, openBlock, createElementBlock, normalizeClass, unref, createVNode, createCommentVNode, createElementVNode, toDisplayString, pushScopeId, popScopeId, withKeys, createBlock, Fragment, renderList, renderSlot } from "vue";
|
|
2
2
|
import "../../../adapter-vue.mjs";
|
|
3
3
|
import { TUITranslateService } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import Icon from "../Icon.vue.mjs";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import messages$
|
|
2
|
-
import messages$
|
|
1
|
+
import messages$2 from "./en/index.mjs";
|
|
2
|
+
import messages$1 from "./zh_cn/index.mjs";
|
|
3
3
|
const messages = {
|
|
4
|
-
...messages$
|
|
5
|
-
...messages$
|
|
4
|
+
...messages$2,
|
|
5
|
+
...messages$1
|
|
6
6
|
};
|
|
7
7
|
export {
|
|
8
8
|
messages as default
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, openBlock, createBlock, unref, withCtx,
|
|
1
|
+
import { defineComponent, computed, openBlock, createBlock, unref, withCtx, createCommentVNode, createVNode } from "vue";
|
|
2
2
|
import "../../adapter-vue.mjs";
|
|
3
3
|
import TUIChatEngine, { TUIStore } from "@tencentcloud/chat-uikit-engine";
|
|
4
4
|
import { isCallMessage, isRoomCardMessage } from "./index.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 MemberControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MemberControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7b4cb2fa"]]);
|
|
5
5
|
export {
|
|
6
6
|
MemberControl as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, computed, ref, watch, openBlock, createElementBlock,
|
|
1
|
+
import { defineComponent, computed, ref, watch, openBlock, createElementBlock, createBlock, withCtx, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, createVNode, nextTick, unref, normalizeClass, withDirectives, Fragment, renderList, vShow, isRef } from "vue";
|
|
2
2
|
import { useI18n } from "../../../locales/index.mjs";
|
|
3
3
|
import TuiButton from "../../common/base/Button.vue.mjs";
|
|
4
4
|
import Dialog from "../../common/base/Dialog/index.vue.mjs";
|
|
@@ -29,9 +29,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
29
29
|
tempUserName
|
|
30
30
|
} = useMemberControl(props);
|
|
31
31
|
const { isCanOperateMySelf } = useMemberItem(props.userInfo);
|
|
32
|
-
const singleControl = computed(() =>
|
|
32
|
+
const singleControl = computed(() => {
|
|
33
|
+
return isCanOperateMySelf.value ? null : controlList.value[0];
|
|
34
|
+
});
|
|
33
35
|
const moreControlList = computed(() => {
|
|
34
|
-
return isCanOperateMySelf ? controlList.value : controlList.value.slice(1);
|
|
36
|
+
return isCanOperateMySelf.value ? controlList.value : controlList.value.slice(1);
|
|
35
37
|
});
|
|
36
38
|
const dropdownClass = ref("down");
|
|
37
39
|
const moreBtnRef = ref();
|
|
@@ -80,7 +82,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
80
82
|
}
|
|
81
83
|
return (_ctx, _cache) => {
|
|
82
84
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
83
|
-
|
|
85
|
+
singleControl.value ? (openBlock(), createBlock(TuiButton, {
|
|
84
86
|
key: 0,
|
|
85
87
|
class: "button",
|
|
86
88
|
size: "default",
|
|
@@ -4,7 +4,7 @@ import { useRoomStore } from "../../../stores/room.mjs";
|
|
|
4
4
|
import useGetRoomEngine from "../../../hooks/useRoomEngine.mjs";
|
|
5
5
|
import { useBasicStore } from "../../../stores/basic.mjs";
|
|
6
6
|
import useMasterApplyControl from "../../../hooks/useMasterApplyControl.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { TUIMediaDevice, TUIRequestCallbackType, TUIErrorCode, TUIRole } from "@tencentcloud/tuiroom-engine-electron";
|
|
8
8
|
import AudioOpenIcon from "../../common/icons/AudioOpenIcon.vue.mjs";
|
|
9
9
|
import VideoOpenIcon from "../../common/icons/VideoOpenIcon.vue.mjs";
|
|
10
10
|
import ChatForbiddenIcon from "../../common/icons/ChatForbiddenIcon.vue.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./MemberInfo.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const MemberInfo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const MemberInfo = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8d1bfc30"]]);
|
|
5
5
|
export {
|
|
6
6
|
MemberInfo as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createElementVNode, createVNode, withDirectives,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createElementVNode, createVNode, withDirectives, unref, isRef, vModelText, Fragment, renderList, normalizeClass, toDisplayString, createCommentVNode, createBlock, withCtx, createTextVNode, vShow } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import MemberItem from "./MemberItem/index.vue.mjs";
|
|
4
4
|
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, nextTick, openBlock, createBlock, unref, withCtx,
|
|
1
|
+
import { defineComponent, ref, watch, nextTick, openBlock, createBlock, unref, withCtx, createVNode, createElementVNode, createTextVNode, toDisplayString } from "vue";
|
|
2
2
|
import { storeToRefs } from "pinia";
|
|
3
3
|
import "../../services/main.mjs";
|
|
4
4
|
import { roomService } from "../../services/roomService.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, openBlock, createElementBlock
|
|
1
|
+
import { defineComponent, ref, computed, watch, nextTick, onMounted, onBeforeUnmount, openBlock, createElementBlock } from "vue";
|
|
2
2
|
import { TUIVideoStreamType } from "@tencentcloud/tuiroom-engine-electron";
|
|
3
3
|
import { useRoomStore } from "../../../../stores/room.mjs";
|
|
4
4
|
import { roomService } from "../../../../services/roomService.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createElementBlock, createVNode, unref, isRef, withCtx,
|
|
1
|
+
import { defineComponent, openBlock, createElementBlock, createVNode, unref, isRef, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createTextVNode } from "vue";
|
|
2
2
|
import ApplyStageLabelIcon from "../../../common/icons/ApplyStageLabelIcon.vue.mjs";
|
|
3
3
|
import useMasterApplyControl from "../../../../hooks/useMasterApplyControl.mjs";
|
|
4
4
|
import Avatar from "../../../common/Avatar.vue.mjs";
|
|
@@ -15,7 +15,7 @@ import { useI18n } from "../../../locales/index.mjs";
|
|
|
15
15
|
import { storeToRefs } from "pinia";
|
|
16
16
|
import useGetRoomEngine from "../../../hooks/useRoomEngine.mjs";
|
|
17
17
|
import logger from "../../../utils/common/logger/index.mjs";
|
|
18
|
-
import TUIRoomEngine__default, {
|
|
18
|
+
import TUIRoomEngine__default, { TUIErrorCode, TUIRole, TUIRoomEvents, TUIRequestAction, TUIRequestCallbackType } from "@tencentcloud/tuiroom-engine-electron";
|
|
19
19
|
import TuiButton from "../../common/base/Button.vue.mjs";
|
|
20
20
|
import { debounce } from "../../../utils/utils.mjs";
|
|
21
21
|
const _hoisted_1 = { class: "apply-control-container" };
|