@baishuyun/ai-design 2.0.31 → 2.0.33

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 (410) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/package.json +4 -4
  3. package/src/components/agent-helper/field-select/index.tsx +4 -1
  4. package/src/components/form-info-editor.tsx +13 -3
  5. package/.claude/settings.local.json +0 -7
  6. package/.turbo/turbo-build.log +0 -574
  7. package/debug-storybook.log +0 -19
  8. package/dist/ai-design.js +0 -39928
  9. package/dist/ai-design.js.map +0 -1
  10. package/dist/ai-design.umd.cjs +0 -591
  11. package/dist/ai-design.umd.cjs.map +0 -1
  12. package/dist/index.css +0 -1
  13. package/storybook-static/assets/AbsFullscreenGradientBg.stories-Hd2WmWkA.js +0 -18
  14. package/storybook-static/assets/AgentScrollSelector.stories-C3rsFZ6F.js +0 -40
  15. package/storybook-static/assets/AgentSelect.stories-DVhwD0rq.js +0 -53
  16. package/storybook-static/assets/AttachmentPart.stories-ejj4i7n-.js +0 -45
  17. package/storybook-static/assets/AttachmentPartGroup.stories-5Zdayw6l.js +0 -34
  18. package/storybook-static/assets/AttachmentsPreviewer.stories-DyjtCRco.js +0 -138
  19. package/storybook-static/assets/BaseButton.stories-DrGEYx9W.js +0 -11
  20. package/storybook-static/assets/BorderAnimation.stories-D9p4pgL6.js +0 -87
  21. package/storybook-static/assets/BorderColorAnimation.stories-tvilZOeG.js +0 -42
  22. package/storybook-static/assets/BotAvatarAndName.stories-B8ZNN2_J.js +0 -5
  23. package/storybook-static/assets/BotIcon.stories-DAyXSQDa.js +0 -3
  24. package/storybook-static/assets/BsEntrySelect.stories-B2B9FZWy.js +0 -119
  25. package/storybook-static/assets/BsTooltip.stories-Bf_LcqnK.js +0 -6
  26. package/storybook-static/assets/Card.stories-BSeowjg-.js +0 -8
  27. package/storybook-static/assets/CardField.stories-CYnnBUTk.js +0 -41
  28. package/storybook-static/assets/ChatAreaHeader.stories-muYZq_ix.js +0 -6
  29. package/storybook-static/assets/CircleChecker.stories-CueVuqmn.js +0 -38
  30. package/storybook-static/assets/CollapsibleTextMsg.stories-Bl8inRXa.js +0 -21
  31. package/storybook-static/assets/Color-ASIRERSW-CAiV6Nyl.js +0 -1
  32. package/storybook-static/assets/Combination-CZ7kzc03.js +0 -41
  33. package/storybook-static/assets/ConfirmDialog.stories-C3TDIr-r.js +0 -42
  34. package/storybook-static/assets/DocsRenderer-GHJI37HO-DLf4p3c1.js +0 -763
  35. package/storybook-static/assets/FakeBotMsg.stories-CSC1k9UE.js +0 -14
  36. package/storybook-static/assets/FormInfoEditor.stories-DcLwCSHN.js +0 -75
  37. package/storybook-static/assets/FormulaTag.stories-hiPYLb6Y.js +0 -29
  38. package/storybook-static/assets/GenerateAnimation.stories-C5qGwAy0.js +0 -14
  39. package/storybook-static/assets/IconBtn.stories-pcl--4Wl.js +0 -10
  40. package/storybook-static/assets/Icons.stories-FN8wG7iW.js +0 -3
  41. package/storybook-static/assets/ImgMsgPart.stories-CkiWUjiY.js +0 -15
  42. package/storybook-static/assets/LegacySlot.stories-C_PeMEjh.js +0 -38
  43. package/storybook-static/assets/LineChecker.stories-DcChEKvO.js +0 -93
  44. package/storybook-static/assets/LinearGradientBorderBtn.stories-CQgLcYJf.js +0 -46
  45. package/storybook-static/assets/LinearGradientColorBgAnimation.stories-D9NYfNzo.js +0 -43
  46. package/storybook-static/assets/MemoizedMarkdown.stories-BxOuEc_8.js +0 -195
  47. package/storybook-static/assets/MessageContent.stories-Cz7z6a8d.js +0 -14
  48. package/storybook-static/assets/NumbersMsgPart.stories-Dke7EvTU.js +0 -16
  49. package/storybook-static/assets/OfficeContainer.stories-DpQ7TB3v.js +0 -116
  50. package/storybook-static/assets/OptionItem.stories-BNr85yzu.js +0 -44
  51. package/storybook-static/assets/PreviewerHeader.stories-IxioHG75.js +0 -68
  52. package/storybook-static/assets/PrimaryConfirmBtn.stories-Dg0OQKbA.js +0 -30
  53. package/storybook-static/assets/PrimaryEntryBtn.stories-Baz1MVoZ.js +0 -35
  54. package/storybook-static/assets/ScrollToBottom.stories-DqAOmU_g.js +0 -5
  55. package/storybook-static/assets/SplitLine.stories-CbkBng-u.js +0 -9
  56. package/storybook-static/assets/SquareChecker.stories-BFXpWaHr.js +0 -43
  57. package/storybook-static/assets/TabRadioGroup.stories-d3CvjAQV.js +0 -54
  58. package/storybook-static/assets/UserTextMsgBubble.stories-Dv5HUEKe.js +0 -5
  59. package/storybook-static/assets/WarningMessage.stories-DoHvvVJB.js +0 -3
  60. package/storybook-static/assets/WithTooltip-IO6J4KBT-5iq4HD_s.js +0 -9
  61. package/storybook-static/assets/abs-fullscreen-gradient-bg-pEhwW8Lt.js +0 -1
  62. package/storybook-static/assets/agent-select-BlwXZgPu.js +0 -1
  63. package/storybook-static/assets/attachment-part-_D41HaS7.js +0 -1
  64. package/storybook-static/assets/base-button-BGn3Fo0B.js +0 -1
  65. package/storybook-static/assets/border-color-animation-BoCxpIBW.js +0 -10
  66. package/storybook-static/assets/bot-icon-Ci07j_8n.js +0 -1
  67. package/storybook-static/assets/bs-icons-CDeLTCWJ.js +0 -1
  68. package/storybook-static/assets/button-Cyp2OfiJ.js +0 -1
  69. package/storybook-static/assets/collapsible-TCbdh_v_.js +0 -1
  70. package/storybook-static/assets/collapsible-txt-msg-DukRF1Ws.js +0 -1
  71. package/storybook-static/assets/collapsible.stories-DmrXoEsa.js +0 -25
  72. package/storybook-static/assets/confirm-dialog-BO5s3AJb.js +0 -1
  73. package/storybook-static/assets/createLucideIcon-CkLwfbD4.js +0 -21
  74. package/storybook-static/assets/drawer.stories-BdM7Wbzl.js +0 -123
  75. package/storybook-static/assets/field-checker-f9FOL58q.js +0 -1
  76. package/storybook-static/assets/field-checker-list-msg.stories-B_6usiWl.js +0 -37
  77. package/storybook-static/assets/field-checker.stories-BghsIYEd.js +0 -91
  78. package/storybook-static/assets/field-icon-6Mrtj4c9.js +0 -1
  79. package/storybook-static/assets/field-icon.stories-D9Ukdb7l.js +0 -57
  80. package/storybook-static/assets/field-value-checker-BOyFGXwK.js +0 -1
  81. package/storybook-static/assets/field-value-checker.stories-Ch-7H5CO.js +0 -93
  82. package/storybook-static/assets/fields-design-info-table.stories-CtmX3mmp.js +0 -75
  83. package/storybook-static/assets/fields-generating-indicator-Cex4HigZ.js +0 -12
  84. package/storybook-static/assets/fields-generating.stories-CAtWVnX3.js +0 -16
  85. package/storybook-static/assets/fields-previewer.stories-D3USvSB3.js +0 -48
  86. package/storybook-static/assets/font-icon-Ts3EnP1y.js +0 -1
  87. package/storybook-static/assets/formatter-QJ4M4OGQ-Db-9LUhi.js +0 -1
  88. package/storybook-static/assets/icon-btn-B-A_0V7W.js +0 -1
  89. package/storybook-static/assets/icons-iPP3Tbk5.js +0 -1
  90. package/storybook-static/assets/iframe-BNpZCkNl.js +0 -1071
  91. package/storybook-static/assets/iframe-DHG3NC8n.css +0 -1
  92. package/storybook-static/assets/img-part-CWcYacNo.js +0 -1
  93. package/storybook-static/assets/index-B-T-IyWu.js +0 -24
  94. package/storybook-static/assets/index-CCxWT_9r.js +0 -1
  95. package/storybook-static/assets/index-CXB_DHA8.js +0 -1
  96. package/storybook-static/assets/index-CY6zduIX.js +0 -5
  97. package/storybook-static/assets/index-CaU3vELI.js +0 -5
  98. package/storybook-static/assets/index-D-D2iJjc.js +0 -1
  99. package/storybook-static/assets/index-DFx_ePTl.js +0 -1
  100. package/storybook-static/assets/index-DZuATJno.js +0 -1
  101. package/storybook-static/assets/index-DvxqVOC1.js +0 -1
  102. package/storybook-static/assets/index-KJpiBtEb.js +0 -1
  103. package/storybook-static/assets/jsx-runtime-CpaO0gaJ.js +0 -9
  104. package/storybook-static/assets/line-checker-DSzQ_hxZ.js +0 -1
  105. package/storybook-static/assets/linear-gradient-color-bg-animation-DIBcKbzI.js +0 -39
  106. package/storybook-static/assets/message-content-DwEkjIr8.js +0 -1
  107. package/storybook-static/assets/option-item-DVwitDz1.js +0 -1
  108. package/storybook-static/assets/preload-helper-CmsKOCeN.js +0 -1
  109. package/storybook-static/assets/previewer-header-BzO0Sbpf.js +0 -6
  110. package/storybook-static/assets/primary-confirm-btn-CW72MiLv.js +0 -1
  111. package/storybook-static/assets/react-18-Cn3rktXT.js +0 -1
  112. package/storybook-static/assets/square-checker-BKGRXJag.js +0 -1
  113. package/storybook-static/assets/subform-fields-value-checker-DCstRpVF.js +0 -7
  114. package/storybook-static/assets/subform-fields-value-checker.stories-BCg_WRIi.js +0 -114
  115. package/storybook-static/assets/syntaxhighlighter-IQDEPFLK-RkNUra3q.js +0 -6
  116. package/storybook-static/assets/tooltip-3SR6ujOq.js +0 -1
  117. package/storybook-static/assets/ui-B16ZxGB5.js +0 -4
  118. package/storybook-static/assets/utils-CXGjNK-X.js +0 -1
  119. package/storybook-static/favicon-wrapper.svg +0 -46
  120. package/storybook-static/favicon.svg +0 -1
  121. package/storybook-static/iframe.html +0 -687
  122. package/storybook-static/index.html +0 -143
  123. package/storybook-static/index.json +0 -1
  124. package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
  125. package/storybook-static/nunito-sans-bold.woff2 +0 -0
  126. package/storybook-static/nunito-sans-italic.woff2 +0 -0
  127. package/storybook-static/nunito-sans-regular.woff2 +0 -0
  128. package/storybook-static/project.json +0 -1
  129. package/storybook-static/sb-addons/docs-1/manager-bundle.js +0 -3
  130. package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -628
  131. package/storybook-static/sb-addons/vitest-2/manager-bundle.js +0 -3
  132. package/storybook-static/sb-common-assets/favicon-wrapper.svg +0 -46
  133. package/storybook-static/sb-common-assets/favicon.svg +0 -1
  134. package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  135. package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  136. package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  137. package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  138. package/storybook-static/sb-manager/globals-runtime.js +0 -75605
  139. package/storybook-static/sb-manager/globals.js +0 -24
  140. package/storybook-static/sb-manager/manager-stores.js +0 -23
  141. package/storybook-static/sb-manager/runtime.js +0 -19717
  142. package/storybook-static/src/components/abs-fullscreen-gradient-bg.d.ts +0 -10
  143. package/storybook-static/src/components/abs-fullscreen-gradient-bg.d.ts.map +0 -1
  144. package/storybook-static/src/components/agent-scroll-selector.d.ts +0 -12
  145. package/storybook-static/src/components/agent-scroll-selector.d.ts.map +0 -1
  146. package/storybook-static/src/components/agent-select.d.ts +0 -16
  147. package/storybook-static/src/components/agent-select.d.ts.map +0 -1
  148. package/storybook-static/src/components/attachment-part-group.d.ts +0 -16
  149. package/storybook-static/src/components/attachment-part-group.d.ts.map +0 -1
  150. package/storybook-static/src/components/attachment-part.d.ts +0 -19
  151. package/storybook-static/src/components/attachment-part.d.ts.map +0 -1
  152. package/storybook-static/src/components/attachments-previewer.d.ts +0 -18
  153. package/storybook-static/src/components/attachments-previewer.d.ts.map +0 -1
  154. package/storybook-static/src/components/base-button.d.ts +0 -8
  155. package/storybook-static/src/components/base-button.d.ts.map +0 -1
  156. package/storybook-static/src/components/border-animation.d.ts +0 -23
  157. package/storybook-static/src/components/border-animation.d.ts.map +0 -1
  158. package/storybook-static/src/components/border-color-animation.d.ts +0 -11
  159. package/storybook-static/src/components/border-color-animation.d.ts.map +0 -1
  160. package/storybook-static/src/components/bot-avatar-name.d.ts +0 -6
  161. package/storybook-static/src/components/bot-avatar-name.d.ts.map +0 -1
  162. package/storybook-static/src/components/bot-icon.d.ts +0 -5
  163. package/storybook-static/src/components/bot-icon.d.ts.map +0 -1
  164. package/storybook-static/src/components/bs-entry-select/app-group-folder.d.ts +0 -6
  165. package/storybook-static/src/components/bs-entry-select/app-group-folder.d.ts.map +0 -1
  166. package/storybook-static/src/components/bs-entry-select/bs-entry-select.d.ts +0 -4
  167. package/storybook-static/src/components/bs-entry-select/bs-entry-select.d.ts.map +0 -1
  168. package/storybook-static/src/components/bs-entry-select/build-tree.d.ts +0 -9
  169. package/storybook-static/src/components/bs-entry-select/build-tree.d.ts.map +0 -1
  170. package/storybook-static/src/components/bs-entry-select/entry-item.d.ts +0 -8
  171. package/storybook-static/src/components/bs-entry-select/entry-item.d.ts.map +0 -1
  172. package/storybook-static/src/components/bs-entry-select/entry-popover.d.ts +0 -17
  173. package/storybook-static/src/components/bs-entry-select/entry-popover.d.ts.map +0 -1
  174. package/storybook-static/src/components/bs-entry-select/index.d.ts +0 -3
  175. package/storybook-static/src/components/bs-entry-select/index.d.ts.map +0 -1
  176. package/storybook-static/src/components/bs-entry-select/other-app-section.d.ts +0 -11
  177. package/storybook-static/src/components/bs-entry-select/other-app-section.d.ts.map +0 -1
  178. package/storybook-static/src/components/bs-entry-select/scroll-slider.d.ts +0 -10
  179. package/storybook-static/src/components/bs-entry-select/scroll-slider.d.ts.map +0 -1
  180. package/storybook-static/src/components/bs-entry-select/search-input.d.ts +0 -5
  181. package/storybook-static/src/components/bs-entry-select/search-input.d.ts.map +0 -1
  182. package/storybook-static/src/components/bs-entry-select/tree-item-node.d.ts +0 -9
  183. package/storybook-static/src/components/bs-entry-select/tree-item-node.d.ts.map +0 -1
  184. package/storybook-static/src/components/bs-entry-select/types.d.ts +0 -28
  185. package/storybook-static/src/components/bs-entry-select/types.d.ts.map +0 -1
  186. package/storybook-static/src/components/bs-icons.d.ts +0 -77
  187. package/storybook-static/src/components/bs-icons.d.ts.map +0 -1
  188. package/storybook-static/src/components/card-field.d.ts +0 -11
  189. package/storybook-static/src/components/card-field.d.ts.map +0 -1
  190. package/storybook-static/src/components/card.d.ts +0 -11
  191. package/storybook-static/src/components/card.d.ts.map +0 -1
  192. package/storybook-static/src/components/chat-area-header.d.ts +0 -13
  193. package/storybook-static/src/components/chat-area-header.d.ts.map +0 -1
  194. package/storybook-static/src/components/circle-checker.d.ts +0 -10
  195. package/storybook-static/src/components/circle-checker.d.ts.map +0 -1
  196. package/storybook-static/src/components/collapsible-txt-msg.d.ts +0 -11
  197. package/storybook-static/src/components/collapsible-txt-msg.d.ts.map +0 -1
  198. package/storybook-static/src/components/collapsible.d.ts +0 -6
  199. package/storybook-static/src/components/collapsible.d.ts.map +0 -1
  200. package/storybook-static/src/components/confirm-dialog.d.ts +0 -26
  201. package/storybook-static/src/components/confirm-dialog.d.ts.map +0 -1
  202. package/storybook-static/src/components/fake-bot-msg.d.ts +0 -8
  203. package/storybook-static/src/components/fake-bot-msg.d.ts.map +0 -1
  204. package/storybook-static/src/components/field-checker-list-msg.d.ts +0 -19
  205. package/storybook-static/src/components/field-checker-list-msg.d.ts.map +0 -1
  206. package/storybook-static/src/components/field-checker.d.ts +0 -19
  207. package/storybook-static/src/components/field-checker.d.ts.map +0 -1
  208. package/storybook-static/src/components/field-icon.d.ts +0 -5
  209. package/storybook-static/src/components/field-icon.d.ts.map +0 -1
  210. package/storybook-static/src/components/field-value-checker.d.ts +0 -16
  211. package/storybook-static/src/components/field-value-checker.d.ts.map +0 -1
  212. package/storybook-static/src/components/fields-design-info-table.d.ts +0 -7
  213. package/storybook-static/src/components/fields-design-info-table.d.ts.map +0 -1
  214. package/storybook-static/src/components/fields-generating-indicator.d.ts +0 -6
  215. package/storybook-static/src/components/fields-generating-indicator.d.ts.map +0 -1
  216. package/storybook-static/src/components/fields-portal.d.ts +0 -8
  217. package/storybook-static/src/components/fields-portal.d.ts.map +0 -1
  218. package/storybook-static/src/components/fields-previewer.d.ts +0 -19
  219. package/storybook-static/src/components/fields-previewer.d.ts.map +0 -1
  220. package/storybook-static/src/components/font-icon.d.ts +0 -6
  221. package/storybook-static/src/components/font-icon.d.ts.map +0 -1
  222. package/storybook-static/src/components/form-info-editor.d.ts +0 -31
  223. package/storybook-static/src/components/form-info-editor.d.ts.map +0 -1
  224. package/storybook-static/src/components/formula-tag.d.ts +0 -8
  225. package/storybook-static/src/components/formula-tag.d.ts.map +0 -1
  226. package/storybook-static/src/components/generate-animation.d.ts +0 -5
  227. package/storybook-static/src/components/generate-animation.d.ts.map +0 -1
  228. package/storybook-static/src/components/icon-btn.d.ts +0 -9
  229. package/storybook-static/src/components/icon-btn.d.ts.map +0 -1
  230. package/storybook-static/src/components/img-part.d.ts +0 -10
  231. package/storybook-static/src/components/img-part.d.ts.map +0 -1
  232. package/storybook-static/src/components/legacy-slot.d.ts +0 -11
  233. package/storybook-static/src/components/legacy-slot.d.ts.map +0 -1
  234. package/storybook-static/src/components/line-checker.d.ts +0 -19
  235. package/storybook-static/src/components/line-checker.d.ts.map +0 -1
  236. package/storybook-static/src/components/linear-gradient-border-btn.d.ts +0 -10
  237. package/storybook-static/src/components/linear-gradient-border-btn.d.ts.map +0 -1
  238. package/storybook-static/src/components/linear-gradient-color-bg-animation.d.ts +0 -8
  239. package/storybook-static/src/components/linear-gradient-color-bg-animation.d.ts.map +0 -1
  240. package/storybook-static/src/components/memoized-markdown.d.ts +0 -5
  241. package/storybook-static/src/components/memoized-markdown.d.ts.map +0 -1
  242. package/storybook-static/src/components/message-content.d.ts +0 -6
  243. package/storybook-static/src/components/message-content.d.ts.map +0 -1
  244. package/storybook-static/src/components/number-part.d.ts +0 -9
  245. package/storybook-static/src/components/number-part.d.ts.map +0 -1
  246. package/storybook-static/src/components/office-container.d.ts +0 -17
  247. package/storybook-static/src/components/office-container.d.ts.map +0 -1
  248. package/storybook-static/src/components/option-item.d.ts +0 -9
  249. package/storybook-static/src/components/option-item.d.ts.map +0 -1
  250. package/storybook-static/src/components/previewer-header.d.ts +0 -21
  251. package/storybook-static/src/components/previewer-header.d.ts.map +0 -1
  252. package/storybook-static/src/components/primary-confirm-btn.d.ts +0 -10
  253. package/storybook-static/src/components/primary-confirm-btn.d.ts.map +0 -1
  254. package/storybook-static/src/components/primary-entry-btn.d.ts +0 -9
  255. package/storybook-static/src/components/primary-entry-btn.d.ts.map +0 -1
  256. package/storybook-static/src/components/scroll-to-bottom-btn.d.ts +0 -6
  257. package/storybook-static/src/components/scroll-to-bottom-btn.d.ts.map +0 -1
  258. package/storybook-static/src/components/split-line.d.ts +0 -5
  259. package/storybook-static/src/components/split-line.d.ts.map +0 -1
  260. package/storybook-static/src/components/square-checker.d.ts +0 -15
  261. package/storybook-static/src/components/square-checker.d.ts.map +0 -1
  262. package/storybook-static/src/components/subform-fields-value-checker.d.ts +0 -22
  263. package/storybook-static/src/components/subform-fields-value-checker.d.ts.map +0 -1
  264. package/storybook-static/src/components/tab-radio-group.d.ts +0 -20
  265. package/storybook-static/src/components/tab-radio-group.d.ts.map +0 -1
  266. package/storybook-static/src/components/tooltip.d.ts +0 -6
  267. package/storybook-static/src/components/tooltip.d.ts.map +0 -1
  268. package/storybook-static/src/components/ui/button.d.ts +0 -12
  269. package/storybook-static/src/components/ui/button.d.ts.map +0 -1
  270. package/storybook-static/src/components/ui/dialog.d.ts +0 -24
  271. package/storybook-static/src/components/ui/dialog.d.ts.map +0 -1
  272. package/storybook-static/src/components/ui/drawer.d.ts +0 -16
  273. package/storybook-static/src/components/ui/drawer.d.ts.map +0 -1
  274. package/storybook-static/src/components/ui/icons.d.ts +0 -176
  275. package/storybook-static/src/components/ui/icons.d.ts.map +0 -1
  276. package/storybook-static/src/components/ui/popover.d.ts +0 -10
  277. package/storybook-static/src/components/ui/popover.d.ts.map +0 -1
  278. package/storybook-static/src/components/ui/spinner.d.ts +0 -3
  279. package/storybook-static/src/components/ui/spinner.d.ts.map +0 -1
  280. package/storybook-static/src/components/ui/tooltip.d.ts +0 -13
  281. package/storybook-static/src/components/ui/tooltip.d.ts.map +0 -1
  282. package/storybook-static/src/components/user-txt-msg-bubble.d.ts +0 -6
  283. package/storybook-static/src/components/user-txt-msg-bubble.d.ts.map +0 -1
  284. package/storybook-static/src/components/warning-msg.d.ts +0 -6
  285. package/storybook-static/src/components/warning-msg.d.ts.map +0 -1
  286. package/storybook-static/src/const/ui.d.ts +0 -10
  287. package/storybook-static/src/const/ui.d.ts.map +0 -1
  288. package/storybook-static/src/hooks/use-column-appear.d.ts +0 -22
  289. package/storybook-static/src/hooks/use-column-appear.d.ts.map +0 -1
  290. package/storybook-static/src/hooks/use-resizable-width.d.ts +0 -26
  291. package/storybook-static/src/hooks/use-resizable-width.d.ts.map +0 -1
  292. package/storybook-static/src/hooks/use-shadow.d.ts +0 -25
  293. package/storybook-static/src/hooks/use-shadow.d.ts.map +0 -1
  294. package/storybook-static/src/index.d.ts +0 -76
  295. package/storybook-static/src/index.d.ts.map +0 -1
  296. package/storybook-static/src/lib/utils.d.ts +0 -7
  297. package/storybook-static/src/lib/utils.d.ts.map +0 -1
  298. package/storybook-static/src/stories/AbsFullscreenGradientBg.stories.d.ts +0 -17
  299. package/storybook-static/src/stories/AbsFullscreenGradientBg.stories.d.ts.map +0 -1
  300. package/storybook-static/src/stories/AgentScrollSelector.stories.d.ts +0 -11
  301. package/storybook-static/src/stories/AgentScrollSelector.stories.d.ts.map +0 -1
  302. package/storybook-static/src/stories/AgentSelect.stories.d.ts +0 -14
  303. package/storybook-static/src/stories/AgentSelect.stories.d.ts.map +0 -1
  304. package/storybook-static/src/stories/AttachmentPart.stories.d.ts +0 -23
  305. package/storybook-static/src/stories/AttachmentPart.stories.d.ts.map +0 -1
  306. package/storybook-static/src/stories/AttachmentPartGroup.stories.d.ts +0 -21
  307. package/storybook-static/src/stories/AttachmentPartGroup.stories.d.ts.map +0 -1
  308. package/storybook-static/src/stories/AttachmentsPreviewer.stories.d.ts +0 -20
  309. package/storybook-static/src/stories/AttachmentsPreviewer.stories.d.ts.map +0 -1
  310. package/storybook-static/src/stories/BaseButton.stories.d.ts +0 -18
  311. package/storybook-static/src/stories/BaseButton.stories.d.ts.map +0 -1
  312. package/storybook-static/src/stories/BorderAnimation.stories.d.ts +0 -21
  313. package/storybook-static/src/stories/BorderAnimation.stories.d.ts.map +0 -1
  314. package/storybook-static/src/stories/BorderColorAnimation.stories.d.ts +0 -26
  315. package/storybook-static/src/stories/BorderColorAnimation.stories.d.ts.map +0 -1
  316. package/storybook-static/src/stories/BotAvatarAndName.stories.d.ts +0 -18
  317. package/storybook-static/src/stories/BotAvatarAndName.stories.d.ts.map +0 -1
  318. package/storybook-static/src/stories/BotIcon.stories.d.ts +0 -17
  319. package/storybook-static/src/stories/BotIcon.stories.d.ts.map +0 -1
  320. package/storybook-static/src/stories/BsEntrySelect.stories.d.ts +0 -17
  321. package/storybook-static/src/stories/BsEntrySelect.stories.d.ts.map +0 -1
  322. package/storybook-static/src/stories/BsTooltip.stories.d.ts +0 -7
  323. package/storybook-static/src/stories/BsTooltip.stories.d.ts.map +0 -1
  324. package/storybook-static/src/stories/Card.stories.d.ts +0 -14
  325. package/storybook-static/src/stories/Card.stories.d.ts.map +0 -1
  326. package/storybook-static/src/stories/CardField.stories.d.ts +0 -13
  327. package/storybook-static/src/stories/CardField.stories.d.ts.map +0 -1
  328. package/storybook-static/src/stories/ChatAreaHeader.stories.d.ts +0 -14
  329. package/storybook-static/src/stories/ChatAreaHeader.stories.d.ts.map +0 -1
  330. package/storybook-static/src/stories/CircleChecker.stories.d.ts +0 -21
  331. package/storybook-static/src/stories/CircleChecker.stories.d.ts.map +0 -1
  332. package/storybook-static/src/stories/CollapsibleTextMsg.stories.d.ts +0 -16
  333. package/storybook-static/src/stories/CollapsibleTextMsg.stories.d.ts.map +0 -1
  334. package/storybook-static/src/stories/ConfirmDialog.stories.d.ts +0 -61
  335. package/storybook-static/src/stories/ConfirmDialog.stories.d.ts.map +0 -1
  336. package/storybook-static/src/stories/FakeBotMsg.stories.d.ts +0 -21
  337. package/storybook-static/src/stories/FakeBotMsg.stories.d.ts.map +0 -1
  338. package/storybook-static/src/stories/FormInfoEditor.stories.d.ts +0 -15
  339. package/storybook-static/src/stories/FormInfoEditor.stories.d.ts.map +0 -1
  340. package/storybook-static/src/stories/FormulaTag.stories.d.ts +0 -37
  341. package/storybook-static/src/stories/FormulaTag.stories.d.ts.map +0 -1
  342. package/storybook-static/src/stories/GenerateAnimation.stories.d.ts +0 -17
  343. package/storybook-static/src/stories/GenerateAnimation.stories.d.ts.map +0 -1
  344. package/storybook-static/src/stories/IconBtn.stories.d.ts +0 -15
  345. package/storybook-static/src/stories/IconBtn.stories.d.ts.map +0 -1
  346. package/storybook-static/src/stories/IconLib.d.ts +0 -12
  347. package/storybook-static/src/stories/IconLib.d.ts.map +0 -1
  348. package/storybook-static/src/stories/Icons.stories.d.ts +0 -24
  349. package/storybook-static/src/stories/Icons.stories.d.ts.map +0 -1
  350. package/storybook-static/src/stories/ImgMsgPart.stories.d.ts +0 -20
  351. package/storybook-static/src/stories/ImgMsgPart.stories.d.ts.map +0 -1
  352. package/storybook-static/src/stories/LegacySlot.stories.d.ts +0 -16
  353. package/storybook-static/src/stories/LegacySlot.stories.d.ts.map +0 -1
  354. package/storybook-static/src/stories/LineChecker.stories.d.ts +0 -23
  355. package/storybook-static/src/stories/LineChecker.stories.d.ts.map +0 -1
  356. package/storybook-static/src/stories/LinearGradientBorderBtn.stories.d.ts +0 -22
  357. package/storybook-static/src/stories/LinearGradientBorderBtn.stories.d.ts.map +0 -1
  358. package/storybook-static/src/stories/LinearGradientColorBgAnimation.stories.d.ts +0 -23
  359. package/storybook-static/src/stories/LinearGradientColorBgAnimation.stories.d.ts.map +0 -1
  360. package/storybook-static/src/stories/MemoizedMarkdown.stories.d.ts +0 -23
  361. package/storybook-static/src/stories/MemoizedMarkdown.stories.d.ts.map +0 -1
  362. package/storybook-static/src/stories/MessageContent.stories.d.ts +0 -16
  363. package/storybook-static/src/stories/MessageContent.stories.d.ts.map +0 -1
  364. package/storybook-static/src/stories/NumbersMsgPart.stories.d.ts +0 -19
  365. package/storybook-static/src/stories/NumbersMsgPart.stories.d.ts.map +0 -1
  366. package/storybook-static/src/stories/OfficeContainer.stories.d.ts +0 -13
  367. package/storybook-static/src/stories/OfficeContainer.stories.d.ts.map +0 -1
  368. package/storybook-static/src/stories/OptionItem.stories.d.ts +0 -20
  369. package/storybook-static/src/stories/OptionItem.stories.d.ts.map +0 -1
  370. package/storybook-static/src/stories/PreviewerHeader.stories.d.ts +0 -12
  371. package/storybook-static/src/stories/PreviewerHeader.stories.d.ts.map +0 -1
  372. package/storybook-static/src/stories/PrimaryConfirmBtn.stories.d.ts +0 -19
  373. package/storybook-static/src/stories/PrimaryConfirmBtn.stories.d.ts.map +0 -1
  374. package/storybook-static/src/stories/PrimaryEntryBtn.stories.d.ts +0 -26
  375. package/storybook-static/src/stories/PrimaryEntryBtn.stories.d.ts.map +0 -1
  376. package/storybook-static/src/stories/ScrollToBottom.stories.d.ts +0 -15
  377. package/storybook-static/src/stories/ScrollToBottom.stories.d.ts.map +0 -1
  378. package/storybook-static/src/stories/SplitLine.stories.d.ts +0 -9
  379. package/storybook-static/src/stories/SplitLine.stories.d.ts.map +0 -1
  380. package/storybook-static/src/stories/SquareChecker.stories.d.ts +0 -26
  381. package/storybook-static/src/stories/SquareChecker.stories.d.ts.map +0 -1
  382. package/storybook-static/src/stories/TabRadioGroup.stories.d.ts +0 -18
  383. package/storybook-static/src/stories/TabRadioGroup.stories.d.ts.map +0 -1
  384. package/storybook-static/src/stories/UserTextMsgBubble.stories.d.ts +0 -14
  385. package/storybook-static/src/stories/UserTextMsgBubble.stories.d.ts.map +0 -1
  386. package/storybook-static/src/stories/WarningMessage.stories.d.ts +0 -16
  387. package/storybook-static/src/stories/WarningMessage.stories.d.ts.map +0 -1
  388. package/storybook-static/src/stories/collapsible.stories.d.ts +0 -8
  389. package/storybook-static/src/stories/collapsible.stories.d.ts.map +0 -1
  390. package/storybook-static/src/stories/drawer.stories.d.ts +0 -18
  391. package/storybook-static/src/stories/drawer.stories.d.ts.map +0 -1
  392. package/storybook-static/src/stories/field-checker-list-msg.stories.d.ts +0 -11
  393. package/storybook-static/src/stories/field-checker-list-msg.stories.d.ts.map +0 -1
  394. package/storybook-static/src/stories/field-checker.stories.d.ts +0 -13
  395. package/storybook-static/src/stories/field-checker.stories.d.ts.map +0 -1
  396. package/storybook-static/src/stories/field-icon.stories.d.ts +0 -15
  397. package/storybook-static/src/stories/field-icon.stories.d.ts.map +0 -1
  398. package/storybook-static/src/stories/field-value-checker.stories.d.ts +0 -13
  399. package/storybook-static/src/stories/field-value-checker.stories.d.ts.map +0 -1
  400. package/storybook-static/src/stories/fields-design-info-table.stories.d.ts +0 -14
  401. package/storybook-static/src/stories/fields-design-info-table.stories.d.ts.map +0 -1
  402. package/storybook-static/src/stories/fields-generating.stories.d.ts +0 -20
  403. package/storybook-static/src/stories/fields-generating.stories.d.ts.map +0 -1
  404. package/storybook-static/src/stories/fields-previewer.stories.d.ts +0 -19
  405. package/storybook-static/src/stories/fields-previewer.stories.d.ts.map +0 -1
  406. package/storybook-static/src/stories/subform-fields-value-checker.stories.d.ts +0 -9
  407. package/storybook-static/src/stories/subform-fields-value-checker.stories.d.ts.map +0 -1
  408. package/storybook-static/src/types.d.ts +0 -8
  409. package/storybook-static/src/types.d.ts.map +0 -1
  410. package/storybook-static/vite-inject-mocker-entry.js +0 -18
