@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
|
@@ -10,7 +10,7 @@ const index$1 = require("./message-group-application/index.vue.js");
|
|
|
10
10
|
const messageText = require("./message-elements/message-text.vue.js");
|
|
11
11
|
const messageImage = require("./message-elements/message-image.vue.js");
|
|
12
12
|
const messageAudio = require("./message-elements/message-audio.vue.js");
|
|
13
|
-
const index$
|
|
13
|
+
const index$5 = require("./message-elements/message-record/index.vue.js");
|
|
14
14
|
const messageFile = require("./message-elements/message-file.vue.js");
|
|
15
15
|
const messageFace = require("./message-elements/message-face.vue.js");
|
|
16
16
|
const messageCustom = require("./message-elements/message-custom.vue.js");
|
|
@@ -27,8 +27,8 @@ const index$a = require("./read-receipt-panel/index.vue.js");
|
|
|
27
27
|
const index$2 = require("../../../plugins/plugin-components/index.js");
|
|
28
28
|
const index$8 = require("../../common/Dialog/index.vue.js");
|
|
29
29
|
const index$9 = require("../../common/ImagePreviewer/index.vue.js");
|
|
30
|
-
const index$
|
|
31
|
-
const index$
|
|
30
|
+
const index$4 = require("../../common/ProgressMessage/index.vue.js");
|
|
31
|
+
const index$3 = require("../emoji-config/index.js");
|
|
32
32
|
const env = require("../../../utils/env.js");
|
|
33
33
|
const chatStorage = require("../utils/chatStorage.js");
|
|
34
34
|
const lodash = require("../../../utils/lodash.js");
|
|
@@ -577,7 +577,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
577
577
|
item.type === Vue.unref(TYPES).MSG_TEXT ? (Vue.openBlock(), Vue.createBlock(messageText.default, {
|
|
578
578
|
key: 0,
|
|
579
579
|
content: item.getMessageContent()
|
|
580
|
-
}, null, 8, ["content"])) : item.type === Vue.unref(TYPES).MSG_IMAGE ? (Vue.openBlock(), Vue.createBlock(index$
|
|
580
|
+
}, null, 8, ["content"])) : item.type === Vue.unref(TYPES).MSG_IMAGE ? (Vue.openBlock(), Vue.createBlock(index$4.default, {
|
|
581
581
|
key: 1,
|
|
582
582
|
content: item.getMessageContent(),
|
|
583
583
|
messageItem: item
|
|
@@ -590,7 +590,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
590
590
|
}, null, 8, ["content", "messageItem"])
|
|
591
591
|
]),
|
|
592
592
|
_: 2
|
|
593
|
-
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_VIDEO ? (Vue.openBlock(), Vue.createBlock(index$
|
|
593
|
+
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_VIDEO ? (Vue.openBlock(), Vue.createBlock(index$4.default, {
|
|
594
594
|
key: 2,
|
|
595
595
|
content: item.getMessageContent(),
|
|
596
596
|
messageItem: item
|
|
@@ -607,7 +607,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
607
607
|
content: item.getMessageContent(),
|
|
608
608
|
messageItem: item,
|
|
609
609
|
onSetAudioPlayed: setAudioPlayed
|
|
610
|
-
}, null, 8, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_FILE ? (Vue.openBlock(), Vue.createBlock(index$
|
|
610
|
+
}, null, 8, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_FILE ? (Vue.openBlock(), Vue.createBlock(index$4.default, {
|
|
611
611
|
key: 4,
|
|
612
612
|
content: item.getMessageContent(),
|
|
613
613
|
messageItem: item
|
|
@@ -619,7 +619,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
619
619
|
}, null, 8, ["content", "messageItem"])
|
|
620
620
|
]),
|
|
621
621
|
_: 2
|
|
622
|
-
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_MERGER ? (Vue.openBlock(), Vue.createBlock(index$
|
|
622
|
+
}, 1032, ["content", "messageItem"])) : item.type === Vue.unref(TYPES).MSG_MERGER ? (Vue.openBlock(), Vue.createBlock(index$5.default, {
|
|
623
623
|
key: 5,
|
|
624
624
|
renderData: item.payload,
|
|
625
625
|
messageItem: item
|
|
@@ -639,7 +639,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
639
639
|
Vue.unref(isShowEmojiPlugin) && item.reactionList.length > 0 ? (Vue.openBlock(), Vue.createBlock(_component_TUIEmojiPlugin, {
|
|
640
640
|
key: 0,
|
|
641
641
|
type: "reaction-detail",
|
|
642
|
-
emojiConfig: Vue.unref(index$
|
|
642
|
+
emojiConfig: Vue.unref(index$3.emojiConfig),
|
|
643
643
|
message: Vue.unref(utils.shallowCopyMessage)(item)
|
|
644
644
|
}, null, 8, ["emojiConfig", "message"])) : Vue.createCommentVNode("", true)
|
|
645
645
|
]),
|
|
@@ -5,9 +5,9 @@ require("../../../../../adapter-vue.js");
|
|
|
5
5
|
const TUIChatEngine = require("@tencentcloud/chat-uikit-engine");
|
|
6
6
|
const universalApi = require("@tencentcloud/universal-api");
|
|
7
7
|
const env = require("../../../../../utils/env.js");
|
|
8
|
-
const index
|
|
8
|
+
const index = require("../../../../common/Toast/index.js");
|
|
9
9
|
const _interface = require("./interface.js");
|
|
10
|
-
const index = require("../../../emoji-config/index.js");
|
|
10
|
+
const index$1 = require("../../../emoji-config/index.js");
|
|
11
11
|
const type = require("../../../../common/Toast/type.js");
|
|
12
12
|
const _hoisted_1 = {
|
|
13
13
|
key: 0,
|
|
@@ -127,7 +127,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
127
127
|
console.error(error);
|
|
128
128
|
}
|
|
129
129
|
} else {
|
|
130
|
-
index
|
|
130
|
+
index.Toast({
|
|
131
131
|
message: TUIChatEngine.TUITranslateService.t("TUIChat.无法定位到原消息"),
|
|
132
132
|
type: type.default.WARNING
|
|
133
133
|
});
|
|
@@ -142,7 +142,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
142
142
|
}),
|
|
143
143
|
onClick: scrollToOriginalMessage
|
|
144
144
|
}, [
|
|
145
|
-
Vue.unref(isMessageRevoked) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, Vue.toDisplayString(Vue.unref(TUIChatEngine.TUITranslateService).t("TUIChat.引用内容已撤回")), 1)) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, Vue.toDisplayString(Vue.unref(messageQuoteContent).messageSender) + ": " + Vue.toDisplayString(Vue.unref(index.transformTextWithKeysToEmojiNames)(Vue.unref(messageQuoteText))), 1))
|
|
145
|
+
Vue.unref(isMessageRevoked) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, Vue.toDisplayString(Vue.unref(TUIChatEngine.TUITranslateService).t("TUIChat.引用内容已撤回")), 1)) : (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, Vue.toDisplayString(Vue.unref(messageQuoteContent).messageSender) + ": " + Vue.toDisplayString(Vue.unref(index$1.transformTextWithKeysToEmojiNames)(Vue.unref(messageQuoteText))), 1))
|
|
146
146
|
], 2)) : Vue.createCommentVNode("", true);
|
|
147
147
|
};
|
|
148
148
|
}
|
package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.js
CHANGED
|
@@ -5,7 +5,7 @@ const TUIChatEngine = require("@tencentcloud/chat-uikit-engine");
|
|
|
5
5
|
const universalApi = require("@tencentcloud/universal-api");
|
|
6
6
|
require("../../../../adapter-vue.js");
|
|
7
7
|
const Icon = require("../../../common/Icon.vue.js");
|
|
8
|
-
const index = require("../../../common/Toast/index.js");
|
|
8
|
+
const index$1 = require("../../../common/Toast/index.js");
|
|
9
9
|
const msgDel = require("../../../../assets/icon/msg-del.svg.js");
|
|
10
10
|
const msgCopy = require("../../../../assets/icon/msg-copy.svg.js");
|
|
11
11
|
const msgQuote = require("../../../../assets/icon/msg-quote.svg.js");
|
|
@@ -15,7 +15,7 @@ const translate = require("../../../../assets/icon/translate.svg.js");
|
|
|
15
15
|
const multipleSelect = require("../../../../assets/icon/multiple-select.svg.js");
|
|
16
16
|
const convertText_zh = require("../../../../assets/icon/convertText_zh.svg.js");
|
|
17
17
|
const enableSampleTaskStatus = require("../../../../utils/enableSampleTaskStatus.js");
|
|
18
|
-
const index
|
|
18
|
+
const index = require("../../emoji-config/index.js");
|
|
19
19
|
const env = require("../../../../utils/env.js");
|
|
20
20
|
const config = require("../../config.js");
|
|
21
21
|
const copy = require("../../utils/copy.js");
|
|
@@ -182,7 +182,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
182
182
|
}).catch((error) => {
|
|
183
183
|
if (error.code === 20016) {
|
|
184
184
|
const message2 = TUIChatEngine.TUITranslateService.t("TUIChat.已过撤回时限");
|
|
185
|
-
index.Toast({
|
|
185
|
+
index$1.Toast({
|
|
186
186
|
message: message2,
|
|
187
187
|
type: type.default.ERROR
|
|
188
188
|
});
|
|
@@ -198,7 +198,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
198
198
|
var _a, _b, _c, _d, _e;
|
|
199
199
|
if (env.isUniFrameWork) {
|
|
200
200
|
(_c = universalApi.TUIGlobal) == null ? void 0 : _c.setClipboardData({
|
|
201
|
-
data: index
|
|
201
|
+
data: index.transformTextWithKeysToEmojiNames((_b = (_a = message.value) == null ? void 0 : _a.payload) == null ? void 0 : _b.text)
|
|
202
202
|
});
|
|
203
203
|
} else {
|
|
204
204
|
copy.default.copySelection((_e = (_d = message.value) == null ? void 0 : _d.payload) == null ? void 0 : _e.text);
|
|
@@ -221,34 +221,34 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
221
221
|
function translateMessage() {
|
|
222
222
|
const enable = TUIChatEngine.TUIStore.getData(TUIChatEngine.StoreName.APP, "enabledTranslationPlugin");
|
|
223
223
|
if (!enable) {
|
|
224
|
-
index.Toast({
|
|
224
|
+
index$1.Toast({
|
|
225
225
|
message: TUIChatEngine.TUITranslateService.t("TUIChat.请开通翻译功能"),
|
|
226
226
|
type: type.default.WARNING
|
|
227
227
|
});
|
|
228
228
|
return;
|
|
229
229
|
}
|
|
230
230
|
if (!message.value) return;
|
|
231
|
-
const
|
|
231
|
+
const index2 = actionItems.value.findIndex((item) => item.key === "translate");
|
|
232
232
|
TUIChatEngine.TUIStore.update(TUIChatEngine.StoreName.CHAT, "translateTextInfo", {
|
|
233
233
|
conversationID: message.value.conversationID,
|
|
234
234
|
messageID: message.value.ID,
|
|
235
|
-
visible: !actionItems.value[
|
|
235
|
+
visible: !actionItems.value[index2].visible
|
|
236
236
|
});
|
|
237
237
|
}
|
|
238
238
|
function convertVoiceToText() {
|
|
239
239
|
const enable = TUIChatEngine.TUIStore.getData(TUIChatEngine.StoreName.APP, "enabledVoiceToText");
|
|
240
240
|
if (!enable) {
|
|
241
|
-
index.Toast({
|
|
241
|
+
index$1.Toast({
|
|
242
242
|
message: TUIChatEngine.TUITranslateService.t("TUIChat.请开通语音转文字功能")
|
|
243
243
|
});
|
|
244
244
|
return;
|
|
245
245
|
}
|
|
246
246
|
if (!message.value) return;
|
|
247
|
-
const
|
|
247
|
+
const index2 = actionItems.value.findIndex((item) => item.key === "convert");
|
|
248
248
|
TUIChatEngine.TUIStore.update(TUIChatEngine.StoreName.CHAT, "voiceToTextInfo", {
|
|
249
249
|
conversationID: message.value.conversationID,
|
|
250
250
|
messageID: message.value.ID,
|
|
251
|
-
visible: !actionItems.value[
|
|
251
|
+
visible: !actionItems.value[index2].visible
|
|
252
252
|
});
|
|
253
253
|
}
|
|
254
254
|
function multipleSelectMessage() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const index = require("./en/index.js");
|
|
4
|
-
const index
|
|
3
|
+
const index$1 = require("./en/index.js");
|
|
4
|
+
const index = require("./zh_cn/index.js");
|
|
5
5
|
const messages = {
|
|
6
|
-
...index.default,
|
|
7
|
-
...index
|
|
6
|
+
...index$1.default,
|
|
7
|
+
...index.default
|
|
8
8
|
};
|
|
9
9
|
exports.default = messages;
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const MemberControl = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const MemberControl = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-7b4cb2fa"]]);
|
|
7
7
|
exports.default = MemberControl;
|
|
@@ -31,9 +31,11 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
31
31
|
tempUserName
|
|
32
32
|
} = useMemberControlHooks.default(props);
|
|
33
33
|
const { isCanOperateMySelf } = useMemberItemHooks.default(props.userInfo);
|
|
34
|
-
const singleControl = Vue.computed(() =>
|
|
34
|
+
const singleControl = Vue.computed(() => {
|
|
35
|
+
return isCanOperateMySelf.value ? null : controlList.value[0];
|
|
36
|
+
});
|
|
35
37
|
const moreControlList = Vue.computed(() => {
|
|
36
|
-
return isCanOperateMySelf ? controlList.value : controlList.value.slice(1);
|
|
38
|
+
return isCanOperateMySelf.value ? controlList.value : controlList.value.slice(1);
|
|
37
39
|
});
|
|
38
40
|
const dropdownClass = Vue.ref("down");
|
|
39
41
|
const moreBtnRef = Vue.ref();
|
|
@@ -82,7 +84,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
82
84
|
}
|
|
83
85
|
return (_ctx, _cache) => {
|
|
84
86
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
85
|
-
|
|
87
|
+
singleControl.value ? (Vue.openBlock(), Vue.createBlock(Button.default, {
|
|
86
88
|
key: 0,
|
|
87
89
|
class: "button",
|
|
88
90
|
size: "default",
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const MemberInfo_vue_vue_type_script_setup_true_lang = require("./MemberInfo.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const MemberInfo = /* @__PURE__ */ _pluginVue_exportHelper.default(MemberInfo_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const MemberInfo = /* @__PURE__ */ _pluginVue_exportHelper.default(MemberInfo_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-8d1bfc30"]]);
|
|
7
7
|
exports.default = MemberInfo;
|
|
@@ -5,9 +5,9 @@ const pinia = require("pinia");
|
|
|
5
5
|
const room = require("../../../stores/room.js");
|
|
6
6
|
const basic = require("../../../stores/basic.js");
|
|
7
7
|
const render = require("../../../constants/render.js");
|
|
8
|
-
const index = require("../StreamRegion/index.vue.js");
|
|
9
|
-
const index$
|
|
10
|
-
const index
|
|
8
|
+
const index$1 = require("../StreamRegion/index.vue.js");
|
|
9
|
+
const index$2 = require("../StreamList/index.vue.js");
|
|
10
|
+
const index = require("../../../utils/common/logger/index.js");
|
|
11
11
|
const ArrowStrokeTurnPageIcon = require("../../common/icons/ArrowStrokeTurnPageIcon.vue.js");
|
|
12
12
|
const ArrowStroke = require("../../common/ArrowStroke.vue.js");
|
|
13
13
|
const SvgIcon = require("../../common/base/SvgIcon.vue.js");
|
|
@@ -202,7 +202,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
202
202
|
if (userId !== basicStore.userId) {
|
|
203
203
|
roomStore.setHasOtherScreenShare(false);
|
|
204
204
|
}
|
|
205
|
-
index
|
|
205
|
+
index.default.debug(
|
|
206
206
|
`${logPrefix} onUserVideoStateChanged: stop`,
|
|
207
207
|
userId,
|
|
208
208
|
streamType
|
|
@@ -273,7 +273,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
273
273
|
ref: enlargedContainerRef,
|
|
274
274
|
class: "enlarged-stream-container"
|
|
275
275
|
}, [
|
|
276
|
-
enlargeStream.value ? (Vue.openBlock(), Vue.createBlock(index.default, {
|
|
276
|
+
enlargeStream.value ? (Vue.openBlock(), Vue.createBlock(index$1.default, {
|
|
277
277
|
key: 0,
|
|
278
278
|
streamInfo: enlargeStream.value,
|
|
279
279
|
aspectRatio: "16:9",
|
|
@@ -283,7 +283,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
283
283
|
], 512), [
|
|
284
284
|
[Vue.vShow, enlargeStream.value]
|
|
285
285
|
]),
|
|
286
|
-
Vue.createVNode(index$
|
|
286
|
+
Vue.createVNode(index$2.default, {
|
|
287
287
|
class: Vue.normalizeClass(["stream-list-container", `${showSideList.value ? "" : "hide-list"}`]),
|
|
288
288
|
streamInfoList: showStreamList.value,
|
|
289
289
|
horizontalCount: horizontalCount.value,
|
|
@@ -3,7 +3,7 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const Vue = require("vue");
|
|
4
4
|
const pinia = require("pinia");
|
|
5
5
|
const Message = require("../common/base/Message/Message.js");
|
|
6
|
-
const index$
|
|
6
|
+
const index$2 = require("../common/base/Dialog/index.vue.js");
|
|
7
7
|
const room = require("../../stores/room.js");
|
|
8
8
|
const message = require("../../constants/message.js");
|
|
9
9
|
const index = require("../../locales/index.js");
|
|
@@ -13,7 +13,7 @@ const environment = require("../../utils/environment.js");
|
|
|
13
13
|
const Button = require("../common/base/Button.vue.js");
|
|
14
14
|
const AudioMediaControl = require("../common/AudioMediaControl.vue.js");
|
|
15
15
|
const basic = require("../../stores/basic.js");
|
|
16
|
-
const index$
|
|
16
|
+
const index$1 = require("../common/base/MessageBox/index.js");
|
|
17
17
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
18
18
|
__name: "AudioControl",
|
|
19
19
|
emits: ["click"],
|
|
@@ -61,7 +61,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
61
61
|
const microphoneList = await ((_b = roomEngine.instance) == null ? void 0 : _b.getMicDevicesList());
|
|
62
62
|
const hasMicrophoneDevice = microphoneList.length > 0;
|
|
63
63
|
if (!hasMicrophoneDevice && !environment.isWeChat) {
|
|
64
|
-
index$
|
|
64
|
+
index$1.default({
|
|
65
65
|
title: t("Note"),
|
|
66
66
|
message: t("Microphone not detected on current device"),
|
|
67
67
|
confirmButtonText: t("Sure")
|
|
@@ -135,7 +135,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
135
135
|
"audio-volume": Vue.unref(userVolumeObj)[Vue.unref(localUser).userId],
|
|
136
136
|
onClick: handleAudioMediaClick
|
|
137
137
|
}, null, 8, ["has-more", "is-muted", "is-disabled", "audio-volume"]),
|
|
138
|
-
Vue.createVNode(index$
|
|
138
|
+
Vue.createVNode(index$2.default, {
|
|
139
139
|
modelValue: showRequestOpenMicDialog.value,
|
|
140
140
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showRequestOpenMicDialog.value = $event),
|
|
141
141
|
title: Vue.unref(t)("Tips"),
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const BasicBeauty_vue_vue_type_script_setup_true_lang = require("./BasicBeauty.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const BasicBeauty = /* @__PURE__ */ _pluginVue_exportHelper.default(BasicBeauty_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const BasicBeauty = /* @__PURE__ */ _pluginVue_exportHelper.default(BasicBeauty_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-2e9e258c"]]);
|
|
7
7
|
exports.default = BasicBeauty;
|
|
@@ -12,7 +12,9 @@ const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
|
12
12
|
require("mitt");
|
|
13
13
|
require("../../services/manager/roomActionManager.js");
|
|
14
14
|
require("@tencentcloud/tui-core");
|
|
15
|
+
const dataReportManager = require("../../services/manager/dataReportManager.js");
|
|
15
16
|
const environment = require("../../utils/environment.js");
|
|
17
|
+
const utils = require("../../utils/utils.js");
|
|
16
18
|
const index$1 = require("../common/base/Dialog/index.vue.js");
|
|
17
19
|
const Button = require("../common/base/Button.vue.js");
|
|
18
20
|
const Slider = require("../common/base/Slider.vue.js");
|
|
@@ -25,7 +27,6 @@ const CompareIcon = require("../common/icons/CompareIcon.vue.js");
|
|
|
25
27
|
const useRoomEngine = require("../../hooks/useRoomEngine.js");
|
|
26
28
|
const basic = require("../../stores/basic.js");
|
|
27
29
|
const room = require("../../constants/room.js");
|
|
28
|
-
const utils = require("../../utils/utils.js");
|
|
29
30
|
const _hoisted_1 = {
|
|
30
31
|
key: 0,
|
|
31
32
|
class: "basicBeauty-control-container"
|
|
@@ -116,6 +117,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
116
117
|
view: "test-preview"
|
|
117
118
|
}));
|
|
118
119
|
isLoading.value = false;
|
|
120
|
+
roomService.roomService.dataReportManager.reportCount(dataReportManager.MetricsKey.setBasicBeauty);
|
|
119
121
|
};
|
|
120
122
|
const closeBeautySettingPanel = async () => {
|
|
121
123
|
var _a;
|
|
@@ -14,6 +14,7 @@ require("@tencentcloud/tuiroom-engine-electron");
|
|
|
14
14
|
require("mitt");
|
|
15
15
|
require("../../services/manager/roomActionManager.js");
|
|
16
16
|
require("@tencentcloud/tui-core");
|
|
17
|
+
const dataReportManager = require("../../services/manager/dataReportManager.js");
|
|
17
18
|
require("../../utils/environment.js");
|
|
18
19
|
const _hoisted_1 = {
|
|
19
20
|
key: 0,
|
|
@@ -36,6 +37,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
36
37
|
basicStore.setSidebarOpenStatus(true);
|
|
37
38
|
basicStore.setSidebarName("chat");
|
|
38
39
|
chatStore.updateUnReadCount(0);
|
|
40
|
+
roomService.roomService.dataReportManager.reportCount(dataReportManager.MetricsKey.openChat);
|
|
39
41
|
}
|
|
40
42
|
return (_ctx, _cache) => {
|
|
41
43
|
return Vue.unref(chatControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
@@ -14,9 +14,9 @@ const useRoomEngine = require("../../../hooks/useRoomEngine.js");
|
|
|
14
14
|
const Message = require("../../common/base/Message/Message.js");
|
|
15
15
|
const message = require("../../../constants/message.js");
|
|
16
16
|
const useMitt = require("../../../hooks/useMitt.js");
|
|
17
|
-
const index$
|
|
17
|
+
const index$2 = require("../../common/base/Dialog/index.vue.js");
|
|
18
18
|
const Button = require("../../common/base/Button.vue.js");
|
|
19
|
-
const index$
|
|
19
|
+
const index$1 = require("../../../utils/common/logger/index.js");
|
|
20
20
|
const _hoisted_1 = { class: "screen-share-control-container" };
|
|
21
21
|
const logPrefix = "[ScreenShareControl]";
|
|
22
22
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
@@ -150,7 +150,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
150
150
|
isSharing.value = false;
|
|
151
151
|
isLocalUserSharing.value = false;
|
|
152
152
|
} catch (error) {
|
|
153
|
-
index$
|
|
153
|
+
index$1.default.error(`${logPrefix}stopScreenShare error:`, error);
|
|
154
154
|
}
|
|
155
155
|
}
|
|
156
156
|
}
|
|
@@ -200,7 +200,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
200
200
|
]),
|
|
201
201
|
_: 1
|
|
202
202
|
}, 8, ["is-active", "class", "title", "disabled"]),
|
|
203
|
-
Vue.createVNode(index$
|
|
203
|
+
Vue.createVNode(index$2.default, {
|
|
204
204
|
modelValue: showStopShareRegion.value,
|
|
205
205
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showStopShareRegion.value = $event),
|
|
206
206
|
width: "420px",
|
|
@@ -247,7 +247,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
247
247
|
onOnConfirm: onConfirmScreenShare,
|
|
248
248
|
onOnClose: _cache[2] || (_cache[2] = ($event) => selectDialogVisible.value = false)
|
|
249
249
|
}, null, 8, ["visible", "screen-list", "window-list"]),
|
|
250
|
-
Vue.createVNode(index$
|
|
250
|
+
Vue.createVNode(index$2.default, {
|
|
251
251
|
modelValue: showPermissionVisible.value,
|
|
252
252
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => showPermissionVisible.value = $event),
|
|
253
253
|
title: Vue.unref(t)("Grant permission to screen recording"),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
4
|
const pinia = require("pinia");
|
|
5
|
-
const index$
|
|
5
|
+
const index$2 = require("../common/base/Dialog/index.vue.js");
|
|
6
6
|
const VideoMediaControl = require("../common/VideoMediaControl.vue.js");
|
|
7
7
|
const room = require("../../stores/room.js");
|
|
8
8
|
const message = require("../../constants/message.js");
|
|
@@ -14,7 +14,7 @@ const environment = require("../../utils/environment.js");
|
|
|
14
14
|
const basic = require("../../stores/basic.js");
|
|
15
15
|
const Button = require("../common/base/Button.vue.js");
|
|
16
16
|
const Message = require("../common/base/Message/Message.js");
|
|
17
|
-
const index$
|
|
17
|
+
const index$1 = require("../common/base/MessageBox/index.js");
|
|
18
18
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
19
19
|
__name: "VideoControl",
|
|
20
20
|
emits: ["click"],
|
|
@@ -65,7 +65,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
65
65
|
}));
|
|
66
66
|
const hasCameraDevice = cameraList && cameraList.length > 0;
|
|
67
67
|
if (!hasCameraDevice && !environment.isWeChat) {
|
|
68
|
-
index$
|
|
68
|
+
index$1.default({
|
|
69
69
|
title: t("Note"),
|
|
70
70
|
message: t("Camera not detected on current device"),
|
|
71
71
|
confirmButtonText: t("Sure")
|
|
@@ -141,7 +141,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
141
141
|
"is-disabled": Vue.unref(isLocalVideoIconDisable),
|
|
142
142
|
onClick: handleVideoMediaClick
|
|
143
143
|
}, null, 8, ["has-more", "is-muted", "is-disabled"]),
|
|
144
|
-
Vue.createVNode(index$
|
|
144
|
+
Vue.createVNode(index$2.default, {
|
|
145
145
|
modelValue: showRequestOpenCameraDialog.value,
|
|
146
146
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showRequestOpenCameraDialog.value = $event),
|
|
147
147
|
title: Vue.unref(t)("Tips"),
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const UserInfo = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const UserInfo = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-b5154ce3"]]);
|
|
7
7
|
exports.default = UserInfo;
|
|
@@ -52,6 +52,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
52
52
|
} = useUserInfoHooks.default();
|
|
53
53
|
const props = __props;
|
|
54
54
|
async function saveUserName(userName) {
|
|
55
|
+
const { userId } = props;
|
|
55
56
|
if (userName.length === 0) {
|
|
56
57
|
Message.default({
|
|
57
58
|
type: "warning",
|
|
@@ -65,7 +66,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
65
66
|
avatarUrl: roomStore.localUser.avatarUrl || ""
|
|
66
67
|
});
|
|
67
68
|
basicStore.setUserName(userName);
|
|
68
|
-
roomStore.
|
|
69
|
+
roomStore.updateUserInfo({ userId, userName });
|
|
69
70
|
emits("update-user-name", userName);
|
|
70
71
|
closeUserNameEditor();
|
|
71
72
|
}
|
|
@@ -27,8 +27,8 @@ require("mitt");
|
|
|
27
27
|
require("../../../services/manager/roomActionManager.js");
|
|
28
28
|
require("@tencentcloud/tui-core");
|
|
29
29
|
require("../../../utils/environment.js");
|
|
30
|
-
const room = require("../../../constants/room.js");
|
|
31
30
|
const utils = require("../../../utils/utils.js");
|
|
31
|
+
const room = require("../../../constants/room.js");
|
|
32
32
|
const common = require("../../../utils/common.js");
|
|
33
33
|
const scheduleUtils = require("../scheduleUtils.js");
|
|
34
34
|
const SvgIcon = require("../../common/base/SvgIcon.vue.js");
|
|
@@ -10,6 +10,7 @@ require("mitt");
|
|
|
10
10
|
require("../../services/manager/roomActionManager.js");
|
|
11
11
|
require("@tencentcloud/tui-core");
|
|
12
12
|
const environment = require("../../utils/environment.js");
|
|
13
|
+
const utils = require("../../utils/utils.js");
|
|
13
14
|
const useRoomInfoHooks = require("../RoomHeader/RoomInfo/useRoomInfoHooks.js");
|
|
14
15
|
const SvgIcon = require("../common/base/SvgIcon.vue.js");
|
|
15
16
|
const index$3 = require("../common/base/Dialog/index.vue.js");
|
|
@@ -22,7 +23,6 @@ const WarningIcon = require("../common/icons/WarningIcon.vue.js");
|
|
|
22
23
|
const Button = require("../common/base/Button.vue.js");
|
|
23
24
|
const vClickOutside = require("../../directives/vClickOutside.js");
|
|
24
25
|
const index$2 = require("./ScheduleConferencePanel/index.vue.js");
|
|
25
|
-
const utils = require("../../utils/utils.js");
|
|
26
26
|
const basic = require("../../stores/basic.js");
|
|
27
27
|
const pinia = require("pinia");
|
|
28
28
|
const ConferenceDetail = require("./ConferenceDetail.vue.js");
|
|
@@ -10,12 +10,12 @@ require("mitt");
|
|
|
10
10
|
require("../../services/manager/roomActionManager.js");
|
|
11
11
|
require("@tencentcloud/tui-core");
|
|
12
12
|
const environment = require("../../utils/environment.js");
|
|
13
|
+
const utils = require("../../utils/utils.js");
|
|
13
14
|
const SvgIcon = require("../common/base/SvgIcon.vue.js");
|
|
14
15
|
const CalendarIcon = require("../common/icons/CalendarIcon.vue.js");
|
|
15
16
|
const ApplyStageLabelIcon = require("../common/icons/ApplyStageLabelIcon.vue.js");
|
|
16
17
|
const ScheduleRoomControl = require("./ScheduleRoomControl.vue.js");
|
|
17
18
|
const LoadingScheduleIcon = require("../common/icons/LoadingScheduleIcon.vue.js");
|
|
18
|
-
const utils = require("../../utils/utils.js");
|
|
19
19
|
const _hoisted_1 = {
|
|
20
20
|
key: 0,
|
|
21
21
|
class: "schedule-loading"
|
package/lib/conference.vue2.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const Vue = require("vue");
|
|
4
|
-
const index = require("./components/RoomHeader/index/index.vue.js");
|
|
5
|
-
const index$
|
|
4
|
+
const index$1 = require("./components/RoomHeader/index/index.vue.js");
|
|
5
|
+
const index$3 = require("./components/RoomFooter/index/index.vue.js");
|
|
6
6
|
const index_vue_vue_type_script_setup_true_lang = require("./components/RoomSidebar/index.vue.js");
|
|
7
|
-
const index$
|
|
8
|
-
const index$
|
|
7
|
+
const index$2 = require("./components/RoomContent/index.vue.js");
|
|
8
|
+
const index$4 = require("./components/RoomSetting/index.vue.js");
|
|
9
9
|
const LoadingOverlay = require("./components/PreRoom/LoadingOverlay.vue.js");
|
|
10
10
|
const PasswordDialog = require("./components/PreRoom/PasswordDialog.vue.js");
|
|
11
11
|
const AISubtitles = require("./components/AITools/AISubtitles.vue.js");
|
|
12
|
-
const index$
|
|
12
|
+
const index$5 = require("./components/RoomInvite/index.vue.js");
|
|
13
13
|
const utils = require("./utils/utils.js");
|
|
14
14
|
const basic = require("./stores/basic.js");
|
|
15
15
|
const environment = require("./utils/environment.js");
|
|
16
16
|
const vTap = require("./directives/vTap.js");
|
|
17
17
|
const TUIRoomEngine = require("@tencentcloud/tuiroom-engine-electron");
|
|
18
|
-
const index
|
|
18
|
+
const index = require("./components/common/base/MessageBox/index.js");
|
|
19
19
|
const Message = require("./components/common/base/Message/Message.js");
|
|
20
20
|
require("./services/main.js");
|
|
21
21
|
const roomService = require("./services/roomService.js");
|
|
@@ -74,7 +74,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
74
74
|
callback = () => {
|
|
75
75
|
}
|
|
76
76
|
} = data;
|
|
77
|
-
index
|
|
77
|
+
index.default({
|
|
78
78
|
title,
|
|
79
79
|
message,
|
|
80
80
|
duration,
|
|
@@ -255,13 +255,13 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
255
255
|
ref: roomRef,
|
|
256
256
|
class: Vue.normalizeClass(tuiRoomClass.value)
|
|
257
257
|
}, [
|
|
258
|
-
Vue.withDirectives(Vue.createVNode(index.default, {
|
|
258
|
+
Vue.withDirectives(Vue.createVNode(index$1.default, {
|
|
259
259
|
class: "header",
|
|
260
260
|
onLogOut: logOut
|
|
261
261
|
}, null, 512), [
|
|
262
262
|
[Vue.vShow, showRoomTool.value && Vue.unref(showHeaderTool)]
|
|
263
263
|
]),
|
|
264
|
-
Vue.withDirectives(Vue.createVNode(index$
|
|
264
|
+
Vue.withDirectives(Vue.createVNode(index$2.default, {
|
|
265
265
|
ref_key: "roomContentRef",
|
|
266
266
|
ref: roomContentRef,
|
|
267
267
|
"show-room-tool": showRoomTool.value,
|
|
@@ -274,16 +274,16 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
274
274
|
{ lazy: true }
|
|
275
275
|
]
|
|
276
276
|
]),
|
|
277
|
-
Vue.withDirectives(Vue.createVNode(index$
|
|
277
|
+
Vue.withDirectives(Vue.createVNode(index$3.default, {
|
|
278
278
|
class: "footer",
|
|
279
279
|
onShowOverlay: handleShowOverlay
|
|
280
280
|
}, null, 512), [
|
|
281
281
|
[Vue.vShow, showRoomTool.value]
|
|
282
282
|
]),
|
|
283
283
|
Vue.createVNode(index_vue_vue_type_script_setup_true_lang.default),
|
|
284
|
-
Vue.createVNode(index$
|
|
284
|
+
Vue.createVNode(index$4.default),
|
|
285
285
|
overlayMap.value.AISubtitlesOverlay.visible ? (Vue.openBlock(), Vue.createBlock(AISubtitles.default, { key: 0 })) : Vue.createCommentVNode("", true),
|
|
286
|
-
overlayMap.value.RoomInviteOverlay.visible ? (Vue.openBlock(), Vue.createBlock(index$
|
|
286
|
+
overlayMap.value.RoomInviteOverlay.visible ? (Vue.openBlock(), Vue.createBlock(index$5.default, { key: 1 })) : Vue.createCommentVNode("", true),
|
|
287
287
|
isShowLoading.value ? (Vue.openBlock(), Vue.createBlock(LoadingOverlay.default, { key: 2 })) : Vue.createCommentVNode("", true),
|
|
288
288
|
Vue.createVNode(PasswordDialog.default, {
|
|
289
289
|
visible: isShowPasswordContainer.value,
|
package/lib/constants/room.js
CHANGED
|
@@ -7,9 +7,7 @@ var IconButtonLayout = /* @__PURE__ */ ((IconButtonLayout2) => {
|
|
|
7
7
|
return IconButtonLayout2;
|
|
8
8
|
})(IconButtonLayout || {});
|
|
9
9
|
({
|
|
10
|
-
videoResolution: TUIRoomEngine.TRTCVideoResolution.TRTCVideoResolution_640_360
|
|
11
|
-
videoFps: 15,
|
|
12
|
-
videoBitrate: 800
|
|
10
|
+
videoResolution: TUIRoomEngine.TRTCVideoResolution.TRTCVideoResolution_640_360
|
|
13
11
|
});
|
|
14
12
|
var USERS_STATUS = /* @__PURE__ */ ((USERS_STATUS2) => {
|
|
15
13
|
USERS_STATUS2[USERS_STATUS2["Entered"] = 1] = "Entered";
|
|
@@ -398,10 +398,7 @@ const _ChatExtension = class _ChatExtension {
|
|
|
398
398
|
}
|
|
399
399
|
this.message = message;
|
|
400
400
|
this.messagePayload = this.parseMessageData(message);
|
|
401
|
-
const roomParam = {
|
|
402
|
-
isOpenCamera: true,
|
|
403
|
-
isOpenMicrophone: true
|
|
404
|
-
};
|
|
401
|
+
const roomParam = {};
|
|
405
402
|
this.roomInit();
|
|
406
403
|
try {
|
|
407
404
|
await ((_c = this.service) == null ? void 0 : _c.join(roomId, { roomParam }));
|