@baishuyun/chat-sdk 0.0.12 → 0.0.14

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 (428) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/chat-sdk.js +59058 -0
  3. package/dist/chat-sdk.js.map +1 -0
  4. package/dist/chat-sdk.umd.cjs +663 -0
  5. package/dist/chat-sdk.umd.cjs.map +1 -0
  6. package/dist/chat.d.ts +5 -0
  7. package/dist/chat.d.ts.map +1 -0
  8. package/dist/components/biz-comp/FakeBotMsg.d.ts +8 -0
  9. package/dist/components/biz-comp/FakeBotMsg.d.ts.map +1 -0
  10. package/dist/components/biz-comp/FieldChecker.d.ts +18 -0
  11. package/dist/components/biz-comp/FieldChecker.d.ts.map +1 -0
  12. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts +16 -0
  13. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts.map +1 -0
  14. package/dist/components/biz-comp/FieldValueChecker.d.ts +16 -0
  15. package/dist/components/biz-comp/FieldValueChecker.d.ts.map +1 -0
  16. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts +22 -0
  17. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts.map +1 -0
  18. package/dist/components/biz-comp/chat-client.d.ts +13 -0
  19. package/dist/components/biz-comp/chat-client.d.ts.map +1 -0
  20. package/dist/components/biz-comp/chat-frame.d.ts +6 -0
  21. package/dist/components/biz-comp/chat-frame.d.ts.map +1 -0
  22. package/dist/components/biz-comp/conversation.d.ts +10 -0
  23. package/dist/components/biz-comp/conversation.d.ts.map +1 -0
  24. package/dist/components/biz-comp/dash-widget-icon.d.ts +7 -0
  25. package/dist/components/biz-comp/dash-widget-icon.d.ts.map +1 -0
  26. package/dist/components/biz-comp/dock-btn.d.ts +2 -0
  27. package/dist/components/biz-comp/dock-btn.d.ts.map +1 -0
  28. package/dist/components/biz-comp/error-boundary.d.ts +15 -0
  29. package/dist/components/biz-comp/error-boundary.d.ts.map +1 -0
  30. package/dist/components/biz-comp/error-msg.d.ts +4 -0
  31. package/dist/components/biz-comp/error-msg.d.ts.map +1 -0
  32. package/dist/components/biz-comp/field-icon.d.ts +5 -0
  33. package/dist/components/biz-comp/field-icon.d.ts.map +1 -0
  34. package/dist/components/biz-comp/highlight-msg.d.ts +4 -0
  35. package/dist/components/biz-comp/highlight-msg.d.ts.map +1 -0
  36. package/dist/components/biz-comp/markdown-part.d.ts +7 -0
  37. package/dist/components/biz-comp/markdown-part.d.ts.map +1 -0
  38. package/dist/components/biz-comp/markdown.d.ts +5 -0
  39. package/dist/components/biz-comp/markdown.d.ts.map +1 -0
  40. package/dist/components/biz-comp/message-content.d.ts +6 -0
  41. package/dist/components/biz-comp/message-content.d.ts.map +1 -0
  42. package/dist/components/biz-comp/messages.d.ts +3 -0
  43. package/dist/components/biz-comp/messages.d.ts.map +1 -0
  44. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts +9 -0
  45. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts.map +1 -0
  46. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts +7 -0
  47. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts.map +1 -0
  48. package/dist/components/biz-comp/multi-modal-input/index.d.ts +21 -0
  49. package/dist/components/biz-comp/multi-modal-input/index.d.ts.map +1 -0
  50. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts +12 -0
  51. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts.map +1 -0
  52. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts +36 -0
  53. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts.map +1 -0
  54. package/dist/components/biz-comp/opening-lines.d.ts +3 -0
  55. package/dist/components/biz-comp/opening-lines.d.ts.map +1 -0
  56. package/dist/components/biz-comp/preview-message-wrapper.d.ts +12 -0
  57. package/dist/components/biz-comp/preview-message-wrapper.d.ts.map +1 -0
  58. package/dist/components/biz-comp/preview-message.d.ts +13 -0
  59. package/dist/components/biz-comp/preview-message.d.ts.map +1 -0
  60. package/dist/components/biz-comp/response.d.ts +6 -0
  61. package/dist/components/biz-comp/response.d.ts.map +1 -0
  62. package/dist/components/biz-comp/suggestions.d.ts +8 -0
  63. package/dist/components/biz-comp/suggestions.d.ts.map +1 -0
  64. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts +10 -0
  65. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts.map +1 -0
  66. package/dist/components/bs-ui/attachment-part-group.d.ts +13 -0
  67. package/dist/components/bs-ui/attachment-part-group.d.ts.map +1 -0
  68. package/dist/components/bs-ui/attachment-part.d.ts +17 -0
  69. package/dist/components/bs-ui/attachment-part.d.ts.map +1 -0
  70. package/dist/components/bs-ui/attachments-previewer.d.ts +18 -0
  71. package/dist/components/bs-ui/attachments-previewer.d.ts.map +1 -0
  72. package/dist/components/bs-ui/base-button.d.ts +6 -0
  73. package/dist/components/bs-ui/base-button.d.ts.map +1 -0
  74. package/dist/components/bs-ui/border-color-animation.d.ts +11 -0
  75. package/dist/components/bs-ui/border-color-animation.d.ts.map +1 -0
  76. package/dist/components/bs-ui/bot-avatar-name.d.ts +6 -0
  77. package/dist/components/bs-ui/bot-avatar-name.d.ts.map +1 -0
  78. package/dist/components/bs-ui/bot-icon.d.ts +5 -0
  79. package/dist/components/bs-ui/bot-icon.d.ts.map +1 -0
  80. package/dist/components/bs-ui/bs-icons.d.ts +62 -0
  81. package/dist/components/bs-ui/bs-icons.d.ts.map +1 -0
  82. package/dist/components/bs-ui/card-field.d.ts +11 -0
  83. package/dist/components/bs-ui/card-field.d.ts.map +1 -0
  84. package/dist/components/bs-ui/card.d.ts +10 -0
  85. package/dist/components/bs-ui/card.d.ts.map +1 -0
  86. package/dist/components/bs-ui/chat-area-header.d.ts +13 -0
  87. package/dist/components/bs-ui/chat-area-header.d.ts.map +1 -0
  88. package/dist/components/bs-ui/circle-checker.d.ts +10 -0
  89. package/dist/components/bs-ui/circle-checker.d.ts.map +1 -0
  90. package/dist/components/bs-ui/collapsible-txt-msg.d.ts +11 -0
  91. package/dist/components/bs-ui/collapsible-txt-msg.d.ts.map +1 -0
  92. package/dist/components/bs-ui/confirm-dialog.d.ts +26 -0
  93. package/dist/components/bs-ui/confirm-dialog.d.ts.map +1 -0
  94. package/dist/components/bs-ui/fields-generating-indicator.d.ts +6 -0
  95. package/dist/components/bs-ui/fields-generating-indicator.d.ts.map +1 -0
  96. package/dist/components/bs-ui/fields-portal.d.ts +8 -0
  97. package/dist/components/bs-ui/fields-portal.d.ts.map +1 -0
  98. package/dist/components/bs-ui/fields-previewer.d.ts +18 -0
  99. package/dist/components/bs-ui/fields-previewer.d.ts.map +1 -0
  100. package/dist/components/bs-ui/font-icon.d.ts +6 -0
  101. package/dist/components/bs-ui/font-icon.d.ts.map +1 -0
  102. package/dist/components/bs-ui/form-info-editor.d.ts +38 -0
  103. package/dist/components/bs-ui/form-info-editor.d.ts.map +1 -0
  104. package/dist/components/bs-ui/formula-tag.d.ts +8 -0
  105. package/dist/components/bs-ui/formula-tag.d.ts.map +1 -0
  106. package/dist/components/bs-ui/generate-animation.d.ts +4 -0
  107. package/dist/components/bs-ui/generate-animation.d.ts.map +1 -0
  108. package/dist/components/bs-ui/icon-btn.d.ts +9 -0
  109. package/dist/components/bs-ui/icon-btn.d.ts.map +1 -0
  110. package/dist/components/bs-ui/img-part.d.ts +9 -0
  111. package/dist/components/bs-ui/img-part.d.ts.map +1 -0
  112. package/dist/components/bs-ui/line-checker.d.ts +18 -0
  113. package/dist/components/bs-ui/line-checker.d.ts.map +1 -0
  114. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts +10 -0
  115. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts.map +1 -0
  116. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts +8 -0
  117. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts.map +1 -0
  118. package/dist/components/bs-ui/number-part.d.ts +9 -0
  119. package/dist/components/bs-ui/number-part.d.ts.map +1 -0
  120. package/dist/components/bs-ui/option-item.d.ts +9 -0
  121. package/dist/components/bs-ui/option-item.d.ts.map +1 -0
  122. package/dist/components/bs-ui/previewer-header.d.ts +18 -0
  123. package/dist/components/bs-ui/previewer-header.d.ts.map +1 -0
  124. package/dist/components/bs-ui/primary-confirm-btn.d.ts +10 -0
  125. package/dist/components/bs-ui/primary-confirm-btn.d.ts.map +1 -0
  126. package/dist/components/bs-ui/primary-entry-btn.d.ts +9 -0
  127. package/dist/components/bs-ui/primary-entry-btn.d.ts.map +1 -0
  128. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts +6 -0
  129. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts.map +1 -0
  130. package/dist/components/bs-ui/split-line.d.ts +5 -0
  131. package/dist/components/bs-ui/split-line.d.ts.map +1 -0
  132. package/dist/components/bs-ui/square-checker.d.ts +11 -0
  133. package/dist/components/bs-ui/tab-radio-group.d.ts +19 -0
  134. package/dist/components/bs-ui/tab-radio-group.d.ts.map +1 -0
  135. package/dist/components/bs-ui/tooltip.d.ts +6 -0
  136. package/dist/components/bs-ui/tooltip.d.ts.map +1 -0
  137. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts +6 -0
  138. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts.map +1 -0
  139. package/dist/components/bs-ui/warning-msg.d.ts +6 -0
  140. package/dist/components/bs-ui/warning-msg.d.ts.map +1 -0
  141. package/dist/components/ui/badge.d.ts +10 -0
  142. package/dist/components/ui/badge.d.ts.map +1 -0
  143. package/dist/components/ui/button.d.ts +12 -0
  144. package/dist/components/ui/button.d.ts.map +1 -0
  145. package/dist/components/ui/card.d.ts +9 -0
  146. package/dist/components/ui/card.d.ts.map +1 -0
  147. package/dist/components/ui/checkbox.d.ts +5 -0
  148. package/dist/components/ui/checkbox.d.ts.map +1 -0
  149. package/dist/components/ui/collapsible.d.ts +6 -0
  150. package/dist/components/ui/collapsible.d.ts.map +1 -0
  151. package/dist/components/ui/dialog.d.ts +24 -0
  152. package/dist/components/ui/dialog.d.ts.map +1 -0
  153. package/dist/components/ui/dropdown-menu.d.ts +28 -0
  154. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  155. package/dist/components/ui/icons.d.ts +176 -0
  156. package/dist/components/ui/icons.d.ts.map +1 -0
  157. package/dist/components/ui/input-group.d.ts +17 -0
  158. package/dist/components/ui/input-group.d.ts.map +1 -0
  159. package/dist/components/ui/input.d.ts +4 -0
  160. package/dist/components/ui/input.d.ts.map +1 -0
  161. package/dist/components/ui/label.d.ts +6 -0
  162. package/dist/components/ui/label.d.ts.map +1 -0
  163. package/dist/components/ui/one-time-click-btn.d.ts +4 -0
  164. package/dist/components/ui/one-time-click-btn.d.ts.map +1 -0
  165. package/dist/components/ui/select.d.ts +14 -0
  166. package/dist/components/ui/select.d.ts.map +1 -0
  167. package/dist/components/ui/spinner.d.ts +3 -0
  168. package/dist/components/ui/spinner.d.ts.map +1 -0
  169. package/dist/components/ui/tabs.d.ts +8 -0
  170. package/dist/components/ui/tabs.d.ts.map +1 -0
  171. package/dist/components/ui/textarea.d.ts +4 -0
  172. package/dist/components/ui/textarea.d.ts.map +1 -0
  173. package/dist/components/ui/tooltip.d.ts +13 -0
  174. package/dist/components/ui/tooltip.d.ts.map +1 -0
  175. package/dist/components/web-comp/fields-previewer-web-component.d.ts +60 -0
  176. package/dist/components/web-comp/fields-previewer-web-component.d.ts.map +1 -0
  177. package/dist/const/index.d.ts +5 -0
  178. package/dist/const/index.d.ts.map +1 -0
  179. package/dist/const/ui.d.ts +5 -0
  180. package/dist/const/ui.d.ts.map +1 -0
  181. package/dist/hooks/use-chat-preference.d.ts +3 -0
  182. package/dist/hooks/use-chat-preference.d.ts.map +1 -0
  183. package/dist/hooks/use-draggable.d.ts +24 -0
  184. package/dist/hooks/use-draggable.d.ts.map +1 -0
  185. package/dist/hooks/use-evt-bus.d.ts +2 -0
  186. package/dist/hooks/use-evt-bus.d.ts.map +1 -0
  187. package/dist/hooks/use-evt.d.ts +3 -0
  188. package/dist/hooks/use-evt.d.ts.map +1 -0
  189. package/dist/hooks/use-frame-mode.d.ts +15 -0
  190. package/dist/hooks/use-frame-mode.d.ts.map +1 -0
  191. package/dist/hooks/use-merged-chat.d.ts +7 -0
  192. package/dist/hooks/use-merged-chat.d.ts.map +1 -0
  193. package/dist/hooks/use-msg-status-broadcast.d.ts +3 -0
  194. package/dist/hooks/use-msg-status-broadcast.d.ts.map +1 -0
  195. package/dist/hooks/use-plugin-component.d.ts +5 -0
  196. package/dist/hooks/use-plugin-component.d.ts.map +1 -0
  197. package/dist/hooks/use-plugin-ctx.d.ts +3 -0
  198. package/dist/hooks/use-plugin-ctx.d.ts.map +1 -0
  199. package/dist/hooks/use-plugin-custom-components.d.ts +5 -0
  200. package/dist/hooks/use-plugin-custom-components.d.ts.map +1 -0
  201. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts +5 -0
  202. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts.map +1 -0
  203. package/dist/hooks/use-plugin-list.d.ts +2 -0
  204. package/dist/hooks/use-plugin-list.d.ts.map +1 -0
  205. package/dist/hooks/use-plugin.d.ts +2 -0
  206. package/dist/hooks/use-plugin.d.ts.map +1 -0
  207. package/dist/hooks/use-scroll-to-bottom.d.ts +9 -0
  208. package/dist/hooks/use-scroll-to-bottom.d.ts.map +1 -0
  209. package/dist/hooks/use-shadow.d.ts +25 -0
  210. package/dist/hooks/use-shadow.d.ts.map +1 -0
  211. package/dist/hooks/use-toast.d.ts +3 -0
  212. package/dist/index.css +1 -0
  213. package/dist/index.d.ts +7 -0
  214. package/dist/index.d.ts.map +1 -0
  215. package/dist/lib/clone.d.ts +32 -0
  216. package/dist/lib/clone.d.ts.map +1 -0
  217. package/dist/lib/event-emitter.d.ts +39 -0
  218. package/dist/lib/event-emitter.d.ts.map +1 -0
  219. package/dist/lib/readonly.d.ts +14 -0
  220. package/dist/lib/readonly.d.ts.map +1 -0
  221. package/dist/lib/utils.d.ts +40 -0
  222. package/dist/lib/utils.d.ts.map +1 -0
  223. package/dist/plugins/form-builder-base-plugin/const.d.ts +3 -0
  224. package/dist/plugins/form-builder-base-plugin/const.d.ts.map +1 -0
  225. package/dist/plugins/form-builder-base-plugin/index.d.ts +7 -0
  226. package/dist/plugins/form-builder-base-plugin/index.d.ts.map +1 -0
  227. package/dist/plugins/form-builder-base-plugin/types.d.ts +12 -0
  228. package/dist/plugins/form-builder-base-plugin/types.d.ts.map +1 -0
  229. package/dist/plugins/form-builder-plugin/components/create-form-confirm.d.ts +7 -0
  230. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts +3 -0
  231. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts.map +1 -0
  232. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts +3 -0
  233. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts.map +0 -0
  234. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts +3 -0
  235. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts.map +0 -0
  236. package/dist/plugins/form-builder-plugin/const/index.d.ts +12 -0
  237. package/dist/plugins/form-builder-plugin/const/index.d.ts.map +0 -0
  238. package/dist/plugins/form-builder-plugin/hooks/use-fields-confirmed.d.ts +2 -0
  239. package/dist/plugins/form-builder-plugin/index.d.ts +24 -0
  240. package/dist/plugins/form-builder-plugin/index.d.ts.map +1 -0
  241. package/dist/plugins/form-builder-plugin/utils/index.d.ts +51 -0
  242. package/dist/plugins/form-builder-plugin/utils/index.d.ts.map +1 -0
  243. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts +26 -0
  244. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts.map +1 -0
  245. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts +3 -0
  246. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts.map +1 -0
  247. package/dist/plugins/form-filling-plugin/components/avatar.d.ts +5 -0
  248. package/dist/plugins/form-filling-plugin/components/avatar.d.ts.map +1 -0
  249. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts +14 -0
  250. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts.map +1 -0
  251. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts +3 -0
  252. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts.map +1 -0
  253. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts +2 -0
  254. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts.map +1 -0
  255. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts +3 -0
  256. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts.map +1 -0
  257. package/dist/plugins/form-filling-plugin/const.d.ts +615 -0
  258. package/dist/plugins/form-filling-plugin/const.d.ts.map +1 -0
  259. package/dist/plugins/form-filling-plugin/index.d.ts +19 -0
  260. package/dist/plugins/form-filling-plugin/index.d.ts.map +1 -0
  261. package/dist/plugins/form-filling-plugin/types.d.ts +10 -0
  262. package/dist/plugins/form-filling-plugin/types.d.ts.map +1 -0
  263. package/dist/plugins/form-filling-plugin/utils.d.ts +6 -0
  264. package/dist/plugins/form-filling-plugin/utils.d.ts.map +1 -0
  265. package/dist/plugins/general-model-form-builder-plugin/components/confirmer.d.ts +9 -0
  266. package/dist/plugins/general-model-form-builder-plugin/components/confirmer.d.ts.map +1 -0
  267. package/dist/plugins/general-model-form-builder-plugin/components/ghost-evt-dispatcher.d.ts +10 -0
  268. package/dist/plugins/general-model-form-builder-plugin/components/ghost-evt-dispatcher.d.ts.map +1 -0
  269. package/dist/plugins/general-model-form-builder-plugin/components/msg-part.d.ts +3 -0
  270. package/dist/plugins/general-model-form-builder-plugin/components/msg-part.d.ts.map +1 -0
  271. package/dist/plugins/general-model-form-builder-plugin/components/new-confirmer.d.ts +10 -0
  272. package/dist/plugins/general-model-form-builder-plugin/components/new-confirmer.d.ts.map +1 -0
  273. package/dist/plugins/general-model-form-builder-plugin/const.d.ts +3 -0
  274. package/dist/plugins/general-model-form-builder-plugin/const.d.ts.map +1 -0
  275. package/dist/plugins/general-model-form-builder-plugin/index.d.ts +9 -0
  276. package/dist/plugins/general-model-form-builder-plugin/index.d.ts.map +1 -0
  277. package/dist/plugins/general-model-form-builder-plugin/types.d.ts +3 -0
  278. package/dist/plugins/general-model-form-builder-plugin/types.d.ts.map +1 -0
  279. package/dist/plugins/mcp-form-builder-plugin/components/create-form-confirm.d.ts +7 -0
  280. package/dist/plugins/mcp-form-builder-plugin/components/create-form-confirm.d.ts.map +1 -0
  281. package/dist/plugins/mcp-form-builder-plugin/components/entry-btn.d.ts +3 -0
  282. package/dist/plugins/mcp-form-builder-plugin/components/entry-btn.d.ts.map +1 -0
  283. package/dist/plugins/mcp-form-builder-plugin/components/follow-up.d.ts +3 -0
  284. package/dist/plugins/mcp-form-builder-plugin/components/follow-up.d.ts.map +1 -0
  285. package/dist/plugins/mcp-form-builder-plugin/components/msg-part.d.ts +3 -0
  286. package/dist/plugins/mcp-form-builder-plugin/components/msg-part.d.ts.map +1 -0
  287. package/dist/plugins/mcp-form-builder-plugin/const/index.d.ts +12 -0
  288. package/dist/plugins/mcp-form-builder-plugin/const/index.d.ts.map +1 -0
  289. package/dist/plugins/mcp-form-builder-plugin/hooks/index.d.ts +1 -0
  290. package/dist/plugins/mcp-form-builder-plugin/hooks/index.d.ts.map +1 -0
  291. package/dist/plugins/mcp-form-builder-plugin/hooks/use-fields-confirmed.d.ts +2 -0
  292. package/dist/plugins/mcp-form-builder-plugin/hooks/use-fields-confirmed.d.ts.map +1 -0
  293. package/dist/plugins/mcp-form-builder-plugin/index.d.ts +23 -0
  294. package/dist/plugins/mcp-form-builder-plugin/index.d.ts.map +1 -0
  295. package/dist/plugins/mcp-form-builder-plugin/types.d.ts +17 -0
  296. package/dist/plugins/mcp-form-builder-plugin/types.d.ts.map +1 -0
  297. package/dist/plugins/mcp-form-builder-plugin/utils/index.d.ts +51 -0
  298. package/dist/plugins/mcp-form-builder-plugin/utils/index.d.ts.map +1 -0
  299. package/dist/plugins/report-query-plugin/components/avatar.d.ts +5 -0
  300. package/dist/plugins/report-query-plugin/components/avatar.d.ts.map +1 -0
  301. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts +3 -0
  302. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts.map +1 -0
  303. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts +3 -0
  304. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts.map +1 -0
  305. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts +2 -0
  306. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts.map +1 -0
  307. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts +3 -0
  308. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts.map +1 -0
  309. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts +18 -0
  310. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts.map +1 -0
  311. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts +4 -0
  312. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts.map +1 -0
  313. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts +8 -0
  314. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts.map +1 -0
  315. package/dist/plugins/report-query-plugin/const.d.ts +2 -0
  316. package/dist/plugins/report-query-plugin/const.d.ts.map +1 -0
  317. package/dist/plugins/report-query-plugin/index.d.ts +15 -0
  318. package/dist/plugins/report-query-plugin/index.d.ts.map +1 -0
  319. package/dist/plugins/report-query-plugin/types.d.ts +13 -0
  320. package/dist/plugins/report-query-plugin/types.d.ts.map +1 -0
  321. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts +17 -0
  322. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts.map +1 -0
  323. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts +30 -0
  324. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts.map +1 -0
  325. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts +60 -0
  326. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts.map +1 -0
  327. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts +31 -0
  328. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts.map +1 -0
  329. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts +208 -0
  330. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts.map +1 -0
  331. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts +4 -0
  332. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts.map +1 -0
  333. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts +4 -0
  334. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts.map +1 -0
  335. package/dist/plugins/report-query-plugin/utils/index.d.ts +5 -0
  336. package/dist/plugins/report-query-plugin/utils/index.d.ts.map +1 -0
  337. package/dist/sdk.impl.d.ts +31 -0
  338. package/dist/sdk.impl.d.ts.map +1 -0
  339. package/dist/store/context.d.ts +12 -0
  340. package/dist/store/context.d.ts.map +1 -0
  341. package/dist/store/index.d.ts +14 -0
  342. package/dist/store/index.d.ts.map +1 -0
  343. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts +17 -0
  344. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts.map +1 -0
  345. package/dist/stories/AttachmentPart.stories.d.ts +23 -0
  346. package/dist/stories/AttachmentPart.stories.d.ts.map +1 -0
  347. package/dist/stories/AttachmentPartGroup.stories.d.ts +21 -0
  348. package/dist/stories/AttachmentPartGroup.stories.d.ts.map +1 -0
  349. package/dist/stories/AttachmentsPreviewer.stories.d.ts +20 -0
  350. package/dist/stories/AttachmentsPreviewer.stories.d.ts.map +1 -0
  351. package/dist/stories/BaseButton.stories.d.ts +18 -0
  352. package/dist/stories/BaseButton.stories.d.ts.map +1 -0
  353. package/dist/stories/BorderColorAnimation.stories.d.ts +26 -0
  354. package/dist/stories/BorderColorAnimation.stories.d.ts.map +1 -0
  355. package/dist/stories/BotAvatarAndName.stories.d.ts +18 -0
  356. package/dist/stories/BotAvatarAndName.stories.d.ts.map +1 -0
  357. package/dist/stories/BotIcon.stories.d.ts +17 -0
  358. package/dist/stories/BotIcon.stories.d.ts.map +1 -0
  359. package/dist/stories/BsTooltip.stories.d.ts +7 -0
  360. package/dist/stories/BsTooltip.stories.d.ts.map +1 -0
  361. package/dist/stories/Card.stories.d.ts +14 -0
  362. package/dist/stories/Card.stories.d.ts.map +1 -0
  363. package/dist/stories/CardField.stories.d.ts +13 -0
  364. package/dist/stories/CardField.stories.d.ts.map +1 -0
  365. package/dist/stories/ChatAreaHeader.stories.d.ts +14 -0
  366. package/dist/stories/ChatAreaHeader.stories.d.ts.map +1 -0
  367. package/dist/stories/CircleChecker.stories.d.ts +21 -0
  368. package/dist/stories/CircleChecker.stories.d.ts.map +1 -0
  369. package/dist/stories/CollapsibleTextMsg.stories.d.ts +16 -0
  370. package/dist/stories/CollapsibleTextMsg.stories.d.ts.map +1 -0
  371. package/dist/stories/ConfirmDialog.stories.d.ts +61 -0
  372. package/dist/stories/ConfirmDialog.stories.d.ts.map +1 -0
  373. package/dist/stories/DashWidgetIcon.stories.d.ts +13 -0
  374. package/dist/stories/DashWidgetIcon.stories.d.ts.map +1 -0
  375. package/dist/stories/FormInfoEditor.stories.d.ts +15 -0
  376. package/dist/stories/FormInfoEditor.stories.d.ts.map +1 -0
  377. package/dist/stories/FormulaField.stories.d.ts +24 -0
  378. package/dist/stories/FormulaField.stories.d.ts.map +1 -0
  379. package/dist/stories/FormulaTag.stories.d.ts +37 -0
  380. package/dist/stories/FormulaTag.stories.d.ts.map +1 -0
  381. package/dist/stories/GenerateAnimation.stories.d.ts +16 -0
  382. package/dist/stories/GenerateAnimation.stories.d.ts.map +1 -0
  383. package/dist/stories/IconBtn.stories.d.ts +15 -0
  384. package/dist/stories/IconBtn.stories.d.ts.map +1 -0
  385. package/dist/stories/IconLib.d.ts +12 -0
  386. package/dist/stories/IconLib.d.ts.map +1 -0
  387. package/dist/stories/Icons.stories.d.ts +24 -0
  388. package/dist/stories/Icons.stories.d.ts.map +1 -0
  389. package/dist/stories/ImgMsgPart.stories.d.ts +20 -0
  390. package/dist/stories/ImgMsgPart.stories.d.ts.map +1 -0
  391. package/dist/stories/LineChecker.stories.d.ts +23 -0
  392. package/dist/stories/LineChecker.stories.d.ts.map +1 -0
  393. package/dist/stories/LinearGradientBorderBtn.stories.d.ts +22 -0
  394. package/dist/stories/LinearGradientBorderBtn.stories.d.ts.map +1 -0
  395. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts +23 -0
  396. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts.map +1 -0
  397. package/dist/stories/NumbersMsgPart.stories.d.ts +19 -0
  398. package/dist/stories/NumbersMsgPart.stories.d.ts.map +1 -0
  399. package/dist/stories/OptionItem.stories.d.ts +20 -0
  400. package/dist/stories/OptionItem.stories.d.ts.map +1 -0
  401. package/dist/stories/PreviewerHeader.stories.d.ts +10 -0
  402. package/dist/stories/PreviewerHeader.stories.d.ts.map +1 -0
  403. package/dist/stories/PrimaryConfirmBtn.stories.d.ts +19 -0
  404. package/dist/stories/PrimaryConfirmBtn.stories.d.ts.map +1 -0
  405. package/dist/stories/PrimaryEntryBtn.stories.d.ts +26 -0
  406. package/dist/stories/PrimaryEntryBtn.stories.d.ts.map +1 -0
  407. package/dist/stories/ScrollToBottom.stories.d.ts +15 -0
  408. package/dist/stories/ScrollToBottom.stories.d.ts.map +1 -0
  409. package/dist/stories/SplitLine.stories.d.ts +9 -0
  410. package/dist/stories/SplitLine.stories.d.ts.map +1 -0
  411. package/dist/stories/TabRadioGroup.stories.d.ts +18 -0
  412. package/dist/stories/TabRadioGroup.stories.d.ts.map +1 -0
  413. package/dist/stories/UserTextMsgBubble.stories.d.ts +14 -0
  414. package/dist/stories/UserTextMsgBubble.stories.d.ts.map +1 -0
  415. package/dist/stories/WarningMessage.stories.d.ts +16 -0
  416. package/dist/stories/WarningMessage.stories.d.ts.map +1 -0
  417. package/dist/stories/fields-generating.stories.d.ts +20 -0
  418. package/dist/stories/fields-generating.stories.d.ts.map +1 -0
  419. package/dist/stories/fields-previewer.stories.d.ts +19 -0
  420. package/dist/stories/fields-previewer.stories.d.ts.map +1 -0
  421. package/package.json +4 -4
  422. package/src/components/biz-comp/multi-modal-input/clear-btn.tsx +1 -0
  423. package/src/components/biz-comp/multi-modal-input/index.tsx +33 -3
  424. package/src/components/bs-ui/bs-icons.tsx +11 -41
  425. package/src/hooks/use-toast.ts +16 -0
  426. package/src/plugins/form-builder-base-plugin/const.ts +3 -0
  427. package/src/plugins/form-builder-plugin/components/create-form-confirm.tsx +14 -1
  428. package/src/plugins/report-query-plugin/components/query-opening-lines.tsx +19 -19
