@tencentcloud/sdk-mcp 1.3.8 → 1.4.0

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 (503) hide show
  1. package/index.js +1 -1
  2. package/index.js.map +1 -1
  3. package/package.json +2 -2
  4. package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/android-faq.md} +75 -308
  5. package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +2 -2
  6. package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/flutter-faq.md} +83 -315
  7. package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/ios-faq.md} +76 -313
  8. package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +78 -311
  9. package/resource/doc/callkit/preset/android/api.md +330 -0
  10. package/resource/doc/callkit/preset/android/integration.md +530 -0
  11. package/resource/doc/callkit/preset/flutter/api.md +401 -0
  12. package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +53 -273
  13. package/resource/doc/callkit/preset/ios/api.md +282 -0
  14. package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +39 -120
  15. package/resource/doc/callkit/preset/react/api.md +600 -0
  16. package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +6 -6
  17. package/resource/doc/callkit/preset/vue/api.md +600 -0
  18. package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +5 -5
  19. package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -37
  20. package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
  21. package/resource/doc/chatkit/android/integration.md +498 -0
  22. package/resource/doc/chatkit/faq/android_sdk/client-api.md +280 -0
  23. package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +4 -17
  24. package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -2
  25. package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +183 -0
  26. package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
  27. package/resource/doc/chatkit/faq/ios_sdk/client-api.md +279 -0
  28. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +1 -1
  29. package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +4 -4
  30. package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
  31. package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +20 -95
  32. package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -37
  33. package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
  34. package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +78 -280
  35. package/resource/doc/{chatuikit/vue → chatkit/react}/components/avatar.md +0 -1
  36. package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +7 -12
  37. package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +10 -17
  38. package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +1 -1
  39. package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -1
  40. package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +122 -703
  41. package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
  42. package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
  43. package/resource/doc/chatkit/react/components/conversation-preview.md +116 -0
  44. package/resource/doc/chatkit/react/components/conversation-search.md +57 -0
  45. package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -186
  46. package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +21 -113
  47. package/resource/doc/chatkit/react/components/search.md +282 -0
  48. package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +5 -26
  49. package/resource/doc/{chatuikit → chatkit}/react/integration.md +37 -104
  50. package/resource/doc/{chatuikit/react → chatkit/vue}/components/avatar.md +0 -1
  51. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -13
  52. package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +13 -18
  53. package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +1 -2
  54. package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -1
  55. package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
  56. package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
  57. package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -316
  58. package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
  59. package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
  60. package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +1 -23
  61. package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -134
  62. package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
  63. package/resource/doc/chatkit/vue/components/tuikit.md +45 -0
  64. package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +4 -4
  65. package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
  66. package/resource/doc/{chatuikit → chatkit}/vue/integration.md +53 -121
  67. package/resource/doc/livekit/core-sdk/live/android/api-reference/AudioEffectStore.md +283 -0
  68. package/resource/doc/livekit/core-sdk/live/android/api-reference/BarrageStore.md +148 -0
  69. package/resource/doc/livekit/core-sdk/live/android/api-reference/BattleStore.md +316 -0
  70. package/resource/doc/livekit/core-sdk/live/android/api-reference/CameraView.md +57 -0
  71. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoGuestStore.md +419 -0
  72. package/resource/doc/livekit/core-sdk/live/android/api-reference/CoHostStore.md +325 -0
  73. package/resource/doc/livekit/core-sdk/live/android/api-reference/DeviceStore.md +436 -0
  74. package/resource/doc/livekit/core-sdk/live/android/api-reference/GiftStore.md +165 -0
  75. package/resource/doc/livekit/core-sdk/live/android/api-reference/LikeStore.md +49 -0
  76. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveAudienceStore.md +239 -0
  77. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveCoreView.md +74 -0
  78. package/resource/doc/livekit/core-sdk/live/android/api-reference/LiveSeatStore.md +417 -0
  79. package/resource/doc/livekit/core-sdk/live/android/api-reference/LoginStore.md +207 -0
  80. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +17 -88
  81. package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
  82. package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +26 -139
  83. package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +16 -99
  84. package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +54 -161
  85. package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
  86. package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +91 -338
  87. package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +108 -492
  88. package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +27 -165
  89. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/AudioEffectStore.md +279 -0
  90. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BarrageStore.md +158 -0
  91. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BaseBeautyStore.md +155 -0
  92. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/BattleStore.md +304 -0
  93. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoGuestStore.md +394 -0
  94. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/CoHostStore.md +303 -0
  95. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/DeviceStore.md +410 -0
  96. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/GiftStore.md +160 -0
  97. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LikeStore.md +51 -0
  98. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveAudienceStore.md +231 -0
  99. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveCoreView.md +143 -0
  100. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LiveSeatStore.md +375 -0
  101. package/resource/doc/livekit/core-sdk/live/flutter/api-reference/LoginStore.md +170 -0
  102. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +13 -91
  103. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -177
  104. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +18 -102
  105. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -164
  106. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -161
  107. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +66 -460
  108. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
  109. package/resource/doc/livekit/core-sdk/live/flutter/live-integration.md +687 -0
  110. package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +22 -161
  111. package/resource/doc/livekit/core-sdk/live/ios/api-reference/AudioEffectStore.md +287 -0
  112. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BarrageStore.md +165 -0
  113. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BaseBeautyStore.md +143 -0
  114. package/resource/doc/livekit/core-sdk/live/ios/api-reference/BattleStore.md +298 -0
  115. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoGuestStore.md +349 -0
  116. package/resource/doc/livekit/core-sdk/live/ios/api-reference/CoHostStore.md +297 -0
  117. package/resource/doc/livekit/core-sdk/live/ios/api-reference/DeviceStore.md +471 -0
  118. package/resource/doc/livekit/core-sdk/live/ios/api-reference/GiftStore.md +179 -0
  119. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LikeStore.md +49 -0
  120. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveAudienceStore.md +238 -0
  121. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveCoreView.md +74 -0
  122. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LiveSeatStore.md +412 -0
  123. package/resource/doc/livekit/core-sdk/live/ios/api-reference/LoginStore.md +173 -0
  124. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +23 -96
  125. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +33 -195
  126. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +35 -150
  127. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +20 -105
  128. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +35 -140
  129. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +77 -457
  130. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +70 -317
  131. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +90 -473
  132. package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +28 -163
  133. package/resource/doc/livekit/core-sdk/voice/android/voice-audience-list.md +264 -0
  134. package/resource/doc/livekit/core-sdk/voice/android/voice-audio-effect.md +226 -0
  135. package/resource/doc/livekit/core-sdk/voice/android/voice-barrage.md +456 -0
  136. package/resource/doc/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +539 -0
  137. package/resource/doc/livekit/core-sdk/voice/android/voice-gift.md +453 -0
  138. package/resource/doc/livekit/core-sdk/voice/android/voice-host-interaction.md +516 -0
  139. package/resource/doc/livekit/core-sdk/voice/android/voice-integration.md +509 -0
  140. package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +365 -0
  141. package/resource/doc/livekit/core-sdk/voice/flutter/voice-audience-list.md +259 -0
  142. package/resource/doc/livekit/core-sdk/voice/flutter/voice-audio-effect.md +596 -0
  143. package/resource/doc/livekit/core-sdk/voice/flutter/voice-barrage.md +494 -0
  144. package/resource/doc/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +516 -0
  145. package/resource/doc/livekit/core-sdk/voice/flutter/voice-gift.md +418 -0
  146. package/resource/doc/livekit/core-sdk/voice/flutter/voice-integration.md +563 -0
  147. package/resource/doc/livekit/core-sdk/voice/flutter/voice-room-list.md +709 -0
  148. package/resource/doc/livekit/core-sdk/voice/ios/voice-audience-list.md +262 -0
  149. package/resource/doc/livekit/core-sdk/voice/ios/voice-audio-effect.md +211 -0
  150. package/resource/doc/livekit/core-sdk/voice/ios/voice-barrage.md +414 -0
  151. package/resource/doc/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +492 -0
  152. package/resource/doc/livekit/core-sdk/voice/ios/voice-gift.md +405 -0
  153. package/resource/doc/livekit/core-sdk/voice/ios/voice-host-interaction.md +611 -0
  154. package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
  155. package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +336 -0
  156. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audience-list.md +234 -0
  157. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-audio-effect.md +218 -0
  158. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-barrage.md +376 -0
  159. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-co-guest-interaction.md +648 -0
  160. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-gift.md +362 -0
  161. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
  162. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-room-list.md +470 -0
  163. package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -3
  164. package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
  165. package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
  166. package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +9 -48
  167. package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +27 -145
  168. package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +13 -76
  169. package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +33 -224
  170. package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +211 -0
  171. package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
  172. package/resource/doc/livekit/preset/live/vue/live-list-integration.md +244 -0
  173. package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +301 -0
  174. package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +307 -0
  175. package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +754 -0
  176. package/resource/doc/roomkit/android/features/call-user-to-room.md +234 -0
  177. package/resource/doc/roomkit/android/features/room-participant-state.md +850 -0
  178. package/resource/doc/roomkit/android/features/room-state.md +358 -0
  179. package/resource/doc/roomkit/android/features/schedule-room.md +336 -0
  180. package/resource/doc/roomkit/android/integration.md +433 -0
  181. package/resource/doc/roomkit/{common/error_code.md → faq/common/error-code.md} +1 -1
  182. package/resource/doc/roomkit/flutter/features/call-user-to-room.md +228 -0
  183. package/resource/doc/roomkit/flutter/features/room-participant-state.md +796 -0
  184. package/resource/doc/roomkit/flutter/features/room-state.md +324 -0
  185. package/resource/doc/roomkit/flutter/features/schedule-room.md +324 -0
  186. package/resource/doc/roomkit/flutter/integration.md +405 -0
  187. package/resource/doc/roomkit/ios/features/call-user-to-room.md +226 -0
  188. package/resource/doc/roomkit/ios/features/room-participant-state.md +821 -0
  189. package/resource/doc/roomkit/ios/features/room-state.md +320 -0
  190. package/resource/doc/roomkit/ios/features/schedule-room.md +318 -0
  191. package/resource/doc/roomkit/ios/integration.md +384 -0
  192. package/resource/doc/roomkit/vue/faq.md +1 -0
  193. package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
  194. package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
  195. package/resource/doc/roomkit/vue/features/device-state.md +24 -44
  196. package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
  197. package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
  198. package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
  199. package/resource/doc/roomkit/vue/features/room-state.md +25 -36
  200. package/resource/doc/roomkit/vue/features/room-view.md +30 -127
  201. package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
  202. package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
  203. package/resource/doc/roomkit/vue/features/virtual-background.md +13 -34
  204. package/resource/doc/roomkit/vue/integration.md +118 -282
  205. package/resource/doc/rtcengine/faq/common/userSig.md +17 -141
  206. package/resource/doc/rtcengine/faq/web/web.md +15 -22
  207. package/resource/doc/rtcengine/web/api.md +17 -21
  208. package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +4 -10
  209. package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +4 -8
  210. package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +3 -3
  211. package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -3
  212. package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +6 -6
  213. package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +2 -2
  214. package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +2 -4
  215. package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +1 -2
  216. package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +2 -6
  217. package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +13 -14
  218. package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +10 -90
  219. package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -8
  220. package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +31 -35
  221. package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +0 -2
  222. package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +7 -49
  223. package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -1
  224. package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +0 -3
  225. package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +20 -20
  226. package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
  227. package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -4
  228. package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
  229. package/resource/doc/trtc/C++/ITRTCCloud.md +718 -2847
  230. package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
  231. package/resource/doc/trtc/C++/ITXAudioEffectManager.md +207 -1041
  232. package/resource/doc/trtc/C++/ITXDeviceManager.md +127 -768
  233. package/resource/doc/trtc/C++/TRTCCloudCallback.md +634 -2259
  234. package/resource/doc/trtc/C++/TRTCTypeDef.md +726 -3465
  235. package/resource/doc/trtc/C++/TXLiteAVCode.md +117 -916
  236. package/resource/doc/trtc/android/TRTCCloud.md +638 -2612
  237. package/resource/doc/trtc/android/TRTCCloudDef.md +769 -3697
  238. package/resource/doc/trtc/android/TRTCCloudListener.md +609 -2070
  239. package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
  240. package/resource/doc/trtc/android/TXAudioEffectManager.md +207 -1049
  241. package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
  242. package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
  243. package/resource/doc/trtc/android/TXLiteAVCode.md +115 -900
  244. package/resource/doc/trtc/iOS/TRTCCloud.md +726 -2930
  245. package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +580 -2099
  246. package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
  247. package/resource/doc/trtc/iOS/TXAudioEffectManager.md +179 -896
  248. package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
  249. package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
  250. package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
  251. package/resource/doc/trtc/iOS/TXLiveSDKTypeDef.md +747 -3559
  252. package/server.js +1 -5
  253. package/server.js.map +1 -1
  254. package/tools/call/get_callkit_api.js +32 -0
  255. package/tools/call/get_callkit_api.js.map +1 -0
  256. package/tools/call/get_native_call_uikit_integration.js +34 -0
  257. package/tools/call/get_native_call_uikit_integration.js.map +1 -0
  258. package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
  259. package/tools/call/get_web_call_uikit_integration.js.map +1 -0
  260. package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
  261. package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
  262. package/tools/chat/get_native_chat_uikit_integration.js +45 -0
  263. package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
  264. package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
  265. package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
  266. package/tools/chat/get_web_chat_uikit_integration.js +45 -0
  267. package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
  268. package/tools/common/get_faq.js +265 -0
  269. package/tools/common/get_faq.js.map +1 -0
  270. package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
  271. package/tools/common/get_usersig.js.map +1 -0
  272. package/tools/common/present_framework_choice.js +63 -0
  273. package/tools/common/present_framework_choice.js.map +1 -0
  274. package/tools/definitions/get_callkit_api_def.js +28 -0
  275. package/tools/definitions/get_callkit_api_def.js.map +1 -0
  276. package/tools/definitions/get_faq_def.js +18 -19
  277. package/tools/definitions/get_faq_def.js.map +1 -1
  278. package/tools/definitions/get_native_call_uikit_integration_def.js +15 -18
  279. package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
  280. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
  281. package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
  282. package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -19
  283. package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
  284. package/tools/definitions/get_native_livekit_core_features_def.js +33 -0
  285. package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
  286. package/tools/definitions/get_native_livekit_core_integration_def.js +33 -0
  287. package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
  288. package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
  289. package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
  290. package/tools/definitions/get_usersig_def.js +17 -24
  291. package/tools/definitions/get_usersig_def.js.map +1 -1
  292. package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
  293. package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
  294. package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
  295. package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
  296. package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
  297. package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
  298. package/tools/definitions/get_web_live_uikit_integration_def.js +13 -18
  299. package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
  300. package/tools/definitions/get_web_livekit_api_def.js +27 -0
  301. package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
  302. package/tools/definitions/get_web_livekit_component_detail_def.js +29 -0
  303. package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
  304. package/tools/definitions/get_web_room_uikit_integration_def.js +13 -30
  305. package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
  306. package/tools/definitions/get_web_roomkit_feature_detail_def.js +30 -0
  307. package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
  308. package/tools/definitions/get_web_trtc_sdk_api_def.js +25 -0
  309. package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
  310. package/tools/definitions/get_web_trtc_sdk_integration_def.js +25 -0
  311. package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
  312. package/tools/definitions/get_web_trtc_sdk_plugin_def.js +25 -0
  313. package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
  314. package/tools/definitions/present_framework_choice_def.js +23 -12
  315. package/tools/definitions/present_framework_choice_def.js.map +1 -1
  316. package/tools/index.js +47 -59
  317. package/tools/index.js.map +1 -1
  318. package/tools/live/get_native_livekit_core_features.js +65 -0
  319. package/tools/live/get_native_livekit_core_features.js.map +1 -0
  320. package/tools/live/get_native_livekit_core_integration.js +59 -0
  321. package/tools/live/get_native_livekit_core_integration.js.map +1 -0
  322. package/tools/live/get_web_live_uikit_integration.js +48 -0
  323. package/tools/live/get_web_live_uikit_integration.js.map +1 -0
  324. package/tools/live/get_web_livekit_api.js +32 -0
  325. package/tools/live/get_web_livekit_api.js.map +1 -0
  326. package/tools/live/get_web_livekit_component_detail.js +34 -0
  327. package/tools/live/get_web_livekit_component_detail.js.map +1 -0
  328. package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
  329. package/tools/room/get_web_room_uikit_integration.js.map +1 -0
  330. package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
  331. package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
  332. package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
  333. package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
  334. package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
  335. package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
  336. package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
  337. package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
  338. package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
  339. package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
  340. package/utils/generate-structured-result.js +61 -17
  341. package/utils/generate-structured-result.js.map +1 -1
  342. package/utils/report-cls-client.js +12 -1
  343. package/utils/report-cls-client.js.map +1 -1
  344. package/utils/report-es-client.js +1 -1
  345. package/resource/doc/chatuikit/android/integration.md +0 -612
  346. package/resource/doc/chatuikit/android/workflow.md +0 -0
  347. package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
  348. package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
  349. package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
  350. package/resource/doc/chatuikit/flutter/workflow.md +0 -816
  351. package/resource/doc/chatuikit/iOS/workflow.md +0 -0
  352. package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
  353. package/resource/doc/chatuikit/react/components/search.md +0 -885
  354. package/resource/doc/chatuikit/react/create-group.md +0 -22
  355. package/resource/doc/chatuikit/react/init.md +0 -25
  356. package/resource/doc/chatuikit/react/workflow.md +0 -254
  357. package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
  358. package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
  359. package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
  360. package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
  361. package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
  362. package/resource/doc/chatuikit/vue/create-group.md +0 -26
  363. package/resource/doc/chatuikit/vue/init.md +0 -35
  364. package/resource/doc/chatuikit/vue/workflow.md +0 -395
  365. package/resource/doc/livekit/live/android/workflow.md +0 -322
  366. package/resource/doc/livekit/live/flutter/live-integration.md +0 -1029
  367. package/resource/doc/livekit/live/flutter/workflow.md +0 -353
  368. package/resource/doc/livekit/live/ios/workflow.md +0 -352
  369. package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
  370. package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
  371. package/resource/doc/livekit/live/vue/faq.md +0 -0
  372. package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
  373. package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
  374. package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
  375. package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
  376. package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
  377. package/resource/doc/livekit/live/vue/workflow.md +0 -219
  378. package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
  379. package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
  380. package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
  381. package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
  382. package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
  383. package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
  384. package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
  385. package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
  386. package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
  387. package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
  388. package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
  389. package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
  390. package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
  391. package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
  392. package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
  393. package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
  394. package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
  395. package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
  396. package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
  397. package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
  398. package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
  399. package/resource/doc/roomkit/vue/features/workflow.md +0 -553
  400. package/resource/doc/roomkit/vue/workflow.md +0 -487
  401. package/resource/doc/tuicallkit/android/integration.md +0 -302
  402. package/resource/doc/tuicallkit/android/workflow.md +0 -0
  403. package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
  404. package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
  405. package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
  406. package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
  407. package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
  408. package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
  409. package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
  410. package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
  411. package/resource/doc/tuicallkit/react/api.md +0 -1512
  412. package/resource/doc/tuicallkit/vue/api.md +0 -1512
  413. package/resource/doc/tuicallkit/vue/faq.md +0 -986
  414. package/tools/call/get-native-call-integration.js +0 -43
  415. package/tools/call/get-native-call-integration.js.map +0 -1
  416. package/tools/call/get-web-call-api.js +0 -27
  417. package/tools/call/get-web-call-api.js.map +0 -1
  418. package/tools/call/get-web-call-integration.js.map +0 -1
  419. package/tools/chat/get-native-chat-feature-detail.js +0 -30
  420. package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
  421. package/tools/chat/get-native-chat-integration.js +0 -45
  422. package/tools/chat/get-native-chat-integration.js.map +0 -1
  423. package/tools/chat/get-web-chat-component-detail.js +0 -31
  424. package/tools/chat/get-web-chat-component-detail.js.map +0 -1
  425. package/tools/chat/get-web-chat-integration.js +0 -45
  426. package/tools/chat/get-web-chat-integration.js.map +0 -1
  427. package/tools/chat/get-web-chat-uikit-init.js +0 -28
  428. package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
  429. package/tools/chat/get-web-create-group-doc.js +0 -28
  430. package/tools/chat/get-web-create-group-doc.js.map +0 -1
  431. package/tools/common/get-faq.js +0 -91
  432. package/tools/common/get-faq.js.map +0 -1
  433. package/tools/common/get-usersig.js.map +0 -1
  434. package/tools/common/present-framework-choice.js +0 -16
  435. package/tools/common/present-framework-choice.js.map +0 -1
  436. package/tools/common/record-prompt.js +0 -55
  437. package/tools/common/record-prompt.js.map +0 -1
  438. package/tools/common/record-result.js +0 -60
  439. package/tools/common/record-result.js.map +0 -1
  440. package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
  441. package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
  442. package/tools/definitions/get_native_live_api_def.js +0 -22
  443. package/tools/definitions/get_native_live_api_def.js.map +0 -1
  444. package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
  445. package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
  446. package/tools/definitions/get_native_live_uikit_integration_def.js +0 -50
  447. package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
  448. package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -115
  449. package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
  450. package/tools/definitions/get_trtc_native_api_def.js +0 -17
  451. package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
  452. package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
  453. package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
  454. package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
  455. package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
  456. package/tools/definitions/get_web_create_group_doc_def.js +0 -18
  457. package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
  458. package/tools/definitions/get_web_live_state_detail_def.js +0 -19
  459. package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
  460. package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
  461. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
  462. package/tools/definitions/get_web_room_feature_detail_def.js +0 -95
  463. package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
  464. package/tools/definitions/record_prompt_def.js +0 -53
  465. package/tools/definitions/record_prompt_def.js.map +0 -1
  466. package/tools/definitions/record_result_def.js +0 -30
  467. package/tools/definitions/record_result_def.js.map +0 -1
  468. package/tools/live/get-native-live-uikit-integration.js +0 -101
  469. package/tools/live/get-native-live-uikit-integration.js.map +0 -1
  470. package/tools/live/get-web-live-component-detail.js +0 -31
  471. package/tools/live/get-web-live-component-detail.js.map +0 -1
  472. package/tools/live/get-web-live-state-detail.js +0 -31
  473. package/tools/live/get-web-live-state-detail.js.map +0 -1
  474. package/tools/live/get-web-live-uikit-integration.js +0 -52
  475. package/tools/live/get-web-live-uikit-integration.js.map +0 -1
  476. package/tools/live/get_native_live_uikit_extra_features.js +0 -105
  477. package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
  478. package/tools/live/get_native_live_uikit_interaction.js +0 -101
  479. package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
  480. package/tools/native_live/get-native-live-api.js +0 -31
  481. package/tools/native_live/get-native-live-api.js.map +0 -1
  482. package/tools/room/get-web-room-feature-detail.js.map +0 -1
  483. package/tools/room/get-web-room-integration.js.map +0 -1
  484. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
  485. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
  486. package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
  487. package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
  488. package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
  489. package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
  490. package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
  491. package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
  492. package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
  493. package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
  494. package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
  495. package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
  496. package/tools/trtc/get-trtc-native-api.js +0 -31
  497. package/tools/trtc/get-trtc-native-api.js.map +0 -1
  498. package/utils/handle-component-name.js +0 -33
  499. package/utils/handle-component-name.js.map +0 -1
  500. /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
  501. /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
  502. /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
  503. /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
