@tencentcloud/sdk-mcp 1.3.3 → 1.3.5
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.
- package/package.json +1 -1
- package/resource/doc/chatuikit/android/features/theme.md +363 -0
- package/resource/doc/chatuikit/android/workflow.md +0 -0
- package/resource/doc/chatuikit/{android/client_api_android.md → faq/android_sdk/client-api.md} +0 -1
- package/resource/doc/chatuikit/faq/{native_sdk/faq.md → common/product.md} +8 -0
- package/resource/doc/chatuikit/faq/flutter_sdk/faq.md +54 -0
- package/resource/doc/chatuikit/faq/web_sdk/faq.md +1 -1
- package/resource/doc/chatuikit/flutter/features/theme.md +379 -0
- package/resource/doc/chatuikit/flutter/workflow.md +816 -0
- package/resource/doc/chatuikit/iOS/features/theme.md +416 -0
- package/resource/doc/chatuikit/iOS/workflow.md +0 -0
- package/resource/doc/chatuikit/react/components/chat-setting.md +124 -0
- package/resource/doc/chatuikit/react/components/contact-list.md +1331 -0
- package/resource/doc/chatuikit/react/components/search.md +885 -0
- package/resource/doc/chatuikit/vue/components/chat-setting.md +88 -0
- package/resource/doc/chatuikit/vue/components/contact-list.md +679 -0
- package/resource/doc/chatuikit/vue/components/search.md +1384 -0
- package/resource/doc/livekit/live/android/workflow.md +137 -4
- package/resource/doc/livekit/live/flutter/live-audience-list.md +337 -0
- package/resource/doc/livekit/live/flutter/live-audio-effect.md +739 -0
- package/resource/doc/livekit/live/flutter/live-barrage.md +578 -0
- package/resource/doc/livekit/live/flutter/live-base-beauty.md +484 -0
- package/resource/doc/livekit/live/flutter/live-co-guest-interaction.md +606 -0
- package/resource/doc/livekit/live/flutter/live-gift.md +812 -0
- package/resource/doc/livekit/live/flutter/live-host-interaction.md +1113 -0
- package/resource/doc/livekit/live/flutter/live-integration.md +1029 -0
- package/resource/doc/livekit/live/flutter/live-live-list.md +861 -0
- package/resource/doc/livekit/live/ios/live-audience-list.md +335 -0
- package/resource/doc/livekit/live/ios/live-audio-effect.md +373 -0
- package/resource/doc/livekit/live/ios/live-barrage.md +529 -0
- package/resource/doc/livekit/live/ios/live-base-beauty.md +237 -0
- package/resource/doc/livekit/live/ios/live-co-guest-interaction.md +483 -0
- package/resource/doc/livekit/live/ios/live-gift.md +785 -0
- package/resource/doc/livekit/live/ios/live-host-interaction.md +743 -0
- package/resource/doc/livekit/live/ios/live-integration.md +822 -0
- package/resource/doc/livekit/live/ios/live-live-list.md +535 -0
- package/resource/doc/livekit/live/ios/workflow.md +352 -0
- package/resource/doc/rtcengine/faq/web/web.md +2 -2
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +2 -2
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +84 -0
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +86 -0
- package/resource/doc/rtcengine/web/plugin/22-advanced-audio-mixer.md +220 -0
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +217 -0
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +137 -0
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +97 -0
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +453 -0
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +180 -0
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +349 -0
- package/resource/doc/rtcengine/web/plugin/29-advanced-water-mark.md +149 -0
- package/resource/doc/rtcengine/web/plugin/30-advanced-cross-room-link.md +96 -0
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +405 -0
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +244 -0
- package/resource/doc/rtcengine/web/plugin/35-advanced-ai-denoiser.md +84 -0
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +202 -0
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +98 -0
- package/resource/doc/rtcengine/web/plugin/38-advanced-basic-beauty.md +95 -0
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +33 -0
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +380 -0
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +91 -0
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +314 -0
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +180 -0
- package/tools/chat/get-native-chat-feature-detail.js +30 -0
- package/tools/chat/get-native-chat-feature-detail.js.map +1 -0
- package/tools/chat/get-native-chat-integration.js +30 -12
- package/tools/chat/get-native-chat-integration.js.map +1 -1
- package/tools/common/get-faq.js +2 -4
- package/tools/common/get-faq.js.map +1 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +32 -0
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +18 -6
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/{get_native_live_extra_features_def.js → get_native_live_uikit_extra_features_def.js} +3 -3
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +1 -0
- package/tools/definitions/{get_native_live_interaction_def.js → get_native_live_uikit_interaction_def.js} +3 -3
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +1 -0
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +46 -7
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/record_prompt_def.js +41 -10
- package/tools/definitions/record_prompt_def.js.map +1 -1
- package/tools/definitions/record_result_def.js +1 -1
- package/tools/index.js +6 -4
- package/tools/index.js.map +1 -1
- package/tools/live/{get_native_live_extra_features.js → get_native_live_uikit_extra_features.js} +4 -4
- package/tools/live/get_native_live_uikit_extra_features.js.map +1 -0
- package/tools/live/{get_native_live_interaction.js → get_native_live_uikit_interaction.js} +4 -4
- package/tools/live/get_native_live_uikit_interaction.js.map +1 -0
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +1 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +45 -0
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +1 -0
- package/utils/handle-component-name.js +0 -16
- package/utils/handle-component-name.js.map +1 -1
- package/utils/report-cls-client.js +1 -1
- package/utils/report-es-client.js +1 -1
- package/resource/doc/chatuikit/android/integrate_tuichat_only_android.md +0 -382
- package/resource/doc/chatuikit/android/ui_api_android.md +0 -418
- package/resource/doc/chatuikit/iOS/integrate_tuichat_only_iOS.md +0 -993
- package/resource/doc/chatuikit/iOS/ui_api_iOS.md +0 -526
- package/tools/definitions/get_native_live_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_interaction_def.js.map +0 -1
- package/tools/live/get_native_live_extra_features.js.map +0 -1
- package/tools/live/get_native_live_interaction.js.map +0 -1
- /package/resource/doc/chatuikit/android/{integrate_tuikit_android.md → integration.md} +0 -0
- /package/resource/doc/chatuikit/{flutter/client_api_Flutter.md → faq/flutter_sdk/client-api.md} +0 -0
- /package/resource/doc/chatuikit/{iOS/client_api_iOS.md → faq/ios_sdk/client-api.md} +0 -0
- /package/resource/doc/chatuikit/flutter/{integrate_tuikit_Flutter.md → integration.md} +0 -0
- /package/resource/doc/chatuikit/iOS/{integrate_tuikit_iOS.md → integration.md} +0 -0
- /package/resource/doc/chatuikit/react/components/{chatheader.md → chat-header.md} +0 -0
- /package/resource/doc/chatuikit/vue/components/{chatheader.md → chat-header.md} +0 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
## 组件概述
|
|
2
|
+
|
|
3
|
+
ChatSetting 是一个智能的聊天设置组件,它能够根据当前激活的会话类型自动渲染相应的设置界面。该组件内部集成了 C2C(1 对 1)聊天设置和群聊设置两种模式,为用户提供了统一的聊天设置入口。
|
|
4
|
+
|
|
5
|
+
组件的核心特点:
|
|
6
|
+
- **自动适配**:根据会话类型(分为单聊和群聊)自动切换设置界面。
|
|
7
|
+
|
|
8
|
+
- **状态驱动**:基于当前激活会话状态自动更新内容。
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
> **注意:**
|
|
12
|
+
>
|
|
13
|
+
|
|
14
|
+
> 如果当前没有激活的会话则不会显示。
|
|
15
|
+
>
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## 快速使用
|
|
19
|
+
|
|
20
|
+
ChatSetting 是一个可自由使用的独立组件,为了组件使用的灵活度,UIKit 并没有提供默认的使用方式。
|
|
21
|
+
|
|
22
|
+
推荐的用法是:结合 ChatHeader 组件的 `ChatHeaderRight` 插槽,来控制 `ChatSetting` 的显示。以下是示例代码:
|
|
23
|
+
``` typescript
|
|
24
|
+
<template>
|
|
25
|
+
<UIKitProvider>
|
|
26
|
+
<Chat>
|
|
27
|
+
<ChatHeader>
|
|
28
|
+
<template #ChatHeaderRight>
|
|
29
|
+
<button @click="toggleChatSetting">
|
|
30
|
+
⚙️ 设置
|
|
31
|
+
</button>
|
|
32
|
+
</template>
|
|
33
|
+
</ChatHeader>
|
|
34
|
+
<MessageList />
|
|
35
|
+
<MessageInput />
|
|
36
|
+
</Chat>
|
|
37
|
+
<Drawer
|
|
38
|
+
:open="isSettingVisible"
|
|
39
|
+
title="聊天设置"
|
|
40
|
+
>
|
|
41
|
+
<ChatSetting />
|
|
42
|
+
</Drawer>
|
|
43
|
+
</UIKitProvider>
|
|
44
|
+
</template>
|
|
45
|
+
|
|
46
|
+
<script setup lang="ts">
|
|
47
|
+
import { ref } from 'vue';
|
|
48
|
+
import { ChatHeader } from '@tencentcloud/chat-uikit-vue3';
|
|
49
|
+
// 假设您有一个 Drawer 组件
|
|
50
|
+
import { Drawer } from 'your-ui-library';
|
|
51
|
+
|
|
52
|
+
const isSettingVisible = ref(false);
|
|
53
|
+
|
|
54
|
+
const toggleChatSetting = () => {
|
|
55
|
+
isSettingVisible.value = !isSettingVisible.value;
|
|
56
|
+
};
|
|
57
|
+
</script>
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## 相关文档
|
|
61
|
+
- [自定义组件 - UIKitProvider](https://write.woa.com/document/187032638782849024)
|
|
62
|
+
|
|
63
|
+
- [自定义组件 - ConversationList](https://write.woa.com/document/186960319111872512)
|
|
64
|
+
|
|
65
|
+
- [自定义组件 - Chat](https://write.woa.com/document/187778215983329280)
|
|
66
|
+
|
|
67
|
+
- [自定义组件 - MessageInput](https://write.woa.com/document/187058763983568896)
|
|
68
|
+
|
|
69
|
+
- [自定义组件 - MessageList](https://write.woa.com/document/187036342928752640)
|
|
70
|
+
|
|
71
|
+
- [自定义组件 - ChatSetting](https://write.woa.com/document/187321409859108864)
|
|
72
|
+
|
|
73
|
+
- [自定义组件 - C2CSetting State](https://write.woa.com/document/187323861368082432)
|
|
74
|
+
|
|
75
|
+
- [自定义组件 - GroupSetting State](https://write.woa.com/document/187684794845769728)
|
|
76
|
+
|
|
77
|
+
- [自定义组件 - ContactList](https://write.woa.com/document/187595466274463744)
|
|
78
|
+
|
|
79
|
+
- [自定义组件 - Search](https://write.woa.com/document/187595449195040768)
|
|
80
|
+
|
|
81
|
+
- [chat-uikit-vue3 npm](https://www.npmjs.com/package/@tencentcloud/chat-uikit-vue3)
|
|
82
|
+
|
|
83
|
+
- [GitHub Demo](https://github.com/Tencent-RTC/TUIKit_Vue3/tree/main/demos/rtcube-vite-vue3)
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
## 交流与反馈
|
|
87
|
+
|
|
88
|
+
如遇任何问题,可联系 [官网售后](https://cloud.tencent.com/act/event/connect-service#/) 反馈,享有专业工程师的支持,解决您的难题。
|