@tencentcloud/roomkit-electron-vue3 2.7.2 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (581) hide show
  1. package/es/components/Chat/ChatKit/components/TUIChat/chat-header/index.vue2.mjs +1 -1
  2. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/default-emoji.mjs +4 -4
  3. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/index.mjs +1 -1
  4. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
  5. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.mjs +67 -0
  6. package/es/components/Chat/ChatKit/components/TUIChat/index.vue.mjs +1 -1
  7. package/es/components/Chat/ChatKit/components/TUIChat/index.vue2.mjs +24 -11
  8. package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.mjs +1 -1
  9. package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.mjs +14 -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.vue.d.ts +1 -1
  12. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue2.mjs +1 -1
  13. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/image-upload/index.vue2.mjs +1 -1
  14. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.mjs +1 -1
  15. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.mjs +13 -13
  16. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/video-upload/index.vue2.mjs +1 -1
  17. package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.mjs +1 -1
  18. package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.mjs +4 -4
  19. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-audio.vue2.mjs +1 -1
  20. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-record/index.vue2.mjs +1 -1
  21. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-group-application/index.vue2.mjs +2 -2
  22. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.mjs +1 -1
  23. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.mjs +1 -1
  24. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.mjs +1 -1
  25. package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.mjs +1 -1
  26. package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.mjs +2 -1
  27. package/es/components/Chat/ChatKit/components/TUIChat/offlinePushInfoManager/offlinePushInfoManager.mjs +1 -1
  28. package/es/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
  29. package/es/components/Chat/ChatKit/components/TUIChat/server.mjs +12 -3
  30. package/es/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.mjs +3 -2
  31. package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue.mjs +1 -1
  32. package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +3 -3
  33. package/es/components/Chat/ChatKit/components/common/Dialog/index.vue2.mjs +1 -1
  34. package/es/components/Chat/ChatKit/components/common/Drawer/index.vue2.mjs +1 -1
  35. package/es/components/Chat/ChatKit/components/common/Icon.vue2.mjs +1 -1
  36. package/es/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.mjs +1 -1
  37. package/es/components/Chat/ChatKit/components/common/Overlay/index.vue.mjs +1 -1
  38. package/es/components/Chat/ChatKit/components/common/Overlay/index.vue2.mjs +1 -1
  39. package/es/components/Chat/ChatKit/components/common/Toast/index.mjs +1 -1
  40. package/es/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
  41. package/es/components/Chat/ChatKit/components/common/Toast/index.vue2.mjs +1 -1
  42. package/es/components/Chat/ChatKit/components/common/Transfer/index.vue.mjs +1 -1
  43. package/es/components/Chat/ChatKit/components/common/Transfer/index.vue2.mjs +4 -4
  44. package/es/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
  45. package/es/components/Chat/ChatKit/locales/en/TUIChat.mjs +5 -2
  46. package/es/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
  47. package/es/components/Chat/ChatKit/locales/en/message.mjs +2 -2
  48. package/es/components/Chat/ChatKit/locales/index.d.ts +4 -1083
  49. package/es/components/Chat/ChatKit/locales/index.mjs +5 -3
  50. package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
  51. package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.mjs +4 -1
  52. package/es/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
  53. package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
  54. package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.mjs +155 -0
  55. package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
  56. package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.mjs +67 -0
  57. package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
  58. package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.mjs +25 -0
  59. package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
  60. package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.mjs +88 -0
  61. package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
  62. package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.mjs +42 -0
  63. package/es/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
  64. package/es/components/Chat/ChatKit/locales/zh_tw/component.mjs +22 -0
  65. package/es/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
  66. package/es/components/Chat/ChatKit/locales/zh_tw/emoji.mjs +4 -0
  67. package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
  68. package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.mjs +12 -0
  69. package/es/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
  70. package/es/components/Chat/ChatKit/locales/zh_tw/index.mjs +39 -0
  71. package/es/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
  72. package/es/components/Chat/ChatKit/locales/zh_tw/message.mjs +63 -0
  73. package/es/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
  74. package/es/components/Chat/ChatKit/locales/zh_tw/time.mjs +38 -0
  75. package/es/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
  76. package/es/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
  77. package/es/components/Chat/ChatKit/locales/zh_tw/words.mjs +15 -0
  78. package/es/components/Chat/ChatKit/plugins/plugin-components/message-plugin.vue2.mjs +1 -1
  79. package/es/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
  80. package/es/components/Chat/ChatKit/utils/riseInput.mjs +45 -0
  81. package/es/components/Chat/index/index.vue.mjs +1 -1
  82. package/es/components/Chat/index/index.vue2.mjs +4 -19
  83. package/es/components/ManageMember/MemberControl/index.vue2.mjs +1 -1
  84. package/es/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
  85. package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +4 -4
  86. package/es/components/ManageMember/MemberInvite/MemberInvite.vue2.mjs +1 -1
  87. package/es/components/ManageMember/index.vue2.mjs +1 -1
  88. package/es/components/PreRoom/PasswordDialog.vue.mjs +1 -1
  89. package/es/components/PreRoom/PasswordDialog.vue2.mjs +21 -12
  90. package/es/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
  91. package/es/components/RoomContent/StreamContainer/index.vue.mjs +1 -1
  92. package/es/components/RoomContent/StreamContainer/index.vue2.mjs +111 -262
  93. package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
  94. package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.mjs +11 -0
  95. package/es/components/RoomContent/index.vue.d.ts +1 -14
  96. package/es/components/RoomContent/index.vue.mjs +1 -1
  97. package/es/components/RoomContent/index.vue2.mjs +1 -4
  98. package/es/components/RoomFooter/AIControl.vue.d.ts +1 -5
  99. package/es/components/RoomFooter/AIControl.vue.mjs +1 -1
  100. package/es/components/RoomFooter/AIControl.vue2.mjs +5 -8
  101. package/es/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.mjs +2 -2
  102. package/es/components/RoomFooter/ApplyControl/MemberApplyControl.vue2.mjs +1 -1
  103. package/es/components/RoomFooter/AudioControl.vue2.mjs +1 -1
  104. package/es/components/RoomFooter/BasicBeauty.vue.mjs +1 -1
  105. package/es/components/RoomFooter/BasicBeauty.vue2.mjs +8 -5
  106. package/es/components/RoomFooter/ChatControl.vue.mjs +2 -1
  107. package/es/components/RoomFooter/EndControl/index.vue.mjs +1 -1
  108. package/es/components/RoomFooter/EndControl/index.vue2.mjs +5 -7
  109. package/es/components/RoomFooter/EndControl/useEndControlHooks.mjs +8 -12
  110. package/es/components/RoomFooter/FullScreenControl.vue.mjs +1 -1
  111. package/es/components/RoomFooter/InviteControl.vue.mjs +1 -1
  112. package/es/components/RoomFooter/InviteControl.vue2.mjs +2 -1
  113. package/es/components/RoomFooter/ManageMemberControl.vue.mjs +1 -1
  114. package/es/components/RoomFooter/MoreControl/index.vue.mjs +1 -1
  115. package/es/components/RoomFooter/ScreenShareControl/Index.vue.mjs +1 -1
  116. package/es/components/RoomFooter/ScreenShareControl/Index.vue2.mjs +4 -4
  117. package/es/components/RoomFooter/ScreenShareControl/ScreenWindowSelectDialog.vue2.mjs +1 -1
  118. package/es/components/RoomFooter/VideoControl.vue2.mjs +2 -2
  119. package/es/components/RoomFooter/VirtualBackground.vue.mjs +1 -1
  120. package/es/components/RoomFooter/VirtualBackground.vue2.mjs +6 -3
  121. package/es/components/RoomFooter/WhiteboardControl.vue.mjs +14 -4
  122. package/es/components/RoomFooter/index/index.vue.d.ts +1 -5
  123. package/es/components/RoomFooter/index/index.vue.mjs +1 -1
  124. package/es/components/RoomFooter/index/index.vue2.mjs +2 -8
  125. package/es/components/RoomHeader/UserInfo/index.vue2.mjs +1 -1
  126. package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +2 -2
  127. package/es/components/RoomHeader/index/index.vue.d.ts +1 -5
  128. package/es/components/RoomHeader/index/index.vue.mjs +1 -1
  129. package/es/components/RoomHeader/index/index.vue2.mjs +0 -15
  130. package/es/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
  131. package/es/components/RoomHome/RoomControl/index.vue.mjs +1 -1
  132. package/es/components/RoomHome/RoomControl/index.vue2.mjs +3 -4
  133. package/es/components/RoomInvite/InvitationNotification.vue2.mjs +2 -2
  134. package/es/components/RoomInvite/index.vue2.mjs +1 -1
  135. package/es/components/RoomInvite/useRoomInviteHooks.mjs +2 -2
  136. package/es/components/RoomOverlay/RoomOverlay.vue.mjs +16 -0
  137. package/es/components/RoomOverlay/RoomOverlay.vue2.mjs +4 -0
  138. package/es/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
  139. package/es/components/RoomOverlay/useRoomOverlayHooks.mjs +30 -0
  140. package/es/components/RoomSetting/index.vue2.mjs +1 -1
  141. package/es/components/RoomSidebar/index.vue.mjs +1 -1
  142. package/es/components/ScheduleConference/Contacts.vue2.mjs +1 -1
  143. package/es/components/ScheduleConference/InvitePanel.vue.mjs +1 -1
  144. package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue.mjs +1 -1
  145. package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue2.mjs +12 -8
  146. package/es/components/ScheduleConference/ScheduleRoomControl.vue.mjs +1 -1
  147. package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +4 -4
  148. package/es/components/ScheduleConference/ScheduleRoomList.vue2.mjs +2 -2
  149. package/es/components/ScheduleConference/ShareLink.vue2.mjs +2 -2
  150. package/es/components/ScheduleConference/TimezonePicker.vue.mjs +1 -1
  151. package/es/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
  152. package/es/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.mjs +2 -2
  153. package/es/components/Stream/MultiStreamView/index.vue2.mjs +99 -0
  154. package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
  155. package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.mjs +95 -0
  156. package/es/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
  157. package/es/components/Stream/SingleStreamView/index.vue.mjs +30 -0
  158. package/es/components/Stream/SingleStreamView/index.vue2.mjs +4 -0
  159. package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.mjs +1 -1
  160. package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.mjs +23 -58
  161. package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.mjs +1 -1
  162. package/es/components/Stream/common/StreamList/index.vue.d.ts +27 -0
  163. package/es/components/{RoomContent → Stream/common}/StreamList/index.vue.mjs +2 -2
  164. package/es/components/{RoomContent → Stream/common}/StreamList/index.vue2.mjs +59 -95
  165. package/{lib/components/RoomContent/StreamRegion → es/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
  166. package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.mjs +1 -1
  167. package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.mjs +18 -13
  168. package/es/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
  169. package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue.mjs +2 -2
  170. package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.mjs +24 -27
  171. package/es/components/common/Language.vue.mjs +1 -1
  172. package/es/components/common/SwitchTheme.vue.mjs +1 -1
  173. package/es/components/common/VideoProfile.vue2.mjs +1 -1
  174. package/es/components/common/VideoSettingTab.vue2.mjs +2 -2
  175. package/es/components/common/base/Button.vue.d.ts +1 -1
  176. package/es/components/common/base/Button.vue2.mjs +1 -1
  177. package/es/components/common/base/Checkbox/index.vue.d.ts +1 -1
  178. package/es/components/common/base/Dialog/index.vue.d.ts +4 -4
  179. package/es/components/common/base/Dialog/index.vue2.mjs +1 -1
  180. package/es/components/common/base/IconButton.vue.d.ts +3 -3
  181. package/es/components/common/base/Input/index.vue.d.ts +4 -4
  182. package/es/components/common/base/Input/index.vue2.mjs +1 -1
  183. package/es/components/common/base/Message/Message.vue.d.ts +4 -4
  184. package/es/components/common/base/Message/Message.vue2.mjs +1 -1
  185. package/es/components/common/base/MessageBox/index.vue.d.ts +1 -1
  186. package/es/components/common/base/MessageBox/index.vue2.mjs +1 -1
  187. package/es/components/common/base/Notification/index.vue.d.ts +1 -1
  188. package/es/components/common/base/Select/index.vue.d.ts +1 -1
  189. package/es/components/common/base/Select/index.vue2.mjs +1 -1
  190. package/es/components/common/base/Slider.vue.d.ts +1 -1
  191. package/es/components/common/base/SvgIcon.vue2.mjs +1 -1
  192. package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue.mjs +2 -2
  193. package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.mjs +7 -6
  194. package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.mjs +2 -2
  195. package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue2.mjs +8 -7
  196. package/es/conference.d.ts +6 -0
  197. package/es/conference.mjs +7 -1
  198. package/es/conference.vue.mjs +1 -1
  199. package/es/conference.vue2.mjs +14 -24
  200. package/es/constants/room.mjs +3 -1
  201. package/es/extension/RoomMessageCard/RoomMessageCard.vue2.mjs +1 -1
  202. package/es/extension/chatExtension.mjs +7 -4
  203. package/es/extension/utils/interact.mjs +1 -1
  204. package/es/extension/utils/setLanguage.mjs +1 -1
  205. package/es/hooks/useDeviceManager.mjs +1 -1
  206. package/es/hooks/useMasterApplyControl.mjs +2 -1
  207. package/es/index.d.ts +1 -0
  208. package/es/index.mjs +956 -1184
  209. package/es/locales/en-US.d.ts +2 -1
  210. package/es/locales/en-US.mjs +3 -2
  211. package/es/locales/zh-CN.d.ts +2 -1
  212. package/es/locales/zh-CN.mjs +2 -1
  213. package/es/preConference.vue.d.ts +5 -0
  214. package/es/preConference.vue.mjs +1 -1
  215. package/es/preConference.vue2.mjs +7 -4
  216. package/es/services/index.d.ts +1 -0
  217. package/es/services/manager/chatManager.d.ts +0 -2
  218. package/es/services/manager/chatManager.mjs +6 -12
  219. package/{lib/services/manager/MediaManager.d.ts → es/services/manager/mediaManager.d.ts} +16 -13
  220. package/es/services/manager/{MediaManager.mjs → mediaManager.mjs} +111 -114
  221. package/es/services/manager/roomActionManager.d.ts +3 -0
  222. package/es/services/manager/roomActionManager.mjs +8 -1
  223. package/es/services/manager/scheduleConferenceManager.d.ts +1 -0
  224. package/es/services/manager/scheduleConferenceManager.mjs +24 -1
  225. package/es/services/manager/trackingManager.d.ts +11 -0
  226. package/es/services/manager/trackingManager.mjs +20 -0
  227. package/es/services/manager/userManager.d.ts +11 -1
  228. package/es/services/manager/userManager.mjs +159 -9
  229. package/es/services/roomService.d.ts +3 -2
  230. package/es/services/roomService.mjs +24 -42
  231. package/es/stores/basic.mjs +7 -2
  232. package/es/stores/room.d.ts +29 -1
  233. package/es/stores/room.mjs +50 -57
  234. package/es/utils/common/logger/index.mjs +1 -1
  235. package/es/utils/domOperation.d.ts +4 -0
  236. package/es/utils/domOperation.mjs +17 -23
  237. package/es/utils/utils.d.ts +11 -0
  238. package/es/utils/utils.mjs +43 -0
  239. package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
  240. package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.js +67 -0
  241. package/lib/components/Chat/ChatKit/components/TUIChat/index.vue.js +1 -1
  242. package/lib/components/Chat/ChatKit/components/TUIChat/index.vue2.js +22 -9
  243. package/lib/components/Chat/ChatKit/components/TUIChat/message-input/index.vue2.js +6 -6
  244. package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.js +1 -1
  245. package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.js +13 -0
  246. package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
  247. package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.js +1 -1
  248. package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.js +13 -13
  249. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.js +1 -1
  250. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.js +9 -9
  251. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-elements/message-quote/index.vue2.js +4 -4
  252. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.js +1 -1
  253. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.js +11 -11
  254. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.js +1 -1
  255. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.js +1 -1
  256. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.js +1 -0
  257. package/lib/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
  258. package/lib/components/Chat/ChatKit/components/TUIChat/server.js +12 -3
  259. package/lib/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.js +2 -1
  260. package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue.js +1 -1
  261. package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.js +2 -2
  262. package/lib/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.js +1 -1
  263. package/lib/components/Chat/ChatKit/components/common/Overlay/index.vue.js +1 -1
  264. package/lib/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
  265. package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue.js +1 -1
  266. package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue2.js +2 -2
  267. package/lib/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
  268. package/lib/components/Chat/ChatKit/locales/en/TUIChat.js +5 -2
  269. package/lib/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
  270. package/lib/components/Chat/ChatKit/locales/en/message.js +2 -2
  271. package/lib/components/Chat/ChatKit/locales/index.d.ts +4 -1083
  272. package/lib/components/Chat/ChatKit/locales/index.js +5 -3
  273. package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
  274. package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.js +4 -1
  275. package/lib/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
  276. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
  277. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.js +155 -0
  278. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
  279. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.js +67 -0
  280. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
  281. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.js +25 -0
  282. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
  283. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.js +88 -0
  284. package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
  285. package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.js +42 -0
  286. package/lib/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
  287. package/lib/components/Chat/ChatKit/locales/zh_tw/component.js +22 -0
  288. package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
  289. package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.js +4 -0
  290. package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
  291. package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.js +12 -0
  292. package/lib/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
  293. package/lib/components/Chat/ChatKit/locales/zh_tw/index.js +39 -0
  294. package/lib/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
  295. package/lib/components/Chat/ChatKit/locales/zh_tw/message.js +63 -0
  296. package/lib/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
  297. package/lib/components/Chat/ChatKit/locales/zh_tw/time.js +38 -0
  298. package/lib/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
  299. package/lib/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
  300. package/lib/components/Chat/ChatKit/locales/zh_tw/words.js +15 -0
  301. package/lib/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
  302. package/lib/components/Chat/ChatKit/utils/riseInput.js +45 -0
  303. package/lib/components/Chat/index/index.vue.js +1 -1
  304. package/lib/components/Chat/index/index.vue2.js +2 -17
  305. package/lib/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
  306. package/lib/components/ManageMember/MemberControl/useMemberControlHooks.js +3 -3
  307. package/lib/components/ManageMember/MemberInvite/MemberInvite.vue2.js +1 -1
  308. package/lib/components/PreRoom/PasswordDialog.vue.js +1 -1
  309. package/lib/components/PreRoom/PasswordDialog.vue2.js +20 -11
  310. package/lib/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
  311. package/lib/components/RoomContent/StreamContainer/index.vue.js +1 -1
  312. package/lib/components/RoomContent/StreamContainer/index.vue2.js +109 -260
  313. package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
  314. package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.js +11 -0
  315. package/lib/components/RoomContent/index.vue.d.ts +1 -14
  316. package/lib/components/RoomContent/index.vue.js +1 -1
  317. package/lib/components/RoomContent/index.vue2.js +1 -4
  318. package/lib/components/RoomFooter/AIControl.vue.d.ts +1 -5
  319. package/lib/components/RoomFooter/AIControl.vue.js +1 -1
  320. package/lib/components/RoomFooter/AIControl.vue2.js +5 -8
  321. package/lib/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.js +1 -1
  322. package/lib/components/RoomFooter/AudioControl.vue2.js +4 -4
  323. package/lib/components/RoomFooter/BasicBeauty.vue.js +1 -1
  324. package/lib/components/RoomFooter/BasicBeauty.vue2.js +6 -3
  325. package/lib/components/RoomFooter/ChatControl.vue.js +2 -1
  326. package/lib/components/RoomFooter/EndControl/index.vue.js +1 -1
  327. package/lib/components/RoomFooter/EndControl/index.vue2.js +4 -6
  328. package/lib/components/RoomFooter/EndControl/useEndControlHooks.js +8 -12
  329. package/lib/components/RoomFooter/FullScreenControl.vue.js +1 -1
  330. package/lib/components/RoomFooter/InviteControl.vue.js +1 -1
  331. package/lib/components/RoomFooter/InviteControl.vue2.js +2 -1
  332. package/lib/components/RoomFooter/ManageMemberControl.vue.js +1 -1
  333. package/lib/components/RoomFooter/MoreControl/index.vue.js +1 -1
  334. package/lib/components/RoomFooter/ScreenShareControl/Index.vue.js +1 -1
  335. package/lib/components/RoomFooter/ScreenShareControl/Index.vue2.js +8 -8
  336. package/lib/components/RoomFooter/VideoControl.vue2.js +4 -4
  337. package/lib/components/RoomFooter/VirtualBackground.vue.js +1 -1
  338. package/lib/components/RoomFooter/VirtualBackground.vue2.js +5 -2
  339. package/lib/components/RoomFooter/WhiteboardControl.vue.js +13 -3
  340. package/lib/components/RoomFooter/index/index.vue.d.ts +1 -5
  341. package/lib/components/RoomFooter/index/index.vue.js +1 -1
  342. package/lib/components/RoomFooter/index/index.vue2.js +2 -8
  343. package/lib/components/RoomHeader/UserInfo/index.vue2.js +1 -1
  344. package/lib/components/RoomHeader/index/LayoutControl.vue2.js +1 -1
  345. package/lib/components/RoomHeader/index/index.vue.d.ts +1 -5
  346. package/lib/components/RoomHeader/index/index.vue.js +1 -1
  347. package/lib/components/RoomHeader/index/index.vue2.js +0 -15
  348. package/lib/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
  349. package/lib/components/RoomHome/RoomControl/index.vue.js +1 -1
  350. package/lib/components/RoomHome/RoomControl/index.vue2.js +1 -2
  351. package/lib/components/RoomInvite/InvitationNotification.vue2.js +1 -1
  352. package/lib/components/RoomInvite/useRoomInviteHooks.js +2 -2
  353. package/lib/components/RoomOverlay/RoomOverlay.vue.js +16 -0
  354. package/lib/components/RoomOverlay/RoomOverlay.vue2.js +4 -0
  355. package/lib/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
  356. package/lib/components/RoomOverlay/useRoomOverlayHooks.js +30 -0
  357. package/lib/components/RoomSidebar/index.vue.js +1 -1
  358. package/lib/components/ScheduleConference/InvitePanel.vue.js +1 -1
  359. package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue.js +1 -1
  360. package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue2.js +11 -7
  361. package/lib/components/ScheduleConference/ScheduleRoomControl.vue.js +1 -1
  362. package/lib/components/ScheduleConference/ScheduleRoomControl.vue2.js +3 -3
  363. package/lib/components/ScheduleConference/ScheduleRoomList.vue2.js +2 -2
  364. package/lib/components/ScheduleConference/ShareLink.vue2.js +1 -1
  365. package/lib/components/ScheduleConference/TimezonePicker.vue.js +1 -1
  366. package/lib/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
  367. package/lib/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.js +2 -2
  368. package/lib/components/Stream/MultiStreamView/index.vue2.js +99 -0
  369. package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
  370. package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.js +95 -0
  371. package/lib/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
  372. package/lib/components/Stream/SingleStreamView/index.vue.js +30 -0
  373. package/lib/components/Stream/SingleStreamView/index.vue2.js +4 -0
  374. package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.js +1 -1
  375. package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.js +22 -57
  376. package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.js +1 -1
  377. package/lib/components/Stream/common/StreamList/index.vue.d.ts +27 -0
  378. package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue.js +2 -2
  379. package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue2.js +60 -96
  380. package/{es/components/RoomContent/StreamRegion → lib/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
  381. package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.js +1 -1
  382. package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.js +21 -16
  383. package/lib/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
  384. package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue.js +2 -2
  385. package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.js +24 -27
  386. package/lib/components/common/Language.vue.js +1 -1
  387. package/lib/components/common/SwitchTheme.vue.js +1 -1
  388. package/lib/components/common/base/Button.vue.d.ts +1 -1
  389. package/lib/components/common/base/Checkbox/index.vue.d.ts +1 -1
  390. package/lib/components/common/base/Dialog/index.vue.d.ts +4 -4
  391. package/lib/components/common/base/IconButton.vue.d.ts +3 -3
  392. package/lib/components/common/base/Input/index.vue.d.ts +4 -4
  393. package/lib/components/common/base/Message/Message.vue.d.ts +4 -4
  394. package/lib/components/common/base/MessageBox/index.vue.d.ts +1 -1
  395. package/lib/components/common/base/Notification/index.vue.d.ts +1 -1
  396. package/lib/components/common/base/Select/index.vue.d.ts +1 -1
  397. package/lib/components/common/base/Select/index.vue2.js +1 -1
  398. package/lib/components/common/base/Slider.vue.d.ts +1 -1
  399. package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue.js +2 -2
  400. package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.js +7 -6
  401. package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.js +2 -2
  402. package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue2.js +8 -7
  403. package/lib/conference.d.ts +6 -0
  404. package/lib/conference.js +7 -1
  405. package/lib/conference.vue.js +1 -1
  406. package/lib/conference.vue2.js +24 -34
  407. package/lib/constants/room.js +3 -1
  408. package/lib/extension/chatExtension.js +5 -2
  409. package/lib/extension/utils/interact.js +1 -1
  410. package/lib/extension/utils/setLanguage.js +1 -1
  411. package/lib/hooks/useMasterApplyControl.js +11 -10
  412. package/lib/index.d.ts +1 -0
  413. package/lib/index.js +956 -1184
  414. package/lib/locales/en-US.d.ts +2 -1
  415. package/lib/locales/en-US.js +3 -2
  416. package/lib/locales/zh-CN.d.ts +2 -1
  417. package/lib/locales/zh-CN.js +2 -1
  418. package/lib/preConference.vue.d.ts +5 -0
  419. package/lib/preConference.vue.js +1 -1
  420. package/lib/preConference.vue2.js +13 -10
  421. package/lib/services/index.d.ts +1 -0
  422. package/lib/services/manager/chatManager.d.ts +0 -2
  423. package/lib/services/manager/chatManager.js +6 -12
  424. package/{es/services/manager/MediaManager.d.ts → lib/services/manager/mediaManager.d.ts} +16 -13
  425. package/lib/services/manager/{MediaManager.js → mediaManager.js} +109 -112
  426. package/lib/services/manager/roomActionManager.d.ts +3 -0
  427. package/lib/services/manager/roomActionManager.js +7 -0
  428. package/lib/services/manager/scheduleConferenceManager.d.ts +1 -0
  429. package/lib/services/manager/scheduleConferenceManager.js +23 -0
  430. package/lib/services/manager/trackingManager.d.ts +11 -0
  431. package/lib/services/manager/trackingManager.js +20 -0
  432. package/lib/services/manager/userManager.d.ts +11 -1
  433. package/lib/services/manager/userManager.js +158 -8
  434. package/lib/services/roomService.d.ts +3 -2
  435. package/lib/services/roomService.js +24 -42
  436. package/lib/stores/basic.js +6 -1
  437. package/lib/stores/room.d.ts +29 -1
  438. package/lib/stores/room.js +49 -56
  439. package/lib/utils/domOperation.d.ts +4 -0
  440. package/lib/utils/domOperation.js +17 -23
  441. package/lib/utils/utils.d.ts +11 -0
  442. package/lib/utils/utils.js +43 -0
  443. package/package.json +4 -4
  444. package/src/TUIRoom/components/Chat/ChatKit/CHANGELOG.md +35 -0
  445. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.ts +66 -0
  446. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/index.vue +24 -8
  447. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue +15 -1
  448. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue +13 -13
  449. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/index.vue +1 -1
  450. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue +2 -1
  451. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue +4 -6
  452. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue +9 -3
  453. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/server.ts +12 -3
  454. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.ts +1 -0
  455. package/src/TUIRoom/components/Chat/ChatKit/components/TUIContact/contact-list/index.vue +3 -1
  456. package/src/TUIRoom/components/Chat/ChatKit/components/TUIGroup/manage-group/index.vue +2 -2
  457. package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/index.vue +1 -1
  458. package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/h5.scss +4 -3
  459. package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/modal.scss +0 -2
  460. package/src/TUIRoom/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue +2 -2
  461. package/src/TUIRoom/components/Chat/ChatKit/components/common/Overlay/index.vue +5 -0
  462. package/src/TUIRoom/components/Chat/ChatKit/components/common/Transfer/index.vue +2 -2
  463. package/src/TUIRoom/components/Chat/ChatKit/locales/en/TUIChat.ts +4 -1
  464. package/src/TUIRoom/components/Chat/ChatKit/locales/en/message.ts +2 -2
  465. package/src/TUIRoom/components/Chat/ChatKit/locales/index.ts +9 -3
  466. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_cn/TUIChat.ts +3 -0
  467. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIChat.ts +154 -0
  468. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIContact.ts +66 -0
  469. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIConversation.ts +24 -0
  470. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIGroup.ts +87 -0
  471. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUISearch.ts +41 -0
  472. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/component.ts +21 -0
  473. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/emoji.ts +2 -0
  474. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/evaluate.ts +11 -0
  475. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/index.ts +41 -0
  476. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/message.ts +62 -0
  477. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/time.ts +37 -0
  478. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/translate.ts +164 -0
  479. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/words.ts +14 -0
  480. package/src/TUIRoom/components/Chat/ChatKit/utils/riseInput.ts +53 -0
  481. package/src/TUIRoom/components/Chat/index/index.vue +2 -20
  482. package/src/TUIRoom/components/ManageMember/MemberControl/useMemberControlHooks.ts +7 -4
  483. package/src/TUIRoom/components/PreRoom/PasswordDialog.vue +21 -11
  484. package/src/TUIRoom/components/RoomContent/StreamContainer/index.vue +107 -384
  485. package/src/TUIRoom/components/RoomContent/StreamContainer/useStreamContainerHooks.ts +5 -112
  486. package/src/TUIRoom/components/RoomContent/index.vue +1 -5
  487. package/src/TUIRoom/components/RoomFooter/AIControl.vue +7 -6
  488. package/src/TUIRoom/components/RoomFooter/BasicBeauty.vue +1 -1
  489. package/src/TUIRoom/components/RoomFooter/ChatControl.vue +1 -0
  490. package/src/TUIRoom/components/RoomFooter/EndControl/index.vue +4 -3
  491. package/src/TUIRoom/components/RoomFooter/EndControl/useEndControlHooks.ts +4 -10
  492. package/src/TUIRoom/components/RoomFooter/InviteControl.vue +1 -0
  493. package/src/TUIRoom/components/RoomFooter/ScreenShareControl/Index.vue +3 -3
  494. package/src/TUIRoom/components/RoomFooter/VirtualBackground.vue +1 -1
  495. package/src/TUIRoom/components/RoomFooter/WhiteboardControl.vue +13 -2
  496. package/src/TUIRoom/components/RoomFooter/index/index.vue +0 -6
  497. package/src/TUIRoom/components/RoomHeader/index/index.vue +0 -17
  498. package/src/TUIRoom/components/RoomHome/RoomControl/index.vue +0 -2
  499. package/src/TUIRoom/components/RoomInvite/useRoomInviteHooks.ts +2 -2
  500. package/src/TUIRoom/components/RoomOverlay/RoomOverlay.vue +13 -0
  501. package/src/TUIRoom/components/RoomOverlay/useRoomOverlayHooks.ts +21 -0
  502. package/src/TUIRoom/components/RoomSidebar/index.vue +1 -1
  503. package/src/TUIRoom/components/ScheduleConference/InvitePanel.vue +1 -0
  504. package/src/TUIRoom/components/ScheduleConference/ScheduleConferencePanel/index.vue +10 -4
  505. package/src/TUIRoom/components/ScheduleConference/ScheduleRoomControl.vue +1 -0
  506. package/src/TUIRoom/components/Stream/MultiStreamView/index.vue +161 -0
  507. package/src/TUIRoom/components/Stream/MultiStreamView/useMultiStreamViewHook.ts +107 -0
  508. package/src/TUIRoom/components/Stream/SingleStreamView/index.vue +32 -0
  509. package/src/TUIRoom/components/Stream/common/LocalScreenView/index.vue +150 -0
  510. package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue +1 -6
  511. package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamList/index.vue +74 -124
  512. package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue +28 -13
  513. package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamRegion/index.vue +27 -32
  514. package/src/TUIRoom/components/common/base/Swiper.vue +20 -6
  515. package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AISubtitles.vue +1 -1
  516. package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AITranscription.vue +2 -2
  517. package/src/TUIRoom/conference.ts +14 -0
  518. package/src/TUIRoom/conference.vue +10 -23
  519. package/src/TUIRoom/hooks/useMasterApplyControl.ts +2 -1
  520. package/src/TUIRoom/index.ts +3 -1
  521. package/src/TUIRoom/locales/en-US.ts +4 -3
  522. package/src/TUIRoom/locales/zh-CN.ts +3 -1
  523. package/src/TUIRoom/preConference.vue +3 -1
  524. package/src/TUIRoom/services/index.ts +1 -0
  525. package/src/TUIRoom/services/manager/chatManager.ts +7 -16
  526. package/src/TUIRoom/services/manager/{MediaManager.ts → mediaManager.ts} +125 -136
  527. package/src/TUIRoom/services/manager/roomActionManager.ts +5 -0
  528. package/src/TUIRoom/services/manager/scheduleConferenceManager.ts +24 -1
  529. package/src/TUIRoom/services/manager/trackingManager.ts +22 -0
  530. package/src/TUIRoom/services/manager/userManager.ts +201 -7
  531. package/src/TUIRoom/services/roomService.ts +5 -24
  532. package/src/TUIRoom/stores/basic.ts +6 -0
  533. package/src/TUIRoom/stores/room.ts +60 -68
  534. package/src/TUIRoom/utils/domOperation.ts +27 -0
  535. package/src/TUIRoom/utils/utils.ts +61 -0
  536. package/es/components/Chat/ChatEditor/index.vue.mjs +0 -7
  537. package/es/components/Chat/ChatEditor/index.vue2.mjs +0 -45
  538. package/es/components/Chat/ChatEditor/useChatEditor.mjs +0 -83
  539. package/es/components/Chat/EditorTools/index.vue.d.ts +0 -6
  540. package/es/components/Chat/EditorTools/index.vue.mjs +0 -7
  541. package/es/components/Chat/EditorTools/index.vue2.mjs +0 -59
  542. package/es/components/Chat/MessageList/index.vue2.mjs +0 -101
  543. package/es/components/Chat/MessageList/useMessageListHook.mjs +0 -142
  544. package/es/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
  545. package/es/components/Chat/MessageTypes/MessageText.vue.mjs +0 -7
  546. package/es/components/Chat/MessageTypes/MessageText.vue2.mjs +0 -31
  547. package/es/components/Chat/util.mjs +0 -432
  548. package/es/components/RoomContent/StreamList/index.vue.d.ts +0 -39
  549. package/es/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
  550. package/es/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
  551. package/es/components/common/icons/EmojiIcon.vue.mjs +0 -21
  552. package/lib/components/Chat/ChatEditor/index.vue.js +0 -7
  553. package/lib/components/Chat/ChatEditor/index.vue2.js +0 -45
  554. package/lib/components/Chat/ChatEditor/useChatEditor.js +0 -83
  555. package/lib/components/Chat/EditorTools/index.vue.d.ts +0 -6
  556. package/lib/components/Chat/EditorTools/index.vue.js +0 -7
  557. package/lib/components/Chat/EditorTools/index.vue2.js +0 -59
  558. package/lib/components/Chat/MessageList/index.vue.d.ts +0 -2
  559. package/lib/components/Chat/MessageList/index.vue2.js +0 -101
  560. package/lib/components/Chat/MessageList/useMessageListHook.js +0 -142
  561. package/lib/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
  562. package/lib/components/Chat/MessageTypes/MessageText.vue.js +0 -7
  563. package/lib/components/Chat/MessageTypes/MessageText.vue2.js +0 -31
  564. package/lib/components/Chat/util.js +0 -432
  565. package/lib/components/RoomContent/StreamList/index.vue.d.ts +0 -39
  566. package/lib/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
  567. package/lib/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
  568. package/lib/components/common/icons/EmojiIcon.vue.d.ts +0 -2
  569. package/lib/components/common/icons/EmojiIcon.vue.js +0 -21
  570. /package/es/components/{AITools/AISubtitles.vue.d.ts → RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
  571. /package/es/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
  572. /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
  573. /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.mjs +0 -0
  574. /package/{lib/components → es/components/common/widgets}/AITools/AISubtitles.vue.d.ts +0 -0
  575. /package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
  576. /package/{es/components/Chat/MessageList/index.vue.d.ts → lib/components/RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
  577. /package/lib/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
  578. /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
  579. /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.js +0 -0
  580. /package/{es/components/common/icons/EmojiIcon.vue.d.ts → lib/components/common/widgets/AITools/AISubtitles.vue.d.ts} +0 -0
  581. /package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
@@ -57,6 +57,7 @@ declare const _default: {
57
57
  'Others will no longer see your screen after you stop sharing. Are you sure you want to stop?': string;
58
58
  'Others will no longer see your screen after you stop sharing.': string;
59
59
  'You currently do not have sharing permission, please raise your hand to apply for sharing permission first': string;
60
+ 'You currently do not have whiteboard permission, please raise your hand to apply for whiteboard permission first': string;
60
61
  Host: string;
61
62
  Admin: string;
62
63
  RoomOwner: string;
@@ -218,7 +219,7 @@ declare const _default: {
218
219
  'You have been banned from text chat': string;
219
220
  'You are allowed to text chat': string;
220
221
  'kicked out of the room by the host': string;
221
- 'kicked out of the room by other device': string;
222
+ 'kicked out of the room': string;
222
223
  'kicked out of the room by serve': string;
223
224
  'Reject sb on stage failed, please retry': ({ named }: any) => string;
224
225
  'Agree sb on stage failed, please retry': ({ named }: any) => string;
@@ -23,7 +23,7 @@ const EN = {
23
23
  Room: "Room",
24
24
  Join: "Join",
25
25
  Sure: "Sure",
26
- "Switch Theme": "Switch Theme",
26
+ "Switch Theme": "Theme",
27
27
  Layout: "Layout",
28
28
  "New Room": "New Room",
29
29
  "Room Type": "Room Type",
@@ -57,6 +57,7 @@ const EN = {
57
57
  "Others will no longer see your screen after you stop sharing. Are you sure you want to stop?": "Others will no longer see your screen after you stop sharing. Are you sure you want to stop?",
58
58
  "Others will no longer see your screen after you stop sharing.": "Others will no longer see your screen after you stop sharing.",
59
59
  "You currently do not have sharing permission, please raise your hand to apply for sharing permission first": "You currently do not have sharing permission, please raise your hand to apply for sharing permission first",
60
+ "You currently do not have whiteboard permission, please raise your hand to apply for whiteboard permission first": "You currently do not have whiteboard permission, please raise your hand to apply for whiteboard permission first",
60
61
  Host: "Host",
61
62
  Admin: "Admin",
62
63
  RoomOwner: "RoomOwner",
@@ -218,7 +219,7 @@ const EN = {
218
219
  "You have been banned from text chat": "You have been banned from text chat",
219
220
  "You are allowed to text chat": "You are allowed to text chat",
220
221
  "kicked out of the room by the host": "kicked out of the room by the host",
221
- "kicked out of the room by other device": "kicked out of the room by other device",
222
+ "kicked out of the room": "kicked out of the room",
222
223
  "kicked out of the room by serve": "kicked out of the room by serve",
223
224
  "Reject sb on stage failed, please retry": ({ named }) => `Reject ${named("name")} on Stage failed, please retry`,
224
225
  "Agree sb on stage failed, please retry": ({ named }) => `Agree ${named("name")} on Stage failed, please retry`,
@@ -54,6 +54,7 @@ declare const _default: {
54
54
  'Others will no longer see your screen after you stop sharing. Are you sure you want to stop?': string;
55
55
  'Others will no longer see your screen after you stop sharing.': string;
56
56
  'You currently do not have sharing permission, please raise your hand to apply for sharing permission first': string;
57
+ 'You currently do not have whiteboard permission, please raise your hand to apply for whiteboard permission first': string;
57
58
  Host: string;
58
59
  Me: string;
59
60
  me: string;
@@ -218,7 +219,7 @@ declare const _default: {
218
219
  'You have been banned from text chat': string;
219
220
  'You are allowed to text chat': string;
220
221
  'kicked out of the room by the host': string;
221
- 'kicked out of the room by other device': string;
222
+ 'kicked out of the room': string;
222
223
  'kicked out of the room by serve': string;
223
224
  'Reject sb on stage failed, please retry': ({ named }: any) => string;
224
225
  'Agree sb on stage failed, please retry': ({ named }: any) => string;
@@ -54,6 +54,7 @@ const ZH = {
54
54
  "Others will no longer see your screen after you stop sharing. Are you sure you want to stop?": "是否结束当前的共享屏幕,停止后所有人将无法继续观看屏幕内容",
55
55
  "Others will no longer see your screen after you stop sharing.": "停止后所有人将无法继续观看屏幕内容",
56
56
  "You currently do not have sharing permission, please raise your hand to apply for sharing permission first": "您当前没有共享权限,请先举手申请上台获取共享权限",
57
+ "You currently do not have whiteboard permission, please raise your hand to apply for whiteboard permission first": "您当前没有白板权限,请先举手申请上台获取白板权限",
57
58
  Host: "房主",
58
59
  Me: "我",
59
60
  me: "我",
@@ -218,7 +219,7 @@ const ZH = {
218
219
  "You have been banned from text chat": "您被禁止文字聊天",
219
220
  "You are allowed to text chat": "您被允许文字聊天",
220
221
  "kicked out of the room by the host": "被主持人踢出房间",
221
- "kicked out of the room by other device": "相同账号在其他客户端进入房间",
222
+ "kicked out of the room": "被踢出房间",
222
223
  "kicked out of the room by serve": "被服务端踢出房间",
223
224
  "Reject sb on stage failed, please retry": ({ named }) => `拒绝 ${named("name")} 上台失败, 请重试`,
224
225
  "Agree sb on stage failed, please retry": ({ named }) => `同意 ${named("name")} 上台失败, 请重试`,
@@ -8,6 +8,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
8
8
  roomId: string;
9
9
  enableScheduledConference: boolean;
10
10
  isShowLogo?: boolean;
11
+ isShowHeaderInfo?: boolean;
11
12
  }>, {
12
13
  userInfo: () => {
13
14
  userId: string;
@@ -18,6 +19,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
18
19
  roomId: string;
19
20
  enableScheduledConference: boolean;
20
21
  isShowLogo: boolean;
22
+ isShowHeaderInfo: boolean;
21
23
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
22
24
  "on-create-room": (...args: any[]) => void;
23
25
  "on-enter-room": (...args: any[]) => void;
@@ -33,6 +35,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
33
35
  roomId: string;
34
36
  enableScheduledConference: boolean;
35
37
  isShowLogo?: boolean;
38
+ isShowHeaderInfo?: boolean;
36
39
  }>, {
37
40
  userInfo: () => {
38
41
  userId: string;
@@ -43,6 +46,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
43
46
  roomId: string;
44
47
  enableScheduledConference: boolean;
45
48
  isShowLogo: boolean;
49
+ isShowHeaderInfo: boolean;
46
50
  }>>> & {
47
51
  "onOn-create-room"?: ((...args: any[]) => any) | undefined;
48
52
  "onOn-enter-room"?: ((...args: any[]) => any) | undefined;
@@ -58,6 +62,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
58
62
  enableScheduledConference: boolean;
59
63
  showEditNameInPc: boolean;
60
64
  isShowLogo: boolean;
65
+ isShowHeaderInfo: boolean;
61
66
  }, {}>;
62
67
  export default _default;
63
68
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -2,7 +2,7 @@ import _sfc_main from "./preConference.vue2.mjs";
2
2
  /* empty css */
3
3
  /* empty css */
4
4
  import _export_sfc from "./_virtual/_plugin-vue_export-helper.mjs";
5
- const preConference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5f33ba0a"]]);
5
+ const preConference = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b6e4d0eb"]]);
6
6
  export {
7
7
  preConference as default
8
8
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, ref, computed, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, unref, createBlock, withDirectives, vShow } from "vue";
1
+ import { defineComponent, ref, computed, onMounted, onUnmounted, openBlock, createElementBlock, normalizeClass, withDirectives, createElementVNode, createVNode, vShow, unref, createBlock } from "vue";
2
2
  import UserInfo from "./components/RoomHeader/UserInfo/index.vue.mjs";
3
3
  import RoomHomeControl from "./components/RoomHome/RoomControl/index.vue.mjs";
4
4
  import _sfc_main$2 from "./components/common/Language.vue.mjs";
@@ -8,10 +8,10 @@ import { roomService } from "./services/roomService.mjs";
8
8
  import { EventType } from "./services/types.mjs";
9
9
  import "./locales/index.mjs";
10
10
  import "@tencentcloud/tuiroom-engine-electron";
11
+ import { isMobile } from "./utils/environment.mjs";
11
12
  import "mitt";
12
13
  import "./services/manager/roomActionManager.mjs";
13
14
  import "@tencentcloud/tui-core";
14
- import { isMobile } from "./utils/environment.mjs";
15
15
  import ScheduleRoomList from "./components/ScheduleConference/ScheduleRoomList.vue.mjs";
16
16
  import Logo from "./components/common/Logo.vue.mjs";
17
17
  import MessageBox from "./components/common/base/MessageBox/index.mjs";
@@ -36,7 +36,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  showEditNameInPc: { type: Boolean, default: false },
37
37
  roomId: { default: "" },
38
38
  enableScheduledConference: { type: Boolean, default: true },
39
- isShowLogo: { type: Boolean, default: true }
39
+ isShowLogo: { type: Boolean, default: true },
40
+ isShowHeaderInfo: { type: Boolean, default: true }
40
41
  },
41
42
  emits: [
42
43
  "on-create-room",
@@ -103,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
103
104
  id: "pre-conference-container",
104
105
  class: normalizeClass(["pre-conference-container", tuiRoomThemeClass.value])
105
106
  }, [
106
- createElementVNode("div", _hoisted_1, [
107
+ withDirectives(createElementVNode("div", _hoisted_1, [
107
108
  createElementVNode("div", _hoisted_2, [
108
109
  createVNode(_sfc_main$1, { class: "header-item" })
109
110
  ]),
@@ -119,6 +120,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
119
120
  onLogOut: handleLogOut
120
121
  }, null, 8, ["user-id", "user-name", "avatar-url", "is-show-edit-name"])
121
122
  ])
123
+ ], 512), [
124
+ [vShow, props.isShowHeaderInfo]
122
125
  ]),
123
126
  unref(isMobile) ? (openBlock(), createBlock(RoomHomeControl, {
124
127
  key: 0,
@@ -10,3 +10,4 @@ export * from './manager/scheduleConferenceManager';
10
10
  export * from './manager/chatManager';
11
11
  export * from './manager/dataReportManager';
12
12
  export * from './function/aiTask';
13
+ export * from './manager/trackingManager';
@@ -3,13 +3,11 @@ import { IRoomService } from '../types';
3
3
  export declare class ChatManager {
4
4
  static instance?: ChatManager;
5
5
  private service;
6
- private isRoomType;
7
6
  constructor(service: IRoomService);
8
7
  static getInstance(ctx: IRoomService): ChatManager;
9
8
  static destroyInstance(): void;
10
9
  dispose(): void;
11
10
  reset(): void;
12
- setChatType(type: boolean): void;
13
11
  onNotifyEvent(eventName: string, subKey: string, options?: any): Promise<void>;
14
12
  private onLanguageChanged;
15
13
  private onThemeChanged;
@@ -12,7 +12,6 @@ const THEME = {
12
12
  const _ChatManager = class _ChatManager {
13
13
  constructor(service) {
14
14
  __publicField(this, "service");
15
- __publicField(this, "isRoomType", false);
16
15
  this.service = service;
17
16
  this.bindEventContext();
18
17
  this.bindEvent();
@@ -41,20 +40,15 @@ const _ChatManager = class _ChatManager {
41
40
  this
42
41
  );
43
42
  }
44
- setChatType(type) {
45
- this.isRoomType = type;
46
- }
47
43
  async onNotifyEvent(eventName, subKey, options) {
48
- if (!this.isRoomType) return;
44
+ if (options.groupID !== this.service.basicStore.roomId) return;
49
45
  if (eventName === TUIConstants.TUIChat.EVENT.CHAT_STATE_CHANGED) {
50
46
  if (subKey === TUIConstants.TUIChat.EVENT_SUB_KEY.CHAT_OPENED) {
51
- TUICore.callService({
52
- serviceName: TUIConstants.TUIChat.SERVICE.NAME,
53
- method: TUIConstants.TUIChat.SERVICE.METHOD.SET_CHAT_TYPE,
54
- params: {
55
- chatType: TUIConstants.TUIChat.TYPE.ROOM
56
- }
57
- });
47
+ TUICore.notifyEvent(
48
+ TUIConstants.TUIChat.EVENT.CHAT_TYPE_CHANGED,
49
+ TUIConstants.TUIChat.EVENT_SUB_KEY.CHANGE_SUCCESS,
50
+ { chatType: TUIConstants.TUIChat.TYPE.ROOM }
51
+ );
58
52
  const result = Object.fromEntries(
59
53
  this.service.roomStore.userList.map((item) => [
60
54
  item.userId,
@@ -6,36 +6,39 @@ interface ObserverData {
6
6
  streamType: TUIVideoStreamType;
7
7
  isIntersection?: boolean;
8
8
  }
9
+ export declare enum StreamPlayMode {
10
+ PLAY = "play",
11
+ STOP = "stop",
12
+ PLAY_IN_VISIBLE = "playInVisible"
13
+ }
14
+ export declare enum StreamPlayQuality {
15
+ HIGH = "high",
16
+ LOW = "low",
17
+ Default = "default"
18
+ }
9
19
  export declare class MediaManager {
10
20
  private service;
11
21
  intersectionObserver: IntersectionObserver | null;
12
22
  observerDataMap: Map<HTMLElement | string, ObserverData>;
13
23
  observerRoot: HTMLElement | null;
14
24
  constructor(service: IRoomService);
15
- private getRecordStreamType;
16
- private intersectionObserverCallback;
17
- private initIntersectionObserver;
18
25
  startPlayVideo(options: {
19
26
  userId: string;
20
27
  streamType: TUIVideoStreamType;
21
28
  view: HTMLElement;
22
29
  observerViewInVisible: boolean;
23
30
  }): Promise<void>;
24
- doStartPlayVideo(options: {
25
- userId: string;
26
- streamType: TUIVideoStreamType;
27
- view: (HTMLElement | string | null)[];
28
- }): Promise<void>;
29
- private setVideoRenderParams;
30
31
  stopPlayVideo(options: {
31
32
  userId: string;
32
33
  streamType: TUIVideoStreamType;
33
34
  view: HTMLElement;
34
35
  }): Promise<void>;
35
- doStopPlayVideo(options: {
36
- userId: string;
37
- streamType: TUIVideoStreamType;
38
- }): Promise<void>;
36
+ private initIntersectionObserver;
37
+ private intersectionObserverCallback;
38
+ private getPlayStreamType;
39
+ private doStartPlayVideo;
40
+ private setVideoRenderParams;
41
+ private doStopPlayVideo;
39
42
  private onUserAudioStateChanged;
40
43
  private onUserVideoStateChanged;
41
44
  dispose(): void;
@@ -1,11 +1,23 @@
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, TRTCVideoRotation, TRTCVideoMirrorType, TUIChangeReason, TUIRoomEvents } from "@tencentcloud/tuiroom-engine-electron";
4
+ import TUIRoomEngine__default, { TUIVideoStreamType, TRTCVideoStreamType, TRTCVideoFillMode, TRTCVideoMirrorType, TRTCVideoRotation, 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";
8
8
  import logger from "../../utils/common/logger/index.mjs";
9
+ var StreamPlayMode = /* @__PURE__ */ ((StreamPlayMode2) => {
10
+ StreamPlayMode2["PLAY"] = "play";
11
+ StreamPlayMode2["STOP"] = "stop";
12
+ StreamPlayMode2["PLAY_IN_VISIBLE"] = "playInVisible";
13
+ return StreamPlayMode2;
14
+ })(StreamPlayMode || {});
15
+ var StreamPlayQuality = /* @__PURE__ */ ((StreamPlayQuality2) => {
16
+ StreamPlayQuality2["HIGH"] = "high";
17
+ StreamPlayQuality2["LOW"] = "low";
18
+ StreamPlayQuality2["Default"] = "default";
19
+ return StreamPlayQuality2;
20
+ })(StreamPlayQuality || {});
9
21
  class MediaManager {
10
22
  constructor(service) {
11
23
  __publicField(this, "service");
@@ -39,11 +51,75 @@ class MediaManager {
39
51
  this.service = service;
40
52
  this.bindRoomEngineEvents();
41
53
  }
42
- getRecordStreamType(streamType) {
43
- if (streamType === TUIVideoStreamType.kCameraStreamLow) {
44
- return TUIVideoStreamType.kCameraStream;
54
+ async startPlayVideo(options) {
55
+ var _a, _b, _c;
56
+ const { userId, streamType, view, observerViewInVisible } = options;
57
+ logger.info(
58
+ "MediaManager.startPlayVideo",
59
+ userId,
60
+ streamType,
61
+ view,
62
+ observerViewInVisible
63
+ );
64
+ const streamInfo = this.service.roomStore.getStreamInfo(userId, streamType);
65
+ if (!streamInfo) {
66
+ return;
67
+ }
68
+ (_a = streamInfo.playDomMap) == null ? void 0 : _a.set(view, streamType);
69
+ if (!observerViewInVisible) {
70
+ await this.doStartPlayVideo({ userId, streamType });
71
+ return;
72
+ }
73
+ this.initIntersectionObserver();
74
+ this.observerDataMap.set(
75
+ view,
76
+ Object.assign(this.observerDataMap.get(view) || {}, {
77
+ userId,
78
+ streamType
79
+ })
80
+ );
81
+ (_b = this.intersectionObserver) == null ? void 0 : _b.observe(view);
82
+ if ((_c = this.observerDataMap.get(view)) == null ? void 0 : _c.isIntersection) {
83
+ await this.doStartPlayVideo({ userId, streamType });
84
+ }
85
+ }
86
+ // If only one view wants to stop playing, update the viewList, but don't stop the stream.
87
+ // If no view is passed in, the stream is stopped.
88
+ async stopPlayVideo(options) {
89
+ var _a;
90
+ const { userId, streamType, view } = options;
91
+ logger.info("MediaManager.stopPlayVideo", userId, streamType, view);
92
+ const streamInfo = this.service.roomStore.getStreamInfo(userId, streamType);
93
+ if (!(streamInfo == null ? void 0 : streamInfo.playDomMap) || (streamInfo == null ? void 0 : streamInfo.playDomMap.size) === 0) {
94
+ return;
95
+ }
96
+ if (this.observerDataMap.get(view)) {
97
+ this.observerDataMap.delete(view);
98
+ (_a = this.intersectionObserver) == null ? void 0 : _a.unobserve(view);
99
+ }
100
+ streamInfo == null ? void 0 : streamInfo.playDomMap.delete(view);
101
+ if ((streamInfo == null ? void 0 : streamInfo.playDomMap.size) > 0) {
102
+ await this.doStartPlayVideo({
103
+ userId,
104
+ streamType
105
+ });
106
+ } else {
107
+ await this.doStopPlayVideo(options);
108
+ }
109
+ }
110
+ initIntersectionObserver() {
111
+ if (!this.intersectionObserver || document.getElementById("roomContainer") !== this.observerRoot) {
112
+ const observerRoot = document.getElementById("roomContainer");
113
+ this.intersectionObserver = new IntersectionObserver(
114
+ this.intersectionObserverCallback.bind(this),
115
+ {
116
+ root: observerRoot,
117
+ rootMargin: "0px"
118
+ }
119
+ );
120
+ this.observerDataMap = /* @__PURE__ */ new Map();
121
+ this.observerRoot = observerRoot;
45
122
  }
46
- return streamType;
47
123
  }
48
124
  intersectionObserverCallback(entries) {
49
125
  entries.forEach((entry) => {
@@ -61,16 +137,19 @@ class MediaManager {
61
137
  if (!streamInfo) {
62
138
  return;
63
139
  }
64
- const { playDomList } = streamInfo;
65
- if (isIntersecting && (playDomList == null ? void 0 : playDomList.length)) {
140
+ if (isIntersecting) {
66
141
  observerData.isIntersection = true;
67
- this.doStartPlayVideo({ userId, streamType, view: playDomList });
142
+ if ((streamInfo == null ? void 0 : streamInfo.playDomMap) && (streamInfo == null ? void 0 : streamInfo.playDomMap.size) > 0) {
143
+ this.doStartPlayVideo({ userId, streamType });
144
+ }
68
145
  } else {
69
146
  observerData.isIntersection = false;
70
- const isContinuePlay = (_a = streamInfo == null ? void 0 : streamInfo.playDomList) == null ? void 0 : _a.find(
147
+ const isContinuePlay = Array.from(
148
+ ((_a = streamInfo == null ? void 0 : streamInfo.playDomMap) == null ? void 0 : _a.keys()) || []
149
+ ).find(
71
150
  (item) => {
72
151
  var _a2;
73
- return (_a2 = this.observerDataMap.get(item)) == null ? void 0 : _a2.isIntersection;
152
+ return !this.observerDataMap.get(item) || ((_a2 = this.observerDataMap.get(item)) == null ? void 0 : _a2.isIntersection);
74
153
  }
75
154
  );
76
155
  if (!isContinuePlay) {
@@ -79,79 +158,30 @@ class MediaManager {
79
158
  }
80
159
  });
81
160
  }
82
- initIntersectionObserver() {
83
- if (!this.intersectionObserver || document.getElementById("roomContainer") !== this.observerRoot) {
84
- const observerRoot = document.getElementById("roomContainer");
85
- this.intersectionObserver = new IntersectionObserver(
86
- this.intersectionObserverCallback.bind(this),
87
- {
88
- root: observerRoot,
89
- rootMargin: "0px"
90
- }
91
- );
92
- this.observerDataMap = /* @__PURE__ */ new Map();
93
- this.observerRoot = observerRoot;
161
+ getPlayStreamType(userId, streamType) {
162
+ var _a;
163
+ if (streamType === TUIVideoStreamType.kScreenStream) {
164
+ return streamType;
94
165
  }
95
- }
96
- async startPlayVideo(options) {
97
- var _a, _b, _c, _d;
98
- const { userId, streamType, view, observerViewInVisible } = options;
99
- logger.info(
100
- "MediaManager.startPlayVideo",
101
- userId,
102
- streamType,
103
- view,
104
- observerViewInVisible
105
- );
106
166
  const streamInfo = this.service.roomStore.getStreamInfo(userId, streamType);
107
- if (!streamInfo) {
108
- return;
109
- }
110
- let newPlayDomList = ((_a = streamInfo.playDomList) == null ? void 0 : _a.slice(0)) || [];
111
- newPlayDomList.push(view);
112
- newPlayDomList = [...new Set(newPlayDomList)];
113
- if (!observerViewInVisible) {
114
- this.service.roomStore.updateStreamInfo({
115
- userId,
116
- streamType,
117
- playDomList: newPlayDomList
118
- });
119
- await this.doStartPlayVideo({ userId, streamType, view: newPlayDomList });
120
- return;
121
- }
122
- this.initIntersectionObserver();
123
- (_b = streamInfo == null ? void 0 : streamInfo.playDomList) == null ? void 0 : _b.forEach((playDom) => {
124
- var _a2, _b2, _c2;
125
- if (!newPlayDomList.includes(playDom)) {
126
- if (((_a2 = this.observerDataMap.get(playDom)) == null ? void 0 : _a2.userId) === userId && this.getRecordStreamType(
127
- (_b2 = this.observerDataMap.get(playDom)) == null ? void 0 : _b2.streamType
128
- ) === this.getRecordStreamType(streamType)) {
129
- this.observerDataMap.delete(playDom);
130
- (_c2 = this.intersectionObserver) == null ? void 0 : _c2.unobserve(playDom);
131
- }
167
+ if ((streamInfo == null ? void 0 : streamInfo.playDomMap) && (streamInfo == null ? void 0 : streamInfo.playDomMap.size) > 0) {
168
+ const playStreamTypeList = Array.from((_a = streamInfo == null ? void 0 : streamInfo.playDomMap) == null ? void 0 : _a.values());
169
+ if (playStreamTypeList.includes(TUIVideoStreamType.kCameraStream)) {
170
+ return TUIVideoStreamType.kCameraStream;
132
171
  }
133
- });
134
- this.service.roomStore.updateStreamInfo({
135
- userId,
136
- streamType,
137
- playDomList: newPlayDomList
138
- });
139
- this.observerDataMap.set(
140
- view,
141
- Object.assign(this.observerDataMap.get(view) || {}, {
142
- userId,
143
- streamType
144
- })
145
- );
146
- (_c = this.intersectionObserver) == null ? void 0 : _c.observe(view);
147
- if ((_d = this.observerDataMap.get(view)) == null ? void 0 : _d.isIntersection) {
148
- await this.doStartPlayVideo({ userId, streamType, view: newPlayDomList });
172
+ return TUIVideoStreamType.kCameraStreamLow;
149
173
  }
174
+ return streamType;
150
175
  }
151
176
  async doStartPlayVideo(options) {
152
177
  var _a, _b, _c;
153
- const { userId, streamType, view } = options;
154
- const viewIdList = view.map((item) => {
178
+ const { userId, streamType } = options;
179
+ const streamInfo = this.service.roomStore.getStreamInfo(userId, streamType);
180
+ if (!streamInfo) {
181
+ return;
182
+ }
183
+ const playStreamType = this.getPlayStreamType(userId, streamType);
184
+ const viewIdList = Array.from(streamInfo.playDomMap.keys()).map((item) => {
155
185
  if (item instanceof HTMLElement) {
156
186
  return item == null ? void 0 : item.id;
157
187
  }
@@ -167,13 +197,13 @@ class MediaManager {
167
197
  } else {
168
198
  (_b = this.service.roomEngine.instance) == null ? void 0 : _b.setRemoteVideoView({
169
199
  userId,
170
- streamType,
200
+ streamType: playStreamType,
171
201
  view: viewIdList
172
202
  });
173
203
  await this.setVideoRenderParams({ userId, streamType });
174
204
  await ((_c = this.service.roomEngine.instance) == null ? void 0 : _c.startPlayRemoteVideo({
175
205
  userId,
176
- streamType
206
+ streamType: playStreamType
177
207
  }));
178
208
  }
179
209
  this.service.roomStore.updateStreamInfo({
@@ -199,41 +229,6 @@ class MediaManager {
199
229
  }));
200
230
  }
201
231
  }
202
- // If only one view wants to stop playing, update the viewList, but don't stop the stream.
203
- // If no view is passed in, the stream is stopped.
204
- async stopPlayVideo(options) {
205
- var _a;
206
- const { userId, streamType, view } = options;
207
- logger.info("MediaManager.stopPlayVideo", userId, streamType, view);
208
- const streamInfo = this.service.roomStore.getStreamInfo(userId, streamType);
209
- if (!(streamInfo == null ? void 0 : streamInfo.playDomList) || (streamInfo == null ? void 0 : streamInfo.playDomList.length) === 0) {
210
- return;
211
- }
212
- if (this.observerDataMap.get(view)) {
213
- this.observerDataMap.delete(view);
214
- (_a = this.intersectionObserver) == null ? void 0 : _a.unobserve(view);
215
- }
216
- const newPlayDomList = streamInfo == null ? void 0 : streamInfo.playDomList.slice(0).filter((item) => item !== view);
217
- if (newPlayDomList.length > 0) {
218
- this.service.roomStore.updateStreamInfo({
219
- userId,
220
- streamType,
221
- playDomList: newPlayDomList
222
- });
223
- await this.doStartPlayVideo({
224
- userId,
225
- streamType,
226
- view: newPlayDomList
227
- });
228
- } else {
229
- this.service.roomStore.updateStreamInfo({
230
- userId,
231
- streamType,
232
- playDomList: []
233
- });
234
- await this.doStopPlayVideo(options);
235
- }
236
- }
237
232
  async doStopPlayVideo(options) {
238
233
  var _a, _b;
239
234
  const { userId, streamType } = options;
@@ -294,5 +289,7 @@ class MediaManager {
294
289
  }
295
290
  }
296
291
  export {
297
- MediaManager
292
+ MediaManager,
293
+ StreamPlayMode,
294
+ StreamPlayQuality
298
295
  };
@@ -1,6 +1,9 @@
1
1
  import { TUIRoomType } from '@tencentcloud/tuiroom-engine-electron';
2
2
  import { IRoomService, RoomParam } from '../types';
3
3
 
4
+ export declare enum FetchRoomInfoErrorCode {
5
+ ROOM_NOT_EXIST = -2100
6
+ }
4
7
  export interface DeviceParams {
5
8
  isOpenCamera?: boolean;
6
9
  isOpenMicrophone?: boolean;
@@ -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 { TUISeatMode, TUIRoomType, TUIMediaDeviceType, TRTCVideoEncParam, TUIVideoStreamType, TRTCVideoResolution } from "@tencentcloud/tuiroom-engine-electron";
4
+ import { TRTCVideoEncParam, TRTCVideoResolution, TUIRoomType, TUISeatMode, TUIMediaDeviceType, TUIVideoStreamType } 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";
@@ -10,6 +10,10 @@ const smallParam = new TRTCVideoEncParam();
10
10
  smallParam.videoResolution = TRTCVideoResolution.TRTCVideoResolution_640_360;
11
11
  smallParam.videoFps = 10;
12
12
  smallParam.videoBitrate = 550;
13
+ var FetchRoomInfoErrorCode = /* @__PURE__ */ ((FetchRoomInfoErrorCode2) => {
14
+ FetchRoomInfoErrorCode2[FetchRoomInfoErrorCode2["ROOM_NOT_EXIST"] = -2100] = "ROOM_NOT_EXIST";
15
+ return FetchRoomInfoErrorCode2;
16
+ })(FetchRoomInfoErrorCode || {});
13
17
  class RoomActionManager {
14
18
  constructor(service) {
15
19
  __publicField(this, "service");
@@ -27,6 +31,7 @@ class RoomActionManager {
27
31
  password
28
32
  } = params;
29
33
  const roomMode = isSeatEnabled ? "SpeakAfterTakingSeat" : "FreeToSpeak";
34
+ this.service.roomStore.resetRoomData();
30
35
  await this.createRoom({
31
36
  roomId,
32
37
  roomName,
@@ -62,6 +67,7 @@ class RoomActionManager {
62
67
  defaultSpeakerId,
63
68
  password
64
69
  } = params;
70
+ this.service.roomStore.resetRoomData();
65
71
  await this.enterRoom({
66
72
  roomId,
67
73
  roomParam: {
@@ -381,5 +387,6 @@ class RoomActionManager {
381
387
  }
382
388
  }
383
389
  export {
390
+ FetchRoomInfoErrorCode,
384
391
  RoomActionManager
385
392
  };
@@ -82,6 +82,7 @@ export declare class ScheduleConferenceManager implements IScheduleConferenceMan
82
82
  avatar: string;
83
83
  nick: string;
84
84
  }>): void;
85
+ generateRoomId(attempt?: number): Promise<string>;
85
86
  scheduleConference(options: IScheduleConferenceOptions): Promise<any>;
86
87
  cancelConference(options: {
87
88
  roomId: string;