@@ -0,0 +1,20 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ children, loading, }: {
5
+ children?: React.ReactNode;
6
+ loading?: boolean;
7
+ }) => import("react/jsx-runtime").JSX.Element;
8
+ tags: string[];
9
+ parameters: {
10
+ layout: string;
11
+ };
12
+ args: {};
13
+ };
14
+ export default meta;
15
+ type Story = StoryObj<typeof meta>;
16
+ export declare const Base: Story;
17
+ export declare const CustomText: Story;
18
+ export declare const LongText: Story;
19
+ export declare const ShortText: Story;
20
+ //# sourceMappingURL=fields-generating.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields-generating.stories.d.ts","sourceRoot":"","sources":["../../src/stories/fields-generating.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,QAAA,MAAM,IAAI;;;gBAqCuc,CAAC;eAA4B,CAAC;;;;;;;CA3B7b,CAAC;AAEnD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KAElB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAIxB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAKtB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAIvB,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { StoryObj } from '@storybook/react-vite';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import('react').ForwardRefExoticComponent<import('../components/bs-ui/fields-previewer').FieldsPreviewerProps & import('react').RefAttributes<HTMLDivElement>>;
5
+ tags: string[];
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ args: {};
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Base: Story;
14
+ export declare const WithSideSpace: Story;
15
+ export declare const streaming: Story;
16
+ export declare const Empty: Story;
17
+ export declare const Fullscreen: Story;
18
+ export declare const DataVariant: Story;
19
+ //# sourceMappingURL=fields-previewer.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields-previewer.stories.d.ts","sourceRoot":"","sources":["../../src/stories/fields-previewer.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAI5D,QAAA,MAAM,IAAI;;;;;;;;CAU8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,IAAI,EAAE,KAMlB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAO3B,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAQnB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KASxB,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAQzB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baishuyun/chat-sdk",
3
- "version": "0.0.12",
3
+ "version": "0.0.14",
4
4
  "description": "",
