@yh-ui/components 1.0.30 → 1.0.37
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 +6 -55
- 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 +4 -29
- 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.ts +1 -1
- 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 +12 -123
- 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 +8 -69
- 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 +8 -69
- 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.ts +1 -1
- 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 +7 -114
- 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 +6 -27
- 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 +16 -107
- package/dist/cascader/index.d.ts +108 -459
- 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 +22 -77
- 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 +16 -121
- package/dist/coupon-card/index.d.ts +1 -340
- package/dist/coupon-card/src/coupon-card.d.ts +2 -2
- package/dist/coupon-card/src/coupon-card.d.vue.ts +121 -0
- package/dist/coupon-card/src/coupon-card.vue.d.ts +15 -100
- 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 +31 -31
- package/dist/date-picker/src/date-table.d.vue.ts +37 -0
- package/dist/date-picker/src/date-table.vue.d.ts +6 -16
- package/dist/date-picker/src/month-table.d.vue.ts +19 -0
- package/dist/date-picker/src/month-table.vue.d.ts +5 -14
- package/dist/date-picker/src/quarter-table.d.vue.ts +19 -0
- package/dist/date-picker/src/quarter-table.vue.d.ts +5 -14
- package/dist/date-picker/src/year-table.d.vue.ts +19 -0
- package/dist/date-picker/src/year-table.vue.d.ts +5 -14
- package/dist/dayjs-plugins.cjs +43 -18
- package/dist/dayjs-plugins.d.ts +7 -7
- package/dist/dayjs-plugins.mjs +14 -15
- package/dist/dayjs.cjs +3 -5
- package/dist/dayjs.d.ts +1 -2
- package/dist/dayjs.mjs +1 -2
- 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 +5 -5
- 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 +4 -4
- 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 +2 -2
- 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 +15 -132
- 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 +18 -63
- 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 +15 -15
- package/dist/icon/src/icon.d.vue.ts +87 -0
- package/dist/icon/src/icon.vue.d.ts +5 -5
- package/dist/image/index.d.ts +31 -82
- 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 +10 -10
- package/dist/image-magnifier/index.d.ts +1 -462
- package/dist/image-magnifier/src/image-magnifier.d.ts +2 -2
- package/dist/image-magnifier/src/image-magnifier.d.vue.ts +154 -0
- package/dist/image-magnifier/src/image-magnifier.vue.d.ts +13 -130
- 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 +6 -71
- package/dist/input/index.d.ts +70 -511
- package/dist/input/src/input.d.vue.ts +76 -0
- package/dist/input/src/input.vue.d.ts +28 -87
- package/dist/input-number/index.d.ts +45 -300
- package/dist/input-number/src/input-number.d.vue.ts +50 -0
- package/dist/input-number/src/input-number.vue.d.ts +17 -60
- 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 +31 -86
- 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.ts +1 -1
- package/dist/lucky-draw/src/lucky-draw.d.vue.ts +74 -0
- package/dist/lucky-draw/src/lucky-draw.vue.d.ts +6 -55
- 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 +36 -101
- 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-item.vue.d.ts +1 -1
- 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 +14 -177
- package/dist/menu/src/sub-menu.d.vue.ts +87 -0
- package/dist/menu/src/sub-menu.vue.d.ts +1 -1
- 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 +7 -44
- 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 +29 -29
- package/dist/pagination/src/pagination.d.vue.ts +149 -0
- package/dist/pagination/src/pagination.vue.d.ts +12 -12
- 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 +13 -122
- 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 +11 -109
- package/dist/price/index.d.ts +1 -363
- package/dist/price/src/price.d.ts +3 -3
- package/dist/price/src/price.d.vue.ts +223 -0
- package/dist/price/src/price.vue.d.ts +12 -12
- package/dist/product-card/index.d.ts +1 -557
- package/dist/product-card/src/product-card.d.ts +3 -3
- package/dist/product-card/src/product-card.d.vue.ts +188 -0
- package/dist/product-card/src/product-card.vue.d.ts +15 -160
- 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 +8 -8
- 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 +10 -89
- 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 +4 -46
- package/dist/scrollbar/src/thumb.d.vue.ts +16 -0
- package/dist/scrollbar/src/thumb.vue.d.ts +4 -31
- package/dist/select/index.d.ts +74 -464
- 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 +28 -95
- 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 +2 -2
- 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 +4 -4
- 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 +12 -71
- 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 +14 -53
- 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 +22 -67
- package/dist/tooltip/index.d.ts +15 -463
- package/dist/tooltip/src/tooltip.d.vue.ts +167 -0
- package/dist/tooltip/src/tooltip.vue.d.ts +13 -138
- 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 +5 -30
- 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 +2 -39
- 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 +2 -37
- 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
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { type ArtifactEChartsOption } from './ai-artifacts';
|
|
2
|
+
import 'highlight.js/styles/atom-one-dark.css';
|
|
3
|
+
declare var __VLS_33: {
|
|
4
|
+
data: any;
|
|
5
|
+
title: any;
|
|
6
|
+
}, __VLS_39: {
|
|
7
|
+
data: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_Slots = {} & {
|
|
10
|
+
chart?: (props: typeof __VLS_33) => any;
|
|
11
|
+
} & {
|
|
12
|
+
canvas?: (props: typeof __VLS_39) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
+
visible: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
data: {
|
|
20
|
+
type: import("vue").PropType<import("./ai-artifacts").ArtifactData>;
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
type: import("vue").PropType<string | number>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
fullscreen: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
mode: {
|
|
31
|
+
type: import("vue").PropType<"preview" | "code" | "inline">;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
themeOverrides: {
|
|
35
|
+
type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
echartsOption: {
|
|
39
|
+
type: import("vue").PropType<ArtifactEChartsOption>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
autoLoadECharts: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
echartsTheme: {
|
|
47
|
+
type: import("vue").PropType<"light" | "dark" | "default">;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
echartsDataZoom: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
echartsToolbox: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
chartHeight: {
|
|
59
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
60
|
+
default: number;
|
|
61
|
+
};
|
|
62
|
+
responsiveWidth: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
chartLoadingText: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
71
|
+
themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
72
|
+
width: string | number;
|
|
73
|
+
visible: boolean;
|
|
74
|
+
fullscreen: boolean;
|
|
75
|
+
mode: "inline" | "code" | "preview";
|
|
76
|
+
echartsOption: ArtifactEChartsOption;
|
|
77
|
+
autoLoadECharts: boolean;
|
|
78
|
+
echartsTheme: "default" | "dark" | "light";
|
|
79
|
+
echartsDataZoom: boolean;
|
|
80
|
+
echartsToolbox: boolean;
|
|
81
|
+
chartHeight: string | number;
|
|
82
|
+
responsiveWidth: boolean;
|
|
83
|
+
chartLoadingText: string;
|
|
84
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
85
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
86
|
+
export default _default;
|
|
87
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
88
|
+
new (): {
|
|
89
|
+
$slots: S;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type ArtifactEChartsOption } from './ai-artifacts';
|
|
2
2
|
import 'highlight.js/styles/atom-one-dark.css';
|
|
3
3
|
declare var __VLS_33: {
|
|
4
|
-
data:
|
|
5
|
-
title:
|
|
4
|
+
data: any;
|
|
5
|
+
title: any;
|
|
6
6
|
}, __VLS_39: {
|
|
7
|
-
data:
|
|
7
|
+
data: any;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
10
10
|
chart?: (props: typeof __VLS_33) => any;
|
|
@@ -56,7 +56,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
56
56
|
default: boolean;
|
|
57
57
|
};
|
|
58
58
|
chartHeight: {
|
|
59
|
-
type: (
|
|
59
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
60
60
|
default: number;
|
|
61
61
|
};
|
|
62
62
|
responsiveWidth: {
|
|
@@ -67,84 +67,12 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
67
67
|
type: StringConstructor;
|
|
68
68
|
default: string;
|
|
69
69
|
};
|
|
70
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
71
|
-
close: () => void;
|
|
72
|
-
"update:visible": (_val: boolean) => void;
|
|
73
|
-
"update:mode": (_val: "code" | "preview" | "inline") => void;
|
|
74
|
-
"version-change": (_version: ArtifactVersion) => void;
|
|
75
|
-
"chart-click": (_params: unknown) => void;
|
|
76
|
-
"chart-ready": (_chart: unknown) => void;
|
|
77
|
-
"chart-error": (_error: Error) => void;
|
|
78
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
-
visible: {
|
|
80
|
-
type: BooleanConstructor;
|
|
81
|
-
default: boolean;
|
|
82
|
-
};
|
|
83
|
-
data: {
|
|
84
|
-
type: import("vue").PropType<import("./ai-artifacts").ArtifactData>;
|
|
85
|
-
};
|
|
86
|
-
width: {
|
|
87
|
-
type: import("vue").PropType<string | number>;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
fullscreen: {
|
|
91
|
-
type: BooleanConstructor;
|
|
92
|
-
default: boolean;
|
|
93
|
-
};
|
|
94
|
-
mode: {
|
|
95
|
-
type: import("vue").PropType<"preview" | "code" | "inline">;
|
|
96
|
-
default: string;
|
|
97
|
-
};
|
|
98
|
-
themeOverrides: {
|
|
99
|
-
type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
100
|
-
default: undefined;
|
|
101
|
-
};
|
|
102
|
-
echartsOption: {
|
|
103
|
-
type: import("vue").PropType<ArtifactEChartsOption>;
|
|
104
|
-
default: undefined;
|
|
105
|
-
};
|
|
106
|
-
autoLoadECharts: {
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
default: boolean;
|
|
109
|
-
};
|
|
110
|
-
echartsTheme: {
|
|
111
|
-
type: import("vue").PropType<"light" | "dark" | "default">;
|
|
112
|
-
default: string;
|
|
113
|
-
};
|
|
114
|
-
echartsDataZoom: {
|
|
115
|
-
type: BooleanConstructor;
|
|
116
|
-
default: boolean;
|
|
117
|
-
};
|
|
118
|
-
echartsToolbox: {
|
|
119
|
-
type: BooleanConstructor;
|
|
120
|
-
default: boolean;
|
|
121
|
-
};
|
|
122
|
-
chartHeight: {
|
|
123
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
124
|
-
default: number;
|
|
125
|
-
};
|
|
126
|
-
responsiveWidth: {
|
|
127
|
-
type: BooleanConstructor;
|
|
128
|
-
default: boolean;
|
|
129
|
-
};
|
|
130
|
-
chartLoadingText: {
|
|
131
|
-
type: StringConstructor;
|
|
132
|
-
default: string;
|
|
133
|
-
};
|
|
134
|
-
}>> & Readonly<{
|
|
135
|
-
onClose?: (() => any) | undefined;
|
|
136
|
-
"onUpdate:visible"?: ((_val: boolean) => any) | undefined;
|
|
137
|
-
"onUpdate:mode"?: ((_val: "code" | "preview" | "inline") => any) | undefined;
|
|
138
|
-
"onVersion-change"?: ((_version: ArtifactVersion) => any) | undefined;
|
|
139
|
-
"onChart-click"?: ((_params: unknown) => any) | undefined;
|
|
140
|
-
"onChart-ready"?: ((_chart: unknown) => any) | undefined;
|
|
141
|
-
"onChart-error"?: ((_error: Error) => any) | undefined;
|
|
142
|
-
}>, {
|
|
143
|
-
mode: "code" | "preview" | "inline";
|
|
144
|
-
fullscreen: boolean;
|
|
70
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
145
71
|
themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
146
72
|
width: string | number;
|
|
147
73
|
visible: boolean;
|
|
74
|
+
fullscreen: boolean;
|
|
75
|
+
mode: "inline" | "code" | "preview";
|
|
148
76
|
echartsOption: ArtifactEChartsOption;
|
|
149
77
|
autoLoadECharts: boolean;
|
|
150
78
|
echartsTheme: "default" | "dark" | "light";
|
|
@@ -1,361 +1,5 @@
|
|
|
1
1
|
import AiAttachments from './src/ai-attachments.vue';
|
|
2
|
-
export declare const YhAiAttachments:
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
readonly items: {
|
|
5
|
-
readonly type: import("vue").PropType<import("./index.js").AttachmentItem[]>;
|
|
6
|
-
readonly default: () => never[];
|
|
7
|
-
};
|
|
8
|
-
readonly overflow: {
|
|
9
|
-
readonly type: import("vue").PropType<import("./index.js").OverflowMode>;
|
|
10
|
-
readonly default: "scrollX";
|
|
11
|
-
};
|
|
12
|
-
readonly listStyle: {
|
|
13
|
-
readonly type: import("vue").PropType<Record<string, string>>;
|
|
14
|
-
readonly default: () => {};
|
|
15
|
-
};
|
|
16
|
-
readonly scrollMaxHeight: {
|
|
17
|
-
readonly type: StringConstructor;
|
|
18
|
-
readonly default: undefined;
|
|
19
|
-
};
|
|
20
|
-
readonly uploadIconSize: {
|
|
21
|
-
readonly type: StringConstructor;
|
|
22
|
-
readonly default: "24px";
|
|
23
|
-
};
|
|
24
|
-
readonly dragTarget: {
|
|
25
|
-
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
26
|
-
readonly default: null;
|
|
27
|
-
};
|
|
28
|
-
readonly hideUpload: {
|
|
29
|
-
readonly type: BooleanConstructor;
|
|
30
|
-
readonly default: false;
|
|
31
|
-
};
|
|
32
|
-
readonly limit: {
|
|
33
|
-
readonly type: NumberConstructor;
|
|
34
|
-
readonly default: undefined;
|
|
35
|
-
};
|
|
36
|
-
readonly beforeUpload: {
|
|
37
|
-
readonly type: import("vue").PropType<(file: File) => boolean | Promise<boolean>>;
|
|
38
|
-
readonly default: undefined;
|
|
39
|
-
};
|
|
40
|
-
readonly httpRequest: {
|
|
41
|
-
readonly type: import("vue").PropType<(options: {
|
|
42
|
-
file: File;
|
|
43
|
-
}) => Promise<void>>;
|
|
44
|
-
readonly default: undefined;
|
|
45
|
-
};
|
|
46
|
-
readonly disabled: {
|
|
47
|
-
readonly type: BooleanConstructor;
|
|
48
|
-
readonly default: false;
|
|
49
|
-
};
|
|
50
|
-
readonly maxCount: {
|
|
51
|
-
readonly type: NumberConstructor;
|
|
52
|
-
readonly default: undefined;
|
|
53
|
-
};
|
|
54
|
-
readonly getDropContainer: {
|
|
55
|
-
readonly type: import("vue").PropType<() => HTMLElement>;
|
|
56
|
-
readonly default: undefined;
|
|
57
|
-
};
|
|
58
|
-
readonly placeholder: {
|
|
59
|
-
readonly type: import("vue").PropType<import("./index.js").PlaceholderType | ((type: "inline" | "drop") => import("./index.js").PlaceholderType) | string>;
|
|
60
|
-
readonly default: () => {
|
|
61
|
-
icon: string;
|
|
62
|
-
title: string;
|
|
63
|
-
description: string;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
readonly themeOverrides: {
|
|
67
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
68
|
-
readonly default: undefined;
|
|
69
|
-
};
|
|
70
|
-
}>> & Readonly<{
|
|
71
|
-
onExceed?: ((_options: {
|
|
72
|
-
files: File[];
|
|
73
|
-
maxCount: number;
|
|
74
|
-
}) => any) | undefined;
|
|
75
|
-
"onUpdate:items"?: ((_items: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
76
|
-
"onUpload-change"?: ((_file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
77
|
-
"onUpload-success"?: ((_response: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
78
|
-
"onUpload-error"?: ((_error: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
79
|
-
"onUpload-drop"?: ((_files: File[]) => any) | undefined;
|
|
80
|
-
"onDelete-card"?: ((_item: import("./index.js").AttachmentItem, _index: number) => any) | undefined;
|
|
81
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
82
|
-
exceed: (_options: {
|
|
83
|
-
files: File[];
|
|
84
|
-
maxCount: number;
|
|
85
|
-
}) => void;
|
|
86
|
-
"update:items": (_items: import("./index.js").AttachmentItem[]) => void;
|
|
87
|
-
"upload-change": (_file: File, _fileList: import("./index.js").AttachmentItem[]) => void;
|
|
88
|
-
"upload-success": (_response: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => void;
|
|
89
|
-
"upload-error": (_error: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => void;
|
|
90
|
-
"upload-drop": (_files: File[]) => void;
|
|
91
|
-
"delete-card": (_item: import("./index.js").AttachmentItem, _index: number) => void;
|
|
92
|
-
}, import("vue").PublicProps, {
|
|
93
|
-
readonly overflow: import("./index.js").OverflowMode;
|
|
94
|
-
readonly placeholder: string | import("./index.js").PlaceholderType | ((type: "inline" | "drop") => import("./index.js").PlaceholderType);
|
|
95
|
-
readonly limit: number;
|
|
96
|
-
readonly disabled: boolean;
|
|
97
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
98
|
-
readonly listStyle: Record<string, string>;
|
|
99
|
-
readonly items: import("./index.js").AttachmentItem[];
|
|
100
|
-
readonly httpRequest: (options: {
|
|
101
|
-
file: File;
|
|
102
|
-
}) => Promise<void>;
|
|
103
|
-
readonly beforeUpload: (file: File) => boolean | Promise<boolean>;
|
|
104
|
-
readonly maxCount: number;
|
|
105
|
-
readonly scrollMaxHeight: string;
|
|
106
|
-
readonly uploadIconSize: string;
|
|
107
|
-
readonly dragTarget: string | HTMLElement;
|
|
108
|
-
readonly hideUpload: boolean;
|
|
109
|
-
readonly getDropContainer: () => HTMLElement;
|
|
110
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
111
|
-
P: {};
|
|
112
|
-
B: {};
|
|
113
|
-
D: {};
|
|
114
|
-
C: {};
|
|
115
|
-
M: {};
|
|
116
|
-
Defaults: {};
|
|
117
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
118
|
-
readonly items: {
|
|
119
|
-
readonly type: import("vue").PropType<import("./index.js").AttachmentItem[]>;
|
|
120
|
-
readonly default: () => never[];
|
|
121
|
-
};
|
|
122
|
-
readonly overflow: {
|
|
123
|
-
readonly type: import("vue").PropType<import("./index.js").OverflowMode>;
|
|
124
|
-
readonly default: "scrollX";
|
|
125
|
-
};
|
|
126
|
-
readonly listStyle: {
|
|
127
|
-
readonly type: import("vue").PropType<Record<string, string>>;
|
|
128
|
-
readonly default: () => {};
|
|
129
|
-
};
|
|
130
|
-
readonly scrollMaxHeight: {
|
|
131
|
-
readonly type: StringConstructor;
|
|
132
|
-
readonly default: undefined;
|
|
133
|
-
};
|
|
134
|
-
readonly uploadIconSize: {
|
|
135
|
-
readonly type: StringConstructor;
|
|
136
|
-
readonly default: "24px";
|
|
137
|
-
};
|
|
138
|
-
readonly dragTarget: {
|
|
139
|
-
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
140
|
-
readonly default: null;
|
|
141
|
-
};
|
|
142
|
-
readonly hideUpload: {
|
|
143
|
-
readonly type: BooleanConstructor;
|
|
144
|
-
readonly default: false;
|
|
145
|
-
};
|
|
146
|
-
readonly limit: {
|
|
147
|
-
readonly type: NumberConstructor;
|
|
148
|
-
readonly default: undefined;
|
|
149
|
-
};
|
|
150
|
-
readonly beforeUpload: {
|
|
151
|
-
readonly type: import("vue").PropType<(file: File) => boolean | Promise<boolean>>;
|
|
152
|
-
readonly default: undefined;
|
|
153
|
-
};
|
|
154
|
-
readonly httpRequest: {
|
|
155
|
-
readonly type: import("vue").PropType<(options: {
|
|
156
|
-
file: File;
|
|
157
|
-
}) => Promise<void>>;
|
|
158
|
-
readonly default: undefined;
|
|
159
|
-
};
|
|
160
|
-
readonly disabled: {
|
|
161
|
-
readonly type: BooleanConstructor;
|
|
162
|
-
readonly default: false;
|
|
163
|
-
};
|
|
164
|
-
readonly maxCount: {
|
|
165
|
-
readonly type: NumberConstructor;
|
|
166
|
-
readonly default: undefined;
|
|
167
|
-
};
|
|
168
|
-
readonly getDropContainer: {
|
|
169
|
-
readonly type: import("vue").PropType<() => HTMLElement>;
|
|
170
|
-
readonly default: undefined;
|
|
171
|
-
};
|
|
172
|
-
readonly placeholder: {
|
|
173
|
-
readonly type: import("vue").PropType<import("./index.js").PlaceholderType | ((type: "inline" | "drop") => import("./index.js").PlaceholderType) | string>;
|
|
174
|
-
readonly default: () => {
|
|
175
|
-
icon: string;
|
|
176
|
-
title: string;
|
|
177
|
-
description: string;
|
|
178
|
-
};
|
|
179
|
-
};
|
|
180
|
-
readonly themeOverrides: {
|
|
181
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
182
|
-
readonly default: undefined;
|
|
183
|
-
};
|
|
184
|
-
}>> & Readonly<{
|
|
185
|
-
onExceed?: ((_options: {
|
|
186
|
-
files: File[];
|
|
187
|
-
maxCount: number;
|
|
188
|
-
}) => any) | undefined;
|
|
189
|
-
"onUpdate:items"?: ((_items: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
190
|
-
"onUpload-change"?: ((_file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
191
|
-
"onUpload-success"?: ((_response: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
192
|
-
"onUpload-error"?: ((_error: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
193
|
-
"onUpload-drop"?: ((_files: File[]) => any) | undefined;
|
|
194
|
-
"onDelete-card"?: ((_item: import("./index.js").AttachmentItem, _index: number) => any) | undefined;
|
|
195
|
-
}>, {}, {}, {}, {}, {
|
|
196
|
-
readonly overflow: import("./index.js").OverflowMode;
|
|
197
|
-
readonly placeholder: string | import("./index.js").PlaceholderType | ((type: "inline" | "drop") => import("./index.js").PlaceholderType);
|
|
198
|
-
readonly limit: number;
|
|
199
|
-
readonly disabled: boolean;
|
|
200
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
201
|
-
readonly listStyle: Record<string, string>;
|
|
202
|
-
readonly items: import("./index.js").AttachmentItem[];
|
|
203
|
-
readonly httpRequest: (options: {
|
|
204
|
-
file: File;
|
|
205
|
-
}) => Promise<void>;
|
|
206
|
-
readonly beforeUpload: (file: File) => boolean | Promise<boolean>;
|
|
207
|
-
readonly maxCount: number;
|
|
208
|
-
readonly scrollMaxHeight: string;
|
|
209
|
-
readonly uploadIconSize: string;
|
|
210
|
-
readonly dragTarget: string | HTMLElement;
|
|
211
|
-
readonly hideUpload: boolean;
|
|
212
|
-
readonly getDropContainer: () => HTMLElement;
|
|
213
|
-
}>;
|
|
214
|
-
__isFragment?: never;
|
|
215
|
-
__isTeleport?: never;
|
|
216
|
-
__isSuspense?: never;
|
|
217
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
218
|
-
readonly items: {
|
|
219
|
-
readonly type: import("vue").PropType<import("./index.js").AttachmentItem[]>;
|
|
220
|
-
readonly default: () => never[];
|
|
221
|
-
};
|
|
222
|
-
readonly overflow: {
|
|
223
|
-
readonly type: import("vue").PropType<import("./index.js").OverflowMode>;
|
|
224
|
-
readonly default: "scrollX";
|
|
225
|
-
};
|
|
226
|
-
readonly listStyle: {
|
|
227
|
-
readonly type: import("vue").PropType<Record<string, string>>;
|
|
228
|
-
readonly default: () => {};
|
|
229
|
-
};
|
|
230
|
-
readonly scrollMaxHeight: {
|
|
231
|
-
readonly type: StringConstructor;
|
|
232
|
-
readonly default: undefined;
|
|
233
|
-
};
|
|
234
|
-
readonly uploadIconSize: {
|
|
235
|
-
readonly type: StringConstructor;
|
|
236
|
-
readonly default: "24px";
|
|
237
|
-
};
|
|
238
|
-
readonly dragTarget: {
|
|
239
|
-
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
240
|
-
readonly default: null;
|
|
241
|
-
};
|
|
242
|
-
readonly hideUpload: {
|
|
243
|
-
readonly type: BooleanConstructor;
|
|
244
|
-
readonly default: false;
|
|
245
|
-
};
|
|
246
|
-
readonly limit: {
|
|
247
|
-
readonly type: NumberConstructor;
|
|
248
|
-
readonly default: undefined;
|
|
249
|
-
};
|
|
250
|
-
readonly beforeUpload: {
|
|
251
|
-
readonly type: import("vue").PropType<(file: File) => boolean | Promise<boolean>>;
|
|
252
|
-
readonly default: undefined;
|
|
253
|
-
};
|
|
254
|
-
readonly httpRequest: {
|
|
255
|
-
readonly type: import("vue").PropType<(options: {
|
|
256
|
-
file: File;
|
|
257
|
-
}) => Promise<void>>;
|
|
258
|
-
readonly default: undefined;
|
|
259
|
-
};
|
|
260
|
-
readonly disabled: {
|
|
261
|
-
readonly type: BooleanConstructor;
|
|
262
|
-
readonly default: false;
|
|
263
|
-
};
|
|
264
|
-
readonly maxCount: {
|
|
265
|
-
readonly type: NumberConstructor;
|
|
266
|
-
readonly default: undefined;
|
|
267
|
-
};
|
|
268
|
-
readonly getDropContainer: {
|
|
269
|
-
readonly type: import("vue").PropType<() => HTMLElement>;
|
|
270
|
-
readonly default: undefined;
|
|
271
|
-
};
|
|
272
|
-
readonly placeholder: {
|
|
273
|
-
readonly type: import("vue").PropType<import("./index.js").PlaceholderType | ((type: "inline" | "drop") => import("./index.js").PlaceholderType) | string>;
|
|
274
|
-
readonly default: () => {
|
|
275
|
-
icon: string;
|
|
276
|
-
title: string;
|
|
277
|
-
description: string;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
readonly themeOverrides: {
|
|
281
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
282
|
-
readonly default: undefined;
|
|
283
|
-
};
|
|
284
|
-
}>> & Readonly<{
|
|
285
|
-
onExceed?: ((_options: {
|
|
286
|
-
files: File[];
|
|
287
|
-
maxCount: number;
|
|
288
|
-
}) => any) | undefined;
|
|
289
|
-
"onUpdate:items"?: ((_items: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
290
|
-
"onUpload-change"?: ((_file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
291
|
-
"onUpload-success"?: ((_response: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
292
|
-
"onUpload-error"?: ((_error: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => any) | undefined;
|
|
293
|
-
"onUpload-drop"?: ((_files: File[]) => any) | undefined;
|
|
294
|
-
"onDelete-card"?: ((_item: import("./index.js").AttachmentItem, _index: number) => any) | undefined;
|
|
295
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
296
|
-
exceed: (_options: {
|
|
297
|
-
files: File[];
|
|
298
|
-
maxCount: number;
|
|
299
|
-
}) => void;
|
|
300
|
-
"update:items": (_items: import("./index.js").AttachmentItem[]) => void;
|
|
301
|
-
"upload-change": (_file: File, _fileList: import("./index.js").AttachmentItem[]) => void;
|
|
302
|
-
"upload-success": (_response: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => void;
|
|
303
|
-
"upload-error": (_error: unknown, _file: File, _fileList: import("./index.js").AttachmentItem[]) => void;
|
|
304
|
-
"upload-drop": (_files: File[]) => void;
|
|
305
|
-
"delete-card": (_item: import("./index.js").AttachmentItem, _index: number) => void;
|
|
306
|
-
}, string, {
|
|
307
|
-
readonly overflow: import("./index.js").OverflowMode;
|
|
308
|
-
readonly placeholder: string | import("./index.js").PlaceholderType | ((type: "inline" | "drop") => import("./index.js").PlaceholderType);
|
|
309
|
-
readonly limit: number;
|
|
310
|
-
readonly disabled: boolean;
|
|
311
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
312
|
-
readonly listStyle: Record<string, string>;
|
|
313
|
-
readonly items: import("./index.js").AttachmentItem[];
|
|
314
|
-
readonly httpRequest: (options: {
|
|
315
|
-
file: File;
|
|
316
|
-
}) => Promise<void>;
|
|
317
|
-
readonly beforeUpload: (file: File) => boolean | Promise<boolean>;
|
|
318
|
-
readonly maxCount: number;
|
|
319
|
-
readonly scrollMaxHeight: string;
|
|
320
|
-
readonly uploadIconSize: string;
|
|
321
|
-
readonly dragTarget: string | HTMLElement;
|
|
322
|
-
readonly hideUpload: boolean;
|
|
323
|
-
readonly getDropContainer: () => HTMLElement;
|
|
324
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
325
|
-
$slots: {
|
|
326
|
-
'file-item'?: (props: {
|
|
327
|
-
item: {
|
|
328
|
-
status?: "uploading" | "done" | "error" | "removed" | undefined;
|
|
329
|
-
percent?: number | undefined;
|
|
330
|
-
response?: unknown;
|
|
331
|
-
error?: string | undefined;
|
|
332
|
-
uid?: string | number | undefined;
|
|
333
|
-
url?: string | undefined;
|
|
334
|
-
thumbUrl?: string | undefined;
|
|
335
|
-
name: string;
|
|
336
|
-
byte?: number | undefined;
|
|
337
|
-
size?: import("../index.js").FileCardSize | undefined;
|
|
338
|
-
description?: string | undefined;
|
|
339
|
-
loading?: boolean | undefined;
|
|
340
|
-
type?: import("../index.js").FileCardType | undefined;
|
|
341
|
-
src?: string | undefined;
|
|
342
|
-
mask?: string | undefined;
|
|
343
|
-
icon?: import("../index.js").PresetFileIcons | undefined;
|
|
344
|
-
imageProps?: Record<string, unknown> | undefined;
|
|
345
|
-
videoProps?: Record<string, unknown> | undefined;
|
|
346
|
-
audioProps?: Record<string, unknown> | undefined;
|
|
347
|
-
onClick?: (() => void) | undefined;
|
|
348
|
-
};
|
|
349
|
-
index: number;
|
|
350
|
-
}) => any;
|
|
351
|
-
} & {
|
|
352
|
-
'upload-button'?: (props: {
|
|
353
|
-
canUpload: boolean;
|
|
354
|
-
}) => any;
|
|
355
|
-
} & {
|
|
356
|
-
'drop-area'?: (props: {}) => any;
|
|
357
|
-
};
|
|
358
|
-
})> & Record<string, unknown>;
|
|
2
|
+
export declare const YhAiAttachments: any;
|
|
359
3
|
export default YhAiAttachments;
|
|
360
4
|
export * from './src/ai-attachments';
|
|
361
5
|
export type AiAttachmentsInstance = InstanceType<typeof AiAttachments>;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { type AttachmentItem, type PlaceholderType } from './ai-attachments';
|
|
2
|
+
declare var __VLS_1: {
|
|
3
|
+
item: any;
|
|
4
|
+
index: any;
|
|
5
|
+
}, __VLS_11: {
|
|
6
|
+
canUpload: any;
|
|
7
|
+
}, __VLS_17: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
'file-item'?: (props: typeof __VLS_1) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'upload-button'?: (props: typeof __VLS_11) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'drop-area'?: (props: typeof __VLS_17) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
16
|
+
readonly items: {
|
|
17
|
+
readonly type: import("vue").PropType<AttachmentItem[]>;
|
|
18
|
+
readonly default: () => never[];
|
|
19
|
+
};
|
|
20
|
+
readonly overflow: {
|
|
21
|
+
readonly type: import("vue").PropType<import("./ai-attachments").OverflowMode>;
|
|
22
|
+
readonly default: "scrollX";
|
|
23
|
+
};
|
|
24
|
+
readonly listStyle: {
|
|
25
|
+
readonly type: import("vue").PropType<Record<string, string>>;
|
|
26
|
+
readonly default: () => {};
|
|
27
|
+
};
|
|
28
|
+
readonly scrollMaxHeight: {
|
|
29
|
+
readonly type: StringConstructor;
|
|
30
|
+
readonly default: undefined;
|
|
31
|
+
};
|
|
32
|
+
readonly uploadIconSize: {
|
|
33
|
+
readonly type: StringConstructor;
|
|
34
|
+
readonly default: "24px";
|
|
35
|
+
};
|
|
36
|
+
readonly dragTarget: {
|
|
37
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
38
|
+
readonly default: null;
|
|
39
|
+
};
|
|
40
|
+
readonly hideUpload: {
|
|
41
|
+
readonly type: BooleanConstructor;
|
|
42
|
+
readonly default: false;
|
|
43
|
+
};
|
|
44
|
+
readonly limit: {
|
|
45
|
+
readonly type: NumberConstructor;
|
|
46
|
+
readonly default: undefined;
|
|
47
|
+
};
|
|
48
|
+
readonly beforeUpload: {
|
|
49
|
+
readonly type: import("vue").PropType<(file: File) => boolean | Promise<boolean>>;
|
|
50
|
+
readonly default: undefined;
|
|
51
|
+
};
|
|
52
|
+
readonly httpRequest: {
|
|
53
|
+
readonly type: import("vue").PropType<(options: {
|
|
54
|
+
file: File;
|
|
55
|
+
}) => Promise<void>>;
|
|
56
|
+
readonly default: undefined;
|
|
57
|
+
};
|
|
58
|
+
readonly disabled: {
|
|
59
|
+
readonly type: BooleanConstructor;
|
|
60
|
+
readonly default: false;
|
|
61
|
+
};
|
|
62
|
+
readonly maxCount: {
|
|
63
|
+
readonly type: NumberConstructor;
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
};
|
|
66
|
+
readonly getDropContainer: {
|
|
67
|
+
readonly type: import("vue").PropType<() => HTMLElement>;
|
|
68
|
+
readonly default: undefined;
|
|
69
|
+
};
|
|
70
|
+
readonly placeholder: {
|
|
71
|
+
readonly type: import("vue").PropType<PlaceholderType | ((type: "inline" | "drop") => PlaceholderType) | string>;
|
|
72
|
+
readonly default: () => {
|
|
73
|
+
icon: string;
|
|
74
|
+
title: string;
|
|
75
|
+
description: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
readonly themeOverrides: {
|
|
79
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
80
|
+
readonly default: undefined;
|
|
81
|
+
};
|
|
82
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
83
|
+
readonly disabled: boolean;
|
|
84
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
85
|
+
readonly listStyle: Record<string, string>;
|
|
86
|
+
readonly overflow: import("./ai-attachments").OverflowMode;
|
|
87
|
+
readonly items: AttachmentItem[];
|
|
88
|
+
readonly placeholder: string | PlaceholderType | ((type: "inline" | "drop") => PlaceholderType);
|
|
89
|
+
readonly scrollMaxHeight: string;
|
|
90
|
+
readonly uploadIconSize: string;
|
|
91
|
+
readonly dragTarget: string | HTMLElement;
|
|
92
|
+
readonly hideUpload: boolean;
|
|
93
|
+
readonly limit: number;
|
|
94
|
+
readonly beforeUpload: (file: File) => boolean | Promise<boolean>;
|
|
95
|
+
readonly httpRequest: (options: {
|
|
96
|
+
file: File;
|
|
97
|
+
}) => Promise<void>;
|
|
98
|
+
readonly maxCount: number;
|
|
99
|
+
readonly getDropContainer: () => HTMLElement;
|
|
100
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
102
|
+
export default _default;
|
|
103
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|