@@ -1,574 +0,0 @@
1
-
2
- 
3
- > @baishuyun/ai-design@2.0.2 build /Users/bbbottle/Code/bs-chat-sdk/packages/ai-design
4
- > vite build && tailwindcss -i src/style.css -o dist/tailwind.css && cat dist/tailwind.css dist/index.css > dist/ai-design.css && node scripts/strip-layers.cjs && cp dist/ai-design.css style.css && rm dist/tailwind.css dist/index.css
5
-
6
- vite v5.4.21 building for production...
7
- transforming (1) src/index.tstransforming (2) src/lib/utils.tstransforming (90) src/components/square-checker.tsxtransforming (137) ../../node_modules/.pnpm/@radix-ui+react-roving-focus@1.1.12_@types+react-dom@19.2.3_@types+react@19.2.17_retransforming (493) ../../node_modules/.pnpm/unist-util-visit-parents@6.0.2/node_modules/unist-util-visit-parents/lib/color.js[transforming (654) src/components/agent-helper/agent-entry-card/index.tsxtransforming (1682) src/components/agent-helper/condition-input/index.tsxtransforming (2356) src/hooks/use-column-appear.tstransforming (2680) src/components/agent-helper/field-value-input/display.tsxtransforming (3026) ../../node_modules/.pnpm/@radix-ui+react-use-is-hydrated@0.1.1_@types+react@19.2.17_react@19.2.7/node_modul✓ 3049 modules transformed.
8
- rendering chunks (1)...
9
- [vite:dts] Start generate declaration files...
10
- src/components/agent-helper/agent-entry-card/index.tsx:16:3 - error TS6133: 'onLogClick' is declared but its value is never read.
11
-
12
- 16 onLogClick,
13
-    ~~~~~~~~~~
14
- src/components/agent-helper/field-select/index.tsx:207:28 - error TS2503: Cannot find namespace 'JSX'.
15
-
16
- 207 (node: FieldTreeNode): JSX.Element => {
17
-    ~~~
18
- src/components/agent-helper/field-value-input/picker-inputs.tsx:28:10 - error TS2352: Conversion of type 'WidgetItem[] | undefined' to type 'WidgetItem[]' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
19
- Type 'import("/Users/bbbottle/Code/bs-chat-sdk/packages/types/dist/fields").WidgetItem[]' is not comparable to type 'WidgetItem[]'.
20
- Type 'import("/Users/bbbottle/Code/bs-chat-sdk/packages/types/dist/fields").WidgetItem' is not comparable to type 'WidgetItem'.
21
- Property 'label' is missing in type 'IOptionItem' but required in type 'WidgetItem'.
22
-
23
- 28 return field.widget?.items?.filter((it) => typeof it.label === 'string') as WidgetItem[] ?? [];
24
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25
-
26
- src/components/agent-helper/field-value-input/picker-inputs.tsx:23:3
27
- 23 label: string;
28
-    ~~~~~
29
- 'label' is declared here.
30
- src/components/agent-helper/field-value-input/picker-inputs.tsx:28:56 - error TS2339: Property 'label' does not exist on type 'WidgetItem'.
31
- Property 'label' does not exist on type 'IOptionItem'.
32
-
33
- 28 return field.widget?.items?.filter((it) => typeof it.label === 'string') as WidgetItem[] ?? [];
34
-    ~~~~~
35
- src/components/agent-helper/trigger-select/index.tsx:2:58 - error TS6133: 'ScheduleTypeIcon' is declared but its value is never read.
36
-
37
- 2 import { CommonTypeIcon, GoToFormIcon, FlowNodeTypeIcon, ScheduleTypeIcon, FormFieldIcon, FormTypeIcon } from '../../bs-icons';
38
-    ~~~~~~~~~~~~~~~~
39
- src/hooks/use-column-appear.ts:77:23 - error TS2322: Type 'RefObject<HTMLDivElement | null>' is not assignable to type 'RefObject<HTMLDivElement>'.
40
- Type 'HTMLDivElement | null' is not assignable to type 'HTMLDivElement'.
41
- Type 'null' is not assignable to type 'HTMLDivElement'.
42
-
43
- 77 return { appearing, colRef, getTransitionStyle: transitionStyle };
44
-    ~~~~~~
45
-
46
- src/hooks/use-column-appear.ts:21:3
47
- 21 colRef: React.RefObject<HTMLDivElement>;
48
-    ~~~~~~
49
- The expected type comes from property 'colRef' which is declared here on type 'UseColumnAppearResult'
50
- src/stories/BsConditionInput.stories.tsx:7:7 - error TS2741: Property 'setContext' is missing in type '{ searchUsers: (keyword: string) => Promise<{ id: string; name: string; }[]>; searchDepts: (keyword: string) => Promise<{ id: string; name: string; }[]>; searchUserGroups: (keyword: string) => Promise<...>; searchDeptGroups: (keyword: string) => Promise<...>; searchAddress: (keyword: string) => Promise<...>; searchL...' but required in type 'IFieldValueService'.
51
-
52
- 7 const mockService: IFieldValueService = {
53
-    ~~~~~~~~~~~
54
-
55
- ../types/dist/services/index.d.ts:122:5
56
- 122 setContext: (appId: string, entryId: string) => void;
57
-    ~~~~~~~~~~
58
- 'setContext' is declared here.
59
- src/stories/BsConditionInput.stories.tsx:116:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
60
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
61
-
62
- 116 { label: '男', value: 'male' },
63
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
64
-
65
- ../types/dist/fields.d.ts:68:5
66
- 68 text: string;
67
-    ~~~~
68
- 'text' is declared here.
69
- src/stories/BsConditionInput.stories.tsx:117:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
70
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
71
-
72
- 117 { label: '女', value: 'female' },
73
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74
-
75
- ../types/dist/fields.d.ts:68:5
76
- 68 text: string;
77
-    ~~~~
78
- 'text' is declared here.
79
- src/stories/BsConditionInput.stories.tsx:128:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
80
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
81
-
82
- 128 { label: '北京', value: 'beijing' },
83
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
84
-
85
- ../types/dist/fields.d.ts:68:5
86
- 68 text: string;
87
-    ~~~~
88
- 'text' is declared here.
89
- src/stories/BsConditionInput.stories.tsx:129:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
90
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
91
-
92
- 129 { label: '上海', value: 'shanghai' },
93
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
94
-
95
- ../types/dist/fields.d.ts:68:5
96
- 68 text: string;
97
-    ~~~~
98
- 'text' is declared here.
99
- src/stories/BsConditionInput.stories.tsx:130:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
100
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
101
-
102
- 130 { label: '广州', value: 'guangzhou' },
103
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
104
-
105
- ../types/dist/fields.d.ts:68:5
106
- 68 text: string;
107
-    ~~~~
108
- 'text' is declared here.
109
- src/stories/BsConditionInput.stories.tsx:141:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
110
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
111
-
112
- 141 { label: '阅读', value: 'reading' },
113
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
114
-
115
- ../types/dist/fields.d.ts:68:5
116
- 68 text: string;
117
-    ~~~~
118
- 'text' is declared here.
119
- src/stories/BsConditionInput.stories.tsx:142:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
120
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
121
-
122
- 142 { label: '运动', value: 'sports' },
123
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124
-
125
- ../types/dist/fields.d.ts:68:5
126
- 68 text: string;
127
-    ~~~~
128
- 'text' is declared here.
129
- src/stories/BsConditionInput.stories.tsx:143:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
130
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
131
-
132
- 143 { label: '音乐', value: 'music' },
133
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
134
-
135
- ../types/dist/fields.d.ts:68:5
136
- 68 text: string;
137
-    ~~~~
138
- 'text' is declared here.
139
- src/stories/BsConditionInput.stories.tsx:170:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
140
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
141
-
142
- 170 { label: '男', value: 'male' },
143
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
144
-
145
- ../types/dist/fields.d.ts:68:5
146
- 68 text: string;
147
-    ~~~~
148
- 'text' is declared here.
149
- src/stories/BsConditionInput.stories.tsx:171:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
150
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
151
-
152
- 171 { label: '女', value: 'female' },
153
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
154
-
155
- ../types/dist/fields.d.ts:68:5
156
- 68 text: string;
157
-    ~~~~
158
- 'text' is declared here.
159
- src/stories/BsConditionInput.stories.tsx:182:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
160
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
161
-
162
- 182 { label: '选项A', value: 'a' },
163
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
164
-
165
- ../types/dist/fields.d.ts:68:5
166
- 68 text: string;
167
-    ~~~~
168
- 'text' is declared here.
169
- src/stories/BsConditionInput.stories.tsx:183:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
170
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
171
-
172
- 183 { label: '选项B', value: 'b' },
173
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
174
-
175
- ../types/dist/fields.d.ts:68:5
176
- 68 text: string;
177
-    ~~~~
178
- 'text' is declared here.
179
- src/stories/BsConditionInput.stories.tsx:184:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
180
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
181
-
182
- 184 { label: '选项C', value: 'c' },
183
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
184
-
185
- ../types/dist/fields.d.ts:68:5
186
- 68 text: string;
187
-    ~~~~
188
- 'text' is declared here.
189
- src/stories/ConditionGroup.stories.tsx:34:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
190
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
191
-
192
- 34 { label: '男', value: 'male' },
193
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
194
-
195
- ../types/dist/fields.d.ts:68:5
196
- 68 text: string;
197
-    ~~~~
198
- 'text' is declared here.
199
- src/stories/ConditionGroup.stories.tsx:35:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
200
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
201
-
202
- 35 { label: '女', value: 'female' },
203
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
204
-
205
- ../types/dist/fields.d.ts:68:5
206
- 68 text: string;
207
-    ~~~~
208
- 'text' is declared here.
209
- src/stories/ConditionGroup.stories.tsx:46:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
210
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
211
-
212
- 46 { label: '北京', value: 'beijing' },
213
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
214
-
215
- ../types/dist/fields.d.ts:68:5
216
- 68 text: string;
217
-    ~~~~
218
- 'text' is declared here.
219
- src/stories/ConditionGroup.stories.tsx:47:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
220
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
221
-
222
- 47 { label: '上海', value: 'shanghai' },
223
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
224
-
225
- ../types/dist/fields.d.ts:68:5
226
- 68 text: string;
227
-    ~~~~
228
- 'text' is declared here.
229
- src/stories/ConditionGroup.stories.tsx:48:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
230
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
231
-
232
- 48 { label: '广州', value: 'guangzhou' },
233
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234
-
235
- ../types/dist/fields.d.ts:68:5
236
- 68 text: string;
237
-    ~~~~
238
- 'text' is declared here.
239
- src/stories/ConditionGroup.stories.tsx:59:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
240
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
241
-
242
- 59 { label: '阅读', value: 'reading' },
243
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244
-
245
- ../types/dist/fields.d.ts:68:5
246
- 68 text: string;
247
-    ~~~~
248
- 'text' is declared here.
249
- src/stories/ConditionGroup.stories.tsx:60:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
250
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
251
-
252
- 60 { label: '运动', value: 'sports' },
253
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
254
-
255
- ../types/dist/fields.d.ts:68:5
256
- 68 text: string;
257
-    ~~~~
258
- 'text' is declared here.
259
- src/stories/ConditionGroup.stories.tsx:61:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
260
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
261
-
262
- 61 { label: '音乐', value: 'music' },
263
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
264
-
265
- ../types/dist/fields.d.ts:68:5
266
- 68 text: string;
267
-    ~~~~
268
- 'text' is declared here.
269
- src/stories/ConditionInput.stories.tsx:6:7 - error TS2741: Property 'setContext' is missing in type '{ searchUsers: (keyword: string) => Promise<{ id: string; name: string; }[]>; searchDepts: (keyword: string) => Promise<{ id: string; name: string; }[]>; searchUserGroups: (keyword: string) => Promise<...>; searchDeptGroups: (keyword: string) => Promise<...>; searchAddress: (keyword: string) => Promise<...>; searchL...' but required in type 'IFieldValueService'.
270
-
271
- 6 const mockService: IFieldValueService = {
272
-    ~~~~~~~~~~~
273
-
274
- ../types/dist/services/index.d.ts:122:5
275
- 122 setContext: (appId: string, entryId: string) => void;
276
-    ~~~~~~~~~~
277
- 'setContext' is declared here.
278
- src/stories/ConditionInput.stories.tsx:96:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
279
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
280
-
281
- 96 { label: '男', value: 'male' },
282
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
283
-
284
- ../types/dist/fields.d.ts:68:5
285
- 68 text: string;
286
-    ~~~~
287
- 'text' is declared here.
288
- src/stories/ConditionInput.stories.tsx:97:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
289
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
290
-
291
- 97 { label: '女', value: 'female' },
292
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
293
-
294
- ../types/dist/fields.d.ts:68:5
295
- 68 text: string;
296
-    ~~~~
297
- 'text' is declared here.
298
- src/stories/ConditionInput.stories.tsx:108:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
299
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
300
-
301
- 108 { label: '北京', value: 'beijing' },
302
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
303
-
304
- ../types/dist/fields.d.ts:68:5
305
- 68 text: string;
306
-    ~~~~
307
- 'text' is declared here.
308
- src/stories/ConditionInput.stories.tsx:109:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
309
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
310
-
311
- 109 { label: '上海', value: 'shanghai' },
312
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
313
-
314
- ../types/dist/fields.d.ts:68:5
315
- 68 text: string;
316
-    ~~~~
317
- 'text' is declared here.
318
- src/stories/ConditionInput.stories.tsx:110:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
319
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
320
-
321
- 110 { label: '广州', value: 'guangzhou' },
322
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
323
-
324
- ../types/dist/fields.d.ts:68:5
325
- 68 text: string;
326
-    ~~~~
327
- 'text' is declared here.
328
- src/stories/ConditionInput.stories.tsx:121:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
329
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
330
-
331
- 121 { label: '阅读', value: 'reading' },
332
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333
-
334
- ../types/dist/fields.d.ts:68:5
335
- 68 text: string;
336
-    ~~~~
337
- 'text' is declared here.
338
- src/stories/ConditionInput.stories.tsx:122:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
339
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
340
-
341
- 122 { label: '运动', value: 'sports' },
342
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
343
-
344
- ../types/dist/fields.d.ts:68:5
345
- 68 text: string;
346
-    ~~~~
347
- 'text' is declared here.
348
- src/stories/ConditionInput.stories.tsx:123:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
349
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
350
-
351
- 123 { label: '音乐', value: 'music' },
352
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
353
-
354
- ../types/dist/fields.d.ts:68:5
355
- 68 text: string;
356
-    ~~~~
357
- 'text' is declared here.
358
- src/stories/ConditionInput.stories.tsx:150:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
359
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
360
-
361
- 150 { label: '男', value: 'male' },
362
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
363
-
364
- ../types/dist/fields.d.ts:68:5
365
- 68 text: string;
366
-    ~~~~
367
- 'text' is declared here.
368
- src/stories/ConditionInput.stories.tsx:151:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
369
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
370
-
371
- 151 { label: '女', value: 'female' },
372
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
373
-
374
- ../types/dist/fields.d.ts:68:5
375
- 68 text: string;
376
-    ~~~~
377
- 'text' is declared here.
378
- src/stories/ConditionInput.stories.tsx:162:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
379
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
380
-
381
- 162 { label: '选项A', value: 'a' },
382
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
383
-
384
- ../types/dist/fields.d.ts:68:5
385
- 68 text: string;
386
-    ~~~~
387
- 'text' is declared here.
388
- src/stories/ConditionInput.stories.tsx:163:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
389
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
390
-
391
- 163 { label: '选项B', value: 'b' },
392
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
393
-
394
- ../types/dist/fields.d.ts:68:5
395
- 68 text: string;
396
-    ~~~~
397
- 'text' is declared here.
398
- src/stories/ConditionInput.stories.tsx:164:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
399
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
400
-
401
- 164 { label: '选项C', value: 'c' },
402
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
403
-
404
- ../types/dist/fields.d.ts:68:5
405
- 68 text: string;
406
-    ~~~~
407
- 'text' is declared here.
408
- src/stories/ConditionItem.stories.tsx:34:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
409
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
410
-
411
- 34 { label: '男', value: 'male' },
412
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
413
-
414
- ../types/dist/fields.d.ts:68:5
415
- 68 text: string;
416
-    ~~~~
417
- 'text' is declared here.
418
- src/stories/ConditionItem.stories.tsx:35:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
419
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
420
-
421
- 35 { label: '女', value: 'female' },
422
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
423
-
424
- ../types/dist/fields.d.ts:68:5
425
- 68 text: string;
426
-    ~~~~
427
- 'text' is declared here.
428
- src/stories/ConditionItem.stories.tsx:46:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
429
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
430
-
431
- 46 { label: '北京', value: 'beijing' },
432
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
433
-
434
- ../types/dist/fields.d.ts:68:5
435
- 68 text: string;
436
-    ~~~~
437
- 'text' is declared here.
438
- src/stories/ConditionItem.stories.tsx:47:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
439
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
440
-
441
- 47 { label: '上海', value: 'shanghai' },
442
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
443
-
444
- ../types/dist/fields.d.ts:68:5
445
- 68 text: string;
446
-    ~~~~
447
- 'text' is declared here.
448
- src/stories/ConditionItem.stories.tsx:48:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
449
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
450
-
451
- 48 { label: '广州', value: 'guangzhou' },
452
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
453
-
454
- ../types/dist/fields.d.ts:68:5
455
- 68 text: string;
456
-    ~~~~
457
- 'text' is declared here.
458
- src/stories/ConditionItem.stories.tsx:59:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
459
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
460
-
461
- 59 { label: '阅读', value: 'reading' },
462
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
463
-
464
- ../types/dist/fields.d.ts:68:5
465
- 68 text: string;
466
-    ~~~~
467
- 'text' is declared here.
468
- src/stories/ConditionItem.stories.tsx:60:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
469
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
470
-
471
- 60 { label: '运动', value: 'sports' },
472
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
473
-
474
- ../types/dist/fields.d.ts:68:5
475
- 68 text: string;
476
-    ~~~~
477
- 'text' is declared here.
478
- src/stories/ConditionItem.stories.tsx:61:9 - error TS2322: Type '{ label: string; value: string; }' is not assignable to type 'WidgetItem'.
479
- Property 'text' is missing in type '{ label: string; value: string; }' but required in type 'IOptionItem'.
480
-
481
- 61 { label: '音乐', value: 'music' },
482
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
483
-
484
- ../types/dist/fields.d.ts:68:5
485
- 68 text: string;
486
-    ~~~~
487
- 'text' is declared here.
488
- src/stories/field-checker-list-msg.stories.tsx:10:32 - error TS2322: Type 'string' is not assignable to type 'FieldType'.
489
-
490
- 10 widget: { widgetName: label, type },
491
-    ~~~~
492
-
493
- ../types/dist/fields.d.ts:72:5
494
- 72 type: FieldType;
495
-    ~~~~
496
- The expected type comes from property 'type' which is declared here on type 'IWidget'
497
- src/stories/field-checker.stories.tsx:9:3 - error TS2322: Type '{ type: FieldType; widgetName: string; refAppId?: string; linkForm?: string; value?: string | string[] | unknown; enable?: boolean; allowBlank?: boolean; allowImport?: boolean; linkFields?: Array<unknown>; loaddataconfig?: ILoadDataConfig; items?: Array<WidgetItem>; }' is not assignable to type 'IWidget'.
498
- Property 'value' is optional in type '{ type: FieldType; widgetName: string; refAppId?: string | undefined; linkForm?: string | undefined; value?: unknown; enable?: boolean | undefined; allowBlank?: boolean | undefined; allowImport?: boolean | undefined; linkFields?: unknown[] | undefined; loaddataconfig?: ILoadDataConfig | undefined; items?: WidgetItem...' but required in type 'IWidget'.
499
-
500
- 9 widget: {
501
-    ~~~~~~
502
-
503
- ../types/dist/fields.d.ts:88:5
504
- 88 widget: IWidget;
505
-    ~~~~~~
506
- The expected type comes from property 'widget' which is declared here on type 'IField'
507
- src/stories/field-checker.stories.tsx:51:37 - error TS2353: Object literal may only specify known properties, and 'color' does not exist in type 'WidgetItem'.
508
-
509
- 51 { value: "A", text: "A级", color: "#52c41a" },
510
-    ~~~~~
511
- src/stories/field-checker.stories.tsx:52:37 - error TS2353: Object literal may only specify known properties, and 'color' does not exist in type 'WidgetItem'.
512
-
513
- 52 { value: "B", text: "B级", color: "#1677ff" },
514
-    ~~~~~
515
- src/stories/field-checker.stories.tsx:53:37 - error TS2353: Object literal may only specify known properties, and 'color' does not exist in type 'WidgetItem'.
516
-
517
- 53 { value: "C", text: "C级", color: "#fa8c16" },
518
-    ~~~~~
519
- src/stories/field-checker.stories.tsx:63:24 - error TS2741: Property 'value' is missing in type '{ widgetName: string; type: "text"; }' but required in type 'IWidget'.
520
-
521
- 63 field: makeField({ widget: { widgetName: "supplier_name", type: "text" } }),
522
-    ~~~~~~
523
-
524
- ../types/dist/fields.d.ts:76:5
525
- 76 value: string | string[] | unknown;
526
-    ~~~~~
527
- 'value' is declared here.
528
- src/stories/field-checker.stories.tsx:79:13 - error TS2741: Property 'value' is missing in type '{ widgetName: string; type: "text"; }' but required in type 'Omit<IWidget, "items">'.
529
-
530
- 79 widget: { widgetName: "contact_name", type: "text" },
531
-    ~~~~~~
532
-
533
- ../types/dist/fields.d.ts:76:5
534
- 76 value: string | string[] | unknown;
535
-    ~~~~~
536
- 'value' is declared here.
537
- src/stories/field-checker.stories.tsx:83:13 - error TS2741: Property 'value' is missing in type '{ widgetName: string; type: "text"; }' but required in type 'Omit<IWidget, "items">'.
538
-
539
- 83 widget: { widgetName: "contact_phone", type: "text" },
540
-    ~~~~~~
541
-
542
- ../types/dist/fields.d.ts:76:5
543
- 76 value: string | string[] | unknown;
544
-    ~~~~~
545
- 'value' is declared here.
546
- src/stories/FieldSelect.stories.tsx:67:3 - error TS2741: Property 'widget' is missing in type '{ label: string; description: string; }' but required in type 'IField'.
547
-
548
- 67 { label: '无类型字段', description: '这个字段没有 widget' },
549
-    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
550
-
551
- ../types/dist/fields.d.ts:88:5
552
- 88 widget: IWidget;
553
-    ~~~~~~
554
- 'widget' is declared here.
555
- src/stories/FieldValueInput.stories.tsx:9:7 - error TS2741: Property 'setContext' is missing in type '{ searchUsers: (keyword: string) => Promise<{ id: string; name: string; avatar: string; }[]>; searchDepts: (keyword: string) => Promise<{ id: string; name: string; }[]>; searchUserGroups: (keyword: string) => Promise<...>; ... 5 more ...; searchDistinctValues: (_field: IField, keyword: string | undefined) => Promise...' but required in type 'IFieldValueService'.
556
-
557
- 9 const mockService: IFieldValueService = {
558
-    ~~~~~~~~~~~
559
-
560
- ../types/dist/services/index.d.ts:122:5
561
- 122 setContext: (appId: string, entryId: string) => void;
562
-    ~~~~~~~~~~
563
- 'setContext' is declared here.
564
-
565
- computing gzip size (0)...computing gzip size (1)...computing gzip size (2)...dist/index.css  8.08 kB │ gzip: 1.67 kB
566
- dist/ai-design.js 1,497.10 kB │ gzip: 352.91 kB │ map: 3,884.98 kB
567
- [vite:dts] Declaration files built in 7260ms.
568
- 
569
- rendering chunks (1)...computing gzip size (1)...dist/ai-design.umd.cjs 1,066.02 kB │ gzip: 300.79 kB │ map: 3,723.22 kB
570
- ✓ built in 10.94s
571
- ≈ tailwindcss v4.3.0
572
-
573
- Done in 81ms
574
- Stripped @layer directives. Output lines: 4134
@@ -1,19 +0,0 @@
1
- [10:58:41.218] [INFO] storybook v10.1.11
2
- [11:00:13.021] [DEBUG] Getting package.json info for /Users/bbbottle/Code/bs-chat-sdk/packages/ai-design/package.json...
3
- [11:00:13.184] [INFO] Starting...
4
- [11:00:13.190] [WARN] unable to find package.json for radix-ui
5
- [11:00:13.470] [DEBUG] Starting preview..
6
- [11:00:13.940] [DEBUG] Using tsconfig paths for react-docgen
7
- [11:00:13.984] [ERROR] Error: listen EADDRINUSE: address already in use :::6007
8
- at Server.setupListenHandle [as _listen2] (node:net:1937:16)
9
- at listenInCluster (node:net:1994:12)
10
- at Server.listen (node:net:2099:7)
11
- at _Polka.listen (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.8.0_react-dom@18.3.1_react@18.3.1/node_modules/storybook/dist/core-server/index.js:6099:110)
12
- at file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.8.0_react-dom@18.3.1_react@18.3.1/node_modules/storybook/dist/core-server/index.js:6816:39
13
- at new Promise (<anonymous>)
14
- at storybookDevServer (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.8.0_react-dom@18.3.1_react@18.3.1/node_modules/storybook/dist/core-server/index.js:6815:19)
15
- at async buildOrThrow (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.8.0_react-dom@18.3.1_react@18.3.1/node_modules/storybook/dist/core-server/index.js:5555:12)
16
- at async buildDevStandalone (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.8.0_react-dom@18.3.1_react@18.3.1/node_modules/storybook/dist/core-server/index.js:7208:66)
17
- at async withTelemetry (file:///Users/bbbottle/Code/bs-chat-sdk/node_modules/.pnpm/storybook@10.1.11_@testing-library+dom@10.4.1_prettier@3.8.0_react-dom@18.3.1_react@18.3.1/node_modules/storybook/dist/_node-chunks/chunk-2372JZ52.js:209:12)
18
- [11:00:13.985] [WARN] Broken build, fix the error above.
19
- You may need to refresh the browser.