{"version":3,"file":"index.mjs","sources":["../../../pro-components/chat/chatbot/index.ts"],"sourcesContent":["import 'tdesign-web-components/lib/chatbot';\nimport type { DefineComponent } from 'vue';\nimport { omiVueify } from 'omi-vueify';\nimport type {\n  TdChatListProps,\n  TdChatProps,\n  TdChatSearchContentProps,\n  TdChatSuggestionContentProps,\n} from 'tdesign-web-components';\n\nexport const Chatbot = omiVueify('t-chatbot', {\n  // TODO: 这里可以补充TdChatbotApi里需要暴露出来的方法（ref实例上的方法）\n  methodNames: [\n    'addPrompt',\n    'regenerate',\n    'selectFile',\n    'registerMergeStrategy',\n    'setMessages',\n    'clearMessages',\n    'sendUserMessage',\n    'sendAIMessage',\n    'sendSystemMessage',\n    'abortChat',\n    'scrollList',\n  ],\n}) as DefineComponent<TdChatProps>;\n\nexport const ChatSearchContentComponent = omiVueify('t-chat-search-content', {\n  methodNames: [],\n}) as DefineComponent<TdChatSearchContentProps>;\n\nexport const ChatSuggestionContentComponent = omiVueify('t-chat-suggestion-content', {\n  methodNames: [],\n}) as DefineComponent<TdChatSuggestionContentProps>;\n\nexport const ChatListComponent = omiVueify('t-chat-list', {\n  methodNames: ['scrollToBottom'],\n}) as DefineComponent<TdChatListProps>;\nexport default Chatbot;\n"],"names":["Chatbot","omiVueify","methodNames","ChatSearchContentComponent","ChatSuggestionContentComponent","ChatListComponent"],"mappings":";;;;;;;;;IAUaA,OAAA,GAAUC,UAAU,WAAa,EAAA;EAE5CC,WAAa,EAAA,CACX,WAAA,EACA,YAAA,EACA,YAAA,EACA,uBAAA,EACA,aAAA,EACA,eAAA,EACA,iBAAA,EACA,eAAA,EACA,mBAAA,EACA,WAAA,EACA,YAAA,CAAA;AAEJ,CAAC,EAAA;IAEYC,0BAAA,GAA6BF,UAAU,uBAAyB,EAAA;AAC3EC,EAAAA,aAAa,EAAA;AACf,CAAC,EAAA;IAEYE,8BAAA,GAAiCH,UAAU,2BAA6B,EAAA;AACnFC,EAAAA,aAAa,EAAA;AACf,CAAC,EAAA;IAEYG,iBAAA,GAAoBJ,UAAU,aAAe,EAAA;EACxDC,WAAA,EAAa,CAAC,gBAAgB,CAAA;AAChC,CAAC;;;;"}