@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
@@ -3,6 +3,12 @@ import { TUIVideoQuality, TUISeatMode, TUIVideoStreamType, TUIRole, TUIMediaDevi
3
3
  import { useBasicStore } from "./basic.mjs";
4
4
  import { set, del } from "../utils/vue.mjs";
5
5
  import { isMobile } from "../utils/environment.mjs";
6
+ import "../services/main.mjs";
7
+ import { roomService } from "../services/roomService.mjs";
8
+ import "../locales/index.mjs";
9
+ import "mitt";
10
+ import "../services/manager/roomActionManager.mjs";
11
+ import "@tencentcloud/tui-core";
6
12
  function getNewStreamInfo(userId, streamType) {
7
13
  const newStreamInfo = {
8
14
  userId,
@@ -10,7 +16,8 @@ function getNewStreamInfo(userId, streamType) {
10
16
  hasVideoStream: false,
11
17
  streamType: streamType || TUIVideoStreamType.kCameraStream,
12
18
  isLoading: false,
13
- playDomList: []
19
+ playDomMap: /* @__PURE__ */ new Map(),
20
+ timestamp: Date.now()
14
21
  };
15
22
  return newStreamInfo;
16
23
  }
@@ -29,7 +36,8 @@ function getNewUserInfo(userId) {
29
36
  isUserApplyingToAnchor: false,
30
37
  isInvitingUserToAnchor: false,
31
38
  isInRoom: false,
32
- status: TUIInvitationStatus.kNone
39
+ status: TUIInvitationStatus.kNone,
40
+ timestamp: Date.now()
33
41
  };
34
42
  return newUserInfo;
35
43
  }
@@ -39,29 +47,15 @@ function getRecordStreamType(streamType) {
39
47
  }
40
48
  return streamType;
41
49
  }
