@baishuyun/ai-design 2.1.6 → 2.1.8
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 +46 -0
- package/dist/ai-design.css +4173 -0
- package/dist/ai-design.js +62784 -0
- package/dist/ai-design.js.map +1 -0
- package/dist/ai-design.umd.cjs +620 -0
- package/dist/ai-design.umd.cjs.map +1 -0
- package/dist/src/components/abs-fullscreen-gradient-bg.d.ts +10 -0
- package/dist/src/components/abs-fullscreen-gradient-bg.d.ts.map +1 -0
- package/dist/src/components/agent-drawer.d.ts +24 -0
- package/dist/src/components/agent-drawer.d.ts.map +1 -0
- package/dist/src/components/agent-helper/agent-category-select-menu/index.d.ts +8 -0
- package/dist/src/components/agent-helper/agent-category-select-menu/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/agent-entry-card/index.d.ts +9 -0
- package/dist/src/components/agent-helper/agent-entry-card/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/agent-helper-card/index.d.ts +16 -0
- package/dist/src/components/agent-helper/agent-helper-card/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/agent-helper-card-list/index.d.ts +16 -0
- package/dist/src/components/agent-helper/agent-helper-card-list/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/agent-helper-main-layout/index.d.ts +30 -0
- package/dist/src/components/agent-helper/agent-helper-main-layout/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/agent-sort-select/index.d.ts +8 -0
- package/dist/src/components/agent-helper/agent-sort-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/agent-tag/index.d.ts +7 -0
- package/dist/src/components/agent-helper/agent-tag/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/app-select/index.d.ts +45 -0
- package/dist/src/components/agent-helper/app-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/condition-group/index.d.ts +15 -0
- package/dist/src/components/agent-helper/condition-group/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/condition-input/index.d.ts +33 -0
- package/dist/src/components/agent-helper/condition-input/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/condition-item/index.d.ts +16 -0
- package/dist/src/components/agent-helper/condition-item/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/condition-quantifier-select/index.d.ts +10 -0
- package/dist/src/components/agent-helper/condition-quantifier-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/condition-trigger-description/index.d.ts +12 -0
- package/dist/src/components/agent-helper/condition-trigger-description/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/calendar-panel.d.ts +19 -0
- package/dist/src/components/agent-helper/date-picker/calendar-panel.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/date-input.d.ts +4 -0
- package/dist/src/components/agent-helper/date-picker/date-input.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/date-picker.d.ts +4 -0
- package/dist/src/components/agent-helper/date-picker/date-picker.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/footer-panel.d.ts +10 -0
- package/dist/src/components/agent-helper/date-picker/footer-panel.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/index.d.ts +4 -0
- package/dist/src/components/agent-helper/date-picker/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/month-panel.d.ts +16 -0
- package/dist/src/components/agent-helper/date-picker/month-panel.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/time-panel.d.ts +20 -0
- package/dist/src/components/agent-helper/date-picker/time-panel.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/types.d.ts +28 -0
- package/dist/src/components/agent-helper/date-picker/types.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/utils.d.ts +14 -0
- package/dist/src/components/agent-helper/date-picker/utils.d.ts.map +1 -0
- package/dist/src/components/agent-helper/date-picker/year-panel.d.ts +14 -0
- package/dist/src/components/agent-helper/date-picker/year-panel.d.ts.map +1 -0
- package/dist/src/components/agent-helper/exec-log-filter/index.d.ts +24 -0
- package/dist/src/components/agent-helper/exec-log-filter/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-edit-preference-select/index.d.ts +11 -0
- package/dist/src/components/agent-helper/field-edit-preference-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-select/index.d.ts +35 -0
- package/dist/src/components/agent-helper/field-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-value-input/china-address-data.d.ts +2 -0
- package/dist/src/components/agent-helper/field-value-input/china-address-data.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-value-input/dept-select.d.ts +8 -0
- package/dist/src/components/agent-helper/field-value-input/dept-select.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-value-input/display.d.ts +19 -0
- package/dist/src/components/agent-helper/field-value-input/display.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-value-input/icons.d.ts +8 -0
- package/dist/src/components/agent-helper/field-value-input/icons.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-value-input/index.d.ts +24 -0
- package/dist/src/components/agent-helper/field-value-input/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-value-input/inputs.d.ts +10 -0
- package/dist/src/components/agent-helper/field-value-input/inputs.d.ts.map +1 -0
- package/dist/src/components/agent-helper/field-value-input/picker-inputs.d.ts +21 -0
- package/dist/src/components/agent-helper/field-value-input/picker-inputs.d.ts.map +1 -0
- package/dist/src/components/agent-helper/flow-node-action-trigger-select/index.d.ts +12 -0
- package/dist/src/components/agent-helper/flow-node-action-trigger-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/form-action-trigger-select/index.d.ts +12 -0
- package/dist/src/components/agent-helper/form-action-trigger-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/form-divider/index.d.ts +7 -0
- package/dist/src/components/agent-helper/form-divider/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/form-select/index.d.ts +40 -0
- package/dist/src/components/agent-helper/form-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/monthdays-select/index.d.ts +15 -0
- package/dist/src/components/agent-helper/monthdays-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/offset-preference-select/index.d.ts +10 -0
- package/dist/src/components/agent-helper/offset-preference-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/offset-type-select/index.d.ts +17 -0
- package/dist/src/components/agent-helper/offset-type-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/offset-unit-select/index.d.ts +15 -0
- package/dist/src/components/agent-helper/offset-unit-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/placeholder-card/index.d.ts +9 -0
- package/dist/src/components/agent-helper/placeholder-card/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/prompt-input/index.d.ts +12 -0
- package/dist/src/components/agent-helper/prompt-input/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/relational-operator-select/index.d.ts +19 -0
- package/dist/src/components/agent-helper/relational-operator-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/repeat-by-type-select/index.d.ts +15 -0
- package/dist/src/components/agent-helper/repeat-by-type-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/repeat-preference-select/index.d.ts +9 -0
- package/dist/src/components/agent-helper/repeat-preference-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/repeat-preference-type-select/index.d.ts +15 -0
- package/dist/src/components/agent-helper/repeat-preference-type-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/search-input/index.d.ts +8 -0
- package/dist/src/components/agent-helper/search-input/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/table/index.d.ts +12 -0
- package/dist/src/components/agent-helper/table/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/team-wide-form-select/data-adapter.d.ts +9 -0
- package/dist/src/components/agent-helper/team-wide-form-select/data-adapter.d.ts.map +1 -0
- package/dist/src/components/agent-helper/team-wide-form-select/index.d.ts +45 -0
- package/dist/src/components/agent-helper/team-wide-form-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/team-wide-form-select/tree-panel.d.ts +17 -0
- package/dist/src/components/agent-helper/team-wide-form-select/tree-panel.d.ts.map +1 -0
- package/dist/src/components/agent-helper/team-wide-form-select/types.d.ts +27 -0
- package/dist/src/components/agent-helper/team-wide-form-select/types.d.ts.map +1 -0
- package/dist/src/components/agent-helper/team-wide-form-select/use-form-tree.d.ts +22 -0
- package/dist/src/components/agent-helper/team-wide-form-select/use-form-tree.d.ts.map +1 -0
- package/dist/src/components/agent-helper/trigger-select/index.d.ts +18 -0
- package/dist/src/components/agent-helper/trigger-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/trigger-time-preference-select/index.d.ts +14 -0
- package/dist/src/components/agent-helper/trigger-time-preference-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/trigger-time-source-type-select/index.d.ts +15 -0
- package/dist/src/components/agent-helper/trigger-time-source-type-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-helper/weekdays-select/index.d.ts +15 -0
- package/dist/src/components/agent-helper/weekdays-select/index.d.ts.map +1 -0
- package/dist/src/components/agent-scroll-selector.d.ts +12 -0
- package/dist/src/components/agent-scroll-selector.d.ts.map +1 -0
- package/dist/src/components/agent-select.d.ts +19 -0
- package/dist/src/components/agent-select.d.ts.map +1 -0
- package/dist/src/components/attachment-part-group.d.ts +16 -0
- package/dist/src/components/attachment-part-group.d.ts.map +1 -0
- package/dist/src/components/attachment-part.d.ts +35 -0
- package/dist/src/components/attachment-part.d.ts.map +1 -0
- package/dist/src/components/attachments-previewer.d.ts +18 -0
- package/dist/src/components/attachments-previewer.d.ts.map +1 -0
- package/dist/src/components/base-button.d.ts +8 -0
- package/dist/src/components/base-button.d.ts.map +1 -0
- package/dist/src/components/border-animation.d.ts +23 -0
- package/dist/src/components/border-animation.d.ts.map +1 -0
- package/dist/src/components/border-color-animation.d.ts +11 -0
- package/dist/src/components/border-color-animation.d.ts.map +1 -0
- package/dist/src/components/bot-avatar-name.d.ts +6 -0
- package/dist/src/components/bot-avatar-name.d.ts.map +1 -0
- package/dist/src/components/bot-icon.d.ts +5 -0
- package/dist/src/components/bot-icon.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/app-group-folder.d.ts +6 -0
- package/dist/src/components/bs-entry-select/app-group-folder.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/bs-entry-select.d.ts +4 -0
- package/dist/src/components/bs-entry-select/bs-entry-select.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/build-tree.d.ts +14 -0
- package/dist/src/components/bs-entry-select/build-tree.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/entry-item.d.ts +8 -0
- package/dist/src/components/bs-entry-select/entry-item.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/entry-popover.d.ts +18 -0
- package/dist/src/components/bs-entry-select/entry-popover.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/index.d.ts +4 -0
- package/dist/src/components/bs-entry-select/index.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/other-app-section.d.ts +11 -0
- package/dist/src/components/bs-entry-select/other-app-section.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/scroll-slider.d.ts +17 -0
- package/dist/src/components/bs-entry-select/scroll-slider.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/search-input.d.ts +4 -0
- package/dist/src/components/bs-entry-select/search-input.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/tree-item-node.d.ts +9 -0
- package/dist/src/components/bs-entry-select/tree-item-node.d.ts.map +1 -0
- package/dist/src/components/bs-entry-select/types.d.ts +52 -0
- package/dist/src/components/bs-entry-select/types.d.ts.map +1 -0
- package/dist/src/components/bs-icons.d.ts +112 -0
- package/dist/src/components/bs-icons.d.ts.map +1 -0
- package/dist/src/components/card-field.d.ts +11 -0
- package/dist/src/components/card-field.d.ts.map +1 -0
- package/dist/src/components/card.d.ts +19 -0
- package/dist/src/components/card.d.ts.map +1 -0
- package/dist/src/components/chat-area-header.d.ts +13 -0
- package/dist/src/components/chat-area-header.d.ts.map +1 -0
- package/dist/src/components/check-card.d.ts +7 -0
- package/dist/src/components/check-card.d.ts.map +1 -0
- package/dist/src/components/circle-checker.d.ts +11 -0
- package/dist/src/components/circle-checker.d.ts.map +1 -0
- package/dist/src/components/collapsible-txt-msg.d.ts +15 -0
- package/dist/src/components/collapsible-txt-msg.d.ts.map +1 -0
- package/dist/src/components/collapsible.d.ts +6 -0
- package/dist/src/components/collapsible.d.ts.map +1 -0
- package/dist/src/components/confirm-dialog.d.ts +26 -0
- package/dist/src/components/confirm-dialog.d.ts.map +1 -0
- package/dist/src/components/date-range-picker.d.ts +8 -0
- package/dist/src/components/date-range-picker.d.ts.map +1 -0
- package/dist/src/components/fake-bot-msg.d.ts +10 -0
- package/dist/src/components/fake-bot-msg.d.ts.map +1 -0
- package/dist/src/components/field-checker-list-msg.d.ts +20 -0
- package/dist/src/components/field-checker-list-msg.d.ts.map +1 -0
- package/dist/src/components/field-checker.d.ts +19 -0
- package/dist/src/components/field-checker.d.ts.map +1 -0
- package/dist/src/components/field-icon.d.ts +5 -0
- package/dist/src/components/field-icon.d.ts.map +1 -0
- package/dist/src/components/field-value-checker.d.ts +14 -0
- package/dist/src/components/field-value-checker.d.ts.map +1 -0
- package/dist/src/components/fields-design-info-table.d.ts +7 -0
- package/dist/src/components/fields-design-info-table.d.ts.map +1 -0
- package/dist/src/components/fields-generating-indicator.d.ts +6 -0
- package/dist/src/components/fields-generating-indicator.d.ts.map +1 -0
- package/dist/src/components/fields-portal.d.ts +8 -0
- package/dist/src/components/fields-portal.d.ts.map +1 -0
- package/dist/src/components/fields-previewer.d.ts +19 -0
- package/dist/src/components/fields-previewer.d.ts.map +1 -0
- package/dist/src/components/font-icon.d.ts +12 -0
- package/dist/src/components/font-icon.d.ts.map +1 -0
- package/dist/src/components/form-info-editor.d.ts +35 -0
- package/dist/src/components/form-info-editor.d.ts.map +1 -0
- package/dist/src/components/formula-tag.d.ts +8 -0
- package/dist/src/components/formula-tag.d.ts.map +1 -0
- package/dist/src/components/generate-animation.d.ts +5 -0
- package/dist/src/components/generate-animation.d.ts.map +1 -0
- package/dist/src/components/icon-btn.d.ts +9 -0
- package/dist/src/components/icon-btn.d.ts.map +1 -0
- package/dist/src/components/icon-card.d.ts +13 -0
- package/dist/src/components/icon-card.d.ts.map +1 -0
- package/dist/src/components/icons/calendar-icon.d.ts +4 -0
- package/dist/src/components/icons/calendar-icon.d.ts.map +1 -0
- package/dist/src/components/icons/clear-all-icon.d.ts +4 -0
- package/dist/src/components/icons/clear-all-icon.d.ts.map +1 -0
- package/dist/src/components/icons/empty-agent-icon.d.ts +2 -0
- package/dist/src/components/icons/empty-agent-icon.d.ts.map +1 -0
- package/dist/src/components/icons/empty-table-icon.d.ts +2 -0
- package/dist/src/components/icons/empty-table-icon.d.ts.map +1 -0
- package/dist/src/components/icons/grids-icon.d.ts +2 -0
- package/dist/src/components/icons/grids-icon.d.ts.map +1 -0
- package/dist/src/components/img-part.d.ts +10 -0
- package/dist/src/components/img-part.d.ts.map +1 -0
- package/dist/src/components/legacy-slot.d.ts +11 -0
- package/dist/src/components/legacy-slot.d.ts.map +1 -0
- package/dist/src/components/line-checker.d.ts +21 -0
- package/dist/src/components/line-checker.d.ts.map +1 -0
- package/dist/src/components/linear-gradient-border-btn.d.ts +10 -0
- package/dist/src/components/linear-gradient-border-btn.d.ts.map +1 -0
- package/dist/src/components/linear-gradient-color-bg-animation.d.ts +8 -0
- package/dist/src/components/linear-gradient-color-bg-animation.d.ts.map +1 -0
- package/dist/src/components/memoized-markdown.d.ts +13 -0
- package/dist/src/components/memoized-markdown.d.ts.map +1 -0
- package/dist/src/components/message-content.d.ts +8 -0
- package/dist/src/components/message-content.d.ts.map +1 -0
- package/dist/src/components/number-part.d.ts +9 -0
- package/dist/src/components/number-part.d.ts.map +1 -0
- package/dist/src/components/office-container.d.ts +22 -0
- package/dist/src/components/office-container.d.ts.map +1 -0
- package/dist/src/components/option-item.d.ts +9 -0
- package/dist/src/components/option-item.d.ts.map +1 -0
- package/dist/src/components/output-config-editor.d.ts +10 -0
- package/dist/src/components/output-config-editor.d.ts.map +1 -0
- package/dist/src/components/previewer-header.d.ts +21 -0
- package/dist/src/components/previewer-header.d.ts.map +1 -0
- package/dist/src/components/primary-confirm-btn.d.ts +12 -0
- package/dist/src/components/primary-confirm-btn.d.ts.map +1 -0
- package/dist/src/components/primary-entry-btn.d.ts +9 -0
- package/dist/src/components/primary-entry-btn.d.ts.map +1 -0
- package/dist/src/components/radio-card.d.ts +7 -0
- package/dist/src/components/radio-card.d.ts.map +1 -0
- package/dist/src/components/scroll-to-bottom-btn.d.ts +7 -0
- package/dist/src/components/scroll-to-bottom-btn.d.ts.map +1 -0
- package/dist/src/components/shadow-content.d.ts +9 -0
- package/dist/src/components/shadow-content.d.ts.map +1 -0
- package/dist/src/components/shadow-portal.d.ts +9 -0
- package/dist/src/components/shadow-portal.d.ts.map +1 -0
- package/dist/src/components/split-line.d.ts +5 -0
- package/dist/src/components/split-line.d.ts.map +1 -0
- package/dist/src/components/square-checker.d.ts +15 -0
- package/dist/src/components/square-checker.d.ts.map +1 -0
- package/dist/src/components/subform-fields-value-checker.d.ts +20 -0
- package/dist/src/components/subform-fields-value-checker.d.ts.map +1 -0
- package/dist/src/components/tab-radio-group.d.ts +20 -0
- package/dist/src/components/tab-radio-group.d.ts.map +1 -0
- package/dist/src/components/tooltip.d.ts +6 -0
- package/dist/src/components/tooltip.d.ts.map +1 -0
- package/dist/src/components/ui/button.d.ts +12 -0
- package/dist/src/components/ui/button.d.ts.map +1 -0
- package/dist/src/components/ui/calendar.d.ts +5 -0
- package/dist/src/components/ui/calendar.d.ts.map +1 -0
- package/dist/src/components/ui/dialog.d.ts +24 -0
- package/dist/src/components/ui/dialog.d.ts.map +1 -0
- package/dist/src/components/ui/drawer.d.ts +24 -0
- package/dist/src/components/ui/drawer.d.ts.map +1 -0
- package/dist/src/components/ui/enhanced-drawer.d.ts +42 -0
- package/dist/src/components/ui/enhanced-drawer.d.ts.map +1 -0
- package/dist/src/components/ui/form.d.ts +27 -0
- package/dist/src/components/ui/form.d.ts.map +1 -0
- package/dist/src/components/ui/icons.d.ts +176 -0
- package/dist/src/components/ui/icons.d.ts.map +1 -0
- package/dist/src/components/ui/input.d.ts +4 -0
- package/dist/src/components/ui/input.d.ts.map +1 -0
- package/dist/src/components/ui/label.d.ts +9 -0
- package/dist/src/components/ui/label.d.ts.map +1 -0
- package/dist/src/components/ui/popover.d.ts +10 -0
- package/dist/src/components/ui/popover.d.ts.map +1 -0
- package/dist/src/components/ui/select.d.ts +16 -0
- package/dist/src/components/ui/select.d.ts.map +1 -0
- package/dist/src/components/ui/spinner.d.ts +3 -0
- package/dist/src/components/ui/spinner.d.ts.map +1 -0
- package/dist/src/components/ui/switch.d.ts +7 -0
- package/dist/src/components/ui/switch.d.ts.map +1 -0
- package/dist/src/components/ui/tabs.d.ts +8 -0
- package/dist/src/components/ui/tabs.d.ts.map +1 -0
- package/dist/src/components/ui/textarea.d.ts +4 -0
- package/dist/src/components/ui/textarea.d.ts.map +1 -0
- package/dist/src/components/ui/tooltip.d.ts +13 -0
- package/dist/src/components/ui/tooltip.d.ts.map +1 -0
- package/dist/src/components/user-txt-msg-bubble.d.ts +13 -0
- package/dist/src/components/user-txt-msg-bubble.d.ts.map +1 -0
- package/dist/src/components/warning-msg.d.ts +6 -0
- package/dist/src/components/warning-msg.d.ts.map +1 -0
- package/dist/src/const/shadow.d.ts +3 -0
- package/dist/src/const/shadow.d.ts.map +1 -0
- package/dist/src/const/ui.d.ts +11 -0
- package/dist/src/const/ui.d.ts.map +1 -0
- package/dist/src/hooks/use-column-appear.d.ts +22 -0
- package/dist/src/hooks/use-column-appear.d.ts.map +1 -0
- package/dist/src/hooks/use-portal-container.d.ts +6 -0
- package/dist/src/hooks/use-portal-container.d.ts.map +1 -0
- package/dist/src/hooks/use-resizable-width.d.ts +28 -0
- package/dist/src/hooks/use-resizable-width.d.ts.map +1 -0
- package/dist/src/hooks/use-select-popover-position.d.ts +16 -0
- package/dist/src/hooks/use-select-popover-position.d.ts.map +1 -0
- package/dist/src/hooks/use-shadow-boundary.d.ts +9 -0
- package/dist/src/hooks/use-shadow-boundary.d.ts.map +1 -0
- package/dist/src/hooks/use-shadow.d.ts +26 -0
- package/dist/src/hooks/use-shadow.d.ts.map +1 -0
- package/dist/src/index.d.ts +165 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/lib/utils.d.ts +7 -0
- package/dist/src/lib/utils.d.ts.map +1 -0
- package/dist/src/stories/AbsFullscreenGradientBg.stories.d.ts +17 -0
- package/dist/src/stories/AbsFullscreenGradientBg.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentCategorySelectMenu.stories.d.ts +19 -0
- package/dist/src/stories/AgentCategorySelectMenu.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentEntryCard.stories.d.ts +25 -0
- package/dist/src/stories/AgentEntryCard.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentHelperCard.stories.d.ts +31 -0
- package/dist/src/stories/AgentHelperCard.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentHelperCardList.stories.d.ts +21 -0
- package/dist/src/stories/AgentHelperCardList.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentHelperMainLayout.stories.d.ts +9 -0
- package/dist/src/stories/AgentHelperMainLayout.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentScrollSelector.stories.d.ts +11 -0
- package/dist/src/stories/AgentScrollSelector.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentSelect.stories.d.ts +14 -0
- package/dist/src/stories/AgentSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/AgentTag.stories.d.ts +19 -0
- package/dist/src/stories/AgentTag.stories.d.ts.map +1 -0
- package/dist/src/stories/AppSelect.stories.d.ts +22 -0
- package/dist/src/stories/AppSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/AttachmentPart.stories.d.ts +23 -0
- package/dist/src/stories/AttachmentPart.stories.d.ts.map +1 -0
- package/dist/src/stories/AttachmentPartGroup.stories.d.ts +21 -0
- package/dist/src/stories/AttachmentPartGroup.stories.d.ts.map +1 -0
- package/dist/src/stories/AttachmentsPreviewer.stories.d.ts +20 -0
- package/dist/src/stories/AttachmentsPreviewer.stories.d.ts.map +1 -0
- package/dist/src/stories/BaseButton.stories.d.ts +18 -0
- package/dist/src/stories/BaseButton.stories.d.ts.map +1 -0
- package/dist/src/stories/BorderAnimation.stories.d.ts +21 -0
- package/dist/src/stories/BorderAnimation.stories.d.ts.map +1 -0
- package/dist/src/stories/BorderColorAnimation.stories.d.ts +26 -0
- package/dist/src/stories/BorderColorAnimation.stories.d.ts.map +1 -0
- package/dist/src/stories/BotAvatarAndName.stories.d.ts +18 -0
- package/dist/src/stories/BotAvatarAndName.stories.d.ts.map +1 -0
- package/dist/src/stories/BotIcon.stories.d.ts +17 -0
- package/dist/src/stories/BotIcon.stories.d.ts.map +1 -0
- package/dist/src/stories/BsConditionInput.stories.d.ts +13 -0
- package/dist/src/stories/BsConditionInput.stories.d.ts.map +1 -0
- package/dist/src/stories/BsEntrySelect.stories.d.ts +20 -0
- package/dist/src/stories/BsEntrySelect.stories.d.ts.map +1 -0
- package/dist/src/stories/BsTooltip.stories.d.ts +7 -0
- package/dist/src/stories/BsTooltip.stories.d.ts.map +1 -0
- package/dist/src/stories/Card.stories.d.ts +14 -0
- package/dist/src/stories/Card.stories.d.ts.map +1 -0
- package/dist/src/stories/CardField.stories.d.ts +13 -0
- package/dist/src/stories/CardField.stories.d.ts.map +1 -0
- package/dist/src/stories/ChatAreaHeader.stories.d.ts +14 -0
- package/dist/src/stories/ChatAreaHeader.stories.d.ts.map +1 -0
- package/dist/src/stories/CheckCard.stories.d.ts +20 -0
- package/dist/src/stories/CheckCard.stories.d.ts.map +1 -0
- package/dist/src/stories/CircleChecker.stories.d.ts +21 -0
- package/dist/src/stories/CircleChecker.stories.d.ts.map +1 -0
- package/dist/src/stories/CollapsibleTextMsg.stories.d.ts +16 -0
- package/dist/src/stories/CollapsibleTextMsg.stories.d.ts.map +1 -0
- package/dist/src/stories/ConditionGroup.stories.d.ts +11 -0
- package/dist/src/stories/ConditionGroup.stories.d.ts.map +1 -0
- package/dist/src/stories/ConditionInput.stories.d.ts +15 -0
- package/dist/src/stories/ConditionInput.stories.d.ts.map +1 -0
- package/dist/src/stories/ConditionItem.stories.d.ts +12 -0
- package/dist/src/stories/ConditionItem.stories.d.ts.map +1 -0
- package/dist/src/stories/ConditonQuantifierSelect.stories.d.ts +20 -0
- package/dist/src/stories/ConditonQuantifierSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/ConditonTriggerDescription.stories.d.ts +20 -0
- package/dist/src/stories/ConditonTriggerDescription.stories.d.ts.map +1 -0
- package/dist/src/stories/ConfirmDialog.stories.d.ts +61 -0
- package/dist/src/stories/ConfirmDialog.stories.d.ts.map +1 -0
- package/dist/src/stories/DataTable.stories.d.ts +47 -0
- package/dist/src/stories/DataTable.stories.d.ts.map +1 -0
- package/dist/src/stories/DatePicker.stories.d.ts +28 -0
- package/dist/src/stories/DatePicker.stories.d.ts.map +1 -0
- package/dist/src/stories/ExecLogFilter.stories.d.ts +13 -0
- package/dist/src/stories/ExecLogFilter.stories.d.ts.map +1 -0
- package/dist/src/stories/FakeBotMsg.stories.d.ts +22 -0
- package/dist/src/stories/FakeBotMsg.stories.d.ts.map +1 -0
- package/dist/src/stories/FieldEditPreferenceSelect.stories.d.ts +15 -0
- package/dist/src/stories/FieldEditPreferenceSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/FieldSelect.stories.d.ts +14 -0
- package/dist/src/stories/FieldSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/FieldValueInput.stories.d.ts +47 -0
- package/dist/src/stories/FieldValueInput.stories.d.ts.map +1 -0
- package/dist/src/stories/FlowNodeActionTriggerSelect.stories.d.ts +18 -0
- package/dist/src/stories/FlowNodeActionTriggerSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/Form.stories.d.ts +18 -0
- package/dist/src/stories/Form.stories.d.ts.map +1 -0
- package/dist/src/stories/FormActionTriggerSelect.stories.d.ts +18 -0
- package/dist/src/stories/FormActionTriggerSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/FormDivider.stories.d.ts +16 -0
- package/dist/src/stories/FormDivider.stories.d.ts.map +1 -0
- package/dist/src/stories/FormInfoEditor.stories.d.ts +15 -0
- package/dist/src/stories/FormInfoEditor.stories.d.ts.map +1 -0
- package/dist/src/stories/FormSelect.stories.d.ts +22 -0
- package/dist/src/stories/FormSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/FormulaTag.stories.d.ts +37 -0
- package/dist/src/stories/FormulaTag.stories.d.ts.map +1 -0
- package/dist/src/stories/GenerateAnimation.stories.d.ts +17 -0
- package/dist/src/stories/GenerateAnimation.stories.d.ts.map +1 -0
- package/dist/src/stories/IconBtn.stories.d.ts +15 -0
- package/dist/src/stories/IconBtn.stories.d.ts.map +1 -0
- package/dist/src/stories/IconCard.stories.d.ts +15 -0
- package/dist/src/stories/IconCard.stories.d.ts.map +1 -0
- package/dist/src/stories/IconLib.d.ts +12 -0
- package/dist/src/stories/IconLib.d.ts.map +1 -0
- package/dist/src/stories/IconfontPicker.stories.d.ts +13 -0
- package/dist/src/stories/IconfontPicker.stories.d.ts.map +1 -0
- package/dist/src/stories/Icons.stories.d.ts +24 -0
- package/dist/src/stories/Icons.stories.d.ts.map +1 -0
- package/dist/src/stories/ImgMsgPart.stories.d.ts +20 -0
- package/dist/src/stories/ImgMsgPart.stories.d.ts.map +1 -0
- package/dist/src/stories/Input.stories.d.ts +23 -0
- package/dist/src/stories/Input.stories.d.ts.map +1 -0
- package/dist/src/stories/Label.stories.d.ts +18 -0
- package/dist/src/stories/Label.stories.d.ts.map +1 -0
- package/dist/src/stories/LegacySlot.stories.d.ts +16 -0
- package/dist/src/stories/LegacySlot.stories.d.ts.map +1 -0
- package/dist/src/stories/LineChecker.stories.d.ts +23 -0
- package/dist/src/stories/LineChecker.stories.d.ts.map +1 -0
- package/dist/src/stories/LinearGradientBorderBtn.stories.d.ts +22 -0
- package/dist/src/stories/LinearGradientBorderBtn.stories.d.ts.map +1 -0
- package/dist/src/stories/LinearGradientColorBgAnimation.stories.d.ts +23 -0
- package/dist/src/stories/LinearGradientColorBgAnimation.stories.d.ts.map +1 -0
- package/dist/src/stories/MemoizedMarkdown.stories.d.ts +38 -0
- package/dist/src/stories/MemoizedMarkdown.stories.d.ts.map +1 -0
- package/dist/src/stories/MessageContent.stories.d.ts +16 -0
- package/dist/src/stories/MessageContent.stories.d.ts.map +1 -0
- package/dist/src/stories/MonthdaysSelect.stories.d.ts +14 -0
- package/dist/src/stories/MonthdaysSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/NumbersMsgPart.stories.d.ts +19 -0
- package/dist/src/stories/NumbersMsgPart.stories.d.ts.map +1 -0
- package/dist/src/stories/OfficeContainer.stories.d.ts +14 -0
- package/dist/src/stories/OfficeContainer.stories.d.ts.map +1 -0
- package/dist/src/stories/OffsetPreferenceSelect.stories.d.ts +11 -0
- package/dist/src/stories/OffsetPreferenceSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/OffsetTypeSelect.stories.d.ts +12 -0
- package/dist/src/stories/OffsetTypeSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/OffsetUnitSelect.stories.d.ts +11 -0
- package/dist/src/stories/OffsetUnitSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/OptionItem.stories.d.ts +20 -0
- package/dist/src/stories/OptionItem.stories.d.ts.map +1 -0
- package/dist/src/stories/OutputConfigEditor.stories.d.ts +9 -0
- package/dist/src/stories/OutputConfigEditor.stories.d.ts.map +1 -0
- package/dist/src/stories/PlaceholderCard.stories.d.ts +21 -0
- package/dist/src/stories/PlaceholderCard.stories.d.ts.map +1 -0
- package/dist/src/stories/PreviewerHeader.stories.d.ts +12 -0
- package/dist/src/stories/PreviewerHeader.stories.d.ts.map +1 -0
- package/dist/src/stories/PrimaryConfirmBtn.stories.d.ts +19 -0
- package/dist/src/stories/PrimaryConfirmBtn.stories.d.ts.map +1 -0
- package/dist/src/stories/PrimaryEntryBtn.stories.d.ts +26 -0
- package/dist/src/stories/PrimaryEntryBtn.stories.d.ts.map +1 -0
- package/dist/src/stories/PromptInput.stories.d.ts +14 -0
- package/dist/src/stories/PromptInput.stories.d.ts.map +1 -0
- package/dist/src/stories/RadioCard.stories.d.ts +19 -0
- package/dist/src/stories/RadioCard.stories.d.ts.map +1 -0
- package/dist/src/stories/RelationalOperatorSelect.stories.d.ts +24 -0
- package/dist/src/stories/RelationalOperatorSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/RepeatByTypeSelect.stories.d.ts +11 -0
- package/dist/src/stories/RepeatByTypeSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/RepeatPreferenceSelect.stories.d.ts +13 -0
- package/dist/src/stories/RepeatPreferenceSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/RepeatPreferenceTypeSelect.stories.d.ts +11 -0
- package/dist/src/stories/RepeatPreferenceTypeSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/ScrollToBottom.stories.d.ts +15 -0
- package/dist/src/stories/ScrollToBottom.stories.d.ts.map +1 -0
- package/dist/src/stories/SearchInput.stories.d.ts +21 -0
- package/dist/src/stories/SearchInput.stories.d.ts.map +1 -0
- package/dist/src/stories/Select.stories.d.ts +19 -0
- package/dist/src/stories/Select.stories.d.ts.map +1 -0
- package/dist/src/stories/SplitLine.stories.d.ts +9 -0
- package/dist/src/stories/SplitLine.stories.d.ts.map +1 -0
- package/dist/src/stories/SquareChecker.stories.d.ts +26 -0
- package/dist/src/stories/SquareChecker.stories.d.ts.map +1 -0
- package/dist/src/stories/TabRadioGroup.stories.d.ts +18 -0
- package/dist/src/stories/TabRadioGroup.stories.d.ts.map +1 -0
- package/dist/src/stories/TeamWideFormSelect.stories.d.ts +13 -0
- package/dist/src/stories/TeamWideFormSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/Textarea.stories.d.ts +19 -0
- package/dist/src/stories/Textarea.stories.d.ts.map +1 -0
- package/dist/src/stories/TriggerSelect.stories.d.ts +16 -0
- package/dist/src/stories/TriggerSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/TriggerTimePreferenceSelect.stories.d.ts +10 -0
- package/dist/src/stories/TriggerTimePreferenceSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/TriggerTimeSourceTypeSelect.stories.d.ts +12 -0
- package/dist/src/stories/TriggerTimeSourceTypeSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/UserTextMsgBubble.stories.d.ts +18 -0
- package/dist/src/stories/UserTextMsgBubble.stories.d.ts.map +1 -0
- package/dist/src/stories/WarningMessage.stories.d.ts +16 -0
- package/dist/src/stories/WarningMessage.stories.d.ts.map +1 -0
- package/dist/src/stories/WeekdaysSelect.stories.d.ts +12 -0
- package/dist/src/stories/WeekdaysSelect.stories.d.ts.map +1 -0
- package/dist/src/stories/collapsible.stories.d.ts +8 -0
- package/dist/src/stories/collapsible.stories.d.ts.map +1 -0
- package/dist/src/stories/drawer.stories.d.ts +18 -0
- package/dist/src/stories/drawer.stories.d.ts.map +1 -0
- package/dist/src/stories/field-checker-list-msg.stories.d.ts +11 -0
- package/dist/src/stories/field-checker-list-msg.stories.d.ts.map +1 -0
- package/dist/src/stories/field-checker.stories.d.ts +13 -0
- package/dist/src/stories/field-checker.stories.d.ts.map +1 -0
- package/dist/src/stories/field-icon.stories.d.ts +15 -0
- package/dist/src/stories/field-icon.stories.d.ts.map +1 -0
- package/dist/src/stories/field-value-checker.stories.d.ts +13 -0
- package/dist/src/stories/field-value-checker.stories.d.ts.map +1 -0
- package/dist/src/stories/fields-design-info-table.stories.d.ts +14 -0
- package/dist/src/stories/fields-design-info-table.stories.d.ts.map +1 -0
- package/dist/src/stories/fields-generating.stories.d.ts +20 -0
- package/dist/src/stories/fields-generating.stories.d.ts.map +1 -0
- package/dist/src/stories/fields-previewer.stories.d.ts +19 -0
- package/dist/src/stories/fields-previewer.stories.d.ts.map +1 -0
- package/dist/src/stories/subform-fields-value-checker.stories.d.ts +9 -0
- package/dist/src/stories/subform-fields-value-checker.stories.d.ts.map +1 -0
- package/dist/src/types.d.ts +8 -0
- package/dist/src/types.d.ts.map +1 -0
- package/package.json +6 -5
- package/scripts/check-markdown-autolink.mjs +63 -0
- package/src/components/agent-helper/condition-input/index.tsx +20 -4
- package/src/components/agent-helper/field-select/index.tsx +22 -0
- package/src/components/agent-helper/field-value-input/index.tsx +3 -1
- package/src/components/agent-helper/field-value-input/picker-inputs.tsx +111 -0
- package/src/components/agent-helper/form-select/index.tsx +2 -0
- package/src/components/agent-helper/trigger-select/index.tsx +12 -9
- package/src/components/bs-entry-select/build-tree.ts +7 -0
- package/src/components/memoized-markdown.tsx +35 -2
- package/src/components/ui/drawer.tsx +2 -13
- package/src/stories/TriggerSelect.stories.tsx +1 -1
- package/style.css +30 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grids-icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/grids-icon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,mCAIrB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export interface ImgMsgPartProps {
|
|
2
|
+
url: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Size in pixels (width & height), defaults to 102 */
|
|
6
|
+
size?: number;
|
|
7
|
+
onClick?: () => void;
|
|
8
|
+
}
|
|
9
|
+
export declare const ImgMsgPart: ({ url, alt, className, size, onClick }: ImgMsgPartProps) => import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=img-part.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"img-part.d.ts","sourceRoot":"","sources":["../../../src/components/img-part.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,eAAe;IAC9B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,eAAO,MAAM,UAAU,GAAI,wCAAmD,eAAe,gCAe5F,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LegacySlotRenderer } from '../types';
|
|
2
|
+
export interface LegacySlotProps {
|
|
3
|
+
renderLegacy: LegacySlotRenderer;
|
|
4
|
+
props: unknown;
|
|
5
|
+
shadow?: boolean;
|
|
6
|
+
injectedStyles?: string;
|
|
7
|
+
withHostStyles?: boolean;
|
|
8
|
+
onSetRef?: (ref: HTMLDivElement) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function LegacySlot({ renderLegacy, props, shadow, withHostStyles, injectedStyles, onSetRef, }: LegacySlotProps): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=legacy-slot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"legacy-slot.d.ts","sourceRoot":"","sources":["../../../src/components/legacy-slot.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAI9C,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,kBAAkB,CAAC;IACjC,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,EAAE,CAAC,GAAG,EAAE,cAAc,KAAK,IAAI,CAAC;CAC1C;AAyBD,wBAAgB,UAAU,CAAC,EACzB,YAAY,EACZ,KAAK,EACL,MAAc,EACd,cAAsB,EACtB,cAAc,EACd,QAAQ,GACT,EAAE,eAAe,+BA4DjB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React, CSSProperties } from 'react';
|
|
2
|
+
export interface LineCheckerProps {
|
|
3
|
+
defaultChecked?: boolean;
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
7
|
+
icon?: React.ReactNode;
|
|
8
|
+
title: string;
|
|
9
|
+
shortDesc?: string;
|
|
10
|
+
className?: string;
|
|
11
|
+
extra?: React.ReactNode;
|
|
12
|
+
style?: CSSProperties;
|
|
13
|
+
streaming?: boolean;
|
|
14
|
+
confirmed?: boolean;
|
|
15
|
+
readonly?: boolean;
|
|
16
|
+
/** 字段更新类型:new 淡绿色背景(新增),removed 置灰+中横线(删除) */
|
|
17
|
+
updateType?: 'new' | 'removed';
|
|
18
|
+
}
|
|
19
|
+
export declare const LineChecker: React.FC<LineCheckerProps>;
|
|
20
|
+
export default LineChecker;
|
|
21
|
+
//# sourceMappingURL=line-checker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"line-checker.d.ts","sourceRoot":"","sources":["../../../src/components/line-checker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAuB,MAAM,OAAO,CAAC;AAMlE,MAAM,WAAW,gBAAgB;IAC/B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAC;IAE7C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAExB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,8CAA8C;IAC9C,UAAU,CAAC,EAAE,KAAK,GAAG,SAAS,CAAC;CAChC;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2IlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface LinearGradientBorderBtnProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
onClick?: () => void;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
className?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare const LinearGradientBorderBtn: React.FC<LinearGradientBorderBtnProps>;
|
|
9
|
+
export default LinearGradientBorderBtn;
|
|
10
|
+
//# sourceMappingURL=linear-gradient-border-btn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear-gradient-border-btn.d.ts","sourceRoot":"","sources":["../../../src/components/linear-gradient-border-btn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,4BAA4B;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAmC1E,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const LinearGradientColorBgAnimation: ({ children, width, height, style, childrenContainerStyle, }: {
|
|
2
|
+
children?: React.ReactNode;
|
|
3
|
+
width?: string | number;
|
|
4
|
+
height?: string | number;
|
|
5
|
+
style?: React.CSSProperties;
|
|
6
|
+
childrenContainerStyle?: React.CSSProperties;
|
|
7
|
+
}) => import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=linear-gradient-color-bg-animation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linear-gradient-color-bg-animation.d.ts","sourceRoot":"","sources":["../../../src/components/linear-gradient-color-bg-animation.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,GAAI,6DAM5C;IACD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,sBAAsB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC9C,gCA0FA,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
type MarkdownProps = {
|
|
3
|
+
content: string;
|
|
4
|
+
id: string;
|
|
5
|
+
breaks?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const MemoizedMarkdown: import('react').NamedExoticComponent<MarkdownProps> & {
|
|
8
|
+
Prose: import('react').NamedExoticComponent<MarkdownProps & {
|
|
9
|
+
style?: CSSProperties;
|
|
10
|
+
}>;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=memoized-markdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memoized-markdown.d.ts","sourceRoot":"","sources":["../../../src/components/memoized-markdown.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAiB,MAAM,OAAO,CAAC;AA4DrD,KAAK,aAAa,GAAG;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC;AAmBvE,eAAO,MAAM,gBAAgB;;gBAZA,aAAa;;CAqBzC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'react';
|
|
2
|
+
export type MessageContentProps = HTMLAttributes<HTMLDivElement> & {
|
|
3
|
+
compact?: boolean;
|
|
4
|
+
/** 移动端消息内容文字 16px(PC 端 14px) */
|
|
5
|
+
isMobile?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const MessageContent: ({ children, className, isMobile, ...props }: MessageContentProps) => import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=message-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-content.d.ts","sourceRoot":"","sources":["../../../src/components/message-content.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,cAAc,CAAC,GAAG;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,eAAO,MAAM,cAAc,GAAI,6CAA6C,mBAAmB,gCAe9F,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface NumbersMsgPartProps {
|
|
2
|
+
/** File name to display (optional) */
|
|
3
|
+
fileName?: string;
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Size in pixels (width & height), defaults to 102 */
|
|
6
|
+
size?: number;
|
|
7
|
+
}
|
|
8
|
+
export declare const NumbersMsgPart: ({ fileName, className, size }: NumbersMsgPartProps) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=number-part.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number-part.d.ts","sourceRoot":"","sources":["../../../src/components/number-part.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAClC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,cAAc,GAAI,+BAAqC,mBAAmB,gCAkCtF,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
export type FullScreenPart = 'leftCol' | 'rightCol' | 'none';
|
|
3
|
+
export interface IOfficeContainerProps {
|
|
4
|
+
headerHeight?: number;
|
|
5
|
+
hideLeftCol?: boolean;
|
|
6
|
+
leftColWidthRange?: [number, number];
|
|
7
|
+
rightColWidthRange?: [number, number];
|
|
8
|
+
leftColCls?: string;
|
|
9
|
+
rightColCls?: string;
|
|
10
|
+
leftColHeaderElement?: React.ReactNode;
|
|
11
|
+
leftColContentElement?: React.ReactNode;
|
|
12
|
+
rightColHeaderElement?: React.ReactNode;
|
|
13
|
+
rightColContentElement?: React.ReactNode;
|
|
14
|
+
fullscreenPart?: FullScreenPart;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
onResize?: (leftColWid: number, rightColWid: number) => void;
|
|
17
|
+
/** localStorage 键名,用于持久化用户拖拽的列宽偏好 */
|
|
18
|
+
storageKey?: string;
|
|
19
|
+
className?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const OfficeContainer: FC<IOfficeContainerProps>;
|
|
22
|
+
//# sourceMappingURL=office-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"office-container.d.ts","sourceRoot":"","sources":["../../../src/components/office-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAmD,MAAM,OAAO,CAAC;AAK5E,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC;AAE7D,MAAM,WAAW,qBAAqB;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,WAAW,CAAC,EAAE,OAAO,CAAC;IAEtB,iBAAiB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,qBAAqB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxC,qBAAqB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxC,sBAAsB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAEzC,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B,QAAQ,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAE7D,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAGD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,qBAAqB,CA4PrD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface OptionItemProps {
|
|
3
|
+
bgColor?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
label?: ReactNode;
|
|
6
|
+
children?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const OptionItem: ({ bgColor, color, label, children, }: OptionItemProps) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=option-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"option-item.d.ts","sourceRoot":"","sources":["../../../src/components/option-item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAElC,MAAM,WAAW,eAAe;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB;AAED,eAAO,MAAM,UAAU,GAAI,sCAKxB,eAAe,gCAajB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IAgentHelperOutputConfig, OutputParam, IField } from '@baishuyun/types';
|
|
2
|
+
export interface OutputConfigEditorProps {
|
|
3
|
+
value: Array<IAgentHelperOutputConfig>;
|
|
4
|
+
onChange?: (value: Array<IAgentHelperOutputConfig>) => void;
|
|
5
|
+
sourceFields?: OutputParam[];
|
|
6
|
+
targetFields?: IField[];
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function OutputConfigEditor({ value, onChange, sourceFields, targetFields, className }: OutputConfigEditorProps): import("react").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=output-config-editor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-config-editor.d.ts","sourceRoot":"","sources":["../../../src/components/output-config-editor.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAa,wBAAwB,EAAE,WAAW,EAAE,MAAM,EAAiB,MAAM,kBAAkB,CAAC;AAmChH,MAAM,WAAW,uBAAuB;IACtC,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,CAAC;IACvC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC,wBAAwB,CAAC,KAAK,IAAI,CAAC;IAE5D,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAqFD,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,EAAE,uBAAuB,+BA2WrH"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface PreviewerHeaderProps {
|
|
2
|
+
title: string;
|
|
3
|
+
tips?: string;
|
|
4
|
+
active?: boolean;
|
|
5
|
+
className?: string;
|
|
6
|
+
onBackClick?: () => void;
|
|
7
|
+
onSave?: (isConfirm?: boolean) => void;
|
|
8
|
+
onCancel?: () => void;
|
|
9
|
+
onClear?: () => void;
|
|
10
|
+
style?: React.CSSProperties;
|
|
11
|
+
confirmTitle?: string;
|
|
12
|
+
confirmContent?: string;
|
|
13
|
+
dialogContainer?: HTMLElement;
|
|
14
|
+
variant?: 'fields-previewer' | 'data-previewer';
|
|
15
|
+
closeBtnLabel?: string;
|
|
16
|
+
disableConfirm?: boolean;
|
|
17
|
+
disableOperation?: boolean;
|
|
18
|
+
customOperationElement?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare const PreviewerHeader: ({ title, tips, style, confirmContent, confirmTitle, className, active, onBackClick, onSave, closeBtnLabel, onCancel, onClear, variant, dialogContainer, disableConfirm, disableOperation, customOperationElement, }: PreviewerHeaderProps) => import("react").JSX.Element;
|
|
21
|
+
//# sourceMappingURL=previewer-header.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"previewer-header.d.ts","sourceRoot":"","sources":["../../../src/components/previewer-header.tsx"],"names":[],"mappings":"AAWA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,MAAM,CAAC,EAAE,CAAC,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAE5B,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,WAAW,CAAC;IAC9B,OAAO,CAAC,EAAE,kBAAkB,GAAG,gBAAgB,CAAC;IAChD,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B,sBAAsB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAE1C;AAED,eAAO,MAAM,eAAe,GAAI,qNAkB7B,oBAAoB,gCAuNtB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ButtonProps } from './ui/button';
|
|
2
|
+
export interface PrimaryConfirmBtnProps extends ButtonProps {
|
|
3
|
+
text?: string;
|
|
4
|
+
prefixDesc?: string;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
disabledWithInfo?: boolean;
|
|
7
|
+
light?: boolean;
|
|
8
|
+
/** 移动端按钮高度 40px、文本 16px(PC 端 34px / 14px) */
|
|
9
|
+
isMobile?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const PrimaryConfirmBtn: ({ text, prefixDesc, className, disabled, light, icon, children, isMobile, ...rest }: PrimaryConfirmBtnProps) => import("react").JSX.Element;
|
|
12
|
+
//# sourceMappingURL=primary-confirm-btn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primary-confirm-btn.d.ts","sourceRoot":"","sources":["../../../src/components/primary-confirm-btn.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAC;AAIlD,MAAM,WAAW,sBAAuB,SAAQ,WAAW;IACzD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,GAAI,qFAU/B,sBAAsB,gCAsCxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ButtonProps } from './ui/button';
|
|
3
|
+
export interface PrimaryEntryBtnProps extends ButtonProps {
|
|
4
|
+
minimal?: boolean;
|
|
5
|
+
entryVariant?: 'default' | 'ghost' | 'selected' | 'light';
|
|
6
|
+
icon?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export declare const PrimaryEntryBtn: ({ children, className, minimal, entryVariant, icon, ...rest }: PrimaryEntryBtnProps) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=primary-entry-btn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"primary-entry-btn.d.ts","sourceRoot":"","sources":["../../../src/components/primary-entry-btn.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAClC,OAAO,EAAU,WAAW,EAAE,MAAM,aAAa,CAAC;AAKlD,MAAM,WAAW,oBAAqB,SAAQ,WAAW;IACvD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC;IAC1D,IAAI,CAAC,EAAE,SAAS,CAAC;CAClB;AAED,eAAO,MAAM,eAAe,GAAI,+DAO7B,oBAAoB,gCA4BtB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CircleCheckerProps } from './circle-checker';
|
|
2
|
+
export interface RadioCardProps extends CircleCheckerProps {
|
|
3
|
+
title: string;
|
|
4
|
+
description: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const RadioCard: ({ defaultChecked, checked: controlledChecked, onCheckedChange, title, description, disabled, className, }: RadioCardProps) => import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=radio-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-card.d.ts","sourceRoot":"","sources":["../../../src/components/radio-card.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAiB,KAAK,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE1E,MAAM,WAAW,cAAe,SAAQ,kBAAkB;IACxD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,GAAI,2GAQvB,cAAc,gCA6ChB,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface ScrollToBottomProps {
|
|
2
|
+
onClick?: () => void;
|
|
3
|
+
className?: string;
|
|
4
|
+
isMobile?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const ScrollToBottomBtn: ({ onClick, className, isMobile }: ScrollToBottomProps) => import("react").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=scroll-to-bottom-btn.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-to-bottom-btn.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-to-bottom-btn.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,iBAAiB,GAAI,kCAAkC,mBAAmB,gCAkBtF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { ShadowStyle, ShadowStyleMode } from '../hooks/use-shadow-boundary';
|
|
3
|
+
export interface ShadowContentProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
mode?: ShadowStyleMode;
|
|
6
|
+
styles?: ShadowStyle;
|
|
7
|
+
}
|
|
8
|
+
export declare const ShadowContent: ({ children, mode, styles }: ShadowContentProps) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=shadow-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadow-content.d.ts","sourceRoot":"","sources":["../../../src/components/shadow-content.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAEjF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,MAAM,CAAC,EAAE,WAAW,CAAC;CACtB;AAED,eAAO,MAAM,aAAa,GAAI,4BAAoC,kBAAkB,gCAOnF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementType, ReactNode } from 'react';
|
|
2
|
+
export declare const ShadowPortal: ({ component: Portal, container, ...props }: {
|
|
3
|
+
component: ElementType;
|
|
4
|
+
container?: Element | DocumentFragment | null;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
forceMount?: true;
|
|
7
|
+
"data-slot"?: string;
|
|
8
|
+
}) => import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=shadow-portal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadow-portal.d.ts","sourceRoot":"","sources":["../../../src/components/shadow-portal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAG1E,eAAO,MAAM,YAAY,GAAI,4CAA4C;IACvE,SAAS,EAAE,WAAW,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,GAAG,gBAAgB,GAAG,IAAI,CAAC;IAC9C,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,gCAaA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"split-line.d.ts","sourceRoot":"","sources":["../../../src/components/split-line.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,cAAc;IAC7B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,SAAS,GAAI,eAAe,cAAc,gCAEtD,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
|
|
3
|
+
export type SquareCheckerProps = React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root> & {
|
|
4
|
+
/** Optional label rendered beside the checkbox */
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
readonly?: boolean;
|
|
7
|
+
intermediate?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export declare const SquareChecker: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & {
|
|
10
|
+
/** Optional label rendered beside the checkbox */
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
readonly?: boolean;
|
|
13
|
+
intermediate?: boolean;
|
|
14
|
+
} & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
//# sourceMappingURL=square-checker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"square-checker.d.ts","sourceRoot":"","sources":["../../../src/components/square-checker.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,iBAAiB,MAAM,0BAA0B,CAAC;AAmB9D,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,wBAAwB,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,GAAG;IAC/F,kDAAkD;IAClD,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,eAAO,MAAM,aAAa;IANxB,kDAAkD;eACvC,KAAK,CAAC,SAAS;eACf,OAAO;mBACH,OAAO;2CA4DtB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IField } from '@baishuyun/types';
|
|
2
|
+
type F = IField;
|
|
3
|
+
type onSubformFieldChangeParam = {
|
|
4
|
+
checked: boolean;
|
|
5
|
+
field: F;
|
|
6
|
+
parentFieldName: string;
|
|
7
|
+
row?: number;
|
|
8
|
+
col?: number;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 专门渲染子表单下的字段勾选
|
|
12
|
+
*/
|
|
13
|
+
export declare const SubformFieldsValueChecker: ({ subformField, onChange, streaming, readonly, }: {
|
|
14
|
+
onChange: (p: onSubformFieldChangeParam) => void;
|
|
15
|
+
subformField: IField;
|
|
16
|
+
streaming?: boolean;
|
|
17
|
+
readonly?: boolean;
|
|
18
|
+
}) => import("react").JSX.Element | null;
|
|
19
|
+
export {};
|
|
20
|
+
//# sourceMappingURL=subform-fields-value-checker.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subform-fields-value-checker.d.ts","sourceRoot":"","sources":["../../../src/components/subform-fields-value-checker.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAmGrD,KAAK,CAAC,GAAG,MAAM,CAAC;AAShB,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,CAAC,CAAC;IACT,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,yBAAyB,GAAI,kDAKvC;IACD,QAAQ,EAAE,CAAC,CAAC,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACjD,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,uCAqDA,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
3
|
+
export interface TabRadioOption {
|
|
4
|
+
value: string;
|
|
5
|
+
label: React.ReactNode;
|
|
6
|
+
tooltips?: string;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface TabRadioGroupProps extends Omit<React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Root>, 'children'> {
|
|
10
|
+
options: TabRadioOption[];
|
|
11
|
+
}
|
|
12
|
+
declare const TabRadioGroup: React.ForwardRefExoticComponent<TabRadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
interface TabRadioItemProps extends React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive.Item> {
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
tooltips?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
declare const TabRadioItem: React.ForwardRefExoticComponent<TabRadioItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
+
export { TabRadioGroup, TabRadioItem };
|
|
20
|
+
//# sourceMappingURL=tab-radio-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab-radio-group.d.ts","sourceRoot":"","sources":["../../../src/components/tab-radio-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAC;AAKnE,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,kBAAmB,SAAQ,IAAI,CAC9C,KAAK,CAAC,wBAAwB,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,EAC/D,UAAU,CACX;IACC,OAAO,EAAE,cAAc,EAAE,CAAC;CAC3B;AAED,QAAA,MAAM,aAAa,2FA2BjB,CAAC;AAGH,UAAU,iBAAkB,SAAQ,KAAK,CAAC,wBAAwB,CAChE,OAAO,mBAAmB,CAAC,IAAI,CAChC;IACC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,QAAA,MAAM,YAAY,6FAqBhB,CAAC;AAGH,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../src/components/tooltip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAG3D,eAAO,MAAM,SAAS,GAAI,wBAGvB;IACD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;CAC1B,sBA2CA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const buttonVariants: (props?: ({
|
|
4
|
+
variant?: "link" | "outline" | "default" | "destructive" | "secondary" | "ghost" | "entry" | null | undefined;
|
|
5
|
+
size?: "default" | "entry" | "sm" | "lg" | "icon" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
+
asChild?: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
+
export { Button, buttonVariants };
|
|
12
|
+
//# sourceMappingURL=button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAIlE,QAAA,MAAM,cAAc;;;8EA2BnB,CAAC;AAEF,MAAM,WAAW,WACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IAC1F,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,QAAA,MAAM,MAAM,uFAOX,CAAC;AAGF,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DayPickerProps } from 'react-day-picker';
|
|
2
|
+
export type CalendarProps = DayPickerProps;
|
|
3
|
+
declare function Calendar({ className, classNames, showOutsideDays, ...props }: CalendarProps): import("react").JSX.Element;
|
|
4
|
+
export { Calendar };
|
|
5
|
+
//# sourceMappingURL=calendar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,cAAc,EACpB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,4BAA4B,CAAC;AAIpC,MAAM,MAAM,aAAa,GAAG,cAAc,CAAC;AAE3C,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,GAAG,KAAK,EACT,EAAE,aAAa,+BAuCf;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as DialogPrimitive from '@radix-ui/react-dialog';
|
|
3
|
+
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
+
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
+
declare const DialogPortal: (props: React.ComponentProps<typeof DialogPrimitive.Portal>) => React.JSX.Element;
|
|
6
|
+
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
8
|
+
position?: "fixed" | "absolute";
|
|
9
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
11
|
+
container?: HTMLElement;
|
|
12
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const DialogHeader: {
|
|
14
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
15
|
+
displayName: string;
|
|
16
|
+
};
|
|
17
|
+
declare const DialogFooter: {
|
|
18
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
21
|
+
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
22
|
+
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
23
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogTrigger, DialogClose, DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
|
|
24
|
+
//# sourceMappingURL=dialog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAK1D,QAAA,MAAM,MAAM,uCAAuB,CAAC;AAEpC,QAAA,MAAM,aAAa,8GAA0B,CAAC;AAE9C,QAAA,MAAM,YAAY,GAAI,OAAO,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,sBAE/E,CAAC;AAEF,QAAA,MAAM,WAAW,4GAAwB,CAAC;AAE1C,QAAA,MAAM,aAAa;eAGJ,OAAO,GAAG,UAAU;wCAYjC,CAAC;AAGH,QAAA,MAAM,aAAa;gBAE8D,WAAW;wCAmB1F,CAAC;AAGH,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAElF,CAAC;AAGF,QAAA,MAAM,YAAY;8BAA6B,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAKlF,CAAC;AAGF,QAAA,MAAM,WAAW,oKASf,CAAC;AAGH,QAAA,MAAM,iBAAiB,8KASrB,CAAC;AAGH,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,iBAAiB,GAClB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): React.JSX.Element;
|
|
5
|
+
declare function DrawerPortal({ container, ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal> & {
|
|
6
|
+
container?: HTMLElement | null;
|
|
7
|
+
}): React.JSX.Element;
|
|
8
|
+
declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>): React.JSX.Element;
|
|
9
|
+
declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>): React.JSX.Element;
|
|
10
|
+
declare function DrawerContent({ className, children, container: containerProp, hideOverlay, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content> & {
|
|
11
|
+
container?: HTMLElement | null;
|
|
12
|
+
/** 全屏等场景下头部需保持可交互时,可隐藏遮罩 */
|
|
13
|
+
hideOverlay?: boolean;
|
|
14
|
+
}): React.JSX.Element;
|
|
15
|
+
declare function DrawerHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
16
|
+
declare function DrawerBody({ className, children, style, ...props }: React.ComponentProps<"div"> & {
|
|
17
|
+
full?: boolean;
|
|
18
|
+
}): React.JSX.Element;
|
|
19
|
+
declare function DrawerFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
20
|
+
declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>): React.JSX.Element;
|
|
21
|
+
declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): React.JSX.Element;
|
|
22
|
+
declare const DrawerCloseButton: React.ForwardRefExoticComponent<Omit<import('@radix-ui/react-dialog').DialogCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
23
|
+
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerBody, DrawerFooter, DrawerTitle, DrawerDescription, DrawerCloseButton, };
|
|
24
|
+
//# sourceMappingURL=drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,MAAM,CAAA;AAOhD,iBAAS,MAAM,CAAC,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,qBAEnD;AAED,iBAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBAEtD;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,MAAM,CAAC,GAAG;IACvD,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAChC,qBASA;AAED,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAEpD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,qBAWtD;AAED,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,QAAQ,EACR,SAAS,EAAE,aAAa,EACxB,WAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,OAAO,CAAC,GAAG;IACxD,SAAS,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IAC/B,4BAA4B;IAC5B,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,qBAgEA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWzE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IAC1F,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB,qBA6CA;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWzE;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,KAAK,CAAC,qBAQpD;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,WAAW,CAAC,qBAQ1D;AAED,QAAA,MAAM,iBAAiB,mLAkBrB,CAAA;AAGF,OAAO,EACL,MAAM,EACN,YAAY,EACZ,aAAa,EACb,aAAa,EACb,WAAW,EACX,aAAa,EACb,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,iBAAiB,EACjB,iBAAiB,GAClB,CAAA"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
export type EnhancedDrawerDirection = 'left' | 'right' | 'top' | 'bottom';
|
|
2
|
+
export interface EnhancedDrawerProps {
|
|
3
|
+
/** 受控开关 */
|
|
4
|
+
open?: boolean;
|
|
5
|
+
/** 非受控默认开关 */
|
|
6
|
+
defaultOpen?: boolean;
|
|
7
|
+
onOpenChange?: (open: boolean) => void;
|
|
8
|
+
/** 滑入方向,默认 right */
|
|
9
|
+
direction?: EnhancedDrawerDirection;
|
|
10
|
+
/** 侧边抽屉宽度(left/right 生效),默认 300 */
|
|
11
|
+
width?: number;
|
|
12
|
+
/** 无障碍标题(sr-only 展示) */
|
|
13
|
+
title?: string;
|
|
14
|
+
/** 是否显示遮罩,默认 true */
|
|
15
|
+
showOverlay?: boolean;
|
|
16
|
+
/** 点击遮罩是否关闭,默认 true */
|
|
17
|
+
overlayClosable?: boolean;
|
|
18
|
+
/** 遮罩点击回调(额外行为,如打点) */
|
|
19
|
+
onOverlayClick?: () => void;
|
|
20
|
+
/** 遮罩附加样式 */
|
|
21
|
+
overlayStyle?: React.CSSProperties;
|
|
22
|
+
/** 抽屉面板附加 className */
|
|
23
|
+
className?: string;
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* 增强版抽屉(基于 vaul,面向 shadow DOM / WebView 环境的封装)。
|
|
28
|
+
*
|
|
29
|
+
* 统一处理了以下兼容问题,业务组件无需再各自处理:
|
|
30
|
+
* 1. `modal={false}` —— 关闭 Radix Dialog 的 body 滚动锁(react-remove-scroll 的
|
|
31
|
+
* touchmove preventDefault 在 shadow DOM 里因事件目标 retarget 无法识别抽屉内
|
|
32
|
+
* 滚动容器,会锁死滚动);同时 vaul 的 Overlay 在 modal=false 时返回 null。
|
|
33
|
+
* 2. `dismissible={false}` —— 关闭 vaul 拖拽关闭,避免 onPress 每次 pointerdown 都
|
|
34
|
+
* setPointerCapture 禁掉原生触摸滚动。
|
|
35
|
+
* 3. 手动渲染遮罩(vaul 遮罩因 modal=false 消失),点遮罩关闭走受控路径
|
|
36
|
+
* (绕过被 dismissible 拦掉的 vaul 关闭路径)。
|
|
37
|
+
*
|
|
38
|
+
* 内容区若需滚动,业务组件在自身滚动容器上加 `data-vaul-no-drag`(保险,
|
|
39
|
+
* dismissible=false 已阻止拖拽,此标记可防未来语义变化)。
|
|
40
|
+
*/
|
|
41
|
+
export declare const EnhancedDrawer: ({ open: controlledOpen, defaultOpen, onOpenChange, direction, width, title, showOverlay, overlayClosable, onOverlayClick, overlayStyle, className, children, }: EnhancedDrawerProps) => import("react").JSX.Element;
|
|
42
|
+
//# sourceMappingURL=enhanced-drawer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enhanced-drawer.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/enhanced-drawer.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAC;AAE1E,MAAM,WAAW,mBAAmB;IAClC,WAAW;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,cAAc;IACd,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,oBAAoB;IACpB,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC,mCAAmC;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wBAAwB;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,uBAAuB;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uBAAuB;IACvB,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,aAAa;IACb,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,uBAAuB;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,cAAc,GAAI,gKAa5B,mBAAmB,gCAyErB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ControllerProps, ControllerRenderProps, FieldPath, FieldValues, UseFormReturn, useForm } from 'react-hook-form';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const useFormField: () => {
|
|
4
|
+
invalid: boolean;
|
|
5
|
+
isDirty: boolean;
|
|
6
|
+
isTouched: boolean;
|
|
7
|
+
isValidating: boolean;
|
|
8
|
+
error?: import('react-hook-form').FieldError;
|
|
9
|
+
id: string;
|
|
10
|
+
name: string;
|
|
11
|
+
formItemId: string;
|
|
12
|
+
formDescriptionId: string;
|
|
13
|
+
formMessageId: string;
|
|
14
|
+
};
|
|
15
|
+
declare const Form: React.ForwardRefExoticComponent<React.FormHTMLAttributes<HTMLFormElement> & {
|
|
16
|
+
formMethods: UseFormReturn<any>;
|
|
17
|
+
} & React.RefAttributes<HTMLFormElement>>;
|
|
18
|
+
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
|
|
19
|
+
declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
20
|
+
declare const FormLabel: React.ForwardRefExoticComponent<Omit<import('./label').LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
21
|
+
declare const FormControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement> & {
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
} & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
24
|
+
declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
25
|
+
declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
26
|
+
export { useFormField, useForm, Form, FormField, FormItem, FormLabel, FormControl, FormDescription, FormMessage, type UseFormReturn, type ControllerRenderProps, };
|
|
27
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/form.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,aAAa,EAElB,OAAO,EAER,MAAM,iBAAiB,CAAC;AAwBzB,QAAA,MAAM,YAAY;;;;;;;;;;;CAqBjB,CAAC;AAEF,QAAA,MAAM,IAAI;iBAGO,aAAa,CAAC,GAAG,CAAC;yCAMjC,CAAC;AAGH,QAAA,MAAM,SAAS,GACb,YAAY,SAAS,WAAW,GAAG,WAAW,EAC9C,KAAK,SAAS,SAAS,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,YAAY,CAAC,EAC/D,cAEC,eAAe,CAAC,YAAY,EAAE,KAAK,CAAC,sBAMtC,CAAC;AAEF,QAAA,MAAM,QAAQ,6GAeZ,CAAC;AAGH,QAAA,MAAM,SAAS,4JAcb,CAAC;AAGH,QAAA,MAAM,WAAW;;gFAoBf,CAAC;AAGH,QAAA,MAAM,eAAe,yHAiBnB,CAAC;AAGH,QAAA,MAAM,WAAW,yHAwBf,CAAC;AAGH,OAAO,EACL,YAAY,EACZ,OAAO,EACP,IAAI,EACJ,SAAS,EACT,QAAQ,EACR,SAAS,EACT,WAAW,EACX,eAAe,EACf,WAAW,EACX,KAAK,aAAa,EAClB,KAAK,qBAAqB,GAC3B,CAAC"}
|