@baishuyun/chat-sdk 0.0.12 → 0.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/dist/chat-sdk.js +59058 -0
- package/dist/chat-sdk.js.map +1 -0
- package/dist/chat-sdk.umd.cjs +663 -0
- package/dist/chat-sdk.umd.cjs.map +1 -0
- package/dist/chat.d.ts +5 -0
- package/dist/chat.d.ts.map +1 -0
- package/dist/components/biz-comp/FakeBotMsg.d.ts +8 -0
- package/dist/components/biz-comp/FakeBotMsg.d.ts.map +1 -0
- package/dist/components/biz-comp/FieldChecker.d.ts +18 -0
- package/dist/components/biz-comp/FieldChecker.d.ts.map +1 -0
- package/dist/components/biz-comp/FieldCheckerListMsg.d.ts +16 -0
- package/dist/components/biz-comp/FieldCheckerListMsg.d.ts.map +1 -0
- package/dist/components/biz-comp/FieldValueChecker.d.ts +16 -0
- package/dist/components/biz-comp/FieldValueChecker.d.ts.map +1 -0
- package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts +22 -0
- package/dist/components/biz-comp/SubformFieldsValueChecker.d.ts.map +1 -0
- package/dist/components/biz-comp/chat-client.d.ts +13 -0
- package/dist/components/biz-comp/chat-client.d.ts.map +1 -0
- package/dist/components/biz-comp/chat-frame.d.ts +6 -0
- package/dist/components/biz-comp/chat-frame.d.ts.map +1 -0
- package/dist/components/biz-comp/conversation.d.ts +10 -0
- package/dist/components/biz-comp/conversation.d.ts.map +1 -0
- package/dist/components/biz-comp/dash-widget-icon.d.ts +7 -0
- package/dist/components/biz-comp/dash-widget-icon.d.ts.map +1 -0
- package/dist/components/biz-comp/dock-btn.d.ts +2 -0
- package/dist/components/biz-comp/dock-btn.d.ts.map +1 -0
- package/dist/components/biz-comp/error-boundary.d.ts +15 -0
- package/dist/components/biz-comp/error-boundary.d.ts.map +1 -0
- package/dist/components/biz-comp/error-msg.d.ts +4 -0
- package/dist/components/biz-comp/error-msg.d.ts.map +1 -0
- package/dist/components/biz-comp/field-icon.d.ts +5 -0
- package/dist/components/biz-comp/field-icon.d.ts.map +1 -0
- package/dist/components/biz-comp/highlight-msg.d.ts +4 -0
- package/dist/components/biz-comp/highlight-msg.d.ts.map +1 -0
- package/dist/components/biz-comp/markdown-part.d.ts +7 -0
- package/dist/components/biz-comp/markdown-part.d.ts.map +1 -0
- package/dist/components/biz-comp/markdown.d.ts +5 -0
- package/dist/components/biz-comp/markdown.d.ts.map +1 -0
- package/dist/components/biz-comp/message-content.d.ts +6 -0
- package/dist/components/biz-comp/message-content.d.ts.map +1 -0
- package/dist/components/biz-comp/messages.d.ts +3 -0
- package/dist/components/biz-comp/messages.d.ts.map +1 -0
- package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts +9 -0
- package/dist/components/biz-comp/multi-modal-input/attachment-btn.d.ts.map +1 -0
- package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts +7 -0
- package/dist/components/biz-comp/multi-modal-input/clear-btn.d.ts.map +1 -0
- package/dist/components/biz-comp/multi-modal-input/index.d.ts +21 -0
- package/dist/components/biz-comp/multi-modal-input/index.d.ts.map +1 -0
- package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts +12 -0
- package/dist/components/biz-comp/multi-modal-input/preview-attachment.d.ts.map +1 -0
- package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts +36 -0
- package/dist/components/biz-comp/multi-modal-input/prompt-input.d.ts.map +1 -0
- package/dist/components/biz-comp/opening-lines.d.ts +3 -0
- package/dist/components/biz-comp/opening-lines.d.ts.map +1 -0
- package/dist/components/biz-comp/preview-message-wrapper.d.ts +12 -0
- package/dist/components/biz-comp/preview-message-wrapper.d.ts.map +1 -0
- package/dist/components/biz-comp/preview-message.d.ts +13 -0
- package/dist/components/biz-comp/preview-message.d.ts.map +1 -0
- package/dist/components/biz-comp/response.d.ts +6 -0
- package/dist/components/biz-comp/response.d.ts.map +1 -0
- package/dist/components/biz-comp/suggestions.d.ts +8 -0
- package/dist/components/biz-comp/suggestions.d.ts.map +1 -0
- package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts +10 -0
- package/dist/components/bs-ui/abs-fullscreen-gradient-bg.d.ts.map +1 -0
- package/dist/components/bs-ui/attachment-part-group.d.ts +13 -0
- package/dist/components/bs-ui/attachment-part-group.d.ts.map +1 -0
- package/dist/components/bs-ui/attachment-part.d.ts +17 -0
- package/dist/components/bs-ui/attachment-part.d.ts.map +1 -0
- package/dist/components/bs-ui/attachments-previewer.d.ts +18 -0
- package/dist/components/bs-ui/attachments-previewer.d.ts.map +1 -0
- package/dist/components/bs-ui/base-button.d.ts +6 -0
- package/dist/components/bs-ui/base-button.d.ts.map +1 -0
- package/dist/components/bs-ui/border-color-animation.d.ts +11 -0
- package/dist/components/bs-ui/border-color-animation.d.ts.map +1 -0
- package/dist/components/bs-ui/bot-avatar-name.d.ts +6 -0
- package/dist/components/bs-ui/bot-avatar-name.d.ts.map +1 -0
- package/dist/components/bs-ui/bot-icon.d.ts +5 -0
- package/dist/components/bs-ui/bot-icon.d.ts.map +1 -0
- package/dist/components/bs-ui/bs-icons.d.ts +62 -0
- package/dist/components/bs-ui/bs-icons.d.ts.map +1 -0
- package/dist/components/bs-ui/card-field.d.ts +11 -0
- package/dist/components/bs-ui/card-field.d.ts.map +1 -0
- package/dist/components/bs-ui/card.d.ts +10 -0
- package/dist/components/bs-ui/card.d.ts.map +1 -0
- package/dist/components/bs-ui/chat-area-header.d.ts +13 -0
- package/dist/components/bs-ui/chat-area-header.d.ts.map +1 -0
- package/dist/components/bs-ui/circle-checker.d.ts +10 -0
- package/dist/components/bs-ui/circle-checker.d.ts.map +1 -0
- package/dist/components/bs-ui/collapsible-txt-msg.d.ts +11 -0
- package/dist/components/bs-ui/collapsible-txt-msg.d.ts.map +1 -0
- package/dist/components/bs-ui/confirm-dialog.d.ts +26 -0
- package/dist/components/bs-ui/confirm-dialog.d.ts.map +1 -0
- package/dist/components/bs-ui/fields-generating-indicator.d.ts +6 -0
- package/dist/components/bs-ui/fields-generating-indicator.d.ts.map +1 -0
- package/dist/components/bs-ui/fields-portal.d.ts +8 -0
- package/dist/components/bs-ui/fields-portal.d.ts.map +1 -0
- package/dist/components/bs-ui/fields-previewer.d.ts +18 -0
- package/dist/components/bs-ui/fields-previewer.d.ts.map +1 -0
- package/dist/components/bs-ui/font-icon.d.ts +6 -0
- package/dist/components/bs-ui/font-icon.d.ts.map +1 -0
- package/dist/components/bs-ui/form-info-editor.d.ts +38 -0
- package/dist/components/bs-ui/form-info-editor.d.ts.map +1 -0
- package/dist/components/bs-ui/formula-tag.d.ts +8 -0
- package/dist/components/bs-ui/formula-tag.d.ts.map +1 -0
- package/dist/components/bs-ui/generate-animation.d.ts +4 -0
- package/dist/components/bs-ui/generate-animation.d.ts.map +1 -0
- package/dist/components/bs-ui/icon-btn.d.ts +9 -0
- package/dist/components/bs-ui/icon-btn.d.ts.map +1 -0
- package/dist/components/bs-ui/img-part.d.ts +9 -0
- package/dist/components/bs-ui/img-part.d.ts.map +1 -0
- package/dist/components/bs-ui/line-checker.d.ts +18 -0
- package/dist/components/bs-ui/line-checker.d.ts.map +1 -0
- package/dist/components/bs-ui/linear-gradient-border-btn.d.ts +10 -0
- package/dist/components/bs-ui/linear-gradient-border-btn.d.ts.map +1 -0
- package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts +8 -0
- package/dist/components/bs-ui/linear-gradient-color-bg-animation.d.ts.map +1 -0
- package/dist/components/bs-ui/number-part.d.ts +9 -0
- package/dist/components/bs-ui/number-part.d.ts.map +1 -0
- package/dist/components/bs-ui/option-item.d.ts +9 -0
- package/dist/components/bs-ui/option-item.d.ts.map +1 -0
- package/dist/components/bs-ui/previewer-header.d.ts +18 -0
- package/dist/components/bs-ui/previewer-header.d.ts.map +1 -0
- package/dist/components/bs-ui/primary-confirm-btn.d.ts +10 -0
- package/dist/components/bs-ui/primary-confirm-btn.d.ts.map +1 -0
- package/dist/components/bs-ui/primary-entry-btn.d.ts +9 -0
- package/dist/components/bs-ui/primary-entry-btn.d.ts.map +1 -0
- package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts +6 -0
- package/dist/components/bs-ui/scroll-to-bottom-btn.d.ts.map +1 -0
- package/dist/components/bs-ui/split-line.d.ts +5 -0
- package/dist/components/bs-ui/split-line.d.ts.map +1 -0
- package/dist/components/bs-ui/square-checker.d.ts +11 -0
- package/dist/components/bs-ui/tab-radio-group.d.ts +19 -0
- package/dist/components/bs-ui/tab-radio-group.d.ts.map +1 -0
- package/dist/components/bs-ui/tooltip.d.ts +6 -0
- package/dist/components/bs-ui/tooltip.d.ts.map +1 -0
- package/dist/components/bs-ui/user-txt-msg-bubble.d.ts +6 -0
- package/dist/components/bs-ui/user-txt-msg-bubble.d.ts.map +1 -0
- package/dist/components/bs-ui/warning-msg.d.ts +6 -0
- package/dist/components/bs-ui/warning-msg.d.ts.map +1 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +12 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/collapsible.d.ts +6 -0
- package/dist/components/ui/collapsible.d.ts.map +1 -0
- package/dist/components/ui/dialog.d.ts +24 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/icons.d.ts +176 -0
- package/dist/components/ui/icons.d.ts.map +1 -0
- package/dist/components/ui/input-group.d.ts +17 -0
- package/dist/components/ui/input-group.d.ts.map +1 -0
- package/dist/components/ui/input.d.ts +4 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/one-time-click-btn.d.ts +4 -0
- package/dist/components/ui/one-time-click-btn.d.ts.map +1 -0
- package/dist/components/ui/select.d.ts +14 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/spinner.d.ts +3 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/textarea.d.ts +4 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/tooltip.d.ts +13 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/web-comp/fields-previewer-web-component.d.ts +60 -0
- package/dist/components/web-comp/fields-previewer-web-component.d.ts.map +1 -0
- package/dist/const/index.d.ts +5 -0
- package/dist/const/index.d.ts.map +1 -0
- package/dist/const/ui.d.ts +5 -0
- package/dist/const/ui.d.ts.map +1 -0
- package/dist/hooks/use-chat-preference.d.ts +3 -0
- package/dist/hooks/use-chat-preference.d.ts.map +1 -0
- package/dist/hooks/use-draggable.d.ts +24 -0
- package/dist/hooks/use-draggable.d.ts.map +1 -0
- package/dist/hooks/use-evt-bus.d.ts +2 -0
- package/dist/hooks/use-evt-bus.d.ts.map +1 -0
- package/dist/hooks/use-evt.d.ts +3 -0
- package/dist/hooks/use-evt.d.ts.map +1 -0
- package/dist/hooks/use-frame-mode.d.ts +15 -0
- package/dist/hooks/use-frame-mode.d.ts.map +1 -0
- package/dist/hooks/use-merged-chat.d.ts +7 -0
- package/dist/hooks/use-merged-chat.d.ts.map +1 -0
- package/dist/hooks/use-msg-status-broadcast.d.ts +3 -0
- package/dist/hooks/use-msg-status-broadcast.d.ts.map +1 -0
- package/dist/hooks/use-plugin-component.d.ts +5 -0
- package/dist/hooks/use-plugin-component.d.ts.map +1 -0
- package/dist/hooks/use-plugin-ctx.d.ts +3 -0
- package/dist/hooks/use-plugin-ctx.d.ts.map +1 -0
- package/dist/hooks/use-plugin-custom-components.d.ts +5 -0
- package/dist/hooks/use-plugin-custom-components.d.ts.map +1 -0
- package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts +5 -0
- package/dist/hooks/use-plugin-life-cycle-chain-runner.d.ts.map +1 -0
- package/dist/hooks/use-plugin-list.d.ts +2 -0
- package/dist/hooks/use-plugin-list.d.ts.map +1 -0
- package/dist/hooks/use-plugin.d.ts +2 -0
- package/dist/hooks/use-plugin.d.ts.map +1 -0
- package/dist/hooks/use-scroll-to-bottom.d.ts +9 -0
- package/dist/hooks/use-scroll-to-bottom.d.ts.map +1 -0
- package/dist/hooks/use-shadow.d.ts +25 -0
- package/dist/hooks/use-shadow.d.ts.map +1 -0
- package/dist/hooks/use-toast.d.ts +3 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/lib/clone.d.ts +32 -0
- package/dist/lib/clone.d.ts.map +1 -0
- package/dist/lib/event-emitter.d.ts +39 -0
- package/dist/lib/event-emitter.d.ts.map +1 -0
- package/dist/lib/readonly.d.ts +14 -0
- package/dist/lib/readonly.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +40 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/plugins/form-builder-base-plugin/const.d.ts +3 -0
- package/dist/plugins/form-builder-base-plugin/const.d.ts.map +1 -0
- package/dist/plugins/form-builder-base-plugin/index.d.ts +7 -0
- package/dist/plugins/form-builder-base-plugin/index.d.ts.map +1 -0
- package/dist/plugins/form-builder-base-plugin/types.d.ts +12 -0
- package/dist/plugins/form-builder-base-plugin/types.d.ts.map +1 -0
- package/dist/plugins/form-builder-plugin/components/create-form-confirm.d.ts +7 -0
- package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts +3 -0
- package/dist/plugins/form-builder-plugin/components/entry-btn.d.ts.map +1 -0
- package/dist/plugins/form-builder-plugin/components/follow-up.d.ts +3 -0
- package/dist/plugins/form-builder-plugin/components/follow-up.d.ts.map +0 -0
- package/dist/plugins/form-builder-plugin/components/msg-part.d.ts +3 -0
- package/dist/plugins/form-builder-plugin/components/msg-part.d.ts.map +0 -0
- package/dist/plugins/form-builder-plugin/const/index.d.ts +12 -0
- package/dist/plugins/form-builder-plugin/const/index.d.ts.map +0 -0
- package/dist/plugins/form-builder-plugin/hooks/use-fields-confirmed.d.ts +2 -0
- package/dist/plugins/form-builder-plugin/index.d.ts +24 -0
- package/dist/plugins/form-builder-plugin/index.d.ts.map +1 -0
- package/dist/plugins/form-builder-plugin/utils/index.d.ts +51 -0
- package/dist/plugins/form-builder-plugin/utils/index.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts +26 -0
- package/dist/plugins/form-filling-plugin/batch-filling-data-manager.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts +3 -0
- package/dist/plugins/form-filling-plugin/components/FormFillingOpeningLines.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/components/avatar.d.ts +5 -0
- package/dist/plugins/form-filling-plugin/components/avatar.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts +14 -0
- package/dist/plugins/form-filling-plugin/components/batch-generator-action.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts +3 -0
- package/dist/plugins/form-filling-plugin/components/entry-btn.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/components/mode-select.d.ts +2 -0
- package/dist/plugins/form-filling-plugin/components/mode-select.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/components/msg-part.d.ts +3 -0
- package/dist/plugins/form-filling-plugin/components/msg-part.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/const.d.ts +615 -0
- package/dist/plugins/form-filling-plugin/const.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/index.d.ts +19 -0
- package/dist/plugins/form-filling-plugin/index.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/types.d.ts +10 -0
- package/dist/plugins/form-filling-plugin/types.d.ts.map +1 -0
- package/dist/plugins/form-filling-plugin/utils.d.ts +6 -0
- package/dist/plugins/form-filling-plugin/utils.d.ts.map +1 -0
- package/dist/plugins/general-model-form-builder-plugin/components/confirmer.d.ts +9 -0
- package/dist/plugins/general-model-form-builder-plugin/components/confirmer.d.ts.map +1 -0
- package/dist/plugins/general-model-form-builder-plugin/components/ghost-evt-dispatcher.d.ts +10 -0
- package/dist/plugins/general-model-form-builder-plugin/components/ghost-evt-dispatcher.d.ts.map +1 -0
- package/dist/plugins/general-model-form-builder-plugin/components/msg-part.d.ts +3 -0
- package/dist/plugins/general-model-form-builder-plugin/components/msg-part.d.ts.map +1 -0
- package/dist/plugins/general-model-form-builder-plugin/components/new-confirmer.d.ts +10 -0
- package/dist/plugins/general-model-form-builder-plugin/components/new-confirmer.d.ts.map +1 -0
- package/dist/plugins/general-model-form-builder-plugin/const.d.ts +3 -0
- package/dist/plugins/general-model-form-builder-plugin/const.d.ts.map +1 -0
- package/dist/plugins/general-model-form-builder-plugin/index.d.ts +9 -0
- package/dist/plugins/general-model-form-builder-plugin/index.d.ts.map +1 -0
- package/dist/plugins/general-model-form-builder-plugin/types.d.ts +3 -0
- package/dist/plugins/general-model-form-builder-plugin/types.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/components/create-form-confirm.d.ts +7 -0
- package/dist/plugins/mcp-form-builder-plugin/components/create-form-confirm.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/components/entry-btn.d.ts +3 -0
- package/dist/plugins/mcp-form-builder-plugin/components/entry-btn.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/components/follow-up.d.ts +3 -0
- package/dist/plugins/mcp-form-builder-plugin/components/follow-up.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/components/msg-part.d.ts +3 -0
- package/dist/plugins/mcp-form-builder-plugin/components/msg-part.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/const/index.d.ts +12 -0
- package/dist/plugins/mcp-form-builder-plugin/const/index.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/hooks/index.d.ts +1 -0
- package/dist/plugins/mcp-form-builder-plugin/hooks/index.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/hooks/use-fields-confirmed.d.ts +2 -0
- package/dist/plugins/mcp-form-builder-plugin/hooks/use-fields-confirmed.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/index.d.ts +23 -0
- package/dist/plugins/mcp-form-builder-plugin/index.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/types.d.ts +17 -0
- package/dist/plugins/mcp-form-builder-plugin/types.d.ts.map +1 -0
- package/dist/plugins/mcp-form-builder-plugin/utils/index.d.ts +51 -0
- package/dist/plugins/mcp-form-builder-plugin/utils/index.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/avatar.d.ts +5 -0
- package/dist/plugins/report-query-plugin/components/avatar.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts +3 -0
- package/dist/plugins/report-query-plugin/components/query-entry-btn.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts +3 -0
- package/dist/plugins/report-query-plugin/components/query-msg-part.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts +2 -0
- package/dist/plugins/report-query-plugin/components/query-opening-lines.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts +3 -0
- package/dist/plugins/report-query-plugin/components/result-cards/DataTableCard.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts +18 -0
- package/dist/plugins/report-query-plugin/components/result-cards/DataTableFields.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts +4 -0
- package/dist/plugins/report-query-plugin/components/result-cards/FilterCondition.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts +8 -0
- package/dist/plugins/report-query-plugin/components/result-cards/FormulaField.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/const.d.ts +2 -0
- package/dist/plugins/report-query-plugin/const.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/index.d.ts +15 -0
- package/dist/plugins/report-query-plugin/index.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/types.d.ts +13 -0
- package/dist/plugins/report-query-plugin/types.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts +17 -0
- package/dist/plugins/report-query-plugin/utils/build-dash-component.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts +30 -0
- package/dist/plugins/report-query-plugin/utils/create-default-dash-styles.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts +60 -0
- package/dist/plugins/report-query-plugin/utils/create-default-widget-attr-list.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts +31 -0
- package/dist/plugins/report-query-plugin/utils/field-enhance.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts +208 -0
- package/dist/plugins/report-query-plugin/utils/get-field-group.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts +4 -0
- package/dist/plugins/report-query-plugin/utils/get-field-icon.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts +4 -0
- package/dist/plugins/report-query-plugin/utils/get-group-rule.d.ts.map +1 -0
- package/dist/plugins/report-query-plugin/utils/index.d.ts +5 -0
- package/dist/plugins/report-query-plugin/utils/index.d.ts.map +1 -0
- package/dist/sdk.impl.d.ts +31 -0
- package/dist/sdk.impl.d.ts.map +1 -0
- package/dist/store/context.d.ts +12 -0
- package/dist/store/context.d.ts.map +1 -0
- package/dist/store/index.d.ts +14 -0
- package/dist/store/index.d.ts.map +1 -0
- package/dist/stories/AbsFullscreenGradientBg.stories.d.ts +17 -0
- package/dist/stories/AbsFullscreenGradientBg.stories.d.ts.map +1 -0
- package/dist/stories/AttachmentPart.stories.d.ts +23 -0
- package/dist/stories/AttachmentPart.stories.d.ts.map +1 -0
- package/dist/stories/AttachmentPartGroup.stories.d.ts +21 -0
- package/dist/stories/AttachmentPartGroup.stories.d.ts.map +1 -0
- package/dist/stories/AttachmentsPreviewer.stories.d.ts +20 -0
- package/dist/stories/AttachmentsPreviewer.stories.d.ts.map +1 -0
- package/dist/stories/BaseButton.stories.d.ts +18 -0
- package/dist/stories/BaseButton.stories.d.ts.map +1 -0
- package/dist/stories/BorderColorAnimation.stories.d.ts +26 -0
- package/dist/stories/BorderColorAnimation.stories.d.ts.map +1 -0
- package/dist/stories/BotAvatarAndName.stories.d.ts +18 -0
- package/dist/stories/BotAvatarAndName.stories.d.ts.map +1 -0
- package/dist/stories/BotIcon.stories.d.ts +17 -0
- package/dist/stories/BotIcon.stories.d.ts.map +1 -0
- package/dist/stories/BsTooltip.stories.d.ts +7 -0
- package/dist/stories/BsTooltip.stories.d.ts.map +1 -0
- package/dist/stories/Card.stories.d.ts +14 -0
- package/dist/stories/Card.stories.d.ts.map +1 -0
- package/dist/stories/CardField.stories.d.ts +13 -0
- package/dist/stories/CardField.stories.d.ts.map +1 -0
- package/dist/stories/ChatAreaHeader.stories.d.ts +14 -0
- package/dist/stories/ChatAreaHeader.stories.d.ts.map +1 -0
- package/dist/stories/CircleChecker.stories.d.ts +21 -0
- package/dist/stories/CircleChecker.stories.d.ts.map +1 -0
- package/dist/stories/CollapsibleTextMsg.stories.d.ts +16 -0
- package/dist/stories/CollapsibleTextMsg.stories.d.ts.map +1 -0
- package/dist/stories/ConfirmDialog.stories.d.ts +61 -0
- package/dist/stories/ConfirmDialog.stories.d.ts.map +1 -0
- package/dist/stories/DashWidgetIcon.stories.d.ts +13 -0
- package/dist/stories/DashWidgetIcon.stories.d.ts.map +1 -0
- package/dist/stories/FormInfoEditor.stories.d.ts +15 -0
- package/dist/stories/FormInfoEditor.stories.d.ts.map +1 -0
- package/dist/stories/FormulaField.stories.d.ts +24 -0
- package/dist/stories/FormulaField.stories.d.ts.map +1 -0
- package/dist/stories/FormulaTag.stories.d.ts +37 -0
- package/dist/stories/FormulaTag.stories.d.ts.map +1 -0
- package/dist/stories/GenerateAnimation.stories.d.ts +16 -0
- package/dist/stories/GenerateAnimation.stories.d.ts.map +1 -0
- package/dist/stories/IconBtn.stories.d.ts +15 -0
- package/dist/stories/IconBtn.stories.d.ts.map +1 -0
- package/dist/stories/IconLib.d.ts +12 -0
- package/dist/stories/IconLib.d.ts.map +1 -0
- package/dist/stories/Icons.stories.d.ts +24 -0
- package/dist/stories/Icons.stories.d.ts.map +1 -0
- package/dist/stories/ImgMsgPart.stories.d.ts +20 -0
- package/dist/stories/ImgMsgPart.stories.d.ts.map +1 -0
- package/dist/stories/LineChecker.stories.d.ts +23 -0
- package/dist/stories/LineChecker.stories.d.ts.map +1 -0
- package/dist/stories/LinearGradientBorderBtn.stories.d.ts +22 -0
- package/dist/stories/LinearGradientBorderBtn.stories.d.ts.map +1 -0
- package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts +23 -0
- package/dist/stories/LinearGradientColorBgAnimation.stories.d.ts.map +1 -0
- package/dist/stories/NumbersMsgPart.stories.d.ts +19 -0
- package/dist/stories/NumbersMsgPart.stories.d.ts.map +1 -0
- package/dist/stories/OptionItem.stories.d.ts +20 -0
- package/dist/stories/OptionItem.stories.d.ts.map +1 -0
- package/dist/stories/PreviewerHeader.stories.d.ts +10 -0
- package/dist/stories/PreviewerHeader.stories.d.ts.map +1 -0
- package/dist/stories/PrimaryConfirmBtn.stories.d.ts +19 -0
- package/dist/stories/PrimaryConfirmBtn.stories.d.ts.map +1 -0
- package/dist/stories/PrimaryEntryBtn.stories.d.ts +26 -0
- package/dist/stories/PrimaryEntryBtn.stories.d.ts.map +1 -0
- package/dist/stories/ScrollToBottom.stories.d.ts +15 -0
- package/dist/stories/ScrollToBottom.stories.d.ts.map +1 -0
- package/dist/stories/SplitLine.stories.d.ts +9 -0
- package/dist/stories/SplitLine.stories.d.ts.map +1 -0
- package/dist/stories/TabRadioGroup.stories.d.ts +18 -0
- package/dist/stories/TabRadioGroup.stories.d.ts.map +1 -0
- package/dist/stories/UserTextMsgBubble.stories.d.ts +14 -0
- package/dist/stories/UserTextMsgBubble.stories.d.ts.map +1 -0
- package/dist/stories/WarningMessage.stories.d.ts +16 -0
- package/dist/stories/WarningMessage.stories.d.ts.map +1 -0
- package/dist/stories/fields-generating.stories.d.ts +20 -0
- package/dist/stories/fields-generating.stories.d.ts.map +1 -0
- package/dist/stories/fields-previewer.stories.d.ts +19 -0
- package/dist/stories/fields-previewer.stories.d.ts.map +1 -0
- package/package.json +4 -4
- package/src/components/biz-comp/multi-modal-input/clear-btn.tsx +1 -0
- package/src/components/biz-comp/multi-modal-input/index.tsx +33 -3
- package/src/components/bs-ui/bs-icons.tsx +11 -41
- package/src/hooks/use-toast.ts +16 -0
- package/src/plugins/form-builder-base-plugin/const.ts +3 -0
- package/src/plugins/form-builder-plugin/components/create-form-confirm.tsx +14 -1
- package/src/plugins/report-query-plugin/components/query-opening-lines.tsx +19 -19
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const MCP_PLUGIN_NAME = "McpFormBuilderPlugin";
|
|
2
|
+
export declare const DEFAULT_DATA_LOAD_CONF: {
|
|
3
|
+
mode: string;
|
|
4
|
+
extendSet: {
|
|
5
|
+
sort: string[];
|
|
6
|
+
status: boolean;
|
|
7
|
+
triggerField: string;
|
|
8
|
+
triggerFieldMode: string;
|
|
9
|
+
};
|
|
10
|
+
dataloadmode: string[];
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
File without changes
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { PluginCustomComponent, PluginHooks, PluginRegistryEntry, RealFormInfo } from '@baishuyun/types';
|
|
2
|
+
import { McpFormBuilderPluginCtx, Field, FormInfo } from './types';
|
|
3
|
+
import { FormBuilderBasePlugin } from '../form-builder-base-plugin';
|
|
4
|
+
import { DesignInfo } from './utils';
|
|
5
|
+
export declare class FormBuilderPlugin extends FormBuilderBasePlugin<McpFormBuilderPluginCtx> {
|
|
6
|
+
pluginName: string;
|
|
7
|
+
private currentWorkingFormName;
|
|
8
|
+
customComponents?: Partial<PluginCustomComponent> | undefined;
|
|
9
|
+
lifecycleHooks?: Partial<PluginHooks> | undefined;
|
|
10
|
+
constructor(ctx: McpFormBuilderPluginCtx);
|
|
11
|
+
dispose: () => void;
|
|
12
|
+
onAfterFieldCreate(field: Field): void;
|
|
13
|
+
private enhanceField;
|
|
14
|
+
onBeforeFieldCreate(field: Field): any;
|
|
15
|
+
skipDesignToBuildFields: (formInfo: RealFormInfo) => void;
|
|
16
|
+
onBeforeFormCreate(designInfo: DesignInfo): void;
|
|
17
|
+
onFormCreate(formInfo: RealFormInfo): void;
|
|
18
|
+
onAfterFieldsSave(onFormProcessed: (processedForm: FormInfo) => void): void;
|
|
19
|
+
getCurrentWorkingForm(): FormInfo | undefined;
|
|
20
|
+
private addEventListeners;
|
|
21
|
+
private removeEventListeners;
|
|
22
|
+
}
|
|
23
|
+
export declare const FormBuilderPluginRegisterEntry: PluginRegistryEntry<McpFormBuilderPluginCtx>;
|
|
24
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/plugins/form-builder-plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,qBAAqB,EACrB,WAAW,EACX,mBAAmB,EACnB,YAAY,EAEb,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAExE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AAEpE,OAAO,EAEL,KAAK,UAAU,EAMhB,MAAM,SAAS,CAAC;AAOjB,qBAAa,iBAAkB,SAAQ,qBAAqB,CAAC,uBAAuB,CAAC;IAC5E,UAAU,EAAE,MAAM,CAAmB;IAE5C,OAAO,CAAC,sBAAsB,CAAc;IAErC,gBAAgB,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAGlE;IAEK,cAAc,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,GAAG,SAAS,CAatD;gBAEiB,GAAG,EAAE,uBAAuB;IAMxC,OAAO,aAEZ;IAEK,kBAAkB,CAAC,KAAK,EAAE,KAAK;IA6BtC,OAAO,CAAC,YAAY;IAuBb,mBAAmB,CAAC,KAAK,EAAE,KAAK;IAiBhC,uBAAuB,GAAI,UAAU,YAAY,UAOtD;IAGK,kBAAkB,CAAC,UAAU,EAAE,UAAU;IAmBzC,YAAY,CAAC,QAAQ,EAAE,YAAY;IAenC,iBAAiB,CAAC,eAAe,EAAE,CAAC,aAAa,EAAE,QAAQ,KAAK,IAAI;IAmDpE,qBAAqB;IAI5B,OAAO,CAAC,iBAAiB;IAEzB,OAAO,CAAC,oBAAoB;CAC7B;AAED,eAAO,MAAM,8BAA8B,EAAE,mBAAmB,CAAC,uBAAuB,CAQvF,CAAC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Field, FormInfo } from '../types';
|
|
2
|
+
import { FieldType } from '@baishuyun/types';
|
|
3
|
+
export interface FormField {
|
|
4
|
+
fieldName: string;
|
|
5
|
+
type: string;
|
|
6
|
+
required: boolean;
|
|
7
|
+
description: string;
|
|
8
|
+
relationDesc?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface LinkInfo {
|
|
11
|
+
fieldName: string;
|
|
12
|
+
field?: Field;
|
|
13
|
+
targetFormName: string;
|
|
14
|
+
}
|
|
15
|
+
export interface DesignInfo {
|
|
16
|
+
formName: string;
|
|
17
|
+
linkInfoMap: Map<string, LinkInfo>;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* 解析 mcp 返回的表单设计文档,提取关联信息
|
|
21
|
+
* @param designDoc
|
|
22
|
+
* @returns
|
|
23
|
+
*/
|
|
24
|
+
export declare const parseFormDesignInfo: (designDoc: string) => DesignInfo;
|
|
25
|
+
export declare const isFieldTypeEqual: (field: Field, type: FieldType) => boolean;
|
|
26
|
+
export declare const hasSubFields: (field: Field) => boolean;
|
|
27
|
+
export declare const isLinkField: (field: Field) => boolean;
|
|
28
|
+
export declare const isSubFormField: (field: Field) => boolean;
|
|
29
|
+
export declare const isSNField: (field: Field) => boolean;
|
|
30
|
+
export declare const isTextField: (field: Field) => boolean;
|
|
31
|
+
export declare const hasLinkInfo: (designInfo: DesignInfo) => boolean;
|
|
32
|
+
export type FieldProcessor = (formInfo: FormInfo, field: Field, linkInfo: LinkInfo) => Field;
|
|
33
|
+
export interface FormFieldsWalkerConfig {
|
|
34
|
+
isTargetForm: (formName: string, info: FormInfo) => boolean;
|
|
35
|
+
isTargetField: (fieldName: string, linkInfo: LinkInfo) => boolean;
|
|
36
|
+
fieldProcessor: FieldProcessor;
|
|
37
|
+
onFormProcessed: (formInfo: FormInfo) => void;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* 表单字段遍历器,目标为 infoMap
|
|
41
|
+
*/
|
|
42
|
+
export declare const formFieldsWalker: (infoMap: Map<string, FormInfo>, options: FormFieldsWalkerConfig) => void;
|
|
43
|
+
export declare const buildWidgetName: (prefix?: string, index?: number) => string;
|
|
44
|
+
export declare const enhanceDataLoadField: (field: Field, linkInfo: LinkInfo, formMap: Map<string, FormInfo>, onEnhanced: (processed?: Field) => void) => any;
|
|
45
|
+
export declare const enhanceLinkField: (field: Field, linkInfo: LinkInfo, formMap: Map<string, FormInfo>, onEnhanced: (processed?: Field) => void) => Field;
|
|
46
|
+
export type PartialRecord<K extends keyof any, T> = Partial<Record<K, T>>;
|
|
47
|
+
/**
|
|
48
|
+
* 表单字段处理器工厂
|
|
49
|
+
*/
|
|
50
|
+
export declare const fieldProcessorFactory: PartialRecord<FieldType, (ctxInfo: Map<string, FormInfo>) => FieldProcessor>;
|
|
51
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-builder-plugin/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAG7C,MAAM,WAAW,SAAS;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAGD,MAAM,WAAW,QAAQ;IACvB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,KAAK,CAAC;IAEd,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;CACpC;AA0GD;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,GAAI,WAAW,MAAM,KAAG,UAKvD,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,EAAE,MAAM,SAAS,YAM7D,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,OAAO,KAAK,YAMxC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,YAEvC,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,YAM1C,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,OAAO,KAAK,YAMrC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,YAMvC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,YAAY,UAAU,YAMjD,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,QAAQ,KAAK,KAAK,CAAC;AAE7F,MAAM,WAAW,sBAAsB;IACrC,YAAY,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,KAAK,OAAO,CAAC;IAC5D,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,QAAQ,KAAK,OAAO,CAAC;IAClE,cAAc,EAAE,cAAc,CAAC;IAC/B,eAAe,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;CAC/C;AAED;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAE3B,SAAS,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,EAC9B,SAAS,sBAAsB,SA+BhC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,MAclE,CAAC;AAGF,eAAO,MAAM,oBAAoB,GAC/B,OAAO,KAAK,EACZ,UAAU,QAAQ,EAClB,SAAS,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,EAC9B,YAAY,CAAC,SAAS,CAAC,EAAE,KAAK,KAAK,IAAI,QA+DxC,CAAC;AAGF,eAAO,MAAM,gBAAgB,GAC3B,OAAO,KAAK,EACZ,UAAU,QAAQ,EAClB,SAAS,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,EAC9B,YAAY,CAAC,SAAS,CAAC,EAAE,KAAK,KAAK,IAAI,KACtC,KAmFF,CAAC;AAEF,MAAM,MAAM,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,EAAE,CAAC,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAE1E;;GAEG;AACH,eAAO,MAAM,qBAAqB,EAAE,aAAa,CAC/C,SAAS,EACT,CAAC,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,KAAK,cAAc,CAoBnD,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IEvtBus } from '@baishuyun/types';
|
|
2
|
+
/**
|
|
3
|
+
* Manages batch filling data for form filling plugin.
|
|
4
|
+
* Tracks checked message IDs so external users can get checked messages.
|
|
5
|
+
*/
|
|
6
|
+
export declare class BatchFillingDataManager {
|
|
7
|
+
private evtBus;
|
|
8
|
+
/** Set of all message IDs that have been filled */
|
|
9
|
+
private allMessageIds;
|
|
10
|
+
/** Set of unchecked messageIds */
|
|
11
|
+
private uncheckedMessageIds;
|
|
12
|
+
constructor(evtBus: IEvtBus);
|
|
13
|
+
private handleFieldFillingUpdate;
|
|
14
|
+
private handleFieldsCheckedUpdate;
|
|
15
|
+
private handleFieldsDataConfirmed;
|
|
16
|
+
/**
|
|
17
|
+
* Get all checked message IDs
|
|
18
|
+
*/
|
|
19
|
+
getCheckedMessageIds(): Set<string>;
|
|
20
|
+
/**
|
|
21
|
+
* Clear all tracked data
|
|
22
|
+
*/
|
|
23
|
+
clear(): void;
|
|
24
|
+
dispose(): void;
|
|
25
|
+
}
|
|
26
|
+
//# sourceMappingURL=batch-filling-data-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-filling-data-manager.d.ts","sourceRoot":"","sources":["../../../src/plugins/form-filling-plugin/batch-filling-data-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqC,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO9E;;;GAGG;AACH,qBAAa,uBAAuB;IAClC,OAAO,CAAC,MAAM,CAAU;IAExB,mDAAmD;IACnD,OAAO,CAAC,aAAa,CAA0B;IAE/C,kCAAkC;IAClC,OAAO,CAAC,mBAAmB,CAA0B;gBAElC,MAAM,EAAE,OAAO;IAiBlC,OAAO,CAAC,wBAAwB,CAW9B;IAEF,OAAO,CAAC,yBAAyB,CAe/B;IAEF,OAAO,CAAC,yBAAyB,CAK/B;IAEF;;OAEG;IACI,oBAAoB,IAAI,GAAG,CAAC,MAAM,CAAC;IAU1C;;OAEG;IACI,KAAK,IAAI,IAAI;IAKb,OAAO,IAAI,IAAI;CAgBvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormFillingOpeningLines.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/components/FormFillingOpeningLines.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAIrD,eAAO,MAAM,uBAAuB,GAAI,iBAAiB,iBAAiB,4CAmCzE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/components/avatar.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa,GAAI,cAE3B;IACD,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,4CAOA,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TextUIPart } from 'ai';
|
|
2
|
+
import { ChatMessage, UseChatHelpers } from '@baishuyun/types';
|
|
3
|
+
import { Field } from '../../form-builder-base-plugin/types';
|
|
4
|
+
interface BatchGeneratorActionProps {
|
|
5
|
+
sendMessage: UseChatHelpers<ChatMessage>['sendMessage'];
|
|
6
|
+
setMessages: UseChatHelpers<ChatMessage>['setMessages'];
|
|
7
|
+
status: UseChatHelpers<ChatMessage>['status'];
|
|
8
|
+
id: string;
|
|
9
|
+
parts?: Array<TextUIPart>;
|
|
10
|
+
fields?: Array<Field>;
|
|
11
|
+
}
|
|
12
|
+
export declare const BatchGeneratorAction: import('react').MemoExoticComponent<({ parts, ...rest }: BatchGeneratorActionProps) => import("react/jsx-runtime").JSX.Element | null>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=batch-generator-action.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"batch-generator-action.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/components/batch-generator-action.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAQhC,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAC/D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,0CAA0C,CAAC;AAoEtE,UAAU,yBAAyB;IACjC,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACxD,WAAW,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,aAAa,CAAC,CAAC;IACxD,MAAM,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC,QAAQ,CAAC,CAAC;IAC9C,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,CAAC;IAC1B,MAAM,CAAC,EAAE,KAAK,CAAC,KAAK,CAAC,CAAC;CACvB;AAyHD,eAAO,MAAM,oBAAoB,2DAnBO,yBAAyB,oDAkC/D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-btn.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/components/entry-btn.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,gBAAgB,EAAmB,MAAM,kBAAkB,CAAC;AAMrE,eAAO,MAAM,WAAW,GAAI,6BAA6B,gBAAgB,4CAsCxE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mode-select.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/components/mode-select.tsx"],"names":[],"mappings":"AAOA,eAAO,MAAM,UAAU,sDA+BtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"msg-part.d.ts","sourceRoot":"","sources":["../../../../src/plugins/form-filling-plugin/components/msg-part.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAapD,eAAO,MAAM,eAAe,GAAI,OAAO,gBAAgB,mDAyHtD,CAAC"}
|