@tencentcloud/roomkit-electron-vue3 2.7.1 → 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 (540) hide show
  1. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
  2. package/es/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.mjs +67 -0
  3. package/es/components/Chat/ChatKit/components/TUIChat/index.vue.mjs +1 -1
  4. package/es/components/Chat/ChatKit/components/TUIChat/index.vue2.mjs +23 -10
  5. package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.mjs +1 -1
  6. package/es/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.mjs +14 -1
  7. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
  8. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.mjs +1 -1
  9. package/es/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.mjs +13 -13
  10. package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.mjs +1 -1
  11. package/es/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.mjs +2 -2
  12. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.mjs +1 -1
  13. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.mjs +1 -1
  14. package/es/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.mjs +1 -1
  15. package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.mjs +1 -1
  16. package/es/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.mjs +2 -1
  17. package/es/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
  18. package/es/components/Chat/ChatKit/components/TUIChat/server.mjs +12 -3
  19. package/es/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.mjs +2 -1
  20. package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue.mjs +1 -1
  21. package/es/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.mjs +2 -2
  22. package/es/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.mjs +1 -1
  23. package/es/components/Chat/ChatKit/components/common/Overlay/index.vue.mjs +1 -1
  24. package/es/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
  25. package/es/components/Chat/ChatKit/components/common/Transfer/index.vue.mjs +1 -1
  26. package/es/components/Chat/ChatKit/components/common/Transfer/index.vue2.mjs +3 -3
  27. package/es/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
  28. package/es/components/Chat/ChatKit/locales/en/TUIChat.mjs +5 -2
  29. package/es/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
  30. package/es/components/Chat/ChatKit/locales/en/message.mjs +2 -2
  31. package/es/components/Chat/ChatKit/locales/index.d.ts +4 -1083
  32. package/es/components/Chat/ChatKit/locales/index.mjs +3 -1
  33. package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
  34. package/es/components/Chat/ChatKit/locales/zh_cn/TUIChat.mjs +4 -1
  35. package/es/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
  36. package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
  37. package/es/components/Chat/ChatKit/locales/zh_tw/TUIChat.mjs +155 -0
  38. package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
  39. package/es/components/Chat/ChatKit/locales/zh_tw/TUIContact.mjs +67 -0
  40. package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
  41. package/es/components/Chat/ChatKit/locales/zh_tw/TUIConversation.mjs +25 -0
  42. package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
  43. package/es/components/Chat/ChatKit/locales/zh_tw/TUIGroup.mjs +88 -0
  44. package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
  45. package/es/components/Chat/ChatKit/locales/zh_tw/TUISearch.mjs +42 -0
  46. package/es/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
  47. package/es/components/Chat/ChatKit/locales/zh_tw/component.mjs +22 -0
  48. package/es/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
  49. package/es/components/Chat/ChatKit/locales/zh_tw/emoji.mjs +4 -0
  50. package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
  51. package/es/components/Chat/ChatKit/locales/zh_tw/evaluate.mjs +12 -0
  52. package/es/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
  53. package/es/components/Chat/ChatKit/locales/zh_tw/index.mjs +39 -0
  54. package/es/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
  55. package/es/components/Chat/ChatKit/locales/zh_tw/message.mjs +63 -0
  56. package/es/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
  57. package/es/components/Chat/ChatKit/locales/zh_tw/time.mjs +38 -0
  58. package/es/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
  59. package/es/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
  60. package/es/components/Chat/ChatKit/locales/zh_tw/words.mjs +15 -0
  61. package/es/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
  62. package/es/components/Chat/ChatKit/utils/riseInput.mjs +45 -0
  63. package/es/components/Chat/index/index.vue.mjs +1 -1
  64. package/es/components/Chat/index/index.vue2.mjs +4 -19
  65. package/es/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
  66. package/es/components/ManageMember/MemberControl/useMemberControlHooks.mjs +3 -3
  67. package/es/components/ManageMember/MemberInvite/MemberInvite.vue2.mjs +1 -1
  68. package/es/components/PreRoom/PasswordDialog.vue.mjs +1 -1
  69. package/es/components/PreRoom/PasswordDialog.vue2.mjs +21 -12
  70. package/es/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
  71. package/es/components/RoomContent/StreamContainer/index.vue.mjs +1 -1
  72. package/es/components/RoomContent/StreamContainer/index.vue2.mjs +111 -262
  73. package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
  74. package/es/components/RoomContent/StreamContainer/useStreamContainerHooks.mjs +11 -0
  75. package/es/components/RoomContent/index.vue.d.ts +1 -14
  76. package/es/components/RoomContent/index.vue.mjs +1 -1
  77. package/es/components/RoomContent/index.vue2.mjs +1 -4
  78. package/es/components/RoomFooter/AIControl.vue.d.ts +1 -5
  79. package/es/components/RoomFooter/AIControl.vue.mjs +1 -1
  80. package/es/components/RoomFooter/AIControl.vue2.mjs +5 -8
  81. package/es/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.mjs +1 -1
  82. package/es/components/RoomFooter/BasicBeauty.vue.mjs +1 -1
  83. package/es/components/RoomFooter/BasicBeauty.vue2.mjs +6 -3
  84. package/es/components/RoomFooter/ChatControl.vue.mjs +2 -1
  85. package/es/components/RoomFooter/EndControl/index.vue.mjs +1 -1
  86. package/es/components/RoomFooter/EndControl/index.vue2.mjs +4 -6
  87. package/es/components/RoomFooter/EndControl/useEndControlHooks.mjs +8 -12
  88. package/es/components/RoomFooter/FullScreenControl.vue.mjs +1 -1
  89. package/es/components/RoomFooter/InviteControl.vue.mjs +1 -1
  90. package/es/components/RoomFooter/InviteControl.vue2.mjs +2 -1
  91. package/es/components/RoomFooter/ManageMemberControl.vue.mjs +1 -1
  92. package/es/components/RoomFooter/MoreControl/index.vue.mjs +1 -1
  93. package/es/components/RoomFooter/ScreenShareControl/Index.vue.mjs +1 -1
  94. package/es/components/RoomFooter/ScreenShareControl/Index.vue2.mjs +3 -3
  95. package/es/components/RoomFooter/VirtualBackground.vue.mjs +1 -1
  96. package/es/components/RoomFooter/VirtualBackground.vue2.mjs +5 -2
  97. package/es/components/RoomFooter/WhiteboardControl.vue.mjs +13 -3
  98. package/es/components/RoomFooter/index/index.vue.d.ts +1 -5
  99. package/es/components/RoomFooter/index/index.vue.mjs +1 -1
  100. package/es/components/RoomFooter/index/index.vue2.mjs +2 -8
  101. package/es/components/RoomHeader/UserInfo/index.vue.mjs +1 -1
  102. package/es/components/RoomHeader/UserInfo/index.vue2.mjs +3 -2
  103. package/es/components/RoomHeader/index/LayoutControl.vue2.mjs +1 -1
  104. package/es/components/RoomHeader/index/index.vue.d.ts +1 -5
  105. package/es/components/RoomHeader/index/index.vue.mjs +1 -1
  106. package/es/components/RoomHeader/index/index.vue2.mjs +0 -15
  107. package/es/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
  108. package/es/components/RoomHome/RoomControl/index.vue.mjs +1 -1
  109. package/es/components/RoomHome/RoomControl/index.vue2.mjs +1 -2
  110. package/es/components/RoomInvite/InvitationNotification.vue2.mjs +1 -1
  111. package/es/components/RoomInvite/useRoomInviteHooks.mjs +2 -2
  112. package/es/components/RoomOverlay/RoomOverlay.vue.mjs +16 -0
  113. package/es/components/RoomOverlay/RoomOverlay.vue2.mjs +4 -0
  114. package/es/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
  115. package/es/components/RoomOverlay/useRoomOverlayHooks.mjs +30 -0
  116. package/es/components/RoomSidebar/index.vue.mjs +1 -1
  117. package/es/components/ScheduleConference/InvitePanel.vue.mjs +1 -1
  118. package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue.mjs +1 -1
  119. package/es/components/ScheduleConference/ScheduleConferencePanel/index.vue2.mjs +11 -7
  120. package/es/components/ScheduleConference/ScheduleRoomControl.vue.mjs +1 -1
  121. package/es/components/ScheduleConference/ScheduleRoomControl.vue2.mjs +3 -3
  122. package/es/components/ScheduleConference/ScheduleRoomList.vue2.mjs +2 -2
  123. package/es/components/ScheduleConference/ShareLink.vue2.mjs +1 -1
  124. package/es/components/ScheduleConference/TimezonePicker.vue.mjs +1 -1
  125. package/es/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
  126. package/es/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.mjs +2 -2
  127. package/es/components/Stream/MultiStreamView/index.vue2.mjs +99 -0
  128. package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
  129. package/es/components/Stream/MultiStreamView/useMultiStreamViewHook.mjs +95 -0
  130. package/es/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
  131. package/es/components/Stream/SingleStreamView/index.vue.mjs +30 -0
  132. package/es/components/Stream/SingleStreamView/index.vue2.mjs +4 -0
  133. package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.mjs +1 -1
  134. package/es/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.mjs +23 -58
  135. package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.mjs +1 -1
  136. package/es/components/Stream/common/StreamList/index.vue.d.ts +27 -0
  137. package/es/components/{RoomContent → Stream/common}/StreamList/index.vue.mjs +2 -2
  138. package/es/components/{RoomContent → Stream/common}/StreamList/index.vue2.mjs +59 -95
  139. package/{lib/components/RoomContent/StreamRegion → es/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
  140. package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.mjs +1 -1
  141. package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.mjs +17 -12
  142. package/es/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
  143. package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue.mjs +2 -2
  144. package/es/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.mjs +24 -27
  145. package/es/components/common/Language.vue.mjs +1 -1
  146. package/es/components/common/SwitchTheme.vue.mjs +1 -1
  147. package/es/components/common/base/Button.vue.d.ts +1 -1
  148. package/es/components/common/base/Checkbox/index.vue.d.ts +1 -1
  149. package/es/components/common/base/Dialog/index.vue.d.ts +4 -4
  150. package/es/components/common/base/IconButton.vue.d.ts +3 -3
  151. package/es/components/common/base/Input/index.vue.d.ts +4 -4
  152. package/es/components/common/base/Message/Message.vue.d.ts +4 -4
  153. package/es/components/common/base/MessageBox/index.vue.d.ts +1 -1
  154. package/es/components/common/base/Notification/index.vue.d.ts +1 -1
  155. package/es/components/common/base/Select/index.vue.d.ts +1 -1
  156. package/es/components/common/base/Select/index.vue2.mjs +1 -1
  157. package/es/components/common/base/Slider.vue.d.ts +1 -1
  158. package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue.mjs +2 -2
  159. package/es/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.mjs +8 -7
  160. package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.mjs +2 -2
  161. package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue2.mjs +9 -8
  162. package/es/conference.d.ts +6 -0
  163. package/es/conference.mjs +7 -1
  164. package/es/conference.vue.mjs +1 -1
  165. package/es/conference.vue2.mjs +14 -24
  166. package/es/extension/chatExtension.mjs +1 -1
  167. package/es/extension/utils/interact.mjs +1 -1
  168. package/es/extension/utils/setLanguage.mjs +1 -1
  169. package/es/hooks/useMasterApplyControl.mjs +2 -1
  170. package/es/index.d.ts +1 -0
  171. package/es/index.mjs +969 -1197
  172. package/es/locales/en-US.d.ts +2 -1
  173. package/es/locales/en-US.mjs +3 -2
  174. package/es/locales/zh-CN.d.ts +2 -1
  175. package/es/locales/zh-CN.mjs +2 -1
  176. package/es/preConference.vue.d.ts +5 -0
  177. package/es/preConference.vue.mjs +1 -1
  178. package/es/preConference.vue2.mjs +7 -4
  179. package/es/services/index.d.ts +1 -0
  180. package/es/services/manager/chatManager.d.ts +0 -2
  181. package/es/services/manager/chatManager.mjs +6 -12
  182. package/{lib/services/manager/MediaManager.d.ts → es/services/manager/mediaManager.d.ts} +16 -13
  183. package/es/services/manager/{MediaManager.mjs → mediaManager.mjs} +110 -113
  184. package/es/services/manager/roomActionManager.d.ts +3 -0
  185. package/es/services/manager/roomActionManager.mjs +7 -0
  186. package/es/services/manager/scheduleConferenceManager.d.ts +1 -0
  187. package/es/services/manager/scheduleConferenceManager.mjs +24 -1
  188. package/es/services/manager/trackingManager.d.ts +11 -0
  189. package/es/services/manager/trackingManager.mjs +20 -0
  190. package/es/services/manager/userManager.d.ts +11 -1
  191. package/es/services/manager/userManager.mjs +159 -9
  192. package/es/services/roomService.d.ts +3 -2
  193. package/es/services/roomService.mjs +23 -41
  194. package/es/stores/basic.mjs +6 -1
  195. package/es/stores/room.d.ts +29 -1
  196. package/es/stores/room.mjs +49 -59
  197. package/es/utils/domOperation.d.ts +4 -0
  198. package/es/utils/domOperation.mjs +17 -23
  199. package/es/utils/utils.d.ts +11 -0
  200. package/es/utils/utils.mjs +43 -0
  201. package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.d.ts +2 -0
  202. package/lib/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.js +67 -0
  203. package/lib/components/Chat/ChatKit/components/TUIChat/index.vue.js +1 -1
  204. package/lib/components/Chat/ChatKit/components/TUIChat/index.vue2.js +22 -9
  205. package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue.js +1 -1
  206. package/lib/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue2.js +13 -0
  207. package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/emoji-picker/emoji-picker-dialog.vue.d.ts +1 -1
  208. package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue.js +1 -1
  209. package/lib/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue2.js +13 -13
  210. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue.js +1 -1
  211. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/index.vue2.js +1 -1
  212. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue.js +1 -1
  213. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue2.js +1 -1
  214. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue.js +1 -1
  215. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue.js +1 -1
  216. package/lib/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue2.js +1 -0
  217. package/lib/components/Chat/ChatKit/components/TUIChat/server.d.ts +1 -1
  218. package/lib/components/Chat/ChatKit/components/TUIChat/server.js +12 -3
  219. package/lib/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.js +2 -1
  220. package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue.js +1 -1
  221. package/lib/components/Chat/ChatKit/components/common/BottomPopup/index.vue2.js +2 -2
  222. package/lib/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue.js +1 -1
  223. package/lib/components/Chat/ChatKit/components/common/Overlay/index.vue.js +1 -1
  224. package/lib/components/Chat/ChatKit/components/common/Toast/index.vue.d.ts +1 -1
  225. package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue.js +1 -1
  226. package/lib/components/Chat/ChatKit/components/common/Transfer/index.vue2.js +2 -2
  227. package/lib/components/Chat/ChatKit/locales/en/TUIChat.d.ts +3 -0
  228. package/lib/components/Chat/ChatKit/locales/en/TUIChat.js +5 -2
  229. package/lib/components/Chat/ChatKit/locales/en/index.d.ts +3 -0
  230. package/lib/components/Chat/ChatKit/locales/en/message.js +2 -2
  231. package/lib/components/Chat/ChatKit/locales/index.d.ts +4 -1083
  232. package/lib/components/Chat/ChatKit/locales/index.js +3 -1
  233. package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.d.ts +3 -0
  234. package/lib/components/Chat/ChatKit/locales/zh_cn/TUIChat.js +4 -1
  235. package/lib/components/Chat/ChatKit/locales/zh_cn/index.d.ts +3 -0
  236. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.d.ts +153 -0
  237. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIChat.js +155 -0
  238. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.d.ts +65 -0
  239. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIContact.js +67 -0
  240. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.d.ts +23 -0
  241. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIConversation.js +25 -0
  242. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.d.ts +86 -0
  243. package/lib/components/Chat/ChatKit/locales/zh_tw/TUIGroup.js +88 -0
  244. package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.d.ts +40 -0
  245. package/lib/components/Chat/ChatKit/locales/zh_tw/TUISearch.js +42 -0
  246. package/lib/components/Chat/ChatKit/locales/zh_tw/component.d.ts +20 -0
  247. package/lib/components/Chat/ChatKit/locales/zh_tw/component.js +22 -0
  248. package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.d.ts +3 -0
  249. package/lib/components/Chat/ChatKit/locales/zh_tw/emoji.js +4 -0
  250. package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.d.ts +10 -0
  251. package/lib/components/Chat/ChatKit/locales/zh_tw/evaluate.js +12 -0
  252. package/lib/components/Chat/ChatKit/locales/zh_tw/index.d.ts +513 -0
  253. package/lib/components/Chat/ChatKit/locales/zh_tw/index.js +39 -0
  254. package/lib/components/Chat/ChatKit/locales/zh_tw/message.d.ts +61 -0
  255. package/lib/components/Chat/ChatKit/locales/zh_tw/message.js +63 -0
  256. package/lib/components/Chat/ChatKit/locales/zh_tw/time.d.ts +36 -0
  257. package/lib/components/Chat/ChatKit/locales/zh_tw/time.js +38 -0
  258. package/lib/components/Chat/ChatKit/locales/zh_tw/translate.d.ts +163 -0
  259. package/lib/components/Chat/ChatKit/locales/zh_tw/words.d.ts +13 -0
  260. package/lib/components/Chat/ChatKit/locales/zh_tw/words.js +15 -0
  261. package/lib/components/Chat/ChatKit/utils/riseInput.d.ts +1 -0
  262. package/lib/components/Chat/ChatKit/utils/riseInput.js +45 -0
  263. package/lib/components/Chat/index/index.vue.js +1 -1
  264. package/lib/components/Chat/index/index.vue2.js +2 -17
  265. package/lib/components/ManageMember/MemberControl/useMemberControlHooks.d.ts +2 -2
  266. package/lib/components/ManageMember/MemberControl/useMemberControlHooks.js +3 -3
  267. package/lib/components/ManageMember/MemberInvite/MemberInvite.vue2.js +1 -1
  268. package/lib/components/PreRoom/PasswordDialog.vue.js +1 -1
  269. package/lib/components/PreRoom/PasswordDialog.vue2.js +20 -11
  270. package/lib/components/RoomContent/StreamContainer/index.vue.d.ts +1 -14
  271. package/lib/components/RoomContent/StreamContainer/index.vue.js +1 -1
  272. package/lib/components/RoomContent/StreamContainer/index.vue2.js +109 -260
  273. package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.d.ts +2 -9
  274. package/lib/components/RoomContent/StreamContainer/useStreamContainerHooks.js +11 -0
  275. package/lib/components/RoomContent/index.vue.d.ts +1 -14
  276. package/lib/components/RoomContent/index.vue.js +1 -1
  277. package/lib/components/RoomContent/index.vue2.js +1 -4
  278. package/lib/components/RoomFooter/AIControl.vue.d.ts +1 -5
  279. package/lib/components/RoomFooter/AIControl.vue.js +1 -1
  280. package/lib/components/RoomFooter/AIControl.vue2.js +5 -8
  281. package/lib/components/RoomFooter/ApplyControl/MasterApplyControl/index.vue2.js +1 -1
  282. package/lib/components/RoomFooter/BasicBeauty.vue.js +1 -1
  283. package/lib/components/RoomFooter/BasicBeauty.vue2.js +6 -3
  284. package/lib/components/RoomFooter/ChatControl.vue.js +2 -1
  285. package/lib/components/RoomFooter/EndControl/index.vue.js +1 -1
  286. package/lib/components/RoomFooter/EndControl/index.vue2.js +4 -6
  287. package/lib/components/RoomFooter/EndControl/useEndControlHooks.js +8 -12
  288. package/lib/components/RoomFooter/FullScreenControl.vue.js +1 -1
  289. package/lib/components/RoomFooter/InviteControl.vue.js +1 -1
  290. package/lib/components/RoomFooter/InviteControl.vue2.js +2 -1
  291. package/lib/components/RoomFooter/ManageMemberControl.vue.js +1 -1
  292. package/lib/components/RoomFooter/MoreControl/index.vue.js +1 -1
  293. package/lib/components/RoomFooter/ScreenShareControl/Index.vue.js +1 -1
  294. package/lib/components/RoomFooter/ScreenShareControl/Index.vue2.js +3 -3
  295. package/lib/components/RoomFooter/VirtualBackground.vue.js +1 -1
  296. package/lib/components/RoomFooter/VirtualBackground.vue2.js +5 -2
  297. package/lib/components/RoomFooter/WhiteboardControl.vue.js +13 -3
  298. package/lib/components/RoomFooter/index/index.vue.d.ts +1 -5
  299. package/lib/components/RoomFooter/index/index.vue.js +1 -1
  300. package/lib/components/RoomFooter/index/index.vue2.js +2 -8
  301. package/lib/components/RoomHeader/UserInfo/index.vue.js +1 -1
  302. package/lib/components/RoomHeader/UserInfo/index.vue2.js +3 -2
  303. package/lib/components/RoomHeader/index/LayoutControl.vue2.js +1 -1
  304. package/lib/components/RoomHeader/index/index.vue.d.ts +1 -5
  305. package/lib/components/RoomHeader/index/index.vue.js +1 -1
  306. package/lib/components/RoomHeader/index/index.vue2.js +0 -15
  307. package/lib/components/RoomHome/RoomControl/index.vue.d.ts +0 -5
  308. package/lib/components/RoomHome/RoomControl/index.vue.js +1 -1
  309. package/lib/components/RoomHome/RoomControl/index.vue2.js +1 -2
  310. package/lib/components/RoomInvite/InvitationNotification.vue2.js +1 -1
  311. package/lib/components/RoomInvite/useRoomInviteHooks.js +2 -2
  312. package/lib/components/RoomOverlay/RoomOverlay.vue.js +16 -0
  313. package/lib/components/RoomOverlay/RoomOverlay.vue2.js +4 -0
  314. package/lib/components/RoomOverlay/useRoomOverlayHooks.d.ts +15 -0
  315. package/lib/components/RoomOverlay/useRoomOverlayHooks.js +30 -0
  316. package/lib/components/RoomSidebar/index.vue.js +1 -1
  317. package/lib/components/ScheduleConference/InvitePanel.vue.js +1 -1
  318. package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue.js +1 -1
  319. package/lib/components/ScheduleConference/ScheduleConferencePanel/index.vue2.js +11 -7
  320. package/lib/components/ScheduleConference/ScheduleRoomControl.vue.js +1 -1
  321. package/lib/components/ScheduleConference/ScheduleRoomControl.vue2.js +3 -3
  322. package/lib/components/ScheduleConference/ScheduleRoomList.vue2.js +2 -2
  323. package/lib/components/ScheduleConference/ShareLink.vue2.js +1 -1
  324. package/lib/components/ScheduleConference/TimezonePicker.vue.js +1 -1
  325. package/lib/components/Stream/MultiStreamView/index.vue.d.ts +33 -0
  326. package/lib/components/{Chat/MessageList → Stream/MultiStreamView}/index.vue.js +2 -2
  327. package/lib/components/Stream/MultiStreamView/index.vue2.js +99 -0
  328. package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.d.ts +17 -0
  329. package/lib/components/Stream/MultiStreamView/useMultiStreamViewHook.js +95 -0
  330. package/lib/components/Stream/SingleStreamView/index.vue.d.ts +25 -0
  331. package/lib/components/Stream/SingleStreamView/index.vue.js +30 -0
  332. package/lib/components/Stream/SingleStreamView/index.vue2.js +4 -0
  333. package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue.js +1 -1
  334. package/lib/components/{RoomContent/StreamRegion → Stream/common}/LocalScreenView/index.vue2.js +22 -57
  335. package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.js +1 -1
  336. package/lib/components/Stream/common/StreamList/index.vue.d.ts +27 -0
  337. package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue.js +2 -2
  338. package/lib/components/{RoomContent → Stream/common}/StreamList/index.vue2.js +60 -96
  339. package/{es/components/RoomContent/StreamRegion → lib/components/Stream/common}/StreamPlay/index.vue.d.ts +9 -6
  340. package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue.js +1 -1
  341. package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue2.js +21 -16
  342. package/lib/components/Stream/common/StreamRegion/index.vue.d.ts +25 -0
  343. package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue.js +2 -2
  344. package/lib/components/{RoomContent → Stream/common}/StreamRegion/index.vue2.js +24 -27
  345. package/lib/components/common/Language.vue.js +1 -1
  346. package/lib/components/common/SwitchTheme.vue.js +1 -1
  347. package/lib/components/common/base/Button.vue.d.ts +1 -1
  348. package/lib/components/common/base/Checkbox/index.vue.d.ts +1 -1
  349. package/lib/components/common/base/Dialog/index.vue.d.ts +4 -4
  350. package/lib/components/common/base/IconButton.vue.d.ts +3 -3
  351. package/lib/components/common/base/Input/index.vue.d.ts +4 -4
  352. package/lib/components/common/base/Message/Message.vue.d.ts +4 -4
  353. package/lib/components/common/base/MessageBox/index.vue.d.ts +1 -1
  354. package/lib/components/common/base/Notification/index.vue.d.ts +1 -1
  355. package/lib/components/common/base/Select/index.vue.d.ts +1 -1
  356. package/lib/components/common/base/Select/index.vue2.js +1 -1
  357. package/lib/components/common/base/Slider.vue.d.ts +1 -1
  358. package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue.js +2 -2
  359. package/lib/components/{AITools → common/widgets/AITools}/AISubtitles.vue2.js +8 -7
  360. package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.js +2 -2
  361. package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue2.js +9 -8
  362. package/lib/conference.d.ts +6 -0
  363. package/lib/conference.js +7 -1
  364. package/lib/conference.vue.js +1 -1
  365. package/lib/conference.vue2.js +14 -24
  366. package/lib/extension/chatExtension.js +1 -1
  367. package/lib/extension/utils/interact.js +1 -1
  368. package/lib/extension/utils/setLanguage.js +1 -1
  369. package/lib/hooks/useMasterApplyControl.js +2 -1
  370. package/lib/index.d.ts +1 -0
  371. package/lib/index.js +969 -1197
  372. package/lib/locales/en-US.d.ts +2 -1
  373. package/lib/locales/en-US.js +3 -2
  374. package/lib/locales/zh-CN.d.ts +2 -1
  375. package/lib/locales/zh-CN.js +2 -1
  376. package/lib/preConference.vue.d.ts +5 -0
  377. package/lib/preConference.vue.js +1 -1
  378. package/lib/preConference.vue2.js +6 -3
  379. package/lib/services/index.d.ts +1 -0
  380. package/lib/services/manager/chatManager.d.ts +0 -2
  381. package/lib/services/manager/chatManager.js +6 -12
  382. package/{es/services/manager/MediaManager.d.ts → lib/services/manager/mediaManager.d.ts} +16 -13
  383. package/lib/services/manager/{MediaManager.js → mediaManager.js} +109 -112
  384. package/lib/services/manager/roomActionManager.d.ts +3 -0
  385. package/lib/services/manager/roomActionManager.js +7 -0
  386. package/lib/services/manager/scheduleConferenceManager.d.ts +1 -0
  387. package/lib/services/manager/scheduleConferenceManager.js +23 -0
  388. package/lib/services/manager/trackingManager.d.ts +11 -0
  389. package/lib/services/manager/trackingManager.js +20 -0
  390. package/lib/services/manager/userManager.d.ts +11 -1
  391. package/lib/services/manager/userManager.js +158 -8
  392. package/lib/services/roomService.d.ts +3 -2
  393. package/lib/services/roomService.js +24 -42
  394. package/lib/stores/basic.js +6 -1
  395. package/lib/stores/room.d.ts +29 -1
  396. package/lib/stores/room.js +49 -59
  397. package/lib/utils/domOperation.d.ts +4 -0
  398. package/lib/utils/domOperation.js +17 -23
  399. package/lib/utils/utils.d.ts +11 -0
  400. package/lib/utils/utils.js +43 -0
  401. package/package.json +4 -4
  402. package/src/TUIRoom/components/Chat/ChatKit/CHANGELOG.md +35 -0
  403. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/emoji-config/locales/zh_tw.ts +66 -0
  404. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/index.vue +24 -8
  405. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input/message-input-editor.vue +15 -1
  406. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-input-toolbar/index.vue +13 -13
  407. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/index.vue +1 -1
  408. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/index.vue +2 -1
  409. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/message-tool/message-revoked.vue +4 -6
  410. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/message-list/read-receipt-panel/index.vue +9 -3
  411. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/server.ts +12 -3
  412. package/src/TUIRoom/components/Chat/ChatKit/components/TUIChat/utils/sendMessage.ts +1 -0
  413. package/src/TUIRoom/components/Chat/ChatKit/components/TUIContact/contact-list/index.vue +3 -1
  414. package/src/TUIRoom/components/Chat/ChatKit/components/TUIGroup/manage-group/index.vue +2 -2
  415. package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/index.vue +1 -1
  416. package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/h5.scss +4 -3
  417. package/src/TUIRoom/components/Chat/ChatKit/components/common/BottomPopup/style/modal.scss +0 -2
  418. package/src/TUIRoom/components/Chat/ChatKit/components/common/ImagePreviewer/index.vue +2 -2
  419. package/src/TUIRoom/components/Chat/ChatKit/components/common/Overlay/index.vue +5 -0
  420. package/src/TUIRoom/components/Chat/ChatKit/components/common/Transfer/index.vue +2 -2
  421. package/src/TUIRoom/components/Chat/ChatKit/locales/en/TUIChat.ts +4 -1
  422. package/src/TUIRoom/components/Chat/ChatKit/locales/en/message.ts +2 -2
  423. package/src/TUIRoom/components/Chat/ChatKit/locales/index.ts +9 -3
  424. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_cn/TUIChat.ts +3 -0
  425. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIChat.ts +154 -0
  426. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIContact.ts +66 -0
  427. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIConversation.ts +24 -0
  428. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUIGroup.ts +87 -0
  429. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/TUISearch.ts +41 -0
  430. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/component.ts +21 -0
  431. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/emoji.ts +2 -0
  432. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/evaluate.ts +11 -0
  433. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/index.ts +41 -0
  434. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/message.ts +62 -0
  435. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/time.ts +37 -0
  436. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/translate.ts +164 -0
  437. package/src/TUIRoom/components/Chat/ChatKit/locales/zh_tw/words.ts +14 -0
  438. package/src/TUIRoom/components/Chat/ChatKit/utils/riseInput.ts +53 -0
  439. package/src/TUIRoom/components/Chat/index/index.vue +2 -20
  440. package/src/TUIRoom/components/ManageMember/MemberControl/useMemberControlHooks.ts +7 -4
  441. package/src/TUIRoom/components/PreRoom/PasswordDialog.vue +21 -11
  442. package/src/TUIRoom/components/RoomContent/StreamContainer/index.vue +107 -384
  443. package/src/TUIRoom/components/RoomContent/StreamContainer/useStreamContainerHooks.ts +5 -112
  444. package/src/TUIRoom/components/RoomContent/index.vue +1 -5
  445. package/src/TUIRoom/components/RoomFooter/AIControl.vue +7 -6
  446. package/src/TUIRoom/components/RoomFooter/BasicBeauty.vue +1 -1
  447. package/src/TUIRoom/components/RoomFooter/ChatControl.vue +1 -0
  448. package/src/TUIRoom/components/RoomFooter/EndControl/index.vue +4 -3
  449. package/src/TUIRoom/components/RoomFooter/EndControl/useEndControlHooks.ts +4 -10
  450. package/src/TUIRoom/components/RoomFooter/InviteControl.vue +1 -0
  451. package/src/TUIRoom/components/RoomFooter/ScreenShareControl/Index.vue +3 -3
  452. package/src/TUIRoom/components/RoomFooter/VirtualBackground.vue +1 -1
  453. package/src/TUIRoom/components/RoomFooter/WhiteboardControl.vue +13 -2
  454. package/src/TUIRoom/components/RoomFooter/index/index.vue +0 -6
  455. package/src/TUIRoom/components/RoomHeader/UserInfo/index.vue +2 -5
  456. package/src/TUIRoom/components/RoomHeader/index/index.vue +0 -17
  457. package/src/TUIRoom/components/RoomHome/RoomControl/index.vue +0 -2
  458. package/src/TUIRoom/components/RoomInvite/useRoomInviteHooks.ts +2 -2
  459. package/src/TUIRoom/components/RoomOverlay/RoomOverlay.vue +13 -0
  460. package/src/TUIRoom/components/RoomOverlay/useRoomOverlayHooks.ts +21 -0
  461. package/src/TUIRoom/components/RoomSidebar/index.vue +1 -1
  462. package/src/TUIRoom/components/ScheduleConference/InvitePanel.vue +1 -0
  463. package/src/TUIRoom/components/ScheduleConference/ScheduleConferencePanel/index.vue +10 -4
  464. package/src/TUIRoom/components/ScheduleConference/ScheduleRoomControl.vue +1 -0
  465. package/src/TUIRoom/components/Stream/MultiStreamView/index.vue +161 -0
  466. package/src/TUIRoom/components/Stream/MultiStreamView/useMultiStreamViewHook.ts +107 -0
  467. package/src/TUIRoom/components/Stream/SingleStreamView/index.vue +32 -0
  468. package/src/TUIRoom/components/Stream/common/LocalScreenView/index.vue +150 -0
  469. package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue +1 -6
  470. package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamList/index.vue +74 -124
  471. package/src/TUIRoom/components/{RoomContent/StreamRegion → Stream/common}/StreamPlay/index.vue +28 -13
  472. package/src/TUIRoom/components/{RoomContent → Stream/common}/StreamRegion/index.vue +27 -32
  473. package/src/TUIRoom/components/common/base/Swiper.vue +20 -6
  474. package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AISubtitles.vue +2 -2
  475. package/src/TUIRoom/components/{AITools → common/widgets/AITools}/AITranscription.vue +3 -3
  476. package/src/TUIRoom/conference.ts +14 -0
  477. package/src/TUIRoom/conference.vue +10 -23
  478. package/src/TUIRoom/hooks/useMasterApplyControl.ts +2 -1
  479. package/src/TUIRoom/index.ts +3 -1
  480. package/src/TUIRoom/locales/en-US.ts +4 -3
  481. package/src/TUIRoom/locales/zh-CN.ts +3 -1
  482. package/src/TUIRoom/preConference.vue +3 -1
  483. package/src/TUIRoom/services/index.ts +1 -0
  484. package/src/TUIRoom/services/manager/chatManager.ts +7 -16
  485. package/src/TUIRoom/services/manager/{MediaManager.ts → mediaManager.ts} +125 -136
  486. package/src/TUIRoom/services/manager/roomActionManager.ts +5 -0
  487. package/src/TUIRoom/services/manager/scheduleConferenceManager.ts +24 -1
  488. package/src/TUIRoom/services/manager/trackingManager.ts +22 -0
  489. package/src/TUIRoom/services/manager/userManager.ts +201 -7
  490. package/src/TUIRoom/services/roomService.ts +5 -24
  491. package/src/TUIRoom/stores/basic.ts +6 -0
  492. package/src/TUIRoom/stores/room.ts +60 -71
  493. package/src/TUIRoom/utils/domOperation.ts +27 -0
  494. package/src/TUIRoom/utils/utils.ts +61 -0
  495. package/es/components/Chat/ChatEditor/index.vue.mjs +0 -7
  496. package/es/components/Chat/ChatEditor/index.vue2.mjs +0 -45
  497. package/es/components/Chat/ChatEditor/useChatEditor.mjs +0 -83
  498. package/es/components/Chat/EditorTools/index.vue.d.ts +0 -6
  499. package/es/components/Chat/EditorTools/index.vue.mjs +0 -7
  500. package/es/components/Chat/EditorTools/index.vue2.mjs +0 -59
  501. package/es/components/Chat/MessageList/index.vue2.mjs +0 -101
  502. package/es/components/Chat/MessageList/useMessageListHook.mjs +0 -142
  503. package/es/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
  504. package/es/components/Chat/MessageTypes/MessageText.vue.mjs +0 -7
  505. package/es/components/Chat/MessageTypes/MessageText.vue2.mjs +0 -31
  506. package/es/components/Chat/util.mjs +0 -432
  507. package/es/components/RoomContent/StreamList/index.vue.d.ts +0 -39
  508. package/es/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
  509. package/es/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
  510. package/es/components/common/icons/EmojiIcon.vue.mjs +0 -21
  511. package/lib/components/Chat/ChatEditor/index.vue.js +0 -7
  512. package/lib/components/Chat/ChatEditor/index.vue2.js +0 -45
  513. package/lib/components/Chat/ChatEditor/useChatEditor.js +0 -83
  514. package/lib/components/Chat/EditorTools/index.vue.d.ts +0 -6
  515. package/lib/components/Chat/EditorTools/index.vue.js +0 -7
  516. package/lib/components/Chat/EditorTools/index.vue2.js +0 -59
  517. package/lib/components/Chat/MessageList/index.vue.d.ts +0 -2
  518. package/lib/components/Chat/MessageList/index.vue2.js +0 -101
  519. package/lib/components/Chat/MessageList/useMessageListHook.js +0 -142
  520. package/lib/components/Chat/MessageTypes/MessageText.vue.d.ts +0 -8
  521. package/lib/components/Chat/MessageTypes/MessageText.vue.js +0 -7
  522. package/lib/components/Chat/MessageTypes/MessageText.vue2.js +0 -31
  523. package/lib/components/Chat/util.js +0 -432
  524. package/lib/components/RoomContent/StreamList/index.vue.d.ts +0 -39
  525. package/lib/components/RoomContent/StreamRegion/LocalScreenView/index.vue.d.ts +0 -14
  526. package/lib/components/RoomContent/StreamRegion/index.vue.d.ts +0 -42
  527. package/lib/components/common/icons/EmojiIcon.vue.d.ts +0 -2
  528. package/lib/components/common/icons/EmojiIcon.vue.js +0 -21
  529. /package/es/components/{AITools/AISubtitles.vue.d.ts → RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
  530. /package/es/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
  531. /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
  532. /package/es/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.mjs +0 -0
  533. /package/{lib/components → es/components/common/widgets}/AITools/AISubtitles.vue.d.ts +0 -0
  534. /package/es/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
  535. /package/{es/components/Chat/MessageList/index.vue.d.ts → lib/components/RoomOverlay/RoomOverlay.vue.d.ts} +0 -0
  536. /package/lib/components/{Chat/ChatEditor → Stream/common/LocalScreenView}/index.vue.d.ts +0 -0
  537. /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue.d.ts +0 -0
  538. /package/lib/components/{RoomContent/StreamRegion → Stream/common}/StreamCover/index.vue2.js +0 -0
  539. /package/{es/components/common/icons/EmojiIcon.vue.d.ts → lib/components/common/widgets/AITools/AISubtitles.vue.d.ts} +0 -0
  540. /package/lib/components/{AITools → common/widgets/AITools}/AITranscription.vue.d.ts +0 -0
@@ -4,7 +4,7 @@ import useSideBar from "./useSideBarHooks.mjs";
4
4
  import ManageMember from "../ManageMember/index.vue.mjs";
5
5
  import RoomMore from "../RoomMore/index.vue.mjs";
6
6
  import Chat from "../Chat/index/index.vue.mjs";
7
- import AITranscription from "../AITools/AITranscription.vue.mjs";
7
+ import AITranscription from "../common/widgets/AITools/AITranscription.vue.mjs";
8
8
  const _hoisted_1 = { class: "sidebar-container" };
9
9
  const _sfc_main = /* @__PURE__ */ defineComponent({
10
10
  __name: "index",
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./InvitePanel.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const InvitePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3b38c13e"]]);
4
+ const InvitePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-50de092b"]]);
5
5
  export {
6
6
  InvitePanel as default
7
7
  };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const ScheduleConferencePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-4728cd03"]]);
4
+ const ScheduleConferencePanel = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9348c289"]]);
5
5
  export {
6
6
  ScheduleConferencePanel as default
7
7
  };
@@ -21,11 +21,11 @@ import "../../../services/main.mjs";
21
21
  import { roomService } from "../../../services/roomService.mjs";
22
22
  import { EventType } from "../../../services/types.mjs";
23
23
  import { TUISeatMode, TUIConferenceStatus } from "@tencentcloud/tuiroom-engine-electron";
24
+ import "../../../utils/environment.mjs";
25
+ import { deepClone, calculateByteLength } from "../../../utils/utils.mjs";
24
26
  import "mitt";
25
27
  import "../../../services/manager/roomActionManager.mjs";
26
28
  import "@tencentcloud/tui-core";
27
- import "../../../utils/environment.mjs";
28
- import { deepClone, calculateByteLength } from "../../../utils/utils.mjs";
29
29
  import { PASSWORD_MAX_LENGTH_LIMIT } from "../../../constants/room.mjs";
30
30
  import { invalidDigitalPasswordRegex } from "../../../utils/common.mjs";
31
31
  import { getDateAndTime, convertToTimestamp, calculateEndTime } from "../scheduleUtils.mjs";
@@ -95,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
95
95
  const passwordChecked = ref(false);
96
96
  const isEditMode = computed(() => !!props.conferenceInfo);
97
97
  const roomId = ref("");
98
- let contacts = [];
98
+ const contacts = ref([]);
99
99
  const { date: startDate, laterTime: startTime } = getDateAndTime(/* @__PURE__ */ new Date());
100
100
  const defaultFormData = ref({
101
101
  roomName: t("sb temporary room", {
@@ -134,7 +134,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
134
134
  });
135
135
  form.value.startDate = date;
136
136
  form.value.startTime = laterTime;
137
- contacts = await roomService.scheduleConferenceManager.fetchFriendList();
137
+ contacts.value = await roomService.scheduleConferenceManager.fetchFriendList();
138
138
  isEditMode.value && (form.value = Object.assign({}, deepClone(editParams.value)));
139
139
  }
140
140
  },
@@ -321,7 +321,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
321
321
  };
322
322
  const searchScheduleAttend = (v) => {
323
323
  if (!v) return [];
324
- return contacts.filter(
324
+ return contacts.value.filter(
325
325
  (user) => (user == null ? void 0 : user.profile.nick.includes(v)) || (user == null ? void 0 : user.userID.includes(v))
326
326
  );
327
327
  };
@@ -346,12 +346,15 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
346
346
  const contactsConfirm = (contacts2) => {
347
347
  form.value.scheduleAttendees = contacts2;
348
348
  };
349
+ let scheduleConferenceInProgress = false;
349
350
  const scheduleConference = async () => {
351
+ if (scheduleConferenceInProgress) return;
350
352
  if (!timeCheck()) return;
351
353
  if (!roomNameCheck()) return;
352
354
  if (!roomPasswordCheck()) return;
353
- roomId.value = String(Math.ceil(Math.random() * 1e6));
355
+ scheduleConferenceInProgress = true;
354
356
  try {
357
+ roomId.value = await roomService.scheduleConferenceManager.generateRoomId();
355
358
  await roomService.scheduleConferenceManager.scheduleConference({
356
359
  ...scheduleParams.value,
357
360
  roomId: roomId.value
@@ -374,6 +377,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
374
377
  message: err.message
375
378
  });
376
379
  }
380
+ scheduleConferenceInProgress = false;
377
381
  };
378
382
  const compareArrays = (oldArray, newArray, key) => {
379
383
  const added = [];
@@ -682,7 +686,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
682
686
  }, 8, ["visible", "title"]),
683
687
  createVNode(Contacts, {
684
688
  visible: contactsVisible.value,
685
- contacts: unref(contacts),
689
+ contacts: contacts.value,
686
690
  "selected-list": scheduleParams.value.scheduleAttendees,
687
691
  onInput: _cache[12] || (_cache[12] = ($event) => contactsVisible.value = $event),
688
692
  onConfirm: contactsConfirm
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./ScheduleRoomControl.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const ScheduleRoomControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-2b6e52c3"]]);
4
+ const ScheduleRoomControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-043bf927"]]);
5
5
  export {
6
6
  ScheduleRoomControl as default
7
7
  };
@@ -4,11 +4,11 @@ import "../../services/main.mjs";
4
4
  import { roomService } from "../../services/roomService.mjs";
5
5
  import logger from "../../utils/common/logger/index.mjs";
6
6
  import { useI18n } from "../../locales/index.mjs";
7
+ import { isMobile } from "../../utils/environment.mjs";
8
+ import { convertSecondsToHMS, getUrlWithRoomId } from "../../utils/utils.mjs";
7
9
  import "mitt";
8
10
  import "../../services/manager/roomActionManager.mjs";
9
11
  import "@tencentcloud/tui-core";
10
- import { isMobile } from "../../utils/environment.mjs";
11
- import { convertSecondsToHMS, getUrlWithRoomId } from "../../utils/utils.mjs";
12
12
  import useRoomInfo from "../RoomHeader/RoomInfo/useRoomInfoHooks.mjs";
13
13
  import SvgIcon from "../common/base/SvgIcon.vue.mjs";
14
14
  import Dialog from "../common/base/Dialog/index.vue.mjs";
@@ -26,7 +26,7 @@ import { storeToRefs } from "pinia";
26
26
  import ConferenceDetail from "./ConferenceDetail.vue.mjs";
27
27
  import InvitePanel from "./InvitePanel.vue.mjs";
28
28
  import PanelContainer from "./PanelContainer.vue.mjs";
29
- const _withScopeId = (n) => (pushScopeId("data-v-2b6e52c3"), n = n(), popScopeId(), n);
29
+ const _withScopeId = (n) => (pushScopeId("data-v-043bf927"), n = n(), popScopeId(), n);
30
30
  const _hoisted_1 = { class: "schedule-room-control" };
31
31
  const _hoisted_2 = ["title"];
32
32
  const _hoisted_3 = { class: "schedule-title-text" };
@@ -4,11 +4,11 @@ import { roomService } from "../../services/roomService.mjs";
4
4
  import { EventType } from "../../services/types.mjs";
5
5
  import { useI18n } from "../../locales/index.mjs";
6
6
  import { TUIConferenceListManagerEvents } from "@tencentcloud/tuiroom-engine-electron";
7
+ import { isMobile } from "../../utils/environment.mjs";
8
+ import { objectMerge } from "../../utils/utils.mjs";
7
9
  import "mitt";
8
10
  import "../../services/manager/roomActionManager.mjs";
9
11
  import "@tencentcloud/tui-core";
10
- import { isMobile } from "../../utils/environment.mjs";
11
- import { objectMerge } from "../../utils/utils.mjs";
12
12
  import SvgIcon from "../common/base/SvgIcon.vue.mjs";
13
13
  import CalendarIcon from "../common/icons/CalendarIcon.vue.mjs";
14
14
  import ApplyStageLabelIcon from "../common/icons/ApplyStageLabelIcon.vue.mjs";
@@ -12,10 +12,10 @@ import { useBasicStore } from "../../stores/basic.mjs";
12
12
  import "../../services/main.mjs";
13
13
  import { roomService } from "../../services/roomService.mjs";
14
14
  import "@tencentcloud/tuiroom-engine-electron";
15
+ import "../../utils/environment.mjs";
15
16
  import "mitt";
16
17
  import "../../services/manager/roomActionManager.mjs";
17
18
  import "@tencentcloud/tui-core";
18
- import "../../utils/environment.mjs";
19
19
  const _hoisted_1 = { class: "invite-member" };
20
20
  const _hoisted_2 = { class: "invite-member-title" };
21
21
  const _hoisted_3 = { class: "invite-member-item" };
@@ -6,10 +6,10 @@ import { roomService } from "../../services/roomService.mjs";
6
6
  import { EventType } from "../../services/types.mjs";
7
7
  import "../../locales/index.mjs";
8
8
  import "@tencentcloud/tuiroom-engine-electron";
9
+ import "../../utils/environment.mjs";
9
10
  import "mitt";
10
11
  import "../../services/manager/roomActionManager.mjs";
11
12
  import "@tencentcloud/tui-core";
12
- import "../../utils/environment.mjs";
13
13
  const _hoisted_1 = { class: "container" };
14
14
  const _sfc_main = /* @__PURE__ */ defineComponent({
15
15
  __name: "TimezonePicker",
@@ -0,0 +1,33 @@
1
+ import { TUIVideoStreamType } from '@tencentcloud/tuiroom-engine-electron';
2
+
3
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
4
+ maxColumn: number;
5
+ maxRow: number;
6
+ fillMode?: "fill" | "contain";
7
+ excludeStreamInfoList?: {
8
+ userId: string;
9
+ streamType: TUIVideoStreamType;
10
+ }[];
11
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "stream-view-dblclick": (...args: any[]) => void;
13
+ }, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
14
+ maxColumn: number;
15
+ maxRow: number;
16
+ fillMode?: "fill" | "contain";
17
+ excludeStreamInfoList?: {
18
+ userId: string;
19
+ streamType: TUIVideoStreamType;
20
+ }[];
21
+ }>>> & {
22
+ "onStream-view-dblclick"?: ((...args: any[]) => any) | undefined;
23
+ }, {}, {}>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const MessageList = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-397f419c"]]);
4
+ const MultiStreamView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5178602f"]]);
5
5
  export {
6
- MessageList as default
6
+ MultiStreamView as default
7
7
  };
@@ -0,0 +1,99 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, createVNode, unref, withDirectives, createElementVNode, vShow, createCommentVNode } from "vue";
2
+ import ArrowStrokeTurnPageIcon from "../../common/icons/ArrowStrokeTurnPageIcon.vue.mjs";
3
+ import SvgIcon from "../../common/base/SvgIcon.vue.mjs";
4
+ import StreamList from "../common/StreamList/index.vue.mjs";
5
+ import { StreamPlayMode, StreamPlayQuality } from "../../../services/manager/mediaManager.mjs";
6
+ import useMultiStreamViewHook from "./useMultiStreamViewHook.mjs";
7
+ import { storeToRefs } from "pinia";
8
+ import { useBasicStore } from "../../../stores/basic.mjs";
9
+ const _hoisted_1 = { id: "streamContainer" };
10
+ const _hoisted_2 = {
11
+ key: 0,
12
+ class: "turn-page-container"
13
+ };
14
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15
+ __name: "index",
16
+ props: {
17
+ maxColumn: {},
18
+ maxRow: {},
19
+ fillMode: {},
20
+ excludeStreamInfoList: {}
21
+ },
22
+ emits: ["stream-view-dblclick"],
23
+ setup(__props, { emit: __emit }) {
24
+ const props = __props;
25
+ const {
26
+ column,
27
+ row,
28
+ totalPageNumber,
29
+ isEqualPointsLayout,
30
+ renderStreamInfoList,
31
+ equalPointsLayoutStreamList,
32
+ currentPageIndex
33
+ } = useMultiStreamViewHook(props);
34
+ const basicStore = useBasicStore();
35
+ const { showRoomTool } = storeToRefs(basicStore);
36
+ const streamInfoList = computed(() => {
37
+ if (isEqualPointsLayout.value) {
38
+ return equalPointsLayoutStreamList.value[currentPageIndex.value];
39
+ }
40
+ return renderStreamInfoList.value;
41
+ });
42
+ const emits = __emit;
43
+ function handleStreamDblclick(streamInfo) {
44
+ emits("stream-view-dblclick", streamInfo);
45
+ }
46
+ const showTurnPageControl = computed(
47
+ () => isEqualPointsLayout.value && totalPageNumber.value > 1
48
+ );
49
+ const showTurnPageLeftArrow = computed(
50
+ () => isEqualPointsLayout.value && currentPageIndex.value > 0
51
+ );
52
+ const showTurnPageRightArrow = computed(
53
+ () => isEqualPointsLayout.value && currentPageIndex.value < totalPageNumber.value - 1
54
+ );
55
+ function handleTurnPageLeft() {
56
+ currentPageIndex.value = currentPageIndex.value - 1;
57
+ }
58
+ function handleTurnPageRight() {
59
+ currentPageIndex.value = currentPageIndex.value + 1;
60
+ }
61
+ return (_ctx, _cache) => {
62
+ return openBlock(), createElementBlock("div", _hoisted_1, [
63
+ createVNode(StreamList, {
64
+ streamInfoList: streamInfoList.value,
65
+ column: unref(column),
66
+ row: unref(row),
67
+ streamPlayMode: unref(StreamPlayMode).PLAY_IN_VISIBLE,
68
+ streamPlayQuality: unref(StreamPlayQuality).Default,
69
+ "aspect-ratio": "16:9",
70
+ onStreamViewDblclick: handleStreamDblclick
71
+ }, null, 8, ["streamInfoList", "column", "row", "streamPlayMode", "streamPlayQuality"]),
72
+ showTurnPageControl.value && unref(showRoomTool) ? (openBlock(), createElementBlock("div", _hoisted_2, [
73
+ withDirectives(createElementVNode("div", {
74
+ class: "turn-page-arrow-container left-container",
75
+ onClick: handleTurnPageLeft
76
+ }, [
77
+ createVNode(SvgIcon, { icon: ArrowStrokeTurnPageIcon })
78
+ ], 512), [
79
+ [vShow, showTurnPageLeftArrow.value]
80
+ ]),
81
+ withDirectives(createElementVNode("div", {
82
+ class: "turn-page-arrow-container right-container",
83
+ onClick: handleTurnPageRight
84
+ }, [
85
+ createVNode(SvgIcon, {
86
+ class: "turn-page-right",
87
+ icon: ArrowStrokeTurnPageIcon
88
+ })
89
+ ], 512), [
90
+ [vShow, showTurnPageRightArrow.value]
91
+ ])
92
+ ])) : createCommentVNode("", true)
93
+ ]);
94
+ };
95
+ }
96
+ });
97
+ export {
98
+ _sfc_main as default
99
+ };
@@ -0,0 +1,17 @@
1
+ import { ComputedRef } from 'vue';
2
+ import { StreamInfo } from '../../../stores/room';
3
+
4
+ export default function useMultiStreamViewHook(props: any): {
5
+ column: ComputedRef<any>;
6
+ row: ComputedRef<any>;
7
+ isHorizontalInfinityLayout: ComputedRef<boolean>;
8
+ isVerticalInfinityLayout: ComputedRef<boolean>;
9
+ isEqualPointsLayout: ComputedRef<boolean>;
10
+ maxCountEveryPage: ComputedRef<number>;
11
+ streamList: any;
12
+ renderStreamInfoList: ComputedRef<StreamInfo[]>;
13
+ equalPointsLayoutStreamList: ComputedRef<StreamInfo[][]>;
14
+ totalStreamNumber: ComputedRef<any>;
15
+ totalPageNumber: ComputedRef<number>;
16
+ currentPageIndex: import('vue').Ref<number>;
17
+ };
@@ -0,0 +1,95 @@
1
+ import { computed, ref, watch } from "vue";
2
+ import { useRoomStore } from "../../../stores/room.mjs";
3
+ import { storeToRefs } from "pinia";
4
+ function useMultiStreamViewHook(props) {
5
+ const roomStore = useRoomStore();
6
+ const { streamList } = storeToRefs(roomStore);
7
+ const isHorizontalInfinityLayout = computed(
8
+ () => props.maxColumn === Infinity
9
+ );
10
+ const isVerticalInfinityLayout = computed(() => props.maxRow === Infinity);
11
+ const isEqualPointsLayout = computed(
12
+ () => props.maxColumn !== Infinity && props.maxRow !== Infinity
13
+ );
14
+ const column = computed(() => {
15
+ if (props.maxColumn === Infinity) {
16
+ return props.maxColumn;
17
+ }
18
+ return Math.min(
19
+ Math.ceil(Math.sqrt(renderStreamInfoList.value.length)),
20
+ props.maxColumn
21
+ );
22
+ });
23
+ const row = computed(() => {
24
+ if (props.maxRow === Infinity) {
25
+ return props.maxRow;
26
+ }
27
+ return Math.min(
28
+ Math.ceil(renderStreamInfoList.value.length / column.value),
29
+ props.maxRow
30
+ );
31
+ });
32
+ const currentPageIndex = ref(0);
33
+ const maxCountEveryPage = computed(() => props.maxColumn * props.maxRow);
34
+ const renderStreamInfoList = computed(() => {
35
+ if (props.streamInfoList) {
36
+ return props.streamInfoList;
37
+ }
38
+ return streamList.value.filter(
39
+ (item1) => {
40
+ var _a;
41
+ return !((_a = props.excludeStreamInfoList) == null ? void 0 : _a.find(
42
+ (item2) => item2.userId === item1.userId && item2.streamType === item1.streamType
43
+ ));
44
+ }
45
+ );
46
+ });
47
+ watch(
48
+ () => renderStreamInfoList.value.length,
49
+ (val) => {
50
+ if (isEqualPointsLayout.value) {
51
+ if (currentPageIndex.value > 0 && currentPageIndex.value > Math.ceil(val / maxCountEveryPage.value) - 1) {
52
+ currentPageIndex.value = Math.ceil(val / maxCountEveryPage.value) - 1;
53
+ }
54
+ }
55
+ }
56
+ );
57
+ const totalStreamNumber = computed(() => {
58
+ return streamList.value.length;
59
+ });
60
+ const equalPointsLayoutStreamList = computed(
61
+ () => {
62
+ if (isEqualPointsLayout.value) {
63
+ return [...new Array(totalPageNumber.value).keys()].map(
64
+ (pageIndex) => {
65
+ return renderStreamInfoList.value.slice(
66
+ pageIndex * maxCountEveryPage.value,
67
+ (pageIndex + 1) * maxCountEveryPage.value
68
+ );
69
+ }
70
+ );
71
+ }
72
+ return [[]];
73
+ }
74
+ );
75
+ const totalPageNumber = computed(
76
+ () => Math.ceil(renderStreamInfoList.value.length / maxCountEveryPage.value)
77
+ );
78
+ return {
79
+ column,
80
+ row,
81
+ isHorizontalInfinityLayout,
82
+ isVerticalInfinityLayout,
83
+ isEqualPointsLayout,
84
+ maxCountEveryPage,
85
+ streamList,
86
+ renderStreamInfoList,
87
+ equalPointsLayoutStreamList,
88
+ totalStreamNumber,
89
+ totalPageNumber,
90
+ currentPageIndex
91
+ };
92
+ }
93
+ export {
94
+ useMultiStreamViewHook as default
95
+ };
@@ -0,0 +1,25 @@
1
+ import { TUIVideoStreamType } from '@tencentcloud/tuiroom-engine-electron';
2
+
3
+ interface Props {
4
+ streamInfo?: {
5
+ userId: string;
6
+ streamType: TUIVideoStreamType;
7
+ };
8
+ fillMode?: 'fill' | 'contain';
9
+ supportTouchScale?: boolean;
10
+ }
11
+ declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<Props>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ "stream-view-dblclick": (...args: any[]) => void;
13
+ }, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<Props>>> & {
14
+ "onStream-view-dblclick"?: ((...args: any[]) => any) | undefined;
15
+ }, {}, {}>;
16
+ export default _default;
17
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
+ type __VLS_TypePropsToRuntimeProps<T> = {
19
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
20
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
21
+ } : {
22
+ type: import('vue').PropType<T[K]>;
23
+ required: true;
24
+ };
25
+ };
@@ -0,0 +1,30 @@
1
+ import { defineComponent, ref, openBlock, createBlock, unref, createCommentVNode } from "vue";
2
+ import StreamRegion from "../common/StreamRegion/index.vue.mjs";
3
+ import { isPC } from "../../../utils/environment.mjs";
4
+ import { StreamPlayQuality } from "../../../services/manager/mediaManager.mjs";
5
+ const _sfc_main = /* @__PURE__ */ defineComponent({
6
+ __name: "index",
7
+ props: {
8
+ streamInfo: {},
9
+ fillMode: {},
10
+ supportTouchScale: { type: Boolean }
11
+ },
12
+ emits: ["stream-view-dblclick"],
13
+ setup(__props) {
14
+ const aspectRatio = ref(isPC ? "16:9" : "auto");
15
+ return (_ctx, _cache) => {
16
+ return _ctx.streamInfo ? (openBlock(), createBlock(StreamRegion, {
17
+ key: 0,
18
+ "stream-info": _ctx.streamInfo,
19
+ "fill-mode": _ctx.fillMode,
20
+ "support-touch-scale": _ctx.supportTouchScale,
21
+ "stream-play-quality": unref(StreamPlayQuality).HIGH,
22
+ "aspect-ratio": aspectRatio.value,
23
+ onStreamViewDblclick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("stream-view-dblclick"))
24
+ }, null, 8, ["stream-info", "fill-mode", "support-touch-scale", "stream-play-quality", "aspect-ratio"])) : createCommentVNode("", true);
25
+ };
26
+ }
27
+ });
28
+ export {
29
+ _sfc_main as default
30
+ };
@@ -0,0 +1,4 @@
1
+ import _sfc_main from "./index.vue.mjs";
2
+ export {
3
+ _sfc_main as default
4
+ };
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const LocalScreenView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-222da582"]]);
4
+ const LocalScreenView = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-f3e45334"]]);
5
5
  export {
6
6
  LocalScreenView as default
7
7
  };