42
- function sortStreamList(streamList) {
43
- const basicStore = useBasicStore();
44
- return streamList.sort((item1, item2) => {
45
- if (item1.userId === basicStore.userId) {
46
- return -1;
47
- }
48
- if (item2.userId === basicStore.userId) {
49
- return 1;
50
- }
51
- if (item1.streamType === TUIVideoStreamType.kScreenStream) {
52
- return -1;
53
- }
54
- if (item2.streamType === TUIVideoStreamType.kScreenStream) {
55
- return 1;
56
- }
57
- return 0;
58
- });
59
- }
60
50
  const useRoomStore = defineStore("room", {
61
51
  state: () => ({
62
52
  userInfoObj: {},
63
53
  streamInfoObj: {},
64
54
  userVolumeObj: {},
55
+ currentSpeakerInfo: {
56
+ speakerUserId: "",
57
+ remoteSpeakerUserId: ""
58
+ },
65
59
  canControlSelfAudio: true,
66
60
  canControlSelfVideo: true,
67
61
  localVideoQuality: isMobile ? TUIVideoQuality.kVideoQuality_360p : TUIVideoQuality.kVideoQuality_720p,
@@ -82,8 +76,6 @@ const useRoomStore = defineStore("room", {
82
76
  maxSeatCount: 20,
83
77
  password: "",
84
78
  roomName: "",
85
- // Visual area user flow list
86
- hasOtherScreenShare: false,
87
79
  isOnStateTabActive: true,
88
80
  isLocalUserSharing: false,
89
81
  isWhiteboardVisiable: false,
@@ -97,7 +89,9 @@ const useRoomStore = defineStore("room", {
97
89
  },
98
90
  localStream(state) {
99
91
  const basicStore = useBasicStore();
100
- return state.streamInfoObj[`${basicStore.userId}_${TUIVideoStreamType.kCameraStream}`] || getNewStreamInfo(basicStore.userId, TUIVideoStreamType.kCameraStream);
92
+ if (this.isFreeSpeakMode || this.localUser.onSeat) {
93
+ return state.streamInfoObj[`${basicStore.userId}_${TUIVideoStreamType.kCameraStream}`] || getNewStreamInfo(basicStore.userId, TUIVideoStreamType.kCameraStream);
94
+ }
101
95
  },
102
96
  localScreenStream(state) {
103
97
  const basicStore = useBasicStore();
@@ -153,7 +147,9 @@ const useRoomStore = defineStore("room", {
153
147
  return this.userInfoObj[item.userId].onSeat;
154
148
  });
155
149
  }
156
- return sortStreamList(streamList);
150
+ return streamList.sort(
151
+ roomService.userManager.getStreamListSortComparator()
152
+ );
157
153
  },
158
154
  remoteStreamList() {
159
155
  const basicStore = useBasicStore();
@@ -164,32 +160,18 @@ const useRoomStore = defineStore("room", {
164
160
  (stream) => stream.streamType === TUIVideoStreamType.kCameraStream
165
161
  );
166
162
  },
163
+ remoteScreenStream() {
164
+ return this.remoteStreamList.find(
165
+ (stream) => stream.streamType === TUIVideoStreamType.kScreenStream && stream.hasVideoStream
166
+ );
167
+ },
167
168
  streamNumber() {
168
169
  return this.streamList.length;
169
170
  },
170
171
  userList() {
171
- const basicStore = useBasicStore();
172
- return [...Object.values(this.userInfoObj)].sort((item1, item2) => {
173
- if (item1.userId === basicStore.userId) {
174
- return -1;
175
- }
176
- if (item2.userId === basicStore.userId) {
177
- return 1;
178
- }
179
- if (item1.userRole === TUIRole.kRoomOwner) {
180
- return -1;
181
- }
182
- if (item2.userRole === TUIRole.kRoomOwner) {
183
- return 1;
184
- }
185
- if (item1.userRole === TUIRole.kAdministrator) {
186
- return -1;
187
- }
188
- if (item2.userRole === TUIRole.kAdministrator) {
189
- return 1;
190
- }
191
- return 0;
192
- });
172
+ return [...Object.values(this.userInfoObj)].sort(
173
+ roomService.userManager.getUserListSortComparator()
174
+ );
193
175
  },
194
176
  userNumber() {
195
177
  return this.userList.filter((item) => item.isInRoom).length;
@@ -339,6 +321,9 @@ const useRoomStore = defineStore("room", {
339
321
  set(this.userVolumeObj, userId, volume);
340
322
  });
341
323
  },
324
+ setCurrentSpeakerInfo(speakerInfo) {
325
+ Object.assign(this.currentSpeakerInfo, speakerInfo);
326
+ },
342
327
  setCurrentDeviceId(type, deviceId) {
343
328
  switch (type) {
344
329
  case TUIMediaDeviceType.kMediaDeviceTypeVideoCamera:
@@ -410,9 +395,6 @@ const useRoomStore = defineStore("room", {
410
395
  updateVideoQuality(quality) {
411
396
  this.localVideoQuality = quality;
412
397
  },
413
- setLocalUser(obj) {
414
- Object.assign(this.localUser, obj);
415
- },
416
398
  setDeviceList(type, deviceList) {
417
399
  switch (type) {
418
400
  case TUIMediaDeviceType.kMediaDeviceTypeVideoCamera:
@@ -507,9 +489,6 @@ const useRoomStore = defineStore("room", {
507
489
  remoteUserInfo.inviteToAnchorRequestId = "";
508
490
  }
509
491
  },
510
- setHasOtherScreenShare(hasScreenShare) {
511
- this.hasOtherScreenShare = hasScreenShare;
512
- },
513
492
  setOnStageTabStatus(isOnStateTabActive) {
514
493
  this.isOnStateTabActive = isOnStateTabActive;
515
494
  },
@@ -526,25 +505,26 @@ const useRoomStore = defineStore("room", {
526
505
  reset() {
527
506
  const basicStore = useBasicStore();
528
507
  basicStore.setIsOpenMic(false);
508
+ this.resetRoomData();
509
+ this.resetDeviceData();
510
+ },
511
+ resetRoomData() {
529
512
  this.streamInfoObj = {};
530
513
  this.userInfoObj = {};
531
514
  this.userVolumeObj = {};
515
+ this.currentSpeakerInfo = {
516
+ speakerUserId: "",
517
+ remoteSpeakerUserId: ""
518
+ };
532
519
  this.canControlSelfAudio = true;
533
520
  this.canControlSelfVideo = true;
534
521
  this.localVideoQuality = TUIVideoQuality.kVideoQuality_720p;
535
- this.currentCameraId = "";
536
- this.currentMicrophoneId = "";
537
- this.currentSpeakerId = "";
538
- this.cameraList = [];
539
- this.microphoneList = [];
540
- this.speakerList = [];
541
522
  this.masterUserId = "";
542
523
  this.isMicrophoneDisableForAllUser = false;
543
524
  this.isCameraDisableForAllUser = false;
544
525
  this.isScreenShareDisableForAllUser = false;
545
526
  this.isSeatEnabled = void 0;
546
527
  this.seatMode = TUISeatMode.kFreeToTake;
547
- this.hasOtherScreenShare = false;
548
528
  this.isOnStateTabActive = true;
549
529
  this.maxSeatCount = 20;
550
530
  this.password = "";
@@ -553,9 +533,19 @@ const useRoomStore = defineStore("room", {
553
533
  this.isWhiteboardVisiable = false;
554
534
  this.isSharingScreen = false;
555
535
  this.isAnnotationVisiable = false;
536
+ },
537
+ resetDeviceData() {
538
+ this.currentCameraId = "";
539
+ this.currentMicrophoneId = "";
540
+ this.currentSpeakerId = "";
541
+ this.cameraList = [];
542
+ this.microphoneList = [];
543
+ this.speakerList = [];
556
544
  }
557
545
  }
558
546
  });
559
547
  export {
548
+ getNewStreamInfo,
549
+ getNewUserInfo,
560
550
  useRoomStore
561
551
  };
@@ -38,4 +38,8 @@ export declare function getBoundingClientRectSync(selector: string | HTMLElement
38
38
  export declare function getScrollInfo(selector: string | HTMLElement, instanceName?: registeredPage): Promise<IScrollInfo>;
39
39
  export declare function getScrollInfoSync(selector: string | HTMLElement): IScrollInfo;
40
40
  export declare function getFields(selector: string | HTMLElement, instanceName?: registeredPage): Promise<IFields>;
41
+ export declare function getContentSize(element: HTMLElement): {
42
+ width: number;
43
+ height: number;
44
+ };
41
45
  export {};
@@ -1,26 +1,20 @@
1
- import { isWeChat } from "./environment.mjs";
2
- function getScrollInfo(selector, instanceName) {
3
- if (!isWeChat && window) {
4
- const dom = document.querySelector(selector);
5
- if (!dom)
6
- return Promise.reject(
7
- new Error(`getScrollInfo() can't find ${selector} dom.`)
8
- );
9
- return Promise.resolve({
10
- id: dom.id,
11
- scrollTop: dom.scrollTop,
12
- scrollLeft: dom.scrollLeft,
13
- scrollWidth: dom.scrollWidth,
14
- scrollHeight: dom.scrollHeight
15
- });
16
- }
17
- if (isWeChat) {
18
- return Promise.reject(
19
- new Error("uni.getScrollInfo() need instanceName in params.")
20
- );
21
- }
22
- return Promise.reject(new Error("getScrollInfo() occur error"));
1
+ import "./environment.mjs";
2
+ function getContentSize(element) {
3
+ const computedStyle = getComputedStyle(element);
4
+ const paddingTop = Number(computedStyle.paddingTop.replace("px", ""));
5
+ const paddingBottom = Number(computedStyle.paddingBottom.replace("px", ""));
6
+ const borderTop = Number(computedStyle.borderTopWidth.replace("px", ""));
7
+ const borderBottom = Number(
8
+ computedStyle.borderBottomWidth.replace("px", "")
9
+ );
10
+ const paddingLeft = Number(computedStyle.paddingLeft.replace("px", ""));
11
+ const paddingRight = Number(computedStyle.paddingRight.replace("px", ""));
12
+ const borderLeft = Number(computedStyle.borderLeftWidth.replace("px", ""));
13
+ const borderRight = Number(computedStyle.borderRightWidth.replace("px", ""));
14
+ const contentWidth = element.offsetWidth - paddingLeft - paddingRight - borderLeft - borderRight;
15
+ const contentHeight = element.offsetHeight - paddingTop - paddingBottom - borderTop - borderBottom;
16
+ return { width: contentWidth, height: contentHeight };
23
17
  }
24
18
  export {
25
- getScrollInfo
19
+ getContentSize
26
20
  };
@@ -62,3 +62,14 @@ export declare function convertSecondsToHMS(seconds: number): {
62
62
  export declare function getNanoId(size?: number): string;
63
63
  export declare function findLastIndex<T>(array: T[], predicate: (value: T, index: number, obj: T[]) => boolean, thisArg?: any): number;
64
64
  export declare function formatTimestampToTime(timestamp: number, format?: string): string;
65
+ export type Comparator<T> = (a: T, b: T) => -1 | 0 | 1;
66
+ /**
67
+ * Creates a new combined {@link Comparator<T>} which sorts items by the given comparators.
68
+ * The comparators are applied in the order they are given (left -> right).
69
+ *
70
+ * @param comparators the comparators to use for sorting.
71
+ * @returns a combined {@link Comparator<T>}.
72
+ */
73
+ export declare const combineComparators: <T>(...comparators: Comparator<T>[]) => Comparator<T>;
74
+ export declare const createComparator: <T>(compareRules: (data1: T, data2: T) => boolean) => (a: T, b: T) => 1 | -1 | 0;
75
+ export declare function arrayIsEqual<T>(arr1: T[], arr2: T[]): boolean;
@@ -176,10 +176,53 @@ function formatTimestampToTime(timestamp, format = "MM-DD HH:mm") {
176
176
  (match) => replacements[match]
177
177
  );
178
178
  }
179
+ const combineComparators = (...comparators) => {
180
+ return (a, b) => {
181
+ for (const comparator of comparators) {
182
+ const result = comparator(a, b);
183
+ if (result !== 0) return result;
184
+ }
185
+ return 0;
186
+ };
187
+ };
188
+ const createComparator = (compareRules) => {
189
+ return (a, b) => {
190
+ if (compareRules(a, b) && compareRules(b, a)) {
191
+ return 0;
192
+ }
193
+ if (compareRules(a, b)) {
194
+ return -1;
195
+ }
196
+ if (compareRules(b, a)) {
197
+ return 1;
198
+ }
199
+ return 0;
200
+ };
201
+ };
202
+ function arrayIsEqual(arr1, arr2) {
203
+ if (arr1.length !== arr2.length) {
204
+ return false;
205
+ }
206
+ for (let i = 0; i < arr1.length; i++) {
207
+ if (typeof arr1[i] === "object" && typeof arr2[i] === "object" && arr1[i] !== null && arr2[i] !== null) {
208
+ if (!arrayIsEqual(arr1[i], arr2[i])) {
209
+ return false;
210
+ }
211
+ } else {
212
+ if (arr1[i] !== arr2[i]) {
213
+ return false;
214
+ }
215
+ }
216
+ }
217
+ return true;
218
+ }
179
219
  export {
180
220
  addSuffix,
221
+ arrayIsEqual,
181
222
  calculateByteLength,
223
+ combineComparators,
182
224
  convertSecondsToHMS,
225
+ createComparator,
183
226
  debounce,
184
227
  deepClone,
185
228
  exitFullScreen,
@@ -0,0 +1,2 @@
1
+ declare const Emoji: Record<string, string>;
2
+ export default Emoji;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const Emoji = {
4
+ "[TUIEmoji_Smile]": "[微笑]",
5
+ "[TUIEmoji_Expect]": "[期待]",
6
+ "[TUIEmoji_Blink]": "[眨眼]",
7
+ "[TUIEmoji_Guffaw]": "[大笑]",
8
+ "[TUIEmoji_KindSmile]": "[姨母笑]",
9
+ "[TUIEmoji_Haha]": "[哈哈哈]",
10
+ "[TUIEmoji_Cheerful]": "[愉快]",
11
+ "[TUIEmoji_Speechless]": "[無語]",
12
+ "[TUIEmoji_Amazed]": "[驚訝]",
13
+ "[TUIEmoji_Sorrow]": "[悲傷]",
14
+ "[TUIEmoji_Complacent]": "[得意]",
15
+ "[TUIEmoji_Silly]": "[傻了]",
16
+ "[TUIEmoji_Lustful]": "[色]",
17
+ "[TUIEmoji_Giggle]": "[憨笑]",
18
+ "[TUIEmoji_Kiss]": "[親親]",
19
+ "[TUIEmoji_Wail]": "[大哭]",
20
+ "[TUIEmoji_TearsLaugh]": "[哭笑]",
21
+ "[TUIEmoji_Trapped]": "[困]",
22
+ "[TUIEmoji_Mask]": "[口罩]",
23
+ "[TUIEmoji_Fear]": "[恐懼]",
24
+ "[TUIEmoji_BareTeeth]": "[齜牙]",
25
+ "[TUIEmoji_FlareUp]": "[發怒]",
26
+ "[TUIEmoji_Yawn]": "[打哈欠]",
27
+ "[TUIEmoji_Tact]": "[機智]",
28
+ "[TUIEmoji_Stareyes]": "[星星眼]",
29
+ "[TUIEmoji_ShutUp]": "[閉嘴]",
30
+ "[TUIEmoji_Sigh]": "[嘆氣]",
31
+ "[TUIEmoji_Hehe]": "[呵呵]",
32
+ "[TUIEmoji_Silent]": "[收聲]",
33
+ "[TUIEmoji_Surprised]": "[驚喜]",
34
+ "[TUIEmoji_Askance]": "[白眼]",
35
+ "[TUIEmoji_Ok]": "[OK]",
36
+ "[TUIEmoji_Shit]": "[便便]",
37
+ "[TUIEmoji_Monster]": "[怪獸]",
38
+ "[TUIEmoji_Daemon]": "[惡魔]",
39
+ "[TUIEmoji_Rage]": "[惡魔怒]",
40
+ "[TUIEmoji_Fool]": "[衰]",
41
+ "[TUIEmoji_Pig]": "[豬]",
42
+ "[TUIEmoji_Cow]": "[牛]",
43
+ "[TUIEmoji_Ai]": "[AI]",
44
+ "[TUIEmoji_Skull]": "[骷髏]",
45
+ "[TUIEmoji_Bombs]": "[炸彈]",
46
+ "[TUIEmoji_Coffee]": "[咖啡]",
47
+ "[TUIEmoji_Cake]": "[蛋糕]",
48
+ "[TUIEmoji_Beer]": "[啤酒]",
49
+ "[TUIEmoji_Flower]": "[花]",
50
+ "[TUIEmoji_Watermelon]": "[瓜]",
51
+ "[TUIEmoji_Rich]": "[壕]",
52
+ "[TUIEmoji_Heart]": "[愛心]",
53
+ "[TUIEmoji_Moon]": "[月亮]",
54
+ "[TUIEmoji_Sun]": "[太陽]",
55
+ "[TUIEmoji_Star]": "[星星]",
56
+ "[TUIEmoji_RedPacket]": "[紅包]",
57
+ "[TUIEmoji_Celebrate]": "[慶祝]",
58
+ "[TUIEmoji_Bless]": "[福]",
59
+ "[TUIEmoji_Fortune]": "[發]",
60
+ "[TUIEmoji_Convinced]": "[服]",
61
+ "[TUIEmoji_Prohibit]": "[禁]",
62
+ "[TUIEmoji_666]": "[666]",
63
+ "[TUIEmoji_857]": "[857]",
64
+ "[TUIEmoji_Knife]": "[刀]",
65
+ "[TUIEmoji_Like]": "[讚]"
66
+ };
67
+ exports.default = Emoji;
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../_virtual/_plugin-vue_export-helper.js");
6
- const TUIChat = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-1927e971"]]);
6
+ const TUIChat = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-5c1ad570"]]);
7
7
  exports.default = TUIChat;
@@ -31,13 +31,11 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
31
31
  const featureConfig = config.default.getFeatureConfig();
32
32
  Vue.onMounted(() => {
33
33
  TUIChatEngine.TUIStore.watch(TUIChatEngine.StoreName.CONV, {
34
- currentConversationID: onCurrentConversationIDUpdate,
35
34
  currentConversation: onCurrentConversationUpdate
36
35
  });
37
36
  });
38
37
  Vue.onUnmounted(() => {
39
38
  TUIChatEngine.TUIStore.unwatch(TUIChatEngine.StoreName.CONV, {
40
- currentConversationID: onCurrentConversationIDUpdate,
41
39
  currentConversation: onCurrentConversationUpdate
42
40
  });
43
41
  reset();
@@ -113,7 +111,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
113
111
  var _a;
114
112
  (_a = messageListRef.value) == null ? void 0 : _a.oneByOneForwardMessage();
115
113
  }
116
- function onCurrentConversationUpdate(conversation) {
114
+ function updateUIUserNotInGroup(conversation) {
117
115
  if ((conversation == null ? void 0 : conversation.operationType) > 0) {
118
116
  headerExtensionList.value = [];
119
117
  isNotInGroup.value = true;
@@ -123,19 +121,23 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
123
121
  notInGroupReason.value = void 0;
124
122
  }
125
123
  }
126
- function onCurrentConversationIDUpdate(conversationID) {
127
- if (currentConversationID.value === conversationID) {
124
+ function onCurrentConversationUpdate(conversation) {
125
+ updateUIUserNotInGroup(conversation);
126
+ if (!conversation) {
127
+ return;
128
+ }
129
+ if (currentConversationID.value === (conversation == null ? void 0 : conversation.conversationID)) {
128
130
  return;
129
131
  }
130
132
  isGroup.value = false;
131
133
  let conversationType = TUIChatEngine.TYPES.CONV_C2C;
134
+ const conversationID = conversation.conversationID;
132
135
  if (conversationID.startsWith(TUIChatEngine.TYPES.CONV_GROUP)) {
133
136
  conversationType = TUIChatEngine.TYPES.CONV_GROUP;
134
137
  isGroup.value = true;
135
138
  groupID.value = conversationID.replace(TUIChatEngine.TYPES.CONV_GROUP, "");
136
139
  }
137
140
  headerExtensionList.value = [];
138
- currentConversationID.value = conversationID;
139
141
  isMultipleSelectMode.value = false;
140
142
  config.default.setChatType(conversationType);
141
143
  TUICore.notifyEvent(TUICore.TUIConstants.TUIChat.EVENT.CHAT_STATE_CHANGED, TUICore.TUIConstants.TUIChat.EVENT_SUB_KEY.CHAT_OPENED, { groupID: groupID.value });
@@ -144,9 +146,18 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
144
146
  method: TUICore.TUIConstants.TUICustomerServicePlugin.SERVICE.METHOD.ACTIVE_CONVERSATION,
145
147
  params: { conversationID }
146
148
  });
149
+ if (config.default.getChatType() === TUICore.TUIConstants.TUIChat.TYPE.ROOM) {
150
+ if (config.default.getFeatureConfig(TUICore.TUIConstants.TUIChat.FEATURE.InputVoice) === true) {
151
+ config.default.setTheme("light");
152
+ currentConversationID.value = "";
153
+ return;
154
+ }
155
+ }
147
156
  if (config.default.getChatType() === TUICore.TUIConstants.TUIChat.TYPE.GROUP) {
148
157
  headerExtensionList.value = TUICore.getExtensionList(TUICore.TUIConstants.TUIChat.EXTENSION.CHAT_HEADER.EXT_ID);
149
158
  }
159
+ TUIChatEngine.TUIStore.update(TUIChatEngine.StoreName.CUSTOM, "activeConversation", conversationID);
160
+ currentConversationID.value = conversationID;
150
161
  }
151
162
  return (_ctx, _cache) => {
152
163
  return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
@@ -169,9 +180,11 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
169
180
  !Vue.unref(env.isPC) && "tui-chat-H5-header",
170
181
  Vue.unref(env.isUniFrameWork) && "tui-chat-uniapp-header"
171
182
  ]),
183
+ isGroup: Vue.unref(isGroup),
172
184
  headerExtensionList: Vue.unref(headerExtensionList),
173
- onCloseChat: closeChat
174
- }, null, 8, ["class", "headerExtensionList"]),
185
+ onCloseChat: closeChat,
186
+ onOpenGroupManagement: handleGroup
187
+ }, null, 8, ["class", "isGroup", "headerExtensionList"]),
175
188
  Vue.createVNode(index_vue_vue_type_script_setup_true_lang.default, { onToggleMultipleSelectMode: toggleMultipleSelectMode }),
176
189
  Vue.createVNode(index$1.default, {
177
190
  ref_key: "messageListRef",
@@ -227,7 +240,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
227
240
  }, null, 8, ["class", "enableAt", "muteText", "placeholder", "inputToolbarDisplayType"])
228
241
  ], 64))
229
242
  ], 2)) : Vue.createCommentVNode("", true),
230
- !Vue.unref(isNotInGroup) && Vue.unref(env.isUniFrameWork) && Vue.unref(isGroup) && Vue.unref(headerExtensionList).length > 0 ? (Vue.openBlock(), Vue.createElementBlock("div", {
243
+ !Vue.unref(isNotInGroup) && !Vue.unref(env.isApp) && Vue.unref(env.isUniFrameWork) && Vue.unref(isGroup) && Vue.unref(headerExtensionList).length > 0 ? (Vue.openBlock(), Vue.createElementBlock("div", {
231
244
  key: 2,
232
245
  class: "group-profile",
233
246
  onClick: handleGroup
@@ -4,5 +4,5 @@ const messageInputEditor_vue_vue_type_script_setup_true_lang = require("./messag
4
4
  ;/* empty css */
5
5
  ;/* empty css */
6
6
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
7
- const MessageInputEditor = /* @__PURE__ */ _pluginVue_exportHelper.default(messageInputEditor_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-84c27463"]]);
7
+ const MessageInputEditor = /* @__PURE__ */ _pluginVue_exportHelper.default(messageInputEditor_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-704cb70e"]]);
8
8
  exports.default = MessageInputEditor;
@@ -12,6 +12,7 @@ const Mention = require("@tiptap/extension-mention");
12
12
  const messageInputFile = require("./message-input-file.js");
13
13
  const index = require("./message-input-at/index.js");
14
14
  const index$1 = require("../emoji-config/index.js");
15
+ const riseInput = require("../../../utils/riseInput.js");
15
16
  const env = require("../../../utils/env.js");
16
17
  const conversationDraft = require("../utils/conversationDraft.js");
17
18
  const _hoisted_1 = {
@@ -68,6 +69,13 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
68
69
  const editorDom = Vue.ref();
69
70
  let editor = null;
70
71
  const fileMap = /* @__PURE__ */ new Map();
72
+ const DisableDefaultEnter = core.Extension.create({
73
+ addKeyboardShortcuts() {
74
+ return {
75
+ Enter: () => true
76
+ };
77
+ }
78
+ });
71
79
  function onCurrentConversationIDUpdated(conversationID) {
72
80
  if (currentConversationID.value !== conversationID) {
73
81
  if (currentConversationID.value) {
@@ -95,6 +103,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
95
103
  Document,
96
104
  Paragraph,
97
105
  Text,
106
+ DisableDefaultEnter,
98
107
  Placeholder.configure({
99
108
  emptyEditorClass: "is-editor-empty",
100
109
  placeholder: placeholder.value
@@ -149,6 +158,10 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
149
158
  isEditorBlur.value = true;
150
159
  }
151
160
  }) : null;
161
+ if (env.isH5) {
162
+ const targetBottomDom = document.querySelector(".message-input-toolbar") || editorDom.value;
163
+ riseInput.default(editorDom.value, targetBottomDom);
164
+ }
152
165
  TUIChatEngine.TUIStore.watch(TUIChatEngine.StoreName.CONV, {
153
166
  currentConversationID: onCurrentConversationIDUpdated
154
167
  });
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- onClose: (...args: any[]) => void;
3
2
  sendMessage: (...args: any[]) => void;
3
+ onClose: (...args: any[]) => void;
4
4
  insertEmoji: (...args: any[]) => void;
5
5
  }, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
6
6
  onOnClose?: ((...args: any[]) => any) | undefined;
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
6
- const MessageInputToolbar = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-fdebc27e"]]);
6
+ const MessageInputToolbar = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-fe51a5a7"]]);
7
7
  exports.default = MessageInputToolbar;
@@ -40,13 +40,13 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
40
40
  const isRenderedEmojiPicker = Vue.ref(true);
41
41
  isRenderedEmojiPicker.value = featureConfig.InputEmoji || featureConfig.InputStickers;
42
42
  Vue.onMounted(() => {
43
- TUIChatEngine.TUIStore.watch(TUIChatEngine.StoreName.CONV, {
44
- currentConversation: onCurrentConversationUpdate
43
+ TUIChatEngine.TUIStore.watch(TUIChatEngine.StoreName.CUSTOM, {
44
+ activeConversation: onActiveConversationUpdate
45
45
  });
46
46
  });
47
47
  Vue.onUnmounted(() => {
48
- TUIChatEngine.TUIStore.unwatch(TUIChatEngine.StoreName.CONV, {
49
- currentConversation: onCurrentConversationUpdate
48
+ TUIChatEngine.TUIStore.unwatch(TUIChatEngine.StoreName.CUSTOM, {
49
+ activeConversation: onActiveConversationUpdate
50
50
  });
51
51
  });
52
52
  Vue.watch(() => props.displayType, (newValue) => {
@@ -57,18 +57,18 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
57
57
  emits("scrollToLatestMessage");
58
58
  }
59
59
  });
60
- const onCurrentConversationUpdate = (conversation) => {
61
- var _a, _b;
62
- if ((conversation == null ? void 0 : conversation.conversationID) && conversation.conversationID !== ((_a = currentConversation.value) == null ? void 0 : _a.conversationID)) {
63
- getExtensionList(conversation.conversationID);
64
- }
65
- currentConversation.value = conversation;
66
- isGroup.value = ((_b = currentConversation == null ? void 0 : currentConversation.value) == null ? void 0 : _b.type) === TUIChatEngine.TYPES.CONV_GROUP;
67
- };
68
- const getExtensionList = (conversationID) => {
60
+ const onActiveConversationUpdate = (conversationID) => {
61
+ var _a;
69
62
  if (!conversationID) {
70
63
  return;
71
64
  }
65
+ if (conversationID !== ((_a = currentConversation.value) == null ? void 0 : _a.conversationID)) {
66
+ getExtensionList();
67
+ currentConversation.value = TUIChatEngine.TUIStore.getData(TUIChatEngine.StoreName.CONV, "currentConversation");
68
+ isGroup.value = conversationID.startsWith(TUIChatEngine.TYPES.CONV_GROUP);
69
+ }
70
+ };
71
+ const getExtensionList = () => {
72
72
  const chatType = config.default.getChatType();
73
73
  const params = { chatType };
74
74
  if (chatType === TUICore.TUIConstants.TUIChat.TYPE.CUSTOMER_SERVICE) {
@@ -4,5 +4,5 @@ const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
4
4
  ;/* empty css */
5
5
  ;/* empty css */
6
6
  const _pluginVue_exportHelper = require("../../../../../../_virtual/_plugin-vue_export-helper.js");
7
- const MessageList = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3ab4a78e"]]);
7
+ const MessageList = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-82829db6"]]);
8
8
  exports.default = MessageList;
@@ -541,7 +541,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
541
541
  }, null, 8, ["content", "blinkMessageIDList"])) : item.isRevoked ? (Vue.openBlock(), Vue.createBlock(messageRevoked.default, {
542
542
  key: 1,
543
543
  isEdit: item.type === Vue.unref(TYPES).MSG_TEXT,
544
- messageItem: item,
544
+ messageItem: Vue.unref(utils.shallowCopyMessage)(item),
545
545
  onMessageEdit: ($event) => handleEdit(item)
546
546
  }, null, 8, ["isEdit", "messageItem", "onMessageEdit"])) : Vue.unref(index$2.isPluginMessage)(item) ? (Vue.openBlock(), Vue.createBlock(messagePlugin.default, {
547
547
  key: 2,
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const index_vue_vue_type_script_setup_true_lang = ;/* empty css */
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../../../../../_virtual/_plugin-vue_export-helper.js");
6
- const MessageTool = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-f8285318"]]);
6
+ const MessageTool = /* @__PURE__ */ _pluginVue_exportHelper.default(index_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-96f7d799"]]);
7
7
  exports.default = MessageTool;