@yh-ui/components 1.0.30 → 1.0.36
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/dist/affix/index.d.ts +1 -202
- package/dist/affix/src/affix.d.vue.ts +66 -0
- package/dist/affix/src/affix.vue.d.ts +4 -53
- package/dist/ai-action-group/index.d.ts +1 -108
- package/dist/ai-action-group/src/ai-action-group.d.vue.ts +40 -0
- package/dist/ai-action-group/src/ai-action-group.vue.d.ts +5 -30
- package/dist/ai-agent-card/index.d.ts +1 -174
- package/dist/ai-agent-card/src/ai-agent-card.d.vue.ts +62 -0
- package/dist/ai-agent-card/src/ai-agent-card.vue.d.ts +7 -50
- package/dist/ai-artifacts/index.d.ts +1 -274
- package/dist/ai-artifacts/src/ai-artifacts.d.vue.ts +91 -0
- package/dist/ai-artifacts/src/ai-artifacts.vue.d.ts +8 -80
- package/dist/ai-attachments/index.d.ts +1 -357
- package/dist/ai-attachments/src/ai-attachments.d.vue.ts +107 -0
- package/dist/ai-attachments/src/ai-attachments.vue.d.ts +13 -124
- package/dist/ai-bubble/index.d.ts +54 -54
- package/dist/ai-bubble/src/ai-bubble.d.vue.ts +273 -0
- package/dist/ai-bubble/src/ai-bubble.vue.d.ts +11 -11
- package/dist/ai-bubble-list/index.d.ts +1 -150
- package/dist/ai-bubble-list/src/ai-bubble-list.d.vue.ts +93 -0
- package/dist/ai-bubble-list/src/ai-bubble-list.vue.d.ts +7 -7
- package/dist/ai-chat/index.d.ts +1 -162
- package/dist/ai-chat/src/ai-chat.d.vue.ts +63 -0
- package/dist/ai-chat/src/ai-chat.vue.d.ts +7 -44
- package/dist/ai-code-block/index.d.ts +1 -218
- package/dist/ai-code-block/src/ai-code-block.d.vue.ts +73 -0
- package/dist/ai-code-block/src/ai-code-block.vue.d.ts +3 -59
- package/dist/ai-code-editor/index.d.ts +7 -68
- package/dist/ai-code-editor/src/ai-code-editor.d.vue.ts +71 -0
- package/dist/ai-code-editor/src/ai-code-editor.vue.d.ts +7 -68
- package/dist/ai-code-runner/index.d.ts +1 -66
- package/dist/ai-code-runner/src/ai-code-runner.d.vue.ts +34 -0
- package/dist/ai-code-runner/src/ai-code-runner.vue.d.ts +3 -36
- package/dist/ai-conversations/index.d.ts +1 -214
- package/dist/ai-conversations/src/ai-conversations.d.vue.ts +75 -0
- package/dist/ai-conversations/src/ai-conversations.vue.d.ts +3 -55
- package/dist/ai-editor-sender/index.d.ts +1 -415
- package/dist/ai-editor-sender/src/ai-editor-sender.d.vue.ts +134 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +6 -113
- package/dist/ai-file-card/index.d.ts +7 -209
- package/dist/ai-file-card/src/ai-file-card.d.vue.ts +78 -0
- package/dist/ai-file-card/src/ai-file-card.vue.d.ts +5 -62
- package/dist/ai-mention/index.d.ts +12 -352
- package/dist/ai-mention/src/ai-mention.d.vue.ts +115 -0
- package/dist/ai-mention/src/ai-mention.vue.d.ts +11 -107
- package/dist/ai-mermaid/index.d.ts +1 -222
- package/dist/ai-mermaid/src/ai-mermaid.d.vue.ts +76 -0
- package/dist/ai-mermaid/src/ai-mermaid.vue.d.ts +4 -61
- package/dist/ai-prompts/index.d.ts +1 -102
- package/dist/ai-prompts/src/ai-prompts.d.vue.ts +44 -0
- package/dist/ai-prompts/src/ai-prompts.vue.d.ts +7 -28
- package/dist/ai-provider/index.d.ts +1 -263
- package/dist/ai-provider/src/ai-provider.d.vue.ts +85 -0
- package/dist/ai-provider/src/ai-provider.vue.d.ts +5 -56
- package/dist/ai-sender/index.d.ts +1 -234
- package/dist/ai-sender/src/ai-sender.d.vue.ts +74 -0
- package/dist/ai-sender/src/ai-sender.vue.d.ts +8 -70
- package/dist/ai-sources/index.d.ts +1 -134
- package/dist/ai-sources/src/ai-sources.d.vue.ts +47 -0
- package/dist/ai-sources/src/ai-sources.vue.d.ts +3 -34
- package/dist/ai-thinking/index.d.ts +1 -150
- package/dist/ai-thinking/src/ai-thinking.d.vue.ts +53 -0
- package/dist/ai-thinking/src/ai-thinking.vue.d.ts +4 -40
- package/dist/ai-thought-chain/index.d.ts +10 -268
- package/dist/ai-thought-chain/src/ai-thought-chain.d.vue.ts +92 -0
- package/dist/ai-thought-chain/src/ai-thought-chain.vue.d.ts +9 -84
- package/dist/ai-voice-trigger/index.d.ts +1 -153
- package/dist/ai-voice-trigger/src/ai-voice-trigger.d.vue.ts +49 -0
- package/dist/ai-voice-trigger/src/ai-voice-trigger.vue.d.ts +4 -43
- package/dist/ai-welcome/index.d.ts +1 -129
- package/dist/ai-welcome/src/ai-welcome.d.vue.ts +51 -0
- package/dist/ai-welcome/src/ai-welcome.vue.d.ts +3 -32
- package/dist/alert/index.d.ts +1 -289
- package/dist/alert/src/alert.d.vue.ts +106 -0
- package/dist/alert/src/alert.vue.d.ts +10 -81
- package/dist/autocomplete/index.d.ts +1 -365
- package/dist/autocomplete/src/autocomplete.d.vue.ts +63 -0
- package/dist/autocomplete/src/autocomplete.vue.d.ts +20 -68
- package/dist/avatar/index.d.ts +17 -140
- package/dist/avatar/src/avatar.d.vue.ts +22 -0
- package/dist/avatar/src/avatar.vue.d.ts +5 -32
- package/dist/back-top/index.d.ts +1 -153
- package/dist/back-top/src/back-top.d.vue.ts +54 -0
- package/dist/back-top/src/back-top.vue.d.ts +5 -42
- package/dist/badge/index.d.ts +1 -151
- package/dist/badge/src/badge.d.vue.ts +22 -0
- package/dist/badge/src/badge.vue.d.ts +3 -34
- package/dist/breadcrumb/index.d.ts +2 -177
- package/dist/breadcrumb/src/breadcrumb-item.d.vue.ts +42 -0
- package/dist/breadcrumb/src/breadcrumb-item.vue.d.ts +1 -1
- package/dist/breadcrumb/src/breadcrumb.d.vue.ts +41 -0
- package/dist/button/index.d.ts +38 -242
- package/dist/button/src/button.d.vue.ts +44 -0
- package/dist/button/src/button.vue.d.ts +11 -56
- package/dist/calendar/index.d.ts +1 -429
- package/dist/calendar/src/calendar.d.vue.ts +137 -0
- package/dist/calendar/src/calendar.vue.d.ts +10 -130
- package/dist/card/index.d.ts +1 -155
- package/dist/card/src/card.d.vue.ts +26 -0
- package/dist/card/src/card.vue.d.ts +4 -35
- package/dist/carousel/index.d.ts +2 -443
- package/dist/carousel/src/carousel-item.d.vue.ts +18 -0
- package/dist/carousel/src/carousel.d.vue.ts +144 -0
- package/dist/carousel/src/carousel.vue.d.ts +17 -108
- package/dist/cascader/index.d.ts +105 -456
- package/dist/cascader/src/cascader-panel.d.vue.ts +39 -0
- package/dist/cascader/src/cascader-panel.vue.d.ts +8 -37
- package/dist/cascader/src/cascader.d.vue.ts +63 -0
- package/dist/cascader/src/cascader.vue.d.ts +21 -76
- package/dist/category-nav/index.d.ts +1 -219
- package/dist/category-nav/src/category-nav.d.vue.ts +86 -0
- package/dist/category-nav/src/category-nav.vue.d.ts +10 -61
- package/dist/checkbox/index.d.ts +50 -323
- package/dist/checkbox/src/checkbox-group.d.vue.ts +24 -0
- package/dist/checkbox/src/checkbox-group.vue.d.ts +6 -33
- package/dist/checkbox/src/checkbox.d.vue.ts +32 -0
- package/dist/checkbox/src/checkbox.vue +28 -12
- package/dist/checkbox/src/checkbox.vue.d.ts +8 -41
- package/dist/col/index.d.ts +1 -188
- package/dist/col/src/col.d.vue.ts +114 -0
- package/dist/col/src/col.vue.d.ts +4 -4
- package/dist/color-picker/index.d.ts +1 -89
- package/dist/color-picker/src/alpha-slider.d.vue.ts +10 -0
- package/dist/color-picker/src/alpha-slider.vue.d.ts +4 -13
- package/dist/color-picker/src/color-picker.d.vue.ts +60 -0
- package/dist/color-picker/src/color-picker.vue.d.ts +4 -45
- package/dist/color-picker/src/hue-slider.d.vue.ts +9 -0
- package/dist/color-picker/src/hue-slider.vue.d.ts +4 -13
- package/dist/color-picker/src/sv-panel.d.vue.ts +11 -0
- package/dist/color-picker/src/sv-panel.vue.d.ts +4 -13
- package/dist/config-provider/index.d.ts +2 -2
- package/dist/config-provider/src/config-provider.d.ts +2 -2
- package/dist/container/index.d.ts +5 -208
- package/dist/container/src/aside.d.vue.ts +15 -0
- package/dist/container/src/aside.vue +4 -1
- package/dist/container/src/aside.vue.d.ts +2 -23
- package/dist/container/src/container.d.vue.ts +13 -0
- package/dist/container/src/container.vue +4 -1
- package/dist/container/src/container.vue.d.ts +1 -10
- package/dist/container/src/footer.d.vue.ts +15 -0
- package/dist/container/src/footer.vue +4 -1
- package/dist/container/src/footer.vue.d.ts +2 -23
- package/dist/container/src/header.d.vue.ts +15 -0
- package/dist/container/src/header.vue +4 -1
- package/dist/container/src/header.vue.d.ts +2 -23
- package/dist/container/src/main.d.vue.ts +13 -0
- package/dist/container/src/main.vue +4 -1
- package/dist/container/src/main.vue.d.ts +1 -10
- package/dist/countdown/index.d.ts +1 -419
- package/dist/countdown/src/countdown.d.vue.ts +146 -0
- package/dist/countdown/src/countdown.vue.d.ts +17 -122
- package/dist/coupon-card/index.d.ts +1 -340
- package/dist/coupon-card/src/coupon-card.d.vue.ts +121 -0
- package/dist/coupon-card/src/coupon-card.vue.d.ts +13 -98
- package/dist/date-picker/index.d.ts +1 -604
- package/dist/date-picker/src/date-picker.d.vue.ts +372 -0
- package/dist/date-picker/src/date-picker.vue.d.ts +28 -28
- package/dist/date-picker/src/date-table.d.vue.ts +37 -0
- package/dist/date-picker/src/date-table.vue.d.ts +7 -17
- package/dist/date-picker/src/month-table.d.vue.ts +19 -0
- package/dist/date-picker/src/month-table.vue.d.ts +6 -15
- package/dist/date-picker/src/quarter-table.d.vue.ts +19 -0
- package/dist/date-picker/src/quarter-table.vue.d.ts +6 -15
- package/dist/date-picker/src/year-table.d.vue.ts +19 -0
- package/dist/date-picker/src/year-table.vue.d.ts +6 -15
- package/dist/descriptions/index.d.ts +2 -492
- package/dist/descriptions/src/description-item.d.vue.ts +99 -0
- package/dist/descriptions/src/description-item.vue.d.ts +4 -4
- package/dist/descriptions/src/descriptions.d.vue.ts +106 -0
- package/dist/descriptions/src/descriptions.vue +29 -12
- package/dist/descriptions/src/descriptions.vue.d.ts +3 -3
- package/dist/dialog/index.d.ts +2 -665
- package/dist/dialog/src/dialog.d.vue.ts +217 -0
- package/dist/dialog/src/dialog.vue.d.ts +22 -200
- package/dist/divider/index.d.ts +1 -113
- package/dist/divider/src/divider.d.vue.ts +69 -0
- package/dist/divider/src/divider.vue +8 -2
- package/dist/divider/src/divider.vue.d.ts +3 -3
- package/dist/drawer/index.d.ts +13 -391
- package/dist/drawer/src/drawer.d.vue.ts +141 -0
- package/dist/drawer/src/drawer.vue.d.ts +10 -120
- package/dist/dropdown/index.d.ts +3 -627
- package/dist/dropdown/src/dropdown-item.d.vue.ts +78 -0
- package/dist/dropdown/src/dropdown-item.vue +9 -2
- package/dist/dropdown/src/dropdown-item.vue.d.ts +3 -3
- package/dist/dropdown/src/dropdown-menu.d.vue.ts +24 -0
- package/dist/dropdown/src/dropdown-menu.vue +4 -1
- package/dist/dropdown/src/dropdown.d.vue.ts +158 -0
- package/dist/dropdown/src/dropdown.vue.d.ts +16 -133
- package/dist/empty/index.d.ts +1 -78
- package/dist/empty/src/empty.d.vue.ts +19 -0
- package/dist/empty/src/empty.vue +26 -9
- package/dist/empty/src/empty.vue.d.ts +2 -23
- package/dist/filter-bar/index.d.ts +1 -281
- package/dist/filter-bar/src/filter-bar.d.vue.ts +87 -0
- package/dist/filter-bar/src/filter-bar.vue.d.ts +9 -92
- package/dist/form/index.d.ts +3 -690
- package/dist/form/src/form-item.d.vue.ts +144 -0
- package/dist/form/src/form-item.vue.d.ts +7 -7
- package/dist/form/src/form-schema.d.vue.ts +116 -0
- package/dist/form/src/form-schema.vue.d.ts +30 -36
- package/dist/form/src/form.d.vue.ts +158 -0
- package/dist/form/src/form.vue.d.ts +5 -5
- package/dist/gantt-chart/index.d.ts +1 -305
- package/dist/gantt-chart/src/gantt-chart.d.vue.ts +51 -0
- package/dist/gantt-chart/src/gantt-chart.vue.d.ts +17 -62
- package/dist/grid/index.d.ts +2 -226
- package/dist/grid/src/grid-item.d.vue.ts +17 -0
- package/dist/grid/src/grid-item.vue +13 -10
- package/dist/grid/src/grid-item.vue.d.ts +2 -27
- package/dist/grid/src/grid.d.vue.ts +20 -0
- package/dist/grid/src/grid.vue +12 -6
- package/dist/grid/src/grid.vue.d.ts +3 -34
- package/dist/icon/index.d.ts +9 -9
- package/dist/icon/src/icon.d.vue.ts +87 -0
- package/dist/icon/src/icon.vue.d.ts +3 -3
- package/dist/image/index.d.ts +34 -85
- package/dist/image/src/image-viewer.d.vue.ts +68 -0
- package/dist/image/src/image-viewer.vue.d.ts +4 -55
- package/dist/image/src/image.d.vue.ts +178 -0
- package/dist/image/src/image.vue.d.ts +11 -11
- package/dist/image-magnifier/index.d.ts +1 -462
- package/dist/image-magnifier/src/image-magnifier.d.vue.ts +154 -0
- package/dist/image-magnifier/src/image-magnifier.vue.d.ts +9 -126
- package/dist/infinite-scroll/index.d.ts +1 -270
- package/dist/infinite-scroll/src/infinite-scroll.d.vue.ts +93 -0
- package/dist/infinite-scroll/src/infinite-scroll.vue.d.ts +7 -72
- package/dist/input/index.d.ts +67 -508
- package/dist/input/src/input.d.vue.ts +76 -0
- package/dist/input/src/input.vue.d.ts +26 -85
- package/dist/input-number/index.d.ts +42 -297
- package/dist/input-number/src/input-number.d.vue.ts +50 -0
- package/dist/input-number/src/input-number.vue.d.ts +16 -59
- package/dist/input-tag/index.d.ts +1 -433
- package/dist/input-tag/src/input-tag.d.vue.ts +71 -0
- package/dist/input-tag/src/input-tag.vue.d.ts +28 -83
- package/dist/loading/index.d.ts +1 -1
- package/dist/lucky-draw/index.d.ts +1 -203
- package/dist/lucky-draw/src/lucky-draw.d.vue.ts +74 -0
- package/dist/lucky-draw/src/lucky-draw.vue.d.ts +5 -54
- package/dist/marquee/index.d.ts +1 -305
- package/dist/marquee/src/marquee.d.vue.ts +106 -0
- package/dist/marquee/src/marquee.vue.d.ts +6 -80
- package/dist/mention/index.d.ts +90 -432
- package/dist/mention/src/mention.d.vue.ts +84 -0
- package/dist/mention/src/mention.vue.d.ts +35 -100
- package/dist/menu/index.d.ts +4 -890
- package/dist/menu/src/menu-item-group.d.vue.ts +26 -0
- package/dist/menu/src/menu-item.d.vue.ts +52 -0
- package/dist/menu/src/menu-item.vue +20 -7
- package/dist/menu/src/menu-recursive-item.d.vue.ts +6 -0
- package/dist/menu/src/menu-recursive-item.vue.d.ts +1 -10
- package/dist/menu/src/menu.d.vue.ts +209 -0
- package/dist/menu/src/menu.vue.d.ts +15 -178
- package/dist/menu/src/sub-menu.d.vue.ts +87 -0
- package/dist/message/index.d.ts +1 -1
- package/dist/message/src/message.d.vue.ts +32 -0
- package/dist/message/src/message.vue.d.ts +8 -45
- package/dist/message-box/index.d.ts +1 -1
- package/dist/message-box/src/message-box.d.vue.ts +17 -0
- package/dist/message-box/src/message-box.vue.d.ts +2 -11
- package/dist/notification/index.d.ts +1 -1
- package/dist/notification/src/notification.d.vue.ts +30 -0
- package/dist/notification/src/notification.vue.d.ts +8 -37
- package/dist/pagination/index.d.ts +26 -26
- package/dist/pagination/src/pagination.d.vue.ts +149 -0
- package/dist/pagination/src/pagination.vue.d.ts +11 -11
- package/dist/popconfirm/index.d.ts +1 -433
- package/dist/popconfirm/src/popconfirm.d.vue.ts +148 -0
- package/dist/popconfirm/src/popconfirm.vue.d.ts +12 -121
- package/dist/popover/index.d.ts +1 -392
- package/dist/popover/src/popover.d.vue.ts +139 -0
- package/dist/popover/src/popover.vue.d.ts +13 -111
- package/dist/price/index.d.ts +1 -363
- package/dist/price/src/price.d.vue.ts +223 -0
- package/dist/price/src/price.vue.d.ts +5 -5
- package/dist/product-card/index.d.ts +1 -557
- package/dist/product-card/src/product-card.d.vue.ts +188 -0
- package/dist/product-card/src/product-card.vue.d.ts +12 -157
- package/dist/progress/index.d.ts +1 -321
- package/dist/progress/src/progress.d.vue.ts +199 -0
- package/dist/progress/src/progress.vue.d.ts +9 -9
- package/dist/radio/index.d.ts +51 -339
- package/dist/radio/src/radio-button.d.vue.ts +25 -0
- package/dist/radio/src/radio-button.vue.d.ts +6 -27
- package/dist/radio/src/radio-group.d.vue.ts +23 -0
- package/dist/radio/src/radio-group.vue.d.ts +6 -31
- package/dist/radio/src/radio.d.vue.ts +26 -0
- package/dist/radio/src/radio.vue +24 -5
- package/dist/radio/src/radio.vue.d.ts +6 -29
- package/dist/rate/index.d.ts +1 -313
- package/dist/rate/src/rate.d.vue.ts +109 -0
- package/dist/rate/src/rate.vue.d.ts +11 -90
- package/dist/result/index.d.ts +1 -73
- package/dist/result/src/result.d.vue.ts +23 -0
- package/dist/result/src/result.vue +11 -2
- package/dist/result/src/result.vue.d.ts +2 -23
- package/dist/row/index.d.ts +1 -98
- package/dist/row/src/row.d.ts +1 -1
- package/dist/row/src/row.d.vue.ts +60 -0
- package/dist/row/src/row.vue.d.ts +1 -1
- package/dist/sanitize.cjs +33 -23
- package/dist/sanitize.mjs +28 -20
- package/dist/scrollbar/index.d.ts +1 -192
- package/dist/scrollbar/src/scrollbar.d.vue.ts +67 -0
- package/dist/scrollbar/src/scrollbar.vue.d.ts +3 -45
- package/dist/scrollbar/src/thumb.d.vue.ts +16 -0
- package/dist/scrollbar/src/thumb.vue.d.ts +3 -30
- package/dist/select/index.d.ts +71 -461
- package/dist/select/src/option.d.vue.ts +15 -0
- package/dist/select/src/option.vue.d.ts +2 -23
- package/dist/select/src/select.d.vue.ts +68 -0
- package/dist/select/src/select.vue.d.ts +26 -93
- package/dist/skeleton/index.d.ts +2 -278
- package/dist/skeleton/src/skeleton-item.d.vue.ts +83 -0
- package/dist/skeleton/src/skeleton-item.vue.d.ts +2 -2
- package/dist/skeleton/src/skeleton.d.vue.ts +89 -0
- package/dist/skeleton/src/skeleton.vue.d.ts +3 -3
- package/dist/sku-selector/index.d.ts +1 -222
- package/dist/sku-selector/src/sku-selector.d.vue.ts +84 -0
- package/dist/sku-selector/src/sku-selector.vue.d.ts +9 -62
- package/dist/slider/index.d.ts +1 -471
- package/dist/slider/src/slider-button.d.vue.ts +43 -0
- package/dist/slider/src/slider-button.vue.d.ts +10 -41
- package/dist/slider/src/slider.d.vue.ts +164 -0
- package/dist/slider/src/slider.vue.d.ts +13 -129
- package/dist/smart-address/index.d.ts +1 -324
- package/dist/smart-address/src/smart-address.d.vue.ts +110 -0
- package/dist/smart-address/src/smart-address.vue.d.ts +8 -102
- package/dist/space/index.d.ts +1 -142
- package/dist/space/src/space.d.vue.ts +22 -0
- package/dist/space/src/space.vue +28 -15
- package/dist/space/src/space.vue.d.ts +3 -34
- package/dist/spin/index.d.ts +6 -161
- package/dist/spin/src/spin.d.vue.ts +66 -0
- package/dist/spin/src/spin.vue.d.ts +4 -47
- package/dist/steps/index.d.ts +2 -606
- package/dist/steps/src/step.d.vue.ts +105 -0
- package/dist/steps/src/step.vue.d.ts +5 -5
- package/dist/steps/src/steps.d.vue.ts +94 -0
- package/dist/steps/src/steps.vue +4 -1
- package/dist/steps/src/steps.vue.d.ts +9 -78
- package/dist/submit-bar/index.d.ts +1 -291
- package/dist/submit-bar/src/submit-bar.d.vue.ts +102 -0
- package/dist/submit-bar/src/submit-bar.vue.d.ts +6 -79
- package/dist/switch/index.d.ts +1 -372
- package/dist/switch/src/switch.d.vue.ts +133 -0
- package/dist/switch/src/switch.vue.d.ts +7 -98
- package/dist/table/index.d.ts +2 -1488
- package/dist/table/src/table-column.d.vue.ts +71 -0
- package/dist/table/src/table-column.vue.d.ts +11 -70
- package/dist/table/src/table.d.vue.ts +493 -0
- package/dist/table/src/table.vue.d.ts +25 -337
- package/dist/table/src/use-virtual-scroll.mjs +3 -1
- package/dist/tabs/index.d.ts +2 -583
- package/dist/tabs/src/tab-pane.d.vue.ts +77 -0
- package/dist/tabs/src/tab-pane.vue +11 -3
- package/dist/tabs/src/tab-pane.vue.d.ts +2 -2
- package/dist/tabs/src/tabs.d.vue.ts +110 -0
- package/dist/tabs/src/tabs.vue.d.ts +8 -98
- package/dist/tag/index.d.ts +1 -245
- package/dist/tag/src/tag.d.vue.ts +42 -0
- package/dist/tag/src/tag.vue.d.ts +12 -51
- package/dist/time-picker/index.d.ts +1 -619
- package/dist/time-picker/src/time-picker.d.vue.ts +67 -0
- package/dist/time-picker/src/time-picker.vue.d.ts +29 -102
- package/dist/time-picker/src/time-spinner.d.vue.ts +46 -0
- package/dist/time-picker/src/time-spinner.vue.d.ts +6 -45
- package/dist/time-select/index.d.ts +1 -379
- package/dist/time-select/src/time-select.d.vue.ts +51 -0
- package/dist/time-select/src/time-select.vue.d.ts +21 -66
- package/dist/tooltip/index.d.ts +17 -465
- package/dist/tooltip/src/tooltip.d.vue.ts +167 -0
- package/dist/tooltip/src/tooltip.vue.d.ts +15 -140
- package/dist/transfer/src/transfer-panel.d.vue.ts +45 -0
- package/dist/transfer/src/transfer-panel.vue.d.ts +12 -51
- package/dist/transfer/src/transfer.d.vue.ts +68 -0
- package/dist/transfer/src/transfer.vue.d.ts +15 -62
- package/dist/tree/index.d.ts +2 -632
- package/dist/tree/src/tree-node.d.vue.ts +18 -0
- package/dist/tree/src/tree-node.vue.d.ts +1 -10
- package/dist/tree/src/tree.d.vue.ts +228 -0
- package/dist/tree/src/tree.vue.d.ts +13 -161
- package/dist/tree-select/index.d.ts +1 -435
- package/dist/tree-select/src/tree-select.d.vue.ts +141 -0
- package/dist/tree-select/src/tree-select.vue.d.ts +19 -129
- package/dist/typography/index.d.ts +4 -612
- package/dist/typography/src/link.d.vue.ts +21 -0
- package/dist/typography/src/link.vue +13 -3
- package/dist/typography/src/link.vue.d.ts +4 -29
- package/dist/typography/src/paragraph.d.vue.ts +22 -0
- package/dist/typography/src/paragraph.vue.d.ts +3 -34
- package/dist/typography/src/text.d.vue.ts +29 -0
- package/dist/typography/src/text.vue +4 -1
- package/dist/typography/src/text.vue.d.ts +4 -41
- package/dist/typography/src/title.d.vue.ts +26 -0
- package/dist/typography/src/title.vue +4 -1
- package/dist/typography/src/title.vue.d.ts +3 -38
- package/dist/upload/index.d.ts +1 -391
- package/dist/upload/src/upload.d.vue.ts +134 -0
- package/dist/upload/src/upload.vue.d.ts +13 -109
- package/dist/waterfall/index.d.ts +1 -57
- package/dist/waterfall/src/waterfall.d.vue.ts +56 -0
- package/dist/waterfall/src/waterfall.vue.d.ts +4 -4
- package/dist/watermark/index.d.ts +1 -236
- package/dist/watermark/src/watermark.d.vue.ts +143 -0
- package/dist/watermark/src/watermark.vue.d.ts +6 -6
- package/package.json +8 -9
- package/dist/component.d.ts +0 -284
- package/dist/env.d.ts +0 -11
|
@@ -1,376 +1,36 @@
|
|
|
1
1
|
import AiMention from './src/ai-mention.vue';
|
|
2
2
|
export declare const YhAiMention: import("@yh-ui/utils").SFCWithInstall<{
|
|
3
|
-
new (...args: any[]):
|
|
4
|
-
readonly modelValue: {
|
|
5
|
-
readonly type: StringConstructor;
|
|
6
|
-
readonly default: "";
|
|
7
|
-
};
|
|
8
|
-
readonly types: {
|
|
9
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionType[]>;
|
|
10
|
-
readonly default: () => string[];
|
|
11
|
-
};
|
|
12
|
-
readonly options: {
|
|
13
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionOption[]>;
|
|
14
|
-
readonly default: () => never[];
|
|
15
|
-
};
|
|
16
|
-
readonly triggers: {
|
|
17
|
-
readonly type: import("vue").PropType<string[]>;
|
|
18
|
-
readonly default: () => string[];
|
|
19
|
-
};
|
|
20
|
-
readonly type: {
|
|
21
|
-
readonly type: import("vue").PropType<"input" | "textarea">;
|
|
22
|
-
readonly default: "textarea";
|
|
23
|
-
};
|
|
24
|
-
readonly placeholder: StringConstructor;
|
|
25
|
-
readonly disabled: BooleanConstructor;
|
|
26
|
-
readonly size: import("vue").PropType<"large" | "default" | "small">;
|
|
27
|
-
readonly maxLength: NumberConstructor;
|
|
28
|
-
readonly rows: {
|
|
29
|
-
readonly type: NumberConstructor;
|
|
30
|
-
readonly default: 3;
|
|
31
|
-
};
|
|
32
|
-
readonly loading: BooleanConstructor;
|
|
33
|
-
readonly themeOverrides: {
|
|
34
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
35
|
-
readonly default: () => {};
|
|
36
|
-
};
|
|
37
|
-
readonly filterOption: {
|
|
38
|
-
readonly type: import("vue").PropType<((keyword: string, option: import("../index.js").MentionOption) => boolean) | false>;
|
|
39
|
-
readonly default: undefined;
|
|
40
|
-
};
|
|
41
|
-
readonly enableFileTree: {
|
|
42
|
-
readonly type: BooleanConstructor;
|
|
43
|
-
readonly default: true;
|
|
44
|
-
};
|
|
45
|
-
readonly fileLoader: {
|
|
46
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionFileLoader>;
|
|
47
|
-
readonly default: undefined;
|
|
48
|
-
};
|
|
49
|
-
readonly fileRoot: {
|
|
50
|
-
readonly type: StringConstructor;
|
|
51
|
-
readonly default: "/";
|
|
52
|
-
};
|
|
53
|
-
readonly fileTreeExpandedLevel: {
|
|
54
|
-
readonly type: NumberConstructor;
|
|
55
|
-
readonly default: 2;
|
|
56
|
-
};
|
|
57
|
-
readonly showFileIcon: {
|
|
58
|
-
readonly type: BooleanConstructor;
|
|
59
|
-
readonly default: true;
|
|
60
|
-
};
|
|
61
|
-
readonly showFileSize: {
|
|
62
|
-
readonly type: BooleanConstructor;
|
|
63
|
-
readonly default: true;
|
|
64
|
-
};
|
|
65
|
-
readonly showModifiedTime: {
|
|
66
|
-
readonly type: BooleanConstructor;
|
|
67
|
-
readonly default: true;
|
|
68
|
-
};
|
|
69
|
-
readonly formatFileSize: {
|
|
70
|
-
readonly type: import("vue").PropType<(size: number) => string>;
|
|
71
|
-
readonly default: (size: number) => string;
|
|
72
|
-
};
|
|
73
|
-
readonly searchDebounce: {
|
|
74
|
-
readonly type: NumberConstructor;
|
|
75
|
-
readonly default: 300;
|
|
76
|
-
};
|
|
77
|
-
}>> & Readonly<{
|
|
78
|
-
onInput?: ((value: string) => any) | undefined;
|
|
79
|
-
onSearch?: ((keyword: string, trigger: string) => any) | undefined;
|
|
80
|
-
onSelect?: ((option: import("./index.js").AiMentionOption, trigger: string) => any) | undefined;
|
|
81
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
82
|
-
onChange?: ((value: string) => any) | undefined;
|
|
83
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
84
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
85
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
86
|
-
"onFile-load"?: ((_type: "table" | "document" | "knowledge" | "file", _nodes: import("./index.js").AiMentionFileNode[]) => any) | undefined;
|
|
87
|
-
"onFile-select"?: ((node: import("./index.js").AiMentionFileNode, option: import("./index.js").AiMentionOption) => any) | undefined;
|
|
88
|
-
}>, {
|
|
89
|
-
focus: () => void;
|
|
90
|
-
blur: () => void;
|
|
91
|
-
clear: () => void;
|
|
92
|
-
getRef: () => HTMLTextAreaElement | HTMLInputElement | undefined | null;
|
|
93
|
-
insertMention: (option: import("./index.js").AiMentionOption, trigger?: string) => void;
|
|
94
|
-
refreshFileTree: () => void;
|
|
95
|
-
toggleFolder: (key: string) => void;
|
|
96
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
|
-
input: (value: string) => void;
|
|
98
|
-
search: (keyword: string, trigger: string) => void;
|
|
99
|
-
select: (option: import("./index.js").AiMentionOption, trigger: string) => void;
|
|
100
|
-
focus: (event: FocusEvent) => void;
|
|
101
|
-
change: (value: string) => void;
|
|
102
|
-
blur: (event: FocusEvent) => void;
|
|
103
|
-
keydown: (event: KeyboardEvent) => void;
|
|
104
|
-
"update:modelValue": (value: string) => void;
|
|
105
|
-
"file-load": (_type: "table" | "document" | "knowledge" | "file", _nodes: import("./index.js").AiMentionFileNode[]) => void;
|
|
106
|
-
"file-select": (node: import("./index.js").AiMentionFileNode, option: import("./index.js").AiMentionOption) => void;
|
|
107
|
-
}, import("vue").PublicProps, {
|
|
108
|
-
readonly loading: boolean;
|
|
109
|
-
readonly type: "input" | "textarea";
|
|
110
|
-
readonly disabled: boolean;
|
|
111
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
112
|
-
readonly modelValue: string;
|
|
113
|
-
readonly rows: number;
|
|
114
|
-
readonly options: import("./index.js").AiMentionOption[];
|
|
115
|
-
readonly triggers: string[];
|
|
116
|
-
readonly filterOption: false | ((keyword: string, option: import("../index.js").MentionOption) => boolean);
|
|
117
|
-
readonly types: ("table" | "agent" | "document" | "knowledge" | "file")[];
|
|
118
|
-
readonly enableFileTree: boolean;
|
|
119
|
-
readonly fileLoader: import("./index.js").AiMentionFileLoader;
|
|
120
|
-
readonly fileRoot: string;
|
|
121
|
-
readonly fileTreeExpandedLevel: number;
|
|
122
|
-
readonly showFileIcon: boolean;
|
|
123
|
-
readonly showFileSize: boolean;
|
|
124
|
-
readonly showModifiedTime: boolean;
|
|
125
|
-
readonly formatFileSize: (size: number) => string;
|
|
126
|
-
readonly searchDebounce: number;
|
|
127
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
128
|
-
P: {};
|
|
129
|
-
B: {};
|
|
130
|
-
D: {};
|
|
131
|
-
C: {};
|
|
132
|
-
M: {};
|
|
133
|
-
Defaults: {};
|
|
134
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
135
|
-
readonly modelValue: {
|
|
136
|
-
readonly type: StringConstructor;
|
|
137
|
-
readonly default: "";
|
|
138
|
-
};
|
|
139
|
-
readonly types: {
|
|
140
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionType[]>;
|
|
141
|
-
readonly default: () => string[];
|
|
142
|
-
};
|
|
143
|
-
readonly options: {
|
|
144
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionOption[]>;
|
|
145
|
-
readonly default: () => never[];
|
|
146
|
-
};
|
|
147
|
-
readonly triggers: {
|
|
148
|
-
readonly type: import("vue").PropType<string[]>;
|
|
149
|
-
readonly default: () => string[];
|
|
150
|
-
};
|
|
151
|
-
readonly type: {
|
|
152
|
-
readonly type: import("vue").PropType<"input" | "textarea">;
|
|
153
|
-
readonly default: "textarea";
|
|
154
|
-
};
|
|
155
|
-
readonly placeholder: StringConstructor;
|
|
156
|
-
readonly disabled: BooleanConstructor;
|
|
157
|
-
readonly size: import("vue").PropType<"large" | "default" | "small">;
|
|
158
|
-
readonly maxLength: NumberConstructor;
|
|
159
|
-
readonly rows: {
|
|
160
|
-
readonly type: NumberConstructor;
|
|
161
|
-
readonly default: 3;
|
|
162
|
-
};
|
|
163
|
-
readonly loading: BooleanConstructor;
|
|
164
|
-
readonly themeOverrides: {
|
|
165
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
166
|
-
readonly default: () => {};
|
|
167
|
-
};
|
|
168
|
-
readonly filterOption: {
|
|
169
|
-
readonly type: import("vue").PropType<((keyword: string, option: import("../index.js").MentionOption) => boolean) | false>;
|
|
170
|
-
readonly default: undefined;
|
|
171
|
-
};
|
|
172
|
-
readonly enableFileTree: {
|
|
173
|
-
readonly type: BooleanConstructor;
|
|
174
|
-
readonly default: true;
|
|
175
|
-
};
|
|
176
|
-
readonly fileLoader: {
|
|
177
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionFileLoader>;
|
|
178
|
-
readonly default: undefined;
|
|
179
|
-
};
|
|
180
|
-
readonly fileRoot: {
|
|
181
|
-
readonly type: StringConstructor;
|
|
182
|
-
readonly default: "/";
|
|
183
|
-
};
|
|
184
|
-
readonly fileTreeExpandedLevel: {
|
|
185
|
-
readonly type: NumberConstructor;
|
|
186
|
-
readonly default: 2;
|
|
187
|
-
};
|
|
188
|
-
readonly showFileIcon: {
|
|
189
|
-
readonly type: BooleanConstructor;
|
|
190
|
-
readonly default: true;
|
|
191
|
-
};
|
|
192
|
-
readonly showFileSize: {
|
|
193
|
-
readonly type: BooleanConstructor;
|
|
194
|
-
readonly default: true;
|
|
195
|
-
};
|
|
196
|
-
readonly showModifiedTime: {
|
|
197
|
-
readonly type: BooleanConstructor;
|
|
198
|
-
readonly default: true;
|
|
199
|
-
};
|
|
200
|
-
readonly formatFileSize: {
|
|
201
|
-
readonly type: import("vue").PropType<(size: number) => string>;
|
|
202
|
-
readonly default: (size: number) => string;
|
|
203
|
-
};
|
|
204
|
-
readonly searchDebounce: {
|
|
205
|
-
readonly type: NumberConstructor;
|
|
206
|
-
readonly default: 300;
|
|
207
|
-
};
|
|
208
|
-
}>> & Readonly<{
|
|
209
|
-
onInput?: ((value: string) => any) | undefined;
|
|
210
|
-
onSearch?: ((keyword: string, trigger: string) => any) | undefined;
|
|
211
|
-
onSelect?: ((option: import("./index.js").AiMentionOption, trigger: string) => any) | undefined;
|
|
212
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
213
|
-
onChange?: ((value: string) => any) | undefined;
|
|
214
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
215
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
216
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
217
|
-
"onFile-load"?: ((_type: "table" | "document" | "knowledge" | "file", _nodes: import("./index.js").AiMentionFileNode[]) => any) | undefined;
|
|
218
|
-
"onFile-select"?: ((node: import("./index.js").AiMentionFileNode, option: import("./index.js").AiMentionOption) => any) | undefined;
|
|
219
|
-
}>, {
|
|
220
|
-
focus: () => void;
|
|
221
|
-
blur: () => void;
|
|
222
|
-
clear: () => void;
|
|
223
|
-
getRef: () => HTMLTextAreaElement | HTMLInputElement | undefined | null;
|
|
224
|
-
insertMention: (option: import("./index.js").AiMentionOption, trigger?: string) => void;
|
|
225
|
-
refreshFileTree: () => void;
|
|
226
|
-
toggleFolder: (key: string) => void;
|
|
227
|
-
}, {}, {}, {}, {
|
|
228
|
-
readonly loading: boolean;
|
|
229
|
-
readonly type: "input" | "textarea";
|
|
230
|
-
readonly disabled: boolean;
|
|
231
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
232
|
-
readonly modelValue: string;
|
|
233
|
-
readonly rows: number;
|
|
234
|
-
readonly options: import("./index.js").AiMentionOption[];
|
|
235
|
-
readonly triggers: string[];
|
|
236
|
-
readonly filterOption: false | ((keyword: string, option: import("../index.js").MentionOption) => boolean);
|
|
237
|
-
readonly types: ("table" | "agent" | "document" | "knowledge" | "file")[];
|
|
238
|
-
readonly enableFileTree: boolean;
|
|
239
|
-
readonly fileLoader: import("./index.js").AiMentionFileLoader;
|
|
240
|
-
readonly fileRoot: string;
|
|
241
|
-
readonly fileTreeExpandedLevel: number;
|
|
242
|
-
readonly showFileIcon: boolean;
|
|
243
|
-
readonly showFileSize: boolean;
|
|
244
|
-
readonly showModifiedTime: boolean;
|
|
245
|
-
readonly formatFileSize: (size: number) => string;
|
|
246
|
-
readonly searchDebounce: number;
|
|
247
|
-
}>;
|
|
3
|
+
new (...args: any[]): any;
|
|
248
4
|
__isFragment?: never;
|
|
249
5
|
__isTeleport?: never;
|
|
250
6
|
__isSuspense?: never;
|
|
251
|
-
} & import("vue").ComponentOptionsBase<
|
|
252
|
-
readonly modelValue: {
|
|
253
|
-
readonly type: StringConstructor;
|
|
254
|
-
readonly default: "";
|
|
255
|
-
};
|
|
256
|
-
readonly types: {
|
|
257
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionType[]>;
|
|
258
|
-
readonly default: () => string[];
|
|
259
|
-
};
|
|
260
|
-
readonly options: {
|
|
261
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionOption[]>;
|
|
262
|
-
readonly default: () => never[];
|
|
263
|
-
};
|
|
264
|
-
readonly triggers: {
|
|
265
|
-
readonly type: import("vue").PropType<string[]>;
|
|
266
|
-
readonly default: () => string[];
|
|
267
|
-
};
|
|
268
|
-
readonly type: {
|
|
269
|
-
readonly type: import("vue").PropType<"input" | "textarea">;
|
|
270
|
-
readonly default: "textarea";
|
|
271
|
-
};
|
|
272
|
-
readonly placeholder: StringConstructor;
|
|
273
|
-
readonly disabled: BooleanConstructor;
|
|
274
|
-
readonly size: import("vue").PropType<"large" | "default" | "small">;
|
|
275
|
-
readonly maxLength: NumberConstructor;
|
|
276
|
-
readonly rows: {
|
|
277
|
-
readonly type: NumberConstructor;
|
|
278
|
-
readonly default: 3;
|
|
279
|
-
};
|
|
280
|
-
readonly loading: BooleanConstructor;
|
|
281
|
-
readonly themeOverrides: {
|
|
282
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
283
|
-
readonly default: () => {};
|
|
284
|
-
};
|
|
285
|
-
readonly filterOption: {
|
|
286
|
-
readonly type: import("vue").PropType<((keyword: string, option: import("../index.js").MentionOption) => boolean) | false>;
|
|
287
|
-
readonly default: undefined;
|
|
288
|
-
};
|
|
289
|
-
readonly enableFileTree: {
|
|
290
|
-
readonly type: BooleanConstructor;
|
|
291
|
-
readonly default: true;
|
|
292
|
-
};
|
|
293
|
-
readonly fileLoader: {
|
|
294
|
-
readonly type: import("vue").PropType<import("./index.js").AiMentionFileLoader>;
|
|
295
|
-
readonly default: undefined;
|
|
296
|
-
};
|
|
297
|
-
readonly fileRoot: {
|
|
298
|
-
readonly type: StringConstructor;
|
|
299
|
-
readonly default: "/";
|
|
300
|
-
};
|
|
301
|
-
readonly fileTreeExpandedLevel: {
|
|
302
|
-
readonly type: NumberConstructor;
|
|
303
|
-
readonly default: 2;
|
|
304
|
-
};
|
|
305
|
-
readonly showFileIcon: {
|
|
306
|
-
readonly type: BooleanConstructor;
|
|
307
|
-
readonly default: true;
|
|
308
|
-
};
|
|
309
|
-
readonly showFileSize: {
|
|
310
|
-
readonly type: BooleanConstructor;
|
|
311
|
-
readonly default: true;
|
|
312
|
-
};
|
|
313
|
-
readonly showModifiedTime: {
|
|
314
|
-
readonly type: BooleanConstructor;
|
|
315
|
-
readonly default: true;
|
|
316
|
-
};
|
|
317
|
-
readonly formatFileSize: {
|
|
318
|
-
readonly type: import("vue").PropType<(size: number) => string>;
|
|
319
|
-
readonly default: (size: number) => string;
|
|
320
|
-
};
|
|
321
|
-
readonly searchDebounce: {
|
|
322
|
-
readonly type: NumberConstructor;
|
|
323
|
-
readonly default: 300;
|
|
324
|
-
};
|
|
325
|
-
}>> & Readonly<{
|
|
326
|
-
onInput?: ((value: string) => any) | undefined;
|
|
327
|
-
onSearch?: ((keyword: string, trigger: string) => any) | undefined;
|
|
328
|
-
onSelect?: ((option: import("./index.js").AiMentionOption, trigger: string) => any) | undefined;
|
|
329
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
330
|
-
onChange?: ((value: string) => any) | undefined;
|
|
331
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
332
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
333
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
334
|
-
"onFile-load"?: ((_type: "table" | "document" | "knowledge" | "file", _nodes: import("./index.js").AiMentionFileNode[]) => any) | undefined;
|
|
335
|
-
"onFile-select"?: ((node: import("./index.js").AiMentionFileNode, option: import("./index.js").AiMentionOption) => any) | undefined;
|
|
336
|
-
}>, {
|
|
7
|
+
} & import("vue").ComponentOptionsBase<any, {
|
|
337
8
|
focus: () => void;
|
|
338
9
|
blur: () => void;
|
|
339
10
|
clear: () => void;
|
|
340
11
|
getRef: () => HTMLTextAreaElement | HTMLInputElement | undefined | null;
|
|
341
|
-
insertMention: (option: import("./
|
|
12
|
+
insertMention: (option: import("./src/ai-mention").AiMentionOption, trigger?: string) => void;
|
|
342
13
|
refreshFileTree: () => void;
|
|
343
14
|
toggleFolder: (key: string) => void;
|
|
344
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
345
|
-
input: (value: string) => void;
|
|
346
|
-
search: (keyword: string, trigger: string) => void;
|
|
347
|
-
select: (option: import("./index.js").AiMentionOption, trigger: string) => void;
|
|
348
|
-
focus: (event: FocusEvent) => void;
|
|
349
|
-
change: (value: string) => void;
|
|
350
|
-
blur: (event: FocusEvent) => void;
|
|
351
|
-
keydown: (event: KeyboardEvent) => void;
|
|
352
|
-
"update:modelValue": (value: string) => void;
|
|
353
|
-
"file-load": (_type: "table" | "document" | "knowledge" | "file", _nodes: import("./index.js").AiMentionFileNode[]) => void;
|
|
354
|
-
"file-select": (node: import("./index.js").AiMentionFileNode, option: import("./index.js").AiMentionOption) => void;
|
|
355
|
-
}, string, {
|
|
356
|
-
readonly loading: boolean;
|
|
357
|
-
readonly type: "input" | "textarea";
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, {
|
|
358
16
|
readonly disabled: boolean;
|
|
359
17
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
18
|
+
readonly type: "textarea" | "input";
|
|
19
|
+
readonly loading: boolean;
|
|
20
|
+
readonly triggers: string[];
|
|
21
|
+
readonly options: import("./src/ai-mention").AiMentionOption[];
|
|
22
|
+
readonly formatFileSize: (size: number) => string;
|
|
360
23
|
readonly modelValue: string;
|
|
24
|
+
readonly filterOption: false | ((keyword: string, option: import("../mention").MentionOption) => boolean);
|
|
361
25
|
readonly rows: number;
|
|
362
|
-
readonly
|
|
363
|
-
readonly triggers: string[];
|
|
364
|
-
readonly filterOption: false | ((keyword: string, option: import("../index.js").MentionOption) => boolean);
|
|
365
|
-
readonly types: ("table" | "agent" | "document" | "knowledge" | "file")[];
|
|
26
|
+
readonly types: ("document" | "table" | "file" | "agent" | "knowledge")[];
|
|
366
27
|
readonly enableFileTree: boolean;
|
|
367
|
-
readonly fileLoader: import("./
|
|
28
|
+
readonly fileLoader: import("./src/ai-mention").AiMentionFileLoader;
|
|
368
29
|
readonly fileRoot: string;
|
|
369
30
|
readonly fileTreeExpandedLevel: number;
|
|
370
31
|
readonly showFileIcon: boolean;
|
|
371
32
|
readonly showFileSize: boolean;
|
|
372
33
|
readonly showModifiedTime: boolean;
|
|
373
|
-
readonly formatFileSize: (size: number) => string;
|
|
374
34
|
readonly searchDebounce: number;
|
|
375
35
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
376
36
|
$slots: {
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { type AiMentionOption } from './ai-mention';
|
|
2
|
+
declare var __VLS_22: any, __VLS_23: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
[K in NonNullable<typeof __VLS_22>]?: (props: typeof __VLS_23) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
+
readonly modelValue: {
|
|
8
|
+
readonly type: StringConstructor;
|
|
9
|
+
readonly default: "";
|
|
10
|
+
};
|
|
11
|
+
readonly types: {
|
|
12
|
+
readonly type: import("vue").PropType<import("./ai-mention").AiMentionType[]>;
|
|
13
|
+
readonly default: () => string[];
|
|
14
|
+
};
|
|
15
|
+
readonly options: {
|
|
16
|
+
readonly type: import("vue").PropType<AiMentionOption[]>;
|
|
17
|
+
readonly default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
readonly triggers: {
|
|
20
|
+
readonly type: import("vue").PropType<string[]>;
|
|
21
|
+
readonly default: () => string[];
|
|
22
|
+
};
|
|
23
|
+
readonly type: {
|
|
24
|
+
readonly type: import("vue").PropType<"input" | "textarea">;
|
|
25
|
+
readonly default: "textarea";
|
|
26
|
+
};
|
|
27
|
+
readonly placeholder: StringConstructor;
|
|
28
|
+
readonly disabled: BooleanConstructor;
|
|
29
|
+
readonly size: import("vue").PropType<"large" | "default" | "small">;
|
|
30
|
+
readonly maxLength: NumberConstructor;
|
|
31
|
+
readonly rows: {
|
|
32
|
+
readonly type: NumberConstructor;
|
|
33
|
+
readonly default: 3;
|
|
34
|
+
};
|
|
35
|
+
readonly loading: BooleanConstructor;
|
|
36
|
+
readonly themeOverrides: {
|
|
37
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
38
|
+
readonly default: () => {};
|
|
39
|
+
};
|
|
40
|
+
readonly filterOption: {
|
|
41
|
+
readonly type: import("vue").PropType<((keyword: string, option: import("../../mention").MentionOption) => boolean) | false>;
|
|
42
|
+
readonly default: undefined;
|
|
43
|
+
};
|
|
44
|
+
readonly enableFileTree: {
|
|
45
|
+
readonly type: BooleanConstructor;
|
|
46
|
+
readonly default: true;
|
|
47
|
+
};
|
|
48
|
+
readonly fileLoader: {
|
|
49
|
+
readonly type: import("vue").PropType<import("./ai-mention").AiMentionFileLoader>;
|
|
50
|
+
readonly default: undefined;
|
|
51
|
+
};
|
|
52
|
+
readonly fileRoot: {
|
|
53
|
+
readonly type: StringConstructor;
|
|
54
|
+
readonly default: "/";
|
|
55
|
+
};
|
|
56
|
+
readonly fileTreeExpandedLevel: {
|
|
57
|
+
readonly type: NumberConstructor;
|
|
58
|
+
readonly default: 2;
|
|
59
|
+
};
|
|
60
|
+
readonly showFileIcon: {
|
|
61
|
+
readonly type: BooleanConstructor;
|
|
62
|
+
readonly default: true;
|
|
63
|
+
};
|
|
64
|
+
readonly showFileSize: {
|
|
65
|
+
readonly type: BooleanConstructor;
|
|
66
|
+
readonly default: true;
|
|
67
|
+
};
|
|
68
|
+
readonly showModifiedTime: {
|
|
69
|
+
readonly type: BooleanConstructor;
|
|
70
|
+
readonly default: true;
|
|
71
|
+
};
|
|
72
|
+
readonly formatFileSize: {
|
|
73
|
+
readonly type: import("vue").PropType<(size: number) => string>;
|
|
74
|
+
readonly default: (size: number) => string;
|
|
75
|
+
};
|
|
76
|
+
readonly searchDebounce: {
|
|
77
|
+
readonly type: NumberConstructor;
|
|
78
|
+
readonly default: 300;
|
|
79
|
+
};
|
|
80
|
+
}>, {
|
|
81
|
+
focus: () => void;
|
|
82
|
+
blur: () => void;
|
|
83
|
+
clear: () => void;
|
|
84
|
+
getRef: () => HTMLTextAreaElement | HTMLInputElement | undefined | null;
|
|
85
|
+
insertMention: (option: AiMentionOption, trigger?: string) => void;
|
|
86
|
+
refreshFileTree: () => void;
|
|
87
|
+
toggleFolder: (key: string) => void;
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
89
|
+
readonly disabled: boolean;
|
|
90
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
91
|
+
readonly type: "textarea" | "input";
|
|
92
|
+
readonly loading: boolean;
|
|
93
|
+
readonly triggers: string[];
|
|
94
|
+
readonly options: AiMentionOption[];
|
|
95
|
+
readonly formatFileSize: (size: number) => string;
|
|
96
|
+
readonly modelValue: string;
|
|
97
|
+
readonly filterOption: false | ((keyword: string, option: import("../../mention").MentionOption) => boolean);
|
|
98
|
+
readonly rows: number;
|
|
99
|
+
readonly types: ("document" | "table" | "file" | "agent" | "knowledge")[];
|
|
100
|
+
readonly enableFileTree: boolean;
|
|
101
|
+
readonly fileLoader: import("./ai-mention").AiMentionFileLoader;
|
|
102
|
+
readonly fileRoot: string;
|
|
103
|
+
readonly fileTreeExpandedLevel: number;
|
|
104
|
+
readonly showFileIcon: boolean;
|
|
105
|
+
readonly showFileSize: boolean;
|
|
106
|
+
readonly showModifiedTime: boolean;
|
|
107
|
+
readonly searchDebounce: number;
|
|
108
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
109
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
110
|
+
export default _default;
|
|
111
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
112
|
+
new (): {
|
|
113
|
+
$slots: S;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type AiMentionOption
|
|
2
|
-
declare var __VLS_22:
|
|
1
|
+
import { type AiMentionOption } from './ai-mention';
|
|
2
|
+
declare var __VLS_22: any, __VLS_23: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_22>]?: (props: typeof __VLS_23) => any;
|
|
5
5
|
};
|
|
@@ -38,7 +38,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
38
38
|
readonly default: () => {};
|
|
39
39
|
};
|
|
40
40
|
readonly filterOption: {
|
|
41
|
-
readonly type: import("vue").PropType<((keyword: string, option: import("
|
|
41
|
+
readonly type: import("vue").PropType<((keyword: string, option: import("../../mention").MentionOption) => boolean) | false>;
|
|
42
42
|
readonly default: undefined;
|
|
43
43
|
};
|
|
44
44
|
readonly enableFileTree: {
|
|
@@ -85,113 +85,18 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
85
85
|
insertMention: (option: AiMentionOption, trigger?: string) => void;
|
|
86
86
|
refreshFileTree: () => void;
|
|
87
87
|
toggleFolder: (key: string) => void;
|
|
88
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
-
input: (value: string) => void;
|
|
90
|
-
search: (keyword: string, trigger: string) => void;
|
|
91
|
-
select: (option: AiMentionOption, trigger: string) => void;
|
|
92
|
-
focus: (event: FocusEvent) => void;
|
|
93
|
-
change: (value: string) => void;
|
|
94
|
-
blur: (event: FocusEvent) => void;
|
|
95
|
-
keydown: (event: KeyboardEvent) => void;
|
|
96
|
-
"update:modelValue": (value: string) => void;
|
|
97
|
-
"file-load": (_type: "table" | "document" | "knowledge" | "file", _nodes: AiMentionFileNode[]) => void;
|
|
98
|
-
"file-select": (node: AiMentionFileNode, option: AiMentionOption) => void;
|
|
99
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
|
-
readonly modelValue: {
|
|
101
|
-
readonly type: StringConstructor;
|
|
102
|
-
readonly default: "";
|
|
103
|
-
};
|
|
104
|
-
readonly types: {
|
|
105
|
-
readonly type: import("vue").PropType<import("./ai-mention").AiMentionType[]>;
|
|
106
|
-
readonly default: () => string[];
|
|
107
|
-
};
|
|
108
|
-
readonly options: {
|
|
109
|
-
readonly type: import("vue").PropType<AiMentionOption[]>;
|
|
110
|
-
readonly default: () => never[];
|
|
111
|
-
};
|
|
112
|
-
readonly triggers: {
|
|
113
|
-
readonly type: import("vue").PropType<string[]>;
|
|
114
|
-
readonly default: () => string[];
|
|
115
|
-
};
|
|
116
|
-
readonly type: {
|
|
117
|
-
readonly type: import("vue").PropType<"input" | "textarea">;
|
|
118
|
-
readonly default: "textarea";
|
|
119
|
-
};
|
|
120
|
-
readonly placeholder: StringConstructor;
|
|
121
|
-
readonly disabled: BooleanConstructor;
|
|
122
|
-
readonly size: import("vue").PropType<"large" | "default" | "small">;
|
|
123
|
-
readonly maxLength: NumberConstructor;
|
|
124
|
-
readonly rows: {
|
|
125
|
-
readonly type: NumberConstructor;
|
|
126
|
-
readonly default: 3;
|
|
127
|
-
};
|
|
128
|
-
readonly loading: BooleanConstructor;
|
|
129
|
-
readonly themeOverrides: {
|
|
130
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
131
|
-
readonly default: () => {};
|
|
132
|
-
};
|
|
133
|
-
readonly filterOption: {
|
|
134
|
-
readonly type: import("vue").PropType<((keyword: string, option: import("../..").MentionOption) => boolean) | false>;
|
|
135
|
-
readonly default: undefined;
|
|
136
|
-
};
|
|
137
|
-
readonly enableFileTree: {
|
|
138
|
-
readonly type: BooleanConstructor;
|
|
139
|
-
readonly default: true;
|
|
140
|
-
};
|
|
141
|
-
readonly fileLoader: {
|
|
142
|
-
readonly type: import("vue").PropType<import("./ai-mention").AiMentionFileLoader>;
|
|
143
|
-
readonly default: undefined;
|
|
144
|
-
};
|
|
145
|
-
readonly fileRoot: {
|
|
146
|
-
readonly type: StringConstructor;
|
|
147
|
-
readonly default: "/";
|
|
148
|
-
};
|
|
149
|
-
readonly fileTreeExpandedLevel: {
|
|
150
|
-
readonly type: NumberConstructor;
|
|
151
|
-
readonly default: 2;
|
|
152
|
-
};
|
|
153
|
-
readonly showFileIcon: {
|
|
154
|
-
readonly type: BooleanConstructor;
|
|
155
|
-
readonly default: true;
|
|
156
|
-
};
|
|
157
|
-
readonly showFileSize: {
|
|
158
|
-
readonly type: BooleanConstructor;
|
|
159
|
-
readonly default: true;
|
|
160
|
-
};
|
|
161
|
-
readonly showModifiedTime: {
|
|
162
|
-
readonly type: BooleanConstructor;
|
|
163
|
-
readonly default: true;
|
|
164
|
-
};
|
|
165
|
-
readonly formatFileSize: {
|
|
166
|
-
readonly type: import("vue").PropType<(size: number) => string>;
|
|
167
|
-
readonly default: (size: number) => string;
|
|
168
|
-
};
|
|
169
|
-
readonly searchDebounce: {
|
|
170
|
-
readonly type: NumberConstructor;
|
|
171
|
-
readonly default: 300;
|
|
172
|
-
};
|
|
173
|
-
}>> & Readonly<{
|
|
174
|
-
onInput?: ((value: string) => any) | undefined;
|
|
175
|
-
onSearch?: ((keyword: string, trigger: string) => any) | undefined;
|
|
176
|
-
onSelect?: ((option: AiMentionOption, trigger: string) => any) | undefined;
|
|
177
|
-
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
178
|
-
onChange?: ((value: string) => any) | undefined;
|
|
179
|
-
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
180
|
-
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
181
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
182
|
-
"onFile-load"?: ((_type: "table" | "document" | "knowledge" | "file", _nodes: AiMentionFileNode[]) => any) | undefined;
|
|
183
|
-
"onFile-select"?: ((node: AiMentionFileNode, option: AiMentionOption) => any) | undefined;
|
|
184
|
-
}>, {
|
|
185
|
-
readonly loading: boolean;
|
|
186
|
-
readonly type: "input" | "textarea";
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
187
89
|
readonly disabled: boolean;
|
|
188
90
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
91
|
+
readonly type: "textarea" | "input";
|
|
92
|
+
readonly loading: boolean;
|
|
93
|
+
readonly triggers: string[];
|
|
94
|
+
readonly options: AiMentionOption[];
|
|
95
|
+
readonly formatFileSize: (size: number) => string;
|
|
189
96
|
readonly modelValue: string;
|
|
97
|
+
readonly filterOption: false | ((keyword: string, option: import("../../mention").MentionOption) => boolean);
|
|
190
98
|
readonly rows: number;
|
|
191
|
-
readonly
|
|
192
|
-
readonly triggers: string[];
|
|
193
|
-
readonly filterOption: false | ((keyword: string, option: import("../..").MentionOption) => boolean);
|
|
194
|
-
readonly types: ("table" | "agent" | "document" | "knowledge" | "file")[];
|
|
99
|
+
readonly types: ("document" | "table" | "file" | "agent" | "knowledge")[];
|
|
195
100
|
readonly enableFileTree: boolean;
|
|
196
101
|
readonly fileLoader: import("./ai-mention").AiMentionFileLoader;
|
|
197
102
|
readonly fileRoot: string;
|
|
@@ -199,7 +104,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
199
104
|
readonly showFileIcon: boolean;
|
|
200
105
|
readonly showFileSize: boolean;
|
|
201
106
|
readonly showModifiedTime: boolean;
|
|
202
|
-
readonly formatFileSize: (size: number) => string;
|
|
203
107
|
readonly searchDebounce: number;
|
|
204
108
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
205
109
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|