@@ -1,41 +1,19 @@
1
- import { defineComponent, ref, computed, onMounted, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, toDisplayString, unref, withCtx, createTextVNode, createBlock, createCommentVNode } from "vue";
2
- import { storeToRefs } from "pinia";
3
- import { ipcRenderer } from "electron";
1
+ import { defineComponent, ref, onMounted, onBeforeUnmount, openBlock, createElementBlock, createElementVNode, normalizeClass, createVNode, toDisplayString, unref, withCtx, createTextVNode } from "vue";
4
2
  import SvgIcon from "../../../common/base/SvgIcon.vue.mjs";
5
3
  import ScreenSharingIcon from "../../../common/icons/ScreenSharingIcon.vue.mjs";
6
4
  import TuiButton from "../../../common/base/Button.vue.mjs";
7
5
  import Dialog from "../../../common/base/Dialog/index.vue.mjs";
8
6
  import bus from "../../../../hooks/useMitt.mjs";
9
7
  import { useI18n } from "../../../../locales/index.mjs";
10
- import { useRoomStore } from "../../../../stores/room.mjs";
11
- import { MetricsKey } from "../../../../services/manager/dataReportManager.mjs";
12
- import "../../../../services/main.mjs";
13
- import { roomService } from "../../../../services/roomService.mjs";
14
- import "@tencentcloud/tuiroom-engine-electron";
15
- import "mitt";
16
- import "../../../../services/manager/roomActionManager.mjs";
17
- import "@tencentcloud/tui-core";
18
- import "../../../../utils/environment.mjs";
19
- const _hoisted_1 = { class: "local-screen-container" };
20
- const _hoisted_2 = { class: "local-screen-info" };
21
- const _hoisted_3 = { class: "text" };
8
+ const _hoisted_1 = { class: "local-screen-info" };
9
+ const _hoisted_2 = { class: "text" };
22
10
  const _sfc_main = /* @__PURE__ */ defineComponent({
23
11
  __name: "index",
24
- props: {
25
- isMiniRegion: { type: Boolean }
26
- },
27
12
  setup(__props) {
28
- var _a;
29
- const roomStore = useRoomStore();
30
13
  const { t } = useI18n();
31
14
  const showStopShareRegion = ref(false);
32
- const { isAnnotationVisiable, isSharingScreen } = storeToRefs(roomStore);
33
- const annotationSwitchLabel = computed(() => {
34
- return isAnnotationVisiable.value ? t("End annotating") : t("Start annotating");
35
- });
36
- onMounted(() => {
37
- isAnnotationVisiable.value = false;
38
- });
15
+ const localScreenContainerRef = ref();
16
+ const isMiniRegion = ref(false);
39
17
  function openStopConfirmDialog() {
40
18
  showStopShareRegion.value = true;
41
19
  }
@@ -43,30 +21,28 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
43
21
  showStopShareRegion.value = false;
44
22
  bus.emit("ScreenShare:stopScreenShare");
45
23
  }
46
- function toggleAnnotationWindow() {
47
- var _a2, _b;
48
- if (isAnnotationVisiable.value) {
49
- (_a2 = ipcRenderer) == null ? void 0 : _a2.send("annotation:stop-annotating");
50
- isAnnotationVisiable.value = false;
51
- roomService.dataReportManager.reportCount(MetricsKey.stopAnnotating);
52
- } else {
53
- (_b = ipcRenderer) == null ? void 0 : _b.send("annotation:start-annotating");
54
- isAnnotationVisiable.value = true;
55
- roomService.dataReportManager.reportCount(MetricsKey.startAnnotating);
56
- }
57
- }
58
- (_a = ipcRenderer) == null ? void 0 : _a.on("annotation:stop-from-annotation-window", () => {
59
- isAnnotationVisiable.value = false;
60
- roomService.dataReportManager.reportCount(MetricsKey.stopAnnotating);
24
+ const resizeObserver = new ResizeObserver(() => {
25
+ var _a;
26
+ isMiniRegion.value = ((_a = localScreenContainerRef.value) == null ? void 0 : _a.offsetHeight) <= 200;
27
+ });
28
+ onMounted(() => {
29
+ resizeObserver.observe(localScreenContainerRef.value);
30
+ });
31
+ onBeforeUnmount(() => {
32
+ resizeObserver.unobserve(localScreenContainerRef.value);
61
33
  });
62
34
  return (_ctx, _cache) => {
63
- return openBlock(), createElementBlock("div", _hoisted_1, [
35
+ return openBlock(), createElementBlock("div", {
36
+ class: "local-screen-container",
37
+ ref_key: "localScreenContainerRef",
38
+ ref: localScreenContainerRef
39
+ }, [
64
40
  createElementVNode("div", {
65
- class: normalizeClass(["local-screen-control-container", { mini: _ctx.isMiniRegion }])
41
+ class: normalizeClass(["local-screen-control-container", { mini: isMiniRegion.value }])
66
42
  }, [
67
- createElementVNode("div", _hoisted_2, [
43
+ createElementVNode("div", _hoisted_1, [
68
44
  createVNode(SvgIcon, { icon: ScreenSharingIcon }),
69
- createElementVNode("span", _hoisted_3, toDisplayString(unref(t)("You are sharing the screen...")), 1)
45
+ createElementVNode("span", _hoisted_2, toDisplayString(unref(t)("You are sharing the screen...")), 1)
70
46
  ]),
71
47
  createVNode(TuiButton, {
72
48
  size: "default",
@@ -78,17 +54,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
78
54
  ]),
79
55
  _: 1
80
56
  }),
81
- unref(isSharingScreen) ? (openBlock(), createBlock(TuiButton, {
82
- key: 0,
83
- size: "default",
84
- class: "toggle-annotating-button",
85
- onClick: toggleAnnotationWindow
86
- }, {
87
- default: withCtx(() => [
88
- createTextVNode(toDisplayString(annotationSwitchLabel.value), 1)
89
- ]),
90
- _: 1
91
- })) : createCommentVNode("", true),
92
57
  createVNode(Dialog, {
93
58
  modelValue: showStopShareRegion.value,
94
59
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => showStopShareRegion.value = $event),
@@ -130,7 +95,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
130
95
  _: 1
131
96
  }, 8, ["modelValue", "title"])
132
97
  ], 2)
133
- ]);
98
+ ], 512);
134
99
  };
135
100
  }
136
101
  });
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./index.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const StreamCover = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7f0544c7"]]);
4
+ const StreamCover = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-fad4ad60"]]);
5
5
  export {
6
6
  StreamCover as default
7
7
  };