优化页面
This commit is contained in:
1
unpackage/dist/build/mp-weixin/TUIKit/components/TUIChat/config.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/TUIKit/components/TUIChat/config.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";class e{constructor(){this.chatType="",this.features={DownloadFile:!0,CopyMessage:!0,DeleteMessage:!0,RevokeMessage:!0,QuoteMessage:!0,ForwardMessage:!0,TranslateMessage:!0,VoiceToText:!0,MultiSelection:!0,EmojiReaction:!0,InputEmoji:!0,InputStickers:!0,InputImage:!0,InputVoice:!0,InputVideo:!0,InputFile:!0,InputEvaluation:!0,InputQuickReplies:!0,InputCustomMessage:!0,InputMention:!0,MessageSearch:!0,ReadStatus:!0},this.theme="light"}static getInstance(){return e.instance||(e.instance=new e),e.instance}setChatType(e){this.chatType=e}getChatType(){return this.chatType}hideTUIChatFeatures(e){e&&e.forEach((e=>{this.features[e]&&(this.features[e]=!1)}))}getFeatureConfig(e){return e?this.features[e]:this.features}setTheme(e){this.theme=e}getTheme(){return this.theme}}const t=e.getInstance();t.hideTUIChatFeatures.bind(t),exports.ChatConfig=t;
|
||||
Reference in New Issue
Block a user