5
5
  "main": "src/index.jsx",
6
6
  "module": "dist/chat-sdk.js",
@@ -35,7 +35,7 @@
35
35
  "tw-animate-css": "^1.4.0",
36
36
  "use-stick-to-bottom": "^1.1.1",
37
37
  "zustand": "^5.0.8",
38
- "@baishuyun/agents": "0.0.12"
38
+ "@baishuyun/agents": "0.0.14"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@storybook/react-vite": "^10.1.11",
@@ -51,8 +51,8 @@
51
51
  "tailwindcss": "^4.1.17",
52
52
  "vite": "^5.1.4",
53
53
  "vite-plugin-dts": "^4.5.4",
54
- "@baishuyun/types": "1.0.12",
55
- "@baishuyun/typescript-config": "0.0.12"
54
+ "@baishuyun/typescript-config": "0.0.14",
55
+ "@baishuyun/types": "1.0.14"
56
56
  },
57
57
  "exports": {
58
58
  ".": {
@@ -32,6 +32,7 @@ export const ClearBtn = ({
32
32
  return (
33
33
  <IconBtn
34
34
  rounded
35
+ tooltip="删除历史消息"
35
36
  icon={<TrashIcon />}
36
37
  disabled={status !== 'ready'}
37
38
  onClick={(event: any) => {
@@ -1,5 +1,5 @@
1
1
  import type { UseChatHelpers } from '@ai-sdk/react';
2
- import type { UIMessage } from 'ai';
2
+ import { type UIMessage } from 'ai';
3
3
  import equal from 'fast-deep-equal';
4
4
  import {
5
5
  type ChangeEvent,
@@ -27,6 +27,7 @@ import { ClearBtn } from './clear-btn';
27
27
  import { IconBtn } from '@/components/bs-ui/icon-btn';
28
28
  import { DividerIcon, PlaneIcon, UploadIcon } from '@/components/bs-ui/bs-icons';
29
29
  import { useChatPreference } from '@/hooks/use-chat-preference';
30
+ import { useToast } from '@/hooks/use-toast';
30
31
 
31
32
  function PureMultimodalInput({
32
33
  chatId,
@@ -93,6 +94,9 @@ function PureMultimodalInput({
93
94
  const { exec: onBeforeSendMsg } = usePluginLifeCycleChainRunner('onBeforeMessageSend');
94
95
 
95
96
  const placeholder = useChatPreference()?.placeholder || 'Send a message...';
97
+ const maxCount = useChatPreference()?.acceptAttachmentMaxCount || 5;
98
+ const maxSizeMb = useChatPreference()?.acceptAttachmentMaxSizeMb || 100;
99
+ const tooltip = `上传附件(仅识别文字),最多${maxCount}个,单个文件最大${maxSizeMb}MB`;
96
100
 
97
101
  const submitForm = useCallback(() => {
98
102
  const finalMsg = onBeforeSendMsg({
@@ -129,6 +133,8 @@ function PureMultimodalInput({
129
133
  setInput('');
130
134
  }, [input, setInput, attachments, sendMessage, setAttachments, chatId, resetHeight]);
131
135
 
136
+ const toast = useToast();
137
+
132
138
  const uploadFile = useCallback(async (file: File) => {
133
139
  const formData = new FormData();
134
140
  formData.append('file', file);
@@ -154,6 +160,27 @@ function PureMultimodalInput({
154
160
  const handleFileChange = useCallback(
155
161
  async (event: ChangeEvent<HTMLInputElement>) => {
156
162
  const files = Array.from(event.target.files || []);
163
+ if (files.length === 0) {
164
+ return;
165
+ }
166
+
167
+ if (attachments.length + files.length >= maxCount) {
168
+ toast({
169
+ type: 'error',
170
+ msg: `最多只能上传${maxCount}个附件`,
171
+ });
172
+ return;
173
+ }
174
+
175
+ // check file size
176
+ const hasOversizeFile = files.some((file) => file.size > maxSizeMb * 1024 * 1024);
177
+ if (hasOversizeFile) {
178
+ toast({
179
+ type: 'error',
180
+ msg: `单个文件大小不能超过${maxSizeMb}MB`,
181
+ });
182
+ return;
183
+ }
157
184
 
158
185
  setUploadQueue(files.map((file) => file.name));
159
186
 
@@ -176,7 +203,7 @@ function PureMultimodalInput({
176
203
  setUploadQueue([]);
177
204
  }
178
205
  },
179
- [setAttachments, uploadFile]
206
+ [setAttachments, uploadFile, attachments]
180
207
  );
181
208
 
182
209
  const handlePaste = useCallback(
@@ -302,7 +329,7 @@ function PureMultimodalInput({
302
329
  <div></div>
303
330
  <PromptInputTools className="gap-2.5">
304
331
  {hasAcceptableFileType ? (
305
- <AttachmentsButton fileInputRef={fileInputRef} status={status} />
332
+ <AttachmentsButton fileInputRef={fileInputRef} status={status} tooltip={tooltip} />
306
333
  ) : null}
307
334
  <ClearBtn setMessages={setMessages} status={status} />
308
335
  <DividerIcon />
@@ -342,12 +369,15 @@ export const MultimodalInput = memo(PureMultimodalInput, (prevProps, nextProps)
342
369
  function PureAttachmentsButton({
343
370
  fileInputRef,
344
371
  status,
372
+ tooltip,
345
373
  }: {
346
374
  fileInputRef: React.MutableRefObject<HTMLInputElement | null>;
347
375
  status: UseChatHelpers<ChatMessage>['status'];
376
+ tooltip?: string;
348
377
  }) {
349
378
  return (
350
379
  <IconBtn
380
+ tooltip={tooltip}
351
381
  rounded
352
382
  icon={<UploadIcon />}
353
383
  disabled={status !== 'ready'}
@@ -1,5 +1,6 @@
1
1
  import { transCls } from '@/const/ui';
2
2
  import { cn } from '@/lib/utils';
3
+ import { FontIcon } from './font-icon';
3
4
 
4
5
  export const DockIcon = () => (
5
6
  <svg
@@ -199,47 +200,16 @@ export const ExportIcon = () => (
199
200
  );
200
201
 
201
202
  export const TrashIcon = () => (
202
- <svg
203
- xmlns="http://www.w3.org/2000/svg"
204
- width="16"
205
- height="16"
206
- viewBox="0 0 16 16"
207
- fill="currentColor"
208
- >
209
- <path d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z" />
210
- <path
211
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
212
- fill-opacity="0.2"
213
- />
214
- <path
215
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
216
- fill-opacity="0.2"
217
- />
218
- <path
219
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
220
- fill-opacity="0.2"
221
- />
222
- <path
223
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
224
- fill-opacity="0.2"
225
- />
226
- <path
227
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
228
- fill-opacity="0.2"
229
- />
230
- <path
231
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
232
- fill-opacity="0.2"
233
- />
234
- <path
235
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
236
- fill-opacity="0.2"
237
- />
238
- <path
239
- d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z"
240
- fill-opacity="0.2"
241
- />
242
- </svg>
203
+ <FontIcon code="&#xe85f;"></FontIcon>
204
+ // <svg
205
+ // xmlns="http://www.w3.org/2000/svg"
206
+ // width="16"
207
+ // height="16"
208
+ // viewBox="0 0 16 16"
209
+ // fill="currentColor"
210
+ // >
211
+ // <path d="M9.99974 1C10.3726 1.00002 10.732 1.13413 11.008 1.37618C11.284 1.61824 11.4567 1.95088 11.4925 2.30924L11.4995 2.44828V4.37931H14.4991C14.6241 4.37909 14.7446 4.42404 14.8369 4.50532C14.9292 4.5866 14.9867 4.6983 14.998 4.81845C15.0092 4.93859 14.9735 5.05846 14.8979 5.15446C14.8222 5.25045 14.7121 5.31561 14.5891 5.3371L14.4991 5.34483H13.9292L12.4934 14.5887C12.4781 14.6881 12.4311 14.7804 12.3588 14.8527C12.2866 14.9251 12.1928 14.9739 12.0905 14.9923L11.9995 15H4.00053C3.89643 15.0001 3.7949 14.9687 3.71012 14.9104C3.62534 14.8521 3.56153 14.7697 3.52759 14.6746L3.50659 14.5887L2.06978 5.34483H1.50086C1.37593 5.34505 1.25544 5.3001 1.16312 5.21882C1.0708 5.13754 1.01333 5.02583 1.00205 4.90569C0.990758 4.78555 1.02646 4.66567 1.10213 4.56968C1.17779 4.47369 1.28794 4.40853 1.41087 4.38703L1.50086 4.37931H4.50046V2.44828C4.50048 2.08825 4.63936 1.74114 4.89003 1.47463C5.14069 1.20812 5.48517 1.04132 5.85628 1.00676L6.00026 1H9.99974ZM12.9184 5.34483H3.08065L4.43047 14.0345H11.5685L12.9184 5.34483ZM5.96427 5.82855C6.081 5.82046 6.19697 5.85217 6.29198 5.91815C6.38698 5.98414 6.45501 6.08022 6.4842 6.18966L6.4992 6.27655L6.99913 13.0352C7.00801 13.1554 6.97 13.2744 6.89259 13.369C6.81518 13.4635 6.70395 13.5266 6.58078 13.546C6.4576 13.5653 6.33138 13.5395 6.22692 13.4736C6.12247 13.4076 6.04732 13.3064 6.01626 13.1897L6.00026 13.1028L5.50033 6.34414C5.49098 6.2165 5.53449 6.0905 5.62129 5.99382C5.7081 5.89715 5.8311 5.8377 5.96327 5.82855H5.96427ZM10.0357 5.82855C10.1524 5.83668 10.2623 5.88402 10.3465 5.96234C10.4308 6.04067 10.4839 6.14501 10.4967 6.25724L10.4987 6.34414L9.99874 13.1028C9.99035 13.2232 9.93551 13.3363 9.84502 13.4197C9.75454 13.503 9.63499 13.5506 9.50997 13.553C9.38494 13.5555 9.26351 13.5126 9.16963 13.4328C9.07576 13.353 9.01626 13.2421 9.00287 13.1221L8.99987 13.0352L9.4998 6.27655C9.50437 6.21318 9.52184 6.15131 9.55121 6.09447C9.58058 6.03764 9.62128 5.98696 9.67098 5.94534C9.72067 5.90372 9.77838 5.87198 9.8408 5.85194C9.90322 5.8319 9.96912 5.82395 10.0347 5.82855H10.0357ZM9.99974 1.96552H6.00026C5.88325 1.96548 5.76994 2.00508 5.68005 2.07741C5.59016 2.14974 5.52939 2.25023 5.50833 2.36138L5.50033 2.44828V4.37931H10.4997V2.44828C10.4997 2.33529 10.4587 2.22586 10.3838 2.13906C10.3089 2.05226 10.2048 1.99358 10.0897 1.97324L9.99974 1.96552Z" />
212
+ // </svg>
243
213
  );
244
214
 
245
215
  export const AnalysisIcon = () => (
@@ -0,0 +1,16 @@
1
+ import { useCallback } from 'react';
2
+ import { useEvtBus } from './use-evt-bus';
3
+ import { IToastDetail } from '@baishuyun/types';
4
+
5
+ export const useToast = () => {
6
+ const evtBus = useEvtBus();
7
+
8
+ const toast = useCallback(
9
+ (detail: IToastDetail) => {
10
+ evtBus.emit('send-toast', detail);
11
+ },
12
+ [evtBus]
13
+ );
14
+
15
+ return toast;
16
+ };
@@ -7,6 +7,9 @@ export const EVENTS: Record<string, FormBuilderEventKey> = {
7
7
  // 表单创建成功
8
8
  CREATE_FORM_SUCCESS: 'form-builder-FormCreateSuccess',
9
9
 
10
+ // 表单创建失败
11
+ CREATE_FORM_FAILED: 'form-builder-FormCreateFailed',
12
+
10
13
  // 更新表单信息
11
14
  UPDATE_FORM_INFO: 'form-builder-FormInfoUpdated',
12
15
 
@@ -11,6 +11,7 @@ import { PrimaryConfirmBtn } from '@/components/bs-ui/primary-confirm-btn';
11
11
  import FormInfoEditor, { FORM_ICON_OPTIONS } from '@/components/bs-ui/form-info-editor';
12
12
  import { FakeBotMessage } from '@/components/biz-comp/FakeBotMsg';
13
13
  import { GenerateAnimation } from '@/components/bs-ui/generate-animation';
14
+ import { WarningMessage } from '@/components/bs-ui/warning-msg';
14
15
 
15
16
  export const CreateFormConfirm = memo(
16
17
  ({
@@ -27,6 +28,8 @@ export const CreateFormConfirm = memo(
27
28
 
28
29
  const [success, setSuccess] = useState(false);
29
30
 
31
+ const [createFailed, setCreateFailed] = useState(false);
32
+
30
33
  const evtBus = useEvtBus();
31
34
 
32
35
  const formRef = useRef<RealFormInfo | null>(null);
@@ -39,6 +42,10 @@ export const CreateFormConfirm = memo(
39
42
  formRef.current = formInfo;
40
43
  });
41
44
 
45
+ useEvt(EVENTS.CREATE_FORM_FAILED, (_) => {
46
+ setCreateFailed(true);
47
+ });
48
+
42
49
  useEffect(() => {
43
50
  if (!formRef.current) return;
44
51
 
@@ -47,6 +54,12 @@ export const CreateFormConfirm = memo(
47
54
 
48
55
  const designInfo = parseFormDesignInfo(designDoc);
49
56
 
57
+ const creatingStatus = createFailed ? (
58
+ <WarningMessage message="表单创建失败" />
59
+ ) : (
60
+ <GenerateAnimation>创建中</GenerateAnimation>
61
+ );
62
+
50
63
  const afterConfirm = (
51
64
  <FakeBotMessage>
52
65
  {success ? (
@@ -99,7 +112,7 @@ export const CreateFormConfirm = memo(
99
112
  />
100
113
  </>
101
114
  ) : (
102
- <GenerateAnimation>创建中</GenerateAnimation>
115
+ creatingStatus
103
116
  )}
104
117
  </FakeBotMessage>
105
118
  );
@@ -28,28 +28,28 @@ const defaultSuggestions: ISuggestion[] = [
28
28
  ];
29
29
 
30
30
  export const QueryOpeningLines = () => {
31
- const { messages, sendMessage } = useChat({
32
- transport: new DefaultChatTransport({
33
- api: 'http://localhost:3001/web/api/report/query/suggest',
34
- }),
35
- });
31
+ // const { messages, sendMessage } = useChat({
32
+ // transport: new DefaultChatTransport({
33
+ // api: 'http://localhost:3001/web/api/report/query/suggest',
34
+ // }),
35
+ // });
36
36
 
37
- const ctx = usePluginCtx<IReportQueryContext, ReportQueryPlugin>(PLUGIN_NAME);
37
+ // const ctx = usePluginCtx<IReportQueryContext, ReportQueryPlugin>(PLUGIN_NAME);
38
38
 
39
- console.log(messages);
39
+ // console.log(messages);
40
40
 
41
- useEffect(() => {
42
- sendMessage(
43
- {
44
- text: '',
45
- },
46
- {
47
- body: {
48
- forms: ctx?.appInfo?.formMap ? Array.from(ctx.appInfo.formMap.values()) : undefined,
49
- },
50
- }
51
- );
52
- }, [ctx]);
41
+ // useEffect(() => {
42
+ // sendMessage(
43
+ // {
44
+ // text: '',
45
+ // },
46
+ // {
47
+ // body: {
48
+ // forms: ctx?.appInfo?.formMap ? Array.from(ctx.appInfo.formMap.values()) : undefined,
49
+ // },
50
+ // }
51
+ // );
52
+ // }, [ctx]);
53
53
 
54
54
  return (
55
55
  <>