@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,78 @@
|
|
|
1
|
+
declare var __VLS_9: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_9) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly command: {
|
|
7
|
+
readonly type: import("vue").PropType<string | number | object>;
|
|
8
|
+
readonly default: "";
|
|
9
|
+
};
|
|
10
|
+
readonly disabled: {
|
|
11
|
+
readonly type: BooleanConstructor;
|
|
12
|
+
readonly default: false;
|
|
13
|
+
};
|
|
14
|
+
readonly divided: {
|
|
15
|
+
readonly type: BooleanConstructor;
|
|
16
|
+
readonly default: false;
|
|
17
|
+
};
|
|
18
|
+
readonly icon: {
|
|
19
|
+
readonly type: StringConstructor;
|
|
20
|
+
readonly default: "";
|
|
21
|
+
};
|
|
22
|
+
readonly danger: {
|
|
23
|
+
readonly type: BooleanConstructor;
|
|
24
|
+
readonly default: false;
|
|
25
|
+
};
|
|
26
|
+
readonly checked: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: false;
|
|
29
|
+
};
|
|
30
|
+
readonly themeOverrides: {
|
|
31
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
32
|
+
readonly default: undefined;
|
|
33
|
+
};
|
|
34
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
readonly command: {
|
|
36
|
+
readonly type: import("vue").PropType<string | number | object>;
|
|
37
|
+
readonly default: "";
|
|
38
|
+
};
|
|
39
|
+
readonly disabled: {
|
|
40
|
+
readonly type: BooleanConstructor;
|
|
41
|
+
readonly default: false;
|
|
42
|
+
};
|
|
43
|
+
readonly divided: {
|
|
44
|
+
readonly type: BooleanConstructor;
|
|
45
|
+
readonly default: false;
|
|
46
|
+
};
|
|
47
|
+
readonly icon: {
|
|
48
|
+
readonly type: StringConstructor;
|
|
49
|
+
readonly default: "";
|
|
50
|
+
};
|
|
51
|
+
readonly danger: {
|
|
52
|
+
readonly type: BooleanConstructor;
|
|
53
|
+
readonly default: false;
|
|
54
|
+
};
|
|
55
|
+
readonly checked: {
|
|
56
|
+
readonly type: BooleanConstructor;
|
|
57
|
+
readonly default: false;
|
|
58
|
+
};
|
|
59
|
+
readonly themeOverrides: {
|
|
60
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
61
|
+
readonly default: undefined;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{}>, {
|
|
64
|
+
readonly disabled: boolean;
|
|
65
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
66
|
+
readonly icon: string;
|
|
67
|
+
readonly danger: boolean;
|
|
68
|
+
readonly command: string | number | object;
|
|
69
|
+
readonly checked: boolean;
|
|
70
|
+
readonly divided: boolean;
|
|
71
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
73
|
+
export default _default;
|
|
74
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
75
|
+
new (): {
|
|
76
|
+
$slots: S;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
@@ -9,7 +9,10 @@ defineOptions({
|
|
|
9
9
|
});
|
|
10
10
|
const props = defineProps(dropdownItemProps);
|
|
11
11
|
const ns = useNamespace("dropdown");
|
|
12
|
-
const { themeStyle } = useComponentTheme(
|
|
12
|
+
const { themeStyle } = useComponentTheme(
|
|
13
|
+
"dropdown-item",
|
|
14
|
+
computed(() => props.themeOverrides)
|
|
15
|
+
);
|
|
13
16
|
const dropdown = inject(DROPDOWN_INJECTION_KEY, null);
|
|
14
17
|
const classes = computed(() => [
|
|
15
18
|
ns.e("item"),
|
|
@@ -29,7 +32,11 @@ const handleClick = () => {
|
|
|
29
32
|
<template>
|
|
30
33
|
<div v-if="divided" :class="ns.e('divider')" />
|
|
31
34
|
<div :class="classes" :style="themeStyle" @click="handleClick">
|
|
32
|
-
<YhIcon
|
|
35
|
+
<YhIcon
|
|
36
|
+
v-if="dropdown?.checkable.value"
|
|
37
|
+
:name="checked ? 'check' : ''"
|
|
38
|
+
:class="ns.e('check-icon')"
|
|
39
|
+
/>
|
|
33
40
|
<YhIcon v-if="icon" :name="icon" :class="ns.e('item-icon')" />
|
|
34
41
|
<slot />
|
|
35
42
|
</div>
|
|
@@ -62,11 +62,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
62
62
|
};
|
|
63
63
|
}>> & Readonly<{}>, {
|
|
64
64
|
readonly disabled: boolean;
|
|
65
|
-
readonly danger: boolean;
|
|
66
65
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
67
66
|
readonly icon: string;
|
|
68
|
-
readonly
|
|
67
|
+
readonly danger: boolean;
|
|
69
68
|
readonly command: string | number | object;
|
|
69
|
+
readonly checked: boolean;
|
|
70
70
|
readonly divided: boolean;
|
|
71
71
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
72
72
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly themeOverrides: {
|
|
7
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
8
|
+
readonly default: undefined;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
readonly themeOverrides: {
|
|
12
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
13
|
+
readonly default: undefined;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {
|
|
16
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
17
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
18
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
21
|
+
new (): {
|
|
22
|
+
$slots: S;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -8,7 +8,10 @@ defineOptions({
|
|
|
8
8
|
});
|
|
9
9
|
const props = defineProps(dropdownMenuProps);
|
|
10
10
|
const ns = useNamespace("dropdown");
|
|
11
|
-
const { themeStyle } = useComponentTheme(
|
|
11
|
+
const { themeStyle } = useComponentTheme(
|
|
12
|
+
"dropdown-menu",
|
|
13
|
+
computed(() => props.themeOverrides)
|
|
14
|
+
);
|
|
12
15
|
</script>
|
|
13
16
|
|
|
14
17
|
<template>
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import type { CSSProperties } from 'vue';
|
|
2
|
+
declare var __VLS_20: {}, __VLS_34: {}, __VLS_40: {}, __VLS_54: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_20) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_34) => any;
|
|
7
|
+
} & {
|
|
8
|
+
dropdown?: (props: typeof __VLS_40) => any;
|
|
9
|
+
} & {
|
|
10
|
+
empty?: (props: typeof __VLS_54) => any;
|
|
11
|
+
};
|
|
12
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
readonly trigger: {
|
|
14
|
+
readonly type: import("vue").PropType<import("./dropdown").DropdownTrigger>;
|
|
15
|
+
readonly default: "hover";
|
|
16
|
+
};
|
|
17
|
+
readonly placement: {
|
|
18
|
+
readonly type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
19
|
+
readonly default: "bottom";
|
|
20
|
+
};
|
|
21
|
+
readonly visible: {
|
|
22
|
+
readonly type: import("vue").PropType<boolean | null>;
|
|
23
|
+
readonly default: null;
|
|
24
|
+
};
|
|
25
|
+
readonly disabled: {
|
|
26
|
+
readonly type: BooleanConstructor;
|
|
27
|
+
readonly default: false;
|
|
28
|
+
};
|
|
29
|
+
readonly showAfter: {
|
|
30
|
+
readonly type: NumberConstructor;
|
|
31
|
+
readonly default: 0;
|
|
32
|
+
};
|
|
33
|
+
readonly hideAfter: {
|
|
34
|
+
readonly type: NumberConstructor;
|
|
35
|
+
readonly default: 150;
|
|
36
|
+
};
|
|
37
|
+
readonly zIndex: {
|
|
38
|
+
readonly type: NumberConstructor;
|
|
39
|
+
readonly default: 2000;
|
|
40
|
+
};
|
|
41
|
+
readonly hideOnClick: {
|
|
42
|
+
readonly type: BooleanConstructor;
|
|
43
|
+
readonly default: true;
|
|
44
|
+
};
|
|
45
|
+
readonly items: {
|
|
46
|
+
readonly type: import("vue").PropType<import("./dropdown").DropdownItemData[]>;
|
|
47
|
+
readonly default: () => never[];
|
|
48
|
+
};
|
|
49
|
+
readonly loading: {
|
|
50
|
+
readonly type: BooleanConstructor;
|
|
51
|
+
readonly default: false;
|
|
52
|
+
};
|
|
53
|
+
readonly emptyText: {
|
|
54
|
+
readonly type: StringConstructor;
|
|
55
|
+
readonly default: undefined;
|
|
56
|
+
};
|
|
57
|
+
readonly checkable: {
|
|
58
|
+
readonly type: BooleanConstructor;
|
|
59
|
+
readonly default: false;
|
|
60
|
+
};
|
|
61
|
+
readonly maxHeight: {
|
|
62
|
+
readonly type: import("vue").PropType<string | number>;
|
|
63
|
+
readonly default: "";
|
|
64
|
+
};
|
|
65
|
+
readonly teleported: {
|
|
66
|
+
readonly type: BooleanConstructor;
|
|
67
|
+
readonly default: true;
|
|
68
|
+
};
|
|
69
|
+
readonly popperClass: {
|
|
70
|
+
readonly type: StringConstructor;
|
|
71
|
+
readonly default: "";
|
|
72
|
+
};
|
|
73
|
+
readonly popperStyle: {
|
|
74
|
+
readonly type: import("vue").PropType<CSSProperties>;
|
|
75
|
+
readonly default: () => {};
|
|
76
|
+
};
|
|
77
|
+
readonly splitButton: {
|
|
78
|
+
readonly type: BooleanConstructor;
|
|
79
|
+
readonly default: false;
|
|
80
|
+
};
|
|
81
|
+
readonly type: {
|
|
82
|
+
readonly type: import("vue").PropType<"primary" | "success" | "warning" | "danger" | "info" | "">;
|
|
83
|
+
readonly default: "";
|
|
84
|
+
};
|
|
85
|
+
readonly size: {
|
|
86
|
+
readonly type: import("vue").PropType<"large" | "default" | "small">;
|
|
87
|
+
readonly default: "default";
|
|
88
|
+
};
|
|
89
|
+
readonly plain: {
|
|
90
|
+
readonly type: BooleanConstructor;
|
|
91
|
+
readonly default: false;
|
|
92
|
+
};
|
|
93
|
+
readonly showArrow: {
|
|
94
|
+
readonly type: BooleanConstructor;
|
|
95
|
+
readonly default: true;
|
|
96
|
+
};
|
|
97
|
+
readonly popperArrow: {
|
|
98
|
+
readonly type: BooleanConstructor;
|
|
99
|
+
readonly default: true;
|
|
100
|
+
};
|
|
101
|
+
readonly offset: {
|
|
102
|
+
readonly type: import("vue").PropType<[number, number]>;
|
|
103
|
+
readonly default: () => number[];
|
|
104
|
+
};
|
|
105
|
+
readonly loop: {
|
|
106
|
+
readonly type: BooleanConstructor;
|
|
107
|
+
readonly default: true;
|
|
108
|
+
};
|
|
109
|
+
readonly tabindex: {
|
|
110
|
+
readonly type: import("vue").PropType<number | string>;
|
|
111
|
+
readonly default: 0;
|
|
112
|
+
};
|
|
113
|
+
readonly themeOverrides: {
|
|
114
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
115
|
+
readonly default: undefined;
|
|
116
|
+
};
|
|
117
|
+
}>, {
|
|
118
|
+
/** 手动显示下拉菜单 */
|
|
119
|
+
show: () => void;
|
|
120
|
+
/** 手动隐藏下拉菜单 */
|
|
121
|
+
hide: () => void;
|
|
122
|
+
/** 当前可见状态 */
|
|
123
|
+
visible: import("vue").WritableComputedRef<boolean, boolean>;
|
|
124
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
125
|
+
readonly offset: [number, number];
|
|
126
|
+
readonly zIndex: number;
|
|
127
|
+
readonly teleported: boolean;
|
|
128
|
+
readonly disabled: boolean;
|
|
129
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
130
|
+
readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
|
|
131
|
+
readonly visible: boolean | null;
|
|
132
|
+
readonly size: "small" | "default" | "large";
|
|
133
|
+
readonly maxHeight: string | number;
|
|
134
|
+
readonly items: import("./dropdown").DropdownItemData[];
|
|
135
|
+
readonly loading: boolean;
|
|
136
|
+
readonly placement: import("@floating-ui/utils").Placement;
|
|
137
|
+
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
138
|
+
readonly showAfter: number;
|
|
139
|
+
readonly hideAfter: number;
|
|
140
|
+
readonly showArrow: boolean;
|
|
141
|
+
readonly popperClass: string;
|
|
142
|
+
readonly popperStyle: CSSProperties;
|
|
143
|
+
readonly plain: boolean;
|
|
144
|
+
readonly tabindex: string | number;
|
|
145
|
+
readonly loop: boolean;
|
|
146
|
+
readonly hideOnClick: boolean;
|
|
147
|
+
readonly emptyText: string;
|
|
148
|
+
readonly checkable: boolean;
|
|
149
|
+
readonly splitButton: boolean;
|
|
150
|
+
readonly popperArrow: boolean;
|
|
151
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
152
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
153
|
+
export default _default;
|
|
154
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
155
|
+
new (): {
|
|
156
|
+
$slots: S;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
@@ -121,148 +121,31 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
121
121
|
hide: () => void;
|
|
122
122
|
/** 当前可见状态 */
|
|
123
123
|
visible: import("vue").WritableComputedRef<boolean, boolean>;
|
|
124
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
"update:visible": (visible: boolean) => void;
|
|
129
|
-
command: (_command: string | number | object) => void;
|
|
130
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
131
|
-
readonly trigger: {
|
|
132
|
-
readonly type: import("vue").PropType<import("./dropdown").DropdownTrigger>;
|
|
133
|
-
readonly default: "hover";
|
|
134
|
-
};
|
|
135
|
-
readonly placement: {
|
|
136
|
-
readonly type: import("vue").PropType<import("@floating-ui/utils").Placement>;
|
|
137
|
-
readonly default: "bottom";
|
|
138
|
-
};
|
|
139
|
-
readonly visible: {
|
|
140
|
-
readonly type: import("vue").PropType<boolean | null>;
|
|
141
|
-
readonly default: null;
|
|
142
|
-
};
|
|
143
|
-
readonly disabled: {
|
|
144
|
-
readonly type: BooleanConstructor;
|
|
145
|
-
readonly default: false;
|
|
146
|
-
};
|
|
147
|
-
readonly showAfter: {
|
|
148
|
-
readonly type: NumberConstructor;
|
|
149
|
-
readonly default: 0;
|
|
150
|
-
};
|
|
151
|
-
readonly hideAfter: {
|
|
152
|
-
readonly type: NumberConstructor;
|
|
153
|
-
readonly default: 150;
|
|
154
|
-
};
|
|
155
|
-
readonly zIndex: {
|
|
156
|
-
readonly type: NumberConstructor;
|
|
157
|
-
readonly default: 2000;
|
|
158
|
-
};
|
|
159
|
-
readonly hideOnClick: {
|
|
160
|
-
readonly type: BooleanConstructor;
|
|
161
|
-
readonly default: true;
|
|
162
|
-
};
|
|
163
|
-
readonly items: {
|
|
164
|
-
readonly type: import("vue").PropType<import("./dropdown").DropdownItemData[]>;
|
|
165
|
-
readonly default: () => never[];
|
|
166
|
-
};
|
|
167
|
-
readonly loading: {
|
|
168
|
-
readonly type: BooleanConstructor;
|
|
169
|
-
readonly default: false;
|
|
170
|
-
};
|
|
171
|
-
readonly emptyText: {
|
|
172
|
-
readonly type: StringConstructor;
|
|
173
|
-
readonly default: undefined;
|
|
174
|
-
};
|
|
175
|
-
readonly checkable: {
|
|
176
|
-
readonly type: BooleanConstructor;
|
|
177
|
-
readonly default: false;
|
|
178
|
-
};
|
|
179
|
-
readonly maxHeight: {
|
|
180
|
-
readonly type: import("vue").PropType<string | number>;
|
|
181
|
-
readonly default: "";
|
|
182
|
-
};
|
|
183
|
-
readonly teleported: {
|
|
184
|
-
readonly type: BooleanConstructor;
|
|
185
|
-
readonly default: true;
|
|
186
|
-
};
|
|
187
|
-
readonly popperClass: {
|
|
188
|
-
readonly type: StringConstructor;
|
|
189
|
-
readonly default: "";
|
|
190
|
-
};
|
|
191
|
-
readonly popperStyle: {
|
|
192
|
-
readonly type: import("vue").PropType<CSSProperties>;
|
|
193
|
-
readonly default: () => {};
|
|
194
|
-
};
|
|
195
|
-
readonly splitButton: {
|
|
196
|
-
readonly type: BooleanConstructor;
|
|
197
|
-
readonly default: false;
|
|
198
|
-
};
|
|
199
|
-
readonly type: {
|
|
200
|
-
readonly type: import("vue").PropType<"primary" | "success" | "warning" | "danger" | "info" | "">;
|
|
201
|
-
readonly default: "";
|
|
202
|
-
};
|
|
203
|
-
readonly size: {
|
|
204
|
-
readonly type: import("vue").PropType<"large" | "default" | "small">;
|
|
205
|
-
readonly default: "default";
|
|
206
|
-
};
|
|
207
|
-
readonly plain: {
|
|
208
|
-
readonly type: BooleanConstructor;
|
|
209
|
-
readonly default: false;
|
|
210
|
-
};
|
|
211
|
-
readonly showArrow: {
|
|
212
|
-
readonly type: BooleanConstructor;
|
|
213
|
-
readonly default: true;
|
|
214
|
-
};
|
|
215
|
-
readonly popperArrow: {
|
|
216
|
-
readonly type: BooleanConstructor;
|
|
217
|
-
readonly default: true;
|
|
218
|
-
};
|
|
219
|
-
readonly offset: {
|
|
220
|
-
readonly type: import("vue").PropType<[number, number]>;
|
|
221
|
-
readonly default: () => number[];
|
|
222
|
-
};
|
|
223
|
-
readonly loop: {
|
|
224
|
-
readonly type: BooleanConstructor;
|
|
225
|
-
readonly default: true;
|
|
226
|
-
};
|
|
227
|
-
readonly tabindex: {
|
|
228
|
-
readonly type: import("vue").PropType<number | string>;
|
|
229
|
-
readonly default: 0;
|
|
230
|
-
};
|
|
231
|
-
readonly themeOverrides: {
|
|
232
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
233
|
-
readonly default: undefined;
|
|
234
|
-
};
|
|
235
|
-
}>> & Readonly<{
|
|
236
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
237
|
-
onHide?: (() => any) | undefined;
|
|
238
|
-
onShow?: (() => any) | undefined;
|
|
239
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
240
|
-
onCommand?: ((_command: string | number | object) => any) | undefined;
|
|
241
|
-
}>, {
|
|
242
|
-
readonly size: "large" | "default" | "small";
|
|
243
|
-
readonly loading: boolean;
|
|
244
|
-
readonly emptyText: string;
|
|
245
|
-
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
246
|
-
readonly type: "" | "success" | "warning" | "info" | "primary" | "danger";
|
|
124
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
125
|
+
readonly offset: [number, number];
|
|
126
|
+
readonly zIndex: number;
|
|
127
|
+
readonly teleported: boolean;
|
|
247
128
|
readonly disabled: boolean;
|
|
248
129
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
249
|
-
readonly
|
|
250
|
-
readonly tabindex: string | number;
|
|
251
|
-
readonly maxHeight: string | number;
|
|
252
|
-
readonly zIndex: number;
|
|
253
|
-
readonly offset: [number, number];
|
|
130
|
+
readonly type: "" | "info" | "warning" | "success" | "primary" | "danger";
|
|
254
131
|
readonly visible: boolean | null;
|
|
255
|
-
readonly
|
|
132
|
+
readonly size: "small" | "default" | "large";
|
|
133
|
+
readonly maxHeight: string | number;
|
|
256
134
|
readonly items: import("./dropdown").DropdownItemData[];
|
|
135
|
+
readonly loading: boolean;
|
|
257
136
|
readonly placement: import("@floating-ui/utils").Placement;
|
|
258
|
-
readonly
|
|
259
|
-
readonly teleported: boolean;
|
|
260
|
-
readonly popperStyle: CSSProperties;
|
|
137
|
+
readonly trigger: import("./dropdown").DropdownTrigger;
|
|
261
138
|
readonly showAfter: number;
|
|
262
139
|
readonly hideAfter: number;
|
|
263
140
|
readonly showArrow: boolean;
|
|
141
|
+
readonly popperClass: string;
|
|
142
|
+
readonly popperStyle: CSSProperties;
|
|
143
|
+
readonly plain: boolean;
|
|
144
|
+
readonly tabindex: string | number;
|
|
264
145
|
readonly loop: boolean;
|
|
265
146
|
readonly hideOnClick: boolean;
|
|
147
|
+
readonly emptyText: string;
|
|
148
|
+
readonly checkable: boolean;
|
|
266
149
|
readonly splitButton: boolean;
|
|
267
150
|
readonly popperArrow: boolean;
|
|
268
151
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/dist/empty/index.d.ts
CHANGED
|
@@ -1,82 +1,5 @@
|
|
|
1
1
|
import Empty from './src/empty.vue';
|
|
2
|
-
export declare const YhEmpty:
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
image: {
|
|
5
|
-
type: import("vue").PropType<string>;
|
|
6
|
-
};
|
|
7
|
-
description: {
|
|
8
|
-
type: import("vue").PropType<string>;
|
|
9
|
-
};
|
|
10
|
-
themeOverrides: {
|
|
11
|
-
type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
12
|
-
};
|
|
13
|
-
icon: {
|
|
14
|
-
type: import("vue").PropType<string | import("vue").Component>;
|
|
15
|
-
};
|
|
16
|
-
imageSize: {
|
|
17
|
-
type: import("vue").PropType<number>;
|
|
18
|
-
default: number;
|
|
19
|
-
};
|
|
20
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
21
|
-
imageSize: number;
|
|
22
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
23
|
-
P: {};
|
|
24
|
-
B: {};
|
|
25
|
-
D: {};
|
|
26
|
-
C: {};
|
|
27
|
-
M: {};
|
|
28
|
-
Defaults: {};
|
|
29
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
30
|
-
image: {
|
|
31
|
-
type: import("vue").PropType<string>;
|
|
32
|
-
};
|
|
33
|
-
description: {
|
|
34
|
-
type: import("vue").PropType<string>;
|
|
35
|
-
};
|
|
36
|
-
themeOverrides: {
|
|
37
|
-
type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
38
|
-
};
|
|
39
|
-
icon: {
|
|
40
|
-
type: import("vue").PropType<string | import("vue").Component>;
|
|
41
|
-
};
|
|
42
|
-
imageSize: {
|
|
43
|
-
type: import("vue").PropType<number>;
|
|
44
|
-
default: number;
|
|
45
|
-
};
|
|
46
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
47
|
-
imageSize: number;
|
|
48
|
-
}>;
|
|
49
|
-
__isFragment?: never;
|
|
50
|
-
__isTeleport?: never;
|
|
51
|
-
__isSuspense?: never;
|
|
52
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
53
|
-
image: {
|
|
54
|
-
type: import("vue").PropType<string>;
|
|
55
|
-
};
|
|
56
|
-
description: {
|
|
57
|
-
type: import("vue").PropType<string>;
|
|
58
|
-
};
|
|
59
|
-
themeOverrides: {
|
|
60
|
-
type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
61
|
-
};
|
|
62
|
-
icon: {
|
|
63
|
-
type: import("vue").PropType<string | import("vue").Component>;
|
|
64
|
-
};
|
|
65
|
-
imageSize: {
|
|
66
|
-
type: import("vue").PropType<number>;
|
|
67
|
-
default: number;
|
|
68
|
-
};
|
|
69
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
70
|
-
imageSize: number;
|
|
71
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
72
|
-
$slots: {
|
|
73
|
-
image?: (props: {}) => any;
|
|
74
|
-
} & {
|
|
75
|
-
description?: (props: {}) => any;
|
|
76
|
-
} & {
|
|
77
|
-
default?: (props: {}) => any;
|
|
78
|
-
};
|
|
79
|
-
})> & Record<string, unknown>;
|
|
2
|
+
export declare const YhEmpty: any;
|
|
80
3
|
export default YhEmpty;
|
|
81
4
|
export * from './src/empty';
|
|
82
5
|
export type { EmptyProps, EmptySlots } from './src/empty';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { EmptyProps } from './empty';
|
|
2
|
+
declare var __VLS_1: {}, __VLS_7: {}, __VLS_9: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
image?: (props: typeof __VLS_1) => any;
|
|
5
|
+
} & {
|
|
6
|
+
description?: (props: typeof __VLS_7) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_9) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<EmptyProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<EmptyProps> & Readonly<{}>, {
|
|
11
|
+
imageSize: number;
|
|
12
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
package/dist/empty/src/empty.vue
CHANGED
|
@@ -13,7 +13,10 @@ const props = defineProps({
|
|
|
13
13
|
});
|
|
14
14
|
const description = computed(() => props.description || t("empty.description"));
|
|
15
15
|
const ns = useNamespace("empty");
|
|
16
|
-
const { themeStyle } = useComponentTheme(
|
|
16
|
+
const { themeStyle } = useComponentTheme(
|
|
17
|
+
"empty",
|
|
18
|
+
computed(() => props.themeOverrides)
|
|
19
|
+
);
|
|
17
20
|
const imageStyle = computed(() => ({
|
|
18
21
|
width: `${props.imageSize}px`,
|
|
19
22
|
height: `${props.imageSize}px`
|
|
@@ -35,25 +38,39 @@ const imageStyle = computed(() => ({
|
|
|
35
38
|
<svg v-else :class="ns.e('svg')" viewBox="0 0 184 152" xmlns="http://www.w3.org/2000/svg">
|
|
36
39
|
<g fill="none" fill-rule="evenodd">
|
|
37
40
|
<g transform="translate(24 31.67)">
|
|
38
|
-
<ellipse
|
|
41
|
+
<ellipse
|
|
42
|
+
cx="67.797"
|
|
43
|
+
cy="106.89"
|
|
44
|
+
rx="67.797"
|
|
45
|
+
ry="12.668"
|
|
46
|
+
fill="var(--yh-empty-ellipse-color, #f5f5f7)"
|
|
47
|
+
/>
|
|
39
48
|
<path
|
|
40
49
|
d="M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"
|
|
41
|
-
fill="var(--yh-empty-image-fill, #aeb8c2)"
|
|
50
|
+
fill="var(--yh-empty-image-fill, #aeb8c2)"
|
|
51
|
+
/>
|
|
42
52
|
<path
|
|
43
53
|
d="M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.451h94.768V86.214z"
|
|
44
|
-
fill="var(--yh-empty-image-fill2, #f5f5f7)"
|
|
45
|
-
|
|
46
|
-
|
|
54
|
+
fill="var(--yh-empty-image-fill2, #f5f5f7)"
|
|
55
|
+
transform="translate(13.56)"
|
|
56
|
+
/>
|
|
57
|
+
<path
|
|
58
|
+
d="M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"
|
|
59
|
+
fill="var(--yh-empty-plane-bg, #f5f5f7)"
|
|
60
|
+
/>
|
|
47
61
|
<path
|
|
48
62
|
d="M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"
|
|
49
|
-
fill="var(--yh-empty-image-fill, #aeb8c2)"
|
|
63
|
+
fill="var(--yh-empty-image-fill, #aeb8c2)"
|
|
64
|
+
/>
|
|
50
65
|
</g>
|
|
51
66
|
<path
|
|
52
67
|
d="M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.013 146.92 0 156.99 0c10.07 0 18.188 8.013 18.188 17.097 0 9.083-8.118 17.097-18.188 17.097-3.028 0-5.875-.7-8.369-1.902z"
|
|
53
|
-
fill="var(--yh-empty-comment-fill, #dce0e6)"
|
|
68
|
+
fill="var(--yh-empty-comment-fill, #dce0e6)"
|
|
69
|
+
/>
|
|
54
70
|
<path
|
|
55
71
|
d="M161.its 17.404c0-.588-.434-1.025-1.01-1.025h-5.883c-.578 0-1.01.437-1.01 1.025v1.05c0 .587.432 1.025 1.01 1.025h5.883c.576 0 1.01-.438 1.01-1.025v-1.05zM157.85 11.124c0-.588-.435-1.025-1.01-1.025h-1.008c-.576 0-1.01.437-1.01 1.025v1.049c0 .588.434 1.025 1.01 1.025h1.009c.576 0 1.009-.437 1.009-1.025v-1.05z"
|
|
56
|
-
fill="#fff"
|
|
72
|
+
fill="#fff"
|
|
73
|
+
/>
|
|
57
74
|
</g>
|
|
58
75
|
</svg>
|
|
59
76
|
</slot>
|