@@ -7,23 +7,20 @@ AI 模型必须遵守以下**硬性限制**。
7
7
 
8
8
  ChatHeader 聊天头部组件是聊天界面的顶部导航组件,用于显示当前会话的基本信息。能够展示会话标题、头像、在线状态、输入状态提示等信息。组件采用容器组件模式,提供了灵活的插槽机制用于自定义左右两侧的操作区域。
9
9
 
10
-
11
10
  ## Props 速查表
12
11
 
13
12
  | 字段 | 类型 | 默认值 | 描述 |
14
13
  |------|------|--------|------|
15
- | [title](https://write.woa.com/#title) | string | undefined | 自定义标题,未提供时使用会话信息。 |
16
- | [avatarUrl](https://write.woa.com/#avatarUrl) | string | undefined | 自定义头像图片 URL。 |
17
- | [enableUserStatus](https://write.woa.com/#enableUserStatus) | boolean | false | 是否显示用户状态。 |
18
-
14
+ | title | string | undefined | 自定义标题,未提供时使用会话信息。 |
15
+ | avatarUrl | string | undefined | 自定义头像图片 URL。 |
16
+ | enableUserStatus | boolean | false | 是否显示用户状态。 |
19
17
 
20
18
  ## Slot 速查表
21
19
 
22
20
  | 名称 | 描述 |
23
21
  |------|------|
24
- | [ChatHeaderLeft](https://write.woa.com/#ChatHeaderLeft) | 头部左侧自定义内容区域。 |
25
- | [ChatHeaderRight](https://write.woa.com/#ChatHeaderRight) | 头部右侧自定义内容区域。 |
26
-
22
+ | ChatHeaderLeft | 头部左侧自定义内容区域。 |
23
+ | ChatHeaderRight | 头部右侧自定义内容区域。 |
27
24
 
28
25
  ## Props 详细介绍
29
26
 
@@ -32,19 +29,16 @@ ChatHeader 聊天头部组件是聊天界面的顶部导航组件,用于显示
32
29
 
33
30
  - **描述**:自定义会话标题,当不提供此属性时,组件会自动根据会话类型显示相应的标题(单聊显示用户昵称或备注,群聊显示群名称),默认值为 `undefined`。
34
31
 
35
-
36
32
  ### avatarUrl
37
33
  - **类型**:string
38
34
 
39
35
  - **描述**:自定义头像图片的 URL 地址,当不提供此属性时,组件会自动根据会话类型显示相应的头像(单聊显示用户头像,群聊显示群头像),默认值为 `undefined`。
40
36
 
41
-
42
37
  ### enableUserStatus
43
38
  - **类型**:boolean
44
39
 
45
40
  - **描述**:是否启用并显示用户在线状态功能,仅在单聊模式下生效,开启后会显示用户的在线/离线状态,默认值为 `false`。
46
41
 
47
-
48
42
  ## Slots 详细介绍
49
43
 
50
44
  ### ChatHeaderLeft
@@ -57,7 +51,7 @@ ChatHeader 聊天头部组件是聊天界面的顶部导航组件,用于显示
57
51
  <ChatHeader>
58
52
  <template #ChatHeaderLeft>
59
53
  <!-- 返回按钮, 清除激活的会话 -->
60
- <button
54
+ <button
61
55
  class="nav-button"
62
56
  @click="handleBack"
63
57
  >
@@ -133,7 +127,7 @@ const handleBack = () => {
133
127
 
134
128
  <script setup lang="ts">
135
129
  import {
136
- ChatHeader,
130
+ ChatHeader,
137
131
  ChatSetting
138
132
  } from '@tencentcloud/chat-uikit-vue3';
139
133
  import { TUIDrawer, IconHorizontalMore2 } from '@tencentcloud/uikit-base-component-vue3';
@@ -6,14 +6,12 @@ ChatSetting 是一个智能的聊天设置组件,它能够根据当前激活
6
6
  - **自动适配**:根据会话类型(分为单聊和群聊)自动切换设置界面。
7
7
 
8
8
  - **状态驱动**:基于当前激活会话状态自动更新内容。
9
-
10
9
 
11
10
  > **注意:**
12
- >
11
+ >
13
12
 
14
13
  > 如果当前没有激活的会话则不会显示。
15
- >
16
-
14
+ >
17
15
 
18
16
  ## 快速使用
19
17
 
@@ -34,7 +32,7 @@ ChatSetting 是一个可自由使用的独立组件,为了组件使用的灵
34
32
  <MessageList />
35
33
  <MessageInput />
36
34
  </Chat>
37
- <Drawer
35
+ <Drawer
38
36
  :open="isSettingVisible"
39
37
  title="聊天设置"
40
38
  >
@@ -58,31 +56,28 @@ const toggleChatSetting = () => {
58
56
  ```
59
57
 
60
58
  ## 相关文档
61
- - [自定义组件 - UIKitProvider](https://write.woa.com/document/187032638782849024)
59
+ - 自定义组件 - UIKitProvider
62
60
 
63
- - [自定义组件 - ConversationList](https://write.woa.com/document/186960319111872512)
61
+ - 自定义组件 - ConversationList
64
62
 
65
- - [自定义组件 - Chat](https://write.woa.com/document/187778215983329280)
63
+ - 自定义组件 - Chat
66
64
 
67
- - [自定义组件 - MessageInput](https://write.woa.com/document/187058763983568896)
65
+ - 自定义组件 - MessageInput
68
66
 
69
- - [自定义组件 - MessageList](https://write.woa.com/document/187036342928752640)
67
+ - 自定义组件 - MessageList
70
68
 
71
- - [自定义组件 - ChatSetting](https://write.woa.com/document/187321409859108864)
69
+ - 自定义组件 - ChatSetting
72
70
 
73
- - [自定义组件 - C2CSetting State](https://write.woa.com/document/187323861368082432)
71
+ - 自定义组件 - C2CSetting State
74
72
 
75
- - [自定义组件 - GroupSetting State](https://write.woa.com/document/187684794845769728)
73
+ - 自定义组件 - GroupSetting State
76
74
 
77
- - [自定义组件 - ContactList](https://write.woa.com/document/187595466274463744)
75
+ - 自定义组件 - ContactList
78
76
 
79
- - [自定义组件 - Search](https://write.woa.com/document/187595449195040768)
77
+ - 自定义组件 - Search
80
78
 
81
79
  - [chat-uikit-vue3 npm](https://www.npmjs.com/package/@tencentcloud/chat-uikit-vue3)
82
80
 
83
81
  - [GitHub Demo](https://github.com/Tencent-RTC/TUIKit_Vue3/tree/main/demos/rtcube-vite-vue3)
84
82
 
85
-
86
83
  ## 交流与反馈
87
-
88
- 如遇任何问题,可联系 [官网售后](https://cloud.tencent.com/act/event/connect-service#/) 反馈,享有专业工程师的支持,解决您的难题。
@@ -8,7 +8,6 @@ AI 模型必须遵守以下**硬性限制**。
8
8
 
9
9
  Chat 组件负责渲染聊天界面,包含聊天窗口头部组件 ChatHeader 、消息列表组件 MessageList、 消息输入组件 MessageInput。
10
10
 
11
-
12
11
  ## 组件构成
13
12
 
14
13
  Chat 组件包含以下内容:
@@ -40,4 +39,4 @@ import {
40
39
  MessageInput,
41
40
  } from '@tencentcloud/chat-uikit-vue3';
42
41
  </script>
43
- ```
42
+ ```
@@ -46,7 +46,6 @@
46
46
  11. MicButton
47
47
  麦克风控制按钮,适用于会议、直播场景,用于静音/取消静音
48
48
 
49
-
50
49
  ### 适用于直播场景的组件
51
50
 
52
51
  1. CoGuestPanel
@@ -0,0 +1,271 @@
1
+ ## 概述
2
+
3
+ ContactList 是一个高度可配置的联系人列表组件。该组件支持好友列表、群组列表、黑名单和申请管理,提供分组折叠、搜索过滤、自定义渲染等核心功能,适用于即时通讯、社交应用等场景的联系人管理界面。
4
+
5
+ ## ContactList Props
6
+ | 字段 | 类型 | 默认值 | 描述 |
7
+ | --- | --- | --- | --- |
8
+ | activeContactItem | ContactGroupItem \\| undefined | undefined | 当前激活的联系人项 |
9
+ | enableSearch | boolean | true | 是否启用搜索功能 |
10
+ | groupConfig | Partial<Record<ContactItemType, CustomGroupConfig>> | {} | 自定义分组配置 |
11
+ | searchPlaceholder | string | 'Search contacts' | 搜索框占位符文本 |
12
+ | emptyText | string | 'No contacts' | 空状态提示文本 |
13
+ | ContactItem | Component \\| undefined | ContactListItem | 自定义联系人项组件 |
14
+ | ContactSearchComponent | Component \\| undefined | ContactSearch | 自定义搜索组件 |
15
+ | GroupHeader | Component \\| undefined | 默认分组头 | 自定义分组头部组件 |
16
+ | PlaceholderEmptyList | Component \\| undefined | 默认空状态 | 自定义空状态组件 |
17
+ | onContactItemClick | (item: ContactGroupItem) => void | undefined | 联系人项点击事件 |
18
+ | onFriendApplicationAction | (action: 'accept' \\| 'refuse', application: FriendApplication) => void | undefined | 好友申请操作事件 |
19
+ | onGroupApplicationAction | (action: 'accept' \\| 'refuse', application: GroupApplication) => void | undefined | 群组申请操作事件 |
20
+
21
+ ## ContactList Events
22
+ | 事件名 | 参数 | 描述 |
23
+ | --- | --- | --- |
24
+ | contact-item-click | (item: ContactGroupItem) | 联系人项点击事件 |
25
+ | friend-application-action | (action: 'accept' \\| 'refuse', application: FriendApplication) | 好友申请操作事件 |
26
+ | group-application-action | (action: 'accept' \\| 'refuse', application: GroupApplication) | 群组申请操作事件 |
27
+
28
+ ## ContactInfo Props
29
+ | 字段 | 类型 | 默认值 | 描述 |
30
+ | --- | --- | --- | --- |
31
+ | contactItem | ContactGroupItem \\| undefined | undefined | 当前显示的联系人项 |
32
+ | showActions | boolean | true | 是否显示操作按钮 |
33
+ | PlaceholderEmpty | Component \\| undefined | undefined | 空状态占位组件 |
34
+ | FriendInfoComponent | Component | FriendInfo | 好友信息组件 |
35
+ | GroupInfoComponent | Component | GroupInfo | 群组信息组件 |
36
+ | BlacklistInfoComponent | Component | BlacklistInfo | 黑名单信息组件 |
37
+ | FriendApplicationInfoComponent | Component | FriendApplicationInfo | 好友申请信息组件 |
38
+ | GroupApplicationInfoComponent | Component | GroupApplicationInfo | 群组申请信息组件 |
39
+ | SearchGroupInfoComponent | Component | SearchGroupInfo | 搜索群组信息组件 |
40
+ | SearchUserInfoComponent | Component | SearchUserInfo | 搜索用户信息组件 |
41
+
42
+ ## ContactInfo Events
43
+ | 事件名 | 参数 | 描述 |
44
+ | --- | --- | --- |
45
+ | close | - | 关闭信息面板事件 |
46
+ | sendMessage | (friend: Friend) | 发送消息事件 |
47
+ | deleteFriend | (friend: Friend) | 删除好友事件 |
48
+ | addToBlacklist | (friend: Friend) | 添加到黑名单事件 |
49
+ | removeFromBlacklist | (profile: UserProfile) | 从黑名单移除事件 |
50
+ | updateFriendRemark | (friend: Friend) | 更新好友备注事件 |
51
+ | enterGroup | (group: GroupModel) | 进入群组事件 |
52
+ | leaveGroup | (group: GroupModel) | 退出群组事件 |
53
+ | dismissGroup | (group: GroupModel) | 解散群组事件 |
54
+ | friendApplicationAction | (action: 'accept' \\| 'refuse', application: FriendApplication) | 好友申请操作事件 |
55
+ | groupApplicationAction | (action: 'accept' \\| 'refuse', application: GroupApplication) | 群组申请操作事件 |
56
+ | addFriend | (user: UserProfile, wording: string) | 添加好友事件 |
57
+ | joinGroup | (group: GroupModel, note: string) | 加入群组事件 |
58
+
59
+ ## 基础用法
60
+ ``` typescript
61
+ <template>
62
+ <div class="contact-container">
63
+ <ContactList />
64
+ <ContactInfo />
65
+ </div>
66
+ </template>
67
+
68
+ <script setup lang="ts">
69
+ import { ContactList, ContactInfo } from '@tencentcloud/chat-uikit-vue3';
70
+ </script>
71
+
72
+ <style scoped>
73
+ .contact-container {
74
+ display: flex;
75
+ height: 100vh;
76
+ }
77
+ </style>
78
+ ```
79
+
80
+ ## 自定义
81
+
82
+ ### 自定义联系列表搜索功能开关
83
+
84
+ 通过设置 `enableSearch` 参数,您可以灵活地控制 ContactList 中的搜索好友群组功能的显示。
85
+ ``` typescript
86
+ <template>
87
+ <ContactList :enableSearch="false" />
88
+ </template>
89
+ ```
90
+ | enableSearch="true" | enableSearch="false" |
91
+ | --- | --- |
92
+ | | |
93
+
94
+ ### 自定义联系列表联系人分组配置
95
+
96
+ `groupConfig` 用于自定义分组配置,包括标题、显示顺序、隐藏分组等。
97
+ ``` typescript
98
+ <template>
99
+ <ContactList :groupConfig="customGroupConfig" />
100
+ </template>
101
+
102
+ <script setup lang="ts">
103
+ import { ContactList } from '@tencentcloud/chat-uikit-vue3';
104
+ import { ContactItemType } from '@tencentcloud/chat-uikit-vue3';
105
+
106
+ const customGroupConfig = {
107
+ [ContactItemType.FRIEND]: {
108
+ title: '我的朋友们',
109
+ order: 1,
110
+ },
111
+ [ContactItemType.GROUP]: {
112
+ title: '群聊列表',
113
+ order: 2,
114
+ },
115
+ [ContactItemType.BLACK]: {
116
+ hidden: true,
117
+ },
118
+ [ContactItemType.FRIEND_REQUEST]: {
119
+ title: '好友请求',
120
+ order: 0,
121
+ }
122
+ };
123
+ </script>
124
+ ```
125
+ | 修改前 | 修改后 |
126
+ | --- | --- |
127
+ | | |
128
+
129
+ ### 自定义联系列表子项
130
+
131
+ 您可以通过传入自定义的 `ContactItem` 组件来完全控制联系人列表项的渲染。
132
+ ``` typescript
133
+ <template>
134
+ <div class="custom-contact-item" @click="handleClick">
135
+ <label>自定义联系人</label>
136
+ <span v-if="props.contactItem.type === ContactItemType.FRIEND">{{ props.contactItem.data.nick }}</span>
137
+ <span v-if="props.contactItem.type === ContactItemType.GROUP">{{ props.contactItem.data.name }}</span>
138
+ </div>
139
+ </template>
140
+ <script setup lang="ts">
141
+ import { ContactItemType } from '@tencentcloud/chat-uikit-vue3';
142
+
143
+ const props = defineProps<{
144
+ contactItem: any;
145
+ }>();
146
+ const emit = defineEmits<{
147
+ click: [type: ContactItemType, item: any];
148
+ }>();
149
+ const handleClick = () => {
150
+ emit('click', props.contactItem.type, props.contactItem.data);
151
+ };
152
+ </script>
153
+ <style scoped>
154
+ .custom-contact-item {
155
+ display: flex;
156
+ align-items: center;
157
+ gap: 10px;
158
+ padding: 10px 20px;
159
+ border-bottom: 1px solid #eee;
160
+ }
161
+ </style>
162
+
163
+ ```
164
+ ``` typescript
165
+ <template>
166
+ <ContactList :ContactItem="CustomContactItem" />
167
+ </template>
168
+
169
+ <script setup lang="ts">
170
+ import { ContactList } from '@tencentcloud/chat-uikit-vue3';
171
+ import CustomContactItem from './CustomContactItem.vue';
172
+ </script>
173
+ ```
174
+ | 修改前 | 修改后 |
175
+ | --- | --- |
176
+ | | |
177
+
178
+ ### 自定义联系人详情操作按钮开关
179
+
180
+ 通过设置 `showActions` 参数,您可以控制联系人详情页面中操作按钮的显示。
181
+ ``` typescript
182
+ <template>
183
+ <ContactInfo
184
+ :showActions="false"
185
+ />
186
+ </template>
187
+ ```
188
+ | 修改前 | 修改后 |
189
+ | --- | --- |
190
+ | | |
191
+
192
+ ### 自定义联系人详情空状态
193
+
194
+ 当没有选中任何联系人时,您可以自定义显示的空状态组件。
195
+ ``` typescript
196
+ <template>
197
+ <div>
198
+ 自定义空状态
199
+ </div>
200
+ </template>
201
+ ```
202
+ ``` typescript
203
+ <template>
204
+ <ContactInfo
205
+ :PlaceholderEmpty="CustomEmpty"
206
+ />
207
+ </template>
208
+
209
+ <script setup lang="ts">
210
+ import { ContactList } from '@tencentcloud/chat-uikit-vue3';
211
+ import CustomEmpty from './CustomEmpty.vue';
212
+ </script>
213
+ ```
214
+
215
+ ### 自定义好友详情组件
216
+
217
+ 您可以为不同类型的联系人自定义详情显示组件。
218
+ ``` typescript
219
+ <template>
220
+ <div class="custom-contact-info">
221
+ <label>自定义好友详情</label>
222
+ <div class="friend-info">
223
+
224
+ <span>{{ friend.nick }}</span>
225
+ </div>
226
+ </div>
227
+ </template>
228
+ <script setup lang="ts">
229
+ import type { Friend } from '@tencentcloud/chat-uikit-vue3';
230
+
231
+ defineProps<{
232
+ friend: Friend;
233
+ }>();
234
+ </script>
235
+ <style scoped>
236
+ .custom-contact-info {
237
+ display: flex;
238
+ flex-direction: column;
239
+ gap: 10px;
240
+ padding: 20px;
241
+ }
242
+ .friend-info {
243
+ display: flex;
244
+ justify-content: space-between;
245
+ align-items: center;
246
+ gap: 10px;
247
+ }
248
+ .avatar {
249
+ width: 60px;
250
+ height: 60px;
251
+ border-radius: 50%
252
+ }
253
+ </style>
254
+
255
+ ```
256
+ ``` typescript
257
+ <template>
258
+ <ContactInfo
259
+ :FriendInfoComponent="CustomFriendInfo"
260
+ />
261
+ </template>
262
+
263
+ <script setup lang="ts">
264
+ import { defineComponent, h } from 'vue';
265
+ import type { FriendInfoProps, GroupInfoProps } from '@tencentcloud/chat-uikit-vue3';
266
+ import CustomFriendInfo from './CustomFriendInfo.vue';
267
+ </script>
268
+ ```
269
+ | 修改前 | 修改后 |
270
+ | --- | --- |
271
+ | | |
@@ -0,0 +1,228 @@
1
+ ## 概述
2
+
3
+ ConversationActions 组件负责单条会话的操作,默认支持删除、置顶、免打扰和标记未读/已读。
4
+
5
+ ## 基础用法
6
+
7
+ 在 `ConversationList` 中,可以通过 `actionsConfig` 属性快速自定义会话操作。
8
+ ``` typescript
9
+ <template>
10
+ <UIKitProvider>
11
+ <ConversationList :actions-config="actionsConfig" />
12
+ </UIKitProvider>
13
+ </template>
14
+
15
+ <script setup lang="ts">
16
+ import { UIKitProvider, ConversationList } from '@tencentcloud/chat-uikit-vue3';
17
+ import type { ConversationModel } from '@tencentcloud/chat-uikit-vue3';
18
+
19
+ const actionsConfig = {
20
+ enablePin: false,
21
+ onConversationDelete: (conversation: ConversationModel) => {
22
+ console.log('Delete conversation success');
23
+ },
24
+ customConversationActions: {
25
+ 'custom-actions-1': {
26
+ label: 'custom-actions',
27
+ onClick: (conversation: ConversationModel) => {
28
+ console.log(conversation);
29
+ },
30
+ },
31
+ },
32
+ };
33
+ </script>
34
+ ```
35
+
36
+ ## 高阶用法
37
+
38
+ 如果需要更深度的定制,可以直接替换 `ConversationList` 的 `ConversationActions` 属性。
39
+ ``` typescript
40
+ <template>
41
+ <UIKitProvider>
42
+ <ConversationList
43
+ :ConversationActions="CustomConversationActions"
44
+ />
45
+ </UIKitProvider>
46
+ </template>
47
+
48
+ <script setup lang="ts">
49
+ import { defineComponent } from 'vue';
50
+ import { UIKitProvider, ConversationList, ConversationActions } from '@tencentcloud/chat-uikit-vue3';
51
+ import type { ConversationActionsProps } from '@tencentcloud/chat-uikit-vue3';
52
+
53
+ const CustomConversationActions = defineComponent({
54
+ name: 'CustomConversationActions',
55
+ setup(props: ConversationActionsProps) {
56
+ return () => h(ConversationActions, {
57
+ ...props,
58
+ enableDelete: false
59
+ });
60
+ }
61
+ });
62
+ </script>
63
+ ```
64
+
65
+ ## Props
66
+
67
+ ConversationActions 组件的接口类型 `ConversationActionsProps` 基于 `ConversationActionsConfig` 接口进行扩展。
68
+
69
+ ### ConversationActionsProps
70
+ | 参数名 | 类型 | 默认值 | 说明 |
71
+ | --- | --- | --- | --- |
72
+ | conversation(Required) | ConversationModel | - | 必选参数,表示当前渲染会话操作对应的会话 |
73
+ | className | string | - | 自定义根元素的类名 |
74
+ | style | CSSProperties | - | 自定义根元素的样式 |
75
+
76
+ ### ConversationActionsConfig
77
+ | 参数名 | 类型 | 默认值 | 说明 |
78
+ | --- | --- | --- | --- |
79
+ | enablePin | boolean | true | 是否显示置顶功能按钮 |
80
+ | enableMute | boolean | true | 是否显示免打扰功能按钮 |
81
+ | enableDelete | boolean | true | 是否显示删除功能按钮 |
82
+ | enableMarkUnread | boolean | true | 是否显示标记未读功能按钮 |
83
+ | onMarkConversationUnread | (conversation: ConversationModel, e?: Event) => void | - | 自定义标记未读/已读会话的行为 |
84
+ | onConversationPin | (conversation: ConversationModel, e?: Event) => void | - | 自定义置顶/取消置顶会话的行为 |
85
+ | onConversationMute | (conversation: ConversationModel, e?: Event) => void | - | 自定义免打扰/取消免打扰会话的行为 |
86
+ | onConversationDelete | (conversation: ConversationModel, e?: Event) => void | - | 自定义删除会话的行为 |
87
+ | customConversationActions | Record<string, ConversationActionItem> | - | 自定义会话操作项 |
88
+ | PopupIcon | any | - | 自定义动作弹窗的图标 |
89
+ | PopupElements | any[] | - | 自定义动作弹窗的内容 |
90
+ | onClick | (e: Event, key?: string, conversation?: ConversationModel) => void | - | 点击动作项时的回调函数 |
91
+ | onClose | () => void | - | 关闭动作弹窗时的回调函数(H5 专用) |
92
+
93
+ ### ConversationActionItem
94
+ | 参数名 | 类型 | 默认值 | 说明 |
95
+ | --- | --- | --- | --- |
96
+ | enable | boolean | true | 是否启用自定义操作项 |
97
+ | label | string | - | 自定义操作项的展示内容 |
98
+ | onClick | (conversation: ConversationModel, e?: Event) => void | - | 点击自定义操作项时的回调函数 |
99
+
100
+ ## Events
101
+ | 事件名 | 参数 | 说明 |
102
+ | --- | --- | --- |
103
+ | click | (e: Event, key?: string, conversation?: ConversationModel) | 点击操作项时触发 |
104
+ | close | () | 关闭操作弹窗时触发 |
105
+ | markConversationUnread | (conversation: ConversationModel, e?: Event) | 标记会话未读/已读时触发 |
106
+ | conversationPin | (conversation: ConversationModel, e?: Event) | 置顶/取消置顶会话时触发 |
107
+ | conversationMute | (conversation: ConversationModel, e?: Event) | 免打扰/取消免打扰会话时触发 |
108
+ | conversationDelete | (conversation: ConversationModel, e?: Event) | 删除会话时触发 |
109
+
110
+ ## 自定义组件
111
+
112
+ ### 基础功能开关
113
+
114
+ 通过设置 `enablePin`、`enableDelete`、`enableMute` 和 `enableMarkUnread` 参数,您可以灵活地控制 `ConversationActions` 中的会话置顶、会话免打扰、会话删除和标记未读的显示。
115
+ ``` typescript
116
+ <template>
117
+ <!-- 禁用置顶功能 -->
118
+ <ConversationActions :enablePin="false" :conversation="conversation" />
119
+
120
+ <!-- 禁用删除功能 -->
121
+ <ConversationActions :enableDelete="false" :conversation="conversation" />
122
+
123
+ <!-- 禁用免打扰功能 -->
124
+ <ConversationActions :enableMute="false" :conversation="conversation" />
125
+
126
+ <!-- 禁用标记未读功能 -->
127
+ <ConversationActions :enableMarkUnread="false" :conversation="conversation" />
128
+ </template>
129
+ ```
130
+ | `enablePin: false` | `enableDelete: false` | `enableMute: false` | enableMarkUnread="false" |
131
+ | --- | --- | --- | --- |
132
+ | | | | |
133
+
134
+ ### 事件响应
135
+
136
+ ConversationActions 组件默认支持会话删除、会话置顶/取消置顶、会话免打扰/取消免打扰、标记未读/已读功能,如已有功能的事件响应不符合您的需求,您可以自定义事件响应处理函数并进行覆盖;除了支持对于功能事件响应的自定义外,您还可以通过 `@click` 获取基础点击事件响应。
137
+ ``` typescript
138
+ <template>
139
+ <ConversationList :conversation-actions="CustomConversationActions" />
140
+ </template>
141
+
142
+ <script setup lang="ts">
143
+ import { defineComponent, h } from 'vue';
144
+ import { ConversationActions, Toast } from '@tencentcloud/chat-uikit-vue3';
145
+ import type { ConversationActionsProps, ConversationModel } from '@tencentcloud/chat-uikit-vue3';
146
+
147
+ const CustomConversationActions = defineComponent({
148
+ name: 'CustomConversationActions',
149
+ setup(props: ConversationActionsProps) {
150
+ const handleConversationDelete = (conversation: ConversationModel) => {
151
+ conversation.deleteConversation().then(() => {
152
+ console.log('delete conversation successfully!');
153
+ }).catch(() => {
154
+ console.log('delete conversation failed!');
155
+ });
156
+ };
157
+
158
+ return () => h(ConversationActions, {
159
+ ...props,
160
+ onConversationDelete: handleConversationDelete
161
+ });
162
+ }
163
+ });
164
+ </script>
165
+ ```
166
+
167
+ ### 自定义操作
168
+
169
+ customConversationActions 用于在 ConversationActions 上新增自定义操作项列表。
170
+
171
+ **示例:新增自定义操作项**
172
+ ``` typescript
173
+ <template>
174
+ <ConversationList :ConversationActions="CustomConversationActions" />
175
+ </template>
176
+
177
+ <script setup lang="ts">
178
+ import { defineComponent, h } from 'vue';
179
+ import { ConversationActions } from '@tencentcloud/chat-uikit-vue3';
180
+ import type { ConversationActionsProps, ConversationModel } from '@tencentcloud/chat-uikit-vue3';
181
+
182
+ const CustomConversationActions = defineComponent({
183
+ name: 'CustomConversationActions',
184
+ setup(props: ConversationActionsProps) {
185
+ return () => h(ConversationActions, {
186
+ ...props,
187
+ customConversationActions: {
188
+ 'custom-actions-1': {
189
+ label: 'custom-actions',
190
+ onClick: (conversation: ConversationModel) => {
191
+ console.log(conversation);
192
+ },
193
+ },
194
+ }
195
+ });
196
+ }
197
+ });
198
+ </script>
199
+ ```
200
+
201
+ ### UI 界面定制
202
+
203
+ 您可以通过 `PopupIcon` 参数定制唤醒弹出按钮样式,通过 `PopupElements` 定制弹出内容。
204
+
205
+ **示例:自定义唤起按钮**
206
+ ``` typescript
207
+ <template>
208
+ <ConversationList :ConversationActions="CustomConversationActions" />
209
+ </template>
210
+
211
+ <script setup lang="ts">
212
+ import { defineComponent, h } from 'vue';
213
+ import { ConversationActions } from '@tencentcloud/chat-uikit-vue3';
214
+ import type { ConversationActionsProps } from '@tencentcloud/chat-uikit-vue3';
215
+
216
+ const CustomConversationActions = defineComponent({
217
+ name: 'CustomConversationActions',
218
+ setup(props: ConversationActionsProps) {
219
+ const customIcon = h('div', '自定义 Icon');
220
+
221
+ return () => h(ConversationActions, {
222
+ ...props,
223
+ PopupIcon: customIcon
224
+ });
225
+ }
226
+ });
227
+ </script>
228
+ ```