@tencentcloud/roomkit-electron-vue3 2.7.1 → 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.
Files changed (101) hide show
  1. package/es/components/AITools/AISubtitles.vue.mjs +1 -1
  2. package/es/components/AITools/AISubtitles.vue2.mjs +1 -1
  3. package/es/components/AITools/AITranscription.vue.mjs +1 -1
  4. package/es/components/AITools/AITranscription.vue2.mjs +1 -1
  5. package/es/components/Chat/ChatEditor/index.vue2.mjs +1 -1
  6. package/es/components/Chat/ChatKit/components/TUIChat/chat-header/index.vue2.mjs +1 -1
  7. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/default-emoji.mjs +4 -4
  8. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/index.mjs +1 -1
  9. package/es/components/Chat/ChatKit/components/TUIChat/index.vue2.mjs +1 -1
  10. package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-quote/index.vue2.mjs +1 -1
  11. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue2.mjs +1 -1
  12. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/image-upload/index.vue2.mjs +1 -1
  13. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/video-upload/index.vue2.mjs +1 -1
  14. package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.mjs +2 -2
  15. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-audio.vue2.mjs +1 -1
  16. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-record/index.vue2.mjs +1 -1
  17. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-group-application/index.vue2.mjs +2 -2
  18. package/es/components/Chat/ChatKit/components/TUIChat/offlinePushInfoManager/offlinePushInfoManager.mjs +1 -1
  19. package/es/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.mjs +1 -1
  20. package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +1 -1
  21. package/es/components/Chat/ChatKit/components/common/Dialog/index.vue2.mjs +1 -1
  22. package/es/components/Chat/ChatKit/components/common/Drawer/index.vue2.mjs +1 -1
  23. package/es/components/Chat/ChatKit/components/common/Icon.vue2.mjs +1 -1
  24. package/es/components/Chat/ChatKit/components/common/Overlay/index.vue2.mjs +1 -1
  25. package/es/components/Chat/ChatKit/components/common/Toast/index.mjs +1 -1
  26. package/es/components/Chat/ChatKit/components/common/Toast/index.vue2.mjs +1 -1
  27. package/es/components/Chat/ChatKit/components/common/Transfer/index.vue2.mjs +1 -1
  28. package/es/components/Chat/ChatKit/locales/index.mjs +4 -4
  29. package/es/components/Chat/ChatKit/plugins/plugin-components/message-plugin.vue2.mjs +1 -1
  30. package/es/components/ManageMember/MemberControl/index.vue2.mjs +1 -1
  31. package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +1 -1
  32. package/es/components/ManageMember/index.vue2.mjs +1 -1
  33. package/es/components/PreRoom/PasswordDialog.vue2.mjs +1 -1
  34. package/es/components/RoomContent/StreamRegion/StreamPlay/index.vue2.mjs +1 -1
  35. package/es/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.mjs +1 -1
  36. package/es/components/RoomFooter/ApplyControl/MemberApplyControl.vue2.mjs +1 -1
  37. package/es/components/RoomFooter/AudioControl.vue2.mjs +1 -1
  38. package/es/components/RoomFooter/BasicBeauty.vue2.mjs +2 -2
  39. package/es/components/RoomFooter/EndControl/index.vue2.mjs +1 -1
  40. package/es/components/RoomFooter/ScreenShareControl/Index.vue2.mjs +1 -1
  41. package/es/components/RoomFooter/ScreenShareControl/ScreenWindowSelectDialog.vue2.mjs +1 -1
  42. package/es/components/RoomFooter/VideoControl.vue2.mjs +2 -2
  43. package/es/components/RoomFooter/VirtualBackground.vue2.mjs +1 -1
  44. package/es/components/RoomFooter/WhiteboardControl.vue.mjs +1 -1
  45. package/es/components/RoomHeader/UserInfo/index.vue.mjs +1 -1
  46. package/es/components/RoomHeader/UserInfo/index.vue2.mjs +2 -1
  47. package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +1 -1
  48. package/es/components/RoomHome/RoomControl/index.vue2.mjs +2 -2
  49. package/es/components/RoomInvite/InvitationNotification.vue2.mjs +1 -1
  50. package/es/components/RoomInvite/index.vue2.mjs +1 -1
  51. package/es/components/RoomSetting/index.vue2.mjs +1 -1
  52. package/es/components/ScheduleConference/Contacts.vue2.mjs +1 -1
  53. package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue2.mjs +1 -1
  54. package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +1 -1
  55. package/es/components/ScheduleConference/ShareLink.vue2.mjs +1 -1
  56. package/es/components/common/VideoProfile.vue2.mjs +1 -1
  57. package/es/components/common/VideoSettingTab.vue2.mjs +2 -2
  58. package/es/components/common/base/Button.vue2.mjs +1 -1
  59. package/es/components/common/base/Dialog/index.vue2.mjs +1 -1
  60. package/es/components/common/base/Input/index.vue2.mjs +1 -1
  61. package/es/components/common/base/Message/Message.vue2.mjs +1 -1
  62. package/es/components/common/base/MessageBox/index.vue2.mjs +1 -1
  63. package/es/components/common/base/SvgIcon.vue2.mjs +1 -1
  64. package/es/constants/room.mjs +1 -3
  65. package/es/extension/RoomMessageCard/RoomMessageCard.vue2.mjs +1 -1
  66. package/es/extension/chatExtension.mjs +3 -6
  67. package/es/hooks/useDeviceManager.mjs +1 -1
  68. package/es/index.mjs +22 -22
  69. package/es/services/manager/MediaManager.mjs +1 -1
  70. package/es/services/manager/roomActionManager.mjs +1 -1
  71. package/es/services/roomService.mjs +1 -1
  72. package/es/stores/basic.mjs +1 -1
  73. package/es/stores/room.mjs +1 -4
  74. package/es/utils/common/logger/index.mjs +1 -1
  75. package/lib/components/AITools/AISubtitles.vue.js +1 -1
  76. package/lib/components/AITools/AISubtitles.vue2.js +1 -1
  77. package/lib/components/AITools/AITranscription.vue.js +1 -1
  78. package/lib/components/AITools/AITranscription.vue2.js +1 -1
  79. package/lib/components/Chat/ChatKit/components/TUIChat/message-input/index.vue2.js +6 -6
  80. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.js +8 -8
  81. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-quote/index.vue2.js +4 -4
  82. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.js +10 -10
  83. package/lib/components/Chat/ChatKit/locales/index.js +4 -4
  84. package/lib/components/RoomContent/StreamContainer/index.vue2.js +6 -6
  85. package/lib/components/RoomFooter/AudioControl.vue2.js +4 -4
  86. package/lib/components/RoomFooter/ScreenShareControl/Index.vue2.js +5 -5
  87. package/lib/components/RoomFooter/VideoControl.vue2.js +4 -4
  88. package/lib/components/RoomHeader/UserInfo/index.vue.js +1 -1
  89. package/lib/components/RoomHeader/UserInfo/index.vue2.js +2 -1
  90. package/lib/conference.vue2.js +12 -12
  91. package/lib/constants/room.js +1 -3
  92. package/lib/extension/chatExtension.js +1 -4
  93. package/lib/hooks/useMasterApplyControl.js +9 -9
  94. package/lib/index.js +22 -22
  95. package/lib/preConference.vue2.js +7 -7
  96. package/lib/stores/room.js +0 -3
  97. package/package.json +2 -2
  98. package/src/TUIRoom/components/AITools/AISubtitles.vue +1 -1
  99. package/src/TUIRoom/components/AITools/AITranscription.vue +1 -1
  100. package/src/TUIRoom/components/RoomHeader/UserInfo/index.vue +2 -5
  101. package/src/TUIRoom/stores/room.ts +0 -3
