@tencentcloud/sdk-mcp 1.3.9 → 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 (510) 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/vue/faq.md → callkit/faq/web-faq.md} +78 -311
  9. package/resource/doc/callkit/preset/android/api.md +330 -0
  10. package/resource/doc/{tuicallkit → callkit/preset}/android/integration.md +63 -420
  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/{chatuikit → chatkit}/android/integration.md +30 -126
  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/{live → core-sdk/live}/flutter/live-integration.md +160 -543
  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/{voice → core-sdk/voice}/android/voice-audience-list.md +17 -88
  134. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-audio-effect.md +34 -192
  135. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-barrage.md +26 -139
  136. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-co-guest-interaction.md +53 -262
  137. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-gift.md +75 -455
  138. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-host-interaction.md +60 -272
  139. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-integration.md +63 -440
  140. package/resource/doc/livekit/{voice → core-sdk/voice}/android/voice-room-list.md +23 -151
  141. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audience-list.md +13 -91
  142. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-audio-effect.md +34 -177
  143. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-barrage.md +18 -102
  144. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-co-guest-interaction.md +44 -201
  145. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-gift.md +66 -460
  146. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-integration.md +57 -419
  147. package/resource/doc/livekit/{voice → core-sdk/voice}/flutter/voice-room-list.md +24 -157
  148. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audience-list.md +23 -96
  149. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-audio-effect.md +33 -195
  150. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-barrage.md +35 -150
  151. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-co-guest-interaction.md +45 -254
  152. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-gift.md +77 -457
  153. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-host-interaction.md +52 -261
  154. package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +478 -0
  155. package/resource/doc/livekit/{voice → core-sdk/voice}/ios/voice-room-list.md +36 -167
  156. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audience-list.md +15 -45
  157. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-audio-effect.md +23 -137
  158. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-barrage.md +25 -131
  159. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-co-guest-interaction.md +70 -366
  160. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-gift.md +70 -424
  161. package/resource/doc/livekit/core-sdk/voice/uni-app/voice-integration.md +323 -0
  162. package/resource/doc/livekit/{voice → core-sdk/voice}/uni-app/voice-room-list.md +24 -116
  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 +21 -80
  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 -34
  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 -41
  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 -46
  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 -61
  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/workflow.md +0 -713
  346. package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1376
  347. package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -860
  348. package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1371
  349. package/resource/doc/chatuikit/flutter/workflow.md +0 -816
  350. package/resource/doc/chatuikit/iOS/workflow.md +0 -0
  351. package/resource/doc/chatuikit/react/components/conversation-list.md +0 -765
  352. package/resource/doc/chatuikit/react/components/search.md +0 -885
  353. package/resource/doc/chatuikit/react/create-group.md +0 -22
  354. package/resource/doc/chatuikit/react/init.md +0 -25
  355. package/resource/doc/chatuikit/react/workflow.md +0 -254
  356. package/resource/doc/chatuikit/uniapp-app/faq.md +0 -0
  357. package/resource/doc/chatuikit/uniapp-app/integration.md +0 -619
  358. package/resource/doc/chatuikit/uniapp-app/workflow.md +0 -576
  359. package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
  360. package/resource/doc/chatuikit/vue/components/tuikit.md +0 -110
  361. package/resource/doc/chatuikit/vue/create-group.md +0 -26
  362. package/resource/doc/chatuikit/vue/init.md +0 -35
  363. package/resource/doc/chatuikit/vue/workflow.md +0 -395
  364. package/resource/doc/livekit/live/android/workflow.md +0 -322
  365. package/resource/doc/livekit/live/flutter/workflow.md +0 -353
  366. package/resource/doc/livekit/live/ios/workflow.md +0 -352
  367. package/resource/doc/livekit/live/vue/components/barrage.md +0 -615
  368. package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -442
  369. package/resource/doc/livekit/live/vue/faq.md +0 -0
  370. package/resource/doc/livekit/live/vue/live-list-integration.md +0 -195
  371. package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -293
  372. package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -381
  373. package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -598
  374. package/resource/doc/livekit/live/vue/states/live-state.md +0 -2656
  375. package/resource/doc/livekit/live/vue/workflow.md +0 -219
  376. package/resource/doc/livekit/voice/android/workflow.md +0 -333
  377. package/resource/doc/livekit/voice/flutter/workflow.md +0 -359
  378. package/resource/doc/livekit/voice/ios/voice-integration.md +0 -853
  379. package/resource/doc/livekit/voice/ios/workflow.md +0 -358
  380. package/resource/doc/livekit/voice/uni-app/voice-integration.md +0 -613
  381. package/resource/doc/livekit/voice/uni-app/workflow.md +0 -369
  382. package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -334
  383. package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -434
  384. package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -685
  385. package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -712
  386. package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -284
  387. package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
  388. package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
  389. package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
  390. package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
  391. package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -879
  392. package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -668
  393. package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -456
  394. package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -332
  395. package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
  396. package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -328
  397. package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -505
  398. package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
  399. package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -676
  400. package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
  401. package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -820
  402. package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1065
  403. package/resource/doc/roomkit/vue/features/workflow.md +0 -553
  404. package/resource/doc/roomkit/vue/workflow.md +0 -733
  405. package/resource/doc/tuicallkit/android/workflow.md +0 -432
  406. package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -786
  407. package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -663
  408. package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -932
  409. package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -926
  410. package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -452
  411. package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -779
  412. package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -635
  413. package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
  414. package/resource/doc/tuicallkit/react/api.md +0 -1512
  415. package/resource/doc/tuicallkit/react/faq.md +0 -986
  416. package/resource/doc/tuicallkit/vue/api.md +0 -1512
  417. package/tools/call/get-native-call-integration.js +0 -43
  418. package/tools/call/get-native-call-integration.js.map +0 -1
  419. package/tools/call/get-web-call-api.js +0 -27
  420. package/tools/call/get-web-call-api.js.map +0 -1
  421. package/tools/call/get-web-call-integration.js.map +0 -1
  422. package/tools/chat/get-native-chat-feature-detail.js +0 -30
  423. package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
  424. package/tools/chat/get-native-chat-integration.js +0 -45
  425. package/tools/chat/get-native-chat-integration.js.map +0 -1
  426. package/tools/chat/get-web-chat-component-detail.js +0 -31
  427. package/tools/chat/get-web-chat-component-detail.js.map +0 -1
  428. package/tools/chat/get-web-chat-integration.js +0 -45
  429. package/tools/chat/get-web-chat-integration.js.map +0 -1
  430. package/tools/chat/get-web-chat-uikit-init.js +0 -28
  431. package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
  432. package/tools/chat/get-web-create-group-doc.js +0 -28
  433. package/tools/chat/get-web-create-group-doc.js.map +0 -1
  434. package/tools/common/get-faq.js +0 -91
  435. package/tools/common/get-faq.js.map +0 -1
  436. package/tools/common/get-usersig.js.map +0 -1
  437. package/tools/common/present-framework-choice.js +0 -16
  438. package/tools/common/present-framework-choice.js.map +0 -1
  439. package/tools/common/present-scenario-choice.js +0 -16
  440. package/tools/common/present-scenario-choice.js.map +0 -1
  441. package/tools/common/record-prompt.js +0 -55
  442. package/tools/common/record-prompt.js.map +0 -1
  443. package/tools/common/record-result.js +0 -60
  444. package/tools/common/record-result.js.map +0 -1
  445. package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
  446. package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
  447. package/tools/definitions/get_native_live_api_def.js +0 -22
  448. package/tools/definitions/get_native_live_api_def.js.map +0 -1
  449. package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -109
  450. package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
  451. package/tools/definitions/get_native_live_uikit_integration_def.js +0 -75
  452. package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
  453. package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -63
  454. package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
  455. package/tools/definitions/get_trtc_native_api_def.js +0 -17
  456. package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
  457. package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
  458. package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
  459. package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
  460. package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
  461. package/tools/definitions/get_web_create_group_doc_def.js +0 -18
  462. package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
  463. package/tools/definitions/get_web_live_state_detail_def.js +0 -19
  464. package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
  465. package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
  466. package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
  467. package/tools/definitions/get_web_room_feature_detail_def.js +0 -92
  468. package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
  469. package/tools/definitions/present_scenario_choice_def.js +0 -53
  470. package/tools/definitions/present_scenario_choice_def.js.map +0 -1
  471. package/tools/definitions/record_prompt_def.js +0 -58
  472. package/tools/definitions/record_prompt_def.js.map +0 -1
  473. package/tools/definitions/record_result_def.js +0 -46
  474. package/tools/definitions/record_result_def.js.map +0 -1
  475. package/tools/live/get-native-live-uikit-integration.js +0 -177
  476. package/tools/live/get-native-live-uikit-integration.js.map +0 -1
  477. package/tools/live/get-web-live-component-detail.js +0 -31
  478. package/tools/live/get-web-live-component-detail.js.map +0 -1
  479. package/tools/live/get-web-live-state-detail.js +0 -31
  480. package/tools/live/get-web-live-state-detail.js.map +0 -1
  481. package/tools/live/get-web-live-uikit-integration.js +0 -52
  482. package/tools/live/get-web-live-uikit-integration.js.map +0 -1
  483. package/tools/live/get_native_live_uikit_extra_features.js +0 -105
  484. package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
  485. package/tools/live/get_native_live_uikit_interaction.js +0 -194
  486. package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
  487. package/tools/native_live/get-native-live-api.js +0 -31
  488. package/tools/native_live/get-native-live-api.js.map +0 -1
  489. package/tools/room/get-web-room-feature-detail.js.map +0 -1
  490. package/tools/room/get-web-room-integration.js.map +0 -1
  491. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
  492. package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
  493. package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
  494. package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
  495. package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
  496. package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
  497. package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
  498. package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
  499. package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
  500. package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
  501. package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
  502. package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
  503. package/tools/trtc/get-trtc-native-api.js +0 -31
  504. package/tools/trtc/get-trtc-native-api.js.map +0 -1
  505. package/utils/handle-component-name.js +0 -33
  506. package/utils/handle-component-name.js.map +0 -1
  507. /package/resource/doc/{rtcengine/web → callkit/core-sdk}/.gitkeep +0 -0
  508. /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
  509. /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
  510. /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
