@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,71 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
/** 列唯一标识 */
|
|
3
|
+
columnKey?: string;
|
|
4
|
+
/** 列字段名 */
|
|
5
|
+
prop?: string;
|
|
6
|
+
/** 列标题 */
|
|
7
|
+
label?: string;
|
|
8
|
+
/** 列宽 */
|
|
9
|
+
width?: number | string;
|
|
10
|
+
/** 最小列宽 */
|
|
11
|
+
minWidth?: number | string;
|
|
12
|
+
/** 最大列宽 */
|
|
13
|
+
maxWidth?: number | string;
|
|
14
|
+
/** 内容对齐方式 */
|
|
15
|
+
align?: 'left' | 'center' | 'right';
|
|
16
|
+
/** 表头对齐方式 */
|
|
17
|
+
headerAlign?: 'left' | 'center' | 'right';
|
|
18
|
+
/** 固定列 */
|
|
19
|
+
fixed?: 'left' | 'right' | boolean;
|
|
20
|
+
/** 是否可排序 */
|
|
21
|
+
sortable?: boolean | 'custom';
|
|
22
|
+
/** 是否可筛选 */
|
|
23
|
+
filterable?: boolean;
|
|
24
|
+
/** 筛选选项 */
|
|
25
|
+
filters?: Array<{
|
|
26
|
+
text: string;
|
|
27
|
+
value: unknown;
|
|
28
|
+
}>;
|
|
29
|
+
/** 是否支持多选筛选 */
|
|
30
|
+
filterMultiple?: boolean;
|
|
31
|
+
/** 是否可调整列宽 */
|
|
32
|
+
resizable?: boolean;
|
|
33
|
+
/** 是否显示溢出提示 */
|
|
34
|
+
showOverflowTooltip?: boolean;
|
|
35
|
+
/** 列类名 */
|
|
36
|
+
className?: string;
|
|
37
|
+
/** 表头类名 */
|
|
38
|
+
headerClassName?: string;
|
|
39
|
+
/** 列类型 */
|
|
40
|
+
type?: 'selection' | 'index' | 'expand' | 'radio';
|
|
41
|
+
/** 是否可见 */
|
|
42
|
+
visible?: boolean;
|
|
43
|
+
/** 是否为树形展开列 */
|
|
44
|
+
treeNode?: boolean;
|
|
45
|
+
};
|
|
46
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
47
|
+
fixed: "left" | "right" | boolean;
|
|
48
|
+
filters: Array<{
|
|
49
|
+
text: string;
|
|
50
|
+
value: unknown;
|
|
51
|
+
}>;
|
|
52
|
+
type: "selection" | "index" | "expand" | "radio";
|
|
53
|
+
width: number | string;
|
|
54
|
+
visible: boolean;
|
|
55
|
+
maxWidth: number | string;
|
|
56
|
+
minWidth: number | string;
|
|
57
|
+
label: string;
|
|
58
|
+
className: string;
|
|
59
|
+
resizable: boolean;
|
|
60
|
+
filterable: boolean;
|
|
61
|
+
align: "left" | "center" | "right";
|
|
62
|
+
headerAlign: "left" | "center" | "right";
|
|
63
|
+
prop: string;
|
|
64
|
+
columnKey: string;
|
|
65
|
+
sortable: boolean | "custom";
|
|
66
|
+
filterMultiple: boolean;
|
|
67
|
+
showOverflowTooltip: boolean;
|
|
68
|
+
headerClassName: string;
|
|
69
|
+
treeNode: boolean;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
71
|
+
export default _default;
|
|
@@ -43,88 +43,29 @@ type __VLS_Props = {
|
|
|
43
43
|
/** 是否为树形展开列 */
|
|
44
44
|
treeNode?: boolean;
|
|
45
45
|
};
|
|
46
|
-
declare const _default: import("vue").DefineComponent<import("vue").
|
|
47
|
-
|
|
48
|
-
visible: boolean;
|
|
49
|
-
filterMultiple: boolean;
|
|
50
|
-
columnKey: string;
|
|
51
|
-
prop: string;
|
|
52
|
-
label: string;
|
|
53
|
-
width: string;
|
|
54
|
-
minWidth: number;
|
|
55
|
-
maxWidth: undefined;
|
|
56
|
-
headerAlign: undefined;
|
|
57
|
-
fixed: boolean;
|
|
58
|
-
sortable: boolean;
|
|
59
|
-
filterable: boolean;
|
|
60
|
-
filters: () => never[];
|
|
61
|
-
resizable: boolean;
|
|
62
|
-
showOverflowTooltip: boolean;
|
|
63
|
-
className: string;
|
|
64
|
-
headerClassName: string;
|
|
65
|
-
type: undefined;
|
|
66
|
-
treeNode: boolean;
|
|
67
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<__VLS_Props>, {
|
|
68
|
-
align: string;
|
|
69
|
-
visible: boolean;
|
|
70
|
-
filterMultiple: boolean;
|
|
71
|
-
columnKey: string;
|
|
72
|
-
prop: string;
|
|
73
|
-
label: string;
|
|
74
|
-
width: string;
|
|
75
|
-
minWidth: number;
|
|
76
|
-
maxWidth: undefined;
|
|
77
|
-
headerAlign: undefined;
|
|
78
|
-
fixed: boolean;
|
|
79
|
-
sortable: boolean;
|
|
80
|
-
filterable: boolean;
|
|
81
|
-
filters: () => never[];
|
|
82
|
-
resizable: boolean;
|
|
83
|
-
showOverflowTooltip: boolean;
|
|
84
|
-
className: string;
|
|
85
|
-
headerClassName: string;
|
|
86
|
-
type: undefined;
|
|
87
|
-
treeNode: boolean;
|
|
88
|
-
}>>> & Readonly<{}>, {
|
|
89
|
-
label: string;
|
|
46
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
47
|
+
fixed: "left" | "right" | boolean;
|
|
90
48
|
filters: Array<{
|
|
91
49
|
text: string;
|
|
92
50
|
value: unknown;
|
|
93
51
|
}>;
|
|
94
|
-
fixed: "left" | "right" | boolean;
|
|
95
52
|
type: "selection" | "index" | "expand" | "radio";
|
|
96
|
-
maxWidth: number | string;
|
|
97
53
|
width: number | string;
|
|
98
|
-
minWidth: number | string;
|
|
99
54
|
visible: boolean;
|
|
100
|
-
|
|
101
|
-
|
|
55
|
+
maxWidth: number | string;
|
|
56
|
+
minWidth: number | string;
|
|
57
|
+
label: string;
|
|
58
|
+
className: string;
|
|
59
|
+
resizable: boolean;
|
|
102
60
|
filterable: boolean;
|
|
61
|
+
align: "left" | "center" | "right";
|
|
103
62
|
headerAlign: "left" | "center" | "right";
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
filterMultiple: boolean;
|
|
63
|
+
prop: string;
|
|
64
|
+
columnKey: string;
|
|
107
65
|
sortable: boolean | "custom";
|
|
66
|
+
filterMultiple: boolean;
|
|
108
67
|
showOverflowTooltip: boolean;
|
|
109
68
|
headerClassName: string;
|
|
110
69
|
treeNode: boolean;
|
|
111
|
-
|
|
112
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
113
71
|
export default _default;
|
|
114
|
-
type __VLS_WithDefaults<P, D> = {
|
|
115
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
116
|
-
default: D[K];
|
|
117
|
-
}> : P[K];
|
|
118
|
-
};
|
|
119
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
120
|
-
type __VLS_TypePropsToOption<T> = {
|
|
121
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
122
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
123
|
-
} : {
|
|
124
|
-
type: import('vue').PropType<T[K]>;
|
|
125
|
-
required: true;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
type __VLS_PrettifyLocal<T> = {
|
|
129
|
-
[K in keyof T]: T[K];
|
|
130
|
-
} & {};
|
|
@@ -0,0 +1,493 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YhTable - 高性能表格组件
|
|
3
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
4
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
5
|
+
*/
|
|
6
|
+
import { type CSSProperties } from 'vue';
|
|
7
|
+
import { type TableColumn, type SortOrder, type TablePaginationConfig } from './table';
|
|
8
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_20: any, __VLS_21: {
|
|
9
|
+
column: any;
|
|
10
|
+
columnIndex: any;
|
|
11
|
+
}, __VLS_36: any, __VLS_37: {
|
|
12
|
+
column: any;
|
|
13
|
+
columnIndex: any;
|
|
14
|
+
}, __VLS_47: {}, __VLS_54: any, __VLS_55: {
|
|
15
|
+
row: any;
|
|
16
|
+
column: any;
|
|
17
|
+
rowIndex: any;
|
|
18
|
+
cellValue: any;
|
|
19
|
+
}, __VLS_65: {
|
|
20
|
+
row: any;
|
|
21
|
+
rowIndex: any;
|
|
22
|
+
}, __VLS_71: {}, __VLS_74: any, __VLS_75: {
|
|
23
|
+
column: any;
|
|
24
|
+
columnIndex: any;
|
|
25
|
+
data: any;
|
|
26
|
+
}, __VLS_77: {}, __VLS_88: {};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
[K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any;
|
|
29
|
+
} & {
|
|
30
|
+
[K in NonNullable<typeof __VLS_36>]?: (props: typeof __VLS_37) => any;
|
|
31
|
+
} & {
|
|
32
|
+
[K in NonNullable<typeof __VLS_54>]?: (props: typeof __VLS_55) => any;
|
|
33
|
+
} & {
|
|
34
|
+
[K in NonNullable<typeof __VLS_74>]?: (props: typeof __VLS_75) => any;
|
|
35
|
+
} & {
|
|
36
|
+
toolbar?: (props: typeof __VLS_1) => any;
|
|
37
|
+
} & {
|
|
38
|
+
'toolbar-left-prefix'?: (props: typeof __VLS_3) => any;
|
|
39
|
+
} & {
|
|
40
|
+
'toolbar-left'?: (props: typeof __VLS_5) => any;
|
|
41
|
+
} & {
|
|
42
|
+
'toolbar-left-suffix'?: (props: typeof __VLS_7) => any;
|
|
43
|
+
} & {
|
|
44
|
+
'toolbar-right-prefix'?: (props: typeof __VLS_9) => any;
|
|
45
|
+
} & {
|
|
46
|
+
'toolbar-right'?: (props: typeof __VLS_11) => any;
|
|
47
|
+
} & {
|
|
48
|
+
'toolbar-right-suffix'?: (props: typeof __VLS_13) => any;
|
|
49
|
+
} & {
|
|
50
|
+
empty?: (props: typeof __VLS_47) => any;
|
|
51
|
+
} & {
|
|
52
|
+
expand?: (props: typeof __VLS_65) => any;
|
|
53
|
+
} & {
|
|
54
|
+
summary?: (props: typeof __VLS_71) => any;
|
|
55
|
+
} & {
|
|
56
|
+
loading?: (props: typeof __VLS_77) => any;
|
|
57
|
+
} & {
|
|
58
|
+
default?: (props: typeof __VLS_88) => any;
|
|
59
|
+
};
|
|
60
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
61
|
+
readonly data: {
|
|
62
|
+
readonly type: import("vue").PropType<Record<string, unknown>[]>;
|
|
63
|
+
readonly default: () => never[];
|
|
64
|
+
};
|
|
65
|
+
readonly columns: {
|
|
66
|
+
readonly type: import("vue").PropType<TableColumn[]>;
|
|
67
|
+
readonly default: () => never[];
|
|
68
|
+
};
|
|
69
|
+
readonly rowKey: {
|
|
70
|
+
readonly type: import("vue").PropType<import("./table").RowKey>;
|
|
71
|
+
readonly default: "id";
|
|
72
|
+
};
|
|
73
|
+
readonly size: {
|
|
74
|
+
readonly type: import("vue").PropType<import("./table").TableSize>;
|
|
75
|
+
readonly default: "default";
|
|
76
|
+
};
|
|
77
|
+
readonly height: {
|
|
78
|
+
readonly type: import("vue").PropType<number | string>;
|
|
79
|
+
};
|
|
80
|
+
readonly maxHeight: {
|
|
81
|
+
readonly type: import("vue").PropType<number | string>;
|
|
82
|
+
};
|
|
83
|
+
readonly width: {
|
|
84
|
+
readonly type: import("vue").PropType<number | string>;
|
|
85
|
+
};
|
|
86
|
+
readonly border: {
|
|
87
|
+
readonly type: import("vue").PropType<boolean | "full" | "outer" | "inner" | "none">;
|
|
88
|
+
readonly default: false;
|
|
89
|
+
};
|
|
90
|
+
readonly stripe: {
|
|
91
|
+
readonly type: BooleanConstructor;
|
|
92
|
+
readonly default: false;
|
|
93
|
+
};
|
|
94
|
+
readonly highlightCurrentRow: {
|
|
95
|
+
readonly type: BooleanConstructor;
|
|
96
|
+
readonly default: false;
|
|
97
|
+
};
|
|
98
|
+
readonly currentRowKey: {
|
|
99
|
+
readonly type: import("vue").PropType<string | number>;
|
|
100
|
+
};
|
|
101
|
+
readonly showHeader: {
|
|
102
|
+
readonly type: BooleanConstructor;
|
|
103
|
+
readonly default: true;
|
|
104
|
+
};
|
|
105
|
+
readonly emptyText: {
|
|
106
|
+
readonly type: StringConstructor;
|
|
107
|
+
readonly default: "";
|
|
108
|
+
};
|
|
109
|
+
readonly fit: {
|
|
110
|
+
readonly type: BooleanConstructor;
|
|
111
|
+
readonly default: true;
|
|
112
|
+
};
|
|
113
|
+
readonly sortConfig: {
|
|
114
|
+
readonly type: import("vue").PropType<import("./table").TableSortConfig>;
|
|
115
|
+
};
|
|
116
|
+
readonly filterConfig: {
|
|
117
|
+
readonly type: import("vue").PropType<import("./table").TableFilterConfig>;
|
|
118
|
+
};
|
|
119
|
+
readonly pagination: {
|
|
120
|
+
readonly type: import("vue").PropType<boolean | TablePaginationConfig>;
|
|
121
|
+
readonly default: false;
|
|
122
|
+
};
|
|
123
|
+
readonly selectionConfig: {
|
|
124
|
+
readonly type: import("vue").PropType<import("./table").TableSelectionConfig>;
|
|
125
|
+
};
|
|
126
|
+
readonly expandConfig: {
|
|
127
|
+
readonly type: import("vue").PropType<import("./table").TableExpandConfig>;
|
|
128
|
+
};
|
|
129
|
+
readonly treeConfig: {
|
|
130
|
+
readonly type: import("vue").PropType<import("./table").TableTreeConfig>;
|
|
131
|
+
};
|
|
132
|
+
readonly virtualConfig: {
|
|
133
|
+
readonly type: import("vue").PropType<import("./table").TableVirtualConfig>;
|
|
134
|
+
};
|
|
135
|
+
readonly dragConfig: {
|
|
136
|
+
readonly type: import("vue").PropType<import("./table").TableDragConfig>;
|
|
137
|
+
};
|
|
138
|
+
readonly summaryConfig: {
|
|
139
|
+
readonly type: import("vue").PropType<import("./table").TableSummaryConfig>;
|
|
140
|
+
};
|
|
141
|
+
readonly toolbarConfig: {
|
|
142
|
+
readonly type: import("vue").PropType<import("./table").TableToolbarConfig>;
|
|
143
|
+
};
|
|
144
|
+
readonly emptyConfig: {
|
|
145
|
+
readonly type: import("vue").PropType<import("./table").TableEmptyConfig>;
|
|
146
|
+
};
|
|
147
|
+
readonly loading: {
|
|
148
|
+
readonly type: import("vue").PropType<boolean | import("./table").TableLoadingConfig>;
|
|
149
|
+
readonly default: false;
|
|
150
|
+
};
|
|
151
|
+
readonly rowConfig: {
|
|
152
|
+
readonly type: import("vue").PropType<import("./table").TableRowConfig>;
|
|
153
|
+
};
|
|
154
|
+
readonly headerConfig: {
|
|
155
|
+
readonly type: import("vue").PropType<import("./table").TableHeaderConfig>;
|
|
156
|
+
};
|
|
157
|
+
readonly contextMenuConfig: {
|
|
158
|
+
readonly type: import("vue").PropType<import("./table").TableContextMenuConfig>;
|
|
159
|
+
};
|
|
160
|
+
readonly tableLayout: {
|
|
161
|
+
readonly type: import("vue").PropType<"auto" | "fixed">;
|
|
162
|
+
readonly default: "fixed";
|
|
163
|
+
};
|
|
164
|
+
readonly tooltipEffect: {
|
|
165
|
+
readonly type: import("vue").PropType<"dark" | "light">;
|
|
166
|
+
readonly default: "dark";
|
|
167
|
+
};
|
|
168
|
+
readonly spanMethod: {
|
|
169
|
+
readonly type: import("vue").PropType<(params: {
|
|
170
|
+
row: Record<string, unknown>;
|
|
171
|
+
column: TableColumn;
|
|
172
|
+
rowIndex: number;
|
|
173
|
+
columnIndex: number;
|
|
174
|
+
}) => {
|
|
175
|
+
rowspan: number;
|
|
176
|
+
colspan: number;
|
|
177
|
+
} | [number, number] | void>;
|
|
178
|
+
};
|
|
179
|
+
readonly rowClassName: {
|
|
180
|
+
readonly type: import("vue").PropType<string | ((params: {
|
|
181
|
+
row: Record<string, unknown>;
|
|
182
|
+
rowIndex: number;
|
|
183
|
+
}) => string)>;
|
|
184
|
+
};
|
|
185
|
+
readonly rowStyle: {
|
|
186
|
+
readonly type: import("vue").PropType<CSSProperties | ((params: {
|
|
187
|
+
row: Record<string, unknown>;
|
|
188
|
+
rowIndex: number;
|
|
189
|
+
}) => CSSProperties)>;
|
|
190
|
+
};
|
|
191
|
+
readonly cellClassName: {
|
|
192
|
+
readonly type: import("vue").PropType<string | ((params: {
|
|
193
|
+
row: Record<string, unknown>;
|
|
194
|
+
column: TableColumn;
|
|
195
|
+
rowIndex: number;
|
|
196
|
+
columnIndex: number;
|
|
197
|
+
}) => string)>;
|
|
198
|
+
};
|
|
199
|
+
readonly cellStyle: {
|
|
200
|
+
readonly type: import("vue").PropType<CSSProperties | ((params: {
|
|
201
|
+
row: Record<string, unknown>;
|
|
202
|
+
column: TableColumn;
|
|
203
|
+
rowIndex: number;
|
|
204
|
+
columnIndex: number;
|
|
205
|
+
}) => CSSProperties)>;
|
|
206
|
+
};
|
|
207
|
+
readonly headerRowClassName: {
|
|
208
|
+
readonly type: import("vue").PropType<string | ((params: {
|
|
209
|
+
rowIndex: number;
|
|
210
|
+
}) => string)>;
|
|
211
|
+
};
|
|
212
|
+
readonly headerRowStyle: {
|
|
213
|
+
readonly type: import("vue").PropType<CSSProperties | ((params: {
|
|
214
|
+
rowIndex: number;
|
|
215
|
+
}) => CSSProperties)>;
|
|
216
|
+
};
|
|
217
|
+
readonly headerCellClassName: {
|
|
218
|
+
readonly type: import("vue").PropType<string | ((params: {
|
|
219
|
+
column: TableColumn;
|
|
220
|
+
columnIndex: number;
|
|
221
|
+
}) => string)>;
|
|
222
|
+
};
|
|
223
|
+
readonly headerCellStyle: {
|
|
224
|
+
readonly type: import("vue").PropType<CSSProperties | ((params: {
|
|
225
|
+
column: TableColumn;
|
|
226
|
+
columnIndex: number;
|
|
227
|
+
}) => CSSProperties)>;
|
|
228
|
+
};
|
|
229
|
+
readonly lazy: {
|
|
230
|
+
readonly type: BooleanConstructor;
|
|
231
|
+
readonly default: false;
|
|
232
|
+
};
|
|
233
|
+
readonly loadMethod: {
|
|
234
|
+
readonly type: import("vue").PropType<(row: Record<string, unknown>) => Promise<Record<string, unknown>[]>>;
|
|
235
|
+
};
|
|
236
|
+
readonly resizable: {
|
|
237
|
+
readonly type: BooleanConstructor;
|
|
238
|
+
readonly default: false;
|
|
239
|
+
};
|
|
240
|
+
readonly showIndex: {
|
|
241
|
+
readonly type: BooleanConstructor;
|
|
242
|
+
readonly default: false;
|
|
243
|
+
};
|
|
244
|
+
readonly indexConfig: {
|
|
245
|
+
readonly type: import("vue").PropType<{
|
|
246
|
+
label
|
|
247
|
+
/**
|
|
248
|
+
* YhTable - 高性能表格组件
|
|
249
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
250
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
251
|
+
*/
|
|
252
|
+
?: string;
|
|
253
|
+
width
|
|
254
|
+
/**
|
|
255
|
+
* YhTable - 高性能表格组件
|
|
256
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
257
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
258
|
+
*/
|
|
259
|
+
?: number | string;
|
|
260
|
+
fixed
|
|
261
|
+
/**
|
|
262
|
+
* YhTable - 高性能表格组件
|
|
263
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
264
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
265
|
+
*/
|
|
266
|
+
?: import("./table").FixedPosition;
|
|
267
|
+
method
|
|
268
|
+
/**
|
|
269
|
+
* YhTable - 高性能表格组件
|
|
270
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
271
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
272
|
+
*/
|
|
273
|
+
?: (rowIndex: number) => number | string;
|
|
274
|
+
}>;
|
|
275
|
+
};
|
|
276
|
+
readonly autoHeight: {
|
|
277
|
+
readonly type: BooleanConstructor;
|
|
278
|
+
readonly default: false;
|
|
279
|
+
};
|
|
280
|
+
readonly keepScroll: {
|
|
281
|
+
readonly type: BooleanConstructor;
|
|
282
|
+
readonly default: false;
|
|
283
|
+
};
|
|
284
|
+
readonly syncScroll: {
|
|
285
|
+
readonly type: BooleanConstructor;
|
|
286
|
+
readonly default: true;
|
|
287
|
+
};
|
|
288
|
+
readonly scrollOptimize: {
|
|
289
|
+
readonly type: BooleanConstructor;
|
|
290
|
+
readonly default: true;
|
|
291
|
+
};
|
|
292
|
+
readonly themeOverrides: {
|
|
293
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
294
|
+
readonly default: undefined;
|
|
295
|
+
};
|
|
296
|
+
}>, {
|
|
297
|
+
getSelectionRows: () => Record<string, unknown>[];
|
|
298
|
+
getSelectionRowKeys: () => Array<string | number>;
|
|
299
|
+
toggleRowSelection: (row: Record<string, unknown>, selected
|
|
300
|
+
/**
|
|
301
|
+
* YhTable - 高性能表格组件
|
|
302
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
303
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
304
|
+
*/
|
|
305
|
+
?: boolean) => void;
|
|
306
|
+
toggleAllSelection: () => void;
|
|
307
|
+
clearSelection: () => void;
|
|
308
|
+
setCurrentRow: (row: Record<string, unknown> | null) => void;
|
|
309
|
+
toggleRowExpansion: (row: Record<string, unknown>, expanded
|
|
310
|
+
/**
|
|
311
|
+
* YhTable - 高性能表格组件
|
|
312
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
313
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
314
|
+
*/
|
|
315
|
+
?: boolean) => void;
|
|
316
|
+
setExpandedRowKeys: (keys: Array<string | number>) => void;
|
|
317
|
+
getExpandedRowKeys: () => Array<string | number>;
|
|
318
|
+
sort: (prop: string, order: SortOrder) => void;
|
|
319
|
+
clearSort: () => void;
|
|
320
|
+
filter: (prop: string, values: unknown[]) => void;
|
|
321
|
+
clearFilter: (props
|
|
322
|
+
/**
|
|
323
|
+
* YhTable - 高性能表格组件
|
|
324
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
325
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
326
|
+
*/
|
|
327
|
+
?: string | string[]) => void;
|
|
328
|
+
doLayout: () => void;
|
|
329
|
+
refresh: () => void;
|
|
330
|
+
scrollTo: (options: {
|
|
331
|
+
left
|
|
332
|
+
/**
|
|
333
|
+
* YhTable - 高性能表格组件
|
|
334
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
335
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
336
|
+
*/
|
|
337
|
+
?: number;
|
|
338
|
+
top
|
|
339
|
+
/**
|
|
340
|
+
* YhTable - 高性能表格组件
|
|
341
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
342
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
343
|
+
*/
|
|
344
|
+
?: number;
|
|
345
|
+
row
|
|
346
|
+
/**
|
|
347
|
+
* YhTable - 高性能表格组件
|
|
348
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
349
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
350
|
+
*/
|
|
351
|
+
?: Record<string, unknown>;
|
|
352
|
+
rowIndex
|
|
353
|
+
/**
|
|
354
|
+
* YhTable - 高性能表格组件
|
|
355
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
356
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
357
|
+
*/
|
|
358
|
+
?: number;
|
|
359
|
+
column
|
|
360
|
+
/**
|
|
361
|
+
* YhTable - 高性能表格组件
|
|
362
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
363
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
364
|
+
*/
|
|
365
|
+
?: TableColumn;
|
|
366
|
+
columnIndex
|
|
367
|
+
/**
|
|
368
|
+
* YhTable - 高性能表格组件
|
|
369
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
370
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
371
|
+
*/
|
|
372
|
+
?: number;
|
|
373
|
+
}) => void;
|
|
374
|
+
getTableData: () => {
|
|
375
|
+
fullData: Record<string, unknown>[];
|
|
376
|
+
tableData: Record<string, unknown>[];
|
|
377
|
+
};
|
|
378
|
+
exportData: (config
|
|
379
|
+
/**
|
|
380
|
+
* YhTable - 高性能表格组件
|
|
381
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
382
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
383
|
+
*/
|
|
384
|
+
?: Record<string, unknown>) => Promise<string | void>;
|
|
385
|
+
print: (config
|
|
386
|
+
/**
|
|
387
|
+
* YhTable - 高性能表格组件
|
|
388
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
389
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
390
|
+
*/
|
|
391
|
+
?: Record<string, unknown>) => Promise<void>;
|
|
392
|
+
openImport: (config
|
|
393
|
+
/**
|
|
394
|
+
* YhTable - 高性能表格组件
|
|
395
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
396
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
397
|
+
*/
|
|
398
|
+
?: Record<string, unknown>) => Promise<Record<string, unknown>[]>;
|
|
399
|
+
importFile: (file: File, config
|
|
400
|
+
/**
|
|
401
|
+
* YhTable - 高性能表格组件
|
|
402
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
403
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
404
|
+
*/
|
|
405
|
+
?: Record<string, unknown>) => Promise<Record<string, unknown>[]>;
|
|
406
|
+
importData: (content: string | Record<string, unknown>[], config
|
|
407
|
+
/**
|
|
408
|
+
* YhTable - 高性能表格组件
|
|
409
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
410
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
411
|
+
*/
|
|
412
|
+
?: Record<string, unknown>) => Promise<Record<string, unknown>[]>;
|
|
413
|
+
printMultiple: (tables: Array<{
|
|
414
|
+
title
|
|
415
|
+
/**
|
|
416
|
+
* YhTable - 高性能表格组件
|
|
417
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
418
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
419
|
+
*/
|
|
420
|
+
?: string;
|
|
421
|
+
data: Record<string, unknown>[];
|
|
422
|
+
columns
|
|
423
|
+
/**
|
|
424
|
+
* YhTable - 高性能表格组件
|
|
425
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
426
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
427
|
+
*/
|
|
428
|
+
?: TableColumn[];
|
|
429
|
+
config
|
|
430
|
+
/**
|
|
431
|
+
* YhTable - 高性能表格组件
|
|
432
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
433
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
434
|
+
*/
|
|
435
|
+
?: Record<string, unknown>;
|
|
436
|
+
}>, config
|
|
437
|
+
/**
|
|
438
|
+
* YhTable - 高性能表格组件
|
|
439
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
440
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
441
|
+
*/
|
|
442
|
+
?: Record<string, unknown>) => Promise<void>;
|
|
443
|
+
printTemplate: (templateHtml: string, config
|
|
444
|
+
/**
|
|
445
|
+
* YhTable - 高性能表格组件
|
|
446
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
447
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
448
|
+
*/
|
|
449
|
+
?: Record<string, unknown>) => Promise<void>;
|
|
450
|
+
toggleFullscreen: () => void;
|
|
451
|
+
getColumns: () => TableColumn[];
|
|
452
|
+
setColumnVisible: (prop: string, visible: boolean) => void;
|
|
453
|
+
resetColumns: () => void;
|
|
454
|
+
insertRow: (row: Record<string, unknown>, index
|
|
455
|
+
/**
|
|
456
|
+
* YhTable - 高性能表格组件
|
|
457
|
+
* 融合 vxe-table、Element Plus、Naive UI、Ant Design 各家之长
|
|
458
|
+
* 支持虚拟滚动、树形数据、拖拽、固定列/行、汇总行等高级功能
|
|
459
|
+
*/
|
|
460
|
+
?: number) => void;
|
|
461
|
+
removeRow: (row: Record<string, unknown> | Record<string, unknown>[]) => void;
|
|
462
|
+
updateRow: (row: Record<string, unknown>, newRow: Record<string, unknown>) => void;
|
|
463
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
464
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
465
|
+
readonly data: Record<string, unknown>[];
|
|
466
|
+
readonly size: import("./table").TableSize;
|
|
467
|
+
readonly border: boolean | "none" | "inner" | "full" | "outer";
|
|
468
|
+
readonly tableLayout: "fixed" | "auto";
|
|
469
|
+
readonly columns: TableColumn<Record<string, unknown>>[];
|
|
470
|
+
readonly loading: boolean | import("./table").TableLoadingConfig;
|
|
471
|
+
readonly lazy: boolean;
|
|
472
|
+
readonly fit: boolean;
|
|
473
|
+
readonly resizable: boolean;
|
|
474
|
+
readonly showHeader: boolean;
|
|
475
|
+
readonly pagination: boolean | TablePaginationConfig;
|
|
476
|
+
readonly emptyText: string;
|
|
477
|
+
readonly rowKey: import("./table").RowKey;
|
|
478
|
+
readonly stripe: boolean;
|
|
479
|
+
readonly highlightCurrentRow: boolean;
|
|
480
|
+
readonly tooltipEffect: "dark" | "light";
|
|
481
|
+
readonly showIndex: boolean;
|
|
482
|
+
readonly autoHeight: boolean;
|
|
483
|
+
readonly keepScroll: boolean;
|
|
484
|
+
readonly syncScroll: boolean;
|
|
485
|
+
readonly scrollOptimize: boolean;
|
|
486
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
487
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
488
|
+
export default _default;
|
|
489
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
490
|
+
new (): {
|
|
491
|
+
$slots: S;
|
|
492
|
+
};
|
|
493
|
+
};
|