@@ -1,4 +1,4 @@
1
- import { defineComponent, useSlots, computed, ref, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, withKeys, withModifiers, renderSlot, createCommentVNode, Fragment, renderList, createTextVNode, toDisplayString } from "vue";
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, normalizeClass, normalizeStyle, createVNode, toDisplayString, vShow } from "vue";
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, normalizeStyle, normalizeClass, unref, toDisplayString, createVNode, createElementBlock, createTextVNode, createCommentVNode, vShow } from "vue";
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, normalizeClass, normalizeStyle, createBlock, resolveDynamicComponent, createCommentVNode, renderSlot } from "vue";
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",
@@ -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, pushScopeId, popScopeId } from "vue";
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, { TUIRoomEvents, TUIRole, TUIErrorCode } from "@tencentcloud/tuiroom-engine-electron";
5
+ import TUIRoomEngine__default, { TUIRole, TUIErrorCode, TUIRoomEvents } from "@tencentcloud/tuiroom-engine-electron";
6
6
  import "../services/main.mjs";
7
- import { roomEngine, roomService } from "../services/roomService.mjs";
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, { TUIRoomDeviceMangerEvents, TUIMediaDeviceType, TUIMediaDeviceState } from "@tencentcloud/tuiroom-engine-electron";
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";
package/es/index.mjs CHANGED
@@ -440,29 +440,29 @@ input[data-v-ea50ea46]:disabled {
440
440
  .tui-theme-black .t-message.t-message-info[data-v-ca40f412] {
441
441
  color: #DCE7FA;
442
442
  background-color: #4A506B;
443
- }.tui-theme-white .user-control-container[data-v-be17229c] {
443
+ }.tui-theme-white .user-control-container[data-v-b5154ce3] {
444
444
  --filter-color: drop-shadow(0px 0px 4px rgba(32, 77, 141, 0.03))
445
445
  drop-shadow(0px 4px 10px rgba(32, 77, 141, 0.06))
446
446
  drop-shadow(0px 1px 14px rgba(32, 77, 141, 0.05));
447
447
  }
448
- .tui-theme-black .user-control-container[data-v-be17229c] {
448
+ .tui-theme-black .user-control-container[data-v-b5154ce3] {
449
449
  --filter-color: drop-shadow(0px 8px 40px rgba(23, 25, 31, 0.6))
450
450
  drop-shadow(0px 4px 12px rgba(23, 25, 31, 0.4));
451
451
  }
452
- .user-info-container[data-v-be17229c] {
452
+ .user-info-container[data-v-b5154ce3] {
453
453
  position: relative;
454
454
  }
455
- .user-info-container .user-info-content[data-v-be17229c] {
455
+ .user-info-container .user-info-content[data-v-b5154ce3] {
456
456
  display: flex;
457
457
  align-items: center;
458
458
  cursor: pointer;
459
459
  }
460
- .user-info-container .user-info-content .avatar[data-v-be17229c] {
460
+ .user-info-container .user-info-content .avatar[data-v-b5154ce3] {
461
461
  width: 28px;
462
462
  height: 28px;
463
463
  border-radius: 50%;
464
464
  }
465
- .user-info-container .user-info-content .name[data-v-be17229c] {
465
+ .user-info-container .user-info-content .name[data-v-b5154ce3] {
466
466
  max-width: 100px;
467
467
  margin-left: 10px;
468
468
  overflow: hidden;
@@ -471,14 +471,14 @@ input[data-v-ea50ea46]:disabled {
471
471
  text-overflow: ellipsis;
472
472
  white-space: nowrap;
473
473
  }
474
- .user-info-container .user-info-content .down-icon[data-v-be17229c] {
474
+ .user-info-container .user-info-content .down-icon[data-v-b5154ce3] {
475
475
  margin-left: 4px;
476
476
  }
477
- .user-info-container .user-info-content .up-icon[data-v-be17229c] {
477
+ .user-info-container .user-info-content .up-icon[data-v-b5154ce3] {
478
478
  margin-left: 4px;
479
479
  transform: rotate(180deg);
480
480
  }
481
- .user-info-container .user-control-container[data-v-be17229c] {
481
+ .user-info-container .user-control-container[data-v-b5154ce3] {
482
482
  position: absolute;
483
483
  top: calc(100% + 15px);
484
484
  right: 0;
@@ -488,7 +488,7 @@ input[data-v-ea50ea46]:disabled {
488
488
  filter: var(--filter-color);
489
489
  border-radius: 8px;
490
490
  }
491
- .user-info-container .user-control-container[data-v-be17229c]::before {
491
+ .user-info-container .user-control-container[data-v-b5154ce3]::before {
492
492
  position: absolute;
493
493
  top: -20px;
494
494
  right: 20px;
@@ -499,7 +499,7 @@ input[data-v-ea50ea46]:disabled {
499
499
  border-bottom: 10px solid #fff;
500
500
  border-left: 10px solid transparent;
501
501
  }
502
- .user-info-container .user-control-container[data-v-be17229c]::after {
502
+ .user-info-container .user-control-container[data-v-b5154ce3]::after {
503
503
  position: absolute;
504
504
  top: -20px;
505
505
  left: 0;
@@ -508,25 +508,25 @@ input[data-v-ea50ea46]:disabled {
508
508
  content: "";
509
509
  background-color: transparent;
510
510
  }
511
- .user-info-container .user-control-container .user-control-item-foot[data-v-be17229c],
512
- .user-info-container .user-control-container .user-control-item-head[data-v-be17229c] {
511
+ .user-info-container .user-control-container .user-control-item-foot[data-v-b5154ce3],
512
+ .user-info-container .user-control-container .user-control-item-head[data-v-b5154ce3] {
513
513
  height: 20px;
514
514
  font-size: 14px;
515
515
  color: #4f586b;
516
516
  text-align: center;
517
517
  cursor: pointer;
518
518
  }
519
- .edit-content[data-v-be17229c] {
519
+ .edit-content[data-v-b5154ce3] {
520
520
  display: flex;
521
521
  align-items: center;
522
522
  width: 100%;
523
523
  }
524
- .edit-content .edit-name-input[data-v-be17229c] {
524
+ .edit-content .edit-name-input[data-v-b5154ce3] {
525
525
  flex-grow: 1;
526
526
  width: auto;
527
527
  margin-left: 16px;
528
528
  }
529
- .button[data-v-be17229c] {
529
+ .button[data-v-b5154ce3] {
530
530
  margin-left: 12px;
531
531
  }.tui-theme-black .icon-button-container[data-v-796846eb] {
532
532
  --icon-button-hover: rgba(46, 50, 61, 0.7);
@@ -7733,15 +7733,15 @@ input[data-v-1927e971]:focus, input[data-v-1927e971]:active, textarea[data-v-192
7733
7733
  flex-direction: column;
7734
7734
  height: 100%;
7735
7735
  padding: 20px;
7736
- }.conversation[data-v-631b02ec] {
7736
+ }.conversation[data-v-35b9944f] {
7737
7737
  height: 100%;
7738
7738
  padding: 20px;
7739
7739
  overflow-y: auto;
7740
7740
  }
7741
- .conversation-group[data-v-631b02ec] {
7741
+ .conversation-group[data-v-35b9944f] {
7742
7742
  margin-bottom: 20px;
7743
7743
  }
7744
- .title[data-v-631b02ec] {
7744
+ .title[data-v-35b9944f] {
7745
7745
  display: flex;
7746
7746
  gap: 10px;
7747
7747
  align-items: center;
@@ -7751,13 +7751,13 @@ input[data-v-1927e971]:focus, input[data-v-1927e971]:active, textarea[data-v-192
7751
7751
  color: var(--font-color-4);
7752
7752
  text-align: left;
7753
7753
  }
7754
- .title .speaker[data-v-631b02ec] {
7754
+ .title .speaker[data-v-35b9944f] {
7755
7755
  max-width: 150px;
7756
7756
  overflow: hidden;
7757
7757
  text-overflow: ellipsis;
7758
7758
  white-space: nowrap;
7759
7759
  }
7760
- .content[data-v-631b02ec] {
7760
+ .content[data-v-35b9944f] {
7761
7761
  padding: 8px;
7762
7762
  margin-top: 5px;
7763
7763
  font-size: 14px;
@@ -8509,7 +8509,7 @@ input[data-v-1927e971]:focus, input[data-v-1927e971]:active, textarea[data-v-192
8509
8509
  }
8510
8510
  .button[data-v-6cdda61e] {
8511
8511
  margin-left: 12px;
8512
- }.ai-subtitles[data-v-c187363f] {
8512
+ }.ai-subtitles[data-v-cacf47e3] {
8513
8513
  position: absolute;
8514
8514
  bottom: 80px;
8515
8515
  left: 50%;
@@ -1,7 +1,7 @@
1
1
  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
- import TUIRoomEngine__default, { TUIVideoStreamType, TRTCVideoStreamType, TRTCVideoFillMode, TRTCVideoMirrorType, TRTCVideoRotation, TUIChangeReason, TUIRoomEvents } from "@tencentcloud/tuiroom-engine-electron";
4
+ import TUIRoomEngine__default, { TUIVideoStreamType, TRTCVideoStreamType, TRTCVideoFillMode, TRTCVideoRotation, TRTCVideoMirrorType, TUIChangeReason, TUIRoomEvents } from "@tencentcloud/tuiroom-engine-electron";
5
5
  import { EventType } from "../types.mjs";
6
6
  import { isMobile } from "../../utils/environment.mjs";
7
7
  import { MESSAGE_DURATION } from "../../constants/message.mjs";
@@ -1,7 +1,7 @@
1
1
  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
- import { TRTCVideoEncParam, TRTCVideoResolution, TUIRoomType, TUISeatMode, TUIMediaDeviceType, TUIVideoStreamType } from "@tencentcloud/tuiroom-engine-electron";
4
+ import { TUISeatMode, TUIRoomType, TUIMediaDeviceType, TRTCVideoEncParam, TUIVideoStreamType, TRTCVideoResolution } from "@tencentcloud/tuiroom-engine-electron";
5
5
  import { EventType } from "../types.mjs";
6
6
  import { isWeChat, isMobile } from "../../utils/environment.mjs";
7
7
  import logger from "../../utils/common/logger/index.mjs";
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
4
4
  import mitt from "mitt";
5
5
  import useGetRoomEngine from "../hooks/useRoomEngine.mjs";
6
6
  import { EventType } from "./types.mjs";
7
- import TUIRoomEngine__default, { TUIRoomEvents, TUIKickedOutOfRoomReason, TUIRole, TRTCVideoMirrorType, TRTCVideoRotation, TRTCVideoFillMode } from "@tencentcloud/tuiroom-engine-electron";
7
+ import TUIRoomEngine__default, { TUIRoomEvents, TUIKickedOutOfRoomReason, TUIRole, TRTCVideoMirrorType, TRTCVideoFillMode, TRTCVideoRotation } from "@tencentcloud/tuiroom-engine-electron";
8
8
  import { useBasicStore } from "../stores/basic.mjs";
9
9
  import { useRoomStore } from "../stores/room.mjs";
10
10
  import { useChatStore } from "../stores/chat.mjs";
@@ -2,7 +2,7 @@ import { defineStore } from "pinia";
2
2
  import { getLanguage } from "../utils/common.mjs";
3
3
  import { LAYOUT } from "../constants/render.mjs";
4
4
  import { isUndefined } from "../utils/utils.mjs";
5
- import { isElectron, isWeChat, isMobile } from "../utils/environment.mjs";
5
+ import { isMobile, isWeChat, isElectron } from "../utils/environment.mjs";
6
6
  function getDefaultLayout() {
7
7
  if (isMobile) {
8
8
  return isWeChat ? LAYOUT.SIX_EQUAL_POINTS : LAYOUT.LARGE_SMALL_WINDOW;
@@ -1,5 +1,5 @@
1
1
  import { defineStore } from "pinia";
2
- import { TUIVideoQuality, TUISeatMode, TUIVideoStreamType, TUIRole, TUIMediaDeviceType, TUIInvitationStatus } from "@tencentcloud/tuiroom-engine-electron";
2
+ import { TUIVideoQuality, TUISeatMode, TUIInvitationStatus, TUIRole, TUIMediaDeviceType, TUIVideoStreamType } from "@tencentcloud/tuiroom-engine-electron";
3
3
  import { useBasicStore } from "./basic.mjs";
4
4
  import { set, del } from "../utils/vue.mjs";
5
5
  import { isMobile } from "../utils/environment.mjs";
@@ -410,9 +410,6 @@ const useRoomStore = defineStore("room", {
410
410
  updateVideoQuality(quality) {
411
411
  this.localVideoQuality = quality;
412
412
  },
413
- setLocalUser(obj) {
414
- Object.assign(this.localUser, obj);
415
- },
416
413
  setDeviceList(type, deviceList) {
417
414
  switch (type) {
418
415
  case TUIMediaDeviceType.kMediaDeviceTypeVideoCamera:
@@ -1,5 +1,5 @@
1
1
  import { EUserEventNames } from "./logger-constants.mjs";
2
- import { getLogPrefix, LogContext, LogLevelType } from "./logger-utils.mjs";
2
+ import { LogLevelType, getLogPrefix, LogContext } from "./logger-utils.mjs";
3
3
  let currentLogLevel = LogLevelType.LOG_LEVEL_DEBUG;
4
4
  const logger = {
5
5
  debug(...args) {
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const AISubtitles_vue_vue_type_script_setup_true_lang = require("./AISubtitles.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
- const AISubtitlesOverlay = /* @__PURE__ */ _pluginVue_exportHelper.default(AISubtitles_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-c187363f"]]);
6
+ const AISubtitlesOverlay = /* @__PURE__ */ _pluginVue_exportHelper.default(AISubtitles_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-cacf47e3"]]);
7
7
  exports.default = AISubtitlesOverlay;
@@ -29,7 +29,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
29
29
  subtitleMessages.value = Object.assign({}, data.subtitleMessages);
30
30
  };
31
31
  Vue.onMounted(() => {
32
- roomService.roomService.dataReportManager.reportCount(dataReportManager.MetricsKey.AITask);
32
+ roomService.roomService.dataReportManager.reportCount(dataReportManager.MetricsKey.aiTask);
33
33
  roomService.roomService.aiTask.on(aiTask.AI_TASK.TRANSCRIPTION_TASK, handleAISubtitles);
34
34
  });
35
35
  Vue.onUnmounted(() => {
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const AITranscription_vue_vue_type_script_setup_true_lang = require("./AITranscription.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
- const AITranscription = /* @__PURE__ */ _pluginVue_exportHelper.default(AITranscription_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-631b02ec"]]);
6
+ const AITranscription = /* @__PURE__ */ _pluginVue_exportHelper.default(AITranscription_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-35b9944f"]]);
7
7
  exports.default = AITranscription;
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
68
68
  rawTranscribedMessageList.value = [...data.transcribedMessageList];
69
69
  };
70
70
  Vue.onMounted(() => {
71
- roomService.roomService.dataReportManager.reportCount(dataReportManager.MetricsKey.AITask);
71
+ roomService.roomService.dataReportManager.reportCount(dataReportManager.MetricsKey.aiTask);
72
72
  roomService.roomService.aiTask.on(aiTask.AI_TASK.TRANSCRIPTION_TASK, handleAITranscriptionTask);
73
73
  });
74
74
  Vue.onUnmounted(() => {
@@ -4,11 +4,11 @@ const Vue = require("vue");
4
4
  const TUIChatEngine = require("@tencentcloud/chat-uikit-engine");
5
5
  require("../../../adapter-vue.js");
6
6
  const messageInputEditor = require("./message-input-editor.vue.js");
7
- const index = require("./message-input-at/index.vue.js");
7
+ const index$1 = require("./message-input-at/index.vue.js");
8
8
  const messageInputButton = require("./message-input-button.vue.js");
9
- const index$1 = require("./message-input-quote/index.vue.js");
9
+ const index$2 = require("./message-input-quote/index.vue.js");
10
10
  const sendMessage = require("../utils/sendMessage.js");
11
- const index$2 = require("../emoji-config/index.js");
11
+ const index = require("../emoji-config/index.js");
12
12
  const env = require("../../../utils/env.js");
13
13
  const _hoisted_1 = { class: "message-input-wrapper" };
14
14
  const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
@@ -68,7 +68,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
68
68
  if (!_editorContentList || !currentConversation.value) return;
69
69
  const editorContentList = _editorContentList.map((editor2) => {
70
70
  if (editor2.type === "text") {
71
- editor2.payload.text = index$2.transformTextWithEmojiNamesToKeys(editor2.payload.text);
71
+ editor2.payload.text = index.transformTextWithEmojiNamesToKeys(editor2.payload.text);
72
72
  }
73
73
  return editor2;
74
74
  });
@@ -125,7 +125,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
125
125
  key: 0,
126
126
  onSendMessage: sendMessage$1
127
127
  })) : Vue.createCommentVNode("", true),
128
- props.enableAt ? (Vue.openBlock(), Vue.createBlock(index.default, {
128
+ props.enableAt ? (Vue.openBlock(), Vue.createBlock(index$1.default, {
129
129
  key: 1,
130
130
  ref_key: "messageInputAtRef",
131
131
  ref: messageInputAtRef,
@@ -133,7 +133,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
133
133
  onOnAtListOpen: onAtListOpen
134
134
  }, null, 512)) : Vue.createCommentVNode("", true)
135
135
  ], 2),
136
- Vue.createVNode(index$1.default)
136
+ Vue.createVNode(index$2.default)
137
137
  ]);
138
138
  };
139
139
  }
@@ -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$4 = require("./message-elements/message-record/index.vue.js");
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$3 = require("../../common/ProgressMessage/index.vue.js");
31
- const index$5 = require("../emoji-config/index.js");
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$3.default, {
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$3.default, {
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$3.default, {
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$4.default, {
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$5.emojiConfig),
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$1 = require("../../../../common/Toast/index.js");
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$1.Toast({
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
  }
@@ -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$1 = require("../../emoji-config/index.js");
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$1.transformTextWithKeysToEmojiNames((_b = (_a = message.value) == null ? void 0 : _a.payload) == null ? void 0 : _b.text)
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 index$12 = actionItems.value.findIndex((item) => item.key === "translate");
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[index$12].visible
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 index$12 = actionItems.value.findIndex((item) => item.key === "convert");
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[index$12].visible
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$1 = require("./zh_cn/index.js");
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$1.default
6
+ ...index$1.default,
7
+ ...index.default
8
8
  };
9
9
  exports.default = messages;
@@ -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$1 = require("../StreamList/index.vue.js");
10
- const index$2 = require("../../../utils/common/logger/index.js");
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$2.default.debug(
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$1.default, {
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,