@baishuyun/chat-sdk 0.0.14 → 0.0.16

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 (431) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/chat-sdk.js +5625 -5593
  3. package/dist/chat-sdk.js.map +1 -1
  4. package/dist/chat-sdk.umd.cjs +113 -113
  5. package/dist/chat-sdk.umd.cjs.map +1 -1
  6. package/dist/index.css +1 -1
  7. package/package.json +4 -4
  8. package/src/components/biz-comp/multi-modal-input/index.tsx +0 -3
  9. package/src/components/biz-comp/opening-lines.tsx +2 -21
  10. package/src/components/bs-ui/chat-area-header.tsx +1 -1
  11. package/src/components/bs-ui/previewer-header.tsx +3 -0
  12. package/src/plugins/form-builder-plugin/components/create-form-confirm.tsx +3 -1
  13. package/src/plugins/form-builder-plugin/components/msg-part.tsx +6 -0
  14. package/src/plugins/form-builder-plugin/components/opening-lines.tsx +31 -0
  15. package/src/plugins/form-builder-plugin/index.ts +18 -0
  16. package/src/plugins/form-builder-plugin/types.ts +3 -1
  17. package/src/stories/PreviewerHeader.stories.tsx +14 -0
  18. package/dist/chat.d.ts +0 -5
  19. package/dist/chat.d.ts.map +0 -1
  20. package/dist/components/biz-comp/FakeBotMsg.d.ts +0 -8
  21. package/dist/components/biz-comp/FakeBotMsg.d.ts.map +0 -1
  22. package/dist/components/biz-comp/FieldChecker.d.ts +0 -18
  23. package/dist/components/biz-comp/FieldChecker.d.ts.map +0 -1
  24. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts +0 -16
  25. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts.map +0 -1
  26. package/dist/components/biz-comp/FieldValueChecker.d.ts +0 -16
  27. package/dist/components/biz-comp/FieldValueChecker.d.ts.map +0 -1
  28. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts +0 -22
  29. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts.map +0 -1
  30. package/dist/components/biz-comp/chat-client.d.ts +0 -13
  31. package/dist/components/biz-comp/chat-client.d.ts.map +0 -1
  32. package/dist/components/biz-comp/chat-frame.d.ts +0 -6
  33. package/dist/components/biz-comp/chat-frame.d.ts.map +0 -1
  34. package/dist/components/biz-comp/conversation.d.ts +0 -10
  35. package/dist/components/biz-comp/conversation.d.ts.map +0 -1
  36. package/dist/components/biz-comp/dash-widget-icon.d.ts +0 -7
  37. package/dist/components/biz-comp/dash-widget-icon.d.ts.map +0 -1
  38. package/dist/components/biz-comp/dock-btn.d.ts +0 -2
  39. package/dist/components/biz-comp/dock-btn.d.ts.map +0 -1
  40. package/dist/components/biz-comp/error-boundary.d.ts +0 -15
  41. package/dist/components/biz-comp/error-boundary.d.ts.map +0 -1
  42. package/dist/components/biz-comp/error-msg.d.ts +0 -4
  43. package/dist/components/biz-comp/error-msg.d.ts.map +0 -1
  44. package/dist/components/biz-comp/field-icon.d.ts +0 -5
  45. package/dist/components/biz-comp/field-icon.d.ts.map +0 -1
  46. package/dist/components/biz-comp/highlight-msg.d.ts +0 -4
  47. package/dist/components/biz-comp/highlight-msg.d.ts.map +0 -1
  48. package/dist/components/biz-comp/markdown-part.d.ts +0 -7
  49. package/dist/components/biz-comp/markdown-part.d.ts.map +0 -1
  50. package/dist/components/biz-comp/markdown.d.ts +0 -5
  51. package/dist/components/biz-comp/markdown.d.ts.map +0 -1
  52. package/dist/components/biz-comp/message-content.d.ts +0 -6
  53. package/dist/components/biz-comp/message-content.d.ts.map +0 -1
  54. package/dist/components/biz-comp/messages.d.ts +0 -3
  55. package/dist/components/biz-comp/messages.d.ts.map +0 -1
  56. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts +0 -9
  57. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts.map +0 -1
  58. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts +0 -7
  59. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts.map +0 -1
  60. package/dist/components/biz-comp/multi-modal-input/index.d.ts +0 -21
  61. package/dist/components/biz-comp/multi-modal-input/index.d.ts.map +0 -1
  62. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts +0 -12
  63. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts.map +0 -1
  64. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts +0 -36
  65. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts.map +0 -1
  66. package/dist/components/biz-comp/opening-lines.d.ts +0 -3
  67. package/dist/components/biz-comp/opening-lines.d.ts.map +0 -1
  68. package/dist/components/biz-comp/preview-message-wrapper.d.ts +0 -12
  69. package/dist/components/biz-comp/preview-message-wrapper.d.ts.map +0 -1
  70. package/dist/components/biz-comp/preview-message.d.ts +0 -13
  71. package/dist/components/biz-comp/preview-message.d.ts.map +0 -1
  72. package/dist/components/biz-comp/response.d.ts +0 -6
  73. package/dist/components/biz-comp/response.d.ts.map +0 -1
  74. package/dist/components/biz-comp/suggestions.d.ts +0 -8
  75. package/dist/components/biz-comp/suggestions.d.ts.map +0 -1
  76. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts +0 -10
  77. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts.map +0 -1
  78. package/dist/components/bs-ui/attachment-part-group.d.ts +0 -13
  79. package/dist/components/bs-ui/attachment-part-group.d.ts.map +0 -1
  80. package/dist/components/bs-ui/attachment-part.d.ts +0 -17
  81. package/dist/components/bs-ui/attachment-part.d.ts.map +0 -1
  82. package/dist/components/bs-ui/attachments-previewer.d.ts +0 -18
  83. package/dist/components/bs-ui/attachments-previewer.d.ts.map +0 -1
  84. package/dist/components/bs-ui/base-button.d.ts +0 -6
  85. package/dist/components/bs-ui/base-button.d.ts.map +0 -1
  86. package/dist/components/bs-ui/border-color-animation.d.ts +0 -11
  87. package/dist/components/bs-ui/border-color-animation.d.ts.map +0 -1
  88. package/dist/components/bs-ui/bot-avatar-name.d.ts +0 -6
  89. package/dist/components/bs-ui/bot-avatar-name.d.ts.map +0 -1
  90. package/dist/components/bs-ui/bot-icon.d.ts +0 -5
  91. package/dist/components/bs-ui/bot-icon.d.ts.map +0 -1
  92. package/dist/components/bs-ui/bs-icons.d.ts +0 -62
  93. package/dist/components/bs-ui/bs-icons.d.ts.map +0 -1
  94. package/dist/components/bs-ui/card-field.d.ts +0 -11
  95. package/dist/components/bs-ui/card-field.d.ts.map +0 -1
  96. package/dist/components/bs-ui/card.d.ts +0 -10
  97. package/dist/components/bs-ui/card.d.ts.map +0 -1
  98. package/dist/components/bs-ui/chat-area-header.d.ts +0 -13
  99. package/dist/components/bs-ui/chat-area-header.d.ts.map +0 -1
  100. package/dist/components/bs-ui/circle-checker.d.ts +0 -10
  101. package/dist/components/bs-ui/circle-checker.d.ts.map +0 -1
  102. package/dist/components/bs-ui/collapsible-txt-msg.d.ts +0 -11
  103. package/dist/components/bs-ui/collapsible-txt-msg.d.ts.map +0 -1
  104. package/dist/components/bs-ui/confirm-dialog.d.ts +0 -26
  105. package/dist/components/bs-ui/confirm-dialog.d.ts.map +0 -1
  106. package/dist/components/bs-ui/fields-generating-indicator.d.ts +0 -6
  107. package/dist/components/bs-ui/fields-generating-indicator.d.ts.map +0 -1
  108. package/dist/components/bs-ui/fields-portal.d.ts +0 -8
  109. package/dist/components/bs-ui/fields-portal.d.ts.map +0 -1
  110. package/dist/components/bs-ui/fields-previewer.d.ts +0 -18
  111. package/dist/components/bs-ui/fields-previewer.d.ts.map +0 -1
  112. package/dist/components/bs-ui/font-icon.d.ts +0 -6
  113. package/dist/components/bs-ui/font-icon.d.ts.map +0 -1
  114. package/dist/components/bs-ui/form-info-editor.d.ts +0 -38
  115. package/dist/components/bs-ui/form-info-editor.d.ts.map +0 -1
  116. package/dist/components/bs-ui/formula-tag.d.ts +0 -8
  117. package/dist/components/bs-ui/formula-tag.d.ts.map +0 -1
  118. package/dist/components/bs-ui/generate-animation.d.ts +0 -4
  119. package/dist/components/bs-ui/generate-animation.d.ts.map +0 -1
  120. package/dist/components/bs-ui/icon-btn.d.ts +0 -9
  121. package/dist/components/bs-ui/icon-btn.d.ts.map +0 -1
  122. package/dist/components/bs-ui/img-part.d.ts +0 -9
  123. package/dist/components/bs-ui/img-part.d.ts.map +0 -1
  124. package/dist/components/bs-ui/line-checker.d.ts +0 -18
  125. package/dist/components/bs-ui/line-checker.d.ts.map +0 -1
  126. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts +0 -10
  127. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts.map +0 -1
  128. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts +0 -8
  129. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts.map +0 -1
  130. package/dist/components/bs-ui/number-part.d.ts +0 -9
  131. package/dist/components/bs-ui/number-part.d.ts.map +0 -1
  132. package/dist/components/bs-ui/option-item.d.ts +0 -9
  133. package/dist/components/bs-ui/option-item.d.ts.map +0 -1
  134. package/dist/components/bs-ui/previewer-header.d.ts +0 -18
  135. package/dist/components/bs-ui/previewer-header.d.ts.map +0 -1
  136. package/dist/components/bs-ui/primary-confirm-btn.d.ts +0 -10
  137. package/dist/components/bs-ui/primary-confirm-btn.d.ts.map +0 -1
  138. package/dist/components/bs-ui/primary-entry-btn.d.ts +0 -9
  139. package/dist/components/bs-ui/primary-entry-btn.d.ts.map +0 -1
  140. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts +0 -6
  141. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts.map +0 -1
  142. package/dist/components/bs-ui/split-line.d.ts +0 -5
  143. package/dist/components/bs-ui/split-line.d.ts.map +0 -1
  144. package/dist/components/bs-ui/square-checker.d.ts +0 -11
  145. package/dist/components/bs-ui/tab-radio-group.d.ts +0 -19
  146. package/dist/components/bs-ui/tab-radio-group.d.ts.map +0 -1
  147. package/dist/components/bs-ui/tooltip.d.ts +0 -6
  148. package/dist/components/bs-ui/tooltip.d.ts.map +0 -1
  149. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts +0 -6
  150. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts.map +0 -1
  151. package/dist/components/bs-ui/warning-msg.d.ts +0 -6
  152. package/dist/components/bs-ui/warning-msg.d.ts.map +0 -1
  153. package/dist/components/ui/badge.d.ts +0 -10
  154. package/dist/components/ui/badge.d.ts.map +0 -1
  155. package/dist/components/ui/button.d.ts +0 -12
  156. package/dist/components/ui/button.d.ts.map +0 -1
  157. package/dist/components/ui/card.d.ts +0 -9
  158. package/dist/components/ui/card.d.ts.map +0 -1
  159. package/dist/components/ui/checkbox.d.ts +0 -5
  160. package/dist/components/ui/checkbox.d.ts.map +0 -1
  161. package/dist/components/ui/collapsible.d.ts +0 -6
  162. package/dist/components/ui/collapsible.d.ts.map +0 -1
  163. package/dist/components/ui/dialog.d.ts +0 -24
  164. package/dist/components/ui/dialog.d.ts.map +0 -1
  165. package/dist/components/ui/dropdown-menu.d.ts +0 -28
  166. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  167. package/dist/components/ui/icons.d.ts +0 -176
  168. package/dist/components/ui/icons.d.ts.map +0 -1
  169. package/dist/components/ui/input-group.d.ts +0 -17
  170. package/dist/components/ui/input-group.d.ts.map +0 -1
  171. package/dist/components/ui/input.d.ts +0 -4
  172. package/dist/components/ui/input.d.ts.map +0 -1
  173. package/dist/components/ui/label.d.ts +0 -6
  174. package/dist/components/ui/label.d.ts.map +0 -1
  175. package/dist/components/ui/one-time-click-btn.d.ts +0 -4
  176. package/dist/components/ui/one-time-click-btn.d.ts.map +0 -1
  177. package/dist/components/ui/select.d.ts +0 -14
  178. package/dist/components/ui/select.d.ts.map +0 -1
  179. package/dist/components/ui/spinner.d.ts +0 -3
  180. package/dist/components/ui/spinner.d.ts.map +0 -1
  181. package/dist/components/ui/tabs.d.ts +0 -8
  182. package/dist/components/ui/tabs.d.ts.map +0 -1
  183. package/dist/components/ui/textarea.d.ts +0 -4
  184. package/dist/components/ui/textarea.d.ts.map +0 -1
  185. package/dist/components/ui/tooltip.d.ts +0 -13
  186. package/dist/components/ui/tooltip.d.ts.map +0 -1
  187. package/dist/components/web-comp/fields-previewer-web-component.d.ts +0 -60
  188. package/dist/components/web-comp/fields-previewer-web-component.d.ts.map +0 -1
  189. package/dist/const/index.d.ts +0 -5
  190. package/dist/const/index.d.ts.map +0 -1
  191. package/dist/const/ui.d.ts +0 -5
  192. package/dist/const/ui.d.ts.map +0 -1
  193. package/dist/hooks/use-chat-preference.d.ts +0 -3
  194. package/dist/hooks/use-chat-preference.d.ts.map +0 -1
  195. package/dist/hooks/use-draggable.d.ts +0 -24
  196. package/dist/hooks/use-draggable.d.ts.map +0 -1
  197. package/dist/hooks/use-evt-bus.d.ts +0 -2
  198. package/dist/hooks/use-evt-bus.d.ts.map +0 -1
  199. package/dist/hooks/use-evt.d.ts +0 -3
  200. package/dist/hooks/use-evt.d.ts.map +0 -1
  201. package/dist/hooks/use-frame-mode.d.ts +0 -15
  202. package/dist/hooks/use-frame-mode.d.ts.map +0 -1
  203. package/dist/hooks/use-merged-chat.d.ts +0 -7
  204. package/dist/hooks/use-merged-chat.d.ts.map +0 -1
  205. package/dist/hooks/use-msg-status-broadcast.d.ts +0 -3
  206. package/dist/hooks/use-msg-status-broadcast.d.ts.map +0 -1
  207. package/dist/hooks/use-plugin-component.d.ts +0 -5
  208. package/dist/hooks/use-plugin-component.d.ts.map +0 -1
  209. package/dist/hooks/use-plugin-ctx.d.ts +0 -3
  210. package/dist/hooks/use-plugin-ctx.d.ts.map +0 -1
  211. package/dist/hooks/use-plugin-custom-components.d.ts +0 -5
  212. package/dist/hooks/use-plugin-custom-components.d.ts.map +0 -1
  213. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts +0 -5
  214. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts.map +0 -1
  215. package/dist/hooks/use-plugin-list.d.ts +0 -2
  216. package/dist/hooks/use-plugin-list.d.ts.map +0 -1
  217. package/dist/hooks/use-plugin.d.ts +0 -2
  218. package/dist/hooks/use-plugin.d.ts.map +0 -1
  219. package/dist/hooks/use-scroll-to-bottom.d.ts +0 -9
  220. package/dist/hooks/use-scroll-to-bottom.d.ts.map +0 -1
  221. package/dist/hooks/use-shadow.d.ts +0 -25
  222. package/dist/hooks/use-shadow.d.ts.map +0 -1
  223. package/dist/hooks/use-toast.d.ts +0 -3
  224. package/dist/index.d.ts +0 -7
  225. package/dist/index.d.ts.map +0 -1
  226. package/dist/lib/clone.d.ts +0 -32
  227. package/dist/lib/clone.d.ts.map +0 -1
  228. package/dist/lib/event-emitter.d.ts +0 -39
  229. package/dist/lib/event-emitter.d.ts.map +0 -1
  230. package/dist/lib/readonly.d.ts +0 -14
  231. package/dist/lib/readonly.d.ts.map +0 -1
  232. package/dist/lib/utils.d.ts +0 -40
  233. package/dist/lib/utils.d.ts.map +0 -1
  234. package/dist/plugins/form-builder-base-plugin/const.d.ts +0 -3
  235. package/dist/plugins/form-builder-base-plugin/const.d.ts.map +0 -1
  236. package/dist/plugins/form-builder-base-plugin/index.d.ts +0 -7
  237. package/dist/plugins/form-builder-base-plugin/index.d.ts.map +0 -1
  238. package/dist/plugins/form-builder-base-plugin/types.d.ts +0 -12
  239. package/dist/plugins/form-builder-base-plugin/types.d.ts.map +0 -1
  240. package/dist/plugins/form-builder-plugin/components/create-form-confirm.d.ts +0 -7
  241. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts +0 -3
  242. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts.map +0 -1
  243. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts +0 -3
  244. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts.map +0 -0
  245. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts +0 -3
  246. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts.map +0 -0
  247. package/dist/plugins/form-builder-plugin/const/index.d.ts +0 -12
  248. package/dist/plugins/form-builder-plugin/const/index.d.ts.map +0 -0
  249. package/dist/plugins/form-builder-plugin/hooks/use-fields-confirmed.d.ts +0 -2
  250. package/dist/plugins/form-builder-plugin/index.d.ts +0 -24
  251. package/dist/plugins/form-builder-plugin/index.d.ts.map +0 -1
  252. package/dist/plugins/form-builder-plugin/utils/index.d.ts +0 -51
  253. package/dist/plugins/form-builder-plugin/utils/index.d.ts.map +0 -1
  254. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts +0 -26
  255. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts.map +0 -1
  256. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts +0 -3
  257. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts.map +0 -1
  258. package/dist/plugins/form-filling-plugin/components/avatar.d.ts +0 -5
  259. package/dist/plugins/form-filling-plugin/components/avatar.d.ts.map +0 -1
  260. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts +0 -14
  261. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts.map +0 -1
  262. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts +0 -3
  263. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts.map +0 -1
  264. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts +0 -2
  265. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts.map +0 -1
  266. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts +0 -3
  267. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts.map +0 -1
  268. package/dist/plugins/form-filling-plugin/const.d.ts +0 -615
  269. package/dist/plugins/form-filling-plugin/const.d.ts.map +0 -1
  270. package/dist/plugins/form-filling-plugin/index.d.ts +0 -19
  271. package/dist/plugins/form-filling-plugin/index.d.ts.map +0 -1
  272. package/dist/plugins/form-filling-plugin/types.d.ts +0 -10
  273. package/dist/plugins/form-filling-plugin/types.d.ts.map +0 -1
  274. package/dist/plugins/form-filling-plugin/utils.d.ts +0 -6
  275. package/dist/plugins/form-filling-plugin/utils.d.ts.map +0 -1
  276. package/dist/plugins/general-model-form-builder-plugin/components/confirmer.d.ts +0 -9
  277. package/dist/plugins/general-model-form-builder-plugin/components/confirmer.d.ts.map +0 -1
  278. package/dist/plugins/general-model-form-builder-plugin/components/ghost-evt-dispatcher.d.ts +0 -10
  279. package/dist/plugins/general-model-form-builder-plugin/components/ghost-evt-dispatcher.d.ts.map +0 -1
  280. package/dist/plugins/general-model-form-builder-plugin/components/msg-part.d.ts +0 -3
  281. package/dist/plugins/general-model-form-builder-plugin/components/msg-part.d.ts.map +0 -1
  282. package/dist/plugins/general-model-form-builder-plugin/components/new-confirmer.d.ts +0 -10
  283. package/dist/plugins/general-model-form-builder-plugin/components/new-confirmer.d.ts.map +0 -1
  284. package/dist/plugins/general-model-form-builder-plugin/const.d.ts +0 -3
  285. package/dist/plugins/general-model-form-builder-plugin/const.d.ts.map +0 -1
  286. package/dist/plugins/general-model-form-builder-plugin/index.d.ts +0 -9
  287. package/dist/plugins/general-model-form-builder-plugin/index.d.ts.map +0 -1
  288. package/dist/plugins/general-model-form-builder-plugin/types.d.ts +0 -3
  289. package/dist/plugins/general-model-form-builder-plugin/types.d.ts.map +0 -1
  290. package/dist/plugins/mcp-form-builder-plugin/components/create-form-confirm.d.ts +0 -7
  291. package/dist/plugins/mcp-form-builder-plugin/components/create-form-confirm.d.ts.map +0 -1
  292. package/dist/plugins/mcp-form-builder-plugin/components/entry-btn.d.ts +0 -3
  293. package/dist/plugins/mcp-form-builder-plugin/components/entry-btn.d.ts.map +0 -1
  294. package/dist/plugins/mcp-form-builder-plugin/components/follow-up.d.ts +0 -3
  295. package/dist/plugins/mcp-form-builder-plugin/components/follow-up.d.ts.map +0 -1
  296. package/dist/plugins/mcp-form-builder-plugin/components/msg-part.d.ts +0 -3
  297. package/dist/plugins/mcp-form-builder-plugin/components/msg-part.d.ts.map +0 -1
  298. package/dist/plugins/mcp-form-builder-plugin/const/index.d.ts +0 -12
  299. package/dist/plugins/mcp-form-builder-plugin/const/index.d.ts.map +0 -1
  300. package/dist/plugins/mcp-form-builder-plugin/hooks/index.d.ts +0 -1
  301. package/dist/plugins/mcp-form-builder-plugin/hooks/index.d.ts.map +0 -1
  302. package/dist/plugins/mcp-form-builder-plugin/hooks/use-fields-confirmed.d.ts +0 -2
  303. package/dist/plugins/mcp-form-builder-plugin/hooks/use-fields-confirmed.d.ts.map +0 -1
  304. package/dist/plugins/mcp-form-builder-plugin/index.d.ts +0 -23
  305. package/dist/plugins/mcp-form-builder-plugin/index.d.ts.map +0 -1
  306. package/dist/plugins/mcp-form-builder-plugin/types.d.ts +0 -17
  307. package/dist/plugins/mcp-form-builder-plugin/types.d.ts.map +0 -1
  308. package/dist/plugins/mcp-form-builder-plugin/utils/index.d.ts +0 -51
  309. package/dist/plugins/mcp-form-builder-plugin/utils/index.d.ts.map +0 -1
  310. package/dist/plugins/report-query-plugin/components/avatar.d.ts +0 -5
  311. package/dist/plugins/report-query-plugin/components/avatar.d.ts.map +0 -1
  312. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts +0 -3
  313. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts.map +0 -1
  314. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts +0 -3
  315. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts.map +0 -1
  316. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts +0 -2
  317. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts.map +0 -1
  318. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts +0 -3
  319. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts.map +0 -1
  320. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts +0 -18
  321. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts.map +0 -1
  322. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts +0 -4
  323. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts.map +0 -1
  324. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts +0 -8
  325. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts.map +0 -1
  326. package/dist/plugins/report-query-plugin/const.d.ts +0 -2
  327. package/dist/plugins/report-query-plugin/const.d.ts.map +0 -1
  328. package/dist/plugins/report-query-plugin/index.d.ts +0 -15
  329. package/dist/plugins/report-query-plugin/index.d.ts.map +0 -1
  330. package/dist/plugins/report-query-plugin/types.d.ts +0 -13
  331. package/dist/plugins/report-query-plugin/types.d.ts.map +0 -1
  332. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts +0 -17
  333. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts.map +0 -1
  334. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts +0 -30
  335. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts.map +0 -1
  336. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts +0 -60
  337. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts.map +0 -1
  338. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts +0 -31
  339. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts.map +0 -1
  340. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts +0 -208
  341. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts.map +0 -1
  342. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts +0 -4
  343. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts.map +0 -1
  344. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts +0 -4
  345. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts.map +0 -1
  346. package/dist/plugins/report-query-plugin/utils/index.d.ts +0 -5
  347. package/dist/plugins/report-query-plugin/utils/index.d.ts.map +0 -1
  348. package/dist/sdk.impl.d.ts +0 -31
  349. package/dist/sdk.impl.d.ts.map +0 -1
  350. package/dist/store/context.d.ts +0 -12
  351. package/dist/store/context.d.ts.map +0 -1
  352. package/dist/store/index.d.ts +0 -14
  353. package/dist/store/index.d.ts.map +0 -1
  354. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts +0 -17
  355. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts.map +0 -1
  356. package/dist/stories/AttachmentPart.stories.d.ts +0 -23
  357. package/dist/stories/AttachmentPart.stories.d.ts.map +0 -1
  358. package/dist/stories/AttachmentPartGroup.stories.d.ts +0 -21
  359. package/dist/stories/AttachmentPartGroup.stories.d.ts.map +0 -1
  360. package/dist/stories/AttachmentsPreviewer.stories.d.ts +0 -20
  361. package/dist/stories/AttachmentsPreviewer.stories.d.ts.map +0 -1
  362. package/dist/stories/BaseButton.stories.d.ts +0 -18
  363. package/dist/stories/BaseButton.stories.d.ts.map +0 -1
  364. package/dist/stories/BorderColorAnimation.stories.d.ts +0 -26
  365. package/dist/stories/BorderColorAnimation.stories.d.ts.map +0 -1
  366. package/dist/stories/BotAvatarAndName.stories.d.ts +0 -18
  367. package/dist/stories/BotAvatarAndName.stories.d.ts.map +0 -1
  368. package/dist/stories/BotIcon.stories.d.ts +0 -17
  369. package/dist/stories/BotIcon.stories.d.ts.map +0 -1
  370. package/dist/stories/BsTooltip.stories.d.ts +0 -7
  371. package/dist/stories/BsTooltip.stories.d.ts.map +0 -1
  372. package/dist/stories/Card.stories.d.ts +0 -14
  373. package/dist/stories/Card.stories.d.ts.map +0 -1
  374. package/dist/stories/CardField.stories.d.ts +0 -13
  375. package/dist/stories/CardField.stories.d.ts.map +0 -1
  376. package/dist/stories/ChatAreaHeader.stories.d.ts +0 -14
  377. package/dist/stories/ChatAreaHeader.stories.d.ts.map +0 -1
  378. package/dist/stories/CircleChecker.stories.d.ts +0 -21
  379. package/dist/stories/CircleChecker.stories.d.ts.map +0 -1
  380. package/dist/stories/CollapsibleTextMsg.stories.d.ts +0 -16
  381. package/dist/stories/CollapsibleTextMsg.stories.d.ts.map +0 -1
  382. package/dist/stories/ConfirmDialog.stories.d.ts +0 -61
  383. package/dist/stories/ConfirmDialog.stories.d.ts.map +0 -1
  384. package/dist/stories/DashWidgetIcon.stories.d.ts +0 -13
  385. package/dist/stories/DashWidgetIcon.stories.d.ts.map +0 -1
  386. package/dist/stories/FormInfoEditor.stories.d.ts +0 -15
  387. package/dist/stories/FormInfoEditor.stories.d.ts.map +0 -1
  388. package/dist/stories/FormulaField.stories.d.ts +0 -24
  389. package/dist/stories/FormulaField.stories.d.ts.map +0 -1
  390. package/dist/stories/FormulaTag.stories.d.ts +0 -37
  391. package/dist/stories/FormulaTag.stories.d.ts.map +0 -1
  392. package/dist/stories/GenerateAnimation.stories.d.ts +0 -16
  393. package/dist/stories/GenerateAnimation.stories.d.ts.map +0 -1
  394. package/dist/stories/IconBtn.stories.d.ts +0 -15
  395. package/dist/stories/IconBtn.stories.d.ts.map +0 -1
  396. package/dist/stories/IconLib.d.ts +0 -12
  397. package/dist/stories/IconLib.d.ts.map +0 -1
  398. package/dist/stories/Icons.stories.d.ts +0 -24
  399. package/dist/stories/Icons.stories.d.ts.map +0 -1
  400. package/dist/stories/ImgMsgPart.stories.d.ts +0 -20
  401. package/dist/stories/ImgMsgPart.stories.d.ts.map +0 -1
  402. package/dist/stories/LineChecker.stories.d.ts +0 -23
  403. package/dist/stories/LineChecker.stories.d.ts.map +0 -1
  404. package/dist/stories/LinearGradientBorderBtn.stories.d.ts +0 -22
  405. package/dist/stories/LinearGradientBorderBtn.stories.d.ts.map +0 -1
  406. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts +0 -23
  407. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts.map +0 -1
  408. package/dist/stories/NumbersMsgPart.stories.d.ts +0 -19
  409. package/dist/stories/NumbersMsgPart.stories.d.ts.map +0 -1
  410. package/dist/stories/OptionItem.stories.d.ts +0 -20
  411. package/dist/stories/OptionItem.stories.d.ts.map +0 -1
  412. package/dist/stories/PreviewerHeader.stories.d.ts +0 -10
  413. package/dist/stories/PreviewerHeader.stories.d.ts.map +0 -1
  414. package/dist/stories/PrimaryConfirmBtn.stories.d.ts +0 -19
  415. package/dist/stories/PrimaryConfirmBtn.stories.d.ts.map +0 -1
  416. package/dist/stories/PrimaryEntryBtn.stories.d.ts +0 -26
  417. package/dist/stories/PrimaryEntryBtn.stories.d.ts.map +0 -1
  418. package/dist/stories/ScrollToBottom.stories.d.ts +0 -15
  419. package/dist/stories/ScrollToBottom.stories.d.ts.map +0 -1
  420. package/dist/stories/SplitLine.stories.d.ts +0 -9
  421. package/dist/stories/SplitLine.stories.d.ts.map +0 -1
  422. package/dist/stories/TabRadioGroup.stories.d.ts +0 -18
  423. package/dist/stories/TabRadioGroup.stories.d.ts.map +0 -1
  424. package/dist/stories/UserTextMsgBubble.stories.d.ts +0 -14
  425. package/dist/stories/UserTextMsgBubble.stories.d.ts.map +0 -1
  426. package/dist/stories/WarningMessage.stories.d.ts +0 -16
  427. package/dist/stories/WarningMessage.stories.d.ts.map +0 -1
  428. package/dist/stories/fields-generating.stories.d.ts +0 -20
  429. package/dist/stories/fields-generating.stories.d.ts.map +0 -1
  430. package/dist/stories/fields-previewer.stories.d.ts +0 -19
  431. package/dist/stories/fields-previewer.stories.d.ts.map +0 -1
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export declare const FakeBotMessage: ({ children, headless, className, }: {
3
- children: ReactNode;
4
- headless?: boolean;
5
- offset?: boolean;
6
- className?: string;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=FakeBotMsg.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FakeBotMsg.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/FakeBotMsg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,SAAS,EAAE,MAAM,OAAO,CAAC;AAMjD,eAAO,MAAM,cAAc,GAAI,oCAI5B;IACD,QAAQ,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,4CAyCA,CAAC"}
@@ -1,18 +0,0 @@
1
- import { ValueOf } from '@baishuyun/types';
2
- import { ToolUIPart } from 'ai';
3
- import { FieldsTools } from '@baishuyun/agents';
4
- type Field = ValueOf<Pick<ToolUIPart<FieldsTools>, 'output'>>;
5
- export interface FieldCheckerProps {
6
- field: ValueOf<Pick<ToolUIPart<FieldsTools>, 'output'>>;
7
- isSubField?: boolean;
8
- disabled?: boolean;
9
- icon?: React.ReactNode;
10
- onChange?: (checked: boolean, field: Field, parentFieldName?: string, index?: number) => void;
11
- value?: unknown;
12
- streaming?: boolean;
13
- confirmed?: boolean;
14
- onLoaded?: (field: Field) => void;
15
- }
16
- export declare const FieldChecker: import('react').MemoExoticComponent<({ field, disabled, isSubField, onChange, onLoaded, icon, value, streaming, confirmed, }: FieldCheckerProps) => import("react/jsx-runtime").JSX.Element | null>;
17
- export {};
18
- //# sourceMappingURL=FieldChecker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FieldChecker.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/FieldChecker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,WAAW,EAAU,MAAM,mBAAmB,CAAC;AAKxD,KAAK,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE9D,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9F,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACnC;AAED,eAAO,MAAM,YAAY,gIAWpB,iBAAiB,oDAiGrB,CAAC"}
@@ -1,16 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { FieldCheckerProps } from './FieldChecker';
3
- import { FieldValueCheckerProps } from './FieldValueChecker';
4
- export declare const FieldCheckerListMsg: import('react').MemoExoticComponent<({ fields, children, streaming, confirmed, }: {
5
- fields: Array<FieldCheckerProps>;
6
- children?: ReactNode;
7
- streaming: boolean;
8
- confirmed?: boolean;
9
- }) => import("react/jsx-runtime").JSX.Element>;
10
- export declare const FieldValueCheckerListMsg: import('react').MemoExoticComponent<({ props, readonly, children, streaming, }: {
11
- props: Array<FieldValueCheckerProps>;
12
- children?: ReactNode;
13
- readonly?: boolean;
14
- streaming?: boolean;
15
- }) => import("react/jsx-runtime").JSX.Element>;
16
- //# sourceMappingURL=FieldCheckerListMsg.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FieldCheckerListMsg.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/FieldCheckerListMsg.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,SAAS,EAAE,MAAM,OAAO,CAAC;AAExC,OAAO,EAAgB,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAEjE,OAAO,EAAqB,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAEhF,eAAO,MAAM,mBAAmB,oFAM3B;IACD,MAAM,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,6CAkBF,CAAC;AAEF,eAAO,MAAM,wBAAwB,kFAMhC;IACD,KAAK,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IACrC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,6CAUF,CAAC"}
@@ -1,16 +0,0 @@
1
- import { ValueOf } from '@baishuyun/types';
2
- import { ToolUIPart } from 'ai';
3
- import { FieldsTools } from '@baishuyun/agents';
4
- type Field = ValueOf<Pick<ToolUIPart<FieldsTools>, 'output'>>;
5
- export interface FieldValueCheckerProps {
6
- field: ValueOf<Pick<ToolUIPart<FieldsTools>, 'output'>>;
7
- isSubField?: boolean;
8
- disabled?: boolean;
9
- readonly?: boolean;
10
- onChange?: (checked: boolean, field: Field, parentFieldName?: string, index?: number) => void;
11
- onLoaded?: (field: Field) => void;
12
- streaming?: boolean;
13
- }
14
- export declare const FieldValueChecker: import('react').MemoExoticComponent<({ field, disabled, isSubField, readonly, streaming, onChange, onLoaded, }: FieldValueCheckerProps) => import("react/jsx-runtime").JSX.Element | null>;
15
- export {};
16
- //# sourceMappingURL=FieldValueChecker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"FieldValueChecker.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/FieldValueChecker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAMhD,KAAK,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE9D,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IACxD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,eAAe,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9F,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAClC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,eAAO,MAAM,iBAAiB,kHASzB,sBAAsB,oDA0F1B,CAAC"}
@@ -1,22 +0,0 @@
1
- import { ValueOf } from '@baishuyun/types';
2
- import { ToolUIPart } from 'ai';
3
- import { FieldsTools } from '@baishuyun/agents';
4
- type F = ValueOf<Pick<ToolUIPart<FieldsTools>, 'output'>>;
5
- type onSubformFieldChangeParam = {
6
- checked: boolean;
7
- field: F;
8
- parentFieldName: string;
9
- row?: number;
10
- col?: number;
11
- };
12
- /**
13
- * 专门渲染子表单下的字段勾选
14
- */
15
- export declare const SubformFieldsValueChecker: ({ subformField, onChange, streaming, readonly, }: {
16
- onChange: (p: onSubformFieldChangeParam) => void;
17
- subformField: ValueOf<Pick<ToolUIPart<FieldsTools>, "output">>;
18
- streaming?: boolean;
19
- readonly?: boolean;
20
- }) => import("react/jsx-runtime").JSX.Element | null;
21
- export {};
22
- //# sourceMappingURL=SubformFieldsValueChecker.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SubformFieldsValueChecker.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/SubformFieldsValueChecker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAoGhD,KAAK,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;AAS1D,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,CAAC,CAAC;IACT,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,kDAKvC;IACD,QAAQ,EAAE,CAAC,CAAC,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACjD,YAAY,EAAE,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC/D,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,mDAmDA,CAAC"}
@@ -1,13 +0,0 @@
1
- import { ChatStore } from '../../store';
2
- import { ChatSDK } from '../..';
3
- export declare const ChatEntryBtn: ({ client }: {
4
- client: ChatSDK;
5
- }) => import("react/jsx-runtime").JSX.Element | null;
6
- export declare const ChatWidgets: ({ client }: {
7
- client: ChatSDK;
8
- }) => import("react/jsx-runtime").JSX.Element;
9
- export declare const ChatClient: ({ store, client }: {
10
- client: ChatSDK;
11
- store: ChatStore;
12
- }) => import("react/jsx-runtime").JSX.Element;
13
- //# sourceMappingURL=chat-client.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-client.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/chat-client.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AA0G9B,eAAO,MAAM,YAAY,GAAI,YAAY;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,mDA2E3D,CAAC;AAyFF,eAAO,MAAM,WAAW,GAAI,YAAY;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,4CAQ1D,CAAC;AAEF,eAAO,MAAM,UAAU,GAAI,mBAAmB;IAAE,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,4CAUlF,CAAC"}
@@ -1,6 +0,0 @@
1
- import { ReactNode } from 'react';
2
- export declare const ChatFrame: (props: {
3
- messagesArea: ReactNode;
4
- inputArea: ReactNode;
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=chat-frame.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"chat-frame.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/chat-frame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,eAAO,MAAM,SAAS,GAAI,OAAO;IAC/B,YAAY,EAAE,SAAS,CAAC;IACxB,SAAS,EAAE,SAAS,CAAC;CACtB,4CAmBA,CAAC"}
@@ -1,10 +0,0 @@
1
- import { ComponentProps, default as React } from 'react';
2
- import { StickToBottom, StickToBottomProps } from 'use-stick-to-bottom';
3
- import { Button } from '../ui/button';
4
- export type ConversationProps = ComponentProps<typeof StickToBottom>;
5
- export declare const Conversation: React.FC<StickToBottomProps>;
6
- export type ConversationContentProps = ComponentProps<typeof StickToBottom.Content>;
7
- export declare const ConversationContent: ({ className, ...props }: ConversationContentProps) => import("react/jsx-runtime").JSX.Element;
8
- export type ConversationScrollButtonProps = ComponentProps<typeof Button>;
9
- export declare const ConversationScrollButton: ({ className }: ConversationScrollButtonProps) => import("react/jsx-runtime").JSX.Element;
10
- //# sourceMappingURL=conversation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"conversation.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/conversation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAsB,MAAM,OAAO,CAAC;AAC3C,OAAO,EAAE,aAAa,EAAE,kBAAkB,EAA2B,MAAM,qBAAqB,CAAC;AACjG,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAIhD,MAAM,MAAM,iBAAiB,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAErE,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CASrD,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,OAAO,CAAC,CAAC;AAEpF,eAAO,MAAM,mBAAmB,GAAI,yBAAyB,wBAAwB,4CAEpF,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAE1E,eAAO,MAAM,wBAAwB,GAAI,eAAe,6BAA6B,4CAoBpF,CAAC"}
@@ -1,7 +0,0 @@
1
- import { IDashWidgetType } from '@baishuyun/types';
2
- export declare const DashWidgetIcon: ({ type, className, style, }: {
3
- type: IDashWidgetType;
4
- className?: string;
5
- style?: React.CSSProperties;
6
- }) => import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=dash-widget-icon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dash-widget-icon.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/dash-widget-icon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAGnD,eAAO,MAAM,cAAc,GAAI,6BAI5B;IACD,IAAI,EAAE,eAAe,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,4CAIA,CAAC"}
@@ -1,2 +0,0 @@
1
- export declare const DockBtn: () => import("react/jsx-runtime").JSX.Element;
2
- //# sourceMappingURL=dock-btn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"dock-btn.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/dock-btn.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,+CA2CnB,CAAC"}
@@ -1,15 +0,0 @@
1
- import { default as React } from 'react';
2
- interface ErrorBoundaryState {
3
- hasError: boolean;
4
- error: string;
5
- }
6
- export declare class ErrorBoundary<T> extends React.Component<React.PropsWithChildren<T>, ErrorBoundaryState> {
7
- constructor(props: React.PropsWithChildren<T>);
8
- static getDerivedStateFromError(error: Error): {
9
- hasError: boolean;
10
- error: string;
11
- };
12
- render(): import("react/jsx-runtime").JSX.Element | React.PropsWithChildren<T>["children"] | undefined;
13
- }
14
- export {};
15
- //# sourceMappingURL=error-boundary.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/error-boundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,kBAAkB;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,qBAAa,aAAa,CAAC,CAAC,CAAE,SAAQ,KAAK,CAAC,SAAS,CACnD,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,EAC1B,kBAAkB,CACnB;gBACa,KAAK,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC;IAK7C,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK;;;;IAO5C,MAAM;CAQP"}
@@ -1,4 +0,0 @@
1
- export declare const ErrorFallbackMsg: ({ error }: {
2
- error?: string;
3
- }) => import("react/jsx-runtime").JSX.Element;
4
- //# sourceMappingURL=error-msg.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"error-msg.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/error-msg.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,GAAI,WAAW;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,4CAM7D,CAAC"}
@@ -1,5 +0,0 @@
1
- import { FieldType } from '@baishuyun/types';
2
- export declare const FieldIcon: ({ type }: {
3
- type: FieldType;
4
- }) => import("react/jsx-runtime").JSX.Element;
5
- //# sourceMappingURL=field-icon.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"field-icon.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/field-icon.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAI7C,eAAO,MAAM,SAAS,GAAI,UAAU;IAAE,IAAI,EAAE,SAAS,CAAA;CAAE,4CAOtD,CAAC"}
@@ -1,4 +0,0 @@
1
- export declare const HighlightMsg: ({ children }: {
2
- children: React.ReactNode;
3
- }) => import("react/jsx-runtime").JSX.Element;
4
- //# sourceMappingURL=highlight-msg.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"highlight-msg.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/highlight-msg.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,GAAI,cAAc;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4CAEvE,CAAC"}
@@ -1,7 +0,0 @@
1
- import { MsgPartCompProps } from '@baishuyun/types';
2
- export declare const MarkdownMsgpart: (props: MsgPartCompProps & {
3
- children?: React.ReactNode;
4
- collapsible?: boolean;
5
- collapsibleTitle?: string;
6
- }) => import("react/jsx-runtime").JSX.Element | null;
7
- //# sourceMappingURL=markdown-part.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown-part.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/markdown-part.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AASpD,eAAO,MAAM,eAAe,GAC1B,OAAO,gBAAgB,GAAG;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B,mDAyDF,CAAC"}
@@ -1,5 +0,0 @@
1
- export declare const MemoizedMarkdown: import('react').MemoExoticComponent<({ content, id }: {
2
- content: string;
3
- id: string;
4
- }) => import("react/jsx-runtime").JSX.Element[]>;
5
- //# sourceMappingURL=markdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"markdown.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/markdown.tsx"],"names":[],"mappings":"AAqBA,eAAO,MAAM,gBAAgB,wDACT;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,+CAWlD,CAAC"}
@@ -1,6 +0,0 @@
1
- import { HTMLAttributes } from 'react';
2
- export type MessageContentProps = HTMLAttributes<HTMLDivElement> & {
3
- compact?: boolean;
4
- };
5
- export declare const MessageContent: ({ children, className, ...props }: MessageContentProps) => import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=message-content.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"message-content.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/message-content.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,mCAAmC,mBAAmB,4CAapF,CAAC"}
@@ -1,3 +0,0 @@
1
- import { MessagesProps } from '@baishuyun/types';
2
- export declare const Messages: (props: MessagesProps) => import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=messages.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/messages.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAOjD,eAAO,MAAM,QAAQ,GAAI,OAAO,aAAa,4CAsC5C,CAAC"}
@@ -1,9 +0,0 @@
1
- import { UseChatHelpers } from '@ai-sdk/react';
2
- import { ChatMessage } from '@baishuyun/types';
3
- declare function PureAttachmentsButton({ fileInputRef, status, }: {
4
- fileInputRef: React.MutableRefObject<HTMLInputElement | null>;
5
- status: UseChatHelpers<ChatMessage>['status'];
6
- }): import("react/jsx-runtime").JSX.Element;
7
- export declare const AttachmentsButton: import('react').MemoExoticComponent<typeof PureAttachmentsButton>;
8
- export {};
9
- //# sourceMappingURL=attachment-btn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment-btn.d.ts","sourceRoot":"","sources":["../../../../src/components/biz-comp/multi-modal-input/attachment-btn.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAK/C,iBAAS,qBAAqB,CAAC,EAC7B,YAAY,EACZ,MAAM,GACP,EAAE;IACD,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,gBAAgB,GAAG,IAAI,CAAC,CAAC;IAC9D,MAAM,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC/C,2CAeA;AAED,eAAO,MAAM,iBAAiB,mEAA8B,CAAC"}
@@ -1,7 +0,0 @@
1
- import { UseChatHelpers } from '@ai-sdk/react';
2
- import { ChatMessage } from '@baishuyun/types';
3
- export declare const ClearBtn: ({ setMessages, status, }: {
4
- setMessages: UseChatHelpers<ChatMessage>["setMessages"];
5
- status: UseChatHelpers<ChatMessage>["status"];
6
- }) => import("react/jsx-runtime").JSX.Element;
7
- //# sourceMappingURL=clear-btn.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clear-btn.d.ts","sourceRoot":"","sources":["../../../../src/components/biz-comp/multi-modal-input/clear-btn.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAK/C,eAAO,MAAM,QAAQ,GAAI,0BAGtB;IACD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACxD,MAAM,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;CAC/C,4CA6BA,CAAC"}
@@ -1,21 +0,0 @@
1
- import { UseChatHelpers } from '@ai-sdk/react';
2
- import { UIMessage } from 'ai';
3
- import { Dispatch, SetStateAction } from 'react';
4
- import { ChatMessage, Attachment } from '@baishuyun/types';
5
- declare function PureMultimodalInput({ chatId, input, setInput, status, stop, attachments, setAttachments, fileUploadEndpoint, setMessages, sendMessage, className, }: {
6
- chatId: string;
7
- input: string;
8
- setInput: Dispatch<SetStateAction<string>>;
9
- status: UseChatHelpers<ChatMessage>['status'];
10
- stop: () => void;
11
- attachments: Attachment[];
12
- fileUploadEndpoint: string;
13
- setAttachments: Dispatch<SetStateAction<Attachment[]>>;
14
- messages: UIMessage[];
15
- setMessages: UseChatHelpers<ChatMessage>['setMessages'];
16
- sendMessage: UseChatHelpers<ChatMessage>['sendMessage'];
17
- className?: string;
18
- }): import("react/jsx-runtime").JSX.Element;
19
- export declare const MultimodalInput: import('react').MemoExoticComponent<typeof PureMultimodalInput>;
20
- export {};
21
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/biz-comp/multi-modal-input/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,IAAI,CAAC;AAEpC,OAAO,EAEL,KAAK,QAAQ,EAEb,KAAK,cAAc,EAKpB,MAAM,OAAO,CAAC;AAUf,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAS3D,iBAAS,mBAAmB,CAAC,EAC3B,MAAM,EACN,KAAK,EACL,QAAQ,EACR,MAAM,EACN,IAAI,EACJ,WAAW,EACX,cAAc,EAEd,kBAAkB,EAClB,WAAW,EACX,WAAW,EACX,SAAS,GACV,EAAE;IACD,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC3C,MAAM,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC9C,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,QAAQ,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACvD,QAAQ,EAAE,SAAS,EAAE,CAAC;IACtB,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACxD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,2CAuSA;AAED,eAAO,MAAM,eAAe,iEAY1B,CAAC"}
@@ -1,12 +0,0 @@
1
- import { Attachment } from '@baishuyun/types';
2
- import { HTMLAttributes } from 'react';
3
- export type LoaderProps = HTMLAttributes<HTMLDivElement> & {
4
- size?: number;
5
- };
6
- export declare const Loader: ({ className, size, ...props }: LoaderProps) => import("react/jsx-runtime").JSX.Element;
7
- export declare const PreviewAttachment: ({ attachment, isUploading, onRemove, }: {
8
- attachment: Attachment;
9
- isUploading?: boolean;
10
- onRemove?: () => void;
11
- }) => import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=preview-attachment.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preview-attachment.d.ts","sourceRoot":"","sources":["../../../../src/components/biz-comp/multi-modal-input/preview-attachment.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAInD,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,MAAM,WAAW,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,eAAO,MAAM,MAAM,GAAI,+BAAoC,WAAW,4CAIrE,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,wCAI/B;IACD,UAAU,EAAE,UAAU,CAAC;IACvB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB,4CA+CA,CAAC"}
@@ -1,36 +0,0 @@
1
- import { ChatStatus } from 'ai';
2
- import { ComponentProps, HTMLAttributes } from 'react';
3
- import { Button } from '../../ui/button';
4
- import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from '../../ui/select';
5
- import { Textarea } from '../../ui/textarea';
6
- import * as react from 'react';
7
- export type PromptInputProps = HTMLAttributes<HTMLFormElement>;
8
- export declare const PromptInput: ({ className, ...props }: PromptInputProps) => import("react/jsx-runtime").JSX.Element;
9
- export type PromptInputTextareaProps = ComponentProps<typeof Textarea> & {
10
- minHeight?: number;
11
- maxHeight?: number;
12
- disableAutoResize?: boolean;
13
- resizeOnNewLinesOnly?: boolean;
14
- };
15
- export declare const PromptInputTextarea: react.ForwardRefExoticComponent<Omit<PromptInputTextareaProps, "ref"> & react.RefAttributes<HTMLTextAreaElement>>;
16
- export type PromptInputToolbarProps = HTMLAttributes<HTMLDivElement>;
17
- export declare const PromptInputToolbar: ({ className, ...props }: PromptInputToolbarProps) => import("react/jsx-runtime").JSX.Element;
18
- export type PromptInputToolsProps = HTMLAttributes<HTMLDivElement>;
19
- export declare const PromptInputTools: ({ className, ...props }: PromptInputToolsProps) => import("react/jsx-runtime").JSX.Element;
20
- export type PromptInputButtonProps = ComponentProps<typeof Button>;
21
- export declare const PromptInputButton: ({ variant, className, size, ...props }: PromptInputButtonProps) => import("react/jsx-runtime").JSX.Element;
22
- export type PromptInputSubmitProps = ComponentProps<typeof Button> & {
23
- status?: ChatStatus;
24
- };
25
- export declare const PromptInputSubmit: ({ className, variant, size, status, children, ...props }: PromptInputSubmitProps) => import("react/jsx-runtime").JSX.Element;
26
- export type PromptInputModelSelectProps = ComponentProps<typeof Select>;
27
- export declare const PromptInputModelSelect: (props: PromptInputModelSelectProps) => import("react/jsx-runtime").JSX.Element;
28
- export type PromptInputModelSelectTriggerProps = ComponentProps<typeof SelectTrigger>;
29
- export declare const PromptInputModelSelectTrigger: ({ className, ...props }: PromptInputModelSelectTriggerProps) => import("react/jsx-runtime").JSX.Element;
30
- export type PromptInputModelSelectContentProps = ComponentProps<typeof SelectContent>;
31
- export declare const PromptInputModelSelectContent: ({ className, ...props }: PromptInputModelSelectContentProps) => import("react/jsx-runtime").JSX.Element;
32
- export type PromptInputModelSelectItemProps = ComponentProps<typeof SelectItem>;
33
- export declare const PromptInputModelSelectItem: ({ className, ...props }: PromptInputModelSelectItemProps) => import("react/jsx-runtime").JSX.Element;
34
- export type PromptInputModelSelectValueProps = ComponentProps<typeof SelectValue>;
35
- export declare const PromptInputModelSelectValue: ({ className, ...props }: PromptInputModelSelectValueProps) => import("react/jsx-runtime").JSX.Element;
36
- //# sourceMappingURL=prompt-input.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prompt-input.d.ts","sourceRoot":"","sources":["../../../../src/components/biz-comp/multi-modal-input/prompt-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAErC,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAwB,MAAM,OAAO,CAAC;AAElF,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAChD,OAAO,EACL,MAAM,EACN,aAAa,EACb,UAAU,EACV,aAAa,EACb,WAAW,EACZ,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,0BAA0B,CAAC;AAIpD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC,eAAe,CAAC,CAAC;AAE/D,eAAO,MAAM,WAAW,GAAI,yBAAyB,gBAAgB,4CAQpE,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,mBAAmB,mHA2D/B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAErE,eAAO,MAAM,kBAAkB,GAAI,yBAAyB,uBAAuB,4CAElF,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,cAAc,CAAC,CAAC;AAEnE,eAAO,MAAM,gBAAgB,GAAI,yBAAyB,qBAAqB,4CAE9E,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAEnE,eAAO,MAAM,iBAAiB,GAAI,wCAK/B,sBAAsB,4CAiBxB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,GAAG;IACnE,MAAM,CAAC,EAAE,UAAU,CAAC;CACrB,CAAC;AAyBF,eAAO,MAAM,iBAAiB,GAAI,0DAO/B,sBAAsB,4CAcxB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC;AAExE,eAAO,MAAM,sBAAsB,GAAI,OAAO,2BAA2B,4CAA0B,CAAC;AAEpG,MAAM,MAAM,kCAAkC,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAEtF,eAAO,MAAM,6BAA6B,GAAI,yBAG3C,kCAAkC,4CAUpC,CAAC;AAEF,MAAM,MAAM,kCAAkC,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAEtF,eAAO,MAAM,6BAA6B,GAAI,yBAG3C,kCAAkC,4CAA2D,CAAC;AAEjG,MAAM,MAAM,+BAA+B,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAEhF,eAAO,MAAM,0BAA0B,GAAI,yBAGxC,+BAA+B,4CAAwD,CAAC;AAE3F,MAAM,MAAM,gCAAgC,GAAG,cAAc,CAAC,OAAO,WAAW,CAAC,CAAC;AAElF,eAAO,MAAM,2BAA2B,GAAI,yBAGzC,gCAAgC,4CAAyD,CAAC"}
@@ -1,3 +0,0 @@
1
- import { OpeningLinesProps } from '@baishuyun/types';
2
- export declare const OpeningLines: ({ sendMessage, setMessages }: OpeningLinesProps) => import("react/jsx-runtime").JSX.Element;
3
- //# sourceMappingURL=opening-lines.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"opening-lines.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/opening-lines.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,eAAO,MAAM,YAAY,GAAI,8BAA8B,iBAAiB,4CA2B3E,CAAC"}
@@ -1,12 +0,0 @@
1
- import { MsgSenderRole } from '@baishuyun/types';
2
- export declare const PreviewMessageWrapper: ({ role, requiresScrollPadding, hasTextPart, hasFileType, children, isLoading, onCopy, onGenerate, }: {
3
- onCopy?: () => void;
4
- onGenerate?: () => void;
5
- role: MsgSenderRole;
6
- requiresScrollPadding?: boolean;
7
- hasTextPart?: boolean;
8
- hasFileType?: boolean;
9
- children: React.ReactNode;
10
- isLoading?: boolean;
11
- }) => import("react/jsx-runtime").JSX.Element;
12
- //# sourceMappingURL=preview-message-wrapper.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preview-message-wrapper.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/preview-message-wrapper.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAUjD,eAAO,MAAM,qBAAqB,GAAI,qGASnC;IACD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;IACxB,IAAI,EAAE,aAAa,CAAC;IACpB,qBAAqB,CAAC,EAAE,OAAO,CAAC;IAChC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB,4CAgFA,CAAC"}
@@ -1,13 +0,0 @@
1
- import { ChatMessage, UseChatHelpers } from '@baishuyun/types';
2
- export declare const PreviewMessage: ({ message, isLoading, addToolOutput, sendMessage, setMessages, status, regenerate, requiresScrollPadding, }: {
3
- message: ChatMessage;
4
- isLoading?: boolean;
5
- setMessages: UseChatHelpers<ChatMessage>["setMessages"];
6
- status: UseChatHelpers<ChatMessage>["status"];
7
- sendMessage: UseChatHelpers<ChatMessage>["sendMessage"];
8
- addToolOutput: UseChatHelpers<ChatMessage>["addToolOutput"];
9
- regenerate?: UseChatHelpers<ChatMessage>["regenerate"];
10
- isReadonly?: boolean;
11
- requiresScrollPadding?: boolean;
12
- }) => import("react/jsx-runtime").JSX.Element | null;
13
- //# sourceMappingURL=preview-message.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preview-message.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/preview-message.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAoB,cAAc,EAAE,MAAM,kBAAkB,CAAC;AA+JtF,eAAO,MAAM,cAAc,gHA9HxB;IACD,OAAO,EAAE,WAAW,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACxD,MAAM,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC9C,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACxD,aAAa,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,eAAe,CAAC,CAAC;IAC5D,UAAU,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,YAAY,CAAC,CAAC;IACvD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,mDAoH+C,CAAC"}
@@ -1,6 +0,0 @@
1
- import { ComponentProps } from 'react';
2
- import { Streamdown } from 'streamdown';
3
- type ResponseProps = ComponentProps<typeof Streamdown>;
4
- export declare const Response: import('react').MemoExoticComponent<({ className, ...props }: ResponseProps) => import("react/jsx-runtime").JSX.Element>;
5
- export {};
6
- //# sourceMappingURL=response.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"response.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/response.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,cAAc,EAAQ,MAAM,OAAO,CAAC;AAElD,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAGxC,KAAK,aAAa,GAAG,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;AAEvD,eAAO,MAAM,QAAQ,gEACO,aAAa,6CAUxC,CAAC"}
@@ -1,8 +0,0 @@
1
- import { ISuggestion, SuggestionCardProps } from '@baishuyun/types';
2
- export declare const SuggestionCard: ({ title, description, onSelect, headless, classNames, }: SuggestionCardProps) => import("react/jsx-runtime").JSX.Element;
3
- export declare const Suggestions: ({ items, iconColor, onSelect, }: {
4
- items?: ISuggestion[];
5
- iconColor?: string;
6
- onSelect?: (title: string) => void;
7
- }) => import("react/jsx-runtime").JSX.Element;
8
- //# sourceMappingURL=suggestions.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"suggestions.d.ts","sourceRoot":"","sources":["../../../src/components/biz-comp/suggestions.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAGpE,eAAO,MAAM,cAAc,GAAI,yDAM5B,mBAAmB,4CAgBrB,CAAC;AA4BF,eAAO,MAAM,WAAW,GAAI,iCAIzB;IACD,KAAK,CAAC,EAAE,WAAW,EAAE,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACpC,4CAeA,CAAC"}
@@ -1,10 +0,0 @@
1
- import { default as React } from 'react';
2
- export interface AbsFullscreenGradientBgProps {
3
- children?: React.ReactNode;
4
- zIndex: number;
5
- padding?: number;
6
- bgColor?: string;
7
- disableGradient?: boolean;
8
- }
9
- export declare const AbsFullscreenGradientBg: React.ForwardRefExoticComponent<AbsFullscreenGradientBgProps & React.RefAttributes<HTMLDivElement>>;
10
- //# sourceMappingURL=abs-fullscreen-gradient-bg.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"abs-fullscreen-gradient-bg.d.ts","sourceRoot":"","sources":["../../../src/components/bs-ui/abs-fullscreen-gradient-bg.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAE1C,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC3B;AAED,eAAO,MAAM,uBAAuB,qGAsBnC,CAAC"}
@@ -1,13 +0,0 @@
1
- import { FileUIPart } from 'ai';
2
- export interface AttachmentPartGroupProps {
3
- parts: FileUIPart[];
4
- className?: string;
5
- /** Size in pixels for each item, defaults to 102 */
6
- size?: number;
7
- /** Gap between items in pixels, defaults to 10 */
8
- gap?: number;
9
- /** Show only icons without file names */
10
- iconOnly?: boolean;
11
- }
12
- export declare const AttachmentPartGroup: ({ parts, className, size, gap, iconOnly, }: AttachmentPartGroupProps) => import("react/jsx-runtime").JSX.Element | null;
13
- //# sourceMappingURL=attachment-part-group.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment-part-group.d.ts","sourceRoot":"","sources":["../../../src/components/bs-ui/attachment-part-group.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEhC,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,GAAI,4CAMjC,wBAAwB,mDAU1B,CAAC"}
@@ -1,17 +0,0 @@
1
- /** File part from AI message */
2
- export interface FilePart {
3
- type: 'file';
4
- url: string;
5
- name?: string;
6
- mediaType?: string;
7
- }
8
- export interface AttachmentPartProps {
9
- part: FilePart;
10
- className?: string;
11
- /** Size in pixels (width & height), defaults to 102 */
12
- size?: number;
13
- /** Show only the icon without file name */
14
- iconOnly?: boolean;
15
- }
16
- export declare const AttachmentPart: ({ part, className, size, iconOnly }: AttachmentPartProps) => import("react/jsx-runtime").JSX.Element;
17
- //# sourceMappingURL=attachment-part.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment-part.d.ts","sourceRoot":"","sources":["../../../src/components/bs-ui/attachment-part.tsx"],"names":[],"mappings":"AAKA,gCAAgC;AAChC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAoID,eAAO,MAAM,cAAc,GAAI,qCAA2C,mBAAmB,4CAqB5F,CAAC"}
@@ -1,18 +0,0 @@
1
- export interface AttachmentItem {
2
- id: string;
3
- url: string;
4
- alt?: string;
5
- isLoading?: boolean;
6
- /** MIME type, used to decide whether to show image or icon */
7
- contentType?: string;
8
- }
9
- export interface AttachmentsPreviewerProps {
10
- attachments: AttachmentItem[];
11
- className?: string;
12
- imageSize?: number;
13
- gap?: number;
14
- onImageClick?: (attachment: AttachmentItem, index: number) => void;
15
- onImageRemove?: (attachment: AttachmentItem, index: number) => void;
16
- }
17
- export declare const AttachmentsPreviewer: ({ attachments, className, imageSize, gap, onImageClick, onImageRemove, }: AttachmentsPreviewerProps) => import("react/jsx-runtime").JSX.Element | null;
18
- //# sourceMappingURL=attachments-previewer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachments-previewer.d.ts","sourceRoot":"","sources":["../../../src/components/bs-ui/attachments-previewer.tsx"],"names":[],"mappings":"AAMA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrE;AA+ID,eAAO,MAAM,oBAAoB,GAAI,0EAOlC,yBAAyB,mDAoJ3B,CAAC"}
@@ -1,6 +0,0 @@
1
- import { ButtonHTMLAttributes, ReactNode } from 'react';
2
- export interface BaseButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
3
- icon?: ReactNode;
4
- }
5
- export declare const BaseButton: import('react').ForwardRefExoticComponent<BaseButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
6
- //# sourceMappingURL=base-button.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base-button.d.ts","sourceRoot":"","sources":["../../../src/components/bs-ui/base-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAI7D,MAAM,WAAW,eAAgB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC9E,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,eAAO,MAAM,UAAU,+GAsBtB,CAAC"}
@@ -1,11 +0,0 @@
1
- export declare const BorderColorAnimation: ({ children, width, height, padding, borderWidth, borderRadius, bgInset, style, }: {
2
- children?: React.ReactNode;
3
- width?: string | number;
4
- height?: string | number;
5
- borderWidth?: number;
6
- padding?: number;
7
- borderRadius?: number;
8
- bgInset?: number;
9
- style?: React.CSSProperties;
10
- }) => import("react/jsx-runtime").JSX.Element;
11
- //# sourceMappingURL=border-color-animation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"border-color-animation.d.ts","sourceRoot":"","sources":["../../../src/components/bs-ui/border-color-animation.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,GAAI,kFASlC;IACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,4CA+CA,CAAC"}
@@ -1,6 +0,0 @@
1
- export declare const BotAvatarAndName: ({ name, icon, variant, }: {
2
- name: string;
3
- icon?: React.ReactNode;
4
- variant?: "default" | "active";
5
- }) => import("react/jsx-runtime").JSX.Element;
6
- //# sourceMappingURL=bot-avatar-name.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bot-avatar-name.d.ts","sourceRoot":"","sources":["../../../src/components/bs-ui/bot-avatar-name.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,GAAI,0BAI9B;IACD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAChC,4CAcA,CAAC"}