@baishuyun/chat-sdk 0.1.0 → 0.1.2

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 (437) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/chat-sdk.js +13 -11
  3. package/dist/chat-sdk.js.map +1 -1
  4. package/dist/chat-sdk.umd.cjs +2 -2
  5. package/dist/chat-sdk.umd.cjs.map +1 -1
  6. package/package.json +3 -3
  7. package/src/components/biz-comp/multi-modal-input/index.tsx +1 -1
  8. package/src/components/bs-ui/fields-design-info-table.tsx +9 -9
  9. package/src/plugins/form-builder-plugin/utils/index.ts +6 -1
  10. package/dist/chat.d.ts +0 -5
  11. package/dist/chat.d.ts.map +0 -1
  12. package/dist/components/biz-comp/FakeBotMsg.d.ts +0 -8
  13. package/dist/components/biz-comp/FakeBotMsg.d.ts.map +0 -1
  14. package/dist/components/biz-comp/FieldChecker.d.ts +0 -19
  15. package/dist/components/biz-comp/FieldChecker.d.ts.map +0 -1
  16. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts +0 -19
  17. package/dist/components/biz-comp/FieldCheckerListMsg.d.ts.map +0 -1
  18. package/dist/components/biz-comp/FieldValueChecker.d.ts +0 -16
  19. package/dist/components/biz-comp/FieldValueChecker.d.ts.map +0 -1
  20. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts +0 -22
  21. package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts.map +0 -1
  22. package/dist/components/biz-comp/chat-client.d.ts +0 -13
  23. package/dist/components/biz-comp/chat-client.d.ts.map +0 -1
  24. package/dist/components/biz-comp/chat-frame.d.ts +0 -6
  25. package/dist/components/biz-comp/chat-frame.d.ts.map +0 -1
  26. package/dist/components/biz-comp/conversation.d.ts +0 -10
  27. package/dist/components/biz-comp/conversation.d.ts.map +0 -1
  28. package/dist/components/biz-comp/dash-widget-icon.d.ts +0 -7
  29. package/dist/components/biz-comp/dash-widget-icon.d.ts.map +0 -1
  30. package/dist/components/biz-comp/dock-btn.d.ts +0 -2
  31. package/dist/components/biz-comp/dock-btn.d.ts.map +0 -1
  32. package/dist/components/biz-comp/error-boundary.d.ts +0 -15
  33. package/dist/components/biz-comp/error-boundary.d.ts.map +0 -1
  34. package/dist/components/biz-comp/error-msg.d.ts +0 -4
  35. package/dist/components/biz-comp/error-msg.d.ts.map +0 -1
  36. package/dist/components/biz-comp/field-icon.d.ts +0 -5
  37. package/dist/components/biz-comp/field-icon.d.ts.map +0 -1
  38. package/dist/components/biz-comp/highlight-msg.d.ts +0 -4
  39. package/dist/components/biz-comp/highlight-msg.d.ts.map +0 -1
  40. package/dist/components/biz-comp/markdown-part.d.ts +0 -7
  41. package/dist/components/biz-comp/markdown-part.d.ts.map +0 -1
  42. package/dist/components/biz-comp/markdown.d.ts +0 -5
  43. package/dist/components/biz-comp/markdown.d.ts.map +0 -1
  44. package/dist/components/biz-comp/message-content.d.ts +0 -6
  45. package/dist/components/biz-comp/message-content.d.ts.map +0 -1
  46. package/dist/components/biz-comp/messages.d.ts +0 -3
  47. package/dist/components/biz-comp/messages.d.ts.map +0 -1
  48. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts +0 -9
  49. package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts.map +0 -1
  50. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts +0 -8
  51. package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts.map +0 -1
  52. package/dist/components/biz-comp/multi-modal-input/index.d.ts +0 -21
  53. package/dist/components/biz-comp/multi-modal-input/index.d.ts.map +0 -1
  54. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts +0 -12
  55. package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts.map +0 -1
  56. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts +0 -36
  57. package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts.map +0 -1
  58. package/dist/components/biz-comp/opening-lines.d.ts +0 -3
  59. package/dist/components/biz-comp/opening-lines.d.ts.map +0 -1
  60. package/dist/components/biz-comp/preview-message-wrapper.d.ts +0 -12
  61. package/dist/components/biz-comp/preview-message-wrapper.d.ts.map +0 -1
  62. package/dist/components/biz-comp/preview-message.d.ts +0 -13
  63. package/dist/components/biz-comp/preview-message.d.ts.map +0 -1
  64. package/dist/components/biz-comp/response.d.ts +0 -6
  65. package/dist/components/biz-comp/response.d.ts.map +0 -1
  66. package/dist/components/biz-comp/suggestions.d.ts +0 -8
  67. package/dist/components/biz-comp/suggestions.d.ts.map +0 -1
  68. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts +0 -10
  69. package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts.map +0 -1
  70. package/dist/components/bs-ui/attachment-part-group.d.ts +0 -16
  71. package/dist/components/bs-ui/attachment-part-group.d.ts.map +0 -1
  72. package/dist/components/bs-ui/attachment-part.d.ts +0 -19
  73. package/dist/components/bs-ui/attachment-part.d.ts.map +0 -1
  74. package/dist/components/bs-ui/attachments-previewer.d.ts +0 -18
  75. package/dist/components/bs-ui/attachments-previewer.d.ts.map +0 -1
  76. package/dist/components/bs-ui/base-button.d.ts +0 -8
  77. package/dist/components/bs-ui/base-button.d.ts.map +0 -1
  78. package/dist/components/bs-ui/border-animation.d.ts +0 -23
  79. package/dist/components/bs-ui/border-animation.d.ts.map +0 -1
  80. package/dist/components/bs-ui/border-color-animation.d.ts +0 -11
  81. package/dist/components/bs-ui/border-color-animation.d.ts.map +0 -1
  82. package/dist/components/bs-ui/bot-avatar-name.d.ts +0 -6
  83. package/dist/components/bs-ui/bot-avatar-name.d.ts.map +0 -1
  84. package/dist/components/bs-ui/bot-icon.d.ts +0 -5
  85. package/dist/components/bs-ui/bot-icon.d.ts.map +0 -1
  86. package/dist/components/bs-ui/bs-icons.d.ts +0 -65
  87. package/dist/components/bs-ui/bs-icons.d.ts.map +0 -1
  88. package/dist/components/bs-ui/card-field.d.ts +0 -11
  89. package/dist/components/bs-ui/card-field.d.ts.map +0 -1
  90. package/dist/components/bs-ui/card.d.ts +0 -11
  91. package/dist/components/bs-ui/card.d.ts.map +0 -1
  92. package/dist/components/bs-ui/chat-area-header.d.ts +0 -13
  93. package/dist/components/bs-ui/chat-area-header.d.ts.map +0 -1
  94. package/dist/components/bs-ui/circle-checker.d.ts +0 -10
  95. package/dist/components/bs-ui/circle-checker.d.ts.map +0 -1
  96. package/dist/components/bs-ui/collapsible-txt-msg.d.ts +0 -11
  97. package/dist/components/bs-ui/collapsible-txt-msg.d.ts.map +0 -1
  98. package/dist/components/bs-ui/confirm-dialog.d.ts +0 -26
  99. package/dist/components/bs-ui/confirm-dialog.d.ts.map +0 -1
  100. package/dist/components/bs-ui/fields-design-info-table.d.ts +0 -7
  101. package/dist/components/bs-ui/fields-design-info-table.d.ts.map +0 -1
  102. package/dist/components/bs-ui/fields-generating-indicator.d.ts +0 -6
  103. package/dist/components/bs-ui/fields-generating-indicator.d.ts.map +0 -1
  104. package/dist/components/bs-ui/fields-portal.d.ts +0 -8
  105. package/dist/components/bs-ui/fields-portal.d.ts.map +0 -1
  106. package/dist/components/bs-ui/fields-previewer.d.ts +0 -18
  107. package/dist/components/bs-ui/fields-previewer.d.ts.map +0 -1
  108. package/dist/components/bs-ui/font-icon.d.ts +0 -6
  109. package/dist/components/bs-ui/font-icon.d.ts.map +0 -1
  110. package/dist/components/bs-ui/form-info-editor.d.ts +0 -37
  111. package/dist/components/bs-ui/form-info-editor.d.ts.map +0 -1
  112. package/dist/components/bs-ui/formula-tag.d.ts +0 -8
  113. package/dist/components/bs-ui/formula-tag.d.ts.map +0 -1
  114. package/dist/components/bs-ui/generate-animation.d.ts +0 -5
  115. package/dist/components/bs-ui/generate-animation.d.ts.map +0 -1
  116. package/dist/components/bs-ui/icon-btn.d.ts +0 -9
  117. package/dist/components/bs-ui/icon-btn.d.ts.map +0 -1
  118. package/dist/components/bs-ui/img-part.d.ts +0 -10
  119. package/dist/components/bs-ui/img-part.d.ts.map +0 -1
  120. package/dist/components/bs-ui/line-checker.d.ts +0 -19
  121. package/dist/components/bs-ui/line-checker.d.ts.map +0 -1
  122. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts +0 -10
  123. package/dist/components/bs-ui/linear-gradient-border-btn.d.ts.map +0 -1
  124. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts +0 -8
  125. package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts.map +0 -1
  126. package/dist/components/bs-ui/number-part.d.ts +0 -9
  127. package/dist/components/bs-ui/number-part.d.ts.map +0 -1
  128. package/dist/components/bs-ui/option-item.d.ts +0 -9
  129. package/dist/components/bs-ui/option-item.d.ts.map +0 -1
  130. package/dist/components/bs-ui/previewer-header.d.ts +0 -20
  131. package/dist/components/bs-ui/previewer-header.d.ts.map +0 -1
  132. package/dist/components/bs-ui/primary-confirm-btn.d.ts +0 -10
  133. package/dist/components/bs-ui/primary-confirm-btn.d.ts.map +0 -1
  134. package/dist/components/bs-ui/primary-entry-btn.d.ts +0 -9
  135. package/dist/components/bs-ui/primary-entry-btn.d.ts.map +0 -1
  136. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts +0 -6
  137. package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts.map +0 -1
  138. package/dist/components/bs-ui/split-line.d.ts +0 -5
  139. package/dist/components/bs-ui/split-line.d.ts.map +0 -1
  140. package/dist/components/bs-ui/square-checker.d.ts +0 -15
  141. package/dist/components/bs-ui/square-checker.d.ts.map +0 -1
  142. package/dist/components/bs-ui/tab-radio-group.d.ts +0 -19
  143. package/dist/components/bs-ui/tab-radio-group.d.ts.map +0 -1
  144. package/dist/components/bs-ui/tooltip.d.ts +0 -6
  145. package/dist/components/bs-ui/tooltip.d.ts.map +0 -1
  146. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts +0 -6
  147. package/dist/components/bs-ui/user-txt-msg-bubble.d.ts.map +0 -1
  148. package/dist/components/bs-ui/warning-msg.d.ts +0 -6
  149. package/dist/components/bs-ui/warning-msg.d.ts.map +0 -1
  150. package/dist/components/ui/badge.d.ts +0 -10
  151. package/dist/components/ui/badge.d.ts.map +0 -1
  152. package/dist/components/ui/button.d.ts +0 -12
  153. package/dist/components/ui/button.d.ts.map +0 -1
  154. package/dist/components/ui/card.d.ts +0 -9
  155. package/dist/components/ui/card.d.ts.map +0 -1
  156. package/dist/components/ui/checkbox.d.ts +0 -5
  157. package/dist/components/ui/checkbox.d.ts.map +0 -1
  158. package/dist/components/ui/collapsible.d.ts +0 -6
  159. package/dist/components/ui/collapsible.d.ts.map +0 -1
  160. package/dist/components/ui/dialog.d.ts +0 -24
  161. package/dist/components/ui/dialog.d.ts.map +0 -1
  162. package/dist/components/ui/dropdown-menu.d.ts +0 -28
  163. package/dist/components/ui/dropdown-menu.d.ts.map +0 -1
  164. package/dist/components/ui/icons.d.ts +0 -176
  165. package/dist/components/ui/icons.d.ts.map +0 -1
  166. package/dist/components/ui/input-group.d.ts +0 -17
  167. package/dist/components/ui/input-group.d.ts.map +0 -1
  168. package/dist/components/ui/input.d.ts +0 -4
  169. package/dist/components/ui/input.d.ts.map +0 -1
  170. package/dist/components/ui/label.d.ts +0 -6
  171. package/dist/components/ui/label.d.ts.map +0 -1
  172. package/dist/components/ui/one-time-click-btn.d.ts +0 -4
  173. package/dist/components/ui/one-time-click-btn.d.ts.map +0 -1
  174. package/dist/components/ui/select.d.ts +0 -14
  175. package/dist/components/ui/select.d.ts.map +0 -1
  176. package/dist/components/ui/spinner.d.ts +0 -3
  177. package/dist/components/ui/spinner.d.ts.map +0 -1
  178. package/dist/components/ui/tabs.d.ts +0 -8
  179. package/dist/components/ui/tabs.d.ts.map +0 -1
  180. package/dist/components/ui/textarea.d.ts +0 -4
  181. package/dist/components/ui/textarea.d.ts.map +0 -1
  182. package/dist/components/ui/tooltip.d.ts +0 -13
  183. package/dist/components/ui/tooltip.d.ts.map +0 -1
  184. package/dist/components/web-comp/fields-previewer-web-component.d.ts +0 -60
  185. package/dist/components/web-comp/fields-previewer-web-component.d.ts.map +0 -1
  186. package/dist/const/index.d.ts +0 -5
  187. package/dist/const/index.d.ts.map +0 -1
  188. package/dist/const/ui.d.ts +0 -7
  189. package/dist/const/ui.d.ts.map +0 -1
  190. package/dist/hooks/use-chat-preference.d.ts +0 -3
  191. package/dist/hooks/use-chat-preference.d.ts.map +0 -1
  192. package/dist/hooks/use-draggable.d.ts +0 -24
  193. package/dist/hooks/use-draggable.d.ts.map +0 -1
  194. package/dist/hooks/use-evt-bus.d.ts +0 -2
  195. package/dist/hooks/use-evt-bus.d.ts.map +0 -1
  196. package/dist/hooks/use-evt.d.ts +0 -3
  197. package/dist/hooks/use-evt.d.ts.map +0 -1
  198. package/dist/hooks/use-frame-mode.d.ts +0 -20
  199. package/dist/hooks/use-frame-mode.d.ts.map +0 -1
  200. package/dist/hooks/use-merged-chat.d.ts +0 -7
  201. package/dist/hooks/use-merged-chat.d.ts.map +0 -1
  202. package/dist/hooks/use-msg-status-broadcast.d.ts +0 -3
  203. package/dist/hooks/use-msg-status-broadcast.d.ts.map +0 -1
  204. package/dist/hooks/use-plugin-component.d.ts +0 -5
  205. package/dist/hooks/use-plugin-component.d.ts.map +0 -1
  206. package/dist/hooks/use-plugin-ctx.d.ts +0 -3
  207. package/dist/hooks/use-plugin-ctx.d.ts.map +0 -1
  208. package/dist/hooks/use-plugin-custom-components.d.ts +0 -5
  209. package/dist/hooks/use-plugin-custom-components.d.ts.map +0 -1
  210. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts +0 -5
  211. package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts.map +0 -1
  212. package/dist/hooks/use-plugin-list.d.ts +0 -2
  213. package/dist/hooks/use-plugin-list.d.ts.map +0 -1
  214. package/dist/hooks/use-plugin.d.ts +0 -2
  215. package/dist/hooks/use-plugin.d.ts.map +0 -1
  216. package/dist/hooks/use-scroll-to-bottom.d.ts +0 -9
  217. package/dist/hooks/use-scroll-to-bottom.d.ts.map +0 -1
  218. package/dist/hooks/use-shadow.d.ts +0 -25
  219. package/dist/hooks/use-shadow.d.ts.map +0 -1
  220. package/dist/hooks/use-toast.d.ts +0 -3
  221. package/dist/hooks/use-toast.d.ts.map +0 -1
  222. package/dist/index.d.ts +0 -6
  223. package/dist/index.d.ts.map +0 -1
  224. package/dist/lib/clone.d.ts +0 -32
  225. package/dist/lib/clone.d.ts.map +0 -1
  226. package/dist/lib/event-emitter.d.ts +0 -39
  227. package/dist/lib/event-emitter.d.ts.map +0 -1
  228. package/dist/lib/parse-design-doc.d.ts +0 -16
  229. package/dist/lib/parse-design-doc.d.ts.map +0 -1
  230. package/dist/lib/readonly.d.ts +0 -14
  231. package/dist/lib/readonly.d.ts.map +0 -1
  232. package/dist/lib/utils.d.ts +0 -55
  233. package/dist/lib/utils.d.ts.map +0 -1
  234. package/dist/plugins/form-builder-base-plugin/const.d.ts +0 -3
  235. package/dist/plugins/form-builder-base-plugin/const.d.ts.map +0 -1
  236. package/dist/plugins/form-builder-base-plugin/index.d.ts +0 -7
  237. package/dist/plugins/form-builder-base-plugin/index.d.ts.map +0 -1
  238. package/dist/plugins/form-builder-base-plugin/types.d.ts +0 -12
  239. package/dist/plugins/form-builder-base-plugin/types.d.ts.map +0 -1
  240. package/dist/plugins/form-builder-plugin/components/create-form-confirm.d.ts +0 -7
  241. package/dist/plugins/form-builder-plugin/components/create-form-confirm.d.ts.map +0 -1
  242. package/dist/plugins/form-builder-plugin/components/design-doc-part.d.ts +0 -4
  243. package/dist/plugins/form-builder-plugin/components/design-doc-part.d.ts.map +0 -1
  244. package/dist/plugins/form-builder-plugin/components/design-info.d.ts +0 -6
  245. package/dist/plugins/form-builder-plugin/components/design-info.d.ts.map +0 -1
  246. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts +0 -3
  247. package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts.map +0 -1
  248. package/dist/plugins/form-builder-plugin/components/fields-part.d.ts +0 -4
  249. package/dist/plugins/form-builder-plugin/components/fields-part.d.ts.map +0 -1
  250. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts +0 -3
  251. package/dist/plugins/form-builder-plugin/components/follow-up.d.ts.map +0 -1
  252. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts +0 -3
  253. package/dist/plugins/form-builder-plugin/components/msg-part.d.ts.map +0 -1
  254. package/dist/plugins/form-builder-plugin/components/opening-lines.d.ts +0 -3
  255. package/dist/plugins/form-builder-plugin/components/opening-lines.d.ts.map +0 -1
  256. package/dist/plugins/form-builder-plugin/components/suggestion-part.d.ts +0 -5
  257. package/dist/plugins/form-builder-plugin/components/suggestion-part.d.ts.map +0 -1
  258. package/dist/plugins/form-builder-plugin/const/index.d.ts +0 -12
  259. package/dist/plugins/form-builder-plugin/const/index.d.ts.map +0 -1
  260. package/dist/plugins/form-builder-plugin/hooks/index.d.ts +0 -4
  261. package/dist/plugins/form-builder-plugin/hooks/index.d.ts.map +0 -1
  262. package/dist/plugins/form-builder-plugin/hooks/use-fields-confirmed.d.ts +0 -2
  263. package/dist/plugins/form-builder-plugin/hooks/use-fields-confirmed.d.ts.map +0 -1
  264. package/dist/plugins/form-builder-plugin/index.d.ts +0 -30
  265. package/dist/plugins/form-builder-plugin/index.d.ts.map +0 -1
  266. package/dist/plugins/form-builder-plugin/types.d.ts +0 -28
  267. package/dist/plugins/form-builder-plugin/types.d.ts.map +0 -1
  268. package/dist/plugins/form-builder-plugin/utils/get-render-strategy.d.ts +0 -3
  269. package/dist/plugins/form-builder-plugin/utils/get-render-strategy.d.ts.map +0 -1
  270. package/dist/plugins/form-builder-plugin/utils/index.d.ts +0 -57
  271. package/dist/plugins/form-builder-plugin/utils/index.d.ts.map +0 -1
  272. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts +0 -26
  273. package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts.map +0 -1
  274. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts +0 -3
  275. package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts.map +0 -1
  276. package/dist/plugins/form-filling-plugin/components/avatar.d.ts +0 -5
  277. package/dist/plugins/form-filling-plugin/components/avatar.d.ts.map +0 -1
  278. package/dist/plugins/form-filling-plugin/components/batch-fill-part.d.ts +0 -4
  279. package/dist/plugins/form-filling-plugin/components/batch-fill-part.d.ts.map +0 -1
  280. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts +0 -14
  281. package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts.map +0 -1
  282. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts +0 -3
  283. package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts.map +0 -1
  284. package/dist/plugins/form-filling-plugin/components/first-batch-generating-animation.d.ts +0 -2
  285. package/dist/plugins/form-filling-plugin/components/first-batch-generating-animation.d.ts.map +0 -1
  286. package/dist/plugins/form-filling-plugin/components/generated-data-counter.d.ts +0 -5
  287. package/dist/plugins/form-filling-plugin/components/generated-data-counter.d.ts.map +0 -1
  288. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts +0 -2
  289. package/dist/plugins/form-filling-plugin/components/mode-select.d.ts.map +0 -1
  290. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts +0 -3
  291. package/dist/plugins/form-filling-plugin/components/msg-part.d.ts.map +0 -1
  292. package/dist/plugins/form-filling-plugin/components/non-first-batch-generating-animation.d.ts +0 -2
  293. package/dist/plugins/form-filling-plugin/components/non-first-batch-generating-animation.d.ts.map +0 -1
  294. package/dist/plugins/form-filling-plugin/components/single-fill-part.d.ts +0 -4
  295. package/dist/plugins/form-filling-plugin/components/single-fill-part.d.ts.map +0 -1
  296. package/dist/plugins/form-filling-plugin/const.d.ts +0 -615
  297. package/dist/plugins/form-filling-plugin/const.d.ts.map +0 -1
  298. package/dist/plugins/form-filling-plugin/hooks/use-conversation-id-in-ctx.d.ts +0 -3
  299. package/dist/plugins/form-filling-plugin/hooks/use-conversation-id-in-ctx.d.ts.map +0 -1
  300. package/dist/plugins/form-filling-plugin/hooks/use-fields-data.d.ts +0 -4
  301. package/dist/plugins/form-filling-plugin/hooks/use-fields-data.d.ts.map +0 -1
  302. package/dist/plugins/form-filling-plugin/index.d.ts +0 -22
  303. package/dist/plugins/form-filling-plugin/index.d.ts.map +0 -1
  304. package/dist/plugins/form-filling-plugin/types.d.ts +0 -22
  305. package/dist/plugins/form-filling-plugin/types.d.ts.map +0 -1
  306. package/dist/plugins/form-filling-plugin/utils.d.ts +0 -6
  307. package/dist/plugins/form-filling-plugin/utils.d.ts.map +0 -1
  308. package/dist/plugins/report-query-plugin/components/avatar.d.ts +0 -5
  309. package/dist/plugins/report-query-plugin/components/avatar.d.ts.map +0 -1
  310. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts +0 -3
  311. package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts.map +0 -1
  312. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts +0 -3
  313. package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts.map +0 -1
  314. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts +0 -2
  315. package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts.map +0 -1
  316. package/dist/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.d.ts +0 -7
  317. package/dist/plugins/report-query-plugin/components/result-cards/CreatedSourceMsg.d.ts.map +0 -1
  318. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts +0 -5
  319. package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts.map +0 -1
  320. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts +0 -18
  321. package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts.map +0 -1
  322. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts +0 -4
  323. package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts.map +0 -1
  324. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts +0 -8
  325. package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts.map +0 -1
  326. package/dist/plugins/report-query-plugin/const.d.ts +0 -5
  327. package/dist/plugins/report-query-plugin/const.d.ts.map +0 -1
  328. package/dist/plugins/report-query-plugin/index.d.ts +0 -19
  329. package/dist/plugins/report-query-plugin/index.d.ts.map +0 -1
  330. package/dist/plugins/report-query-plugin/types.d.ts +0 -18
  331. package/dist/plugins/report-query-plugin/types.d.ts.map +0 -1
  332. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts +0 -17
  333. package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts.map +0 -1
  334. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts +0 -30
  335. package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts.map +0 -1
  336. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts +0 -60
  337. package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts.map +0 -1
  338. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts +0 -31
  339. package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts.map +0 -1
  340. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts +0 -208
  341. package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts.map +0 -1
  342. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts +0 -4
  343. package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts.map +0 -1
  344. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts +0 -4
  345. package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts.map +0 -1
  346. package/dist/plugins/report-query-plugin/utils/index.d.ts +0 -5
  347. package/dist/plugins/report-query-plugin/utils/index.d.ts.map +0 -1
  348. package/dist/sdk.impl.d.ts +0 -42
  349. package/dist/sdk.impl.d.ts.map +0 -1
  350. package/dist/store/context.d.ts +0 -12
  351. package/dist/store/context.d.ts.map +0 -1
  352. package/dist/store/index.d.ts +0 -14
  353. package/dist/store/index.d.ts.map +0 -1
  354. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts +0 -17
  355. package/dist/stories/AbsFullscreenGradientBg.stories.d.ts.map +0 -1
  356. package/dist/stories/AttachmentPart.stories.d.ts +0 -23
  357. package/dist/stories/AttachmentPart.stories.d.ts.map +0 -1
  358. package/dist/stories/AttachmentPartGroup.stories.d.ts +0 -21
  359. package/dist/stories/AttachmentPartGroup.stories.d.ts.map +0 -1
  360. package/dist/stories/AttachmentsPreviewer.stories.d.ts +0 -20
  361. package/dist/stories/AttachmentsPreviewer.stories.d.ts.map +0 -1
  362. package/dist/stories/BaseButton.stories.d.ts +0 -18
  363. package/dist/stories/BaseButton.stories.d.ts.map +0 -1
  364. package/dist/stories/BorderAnimation.stories.d.ts +0 -21
  365. package/dist/stories/BorderAnimation.stories.d.ts.map +0 -1
  366. package/dist/stories/BorderColorAnimation.stories.d.ts +0 -26
  367. package/dist/stories/BorderColorAnimation.stories.d.ts.map +0 -1
  368. package/dist/stories/BotAvatarAndName.stories.d.ts +0 -18
  369. package/dist/stories/BotAvatarAndName.stories.d.ts.map +0 -1
  370. package/dist/stories/BotIcon.stories.d.ts +0 -17
  371. package/dist/stories/BotIcon.stories.d.ts.map +0 -1
  372. package/dist/stories/BsTooltip.stories.d.ts +0 -7
  373. package/dist/stories/BsTooltip.stories.d.ts.map +0 -1
  374. package/dist/stories/Card.stories.d.ts +0 -14
  375. package/dist/stories/Card.stories.d.ts.map +0 -1
  376. package/dist/stories/CardField.stories.d.ts +0 -13
  377. package/dist/stories/CardField.stories.d.ts.map +0 -1
  378. package/dist/stories/ChatAreaHeader.stories.d.ts +0 -14
  379. package/dist/stories/ChatAreaHeader.stories.d.ts.map +0 -1
  380. package/dist/stories/CircleChecker.stories.d.ts +0 -21
  381. package/dist/stories/CircleChecker.stories.d.ts.map +0 -1
  382. package/dist/stories/CollapsibleTextMsg.stories.d.ts +0 -16
  383. package/dist/stories/CollapsibleTextMsg.stories.d.ts.map +0 -1
  384. package/dist/stories/ConfirmDialog.stories.d.ts +0 -61
  385. package/dist/stories/ConfirmDialog.stories.d.ts.map +0 -1
  386. package/dist/stories/DashWidgetIcon.stories.d.ts +0 -13
  387. package/dist/stories/DashWidgetIcon.stories.d.ts.map +0 -1
  388. package/dist/stories/FormInfoEditor.stories.d.ts +0 -15
  389. package/dist/stories/FormInfoEditor.stories.d.ts.map +0 -1
  390. package/dist/stories/FormulaField.stories.d.ts +0 -24
  391. package/dist/stories/FormulaField.stories.d.ts.map +0 -1
  392. package/dist/stories/FormulaTag.stories.d.ts +0 -37
  393. package/dist/stories/FormulaTag.stories.d.ts.map +0 -1
  394. package/dist/stories/GenerateAnimation.stories.d.ts +0 -17
  395. package/dist/stories/GenerateAnimation.stories.d.ts.map +0 -1
  396. package/dist/stories/IconBtn.stories.d.ts +0 -15
  397. package/dist/stories/IconBtn.stories.d.ts.map +0 -1
  398. package/dist/stories/IconLib.d.ts +0 -12
  399. package/dist/stories/IconLib.d.ts.map +0 -1
  400. package/dist/stories/Icons.stories.d.ts +0 -24
  401. package/dist/stories/Icons.stories.d.ts.map +0 -1
  402. package/dist/stories/ImgMsgPart.stories.d.ts +0 -20
  403. package/dist/stories/ImgMsgPart.stories.d.ts.map +0 -1
  404. package/dist/stories/LineChecker.stories.d.ts +0 -23
  405. package/dist/stories/LineChecker.stories.d.ts.map +0 -1
  406. package/dist/stories/LinearGradientBorderBtn.stories.d.ts +0 -22
  407. package/dist/stories/LinearGradientBorderBtn.stories.d.ts.map +0 -1
  408. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts +0 -23
  409. package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts.map +0 -1
  410. package/dist/stories/NumbersMsgPart.stories.d.ts +0 -19
  411. package/dist/stories/NumbersMsgPart.stories.d.ts.map +0 -1
  412. package/dist/stories/OptionItem.stories.d.ts +0 -20
  413. package/dist/stories/OptionItem.stories.d.ts.map +0 -1
  414. package/dist/stories/PreviewerHeader.stories.d.ts +0 -12
  415. package/dist/stories/PreviewerHeader.stories.d.ts.map +0 -1
  416. package/dist/stories/PrimaryConfirmBtn.stories.d.ts +0 -19
  417. package/dist/stories/PrimaryConfirmBtn.stories.d.ts.map +0 -1
  418. package/dist/stories/PrimaryEntryBtn.stories.d.ts +0 -26
  419. package/dist/stories/PrimaryEntryBtn.stories.d.ts.map +0 -1
  420. package/dist/stories/ScrollToBottom.stories.d.ts +0 -15
  421. package/dist/stories/ScrollToBottom.stories.d.ts.map +0 -1
  422. package/dist/stories/SplitLine.stories.d.ts +0 -9
  423. package/dist/stories/SplitLine.stories.d.ts.map +0 -1
  424. package/dist/stories/SquareChecker.stories.d.ts +0 -26
  425. package/dist/stories/SquareChecker.stories.d.ts.map +0 -1
  426. package/dist/stories/TabRadioGroup.stories.d.ts +0 -18
  427. package/dist/stories/TabRadioGroup.stories.d.ts.map +0 -1
  428. package/dist/stories/UserTextMsgBubble.stories.d.ts +0 -14
  429. package/dist/stories/UserTextMsgBubble.stories.d.ts.map +0 -1
  430. package/dist/stories/WarningMessage.stories.d.ts +0 -16
  431. package/dist/stories/WarningMessage.stories.d.ts.map +0 -1
  432. package/dist/stories/fields-design-info-table.stories.d.ts +0 -14
  433. package/dist/stories/fields-design-info-table.stories.d.ts.map +0 -1
  434. package/dist/stories/fields-generating.stories.d.ts +0 -20
  435. package/dist/stories/fields-generating.stories.d.ts.map +0 -1
  436. package/dist/stories/fields-previewer.stories.d.ts +0 -19
  437. package/dist/stories/fields-previewer.stories.d.ts.map +0 -1
