@baishuyun/ai-design 2.1.7 → 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 +40 -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 +5 -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/ui/drawer.tsx +2 -13
- package/src/stories/TriggerSelect.stories.tsx +1 -1
- package/style.css +30 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IAppFormListEntry } from '@baishuyun/types';
|
|
2
|
+
export type TeamWideFormNodeType = 'appGroup' | 'app' | 'formGroup' | 'form';
|
|
3
|
+
export interface TeamWideFormTreeNode {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type: TeamWideFormNodeType;
|
|
7
|
+
/** app 节点的图标名(imgbg-bsy-app-N,AppIcon) */
|
|
8
|
+
appIcon?: number | string;
|
|
9
|
+
/** form/formGroup 节点的图标 number(FontIcon) */
|
|
10
|
+
formIcon?: number;
|
|
11
|
+
/** form 叶子节点的原始条目数据 */
|
|
12
|
+
data?: IAppFormListEntry;
|
|
13
|
+
children?: TeamWideFormTreeNode[];
|
|
14
|
+
}
|
|
15
|
+
export interface TeamWideFormTreeSection {
|
|
16
|
+
key: 'all' | 'current' | 'other';
|
|
17
|
+
/** 分组标题('当前应用表单' / '其他应用表单');'all' 无标题 */
|
|
18
|
+
title?: string;
|
|
19
|
+
nodes: TeamWideFormTreeNode[];
|
|
20
|
+
}
|
|
21
|
+
export interface TeamWideFormSelectChangeResult {
|
|
22
|
+
appId: string;
|
|
23
|
+
entryId: string;
|
|
24
|
+
/** 选中的原始条目(含 type/icon/hasCoop 等) */
|
|
25
|
+
form: IAppFormListEntry;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/agent-helper/team-wide-form-select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAI1D,MAAM,MAAM,oBAAoB,GAAG,UAAU,GAAG,KAAK,GAAG,WAAW,GAAG,MAAM,CAAC;AAE7E,MAAM,WAAW,oBAAoB;IACnC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,oBAAoB,CAAC;IAC3B,0CAA0C;IAC1C,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B,4CAA4C;IAC5C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uBAAuB;IACvB,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,QAAQ,CAAC,EAAE,oBAAoB,EAAE,CAAC;CACnC;AAID,MAAM,WAAW,uBAAuB;IACtC,GAAG,EAAE,KAAK,GAAG,SAAS,GAAG,OAAO,CAAC;IACjC,0CAA0C;IAC1C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,oBAAoB,EAAE,CAAC;CAC/B;AAID,MAAM,WAAW,8BAA8B;IAC7C,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,qCAAqC;IACrC,IAAI,EAAE,iBAAiB,CAAC;CACzB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { TeamWideFormTreeNode, TeamWideFormTreeSection } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* 树形面板状态:展开/收起 + 搜索过滤。
|
|
4
|
+
* 搜索时强制展开(让命中的深层节点可见)。
|
|
5
|
+
*/
|
|
6
|
+
export declare function useFormTree(sections: TeamWideFormTreeSection[]): {
|
|
7
|
+
searchQuery: string;
|
|
8
|
+
setSearchQuery: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
9
|
+
filteredSections: {
|
|
10
|
+
nodes: TeamWideFormTreeNode[];
|
|
11
|
+
searching: boolean;
|
|
12
|
+
key: "all" | "current" | "other";
|
|
13
|
+
title?: string;
|
|
14
|
+
}[];
|
|
15
|
+
isExpanded: (id: string) => boolean;
|
|
16
|
+
toggleExpanded: (id: string) => void;
|
|
17
|
+
/** 搜索中(此时忽略折叠状态,全部展开) */
|
|
18
|
+
searching: boolean;
|
|
19
|
+
hasResult: boolean;
|
|
20
|
+
expandableIds: Set<string>;
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=use-form-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-form-tree.d.ts","sourceRoot":"","sources":["../../../../../src/components/agent-helper/team-wide-form-select/use-form-tree.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AA2C7E;;;GAGG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,uBAAuB,EAAE;;;;;;;;;qBAKtD,MAAM;yBAI2B,MAAM;IAiC5C,yBAAyB;;;;EAQ5B"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { triggerType } from '@baishuyun/types';
|
|
2
|
+
import { IconCardProps } from '../../icon-card';
|
|
3
|
+
export type TriggerCardConfig = Pick<IconCardProps, 'title' | 'description' | 'icon' | 'iconBgColor' | 'badge'> & {
|
|
4
|
+
triggerType: triggerType;
|
|
5
|
+
minIcon?: React.ReactNode;
|
|
6
|
+
};
|
|
7
|
+
export declare const TriggerConfigList: Array<TriggerCardConfig>;
|
|
8
|
+
export interface ITriggerSelectProps {
|
|
9
|
+
value?: triggerType;
|
|
10
|
+
onChange?: (value: triggerType) => void;
|
|
11
|
+
configList?: TriggerCardConfig[];
|
|
12
|
+
}
|
|
13
|
+
export declare const TriggerTypeIcon: ({ triggerType, }: {
|
|
14
|
+
triggerType: triggerType;
|
|
15
|
+
size?: number;
|
|
16
|
+
}) => import("react").JSX.Element | null;
|
|
17
|
+
export declare const TriggerSelect: ({ value, onChange, configList, }: ITriggerSelectProps) => import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/agent-helper/trigger-select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,OAAO,EAAY,KAAK,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAE/D,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAClC,aAAa,EACb,OAAO,GAAG,aAAa,GAAG,MAAM,GAAG,aAAa,GAAG,OAAO,CAC3D,GAAG;IACF,WAAW,EAAE,WAAW,CAAC;IACzB,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,iBAAiB,CAyDtD,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;IACxC,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAClC;AAED,eAAO,MAAM,eAAe,GAAI,kBAE7B;IACD,WAAW,EAAE,WAAW,CAAC;IACzB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,uCAkBA,CAAA;AAED,eAAO,MAAM,aAAa,GAAI,kCAI3B,mBAAmB,gCAiBrB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FormSelectItem } from '../form-select';
|
|
2
|
+
import { ITriggerTimePreference, IField } from '@baishuyun/types';
|
|
3
|
+
import { DateFormat } from '../date-picker/types';
|
|
4
|
+
export interface TriggerTimePreferenceSelectProps {
|
|
5
|
+
value?: ITriggerTimePreference;
|
|
6
|
+
onChange?: (value: ITriggerTimePreference) => void;
|
|
7
|
+
forms?: FormSelectItem[];
|
|
8
|
+
fields?: IField[];
|
|
9
|
+
dateFormat?: DateFormat;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function TriggerTimePreferenceSelect({ value, onChange, forms, fields, dateFormat, disabled, className, }: TriggerTimePreferenceSelectProps): import("react").JSX.Element;
|
|
14
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/agent-helper/trigger-time-preference-select/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAA0B,MAAM,gBAAgB,CAAC;AAG7E,OAAO,KAAK,EACV,sBAAsB,EAGtB,MAAM,EAEP,MAAM,kBAAkB,CAAC;AAC1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEvD,MAAM,WAAW,gCAAgC;IAC/C,KAAK,CAAC,EAAE,sBAAsB,CAAC;IAC/B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,sBAAsB,KAAK,IAAI,CAAC;IACnD,KAAK,CAAC,EAAE,cAAc,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkCD,wBAAgB,2BAA2B,CAAC,EAC1C,KAAK,EACL,QAAQ,EACR,KAAU,EACV,MAAW,EACX,UAAyB,EACzB,QAAgB,EAChB,SAAS,GACV,EAAE,gCAAgC,+BAyHlC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { triggerTimeSourceType } from '@baishuyun/types';
|
|
2
|
+
export interface TriggerTimeSourceTypeOption {
|
|
3
|
+
value: triggerTimeSourceType;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const TriggerTimeSourceTypeOptions: TriggerTimeSourceTypeOption[];
|
|
7
|
+
export interface TriggerTimeSourceTypeSelectProps {
|
|
8
|
+
value?: triggerTimeSourceType;
|
|
9
|
+
onChange?: (value: triggerTimeSourceType) => void;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const TriggerTimeSourceTypeSelect: ({ value, onChange, placeholder, disabled, className, }: TriggerTimeSourceTypeSelectProps) => import("react").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/agent-helper/trigger-time-source-type-select/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAS9D,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,qBAAqB,CAAC;IAC7B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,4BAA4B,EAAE,2BAA2B,EAGrE,CAAC;AAEF,MAAM,WAAW,gCAAgC;IAC/C,KAAK,CAAC,EAAE,qBAAqB,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,2BAA2B,GAAI,wDAMzC,gCAAgC,gCAmBlC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { repeatByWeekDetail } from '@baishuyun/types';
|
|
2
|
+
export interface WeekdaysOption {
|
|
3
|
+
value: repeatByWeekDetail;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const WeekdaysOptions: WeekdaysOption[];
|
|
7
|
+
export interface WeekdaysSelectProps {
|
|
8
|
+
value?: repeatByWeekDetail[];
|
|
9
|
+
onChange?: (value: repeatByWeekDetail[]) => void;
|
|
10
|
+
placeholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
className?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const WeekdaysSelect: ({ value, onChange, placeholder, disabled, className, }: WeekdaysSelectProps) => import("react").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/agent-helper/weekdays-select/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAQ3D,MAAM,WAAW,cAAc;IAC7B,KAAK,EAAE,kBAAkB,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,eAAO,MAAM,eAAe,EAAE,cAAc,EAQ3C,CAAC;AAEF,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,kBAAkB,EAAE,CAAC;IAC7B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,kBAAkB,EAAE,KAAK,IAAI,CAAC;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkBD,eAAO,MAAM,cAAc,GAAI,wDAM5B,mBAAmB,gCA+KrB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AgentSelectAgent } from './agent-select';
|
|
2
|
+
export interface AgentScrollSelectorProps {
|
|
3
|
+
agents: Array<AgentSelectAgent>;
|
|
4
|
+
activeAgent?: {
|
|
5
|
+
id: string;
|
|
6
|
+
} | null;
|
|
7
|
+
onSelect: (agent: AgentSelectAgent) => void | Promise<void>;
|
|
8
|
+
showSlider?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare const AgentScrollSelector: ({ agents, activeAgent, onSelect, className, showSlider, }: AgentScrollSelectorProps) => import("react").JSX.Element | null;
|
|
12
|
+
//# sourceMappingURL=agent-scroll-selector.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-scroll-selector.d.ts","sourceRoot":"","sources":["../../../src/components/agent-scroll-selector.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAGvD,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC,WAAW,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,eAAO,MAAM,mBAAmB,GAAI,2DAMjC,wBAAwB,uCAyK1B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AgentShortSummary as AgentSelectAgent } from '@baishuyun/types';
|
|
2
|
+
export { type AgentSelectAgent };
|
|
3
|
+
export interface AgentSelectProps {
|
|
4
|
+
agents: Array<AgentSelectAgent>;
|
|
5
|
+
showAllItems?: boolean;
|
|
6
|
+
showSearch?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
activeAgent?: {
|
|
9
|
+
id: string;
|
|
10
|
+
} | null;
|
|
11
|
+
onSelect: (agent: AgentSelectAgent) => void | Promise<void>;
|
|
12
|
+
/**
|
|
13
|
+
* 大规格行(移动端设计稿 40434:32068):行高 40、图标 20、名称 16px、
|
|
14
|
+
* 分组标题 14px。默认 false,不影响现有 PC 样式
|
|
15
|
+
*/
|
|
16
|
+
large?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export declare const AgentSelect: ({ agents, showSearch, activeAgent, onSelect, showAllItems, className, large, }: AgentSelectProps) => import("react").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=agent-select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-select.d.ts","sourceRoot":"","sources":["../../../src/components/agent-select.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,IAAI,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAG9E,OAAO,EAAE,KAAK,gBAAgB,EAAE,CAAC;AAEjC,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,KAAK,CAAC,gBAAgB,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;IACpC,QAAQ,EAAE,CAAC,KAAK,EAAE,gBAAgB,KAAK,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5D;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAOD,eAAO,MAAM,WAAW,GAAI,gFAQzB,gBAAgB,gCAsMlB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FilePart } from './attachment-part';
|
|
2
|
+
import { FileUIPart } from 'ai';
|
|
3
|
+
export interface AttachmentPartGroupProps {
|
|
4
|
+
parts: FileUIPart[];
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Size in pixels for each item, defaults to 102 */
|
|
7
|
+
size?: number;
|
|
8
|
+
/** Gap between items in pixels, defaults to 10 */
|
|
9
|
+
gap?: number;
|
|
10
|
+
/** Show only icons without file names */
|
|
11
|
+
iconOnly?: boolean;
|
|
12
|
+
/** Click handler for individual parts */
|
|
13
|
+
onPartClick?: (part: FilePart) => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const AttachmentPartGroup: ({ parts, className, size, gap, iconOnly, onPartClick, }: AttachmentPartGroupProps) => import("react").JSX.Element | null;
|
|
16
|
+
//# sourceMappingURL=attachment-part-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-part-group.d.ts","sourceRoot":"","sources":["../../../src/components/attachment-part-group.tsx"],"names":[],"mappings":"AACA,OAAO,EAAkB,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEhC,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,UAAU,EAAE,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,kDAAkD;IAClD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yCAAyC;IACzC,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CACxC;AAED,eAAO,MAAM,mBAAmB,GAAI,yDAOjC,wBAAwB,uCAU1B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComponentType } from 'react';
|
|
2
|
+
/** File part from AI message */
|
|
3
|
+
export interface FilePart {
|
|
4
|
+
type: 'file';
|
|
5
|
+
url: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
mediaType?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface AttachmentPartProps {
|
|
10
|
+
part: FilePart;
|
|
11
|
+
className?: string;
|
|
12
|
+
/** Size in pixels (width & height), defaults to 102 */
|
|
13
|
+
size?: number;
|
|
14
|
+
/** Show only the icon without file name */
|
|
15
|
+
iconOnly?: boolean;
|
|
16
|
+
/** Click handler for the attachment */
|
|
17
|
+
onClick?: (part: FilePart) => void;
|
|
18
|
+
}
|
|
19
|
+
type FileIconComponent = ComponentType<{
|
|
20
|
+
color?: string;
|
|
21
|
+
}>;
|
|
22
|
+
export interface FileTypeConfig {
|
|
23
|
+
icon: FileIconComponent;
|
|
24
|
+
/** Icon original size for scaling */
|
|
25
|
+
iconSize: number;
|
|
26
|
+
/** Icon color (对齐 baishu BsyFileUpload 的 icon-bsy-* 配色),仅对字体图标生效 */
|
|
27
|
+
color?: string;
|
|
28
|
+
}
|
|
29
|
+
/** Check if media type is an image */
|
|
30
|
+
export declare const isImageType: (mediaType?: string) => boolean;
|
|
31
|
+
/** Get file config based on media type and file extension */
|
|
32
|
+
export declare const getFileConfig: (mediaType?: string, fileName?: string) => FileTypeConfig;
|
|
33
|
+
export declare const AttachmentPart: ({ part, className, size, iconOnly, onClick }: AttachmentPartProps) => import("react").JSX.Element;
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=attachment-part.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachment-part.d.ts","sourceRoot":"","sources":["../../../src/components/attachment-part.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAOtC,gCAAgC;AAChC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uCAAuC;IACvC,OAAO,CAAC,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;CACpC;AAED,KAAK,iBAAiB,GAAG,aAAa,CAAC;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAiC3D,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,iBAAiB,CAAC;IACxB,qCAAqC;IACrC,QAAQ,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AA8DD,sCAAsC;AACtC,eAAO,MAAM,WAAW,GAAI,YAAY,MAAM,KAAG,OAEhD,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,aAAa,GAAI,YAAY,MAAM,EAAE,WAAW,MAAM,KAAG,cAmErE,CAAC;AAsEF,eAAO,MAAM,cAAc,GAAI,8CAAoD,mBAAmB,gCAyBrG,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface AttachmentItem {
|
|
2
|
+
id: string;
|
|
3
|
+
url: string;
|
|
4
|
+
alt?: string;
|
|
5
|
+
isLoading?: boolean;
|
|
6
|
+
/** MIME type, used to decide whether to show image or icon */
|
|
7
|
+
contentType?: string;
|
|
8
|
+
}
|
|
9
|
+
export interface AttachmentsPreviewerProps {
|
|
10
|
+
attachments: AttachmentItem[];
|
|
11
|
+
className?: string;
|
|
12
|
+
imageSize?: number;
|
|
13
|
+
gap?: number;
|
|
14
|
+
onImageClick?: (attachment: AttachmentItem, index: number) => void;
|
|
15
|
+
onImageRemove?: (attachment: AttachmentItem, index: number) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare const AttachmentsPreviewer: ({ attachments, className, imageSize, gap, onImageClick, onImageRemove, }: AttachmentsPreviewerProps) => import("react").JSX.Element | null;
|
|
18
|
+
//# sourceMappingURL=attachments-previewer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attachments-previewer.d.ts","sourceRoot":"","sources":["../../../src/components/attachments-previewer.tsx"],"names":[],"mappings":"AAOA,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;IACxC,WAAW,EAAE,cAAc,EAAE,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnE,aAAa,CAAC,EAAE,CAAC,UAAU,EAAE,cAAc,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACrE;AA0FD,eAAO,MAAM,oBAAoB,GAAI,0EAOlC,yBAAyB,uCAuJ3B,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export interface BaseButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
+
icon?: ReactNode;
|
|
4
|
+
tooltip?: string;
|
|
5
|
+
hoverTextCls?: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const BaseButton: import('react').ForwardRefExoticComponent<BaseButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
//# sourceMappingURL=base-button.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base-button.d.ts","sourceRoot":"","sources":["../../../src/components/base-button.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAK7D,MAAM,WAAW,eAAgB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC9E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,UAAU,+GAkCtB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface BorderAnimationProps {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
className?: string;
|
|
5
|
+
/** Duration of one full animation cycle in seconds @default 2 */
|
|
6
|
+
duration?: number;
|
|
7
|
+
/** Border radius in pixels @default 4 */
|
|
8
|
+
borderRadius?: number;
|
|
9
|
+
/** Width of the animated beam in pixels @default 30 */
|
|
10
|
+
beamWidth?: number;
|
|
11
|
+
/** Height of the animated beam in pixels @default 4 */
|
|
12
|
+
beamHeight?: number;
|
|
13
|
+
/** Gradient for the animated beam */
|
|
14
|
+
gradient?: string;
|
|
15
|
+
height?: string | number;
|
|
16
|
+
/** Border width in pixels @default 1.5 */
|
|
17
|
+
borderWidth?: number;
|
|
18
|
+
/** Default border color @default '#E5E5E5' */
|
|
19
|
+
borderColor?: string;
|
|
20
|
+
}
|
|
21
|
+
export declare const BorderAnimation: React.FC<BorderAnimationProps>;
|
|
22
|
+
export default BorderAnimation;
|
|
23
|
+
//# sourceMappingURL=border-animation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"border-animation.d.ts","sourceRoot":"","sources":["../../../src/components/border-animation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,MAAM,WAAW,oBAAoB;IACnC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yCAAyC;IACzC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,uDAAuD;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,0CAA0C;IAC1C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8CAA8C;IAC9C,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAYD,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAuE1D,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const BorderColorAnimation: ({ children, width, height, padding, borderWidth, borderRadius, bgInset, style, }: {
|
|
2
|
+
children?: React.ReactNode;
|
|
3
|
+
width?: string | number;
|
|
4
|
+
height?: string | number;
|
|
5
|
+
borderWidth?: number;
|
|
6
|
+
padding?: number;
|
|
7
|
+
borderRadius?: number;
|
|
8
|
+
bgInset?: number;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
}) => import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=border-color-animation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"border-color-animation.d.ts","sourceRoot":"","sources":["../../../src/components/border-color-animation.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,GAAI,kFASlC;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,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B,gCA+CA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bot-avatar-name.d.ts","sourceRoot":"","sources":["../../../src/components/bot-avatar-name.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB,GAAI,0BAI9B;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,MAAM,CAAC;IAChC,OAAO,CAAC,EAAE,SAAS,GAAG,QAAQ,CAAC;CAChC,uCAyBA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bot-icon.d.ts","sourceRoot":"","sources":["../../../src/components/bot-icon.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,GAAI,sBAGrB;IACD,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,gCAcA,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"app-group-folder.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/app-group-folder.tsx"],"names":[],"mappings":"AASA,wBAAgB,cAAc,CAAC,EAC7B,KAAK,EACL,WAAW,EACX,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,+BA2CA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { BsEntrySelectProps, BsEntrySelectChangeResult } from './types';
|
|
2
|
+
export type { BsEntrySelectProps, BsEntrySelectChangeResult };
|
|
3
|
+
export declare const BsEntrySelect: import('react').ForwardRefExoticComponent<BsEntrySelectProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
4
|
+
//# sourceMappingURL=bs-entry-select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bs-entry-select.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/bs-entry-select.tsx"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,kBAAkB,EAAE,yBAAyB,EAAiB,MAAM,SAAS,CAAC;AAI5F,YAAY,EAAE,kBAAkB,EAAE,yBAAyB,EAAE,CAAC;AAE9D,eAAO,MAAM,aAAa,+GAiRzB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IAppDetail, IEntryDetail } from '@baishuyun/types';
|
|
2
|
+
import { EntryTreeItem, BsEntrySelectChangeResult } from './types';
|
|
3
|
+
import { FormSelectItem } from '../agent-helper/form-select';
|
|
4
|
+
export declare const DEPTH_PADDING: Record<number, string>;
|
|
5
|
+
export declare function getDepthPadding(depth: number): string;
|
|
6
|
+
export declare function buildEntryTreeFromAliasMap(appDetail: IAppDetail, searchQuery: string): EntryTreeItem[];
|
|
7
|
+
export declare const getEntries: (appDetail: IAppDetail) => FormSelectItem[];
|
|
8
|
+
export declare function filterTreeBySearch(nodes: EntryTreeItem[], searchQuery: string): EntryTreeItem[];
|
|
9
|
+
export declare function findSelected(appDetails: Record<string, IAppDetail>, entryId: string, currentAppId?: string): BsEntrySelectChangeResult | null;
|
|
10
|
+
/** Create a virtual IEntryDetail for a flow center entry */
|
|
11
|
+
export declare function createFlowEntryDetail(entryId: string, name: string): IEntryDetail;
|
|
12
|
+
/** Build the synthetic "流程中心" group tree with 4 flow entries */
|
|
13
|
+
export declare function buildFlowCenterTree(): EntryTreeItem[];
|
|
14
|
+
//# sourceMappingURL=build-tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build-tree.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/build-tree.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAmB,YAAY,EAAa,MAAM,kBAAkB,CAAC;AAC7F,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAE7D,eAAO,MAAM,aAAa,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAOhD,CAAC;AAEF,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAErD;AAED,wBAAgB,0BAA0B,CACxC,SAAS,EAAE,UAAU,EACrB,WAAW,EAAE,MAAM,GAClB,aAAa,EAAE,CAwFjB;AAqDD,eAAO,MAAM,UAAU,GAAI,WAAW,UAAU,KAAG,cAAc,EAgBhE,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,aAAa,EAAE,EAAE,WAAW,EAAE,MAAM,GAAG,aAAa,EAAE,CAoB/F;AAED,wBAAgB,YAAY,CAC1B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,EACtC,OAAO,EAAE,MAAM,EACf,YAAY,CAAC,EAAE,MAAM,GACpB,yBAAyB,GAAG,IAAI,CAWlC;AAED,4DAA4D;AAC5D,wBAAgB,qBAAqB,CAAC,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,YAAY,CAcjF;AAED,gEAAgE;AAChE,wBAAgB,mBAAmB,IAAI,aAAa,EAAE,CA4BrD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EntryTreeItem } from './types';
|
|
2
|
+
export declare function EntryItem({ item, depth, isSelected, onClick, }: {
|
|
3
|
+
item: EntryTreeItem;
|
|
4
|
+
depth: number;
|
|
5
|
+
isSelected: boolean;
|
|
6
|
+
onClick: () => void;
|
|
7
|
+
}): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=entry-item.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-item.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/entry-item.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,UAAU,EACV,OAAO,GACR,EAAE;IACD,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB,+BAwBA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IAppDetail } from '@baishuyun/types';
|
|
2
|
+
import { EntryTreeItem, BsEntrySelectChangeResult } from './types';
|
|
3
|
+
export declare function EntryPopover({ searchQuery, onSearchChange, currentAppTree, currentAppId, otherAppIds, appDetails, selectedEntryId, hasCurrentApp, hasOtherApps, hasAnyContent, hasSearch, showCurrentAppEntriesOnly, onSelect, }: {
|
|
4
|
+
searchQuery: string;
|
|
5
|
+
onSearchChange: (v: string) => void;
|
|
6
|
+
currentAppTree: EntryTreeItem[];
|
|
7
|
+
currentAppId: string | undefined;
|
|
8
|
+
otherAppIds: string[];
|
|
9
|
+
appDetails: Record<string, IAppDetail>;
|
|
10
|
+
selectedEntryId: string | undefined;
|
|
11
|
+
hasCurrentApp: boolean;
|
|
12
|
+
hasOtherApps: boolean;
|
|
13
|
+
hasAnyContent: boolean;
|
|
14
|
+
hasSearch: boolean;
|
|
15
|
+
showCurrentAppEntriesOnly?: boolean;
|
|
16
|
+
onSelect: (result: BsEntrySelectChangeResult) => void;
|
|
17
|
+
}): import("react").JSX.Element;
|
|
18
|
+
//# sourceMappingURL=entry-popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entry-popover.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/entry-popover.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAExE,wBAAgB,YAAY,CAAC,EAC3B,WAAW,EACX,cAAc,EACd,cAAc,EACd,YAAY,EACZ,WAAW,EACX,UAAU,EACV,eAAe,EACf,aAAa,EACb,YAAY,EACZ,aAAa,EACb,SAAS,EACT,yBAAiC,EACjC,QAAQ,GACT,EAAE;IACD,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,CAAC,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,cAAc,EAAE,aAAa,EAAE,CAAC;IAChC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAC;IACjC,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACvC,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,aAAa,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,aAAa,EAAE,OAAO,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,QAAQ,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACvD,+BA6DA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAClD,YAAY,EACV,kBAAkB,EAClB,yBAAyB,EACzB,0BAA0B,GAC3B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,0BAA0B,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { IAppDetail } from '@baishuyun/types';
|
|
2
|
+
import { BsEntrySelectChangeResult } from './types';
|
|
3
|
+
export declare function OtherAppSection({ appId, appDetail, searchQuery, selectedEntryId, section, onSelect, }: {
|
|
4
|
+
appId: string;
|
|
5
|
+
appDetail: IAppDetail;
|
|
6
|
+
searchQuery: string;
|
|
7
|
+
selectedEntryId: string | undefined;
|
|
8
|
+
section: 'current' | 'other';
|
|
9
|
+
onSelect: (result: BsEntrySelectChangeResult) => void;
|
|
10
|
+
}): import("react").JSX.Element;
|
|
11
|
+
//# sourceMappingURL=other-app-section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"other-app-section.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/other-app-section.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAQzD,wBAAgB,eAAe,CAAC,EAC9B,KAAK,EACL,SAAS,EACT,WAAW,EACX,eAAe,EACf,OAAO,EACP,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,UAAU,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACvD,+BAiEA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IAppDetail } from '@baishuyun/types';
|
|
2
|
+
import { EntryTreeItem, BsEntrySelectChangeResult, BsEntrySelectSliderVariant } from './types';
|
|
3
|
+
export interface FlatNode {
|
|
4
|
+
node: EntryTreeItem;
|
|
5
|
+
appId: string;
|
|
6
|
+
section: 'current' | 'other';
|
|
7
|
+
}
|
|
8
|
+
export declare function ScrollSlider({ appDetails, currentAppId, selectedEntryId, onSelect, onOverflowChange, showCurrentAppEntriesOnly, variant, }: {
|
|
9
|
+
appDetails: Record<string, IAppDetail>;
|
|
10
|
+
currentAppId?: string;
|
|
11
|
+
selectedEntryId?: string;
|
|
12
|
+
onSelect: (result: BsEntrySelectChangeResult) => void;
|
|
13
|
+
onOverflowChange?: (hasOverflow: boolean) => void;
|
|
14
|
+
showCurrentAppEntriesOnly?: boolean;
|
|
15
|
+
variant?: BsEntrySelectSliderVariant;
|
|
16
|
+
}): import("react").JSX.Element | null;
|
|
17
|
+
//# sourceMappingURL=scroll-slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scroll-slider.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/scroll-slider.tsx"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,KAAK,EACV,aAAa,EACb,yBAAyB,EACzB,0BAA0B,EAC3B,MAAM,SAAS,CAAC;AAQjB,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,aAAa,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC;CAC9B;AAED,wBAAgB,YAAY,CAAC,EAC3B,UAAU,EACV,YAAY,EACZ,eAAe,EACf,QAAQ,EACR,gBAAgB,EAChB,yBAAiC,EACjC,OAAmB,GACpB,EAAE;IACD,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;IACtD,gBAAgB,CAAC,EAAE,CAAC,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IAClD,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,OAAO,CAAC,EAAE,0BAA0B,CAAC;CACtC,sCA0yBA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"search-input.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/search-input.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,gBAAgB,EAAC,MAAM,8BAA8B,CAAC;AAE/F,YAAY,EAAE,gBAAgB,EAAE,CAAC;AAEjC,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,gCAAkD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { EntryTreeItem, BsEntrySelectChangeResult } from './types';
|
|
2
|
+
export declare function TreeItemNode({ item, selectedEntryId, appId, section, onSelect, }: {
|
|
3
|
+
item: EntryTreeItem;
|
|
4
|
+
selectedEntryId: string | undefined;
|
|
5
|
+
appId: string;
|
|
6
|
+
section: 'current' | 'other';
|
|
7
|
+
onSelect: (result: BsEntrySelectChangeResult) => void;
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=tree-item-node.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree-item-node.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/tree-item-node.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAOxE,wBAAgB,YAAY,CAAC,EAC3B,IAAI,EACJ,eAAe,EACf,KAAK,EACL,OAAO,EACP,QAAQ,GACT,EAAE;IACD,IAAI,EAAE,aAAa,CAAC;IACpB,eAAe,EAAE,MAAM,GAAG,SAAS,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC;IAC7B,QAAQ,EAAE,CAAC,MAAM,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACvD,+BA2DA"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { IAppDetail, IEntryDetail } from '@baishuyun/types';
|
|
2
|
+
export interface BsEntrySelectChangeResult {
|
|
3
|
+
entry: IEntryDetail;
|
|
4
|
+
appId: string;
|
|
5
|
+
section: 'current' | 'other';
|
|
6
|
+
}
|
|
7
|
+
/** Flow center — synthetic group tab for flow-type apps in tabs mode */
|
|
8
|
+
export declare const FLOW_CENTER_GROUP_ID = "__flow_center__";
|
|
9
|
+
export declare const FLOW_CENTER_ENTRIES: readonly [{
|
|
10
|
+
readonly entryId: "todo";
|
|
11
|
+
readonly name: "待办任务";
|
|
12
|
+
readonly iconClass: "icon-new-bsy-todo";
|
|
13
|
+
}, {
|
|
14
|
+
readonly entryId: "cc";
|
|
15
|
+
readonly name: "抄送我的";
|
|
16
|
+
readonly iconClass: "icon-new-bsy-cc";
|
|
17
|
+
}, {
|
|
18
|
+
readonly entryId: "transactors";
|
|
19
|
+
readonly name: "我处理的";
|
|
20
|
+
readonly iconClass: "icon-new-bsy-transactors";
|
|
21
|
+
}, {
|
|
22
|
+
readonly entryId: "create";
|
|
23
|
+
readonly name: "我发起的";
|
|
24
|
+
readonly iconClass: "icon-new-bsy-create";
|
|
25
|
+
}];
|
|
26
|
+
export type BsEntrySelectSliderVariant = 'default' | 'tabs';
|
|
27
|
+
export interface BsEntrySelectProps {
|
|
28
|
+
appDetails: Record<string, IAppDetail>;
|
|
29
|
+
currentAppId?: string;
|
|
30
|
+
value?: string;
|
|
31
|
+
defaultValue?: string;
|
|
32
|
+
onChange?: (result: BsEntrySelectChangeResult | null) => void;
|
|
33
|
+
placeholder?: string;
|
|
34
|
+
disabled?: boolean;
|
|
35
|
+
className?: string;
|
|
36
|
+
showSlider?: boolean;
|
|
37
|
+
showCurrentAppEntriesOnly?: boolean;
|
|
38
|
+
sliderVariant?: BsEntrySelectSliderVariant;
|
|
39
|
+
}
|
|
40
|
+
export interface EntryTreeItem {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
icon: number;
|
|
44
|
+
type: string;
|
|
45
|
+
children: EntryTreeItem[];
|
|
46
|
+
depth: number;
|
|
47
|
+
isSelectable: boolean;
|
|
48
|
+
entry: IEntryDetail | null;
|
|
49
|
+
/** Optional custom icon CSS class — used for synthetic entries like flow center */
|
|
50
|
+
iconClass?: string;
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/bs-entry-select/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEjE,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,YAAY,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,SAAS,GAAG,OAAO,CAAC;CAC9B;AAED,wEAAwE;AACxE,eAAO,MAAM,oBAAoB,oBAAoB,CAAC;AAEtD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;EAKtB,CAAC;AAEX,MAAM,MAAM,0BAA0B,GAAG,SAAS,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IACjC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,yBAAyB,GAAG,IAAI,KAAK,IAAI,CAAC;IAC9D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,aAAa,CAAC,EAAE,0BAA0B,CAAC;CAC5C;AAED,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,aAAa,EAAE,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,EAAE,YAAY,GAAG,IAAI,CAAC;IAC3B,mFAAmF;IACnF,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|