@tencent-rtc/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.
- package/package.json +2 -2
- package/resource/doc/{tuicallkit/iOS/faq.md → callkit/faq/android-faq.md} +10 -22
- package/resource/doc/{tuicallkit/android/faq.md → callkit/faq/flutter-faq.md} +10 -22
- package/resource/doc/{tuicallkit/flutter/faq.md → callkit/faq/ios-faq.md} +10 -22
- package/resource/doc/callkit/preset/android/api.md +296 -0
- package/resource/doc/callkit/preset/android/integration.md +430 -0
- package/resource/doc/callkit/preset/flutter/api.md +410 -0
- package/resource/doc/{tuicallkit → callkit/preset}/flutter/integration.md +35 -97
- package/resource/doc/callkit/preset/ios/api.md +80 -0
- package/resource/doc/{tuicallkit/iOS → callkit/preset/ios}/integration.md +37 -118
- package/resource/doc/callkit/preset/react/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/react/integration.md +5 -20
- package/resource/doc/callkit/preset/vue/api.md +501 -0
- package/resource/doc/{tuicallkit → callkit/preset}/vue/integration.md +4 -19
- package/resource/doc/{chatuikit → chatkit}/android/faq.md +29 -38
- package/resource/doc/{chatuikit → chatkit}/android/features/theme.md +22 -166
- package/resource/doc/chatkit/android/integration.md +490 -0
- package/resource/doc/chatkit/faq/android_sdk/client-api.md +281 -0
- package/resource/doc/{chatuikit → chatkit}/faq/common/product.md +0 -1
- package/resource/doc/{chatuikit → chatkit}/faq/common/server.md +1 -1
- package/resource/doc/chatkit/faq/flutter_sdk/client-api.md +199 -0
- package/resource/doc/{chatuikit → chatkit}/faq/flutter_sdk/faq.md +3 -3
- package/resource/doc/chatkit/faq/ios_sdk/client-api.md +235 -0
- package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/faq.md +3 -3
- package/resource/doc/{chatuikit → chatkit}/flutter/features/theme.md +22 -166
- package/resource/doc/{chatuikit → chatkit}/flutter/integration.md +19 -88
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/faq.md +29 -38
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/features/theme.md +27 -176
- package/resource/doc/{chatuikit/iOS → chatkit/ios}/integration.md +47 -165
- package/resource/doc/{chatuikit → chatkit}/react/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-header.md +8 -49
- package/resource/doc/{chatuikit → chatkit}/react/components/chat-setting.md +6 -35
- package/resource/doc/{chatuikit → chatkit}/react/components/chat.md +0 -6
- package/resource/doc/{chatuikit → chatkit}/react/components/component-list.md +0 -11
- package/resource/doc/{chatuikit → chatkit}/react/components/contact-list.md +96 -502
- package/resource/doc/chatkit/react/components/conversation-actions.md +174 -0
- package/resource/doc/chatkit/react/components/conversation-list.md +333 -0
- package/resource/doc/chatkit/react/components/conversation-preview.md +118 -0
- package/resource/doc/chatkit/react/components/conversation-search.md +60 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/message-input.md +36 -337
- package/resource/doc/{chatuikit → chatkit}/react/components/message-list.md +20 -212
- package/resource/doc/chatkit/react/components/search.md +243 -0
- package/resource/doc/{chatuikit → chatkit}/react/components/tuikit.md +1 -47
- package/resource/doc/{chatuikit → chatkit}/react/integration.md +21 -81
- package/resource/doc/{chatuikit → chatkit}/vue/components/avatar.md +0 -33
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-header.md +7 -48
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat-setting.md +3 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/chat.md +0 -5
- package/resource/doc/{chatuikit → chatkit}/vue/components/component-list.md +0 -15
- package/resource/doc/chatkit/vue/components/contact-list.md +271 -0
- package/resource/doc/chatkit/vue/components/conversation-actions.md +228 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/conversation-list.md +42 -492
- package/resource/doc/chatkit/vue/components/conversation-preview.md +213 -0
- package/resource/doc/chatkit/vue/components/conversation-search.md +50 -0
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-input.md +2 -223
- package/resource/doc/{chatuikit → chatkit}/vue/components/message-list.md +23 -252
- package/resource/doc/{chatuikit → chatkit}/vue/components/search.md +73 -640
- package/resource/doc/{chatuikit → chatkit}/vue/components/tuikit.md +7 -21
- package/resource/doc/{chatuikit → chatkit}/vue/components/userpicker.md +3 -62
- package/resource/doc/{chatuikit → chatkit}/vue/faq.md +1 -1
- package/resource/doc/{chatuikit → chatkit}/vue/integration.md +22 -23
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audience-list.md +18 -89
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-audio-effect.md +34 -192
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-barrage.md +28 -141
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-base-beauty.md +20 -112
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-co-guest-interaction.md +59 -193
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-gift.md +75 -455
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-host-interaction.md +94 -344
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-integration.md +107 -515
- package/resource/doc/livekit/{live → core-sdk/live}/android/live-live-list.md +33 -173
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audience-list.md +14 -93
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-audio-effect.md +34 -179
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-barrage.md +19 -107
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-base-beauty.md +24 -166
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-co-guest-interaction.md +56 -163
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-gift.md +69 -443
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-host-interaction.md +117 -364
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-integration.md +107 -492
- package/resource/doc/livekit/{live → core-sdk/live}/flutter/live-live-list.md +23 -165
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audience-list.md +35 -111
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-audio-effect.md +35 -193
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-barrage.md +31 -144
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-base-beauty.md +24 -116
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-co-guest-interaction.md +37 -171
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-gift.md +79 -459
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-host-interaction.md +69 -320
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-integration.md +85 -502
- package/resource/doc/livekit/{live → core-sdk/live}/ios/live-live-list.md +32 -169
- package/resource/doc/livekit/core-sdk/voice/android/voice-audience-list.md +263 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-audio-effect.md +222 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-barrage.md +452 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-co-guest-interaction.md +536 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-gift.md +442 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-host-interaction.md +489 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-integration.md +574 -0
- package/resource/doc/livekit/core-sdk/voice/android/voice-room-list.md +435 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-co-guest-interaction.md +516 -0
- package/resource/doc/livekit/core-sdk/voice/flutter/voice-integration.md +576 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audience-list.md +263 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-audio-effect.md +212 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-barrage.md +404 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-co-guest-interaction.md +499 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-gift.md +403 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-host-interaction.md +552 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-integration.md +514 -0
- package/resource/doc/livekit/core-sdk/voice/ios/voice-room-list.md +348 -0
- package/resource/doc/livekit/faq/common/{error_code.md → error-code.md} +2 -2
- package/resource/doc/livekit/preset/live/vue/api-reference/index.md +780 -0
- package/resource/doc/livekit/preset/live/vue/components/barrage.md +291 -0
- package/resource/doc/livekit/{live → preset/live}/vue/components/co-guest-panel.md +10 -49
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-audience-list.md +26 -144
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-scene-panel.md +12 -75
- package/resource/doc/livekit/{live → preset/live}/vue/components/live-view.md +36 -227
- package/resource/doc/livekit/preset/live/vue/components/stream-mixer.md +215 -0
- package/resource/doc/livekit/preset/live/vue/faq.md +1 -0
- package/resource/doc/livekit/preset/live/vue/live-list-integration.md +241 -0
- package/resource/doc/livekit/preset/live/vue/live-player-desk-integration.md +299 -0
- package/resource/doc/livekit/preset/live/vue/live-player-h5-integration.md +300 -0
- package/resource/doc/livekit/preset/live/vue/live-pusher-integration.md +743 -0
- package/resource/doc/roomkit/vue/faq.md +1 -0
- package/resource/doc/roomkit/vue/features/call-user-to-room.md +17 -53
- package/resource/doc/roomkit/vue/features/device-detection.md +30 -48
- package/resource/doc/roomkit/vue/features/device-state.md +24 -44
- package/resource/doc/roomkit/vue/features/free-beauty-panel.md +13 -36
- package/resource/doc/roomkit/vue/features/room-chat.md +31 -89
- package/resource/doc/roomkit/vue/features/room-participant-state.md +28 -50
- package/resource/doc/roomkit/vue/features/room-state.md +25 -34
- package/resource/doc/roomkit/vue/features/room-view.md +30 -125
- package/resource/doc/roomkit/vue/features/schedule-room.md +9 -40
- package/resource/doc/roomkit/vue/features/screen-share.md +22 -90
- package/resource/doc/roomkit/vue/features/virtual-background.md +13 -29
- package/resource/doc/roomkit/vue/integration.md +173 -337
- package/resource/doc/rtcengine/faq/common/error_code.md +1 -0
- package/resource/doc/rtcengine/faq/web/web.md +14 -24
- package/resource/doc/rtcengine/web/api.md +1 -3
- package/resource/doc/rtcengine/web/how_to_integrated_web_sdk.md +3 -10
- package/resource/doc/rtcengine/web/how_to_run_web_sdk_demo.md +1 -5
- package/resource/doc/rtcengine/web/plugin/20-advanced-customized-capture-rendering.md +1 -2
- package/resource/doc/rtcengine/web/plugin/21-advanced-auto-play-policy.md +2 -4
- package/resource/doc/rtcengine/web/plugin/23-advanced-support-detection.md +3 -5
- package/resource/doc/rtcengine/web/plugin/24-advanced-network-quality.md +1 -7
- package/resource/doc/rtcengine/web/plugin/25-advanced-device-change.md +0 -2
- package/resource/doc/rtcengine/web/plugin/26-advanced-publish-cdn-stream.md +4 -8
- package/resource/doc/rtcengine/web/plugin/27-advanced-small-stream.md +11 -11
- package/resource/doc/rtcengine/web/plugin/28-advanced-beauty.md +12 -88
- package/resource/doc/rtcengine/web/plugin/31-advanced-plugins-overview.md +5 -5
- package/resource/doc/rtcengine/web/plugin/34-advanced-proxy.md +30 -37
- package/resource/doc/rtcengine/web/plugin/36-advanced-virtual-background.md +13 -90
- package/resource/doc/rtcengine/web/plugin/37-advanced-voice-changer.md +1 -2
- package/resource/doc/rtcengine/web/plugin/39-advanced-video-decoder.md +1 -2
- package/resource/doc/rtcengine/web/plugin/40-advanced-video-mixer.md +19 -19
- package/resource/doc/rtcengine/web/plugin/41-advanced-small-stream-auto-switcher.md +1 -1
- package/resource/doc/rtcengine/web/plugin/42-advanced-realtime-transcriber.md +4 -5
- package/resource/doc/rtcengine/web/plugin/43-advanced-face-detection.md +3 -3
- package/resource/doc/trtc/C++/ITRTCCloud.md +686 -2835
- package/resource/doc/trtc/C++/ITRTCStatistics.md +53 -308
- package/resource/doc/trtc/C++/ITXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/C++/ITXDeviceManager.md +126 -767
- package/resource/doc/trtc/C++/TRTCCloudCallback.md +579 -2147
- package/resource/doc/trtc/C++/TRTCTypeDef.md +703 -3378
- package/resource/doc/trtc/C++/TXLiteAVCode.md +116 -908
- package/resource/doc/trtc/android/TRTCCloud.md +606 -2573
- package/resource/doc/trtc/android/TRTCCloudDef.md +752 -3640
- package/resource/doc/trtc/android/TRTCCloudListener.md +581 -2008
- package/resource/doc/trtc/android/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/android/TXAudioEffectManager.md +202 -1022
- package/resource/doc/trtc/android/TXBeautyManager.md +127 -704
- package/resource/doc/trtc/android/TXDeviceManager.md +51 -318
- package/resource/doc/trtc/android/TXLiteAVCode.md +114 -892
- package/resource/doc/trtc/iOS/TRTCCloud.md +694 -2904
- package/resource/doc/trtc/iOS/TRTCCloudDef.md +726 -3498
- package/resource/doc/trtc/iOS/TRTCCloudDelegate.md +543 -2028
- package/resource/doc/trtc/iOS/TRTCStatistics.md +48 -278
- package/resource/doc/trtc/iOS/TXAudioEffectManager.md +174 -877
- package/resource/doc/trtc/iOS/TXBeautyManager.md +128 -710
- package/resource/doc/trtc/iOS/TXDeviceManager.md +129 -772
- package/resource/doc/trtc/iOS/TXLiteAVCode.md +117 -915
- package/server.js +1 -5
- package/server.js.map +1 -1
- package/tools/call/get_callkit_api.js +32 -0
- package/tools/call/get_callkit_api.js.map +1 -0
- package/tools/call/get_native_call_uikit_integration.js +34 -0
- package/tools/call/get_native_call_uikit_integration.js.map +1 -0
- package/tools/call/{get-web-call-integration.js → get_web_call_uikit_integration.js} +13 -8
- package/tools/call/get_web_call_uikit_integration.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js +34 -0
- package/tools/chat/get_native_chat_uikit_feature_detail.js.map +1 -0
- package/tools/chat/get_native_chat_uikit_integration.js +45 -0
- package/tools/chat/get_native_chat_uikit_integration.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js +34 -0
- package/tools/chat/get_web_chat_uikit_component_detail.js.map +1 -0
- package/tools/chat/get_web_chat_uikit_integration.js +45 -0
- package/tools/chat/get_web_chat_uikit_integration.js.map +1 -0
- package/tools/common/get_faq.js +265 -0
- package/tools/common/get_faq.js.map +1 -0
- package/tools/common/{get-usersig.js → get_usersig.js} +6 -3
- package/tools/common/get_usersig.js.map +1 -0
- package/tools/common/present_framework_choice.js +63 -0
- package/tools/common/present_framework_choice.js.map +1 -0
- package/tools/definitions/get_callkit_api_def.js +29 -0
- package/tools/definitions/get_callkit_api_def.js.map +1 -0
- package/tools/definitions/get_faq_def.js +17 -18
- package/tools/definitions/get_faq_def.js.map +1 -1
- package/tools/definitions/get_native_call_uikit_integration_def.js +15 -18
- package/tools/definitions/get_native_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js +31 -0
- package/tools/definitions/get_native_chat_uikit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_native_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_native_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_native_livekit_core_features_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_features_def.js.map +1 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js +34 -0
- package/tools/definitions/get_native_livekit_core_integration_def.js.map +1 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js +32 -0
- package/tools/definitions/get_native_trtc_sdk_docs_def.js.map +1 -0
- package/tools/definitions/get_usersig_def.js +17 -22
- package/tools/definitions/get_usersig_def.js.map +1 -1
- package/tools/definitions/get_web_call_uikit_integration_def.js +15 -7
- package/tools/definitions/get_web_call_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js +17 -49
- package/tools/definitions/get_web_chat_uikit_component_detail_def.js.map +1 -1
- package/tools/definitions/get_web_chat_uikit_integration_def.js +16 -19
- package/tools/definitions/get_web_chat_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_live_uikit_integration_def.js +15 -18
- package/tools/definitions/get_web_live_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_livekit_api_def.js +30 -0
- package/tools/definitions/get_web_livekit_api_def.js.map +1 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js +32 -0
- package/tools/definitions/get_web_livekit_component_detail_def.js.map +1 -0
- package/tools/definitions/get_web_room_uikit_integration_def.js +15 -30
- package/tools/definitions/get_web_room_uikit_integration_def.js.map +1 -1
- package/tools/definitions/get_web_roomkit_feature_detail_def.js +31 -0
- package/tools/definitions/get_web_roomkit_feature_detail_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_api_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_integration_def.js.map +1 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js +27 -0
- package/tools/definitions/get_web_trtc_sdk_plugin_def.js.map +1 -0
- package/tools/definitions/present_framework_choice_def.js +24 -12
- package/tools/definitions/present_framework_choice_def.js.map +1 -1
- package/tools/index.js +47 -59
- package/tools/index.js.map +1 -1
- package/tools/live/get_native_livekit_core_features.js +65 -0
- package/tools/live/get_native_livekit_core_features.js.map +1 -0
- package/tools/live/get_native_livekit_core_integration.js +59 -0
- package/tools/live/get_native_livekit_core_integration.js.map +1 -0
- package/tools/live/get_web_live_uikit_integration.js +48 -0
- package/tools/live/get_web_live_uikit_integration.js.map +1 -0
- package/tools/live/get_web_livekit_api.js +32 -0
- package/tools/live/get_web_livekit_api.js.map +1 -0
- package/tools/live/get_web_livekit_component_detail.js +34 -0
- package/tools/live/get_web_livekit_component_detail.js.map +1 -0
- package/tools/room/{get-web-room-integration.js → get_web_room_uikit_integration.js} +13 -14
- package/tools/room/get_web_room_uikit_integration.js.map +1 -0
- package/tools/room/{get-web-room-feature-detail.js → get_web_roomkit_feature_detail.js} +30 -31
- package/tools/room/get_web_roomkit_feature_detail.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_api.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_integration.js.map +1 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js +31 -0
- package/tools/rtcengine/get_web_trtc_sdk_plugin.js.map +1 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js +73 -0
- package/tools/trtc/get_native_trtc_sdk_docs.js.map +1 -0
- package/utils/generate-structured-result.js +61 -17
- package/utils/generate-structured-result.js.map +1 -1
- package/utils/report-cls-client.js +12 -1
- package/utils/report-cls-client.js.map +1 -1
- package/utils/report-es-client.js +2 -2
- package/resource/doc/chatuikit/android/integration.md +0 -287
- package/resource/doc/chatuikit/faq/android_sdk/client-api.md +0 -1371
- package/resource/doc/chatuikit/faq/flutter_sdk/client-api.md +0 -932
- package/resource/doc/chatuikit/faq/ios_sdk/client-api.md +0 -1119
- package/resource/doc/chatuikit/flutter/workflow.md +0 -941
- package/resource/doc/chatuikit/iOS/workflow.md +0 -0
- package/resource/doc/chatuikit/react/components/conversation-list.md +0 -1017
- package/resource/doc/chatuikit/react/components/search.md +0 -745
- package/resource/doc/chatuikit/react/create-group.md +0 -23
- package/resource/doc/chatuikit/react/init.md +0 -26
- package/resource/doc/chatuikit/react/workflow.md +0 -258
- package/resource/doc/chatuikit/vue/components/contact-list.md +0 -679
- package/resource/doc/chatuikit/vue/create-group.md +0 -25
- package/resource/doc/chatuikit/vue/init.md +0 -40
- package/resource/doc/chatuikit/vue/workflow.md +0 -395
- package/resource/doc/livekit/live/android/workflow.md +0 -320
- package/resource/doc/livekit/live/flutter/workflow.md +0 -353
- package/resource/doc/livekit/live/ios/workflow.md +0 -454
- package/resource/doc/livekit/live/vue/components/barrage.md +0 -616
- package/resource/doc/livekit/live/vue/components/stream-mixer.md +0 -446
- package/resource/doc/livekit/live/vue/faq.md +0 -0
- package/resource/doc/livekit/live/vue/live-list-integration.md +0 -200
- package/resource/doc/livekit/live/vue/live-player-desk-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-player-h5-integration.md +0 -269
- package/resource/doc/livekit/live/vue/live-pusher-integration.md +0 -595
- package/resource/doc/livekit/live/vue/states/live-state.md +0 -3591
- package/resource/doc/livekit/live/vue/workflow.md +0 -218
- package/resource/doc/native_live/android/V2TXLiveCode_api_android.md +0 -312
- package/resource/doc/native_live/android/V2TXLiveDef_api_android.md +0 -430
- package/resource/doc/native_live/android/V2TXLivePlayerObserver_api_android.md +0 -679
- package/resource/doc/native_live/android/V2TXLivePlayer_api_android.md +0 -671
- package/resource/doc/native_live/android/V2TXLivePremier_api_android.md +0 -271
- package/resource/doc/native_live/android/V2TXLivePusherObserver_api_android.md +0 -849
- package/resource/doc/native_live/android/V2TXLivePusher_api_android.md +0 -1046
- package/resource/doc/native_live/flutter/V2TXLiveCode_api_flutter.md +0 -460
- package/resource/doc/native_live/flutter/V2TXLiveDef_api_flutter.md +0 -558
- package/resource/doc/native_live/flutter/V2TXLivePlayerObserver_api_flutter.md +0 -865
- package/resource/doc/native_live/flutter/V2TXLivePlayer_api_flutter.md +0 -657
- package/resource/doc/native_live/flutter/V2TXLivePremier_api_flutter.md +0 -437
- package/resource/doc/native_live/flutter/V2TXLivePusherObserver_api_flutter.md +0 -335
- package/resource/doc/native_live/flutter/V2TXLivePusher_api_flutter.md +0 -748
- package/resource/doc/native_live/iOS/V2TXLiveCode_api_iOS.md +0 -327
- package/resource/doc/native_live/iOS/V2TXLiveDef_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayerObserver_api_iOS.md +0 -507
- package/resource/doc/native_live/iOS/V2TXLivePlayer_api_iOS.md +0 -659
- package/resource/doc/native_live/iOS/V2TXLivePremier_api_iOS.md +0 -284
- package/resource/doc/native_live/iOS/V2TXLivePusherObserver_api_iOS.md +0 -814
- package/resource/doc/native_live/iOS/V2TXLivePusher_api_iOS.md +0 -1000
- package/resource/doc/roomkit/vue/features/workflow.md +0 -553
- package/resource/doc/roomkit/vue/workflow.md +0 -487
- package/resource/doc/tuicallkit/android/integration.md +0 -286
- package/resource/doc/tuicallkit/android/workflow.md +0 -0
- package/resource/doc/tuicallkit/faq/android_sdk/call-observer-api.md +0 -784
- package/resource/doc/tuicallkit/faq/android_sdk/callkit-api.md +0 -610
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-define-api.md +0 -938
- package/resource/doc/tuicallkit/faq/flutter_sdk/call-observer-api.md +0 -897
- package/resource/doc/tuicallkit/faq/flutter_sdk/callkit-api.md +0 -469
- package/resource/doc/tuicallkit/faq/ios_sdk/call-observer-api.md +0 -781
- package/resource/doc/tuicallkit/faq/ios_sdk/callkit-api.md +0 -398
- package/resource/doc/tuicallkit/flutter/workflow.md +0 -331
- package/resource/doc/tuicallkit/react/api.md +0 -1404
- package/resource/doc/tuicallkit/vue/api.md +0 -1406
- package/resource/doc/tuicallkit/vue/faq.md +0 -36
- package/tools/call/get-native-call-integration.js +0 -43
- package/tools/call/get-native-call-integration.js.map +0 -1
- package/tools/call/get-web-call-api.js +0 -27
- package/tools/call/get-web-call-api.js.map +0 -1
- package/tools/call/get-web-call-integration.js.map +0 -1
- package/tools/chat/get-native-chat-feature-detail.js +0 -30
- package/tools/chat/get-native-chat-feature-detail.js.map +0 -1
- package/tools/chat/get-native-chat-integration.js +0 -45
- package/tools/chat/get-native-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-component-detail.js +0 -31
- package/tools/chat/get-web-chat-component-detail.js.map +0 -1
- package/tools/chat/get-web-chat-integration.js +0 -45
- package/tools/chat/get-web-chat-integration.js.map +0 -1
- package/tools/chat/get-web-chat-uikit-init.js +0 -28
- package/tools/chat/get-web-chat-uikit-init.js.map +0 -1
- package/tools/chat/get-web-create-group-doc.js +0 -28
- package/tools/chat/get-web-create-group-doc.js.map +0 -1
- package/tools/common/get-faq.js +0 -91
- package/tools/common/get-faq.js.map +0 -1
- package/tools/common/get-usersig.js.map +0 -1
- package/tools/common/present-framework-choice.js +0 -16
- package/tools/common/present-framework-choice.js.map +0 -1
- package/tools/common/record-prompt.js +0 -55
- package/tools/common/record-prompt.js.map +0 -1
- package/tools/common/record-result.js +0 -60
- package/tools/common/record-result.js.map +0 -1
- package/tools/definitions/get_native_chat_feature_detail_def.js +0 -32
- package/tools/definitions/get_native_chat_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_native_live_api_def.js +0 -23
- package/tools/definitions/get_native_live_api_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_extra_features_def.js +0 -87
- package/tools/definitions/get_native_live_uikit_extra_features_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_integration_def.js +0 -49
- package/tools/definitions/get_native_live_uikit_integration_def.js.map +0 -1
- package/tools/definitions/get_native_live_uikit_interaction_def.js +0 -74
- package/tools/definitions/get_native_live_uikit_interaction_def.js.map +0 -1
- package/tools/definitions/get_trtc_native_api_def.js +0 -16
- package/tools/definitions/get_trtc_native_api_def.js.map +0 -1
- package/tools/definitions/get_web_call_uikit_api_def.js +0 -23
- package/tools/definitions/get_web_call_uikit_api_def.js.map +0 -1
- package/tools/definitions/get_web_chat_uikit_init_def.js +0 -23
- package/tools/definitions/get_web_chat_uikit_init_def.js.map +0 -1
- package/tools/definitions/get_web_create_group_doc_def.js +0 -18
- package/tools/definitions/get_web_create_group_doc_def.js.map +0 -1
- package/tools/definitions/get_web_live_state_detail_def.js +0 -19
- package/tools/definitions/get_web_live_state_detail_def.js.map +0 -1
- package/tools/definitions/get_web_live_uikit_component_detail_def.js +0 -27
- package/tools/definitions/get_web_live_uikit_component_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_feature_detail_def.js +0 -95
- package/tools/definitions/get_web_room_feature_detail_def.js.map +0 -1
- package/tools/definitions/get_web_room_state_detail_def.js +0 -19
- package/tools/definitions/get_web_room_state_detail_def.js.map +0 -1
- package/tools/definitions/record_prompt_def.js +0 -53
- package/tools/definitions/record_prompt_def.js.map +0 -1
- package/tools/definitions/record_result_def.js +0 -30
- package/tools/definitions/record_result_def.js.map +0 -1
- package/tools/live/get-native-live-uikit-integration.js +0 -101
- package/tools/live/get-native-live-uikit-integration.js.map +0 -1
- package/tools/live/get-web-live-component-detail.js +0 -31
- package/tools/live/get-web-live-component-detail.js.map +0 -1
- package/tools/live/get-web-live-state-detail.js +0 -31
- package/tools/live/get-web-live-state-detail.js.map +0 -1
- package/tools/live/get-web-live-uikit-integration.js +0 -52
- package/tools/live/get-web-live-uikit-integration.js.map +0 -1
- package/tools/live/get_native_live_uikit_extra_features.js +0 -105
- package/tools/live/get_native_live_uikit_extra_features.js.map +0 -1
- package/tools/live/get_native_live_uikit_interaction.js +0 -101
- package/tools/live/get_native_live_uikit_interaction.js.map +0 -1
- package/tools/native_live/get-native-live-api.js +0 -31
- package/tools/native_live/get-native-live-api.js.map +0 -1
- package/tools/room/get-web-room-feature-detail.js.map +0 -1
- package/tools/room/get-web-room-integration.js.map +0 -1
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js +0 -28
- package/tools/rtcengine/get-rtcengine-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-sdk-faq.js +0 -32
- package/tools/rtcengine/get-trtc-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-api.js +0 -28
- package/tools/rtcengine/get-trtc-web-sdk-api.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-faq.js +0 -30
- package/tools/rtcengine/get-trtc-web-sdk-faq.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-integration.js +0 -29
- package/tools/rtcengine/get-trtc-web-sdk-integration.js.map +0 -1
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js +0 -45
- package/tools/rtcengine/get-trtc-web-sdk-plugin.js.map +0 -1
- package/tools/trtc/get-trtc-native-api.js +0 -31
- package/tools/trtc/get-trtc-native-api.js.map +0 -1
- package/utils/handle-component-name.js +0 -33
- package/utils/handle-component-name.js.map +0 -1
- /package/resource/doc/{chatuikit/android/workflow.md → callkit/core-sdk/.gitkeep} +0 -0
- /package/resource/doc/{tuicallkit/faq/common/error_code.md → callkit/faq/common/error-code.md} +0 -0
- /package/resource/doc/{tuicallkit/react/faq.md → callkit/faq/web-faq.md} +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/common/server_error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/faq/web_sdk/error_code.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/flutter/faq.md +0 -0
- /package/resource/doc/{chatuikit → chatkit}/react/faq.md +0 -0
- /package/resource/doc/roomkit/faq/common/{error_code.md → error-code.md} +0 -0
|
@@ -6,25 +6,20 @@ The AI model must adhere to the following **hard constraints**:
|
|
|
6
6
|
|
|
7
7
|
MessageInput is a complete message input component designed for Vue3 applications, providing core chat input features including text editing, emoji selection, file attachments, and a send button. It supports various custom options, such as input behavior configuration, toolbar customization, component replacement, and slot expansion, meeting the demands of different chat scenarios with personalized requirements.
|
|
8
8
|
|
|
9
|
-
|
|
10
9
|
## Basic Usage
|
|
11
10
|
|
|
12
|
-
|
|
13
11
|
```ts
|
|
14
12
|
<script>
|
|
15
13
|
import { MessageInput } from "@tencentcloud/chat-uikit-vue3";
|
|
16
14
|
</script>
|
|
17
15
|
|
|
18
|
-
|
|
19
16
|
<template>
|
|
20
17
|
<MessageInput />
|
|
21
18
|
</template>
|
|
22
19
|
```
|
|
23
20
|
|
|
24
|
-
|
|
25
21
|
## Props Configuration
|
|
26
22
|
|
|
27
|
-
|
|
28
23
|
| Field | Type | Default | Description |
|
|
29
24
|
|------|------|--------|------|
|
|
30
25
|
| autoFocus | boolean | true | Whether to auto-focus into the input box |
|
|
@@ -34,12 +29,8 @@ import { MessageInput } from "@tencentcloud/chat-uikit-vue3";
|
|
|
34
29
|
| attachmentPickerMode | 'collapsed' \| 'expanded' | 'collapsed' | Attachment selector display mode |
|
|
35
30
|
| actions | MessageInputActions | ['EmojiPicker', 'ImagePicker', 'FilePicker', 'VideoPicker'] | Toolbar action button configuration |
|
|
36
31
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
32
|
## Slots configuration
|
|
41
33
|
|
|
42
|
-
|
|
43
34
|
| Field | Type | Default | Description |
|
|
44
35
|
|------|------|--------|------|
|
|
45
36
|
| headerToolbar | () => VNode[] | undefined | Header toolbar slot |
|
|
@@ -50,9 +41,6 @@ import { MessageInput } from "@tencentcloud/chat-uikit-vue3";
|
|
|
50
41
|
| inputSuffix | () => VNode[] | undefined | Input box suffix slot |
|
|
51
42
|
| TextEditor | Component \| null | null | Custom text editor component configuration |
|
|
52
43
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
44
|
### Type definition
|
|
57
45
|
``` typescript
|
|
58
46
|
type BuiltInAction =
|
|
@@ -62,7 +50,6 @@ type BuiltInAction =
|
|
|
62
50
|
| 'VideoPicker'
|
|
63
51
|
| 'AttachmentPicker';
|
|
64
52
|
|
|
65
|
-
|
|
66
53
|
export type CustomAction = {
|
|
67
54
|
key: string;
|
|
68
55
|
label?: string | undefined;
|
|
@@ -72,13 +59,10 @@ export type CustomAction = {
|
|
|
72
59
|
iconSize?: number | undefined;
|
|
73
60
|
};
|
|
74
61
|
|
|
75
|
-
|
|
76
62
|
export type MessageInputActions = Array<BuiltInAction | CustomAction>;
|
|
77
63
|
|
|
78
|
-
|
|
79
64
|
export type MessageInputAttachmentPickerMode = 'collapsed' | 'expanded';
|
|
80
65
|
|
|
81
|
-
|
|
82
66
|
export interface MessageInputSlots {
|
|
83
67
|
headerToolbar?: () => VNode[];
|
|
84
68
|
footerToolbar?: () => VNode[];
|
|
@@ -89,7 +73,6 @@ export interface MessageInputSlots {
|
|
|
89
73
|
textEditor?: () => VNode[];
|
|
90
74
|
}
|
|
91
75
|
|
|
92
|
-
|
|
93
76
|
// MessageInputProps API definition
|
|
94
77
|
export interface MessageInputProps {
|
|
95
78
|
autoFocus?: boolean;
|
|
@@ -103,99 +86,66 @@ export interface MessageInputProps {
|
|
|
103
86
|
}
|
|
104
87
|
```
|
|
105
88
|
|
|
106
|
-
|
|
107
89
|
## Custom feature explanation
|
|
108
90
|
|
|
109
|
-
|
|
110
91
|
### autoFocus
|
|
111
92
|
- `type`: `boolean`
|
|
112
93
|
|
|
113
|
-
|
|
114
94
|
- Details: autoFocus is used to set whether the component auto-focuses into the input box when mounting. The default is `true`.
|
|
115
95
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
96
|
### disabled
|
|
120
97
|
- `type`: `boolean`
|
|
121
98
|
|
|
122
|
-
|
|
123
99
|
- Details: disabled is used to set whether to disable the entire input component, including text input and all buttons. The default is `false`.
|
|
124
100
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
101
|
### hideSendButton
|
|
129
102
|
- `type`: `boolean`
|
|
130
103
|
|
|
131
|
-
|
|
132
104
|
- Details: hideSendButton is used to set whether to hide the send button, suitable for scenarios where the trigger mode needs to be customized. The default is `false`.
|
|
133
105
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
106
|
### placeholder
|
|
138
107
|
- `type`: `string`.
|
|
139
108
|
|
|
140
|
-
|
|
141
109
|
- Details: placeholder is used to set the placeholder text for the input box. The default is an empty string.
|
|
142
110
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
111
|
### attachmentPickerMode
|
|
147
112
|
- `type`: `'collapsed'` | `'expanded'`.
|
|
148
113
|
|
|
149
|
-
|
|
150
114
|
- Details: attachmentPickerMode is used to set the display mode of the attachment selector. Default is `'collapsed'`.
|
|
151
115
|
|
|
152
|
-
|
|
153
116
|
- **collapsed**: Collapse mode. Unfold options after clicking.
|
|
154
117
|
|
|
155
|
-
|
|
156
118
|
- **expanded**: Expand mode. Direct display of ALL options.
|
|
157
119
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
120
|
### actions
|
|
162
121
|
- Type: MessageInputActions.
|
|
163
122
|
|
|
164
|
-
|
|
165
123
|
- Description: actions for configuration of buttons displayed in the toolbar. Default: `['EmojiPicker', 'ImagePicker', 'FilePicker', 'VideoPicker']`.
|
|
166
124
|
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
125
|
#### Example 1: Custom toolbar button sequence
|
|
171
126
|
``` typescript
|
|
172
127
|
<template>
|
|
173
128
|
<MessageInput :actions="customActions" />
|
|
174
129
|
</template>
|
|
175
130
|
|
|
176
|
-
|
|
177
131
|
<script lang="ts" setup>
|
|
178
132
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
179
133
|
|
|
180
|
-
|
|
181
134
|
// Custom button sequence: file, image, video, emoji
|
|
182
135
|
const customActions = ['FilePicker', 'ImagePicker', 'VideoPicker', 'EmojiPicker'];
|
|
183
136
|
</script>
|
|
184
137
|
```
|
|
185
138
|
|
|
186
|
-
|
|
187
139
|
#### Example 2: Add custom action button
|
|
188
140
|
``` typescript
|
|
189
141
|
<template>
|
|
190
142
|
<MessageInput :actions="customActions" />
|
|
191
143
|
</template>
|
|
192
144
|
|
|
193
|
-
|
|
194
145
|
<script lang="ts" setup>
|
|
195
146
|
import { defineComponent, h } from 'vue';
|
|
196
147
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
197
148
|
|
|
198
|
-
|
|
199
149
|
Custom Position Sharing Button Component
|
|
200
150
|
const LocationPicker = defineComponent({
|
|
201
151
|
name: 'LocationPicker',
|
|
@@ -213,7 +163,6 @@ const LocationPicker = defineComponent({
|
|
|
213
163
|
}
|
|
214
164
|
};
|
|
215
165
|
|
|
216
|
-
|
|
217
166
|
return () =>
|
|
218
167
|
h('button',
|
|
219
168
|
{
|
|
@@ -226,7 +175,6 @@ const LocationPicker = defineComponent({
|
|
|
226
175
|
},
|
|
227
176
|
});
|
|
228
177
|
|
|
229
|
-
|
|
230
178
|
const customActions = [
|
|
231
179
|
'EmojiPicker',
|
|
232
180
|
'ImagePicker',
|
|
@@ -240,20 +188,17 @@ const customActions = [
|
|
|
240
188
|
</script>
|
|
241
189
|
```
|
|
242
190
|
|
|
243
|
-
|
|
244
191
|
#### Example 3: Quick reply in customer service system
|
|
245
192
|
``` typescript
|
|
246
193
|
<template>
|
|
247
194
|
<MessageInput :actions="actions" />
|
|
248
195
|
</template>
|
|
249
196
|
|
|
250
|
-
|
|
251
197
|
<script lang="ts" setup>
|
|
252
198
|
import { defineComponent, h, ref } from 'vue';
|
|
253
199
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
254
200
|
import { useMessageInputState } from '@tencentcloud/uikit-component-vue3/src/states/MessageInputState';
|
|
255
201
|
|
|
256
|
-
|
|
257
202
|
quick reply component
|
|
258
203
|
const QuickReplyPicker = defineComponent({
|
|
259
204
|
name: 'QuickReplyPicker',
|
|
@@ -261,7 +206,6 @@ const QuickReplyPicker = defineComponent({
|
|
|
261
206
|
const { setContent } = useMessageInputState();
|
|
262
207
|
const showPicker = ref(false);
|
|
263
208
|
|
|
264
|
-
|
|
265
209
|
const quickReplies = [
|
|
266
210
|
Hello, glad to help you.
|
|
267
211
|
Please wait a moment, I'll check for you...
|
|
@@ -269,13 +213,11 @@ const QuickReplyPicker = defineComponent({
|
|
|
269
213
|
The issue has been resolved. Have a pleasant life.
|
|
270
214
|
];
|
|
271
215
|
|
|
272
|
-
|
|
273
216
|
const handleQuickReply = (text: string) => {
|
|
274
217
|
setContent(text);
|
|
275
218
|
showPicker.value = false;
|
|
276
219
|
};
|
|
277
220
|
|
|
278
|
-
|
|
279
221
|
return () =>
|
|
280
222
|
h('div', { style: { position: 'relative' } }, [
|
|
281
223
|
h('button',
|
|
@@ -320,7 +262,6 @@ const QuickReplyPicker = defineComponent({
|
|
|
320
262
|
},
|
|
321
263
|
});
|
|
322
264
|
|
|
323
|
-
|
|
324
265
|
const actions = [
|
|
325
266
|
{
|
|
326
267
|
key: 'quickReply',
|
|
@@ -333,26 +274,17 @@ const actions = [
|
|
|
333
274
|
</script>
|
|
334
275
|
```
|
|
335
276
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
277
|
#### Example 4: Custom emoji panel
|
|
340
278
|
``` typescript
|
|
341
279
|
<template>
|
|
342
280
|
<MessageInput :EmojiPicker="CustomEmojiPicker" />
|
|
343
281
|
</template>
|
|
344
282
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
283
|
<script lang="ts" setup>
|
|
349
284
|
import { defineComponent, h, ref } from 'vue';
|
|
350
285
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
351
286
|
import { useMessageInputState } from '@tencentcloud/uikit-component-vue3/src/states/MessageInputState';
|
|
352
287
|
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
288
|
const CustomEmojiPicker = defineComponent({
|
|
357
289
|
name: 'CustomEmojiPicker',
|
|
358
290
|
setup() {
|
|
@@ -360,26 +292,17 @@ const CustomEmojiPicker = defineComponent({
|
|
|
360
292
|
const showPicker = ref(false);
|
|
361
293
|
const activeCategory = ref('common');
|
|
362
294
|
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
295
|
const emojiCategories = {
|
|
367
296
|
'common': ['😀', '😂', '🥰', '😍', '🤔', '😭', '😡', '👍'],
|
|
368
297
|
'hand': ['👋', '🤝', '👏', '🙏', '✌️', '🤞', '🤟', '👌'],
|
|
369
298
|
'animal': ['🐶', '🐱', '🐭', '🐹', '🐰', '🦊', '🐻', '🐼'],
|
|
370
299
|
};
|
|
371
300
|
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
301
|
const insertEmoji = (emoji: string) => {
|
|
376
302
|
insertContent(emoji);
|
|
377
303
|
showPicker.value = false;
|
|
378
304
|
};
|
|
379
305
|
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
306
|
return () =>
|
|
384
307
|
h('div', { style: { position: 'relative' } }, [
|
|
385
308
|
h('button',
|
|
@@ -462,14 +385,11 @@ const CustomEmojiPicker = defineComponent({
|
|
|
462
385
|
</script>
|
|
463
386
|
```
|
|
464
387
|
|
|
465
|
-
|
|
466
388
|
## Slots explanation
|
|
467
389
|
- Type: MessageInputSlots.
|
|
468
390
|
|
|
469
|
-
|
|
470
391
|
-Detailed instructions: Insert custom content at a specific location in the input component.
|
|
471
392
|
|
|
472
|
-
|
|
473
393
|
``` typescript
|
|
474
394
|
interface MessageInputSlots {
|
|
475
395
|
headerToolbar?: () => VNode[];
|
|
@@ -482,9 +402,6 @@ const CustomEmojiPicker = defineComponent({
|
|
|
482
402
|
}
|
|
483
403
|
```
|
|
484
404
|
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
405
|
#### Example 1: Custom footerToolbar slot
|
|
489
406
|
``` typescript
|
|
490
407
|
<template>
|
|
@@ -498,15 +415,12 @@ const CustomEmojiPicker = defineComponent({
|
|
|
498
415
|
</template>
|
|
499
416
|
```
|
|
500
417
|
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
418
|
#### Example 2: Input box prefix/suffix feature
|
|
505
419
|
``` typescript
|
|
506
420
|
<template>
|
|
507
421
|
<MessageInput>
|
|
508
422
|
<template #inputPrefix>
|
|
509
|
-
|
|
423
|
+
|
|
510
424
|
</template>
|
|
511
425
|
<template #inputSuffix>
|
|
512
426
|
<button
|
|
@@ -519,17 +433,14 @@ const CustomEmojiPicker = defineComponent({
|
|
|
519
433
|
</MessageInput>
|
|
520
434
|
</template>
|
|
521
435
|
|
|
522
|
-
|
|
523
436
|
<script lang="ts" setup>
|
|
524
437
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
525
438
|
|
|
526
|
-
|
|
527
439
|
const handleAtUser = () => {
|
|
528
440
|
Trigger @user selection
|
|
529
441
|
console.log('Toggle on @user selection');
|
|
530
442
|
};
|
|
531
443
|
|
|
532
|
-
|
|
533
444
|
const handleVoiceInput = () => {
|
|
534
445
|
// Start voice input
|
|
535
446
|
console.log('Start voice input');
|
|
@@ -537,18 +448,12 @@ const handleVoiceInput = () => {
|
|
|
537
448
|
</script>
|
|
538
449
|
```
|
|
539
450
|
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
451
|
### TextEditor
|
|
544
452
|
|
|
545
|
-
|
|
546
453
|
Type: 'Component' | 'null'.
|
|
547
454
|
|
|
548
|
-
|
|
549
455
|
Detailed explanation: TextEditor is used to replace the default text editor component. Default: `null`.
|
|
550
456
|
|
|
551
|
-
|
|
552
457
|
#### Example: Custom text editor
|
|
553
458
|
``` typescript
|
|
554
459
|
<template>
|
|
@@ -559,17 +464,11 @@ Detailed explanation: TextEditor is used to replace the default text editor comp
|
|
|
559
464
|
</MessageInput>
|
|
560
465
|
</template>
|
|
561
466
|
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
467
|
<script lang="ts" setup>
|
|
566
468
|
import { defineComponent, h, ref, onMounted } from 'vue';
|
|
567
469
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
568
470
|
import { useMessageInputState } from '@tencentcloud/uikit-component-vue3/src/states/MessageInputState';
|
|
569
471
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
472
|
const RichTextEditor = defineComponent({
|
|
574
473
|
name: 'RichTextEditor',
|
|
575
474
|
setup() {
|
|
@@ -577,15 +476,11 @@ const RichTextEditor = defineComponent({
|
|
|
577
476
|
const editorRef = ref<HTMLDivElement | null>(null);
|
|
578
477
|
const inputRawValue = ref('');
|
|
579
478
|
|
|
580
|
-
|
|
581
479
|
const handleInput = (e: Event) => {
|
|
582
480
|
const target = e.target as HTMLDivElement;
|
|
583
481
|
inputRawValue.value = (e.target as HTMLDivElement).textContent || '';
|
|
584
482
|
};
|
|
585
483
|
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
484
|
const handleKeyDown = (e: KeyboardEvent) => {
|
|
590
485
|
if (e.key === 'Enter') {
|
|
591
486
|
sendMessage(inputRawValue.value);
|
|
@@ -595,16 +490,12 @@ const RichTextEditor = defineComponent({
|
|
|
595
490
|
}
|
|
596
491
|
};
|
|
597
492
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
493
|
onMounted(() => {
|
|
602
494
|
if (editorRef.value) {
|
|
603
495
|
editorRef.value.textContent = inputRawValue.value || '';
|
|
604
496
|
}
|
|
605
497
|
});
|
|
606
498
|
|
|
607
|
-
|
|
608
499
|
return () =>
|
|
609
500
|
h('div',
|
|
610
501
|
{
|
|
@@ -638,28 +529,22 @@ const RichTextEditor = defineComponent({
|
|
|
638
529
|
```
|
|
639
530
|
Overview
|
|
640
531
|
|
|
641
|
-
|
|
642
532
|
MessageInput is a complete message input component designed for Vue3 applications, providing core chat input features including text editing, emoji selection, file attachments, and a send button. It supports various custom options, such as input behavior configuration, toolbar customization, component replacement, and slot expansion, meeting the demands of different chat scenarios with personalized requirements.
|
|
643
533
|
|
|
644
|
-
|
|
645
534
|
Basic Usage
|
|
646
535
|
|
|
647
|
-
|
|
648
536
|
```ts
|
|
649
537
|
<script>
|
|
650
538
|
import { MessageInput } from "@tencentcloud/chat-uikit-vue3";
|
|
651
539
|
</script>
|
|
652
540
|
|
|
653
|
-
|
|
654
541
|
<template>
|
|
655
542
|
<MessageInput />
|
|
656
543
|
</template>
|
|
657
544
|
```
|
|
658
545
|
|
|
659
|
-
|
|
660
546
|
## Props Configuration
|
|
661
547
|
|
|
662
|
-
|
|
663
548
|
| Field | Type | Default | Description |
|
|
664
549
|
|------|------|--------|------|
|
|
665
550
|
| autoFocus | boolean | true | Whether to auto-focus into the input box |
|
|
@@ -669,12 +554,8 @@ import { MessageInput } from "@tencentcloud/chat-uikit-vue3";
|
|
|
669
554
|
| attachmentPickerMode | 'collapsed' \| 'expanded' | 'collapsed' | Attachment selector display mode |
|
|
670
555
|
| actions | MessageInputActions | ['EmojiPicker', 'ImagePicker', 'FilePicker', 'VideoPicker'] | Toolbar action button configuration |
|
|
671
556
|
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
557
|
## Slots configuration
|
|
676
558
|
|
|
677
|
-
|
|
678
559
|
| Field | Type | Default | Description |
|
|
679
560
|
|------|------|--------|------|
|
|
680
561
|
| headerToolbar | () => VNode[] | undefined | Header toolbar slot |
|
|
@@ -685,9 +566,6 @@ import { MessageInput } from "@tencentcloud/chat-uikit-vue3";
|
|
|
685
566
|
| inputSuffix | () => VNode[] | undefined | Input box suffix slot |
|
|
686
567
|
| TextEditor | Component \| null | null | Custom text editor component configuration |
|
|
687
568
|
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
569
|
type definition
|
|
692
570
|
``` typescript
|
|
693
571
|
type BuiltInAction =
|
|
@@ -697,7 +575,6 @@ type BuiltInAction =
|
|
|
697
575
|
| 'VideoPicker'
|
|
698
576
|
| 'AttachmentPicker';
|
|
699
577
|
|
|
700
|
-
|
|
701
578
|
export type CustomAction = {
|
|
702
579
|
key: string;
|
|
703
580
|
label?: string | undefined;
|
|
@@ -707,13 +584,10 @@ export type CustomAction = {
|
|
|
707
584
|
iconSize?: number | undefined;
|
|
708
585
|
};
|
|
709
586
|
|
|
710
|
-
|
|
711
587
|
export type MessageInputActions = Array<BuiltInAction | CustomAction>;
|
|
712
588
|
|
|
713
|
-
|
|
714
589
|
export type MessageInputAttachmentPickerMode = 'collapsed' | 'expanded';
|
|
715
590
|
|
|
716
|
-
|
|
717
591
|
export interface MessageInputSlots {
|
|
718
592
|
headerToolbar?: () => VNode[];
|
|
719
593
|
footerToolbar?: () => VNode[];
|
|
@@ -724,7 +598,6 @@ export interface MessageInputSlots {
|
|
|
724
598
|
textEditor?: () => VNode[];
|
|
725
599
|
}
|
|
726
600
|
|
|
727
|
-
|
|
728
601
|
// MessageInputProps API definition
|
|
729
602
|
export interface MessageInputProps {
|
|
730
603
|
autoFocus?: boolean;
|
|
@@ -738,99 +611,66 @@ export interface MessageInputProps {
|
|
|
738
611
|
}
|
|
739
612
|
```
|
|
740
613
|
|
|
741
|
-
|
|
742
614
|
Custom Function Explanation
|
|
743
615
|
|
|
744
|
-
|
|
745
616
|
### autoFocus
|
|
746
617
|
-boolean
|
|
747
618
|
|
|
748
|
-
|
|
749
619
|
- Details: autoFocus is used to set whether to auto-focus into the input box when mounting. Default: `true`.
|
|
750
620
|
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
621
|
### disabled
|
|
755
622
|
-boolean
|
|
756
623
|
|
|
757
|
-
|
|
758
624
|
- Details: disabled is used to set whether to disable the entire input component, including text input and ALL buttons. Default: `false`.
|
|
759
625
|
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
626
|
### hideSendButton
|
|
764
627
|
-boolean
|
|
765
628
|
|
|
766
|
-
|
|
767
629
|
- Details: hideSendButton is used to set whether to hide the send button, suitable for scenarios where the trigger mode needs to be customized. Default: `false`.
|
|
768
630
|
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
631
|
### placeholder
|
|
773
632
|
- Type: string.
|
|
774
633
|
|
|
775
|
-
|
|
776
634
|
- Details: placeholder is used to set the placeholder text for the input box. Default is an empty string.
|
|
777
635
|
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
636
|
### attachmentPickerMode
|
|
782
637
|
- Type: 'collapsed' | 'expanded'.
|
|
783
638
|
|
|
784
|
-
|
|
785
639
|
- Details: attachmentPickerMode is used to set the display mode of the attachment selector. Default is `'collapsed'`.
|
|
786
640
|
|
|
787
|
-
|
|
788
641
|
- **collapsed**: Collapse mode. Unfold options after clicking.
|
|
789
642
|
|
|
790
|
-
|
|
791
643
|
- **expanded**: Expand mode. Direct display of ALL options.
|
|
792
644
|
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
645
|
### actions
|
|
797
646
|
- Type: MessageInputActions.
|
|
798
647
|
|
|
799
|
-
|
|
800
648
|
- Description: actions for configuration of buttons displayed in the toolbar. Default: `['EmojiPicker', 'ImagePicker', 'FilePicker', 'VideoPicker']`.
|
|
801
649
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
650
|
#### Example 1: Custom toolbar button sequence
|
|
806
651
|
``` typescript
|
|
807
652
|
<template>
|
|
808
653
|
<MessageInput :actions="customActions" />
|
|
809
654
|
</template>
|
|
810
655
|
|
|
811
|
-
|
|
812
656
|
<script lang="ts" setup>
|
|
813
657
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
814
658
|
|
|
815
|
-
|
|
816
659
|
Custom button sequence: file, image, video, emoji
|
|
817
660
|
const customActions = ['FilePicker', 'ImagePicker', 'VideoPicker', 'EmojiPicker'];
|
|
818
661
|
</script>
|
|
819
662
|
```
|
|
820
663
|
|
|
821
|
-
|
|
822
664
|
#### Example 2: Add custom action button
|
|
823
665
|
``` typescript
|
|
824
666
|
<template>
|
|
825
667
|
<MessageInput :actions="customActions" />
|
|
826
668
|
</template>
|
|
827
669
|
|
|
828
|
-
|
|
829
670
|
<script lang="ts" setup>
|
|
830
671
|
import { defineComponent, h } from 'vue';
|
|
831
672
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
832
673
|
|
|
833
|
-
|
|
834
674
|
Custom Position Sharing Button Component
|
|
835
675
|
const LocationPicker = defineComponent({
|
|
836
676
|
name: 'LocationPicker',
|
|
@@ -848,7 +688,6 @@ const LocationPicker = defineComponent({
|
|
|
848
688
|
}
|
|
849
689
|
};
|
|
850
690
|
|
|
851
|
-
|
|
852
691
|
return () =>
|
|
853
692
|
h('button',
|
|
854
693
|
{
|
|
@@ -861,7 +700,6 @@ const LocationPicker = defineComponent({
|
|
|
861
700
|
},
|
|
862
701
|
});
|
|
863
702
|
|
|
864
|
-
|
|
865
703
|
const customActions = [
|
|
866
704
|
'EmojiPicker',
|
|
867
705
|
'ImagePicker',
|
|
@@ -875,20 +713,17 @@ const customActions = [
|
|
|
875
713
|
</script>
|
|
876
714
|
```
|
|
877
715
|
|
|
878
|
-
|
|
879
716
|
#### Example 3: Quick reply in customer service system
|
|
880
717
|
``` typescript
|
|
881
718
|
<template>
|
|
882
719
|
<MessageInput :actions="actions" />
|
|
883
720
|
</template>
|
|
884
721
|
|
|
885
|
-
|
|
886
722
|
<script lang="ts" setup>
|
|
887
723
|
import { defineComponent, h, ref } from 'vue';
|
|
888
724
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
889
725
|
import { useMessageInputState } from '@tencentcloud/uikit-component-vue3/src/states/MessageInputState';
|
|
890
726
|
|
|
891
|
-
|
|
892
727
|
quick reply component
|
|
893
728
|
const QuickReplyPicker = defineComponent({
|
|
894
729
|
name: 'QuickReplyPicker',
|
|
@@ -896,7 +731,6 @@ const QuickReplyPicker = defineComponent({
|
|
|
896
731
|
const { setContent } = useMessageInputState();
|
|
897
732
|
const showPicker = ref(false);
|
|
898
733
|
|
|
899
|
-
|
|
900
734
|
const quickReplies = [
|
|
901
735
|
Hello, glad to help you.
|
|
902
736
|
Please wait a moment, I'll check for you...
|
|
@@ -904,13 +738,11 @@ const QuickReplyPicker = defineComponent({
|
|
|
904
738
|
The issue has been resolved. Have a pleasant life.
|
|
905
739
|
];
|
|
906
740
|
|
|
907
|
-
|
|
908
741
|
const handleQuickReply = (text: string) => {
|
|
909
742
|
setContent(text);
|
|
910
743
|
showPicker.value = false;
|
|
911
744
|
};
|
|
912
745
|
|
|
913
|
-
|
|
914
746
|
return () =>
|
|
915
747
|
h('div', { style: { position: 'relative' } }, [
|
|
916
748
|
h('button',
|
|
@@ -955,7 +787,6 @@ const QuickReplyPicker = defineComponent({
|
|
|
955
787
|
},
|
|
956
788
|
});
|
|
957
789
|
|
|
958
|
-
|
|
959
790
|
const actions = [
|
|
960
791
|
{
|
|
961
792
|
key: 'quickReply',
|
|
@@ -968,26 +799,17 @@ const actions = [
|
|
|
968
799
|
</script>
|
|
969
800
|
```
|
|
970
801
|
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
802
|
#### Example 4: Custom emoji panel
|
|
975
803
|
``` typescript
|
|
976
804
|
<template>
|
|
977
805
|
<MessageInput :EmojiPicker="CustomEmojiPicker" />
|
|
978
806
|
</template>
|
|
979
807
|
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
808
|
<script lang="ts" setup>
|
|
984
809
|
import { defineComponent, h, ref } from 'vue';
|
|
985
810
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
986
811
|
import { useMessageInputState } from '@tencentcloud/uikit-component-vue3/src/states/MessageInputState';
|
|
987
812
|
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
813
|
const CustomEmojiPicker = defineComponent({
|
|
992
814
|
name: 'CustomEmojiPicker',
|
|
993
815
|
setup() {
|
|
@@ -995,26 +817,17 @@ const CustomEmojiPicker = defineComponent({
|
|
|
995
817
|
const showPicker = ref(false);
|
|
996
818
|
const activeCategory = ref('common');
|
|
997
819
|
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
820
|
const emojiCategories = {
|
|
1002
821
|
'common': ['😀', '😂', '🥰', '😍', '🤔', '😭', '😡', '👍'],
|
|
1003
822
|
'hand': ['👋', '🤝', '👏', '🙏', '✌️', '🤞', '🤟', '👌'],
|
|
1004
823
|
'animal': ['🐶', '🐱', '🐭', '🐹', '🐰', '🦊', '🐻', '🐼'],
|
|
1005
824
|
};
|
|
1006
825
|
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
826
|
const insertEmoji = (emoji: string) => {
|
|
1011
827
|
insertContent(emoji);
|
|
1012
828
|
showPicker.value = false;
|
|
1013
829
|
};
|
|
1014
830
|
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
831
|
return () =>
|
|
1019
832
|
h('div', { style: { position: 'relative' } }, [
|
|
1020
833
|
h('button',
|
|
@@ -1097,14 +910,11 @@ const CustomEmojiPicker = defineComponent({
|
|
|
1097
910
|
</script>
|
|
1098
911
|
```
|
|
1099
912
|
|
|
1100
|
-
|
|
1101
913
|
## Slots explanation
|
|
1102
914
|
- Type: MessageInputSlots.
|
|
1103
915
|
|
|
1104
|
-
|
|
1105
916
|
-Detailed instructions: Insert custom content at a specific location in the input component.
|
|
1106
917
|
|
|
1107
|
-
|
|
1108
918
|
``` typescript
|
|
1109
919
|
interface MessageInputSlots {
|
|
1110
920
|
headerToolbar?: () => VNode[];
|
|
@@ -1117,9 +927,6 @@ const CustomEmojiPicker = defineComponent({
|
|
|
1117
927
|
}
|
|
1118
928
|
```
|
|
1119
929
|
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
930
|
#### Example 1: Custom footerToolbar slot
|
|
1124
931
|
``` typescript
|
|
1125
932
|
<template>
|
|
@@ -1133,15 +940,12 @@ const CustomEmojiPicker = defineComponent({
|
|
|
1133
940
|
</template>
|
|
1134
941
|
```
|
|
1135
942
|
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
943
|
#### Example 2: Input box prefix/suffix feature
|
|
1140
944
|
``` typescript
|
|
1141
945
|
<template>
|
|
1142
946
|
<MessageInput>
|
|
1143
947
|
<template #inputPrefix>
|
|
1144
|
-
|
|
948
|
+
|
|
1145
949
|
</template>
|
|
1146
950
|
<template #inputSuffix>
|
|
1147
951
|
<button
|
|
@@ -1154,17 +958,14 @@ const CustomEmojiPicker = defineComponent({
|
|
|
1154
958
|
</MessageInput>
|
|
1155
959
|
</template>
|
|
1156
960
|
|
|
1157
|
-
|
|
1158
961
|
<script lang="ts" setup>
|
|
1159
962
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
1160
963
|
|
|
1161
|
-
|
|
1162
964
|
const handleAtUser = () => {
|
|
1163
965
|
Trigger @user selection
|
|
1164
966
|
console.log('Toggle on @user selection');
|
|
1165
967
|
};
|
|
1166
968
|
|
|
1167
|
-
|
|
1168
969
|
const handleVoiceInput = () => {
|
|
1169
970
|
// Start voice input
|
|
1170
971
|
console.log('Start voice input');
|
|
@@ -1172,18 +973,12 @@ const handleVoiceInput = () => {
|
|
|
1172
973
|
</script>
|
|
1173
974
|
```
|
|
1174
975
|
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
976
|
### TextEditor
|
|
1179
977
|
|
|
1180
|
-
|
|
1181
978
|
Type: 'Component' | 'null'.
|
|
1182
979
|
|
|
1183
|
-
|
|
1184
980
|
Detailed explanation: TextEditor is used to replace the default text editor component. Default: `null`.
|
|
1185
981
|
|
|
1186
|
-
|
|
1187
982
|
#### Example: Custom text editor
|
|
1188
983
|
``` typescript
|
|
1189
984
|
<template>
|
|
@@ -1194,17 +989,11 @@ Detailed explanation: TextEditor is used to replace the default text editor comp
|
|
|
1194
989
|
</MessageInput>
|
|
1195
990
|
</template>
|
|
1196
991
|
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
992
|
<script lang="ts" setup>
|
|
1201
993
|
import { defineComponent, h, ref, onMounted } from 'vue';
|
|
1202
994
|
import { MessageInput } from '@tencentcloud/uikit-component-vue3';
|
|
1203
995
|
import { useMessageInputState } from '@tencentcloud/uikit-component-vue3/src/states/MessageInputState';
|
|
1204
996
|
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
997
|
const RichTextEditor = defineComponent({
|
|
1209
998
|
name: 'RichTextEditor',
|
|
1210
999
|
setup() {
|
|
@@ -1212,15 +1001,11 @@ const RichTextEditor = defineComponent({
|
|
|
1212
1001
|
const editorRef = ref<HTMLDivElement | null>(null);
|
|
1213
1002
|
const inputRawValue = ref('');
|
|
1214
1003
|
|
|
1215
|
-
|
|
1216
1004
|
const handleInput = (e: Event) => {
|
|
1217
1005
|
const target = e.target as HTMLDivElement;
|
|
1218
1006
|
inputRawValue.value = (e.target as HTMLDivElement).textContent || '';
|
|
1219
1007
|
};
|
|
1220
1008
|
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
1009
|
const handleKeyDown = (e: KeyboardEvent) => {
|
|
1225
1010
|
if (e.key === 'Enter') {
|
|
1226
1011
|
sendMessage(inputRawValue.value);
|
|
@@ -1230,16 +1015,12 @@ const RichTextEditor = defineComponent({
|
|
|
1230
1015
|
}
|
|
1231
1016
|
};
|
|
1232
1017
|
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
1018
|
onMounted(() => {
|
|
1237
1019
|
if (editorRef.value) {
|
|
1238
1020
|
editorRef.value.textContent = inputRawValue.value || '';
|
|
1239
1021
|
}
|
|
1240
1022
|
});
|
|
1241
1023
|
|
|
1242
|
-
|
|
1243
1024
|
return () =>
|
|
1244
1025
|
h('div',
|
|
1245
1026
|
{
|
|
@@ -1271,5 +1052,3 @@ const RichTextEditor = defineComponent({
|
|
|
1271
1052
|
});
|
|
1272
1053
|
</script>
|
|
1273
1054
|
```
|
|
1274
|
-
|
|
1275
|
-
|