@@ -1,615 +0,0 @@
1
- import { FieldType, FormFillingEventKey, FormFillingMode } from '@baishuyun/types';
2
- export declare const PLUGIN_NAME = "form-filling-plugin";
3
- export declare const FILLING_EVENTS: Record<string, FormFillingEventKey>;
4
- export declare const WHITE_LIST_FIELDS_SET: Set<FieldType>;
5
- export declare const DEFAULT_FILLING_MODE: FormFillingMode;
6
- export declare const DATA_COUNT_PER_BATCH = 10;
7
- export declare const MOCK_FORM_STRUCTURE: ({
8
- description: string;
9
- label: string;
10
- lineWidth: number;
11
- widget: {
12
- customCls: null;
13
- enable: boolean;
14
- importMode: number;
15
- labelStyle: string;
16
- rules: ({
17
- digitsNum: number;
18
- fixedLength: boolean;
19
- resetDuration: string;
20
- startValue: number;
21
- type: string;
22
- chars?: undefined;
23
- } | {
24
- chars: string;
25
- type: string;
26
- digitsNum?: undefined;
27
- fixedLength?: undefined;
28
- resetDuration?: undefined;
29
- startValue?: undefined;
30
- })[];
31
- triggerEvent: number;
32
- type: string;
33
- visible: boolean;
34
- widgetName: string;
35
- widgetNameAlias: string;
36
- width: number;
37
- alertinfo?: undefined;
38
- allowBlank?: undefined;
39
- enterClearText?: undefined;
40
- eventAlert?: undefined;
41
- extendSet?: undefined;
42
- generateQR?: undefined;
43
- height?: undefined;
44
- libs?: undefined;
45
- noRepeat?: undefined;
46
- regex?: undefined;
47
- rely?: undefined;
48
- scan?: undefined;
49
- text?: undefined;
50
- textMode?: undefined;
51
- value?: undefined;
52
- allowAddLinkData?: undefined;
53
- colorEnable?: undefined;
54
- funMode?: undefined;
55
- items?: undefined;
56
- mode?: undefined;
57
- module?: undefined;
58
- layout?: undefined;
59
- stopCancel?: undefined;
60
- allowAddData?: undefined;
61
- allowImportV2?: undefined;
62
- allowLoadData?: undefined;
63
- loaddataconfig?: undefined;
64
- mobileStyle?: undefined;
65
- quick_fill?: undefined;
66
- sortable?: undefined;
67
- sticky_column?: undefined;
68
- sticky_column_mobile?: undefined;
69
- subFieldShowRules?: undefined;
70
- subform_create?: undefined;
71
- subform_dataload?: undefined;
72
- subform_delete?: undefined;
73
- subform_edit?: undefined;
74
- subform_fill?: undefined;
75
- subform_import?: undefined;
76
- subform_insert?: undefined;
77
- subformloaddataTitle?: undefined;
78
- autoHeight?: undefined;
79
- maxLength?: undefined;
80
- };
81
- tab?: undefined;
82
- } | {
83
- description: string;
84
- label: string;
85
- lineWidth: number;
86
- widget: {
87
- alertinfo: {
88
- icon: string;
89
- tip?: undefined;
90
- };
91
- allowBlank: boolean;
92
- customCls: null;
93
- enable: boolean;
94
- enterClearText: boolean;
95
- eventAlert: boolean;
96
- extendSet: {
97
- sort: string[];
98
- status: boolean;
99
- triggerField: string;
100
- triggerFieldMode: string;
101
- version: number;
102
- };
103
- generateQR: boolean;
104
- height: number;
105
- labelStyle: string;
106
- libs: never[];
107
- noRepeat: boolean;
108
- regex: string;
109
- rely: null;
110
- scan: null;
111
- text: null;
112
- textMode: string;
113
- triggerEvent: boolean;
114
- type: string;
115
- value: null;
116
- visible: boolean;
117
- widgetName: string;
118
- widgetNameAlias: string;
119
- width: number;
120
- importMode?: undefined;
121
- rules?: undefined;
122
- allowAddLinkData?: undefined;
123
- colorEnable?: undefined;
124
- funMode?: undefined;
125
- items?: undefined;
126
- mode?: undefined;
127
- module?: undefined;
128
- layout?: undefined;
129
- stopCancel?: undefined;
130
- allowAddData?: undefined;
131
- allowImportV2?: undefined;
132
- allowLoadData?: undefined;
133
- loaddataconfig?: undefined;
134
- mobileStyle?: undefined;
135
- quick_fill?: undefined;
136
- sortable?: undefined;
137
- sticky_column?: undefined;
138
- sticky_column_mobile?: undefined;
139
- subFieldShowRules?: undefined;
140
- subform_create?: undefined;
141
- subform_dataload?: undefined;
142
- subform_delete?: undefined;
143
- subform_edit?: undefined;
144
- subform_fill?: undefined;
145
- subform_import?: undefined;
146
- subform_insert?: undefined;
147
- subformloaddataTitle?: undefined;
148
- autoHeight?: undefined;
149
- maxLength?: undefined;
150
- };
151
- tab?: undefined;
152
- } | {
153
- description: string;
154
- label: string;
155
- lineWidth: number;
156
- widget: {
157
- allowAddLinkData: boolean;
158
- allowBlank: boolean;
159
- colorEnable: boolean;
160
- customCls: null;
161
- enable: boolean;
162
- extendSet: {
163
- sort: string[];
164
- status: boolean;
165
- triggerField: string;
166
- triggerFieldMode: string;
167
- version: number;
168
- };
169
- funMode: string;
170
- height: number;
171
- items: ({
172
- color: string;
173
- text: string;
174
- value: string;
175
- selected?: undefined;
176
- } | {
177
- color: string;
178
- selected: boolean;
179
- text: string;
180
- value: string;
181
- })[];
182
- labelStyle: string;
183
- libs: never[];
184
- mode: number;
185
- module: null;
186
- noRepeat: boolean;
187
- type: string;
188
- visible: boolean;
189
- widgetName: string;
190
- widgetNameAlias: string;
191
- width: number;
192
- importMode?: undefined;
193
- rules?: undefined;
194
- triggerEvent?: undefined;
195
- alertinfo?: undefined;
196
- enterClearText?: undefined;
197
- eventAlert?: undefined;
198
- generateQR?: undefined;
199
- regex?: undefined;
200
- rely?: undefined;
201
- scan?: undefined;
202
- text?: undefined;
203
- textMode?: undefined;
204
- value?: undefined;
205
- layout?: undefined;
206
- stopCancel?: undefined;
207
- allowAddData?: undefined;
208
- allowImportV2?: undefined;
209
- allowLoadData?: undefined;
210
- loaddataconfig?: undefined;
211
- mobileStyle?: undefined;
212
- quick_fill?: undefined;
213
- sortable?: undefined;
214
- sticky_column?: undefined;
215
- sticky_column_mobile?: undefined;
216
- subFieldShowRules?: undefined;
217
- subform_create?: undefined;
218
- subform_dataload?: undefined;
219
- subform_delete?: undefined;
220
- subform_edit?: undefined;
221
- subform_fill?: undefined;
222
- subform_import?: undefined;
223
- subform_insert?: undefined;
224
- subformloaddataTitle?: undefined;
225
- autoHeight?: undefined;
226
- maxLength?: undefined;
227
- };
228
- tab?: undefined;
229
- } | {
230
- description: string;
231
- label: string;
232
- lineWidth: number;
233
- widget: {
234
- allowBlank: boolean;
235
- colorEnable: boolean;
236
- customCls: null;
237
- enable: boolean;
238
- extendSet: {
239
- sort: string[];
240
- status: boolean;
241
- triggerField: string;
242
- triggerFieldMode: string;
243
- version: number;
244
- };
245
- funMode: string;
246
- items: ({
247
- color: string;
248
- text: string;
249
- value: string;
250
- selected?: undefined;
251
- } | {
252
- color: string;
253
- selected: boolean;
254
- text: string;
255
- value: string;
256
- })[];
257
- labelStyle: string;
258
- layout: string;
259
- libs: never[];
260
- module: null;
261
- stopCancel: boolean;
262
- type: string;
263
- value: null;
264
- visible: boolean;
265
- widgetName: string;
266
- widgetNameAlias: string;
267
- importMode?: undefined;
268
- rules?: undefined;
269
- triggerEvent?: undefined;
270
- width?: undefined;
271
- alertinfo?: undefined;
272
- enterClearText?: undefined;
273
- eventAlert?: undefined;
274
- generateQR?: undefined;
275
- height?: undefined;
276
- noRepeat?: undefined;
277
- regex?: undefined;
278
- rely?: undefined;
279
- scan?: undefined;
280
- text?: undefined;
281
- textMode?: undefined;
282
- allowAddLinkData?: undefined;
283
- mode?: undefined;
284
- allowAddData?: undefined;
285
- allowImportV2?: undefined;
286
- allowLoadData?: undefined;
287
- loaddataconfig?: undefined;
288
- mobileStyle?: undefined;
289
- quick_fill?: undefined;
290
- sortable?: undefined;
291
- sticky_column?: undefined;
292
- sticky_column_mobile?: undefined;
293
- subFieldShowRules?: undefined;
294
- subform_create?: undefined;
295
- subform_dataload?: undefined;
296
- subform_delete?: undefined;
297
- subform_edit?: undefined;
298
- subform_fill?: undefined;
299
- subform_import?: undefined;
300
- subform_insert?: undefined;
301
- subformloaddataTitle?: undefined;
302
- autoHeight?: undefined;
303
- maxLength?: undefined;
304
- };
305
- tab?: undefined;
306
- } | {
307
- description: null;
308
- label: string;
309
- lineWidth: number;
310
- tab: null;
311
- widget: {
312
- allowAddData: boolean;
313
- allowBlank: boolean;
314
- allowImportV2: boolean;
315
- allowLoadData: boolean;
316
- customCls: null;
317
- enable: boolean;
318
- extendSet: {
319
- sort: string[];
320
- status: boolean;
321
- triggerField: string;
322
- triggerFieldMode: string;
323
- version: number;
324
- };
325
- items: ({
326
- label: string;
327
- labelHidden: boolean;
328
- widget: {
329
- alertinfo: {
330
- icon: string;
331
- tip?: undefined;
332
- };
333
- allowBlank: boolean;
334
- customCls: null;
335
- enable: boolean;
336
- enterClearText: boolean;
337
- eventAlert: boolean;
338
- extendSet: {
339
- sort: string[];
340
- status: boolean;
341
- triggerField: string;
342
- triggerFieldMode: string;
343
- version: number;
344
- };
345
- generateQR: boolean;
346
- height: number;
347
- labelStyle: string;
348
- libs: never[];
349
- noRepeat: boolean;
350
- regex: string;
351
- rely: null;
352
- scan: null;
353
- text: null;
354
- textMode: string;
355
- type: string;
356
- value: string;
357
- visible: boolean;
358
- widgetName: string;
359
- widgetNameAlias: string;
360
- width: number;
361
- afterSuffix?: undefined;
362
- allowDecimals?: undefined;
363
- allowNegative?: undefined;
364
- displayMode?: undefined;
365
- format?: undefined;
366
- funMode?: undefined;
367
- minNumber?: undefined;
368
- module?: undefined;
369
- notround?: undefined;
370
- precision?: undefined;
371
- thousandsSeparator?: undefined;
372
- triggerEvent?: undefined;
373
- autoHeight?: undefined;
374
- maxLength?: undefined;
375
- };
376
- } | {
377
- label: string;
378
- labelHidden: boolean;
379
- widget: {
380
- afterSuffix: {
381
- en_us: string;
382
- zh_cn: string;
383
- zh_tw: string;
384
- };
385
- alertinfo: {
386
- icon: string;
387
- tip: string;
388
- };
389
- allowBlank: boolean;
390
- allowDecimals: boolean;
391
- allowNegative: boolean;
392
- customCls: null;
393
- displayMode: string;
394
- enable: boolean;
395
- extendSet: {
396
- sort: string[];
397
- status: boolean;
398
- triggerField: string;
399
- triggerFieldMode: string;
400
- version: number;
401
- };
402
- format: string;
403
- funMode: string;
404
- height: number;
405
- labelStyle: string;
406
- libs: never[];
407
- minNumber: number;
408
- module: null;
409
- noRepeat: boolean;
410
- notround: boolean;
411
- precision: number;
412
- thousandsSeparator: boolean;
413
- triggerEvent: boolean;
414
- type: string;
415
- value: null;
416
- visible: boolean;
417
- widgetName: string;
418
- widgetNameAlias: string;
419
- width: number;
420
- enterClearText?: undefined;
421
- eventAlert?: undefined;
422
- generateQR?: undefined;
423
- regex?: undefined;
424
- rely?: undefined;
425
- scan?: undefined;
426
- text?: undefined;
427
- textMode?: undefined;
428
- autoHeight?: undefined;
429
- maxLength?: undefined;
430
- };
431
- } | {
432
- label: string;
433
- labelHidden: boolean;
434
- widget: {
435
- alertinfo: {
436
- icon: string;
437
- tip: string;
438
- };
439
- allowBlank: boolean;
440
- autoHeight: boolean;
441
- customCls: null;
442
- enable: boolean;
443
- extendSet: {
444
- sort: string[];
445
- status: boolean;
446
- triggerField: string;
447
- triggerFieldMode: string;
448
- version: number;
449
- };
450
- funMode: string;
451
- height: number;
452
- labelStyle: string;
453
- libs: never[];
454
- maxLength: number;
455
- module: null;
456
- noRepeat: boolean;
457
- triggerEvent: boolean;
458
- type: string;
459
- value: string;
460
- visible: boolean;
461
- widgetName: string;
462
- widgetNameAlias: string;
463
- width: number;
464
- enterClearText?: undefined;
465
- eventAlert?: undefined;
466
- generateQR?: undefined;
467
- regex?: undefined;
468
- rely?: undefined;
469
- scan?: undefined;
470
- text?: undefined;
471
- textMode?: undefined;
472
- afterSuffix?: undefined;
473
- allowDecimals?: undefined;
474
- allowNegative?: undefined;
475
- displayMode?: undefined;
476
- format?: undefined;
477
- minNumber?: undefined;
478
- notround?: undefined;
479
- precision?: undefined;
480
- thousandsSeparator?: undefined;
481
- };
482
- })[];
483
- labelStyle: string;
484
- loaddataconfig: {
485
- extendSet: {
486
- sort: string[];
487
- status: boolean;
488
- triggerField: string;
489
- triggerFieldMode: string;
490
- };
491
- mode: string;
492
- };
493
- mobileStyle: string;
494
- quick_fill: boolean;
495
- sortable: boolean;
496
- sticky_column: {
497
- enable: boolean;
498
- limit: number;
499
- };
500
- sticky_column_mobile: {
501
- enable: boolean;
502
- limit: number;
503
- };
504
- subFieldShowRules: never[];
505
- subform_create: boolean;
506
- subform_dataload: boolean;
507
- subform_delete: boolean;
508
- subform_edit: boolean;
509
- subform_fill: boolean;
510
- subform_import: boolean;
511
- subform_insert: boolean;
512
- subformloaddataTitle: string;
513
- type: string;
514
- visible: boolean;
515
- widgetName: string;
516
- widgetNameAlias: string;
517
- importMode?: undefined;
518
- rules?: undefined;
519
- triggerEvent?: undefined;
520
- width?: undefined;
521
- alertinfo?: undefined;
522
- enterClearText?: undefined;
523
- eventAlert?: undefined;
524
- generateQR?: undefined;
525
- height?: undefined;
526
- libs?: undefined;
527
- noRepeat?: undefined;
528
- regex?: undefined;
529
- rely?: undefined;
530
- scan?: undefined;
531
- text?: undefined;
532
- textMode?: undefined;
533
- value?: undefined;
534
- allowAddLinkData?: undefined;
535
- colorEnable?: undefined;
536
- funMode?: undefined;
537
- mode?: undefined;
538
- module?: undefined;
539
- layout?: undefined;
540
- stopCancel?: undefined;
541
- autoHeight?: undefined;
542
- maxLength?: undefined;
543
- };
544
- } | {
545
- description: string;
546
- label: string;
547
- lineWidth: number;
548
- widget: {
549
- alertinfo: {
550
- icon: string;
551
- tip: string;
552
- };
553
- allowBlank: boolean;
554
- autoHeight: boolean;
555
- customCls: null;
556
- enable: boolean;
557
- extendSet: {
558
- sort: string[];
559
- status: boolean;
560
- triggerField: string;
561
- triggerFieldMode: string;
562
- version: number;
563
- };
564
- funMode: string;
565
- height: number;
566
- labelStyle: string;
567
- libs: never[];
568
- maxLength: number;
569
- module: null;
570
- noRepeat: boolean;
571
- triggerEvent: boolean;
572
- type: string;
573
- value: string;
574
- visible: boolean;
575
- widgetName: string;
576
- widgetNameAlias: string;
577
- width: number;
578
- importMode?: undefined;
579
- rules?: undefined;
580
- enterClearText?: undefined;
581
- eventAlert?: undefined;
582
- generateQR?: undefined;
583
- regex?: undefined;
584
- rely?: undefined;
585
- scan?: undefined;
586
- text?: undefined;
587
- textMode?: undefined;
588
- allowAddLinkData?: undefined;
589
- colorEnable?: undefined;
590
- items?: undefined;
591
- mode?: undefined;
592
- layout?: undefined;
593
- stopCancel?: undefined;
594
- allowAddData?: undefined;
595
- allowImportV2?: undefined;
596
- allowLoadData?: undefined;
597
- loaddataconfig?: undefined;
598
- mobileStyle?: undefined;
599
- quick_fill?: undefined;
600
- sortable?: undefined;
601
- sticky_column?: undefined;
602
- sticky_column_mobile?: undefined;
603
- subFieldShowRules?: undefined;
604
- subform_create?: undefined;
605
- subform_dataload?: undefined;
606
- subform_delete?: undefined;
607
- subform_edit?: undefined;
608
- subform_fill?: undefined;
609
- subform_import?: undefined;
610
- subform_insert?: undefined;
611
- subformloaddataTitle?: undefined;
612
- };
613
- tab?: undefined;
614
- })[];
615
- //# sourceMappingURL=const.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../src/plugins/form-filling-plugin/const.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnF,eAAO,MAAM,WAAW,wBAAwB,CAAC;AAEjD,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAkB9D,CAAC;AAEF,eAAO,MAAM,qBAAqB,gBAYhC,CAAC;AAEH,eAAO,MAAM,oBAAoB,EAAE,eAA0B,CAAC;AAE9D,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAEvC,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAskB/B,CAAC"}
@@ -1,3 +0,0 @@
1
- import { FormFillingPluginCtx } from '../types';
2
- export declare const useConversationIdInCtx: (ctx: FormFillingPluginCtx | null, conversationId?: string) => void;
3
- //# sourceMappingURL=use-conversation-id-in-ctx.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-conversation-id-in-ctx.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/hooks/use-conversation-id-in-ctx.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,sBAAsB,GACjC,KAAK,oBAAoB,GAAG,IAAI,EAChC,iBAAiB,MAAM,SAOxB,CAAC"}
@@ -1,4 +0,0 @@
1
- import { TextUIPart } from 'ai';
2
- import { FormFillingPluginCtx, IFieldsData } from '../types';
3
- export declare const useFieldsData: (part: TextUIPart, formFillingCtx: FormFillingPluginCtx | null) => IFieldsData;
4
- //# sourceMappingURL=use-fields-data.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"use-fields-data.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/hooks/use-fields-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,oBAAoB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AA+E7D,eAAO,MAAM,aAAa,GACxB,MAAM,UAAU,EAChB,gBAAgB,oBAAoB,GAAG,IAAI,KAC1C,WA0BF,CAAC"}
@@ -1,22 +0,0 @@
1
- import { ChatAreaPlugin, IChatSDK, PluginCustomComponent, PluginHooks, PluginRegistryEntry, DeepReadonly } from '@baishuyun/types';
2
- import { FormFillingPluginCtx } from './types';
3
- export declare class FormFillingPlugin extends ChatAreaPlugin<FormFillingPluginCtx> {
4
- pluginName: string;
5
- customComponents?: Partial<PluginCustomComponent> | undefined;
6
- private batchFillingDataManager;
7
- private sdkInst;
8
- getReadonlyContext: () => DeepReadonly<FormFillingPluginCtx>;
9
- getValidFilledMessageIds: () => Set<string>;
10
- hasValidStructure: () => boolean;
11
- init?: ((sdk: IChatSDK) => void) | undefined;
12
- private handleFillModeUpdate;
13
- getCount: (messageId: string) => number;
14
- setCount: (messageId: string, inc: number) => void;
15
- dispose?: (() => void) | undefined;
16
- private handleFormStructureReady;
17
- private clearHistoryConversation;
18
- clearBatchFilledData: () => void;
19
- lifecycleHooks?: PluginHooks | undefined;
20
- }
21
- export declare const FormFillingPluginRegisterEntry: PluginRegistryEntry<FormFillingPluginCtx>;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/form-filling-plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EAId,QAAQ,EAER,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EAEnB,YAAY,EAEb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAqB/C,qBAAa,iBAAkB,SAAQ,cAAc,CAAC,oBAAoB,CAAC;IAClE,UAAU,EAAE,MAAM,CAAe;IAEjC,gBAAgB,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAMlE;IAEF,OAAO,CAAC,uBAAuB,CAA2B;IAE1D,OAAO,CAAC,OAAO,CAAY;IAEpB,kBAAkB,EAAE,MAAM,YAAY,CAAC,oBAAoB,CAAC,CAEjE;IAEK,wBAAwB,QAAO,GAAG,CAAC,MAAM,CAAC,CAE/C;IAEK,iBAAiB,QAAO,OAAO,CAEpC;IAEK,IAAI,CAAC,EAAE,CAAC,CAAC,GAAG,EAAE,QAAQ,KAAK,IAAI,CAAC,GAAG,SAAS,CAkBjD;IAEF,OAAO,CAAC,oBAAoB,CAM1B;IAEK,QAAQ,GAAI,WAAW,MAAM,KAAG,MAAM,CAG3C;IAEK,QAAQ,GAAI,WAAW,MAAM,EAAE,KAAK,MAAM,UAK/C;IAEK,OAAO,CAAC,EAAE,CAAC,MAAM,IAAI,CAAC,GAAG,SAAS,CAYvC;IAEF,OAAO,CAAC,wBAAwB,CAqB9B;IAEF,OAAO,CAAC,wBAAwB,CAgB9B;IAEK,oBAAoB,aAIzB;IAEK,cAAc,CAAC,EAAE,WAAW,GAAG,SAAS,CA0E7C;CACH;AAED,eAAO,MAAM,8BAA8B,EAAE,mBAAmB,CAAC,oBAAoB,CAapF,CAAC"}
@@ -1,22 +0,0 @@
1
- import { FormFillingMode, MsgPartCompProps } from '@baishuyun/types';
2
- import { Field } from '../form-builder-base-plugin/types';
3
- import { TextUIPart } from 'ai';
4
- import { FieldValueCheckerProps } from '../../components/biz-comp/FieldValueChecker';
5
- export interface FormFillingPluginCtx {
6
- fieldMap: Map<string, Field>;
7
- valueMap: Map<string, unknown>;
8
- subFieldsNameMap: Map<string, string>;
9
- conversationId: string;
10
- fillMode: FormFillingMode;
11
- counterMap: Map<string, number>;
12
- }
13
- export type FillPartRenderStrategy = 'batch' | 'single' | 'markdown' | 'unknown';
14
- export interface IFieldsData {
15
- fieldsParts: TextUIPart[];
16
- filledFields: Array<FieldValueCheckerProps>;
17
- fieldPropsArray: Array<FieldValueCheckerProps | null>;
18
- }
19
- export type FillPartRenderStrategyMap = {
20
- [key in FillPartRenderStrategy]: React.FC<MsgPartCompProps & IFieldsData>;
21
- };
22
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/plugins/form-filling-plugin/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,mCAAmC,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,yCAAyC,CAAC;AAEjF,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IAE7B,QAAQ,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAE/B,gBAAgB,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEtC,cAAc,EAAE,MAAM,CAAC;IAEvB,QAAQ,EAAE,eAAe,CAAC;IAE1B,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,MAAM,sBAAsB,GAC9B,OAAO,GACP,QAAQ,GACR,UAAU,GACV,SAAS,CAAC;AAEd,MAAM,WAAW,WAAW;IAC1B,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,YAAY,EAAE,KAAK,CAAC,sBAAsB,CAAC,CAAC;IAC5C,eAAe,EAAE,KAAK,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;CACvD;AAED,MAAM,MAAM,yBAAyB,GAAG;KACrC,GAAG,IAAI,sBAAsB,GAAG,KAAK,CAAC,EAAE,CAAC,gBAAgB,GAAG,WAAW,CAAC;CAC1E,CAAC"}
@@ -1,6 +0,0 @@
1
- import { FieldType } from '@baishuyun/types';
2
- import { Field } from '../form-builder-base-plugin/types';
3
- export declare const valueNormalizer: (value: string | string[]) => string;
4
- export declare const toHumanReadable: (value: unknown, type: FieldType) => string | unknown;
5
- export declare const GetSafeFormStructure: (formStructure: Array<Field>) => any[];
6
- //# sourceMappingURL=utils.d.ts.map