@@ -3,208 +3,35 @@
3
3
  Search 是一个功能完整的搜索解决方案,包含了搜索框、搜索结果展示、高级搜索等功能的完整组件集合。适用于即时通讯、在线会议、在线教育等场景的用户、群组、消息搜索。
4
4
 
5
5
  > **说明:**
6
- >
6
+ >
7
7
 
8
8
  > 此功能属于增值服务,需要您购买云端搜索插件,请点击 [购买](https://cloud.tencent.com/document/product/269/120945)。
9
- >
10
-
11
-
12
- ![](https://write-document-release-1258344699.cos.ap-guangzhou.tencentcos.cn/100027116646/a31b2bd2870911f0bd05525400454e06.png)
13
-
9
+ >
14
10
 
15
11
  ## 搜索模式
16
- <table>
17
- <tr>
18
- <td rowspan="1" colSpan="1" >**迷你模式 (MINI)**</td>
19
-
20
- <td rowspan="1" colSpan="1" >**标准模式 (STANDARD)**</td>
21
-
22
- <td rowspan="1" colSpan="1" >**嵌入式模式 (EMBEDDED)**</td>
23
- </tr>
24
-
25
- <tr>
26
- <td rowspan="1" colSpan="1" >适用于侧边栏或小容器<br>显示有限结果数量<br>支持展开查看更多</td>
27
-
28
- <td rowspan="1" colSpan="1" >适用于全屏搜索界面<br>完整功能展示<br>支持高级搜索</td>
29
-
30
- <td rowspan="1" colSpan="1" >适用于聊天界面<br>专注消息搜索<br>优化的布局</td>
31
- </tr>
32
- </table>
33
-
12
+ | **迷你模式 (MINI)** | **标准模式 (STANDARD)** | **嵌入式模式 (EMBEDDED)** |
13
+ | --- | --- | --- |
14
+ | 适用于侧边栏或小容器<br>显示有限结果数量<br>支持展开查看更多 | 适用于全屏搜索界面<br>完整功能展示<br>支持高级搜索 | 适用于聊天界面<br>专注消息搜索<br>优化的布局 |
34
15
 
35
16
  ## Props
36
- <table>
37
- <tr>
38
- <td rowspan="1" colSpan="1" >属性名</td>
39
-
40
- <td rowspan="1" colSpan="1" >类型</td>
41
-
42
- <td rowspan="1" colSpan="1" >默认值</td>
43
-
44
- <td rowspan="1" colSpan="1" >说明</td>
45
- </tr>
46
-
47
- <tr>
48
- <td rowspan="1" colSpan="1" >variant</td>
49
-
50
- <td rowspan="1" colSpan="1" >VariantType</td>
51
-
52
- <td rowspan="1" colSpan="1" >VariantType.MINI</td>
53
-
54
- <td rowspan="1" colSpan="1" >搜索模式:mini(迷你)、standard(标准)、embedded(嵌入式)</td>
55
- </tr>
56
-
57
- <tr>
58
- <td rowspan="1" colSpan="1" >SearchBar</td>
59
-
60
- <td rowspan="1" colSpan="1" >Component<SearchBarProps></td>
61
-
62
- <td rowspan="1" colSpan="1" >DefaultSearchBar</td>
63
-
64
- <td rowspan="1" colSpan="1" >自定义搜索框组件</td>
65
- </tr>
66
-
67
- <tr>
68
- <td rowspan="1" colSpan="1" >SearchResults</td>
69
-
70
- <td rowspan="1" colSpan="1" >Component<SearchResultsProps></td>
71
-
72
- <td rowspan="1" colSpan="1" >DefaultSearchResults</td>
73
-
74
- <td rowspan="1" colSpan="1" >自定义搜索结果组件</td>
75
- </tr>
76
-
77
- <tr>
78
- <td rowspan="1" colSpan="1" >SearchAdvanced</td>
79
-
80
- <td rowspan="1" colSpan="1" >Component<SearchAdvancedProps></td>
81
-
82
- <td rowspan="1" colSpan="1" >DefaultSearchAdvanced</td>
83
-
84
- <td rowspan="1" colSpan="1" >自定义高级搜索组件</td>
85
- </tr>
86
-
87
- <tr>
88
- <td rowspan="1" colSpan="1" >SearchResultsPresearch</td>
89
-
90
- <td rowspan="1" colSpan="1" >Component</td>
91
-
92
- <td rowspan="1" colSpan="1" >-</td>
93
-
94
- <td rowspan="1" colSpan="1" >搜索前占位符组件</td>
95
- </tr>
96
-
97
- <tr>
98
- <td rowspan="1" colSpan="1" >SearchResultsLoading</td>
99
-
100
- <td rowspan="1" colSpan="1" >Component</td>
101
-
102
- <td rowspan="1" colSpan="1" >-</td>
103
-
104
- <td rowspan="1" colSpan="1" >加载中占位符组件</td>
105
- </tr>
106
-
107
- <tr>
108
- <td rowspan="1" colSpan="1" >SearchResultsEmpty</td>
109
-
110
- <td rowspan="1" colSpan="1" >Component</td>
111
-
112
- <td rowspan="1" colSpan="1" >-</td>
113
-
114
- <td rowspan="1" colSpan="1" >空结果占位符组件</td>
115
- </tr>
116
-
117
- <tr>
118
- <td rowspan="1" colSpan="1" >SearchResultItem</td>
119
-
120
- <td rowspan="1" colSpan="1" >Component<ResultItemProps></td>
121
-
122
- <td rowspan="1" colSpan="1" >-</td>
123
-
124
- <td rowspan="1" colSpan="1" >自定义搜索结果项组件</td>
125
- </tr>
126
-
127
- <tr>
128
- <td rowspan="1" colSpan="1" >debounceTime</td>
129
-
130
- <td rowspan="1" colSpan="1" >number</td>
131
-
132
- <td rowspan="1" colSpan="1" >300</td>
133
-
134
- <td rowspan="1" colSpan="1" >搜索防抖时间(毫秒)</td>
135
- </tr>
136
-
137
- <tr>
138
- <td rowspan="1" colSpan="1" >autoFocus</td>
139
-
140
- <td rowspan="1" colSpan="1" >boolean</td>
141
-
142
- <td rowspan="1" colSpan="1" >false</td>
143
-
144
- <td rowspan="1" colSpan="1" >是否自动聚焦搜索框</td>
145
- </tr>
146
-
147
- <tr>
148
- <td rowspan="1" colSpan="1" >className</td>
149
-
150
- <td rowspan="1" colSpan="1" >string</td>
151
-
152
- <td rowspan="1" colSpan="1" >-</td>
153
-
154
- <td rowspan="1" colSpan="1" >自定义样式类名</td>
155
- </tr>
156
-
157
- <tr>
158
- <td rowspan="1" colSpan="1" >style</td>
159
-
160
- <td rowspan="1" colSpan="1" >CSSProperties</td>
161
-
162
- <td rowspan="1" colSpan="1" >-</td>
163
-
164
- <td rowspan="1" colSpan="1" >自定义样式</td>
165
- </tr>
166
-
167
- <tr>
168
- <td rowspan="1" colSpan="1" >onKeywordChange</td>
169
-
170
- <td rowspan="1" colSpan="1" >(keyword: string) => void</td>
171
-
172
- <td rowspan="1" colSpan="1" >-</td>
173
-
174
- <td rowspan="1" colSpan="1" >搜索关键词变化回调</td>
175
- </tr>
176
-
177
- <tr>
178
- <td rowspan="1" colSpan="1" >onSearchComplete</td>
179
-
180
- <td rowspan="1" colSpan="1" >(results: Map<SearchType, SearchResult>) => void</td>
181
-
182
- <td rowspan="1" colSpan="1" >-</td>
183
-
184
- <td rowspan="1" colSpan="1" >搜索完成回调</td>
185
- </tr>
186
-
187
- <tr>
188
- <td rowspan="1" colSpan="1" >onResultItemClick</td>
189
-
190
- <td rowspan="1" colSpan="1" >(data: SearchResultItem, type: SearchType) => void</td>
191
-
192
- <td rowspan="1" colSpan="1" >-</td>
193
-
194
- <td rowspan="1" colSpan="1" >搜索结果点击回调</td>
195
- </tr>
196
-
197
- <tr>
198
- <td rowspan="1" colSpan="1" >onError</td>
199
-
200
- <td rowspan="1" colSpan="1" >(error: Error) => void</td>
201
-
202
- <td rowspan="1" colSpan="1" >-</td>
203
-
204
- <td rowspan="1" colSpan="1" >搜索错误回调</td>
205
- </tr>
206
- </table>
207
-
17
+ | 属性名 | 类型 | 默认值 | 说明 |
18
+ | --- | --- | --- | --- |
19
+ | variant | VariantType | VariantType.MINI | 搜索模式:mini(迷你)、standard(标准)、embedded(嵌入式) |
20
+ | SearchBar | Component<SearchBarProps> | DefaultSearchBar | 自定义搜索框组件 |
21
+ | SearchResults | Component<SearchResultsProps> | DefaultSearchResults | 自定义搜索结果组件 |
22
+ | SearchAdvanced | Component<SearchAdvancedProps> | DefaultSearchAdvanced | 自定义高级搜索组件 |
23
+ | SearchResultsPresearch | Component | - | 搜索前占位符组件 |
24
+ | SearchResultsLoading | Component | - | 加载中占位符组件 |
25
+ | SearchResultsEmpty | Component | - | 空结果占位符组件 |
26
+ | SearchResultItem | Component<ResultItemProps> | - | 自定义搜索结果项组件 |
27
+ | debounceTime | number | 300 | 搜索防抖时间(毫秒) |
28
+ | autoFocus | boolean | false | 是否自动聚焦搜索框 |
29
+ | className | string | - | 自定义样式类名 |
30
+ | style | CSSProperties | - | 自定义样式 |
31
+ | onKeywordChange | (keyword: string) => void | - | 搜索关键词变化回调 |
32
+ | onSearchComplete | (results: Map<SearchType, SearchResult>) => void | - | 搜索完成回调 |
33
+ | onResultItemClick | (data: SearchResultItem, type: SearchType) => void | - | 搜索结果点击回调 |
34
+ | onError | (error: Error) => void | - | 搜索错误回调 |
208
35
 
209
36
  ## 基础用法
210
37
  ``` typescript
@@ -241,153 +68,24 @@ const handleError = (error: Error) => {
241
68
 
242
69
  `Search` 组件提供了多个可替换的子组件,允许用户自定义 `SearchBar`, `SearchResults`, `SearchAdvanced`, `SearchResultItem`, `SearchResultsPresearch`, `SearchResultsLoading`, `SearchResultsEmpty` 等。同时,用户还可以利用默认子组件进行二次开发定制。
243
70
 
244
-
245
-
246
71
  【自定义 SearchBar】
247
72
 
248
73
  **Props**
249
- <table>
250
- <tr>
251
- <td rowspan="1" colSpan="1" >属性名</td>
252
-
253
- <td rowspan="1" colSpan="1" >类型</td>
254
-
255
- <td rowspan="1" colSpan="1" >默认值</td>
256
-
257
- <td rowspan="1" colSpan="1" >说明</td>
258
- </tr>
259
-
260
- <tr>
261
- <td rowspan="1" colSpan="1" >value</td>
262
-
263
- <td rowspan="1" colSpan="1" >string</td>
264
-
265
- <td rowspan="1" colSpan="1" >-</td>
266
-
267
- <td rowspan="1" colSpan="1" >搜索框值</td>
268
- </tr>
269
-
270
- <tr>
271
- <td rowspan="1" colSpan="1" >onChange</td>
272
-
273
- <td rowspan="1" colSpan="1" >(e: Event) => void</td>
274
-
275
- <td rowspan="1" colSpan="1" >-</td>
276
-
277
- <td rowspan="1" colSpan="1" >输入变化回调</td>
278
- </tr>
279
-
280
- <tr>
281
- <td rowspan="1" colSpan="1" >onKeyDown</td>
282
-
283
- <td rowspan="1" colSpan="1" >(e: KeyboardEvent) => void</td>
284
-
285
- <td rowspan="1" colSpan="1" >-</td>
286
-
287
- <td rowspan="1" colSpan="1" >键盘事件回调</td>
288
- </tr>
289
-
290
- <tr>
291
- <td rowspan="1" colSpan="1" >onClear</td>
292
-
293
- <td rowspan="1" colSpan="1" >() => void</td>
294
-
295
- <td rowspan="1" colSpan="1" >-</td>
296
-
297
- <td rowspan="1" colSpan="1" >清除回调</td>
298
- </tr>
299
-
300
- <tr>
301
- <td rowspan="1" colSpan="1" >placeholder</td>
302
-
303
- <td rowspan="1" colSpan="1" >string</td>
304
-
305
- <td rowspan="1" colSpan="1" >-</td>
306
-
307
- <td rowspan="1" colSpan="1" >占位符文本</td>
308
- </tr>
309
-
310
- <tr>
311
- <td rowspan="1" colSpan="1" >SearchIcon</td>
312
-
313
- <td rowspan="1" colSpan="1" >Component</td>
314
-
315
- <td rowspan="1" colSpan="1" >-</td>
316
-
317
- <td rowspan="1" colSpan="1" >自定义搜索图标</td>
318
- </tr>
319
-
320
- <tr>
321
- <td rowspan="1" colSpan="1" >ClearIcon</td>
322
-
323
- <td rowspan="1" colSpan="1" >Component</td>
324
-
325
- <td rowspan="1" colSpan="1" >-</td>
326
-
327
- <td rowspan="1" colSpan="1" >自定义清除图标</td>
328
- </tr>
329
-
330
- <tr>
331
- <td rowspan="1" colSpan="1" >className</td>
332
-
333
- <td rowspan="1" colSpan="1" >string</td>
334
-
335
- <td rowspan="1" colSpan="1" >-</td>
336
-
337
- <td rowspan="1" colSpan="1" >自定义样式类名</td>
338
- </tr>
339
-
340
- <tr>
341
- <td rowspan="1" colSpan="1" >style</td>
342
-
343
- <td rowspan="1" colSpan="1" >CSSProperties</td>
344
-
345
- <td rowspan="1" colSpan="1" >-</td>
346
-
347
- <td rowspan="1" colSpan="1" >自定义样式</td>
348
- </tr>
349
-
350
- <tr>
351
- <td rowspan="1" colSpan="1" >onFocus</td>
352
-
353
- <td rowspan="1" colSpan="1" >(e: FocusEvent) => void</td>
354
-
355
- <td rowspan="1" colSpan="1" >-</td>
356
-
357
- <td rowspan="1" colSpan="1" >获得焦点回调</td>
358
- </tr>
359
-
360
- <tr>
361
- <td rowspan="1" colSpan="1" >onBlur</td>
362
-
363
- <td rowspan="1" colSpan="1" >(e: FocusEvent) => void</td>
364
-
365
- <td rowspan="1" colSpan="1" >-</td>
366
-
367
- <td rowspan="1" colSpan="1" >失去焦点回调</td>
368
- </tr>
369
-
370
- <tr>
371
- <td rowspan="1" colSpan="1" >autoFocus</td>
372
-
373
- <td rowspan="1" colSpan="1" >boolean</td>
374
-
375
- <td rowspan="1" colSpan="1" >false</td>
376
-
377
- <td rowspan="1" colSpan="1" >是否自动聚焦</td>
378
- </tr>
379
-
380
- <tr>
381
- <td rowspan="1" colSpan="1" >variant</td>
382
-
383
- <td rowspan="1" colSpan="1" >VariantType</td>
384
-
385
- <td rowspan="1" colSpan="1" >-</td>
386
-
387
- <td rowspan="1" colSpan="1" >搜索模式</td>
388
- </tr>
389
- </table>
390
-
74
+ | 属性名 | 类型 | 默认值 | 说明 |
75
+ | --- | --- | --- | --- |
76
+ | value | string | - | 搜索框值 |
77
+ | onChange | (e: Event) => void | - | 输入变化回调 |
78
+ | onKeyDown | (e: KeyboardEvent) => void | - | 键盘事件回调 |
79
+ | onClear | () => void | - | 清除回调 |
80
+ | placeholder | string | - | 占位符文本 |
81
+ | SearchIcon | Component | - | 自定义搜索图标 |
82
+ | ClearIcon | Component | - | 自定义清除图标 |
83
+ | className | string | - | 自定义样式类名 |
84
+ | style | CSSProperties | - | 自定义样式 |
85
+ | onFocus | (e: FocusEvent) => void | - | 获得焦点回调 |
86
+ | onBlur | (e: FocusEvent) => void | - | 失去焦点回调 |
87
+ | autoFocus | boolean | false | 是否自动聚焦 |
88
+ | variant | VariantType | - | 搜索模式 |
391
89
 
392
90
  **示例**
393
91
  ``` typescript
@@ -519,148 +217,21 @@ import CustomSearchBar from './CustomSearchBar.vue';
519
217
  【自定义 SearchResults】
520
218
 
521
219
  **Props**
522
- <table>
523
- <tr>
524
- <td rowspan="1" colSpan="1" >属性名</td>
525
-
526
- <td rowspan="1" colSpan="1" >类型</td>
527
-
528
- <td rowspan="1" colSpan="1" >默认值</td>
529
-
530
- <td rowspan="1" colSpan="1" >说明</td>
531
- </tr>
532
-
533
- <tr>
534
- <td rowspan="1" colSpan="1" >results</td>
535
-
536
- <td rowspan="1" colSpan="1" >Map<SearchType, SearchResult></td>
537
-
538
- <td rowspan="1" colSpan="1" >-</td>
539
-
540
- <td rowspan="1" colSpan="1" >搜索结果数据</td>
541
- </tr>
542
-
543
- <tr>
544
- <td rowspan="1" colSpan="1" >isLoading</td>
545
-
546
- <td rowspan="1" colSpan="1" >boolean</td>
547
-
548
- <td rowspan="1" colSpan="1" >-</td>
549
-
550
- <td rowspan="1" colSpan="1" >是否正在加载</td>
551
- </tr>
552
-
553
- <tr>
554
- <td rowspan="1" colSpan="1" >error</td>
555
-
556
- <td rowspan="1" colSpan="1" >Error \| null</td>
557
-
558
- <td rowspan="1" colSpan="1" >-</td>
559
-
560
- <td rowspan="1" colSpan="1" >错误信息</td>
561
- </tr>
562
-
563
- <tr>
564
- <td rowspan="1" colSpan="1" >keyword</td>
565
-
566
- <td rowspan="1" colSpan="1" >string</td>
567
-
568
- <td rowspan="1" colSpan="1" >-</td>
569
-
570
- <td rowspan="1" colSpan="1" >搜索关键词</td>
571
- </tr>
572
-
573
- <tr>
574
- <td rowspan="1" colSpan="1" >typeLabels</td>
575
-
576
- <td rowspan="1" colSpan="1" >Record<SearchType, string></td>
577
-
578
- <td rowspan="1" colSpan="1" >-</td>
579
-
580
- <td rowspan="1" colSpan="1" >搜索类型标签</td>
581
- </tr>
582
-
583
- <tr>
584
- <td rowspan="1" colSpan="1" >onLoadMore</td>
585
-
586
- <td rowspan="1" colSpan="1" >(type: SearchType) => void</td>
587
-
588
- <td rowspan="1" colSpan="1" >-</td>
589
-
590
- <td rowspan="1" colSpan="1" >加载更多回调</td>
591
- </tr>
592
-
593
- <tr>
594
- <td rowspan="1" colSpan="1" >onResultItemClick</td>
595
-
596
- <td rowspan="1" colSpan="1" >(data: SearchResultItemType, type: SearchType) => void</td>
597
-
598
- <td rowspan="1" colSpan="1" >-</td>
599
-
600
- <td rowspan="1" colSpan="1" >结果项点击回调</td>
601
- </tr>
602
-
603
- <tr>
604
- <td rowspan="1" colSpan="1" >SearchResultsLoading</td>
605
-
606
- <td rowspan="1" colSpan="1" >Component</td>
607
-
608
- <td rowspan="1" colSpan="1" >Loading</td>
609
-
610
- <td rowspan="1" colSpan="1" >自定义加载组件</td>
611
- </tr>
612
-
613
- <tr>
614
- <td rowspan="1" colSpan="1" >SearchResultsPresearch</td>
615
-
616
- <td rowspan="1" colSpan="1" >Component</td>
617
-
618
- <td rowspan="1" colSpan="1" >-</td>
619
-
620
- <td rowspan="1" colSpan="1" >搜索前占位符组件</td>
621
- </tr>
622
-
623
- <tr>
624
- <td rowspan="1" colSpan="1" >SearchResultsEmpty</td>
625
-
626
- <td rowspan="1" colSpan="1" >Component</td>
627
-
628
- <td rowspan="1" colSpan="1" >EmptyResult</td>
629
-
630
- <td rowspan="1" colSpan="1" >空结果占位符组件</td>
631
- </tr>
632
-
633
- <tr>
634
- <td rowspan="1" colSpan="1" >SearchResultItem</td>
635
-
636
- <td rowspan="1" colSpan="1" >Component<ResultItemProps></td>
637
-
638
- <td rowspan="1" colSpan="1" >DefaultSearchResultsItem</td>
639
-
640
- <td rowspan="1" colSpan="1" >自定义结果项组件</td>
641
- </tr>
642
-
643
- <tr>
644
- <td rowspan="1" colSpan="1" >variant</td>
645
-
646
- <td rowspan="1" colSpan="1" >VariantType</td>
647
-
648
- <td rowspan="1" colSpan="1" >VariantType.STANDARD</td>
649
-
650
- <td rowspan="1" colSpan="1" >显示模式</td>
651
- </tr>
652
-
653
- <tr>
654
- <td rowspan="1" colSpan="1" >searchType</td>
655
-
656
- <td rowspan="1" colSpan="1" >SearchType \| 'all'</td>
657
-
658
- <td rowspan="1" colSpan="1" >'all'</td>
659
-
660
- <td rowspan="1" colSpan="1" >当前搜索类型</td>
661
- </tr>
662
- </table>
663
-
220
+ | 属性名 | 类型 | 默认值 | 说明 |
221
+ | --- | --- | --- | --- |
222
+ | results | Map<SearchType, SearchResult> | - | 搜索结果数据 |
223
+ | isLoading | boolean | - | 是否正在加载 |
224
+ | error | Error \\| null | - | 错误信息 |
225
+ | keyword | string | - | 搜索关键词 |
226
+ | typeLabels | Record<SearchType, string> | - | 搜索类型标签 |
227
+ | onLoadMore | (type: SearchType) => void | - | 加载更多回调 |
228
+ | onResultItemClick | (data: SearchResultItemType, type: SearchType) => void | - | 结果项点击回调 |
229
+ | SearchResultsLoading | Component | Loading | 自定义加载组件 |
230
+ | SearchResultsPresearch | Component | - | 搜索前占位符组件 |
231
+ | SearchResultsEmpty | Component | EmptyResult | 空结果占位符组件 |
232
+ | SearchResultItem | Component<ResultItemProps> | DefaultSearchResultsItem | 自定义结果项组件 |
233
+ | variant | VariantType | VariantType.STANDARD | 显示模式 |
234
+ | searchType | SearchType \\| 'all' | 'all' | 当前搜索类型 |
664
235
 
665
236
  **示例**
666
237
  ``` typescript
@@ -709,7 +280,7 @@ import CustomSearchBar from './CustomSearchBar.vue';
709
280
  :key="index"
710
281
  @click="handleResultClick(data)"
711
282
  >
712
- {{ (data as SearchCloudGroupsResultItem).groupInfo.name
283
+ {{ (data as SearchCloudGroupsResultItem).groupInfo.name
713
284
  || (data as SearchCloudGroupsResultItem).groupInfo.groupID }}
714
285
  </li>
715
286
  </ul>
@@ -834,58 +405,12 @@ import CustomSearchResults from './CustomSearchResults.vue';
834
405
  【自定义 SearchAdvanced】
835
406
 
836
407
  **Props**
837
- <table>
838
- <tr>
839
- <td rowspan="1" colSpan="1" >属性名</td>
840
-
841
- <td rowspan="1" colSpan="1" >类型</td>
842
-
843
- <td rowspan="1" colSpan="1" >默认值</td>
844
-
845
- <td rowspan="1" colSpan="1" >说明</td>
846
- </tr>
847
-
848
- <tr>
849
- <td rowspan="1" colSpan="1" >variant</td>
850
-
851
- <td rowspan="1" colSpan="1" >VariantType</td>
852
-
853
- <td rowspan="1" colSpan="1" >-</td>
854
-
855
- <td rowspan="1" colSpan="1" >显示模式</td>
856
- </tr>
857
-
858
- <tr>
859
- <td rowspan="1" colSpan="1" >searchType</td>
860
-
861
- <td rowspan="1" colSpan="1" >SearchTabType</td>
862
-
863
- <td rowspan="1" colSpan="1" >-</td>
864
-
865
- <td rowspan="1" colSpan="1" >当前搜索类型</td>
866
- </tr>
867
-
868
- <tr>
869
- <td rowspan="1" colSpan="1" >advancedParams</td>
870
-
871
- <td rowspan="1" colSpan="1" >Map<SearchType, SearchParamsMap[SearchType]></td>
872
-
873
- <td rowspan="1" colSpan="1" >-</td>
874
-
875
- <td rowspan="1" colSpan="1" >高级搜索参数</td>
876
- </tr>
877
-
878
- <tr>
879
- <td rowspan="1" colSpan="1" >onAdvancedParamsChange</td>
880
-
881
- <td rowspan="1" colSpan="1" >(type: SearchType, params: SearchParamsMap[SearchType]) => void</td>
882
-
883
- <td rowspan="1" colSpan="1" >-</td>
884
-
885
- <td rowspan="1" colSpan="1" >参数变化回调</td>
886
- </tr>
887
- </table>
888
-
408
+ | 属性名 | 类型 | 默认值 | 说明 |
409
+ | --- | --- | --- | --- |
410
+ | variant | VariantType | - | 显示模式 |
411
+ | searchType | SearchTabType | - | 当前搜索类型 |
412
+ | advancedParams | Map<SearchType, SearchParamsMap[SearchType]> | - | 高级搜索参数 |
413
+ | onAdvancedParamsChange | (type: SearchType, params: SearchParamsMap[SearchType]) => void | - | 参数变化回调 |
889
414
 
890
415
  **示例**
891
416
  ``` typescript
@@ -1033,68 +558,13 @@ import CustomSearchAdvanced from './CustomSearchAdvanced.vue';
1033
558
  【自定义 SearchResultItem】
1034
559
 
1035
560
  **Props**
1036
- <table>
1037
- <tr>
1038
- <td rowspan="1" colSpan="1" >属性名</td>
1039
-
1040
- <td rowspan="1" colSpan="1" >类型</td>
1041
-
1042
- <td rowspan="1" colSpan="1" >默认值</td>
1043
-
1044
- <td rowspan="1" colSpan="1" >说明</td>
1045
- </tr>
1046
-
1047
- <tr>
1048
- <td rowspan="1" colSpan="1" >data</td>
1049
-
1050
- <td rowspan="1" colSpan="1" >SearchResultItem</td>
1051
-
1052
- <td rowspan="1" colSpan="1" >-</td>
1053
-
1054
- <td rowspan="1" colSpan="1" >搜索结果数据</td>
1055
- </tr>
1056
-
1057
- <tr>
1058
- <td rowspan="1" colSpan="1" >type</td>
1059
-
1060
- <td rowspan="1" colSpan="1" >SearchType</td>
1061
-
1062
- <td rowspan="1" colSpan="1" >-</td>
1063
-
1064
- <td rowspan="1" colSpan="1" >搜索结果类型</td>
1065
- </tr>
1066
-
1067
- <tr>
1068
- <td rowspan="1" colSpan="1" >keyword</td>
1069
-
1070
- <td rowspan="1" colSpan="1" >string</td>
1071
-
1072
- <td rowspan="1" colSpan="1" >-</td>
1073
-
1074
- <td rowspan="1" colSpan="1" >搜索关键词</td>
1075
- </tr>
1076
-
1077
- <tr>
1078
- <td rowspan="1" colSpan="1" >onClick</td>
1079
-
1080
- <td rowspan="1" colSpan="1" >(data: SearchResultItem, type: SearchType) => void</td>
1081
-
1082
- <td rowspan="1" colSpan="1" >-</td>
1083
-
1084
- <td rowspan="1" colSpan="1" >点击回调</td>
1085
- </tr>
1086
-
1087
- <tr>
1088
- <td rowspan="1" colSpan="1" >className</td>
1089
-
1090
- <td rowspan="1" colSpan="1" >string</td>
1091
-
1092
- <td rowspan="1" colSpan="1" >-</td>
1093
-
1094
- <td rowspan="1" colSpan="1" >自定义样式类名</td>
1095
- </tr>
1096
- </table>
1097
-
561
+ | 属性名 | 类型 | 默认值 | 说明 |
562
+ | --- | --- | --- | --- |
563
+ | data | SearchResultItem | - | 搜索结果数据 |
564
+ | type | SearchType | - | 搜索结果类型 |
565
+ | keyword | string | - | 搜索关键词 |
566
+ | onClick | (data: SearchResultItem, type: SearchType) => void | - | 点击回调 |
567
+ | className | string | - | 自定义样式类名 |
1098
568
 
1099
569
  **示例**
1100
570
  ``` java
@@ -1106,7 +576,7 @@ import CustomSearchAdvanced from './CustomSearchAdvanced.vue';
1106
576
  @click="handleClick"
1107
577
  >
1108
578
  <div class="user-avatar">
1109
- <img :src="data.profile.avatar" :alt="data.profile.nick" />
579
+
1110
580
  </div>
1111
581
  <div class="user-info">
1112
582
  <div class="user-name">{{ data.profile.nick }}</div>
@@ -1247,48 +717,11 @@ import CustomSearchItem from './CustomSearchItem.vue';
1247
717
  【自定义占位符】
1248
718
 
1249
719
  **Props**
1250
- <table>
1251
- <tr>
1252
- <td rowspan="1" colSpan="1" >属性名</td>
1253
-
1254
- <td rowspan="1" colSpan="1" >类型</td>
1255
-
1256
- <td rowspan="1" colSpan="1" >默认值</td>
1257
-
1258
- <td rowspan="1" colSpan="1" >说明</td>
1259
- </tr>
1260
-
1261
- <tr>
1262
- <td rowspan="1" colSpan="1" >SearchResultsPresearch</td>
1263
-
1264
- <td rowspan="1" colSpan="1" >Component</td>
1265
-
1266
- <td rowspan="1" colSpan="1" >-</td>
1267
-
1268
- <td rowspan="1" colSpan="1" >搜索前占位符组件</td>
1269
- </tr>
1270
-
1271
- <tr>
1272
- <td rowspan="1" colSpan="1" >SearchResultsLoading</td>
1273
-
1274
- <td rowspan="1" colSpan="1" >Component</td>
1275
-
1276
- <td rowspan="1" colSpan="1" >-</td>
1277
-
1278
- <td rowspan="1" colSpan="1" >加载中占位符组件</td>
1279
- </tr>
1280
-
1281
- <tr>
1282
- <td rowspan="1" colSpan="1" >SearchResultsEmpty</td>
1283
-
1284
- <td rowspan="1" colSpan="1" >Component</td>
1285
-
1286
- <td rowspan="1" colSpan="1" >-</td>
1287
-
1288
- <td rowspan="1" colSpan="1" >空结果占位符组件</td>
1289
- </tr>
1290
- </table>
1291
-
720
+ | 属性名 | 类型 | 默认值 | 说明 |
721
+ | --- | --- | --- | --- |
722
+ | SearchResultsPresearch | Component | - | 搜索前占位符组件 |
723
+ | SearchResultsLoading | Component | - | 加载中占位符组件 |
724
+ | SearchResultsEmpty | Component | - | 空结果占位符组件 |
1292
725
 
1293
726
  **示例**
1294
727
  ``` typescript