@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,217 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* YhDialog - 对话框
|
|
3
|
+
* @description 旗舰级弹窗组件,深度对标 市面组件库 / Naive UI。支持亚克力玻璃态、智能拖拽、锁定滚动、焦点捕获等顶级能力。
|
|
4
|
+
*/
|
|
5
|
+
import { type CSSProperties } from 'vue';
|
|
6
|
+
declare var __VLS_13: {}, __VLS_31: {}, __VLS_37: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
header?: (props: typeof __VLS_13) => any;
|
|
9
|
+
} & {
|
|
10
|
+
default?: (props: typeof __VLS_31) => any;
|
|
11
|
+
} & {
|
|
12
|
+
footer?: (props: typeof __VLS_37) => any;
|
|
13
|
+
};
|
|
14
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
15
|
+
readonly modelValue: {
|
|
16
|
+
readonly type: BooleanConstructor;
|
|
17
|
+
readonly default: false;
|
|
18
|
+
};
|
|
19
|
+
readonly title: {
|
|
20
|
+
readonly type: import("vue").PropType<import("./dialog").RenderContent>;
|
|
21
|
+
};
|
|
22
|
+
readonly showIcon: {
|
|
23
|
+
readonly type: BooleanConstructor;
|
|
24
|
+
readonly default: true;
|
|
25
|
+
};
|
|
26
|
+
readonly style: {
|
|
27
|
+
readonly type: import("vue").PropType<string | CSSProperties>;
|
|
28
|
+
};
|
|
29
|
+
readonly titleClass: StringConstructor;
|
|
30
|
+
readonly titleStyle: import("vue").PropType<CSSProperties | string>;
|
|
31
|
+
readonly transformOrigin: {
|
|
32
|
+
readonly type: import("vue").PropType<"mouse" | "center">;
|
|
33
|
+
readonly default: "mouse";
|
|
34
|
+
};
|
|
35
|
+
readonly type: {
|
|
36
|
+
readonly type: import("vue").PropType<"error" | "success" | "warning" | "info" | "default">;
|
|
37
|
+
readonly default: "default";
|
|
38
|
+
};
|
|
39
|
+
readonly loading: {
|
|
40
|
+
readonly type: BooleanConstructor;
|
|
41
|
+
readonly default: false;
|
|
42
|
+
};
|
|
43
|
+
readonly content: {
|
|
44
|
+
readonly type: import("vue").PropType<import("./dialog").RenderContent>;
|
|
45
|
+
};
|
|
46
|
+
readonly contentClass: StringConstructor;
|
|
47
|
+
readonly contentStyle: import("vue").PropType<CSSProperties | string>;
|
|
48
|
+
readonly action: {
|
|
49
|
+
readonly type: import("vue").PropType<() => import("vue").VNode | import("vue").Component>;
|
|
50
|
+
};
|
|
51
|
+
readonly actionClass: StringConstructor;
|
|
52
|
+
readonly actionStyle: import("vue").PropType<CSSProperties | string>;
|
|
53
|
+
readonly autoFocus: {
|
|
54
|
+
readonly type: BooleanConstructor;
|
|
55
|
+
readonly default: true;
|
|
56
|
+
};
|
|
57
|
+
readonly width: {
|
|
58
|
+
readonly type: import("vue").PropType<string | number>;
|
|
59
|
+
readonly default: "50%";
|
|
60
|
+
};
|
|
61
|
+
readonly top: {
|
|
62
|
+
readonly type: StringConstructor;
|
|
63
|
+
readonly default: "15vh";
|
|
64
|
+
};
|
|
65
|
+
readonly fullscreen: {
|
|
66
|
+
readonly type: BooleanConstructor;
|
|
67
|
+
readonly default: false;
|
|
68
|
+
};
|
|
69
|
+
readonly alignCenter: {
|
|
70
|
+
readonly type: BooleanConstructor;
|
|
71
|
+
readonly default: false;
|
|
72
|
+
};
|
|
73
|
+
readonly center: {
|
|
74
|
+
readonly type: BooleanConstructor;
|
|
75
|
+
readonly default: false;
|
|
76
|
+
};
|
|
77
|
+
readonly glass: {
|
|
78
|
+
readonly type: BooleanConstructor;
|
|
79
|
+
readonly default: false;
|
|
80
|
+
};
|
|
81
|
+
readonly draggable: {
|
|
82
|
+
readonly type: BooleanConstructor;
|
|
83
|
+
readonly default: false;
|
|
84
|
+
};
|
|
85
|
+
readonly lockScroll: {
|
|
86
|
+
readonly type: BooleanConstructor;
|
|
87
|
+
readonly default: true;
|
|
88
|
+
};
|
|
89
|
+
readonly modal: {
|
|
90
|
+
readonly type: BooleanConstructor;
|
|
91
|
+
readonly default: true;
|
|
92
|
+
};
|
|
93
|
+
readonly closeOnClickModal: {
|
|
94
|
+
readonly type: BooleanConstructor;
|
|
95
|
+
readonly default: true;
|
|
96
|
+
};
|
|
97
|
+
readonly closeOnPressEscape: {
|
|
98
|
+
readonly type: BooleanConstructor;
|
|
99
|
+
readonly default: true;
|
|
100
|
+
};
|
|
101
|
+
readonly showClose: {
|
|
102
|
+
readonly type: BooleanConstructor;
|
|
103
|
+
readonly default: true;
|
|
104
|
+
};
|
|
105
|
+
readonly closeIcon: {
|
|
106
|
+
readonly type: StringConstructor;
|
|
107
|
+
readonly default: "close";
|
|
108
|
+
};
|
|
109
|
+
readonly destroyOnClose: {
|
|
110
|
+
readonly type: BooleanConstructor;
|
|
111
|
+
readonly default: false;
|
|
112
|
+
};
|
|
113
|
+
readonly overflow: {
|
|
114
|
+
readonly type: BooleanConstructor;
|
|
115
|
+
readonly default: false;
|
|
116
|
+
};
|
|
117
|
+
readonly showFooter: {
|
|
118
|
+
readonly type: BooleanConstructor;
|
|
119
|
+
readonly default: true;
|
|
120
|
+
};
|
|
121
|
+
readonly cancelText: {
|
|
122
|
+
readonly type: StringConstructor;
|
|
123
|
+
readonly default: "";
|
|
124
|
+
};
|
|
125
|
+
readonly confirmText: {
|
|
126
|
+
readonly type: StringConstructor;
|
|
127
|
+
readonly default: "";
|
|
128
|
+
};
|
|
129
|
+
readonly modalClass: StringConstructor;
|
|
130
|
+
readonly customClass: StringConstructor;
|
|
131
|
+
readonly zIndex: {
|
|
132
|
+
readonly type: NumberConstructor;
|
|
133
|
+
readonly default: 2000;
|
|
134
|
+
};
|
|
135
|
+
readonly beforeClose: {
|
|
136
|
+
readonly type: import("vue").PropType<(done: () => void) => void>;
|
|
137
|
+
};
|
|
138
|
+
readonly teleportTo: {
|
|
139
|
+
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
140
|
+
readonly default: "body";
|
|
141
|
+
};
|
|
142
|
+
readonly headerAlignCenter: {
|
|
143
|
+
readonly type: BooleanConstructor;
|
|
144
|
+
readonly default: false;
|
|
145
|
+
};
|
|
146
|
+
readonly headerAlign: {
|
|
147
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
148
|
+
readonly default: "left";
|
|
149
|
+
};
|
|
150
|
+
readonly contentAlign: {
|
|
151
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
152
|
+
readonly default: "left";
|
|
153
|
+
};
|
|
154
|
+
readonly footerAlignCenter: {
|
|
155
|
+
readonly type: BooleanConstructor;
|
|
156
|
+
readonly default: false;
|
|
157
|
+
};
|
|
158
|
+
readonly footerAlign: {
|
|
159
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
160
|
+
readonly default: "right";
|
|
161
|
+
};
|
|
162
|
+
readonly swapFooterButtons: {
|
|
163
|
+
readonly type: BooleanConstructor;
|
|
164
|
+
readonly default: false;
|
|
165
|
+
};
|
|
166
|
+
readonly themeOverrides: {
|
|
167
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
168
|
+
readonly default: undefined;
|
|
169
|
+
};
|
|
170
|
+
}>, {
|
|
171
|
+
visible: import("vue").Ref<boolean>;
|
|
172
|
+
dialogRef: import("vue").Ref<HTMLElement | null>;
|
|
173
|
+
handleClose: () => void;
|
|
174
|
+
handleCancel: () => void;
|
|
175
|
+
handleConfirm: () => void;
|
|
176
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
177
|
+
readonly top: string;
|
|
178
|
+
readonly zIndex: number;
|
|
179
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
180
|
+
readonly type: "default" | "error" | "info" | "warning" | "success";
|
|
181
|
+
readonly width: string | number;
|
|
182
|
+
readonly center: boolean;
|
|
183
|
+
readonly transformOrigin: "center" | "mouse";
|
|
184
|
+
readonly overflow: boolean;
|
|
185
|
+
readonly loading: boolean;
|
|
186
|
+
readonly fullscreen: boolean;
|
|
187
|
+
readonly glass: boolean;
|
|
188
|
+
readonly closeOnPressEscape: boolean;
|
|
189
|
+
readonly draggable: boolean;
|
|
190
|
+
readonly modelValue: boolean;
|
|
191
|
+
readonly modal: boolean;
|
|
192
|
+
readonly closeOnClickModal: boolean;
|
|
193
|
+
readonly showClose: boolean;
|
|
194
|
+
readonly closeIcon: string;
|
|
195
|
+
readonly destroyOnClose: boolean;
|
|
196
|
+
readonly teleportTo: string | HTMLElement;
|
|
197
|
+
readonly showFooter: boolean;
|
|
198
|
+
readonly lockScroll: boolean;
|
|
199
|
+
readonly showIcon: boolean;
|
|
200
|
+
readonly autoFocus: boolean;
|
|
201
|
+
readonly alignCenter: boolean;
|
|
202
|
+
readonly cancelText: string;
|
|
203
|
+
readonly confirmText: string;
|
|
204
|
+
readonly headerAlignCenter: boolean;
|
|
205
|
+
readonly headerAlign: "left" | "center" | "right";
|
|
206
|
+
readonly contentAlign: "left" | "center" | "right";
|
|
207
|
+
readonly footerAlignCenter: boolean;
|
|
208
|
+
readonly footerAlign: "left" | "center" | "right";
|
|
209
|
+
readonly swapFooterButtons: boolean;
|
|
210
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
211
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
212
|
+
export default _default;
|
|
213
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
214
|
+
new (): {
|
|
215
|
+
$slots: S;
|
|
216
|
+
};
|
|
217
|
+
};
|
|
@@ -173,217 +173,39 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
173
173
|
handleClose: () => void;
|
|
174
174
|
handleCancel: () => void;
|
|
175
175
|
handleConfirm: () => void;
|
|
176
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
177
|
-
confirm: () => void;
|
|
178
|
-
cancel: () => void;
|
|
179
|
-
close: () => void;
|
|
180
|
-
closed: () => void;
|
|
181
|
-
"update:modelValue": (value: boolean) => void;
|
|
182
|
-
open: () => void;
|
|
183
|
-
opened: () => void;
|
|
184
|
-
dragStart: (evt: MouseEvent) => void;
|
|
185
|
-
dragMove: (evt: MouseEvent) => void;
|
|
186
|
-
dragEnd: (evt: MouseEvent) => void;
|
|
187
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
188
|
-
readonly modelValue: {
|
|
189
|
-
readonly type: BooleanConstructor;
|
|
190
|
-
readonly default: false;
|
|
191
|
-
};
|
|
192
|
-
readonly title: {
|
|
193
|
-
readonly type: import("vue").PropType<import("./dialog").RenderContent>;
|
|
194
|
-
};
|
|
195
|
-
readonly showIcon: {
|
|
196
|
-
readonly type: BooleanConstructor;
|
|
197
|
-
readonly default: true;
|
|
198
|
-
};
|
|
199
|
-
readonly style: {
|
|
200
|
-
readonly type: import("vue").PropType<string | CSSProperties>;
|
|
201
|
-
};
|
|
202
|
-
readonly titleClass: StringConstructor;
|
|
203
|
-
readonly titleStyle: import("vue").PropType<CSSProperties | string>;
|
|
204
|
-
readonly transformOrigin: {
|
|
205
|
-
readonly type: import("vue").PropType<"mouse" | "center">;
|
|
206
|
-
readonly default: "mouse";
|
|
207
|
-
};
|
|
208
|
-
readonly type: {
|
|
209
|
-
readonly type: import("vue").PropType<"error" | "success" | "warning" | "info" | "default">;
|
|
210
|
-
readonly default: "default";
|
|
211
|
-
};
|
|
212
|
-
readonly loading: {
|
|
213
|
-
readonly type: BooleanConstructor;
|
|
214
|
-
readonly default: false;
|
|
215
|
-
};
|
|
216
|
-
readonly content: {
|
|
217
|
-
readonly type: import("vue").PropType<import("./dialog").RenderContent>;
|
|
218
|
-
};
|
|
219
|
-
readonly contentClass: StringConstructor;
|
|
220
|
-
readonly contentStyle: import("vue").PropType<CSSProperties | string>;
|
|
221
|
-
readonly action: {
|
|
222
|
-
readonly type: import("vue").PropType<() => import("vue").VNode | import("vue").Component>;
|
|
223
|
-
};
|
|
224
|
-
readonly actionClass: StringConstructor;
|
|
225
|
-
readonly actionStyle: import("vue").PropType<CSSProperties | string>;
|
|
226
|
-
readonly autoFocus: {
|
|
227
|
-
readonly type: BooleanConstructor;
|
|
228
|
-
readonly default: true;
|
|
229
|
-
};
|
|
230
|
-
readonly width: {
|
|
231
|
-
readonly type: import("vue").PropType<string | number>;
|
|
232
|
-
readonly default: "50%";
|
|
233
|
-
};
|
|
234
|
-
readonly top: {
|
|
235
|
-
readonly type: StringConstructor;
|
|
236
|
-
readonly default: "15vh";
|
|
237
|
-
};
|
|
238
|
-
readonly fullscreen: {
|
|
239
|
-
readonly type: BooleanConstructor;
|
|
240
|
-
readonly default: false;
|
|
241
|
-
};
|
|
242
|
-
readonly alignCenter: {
|
|
243
|
-
readonly type: BooleanConstructor;
|
|
244
|
-
readonly default: false;
|
|
245
|
-
};
|
|
246
|
-
readonly center: {
|
|
247
|
-
readonly type: BooleanConstructor;
|
|
248
|
-
readonly default: false;
|
|
249
|
-
};
|
|
250
|
-
readonly glass: {
|
|
251
|
-
readonly type: BooleanConstructor;
|
|
252
|
-
readonly default: false;
|
|
253
|
-
};
|
|
254
|
-
readonly draggable: {
|
|
255
|
-
readonly type: BooleanConstructor;
|
|
256
|
-
readonly default: false;
|
|
257
|
-
};
|
|
258
|
-
readonly lockScroll: {
|
|
259
|
-
readonly type: BooleanConstructor;
|
|
260
|
-
readonly default: true;
|
|
261
|
-
};
|
|
262
|
-
readonly modal: {
|
|
263
|
-
readonly type: BooleanConstructor;
|
|
264
|
-
readonly default: true;
|
|
265
|
-
};
|
|
266
|
-
readonly closeOnClickModal: {
|
|
267
|
-
readonly type: BooleanConstructor;
|
|
268
|
-
readonly default: true;
|
|
269
|
-
};
|
|
270
|
-
readonly closeOnPressEscape: {
|
|
271
|
-
readonly type: BooleanConstructor;
|
|
272
|
-
readonly default: true;
|
|
273
|
-
};
|
|
274
|
-
readonly showClose: {
|
|
275
|
-
readonly type: BooleanConstructor;
|
|
276
|
-
readonly default: true;
|
|
277
|
-
};
|
|
278
|
-
readonly closeIcon: {
|
|
279
|
-
readonly type: StringConstructor;
|
|
280
|
-
readonly default: "close";
|
|
281
|
-
};
|
|
282
|
-
readonly destroyOnClose: {
|
|
283
|
-
readonly type: BooleanConstructor;
|
|
284
|
-
readonly default: false;
|
|
285
|
-
};
|
|
286
|
-
readonly overflow: {
|
|
287
|
-
readonly type: BooleanConstructor;
|
|
288
|
-
readonly default: false;
|
|
289
|
-
};
|
|
290
|
-
readonly showFooter: {
|
|
291
|
-
readonly type: BooleanConstructor;
|
|
292
|
-
readonly default: true;
|
|
293
|
-
};
|
|
294
|
-
readonly cancelText: {
|
|
295
|
-
readonly type: StringConstructor;
|
|
296
|
-
readonly default: "";
|
|
297
|
-
};
|
|
298
|
-
readonly confirmText: {
|
|
299
|
-
readonly type: StringConstructor;
|
|
300
|
-
readonly default: "";
|
|
301
|
-
};
|
|
302
|
-
readonly modalClass: StringConstructor;
|
|
303
|
-
readonly customClass: StringConstructor;
|
|
304
|
-
readonly zIndex: {
|
|
305
|
-
readonly type: NumberConstructor;
|
|
306
|
-
readonly default: 2000;
|
|
307
|
-
};
|
|
308
|
-
readonly beforeClose: {
|
|
309
|
-
readonly type: import("vue").PropType<(done: () => void) => void>;
|
|
310
|
-
};
|
|
311
|
-
readonly teleportTo: {
|
|
312
|
-
readonly type: import("vue").PropType<string | HTMLElement>;
|
|
313
|
-
readonly default: "body";
|
|
314
|
-
};
|
|
315
|
-
readonly headerAlignCenter: {
|
|
316
|
-
readonly type: BooleanConstructor;
|
|
317
|
-
readonly default: false;
|
|
318
|
-
};
|
|
319
|
-
readonly headerAlign: {
|
|
320
|
-
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
321
|
-
readonly default: "left";
|
|
322
|
-
};
|
|
323
|
-
readonly contentAlign: {
|
|
324
|
-
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
325
|
-
readonly default: "left";
|
|
326
|
-
};
|
|
327
|
-
readonly footerAlignCenter: {
|
|
328
|
-
readonly type: BooleanConstructor;
|
|
329
|
-
readonly default: false;
|
|
330
|
-
};
|
|
331
|
-
readonly footerAlign: {
|
|
332
|
-
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
333
|
-
readonly default: "right";
|
|
334
|
-
};
|
|
335
|
-
readonly swapFooterButtons: {
|
|
336
|
-
readonly type: BooleanConstructor;
|
|
337
|
-
readonly default: false;
|
|
338
|
-
};
|
|
339
|
-
readonly themeOverrides: {
|
|
340
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
341
|
-
readonly default: undefined;
|
|
342
|
-
};
|
|
343
|
-
}>> & Readonly<{
|
|
344
|
-
onConfirm?: (() => any) | undefined;
|
|
345
|
-
onCancel?: (() => any) | undefined;
|
|
346
|
-
onClose?: (() => any) | undefined;
|
|
347
|
-
onClosed?: (() => any) | undefined;
|
|
348
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
349
|
-
onOpen?: (() => any) | undefined;
|
|
350
|
-
onOpened?: (() => any) | undefined;
|
|
351
|
-
onDragStart?: ((evt: MouseEvent) => any) | undefined;
|
|
352
|
-
onDragMove?: ((evt: MouseEvent) => any) | undefined;
|
|
353
|
-
onDragEnd?: ((evt: MouseEvent) => any) | undefined;
|
|
354
|
-
}>, {
|
|
355
|
-
readonly overflow: boolean;
|
|
356
|
-
readonly loading: boolean;
|
|
357
|
-
readonly fullscreen: boolean;
|
|
358
|
-
readonly type: "default" | "error" | "success" | "warning" | "info";
|
|
359
|
-
readonly center: boolean;
|
|
176
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
360
177
|
readonly top: string;
|
|
361
|
-
readonly
|
|
178
|
+
readonly zIndex: number;
|
|
362
179
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
180
|
+
readonly type: "default" | "error" | "info" | "warning" | "success";
|
|
363
181
|
readonly width: string | number;
|
|
364
|
-
readonly
|
|
182
|
+
readonly center: boolean;
|
|
365
183
|
readonly transformOrigin: "center" | "mouse";
|
|
366
|
-
readonly
|
|
367
|
-
readonly
|
|
368
|
-
readonly
|
|
369
|
-
readonly cancelText: string;
|
|
370
|
-
readonly showFooter: boolean;
|
|
184
|
+
readonly overflow: boolean;
|
|
185
|
+
readonly loading: boolean;
|
|
186
|
+
readonly fullscreen: boolean;
|
|
371
187
|
readonly glass: boolean;
|
|
372
|
-
readonly closeIcon: string;
|
|
373
|
-
readonly showIcon: boolean;
|
|
374
|
-
readonly autoFocus: boolean;
|
|
375
|
-
readonly alignCenter: boolean;
|
|
376
|
-
readonly lockScroll: boolean;
|
|
377
|
-
readonly closeOnClickModal: boolean;
|
|
378
188
|
readonly closeOnPressEscape: boolean;
|
|
189
|
+
readonly draggable: boolean;
|
|
190
|
+
readonly modelValue: boolean;
|
|
191
|
+
readonly modal: boolean;
|
|
192
|
+
readonly closeOnClickModal: boolean;
|
|
379
193
|
readonly showClose: boolean;
|
|
194
|
+
readonly closeIcon: string;
|
|
380
195
|
readonly destroyOnClose: boolean;
|
|
381
196
|
readonly teleportTo: string | HTMLElement;
|
|
197
|
+
readonly showFooter: boolean;
|
|
198
|
+
readonly lockScroll: boolean;
|
|
199
|
+
readonly showIcon: boolean;
|
|
200
|
+
readonly autoFocus: boolean;
|
|
201
|
+
readonly alignCenter: boolean;
|
|
202
|
+
readonly cancelText: string;
|
|
203
|
+
readonly confirmText: string;
|
|
382
204
|
readonly headerAlignCenter: boolean;
|
|
383
|
-
readonly headerAlign: "
|
|
384
|
-
readonly contentAlign: "
|
|
205
|
+
readonly headerAlign: "left" | "center" | "right";
|
|
206
|
+
readonly contentAlign: "left" | "center" | "right";
|
|
385
207
|
readonly footerAlignCenter: boolean;
|
|
386
|
-
readonly footerAlign: "
|
|
208
|
+
readonly footerAlign: "left" | "center" | "right";
|
|
387
209
|
readonly swapFooterButtons: boolean;
|
|
388
210
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
389
211
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
package/dist/divider/index.d.ts
CHANGED
|
@@ -1,117 +1,5 @@
|
|
|
1
1
|
import Divider from './src/divider.vue';
|
|
2
|
-
export declare const YhDivider:
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
readonly direction: {
|
|
5
|
-
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
6
|
-
readonly default: "horizontal";
|
|
7
|
-
};
|
|
8
|
-
readonly contentPosition: {
|
|
9
|
-
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
10
|
-
readonly default: "center";
|
|
11
|
-
};
|
|
12
|
-
readonly borderStyle: {
|
|
13
|
-
readonly type: import("vue").PropType<"solid" | "dashed" | "dotted" | "double">;
|
|
14
|
-
readonly default: "solid";
|
|
15
|
-
};
|
|
16
|
-
readonly borderWidth: {
|
|
17
|
-
readonly type: import("vue").PropType<string | number>;
|
|
18
|
-
readonly default: "";
|
|
19
|
-
};
|
|
20
|
-
readonly color: {
|
|
21
|
-
readonly type: StringConstructor;
|
|
22
|
-
readonly default: "";
|
|
23
|
-
};
|
|
24
|
-
readonly themeOverrides: {
|
|
25
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
26
|
-
readonly default: undefined;
|
|
27
|
-
};
|
|
28
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
29
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
30
|
-
readonly borderWidth: string | number;
|
|
31
|
-
readonly color: string;
|
|
32
|
-
readonly direction: "vertical" | "horizontal";
|
|
33
|
-
readonly borderStyle: "dashed" | "dotted" | "double" | "solid";
|
|
34
|
-
readonly contentPosition: "center" | "left" | "right";
|
|
35
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
36
|
-
P: {};
|
|
37
|
-
B: {};
|
|
38
|
-
D: {};
|
|
39
|
-
C: {};
|
|
40
|
-
M: {};
|
|
41
|
-
Defaults: {};
|
|
42
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
readonly direction: {
|
|
44
|
-
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
45
|
-
readonly default: "horizontal";
|
|
46
|
-
};
|
|
47
|
-
readonly contentPosition: {
|
|
48
|
-
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
49
|
-
readonly default: "center";
|
|
50
|
-
};
|
|
51
|
-
readonly borderStyle: {
|
|
52
|
-
readonly type: import("vue").PropType<"solid" | "dashed" | "dotted" | "double">;
|
|
53
|
-
readonly default: "solid";
|
|
54
|
-
};
|
|
55
|
-
readonly borderWidth: {
|
|
56
|
-
readonly type: import("vue").PropType<string | number>;
|
|
57
|
-
readonly default: "";
|
|
58
|
-
};
|
|
59
|
-
readonly color: {
|
|
60
|
-
readonly type: StringConstructor;
|
|
61
|
-
readonly default: "";
|
|
62
|
-
};
|
|
63
|
-
readonly themeOverrides: {
|
|
64
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
65
|
-
readonly default: undefined;
|
|
66
|
-
};
|
|
67
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
68
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
69
|
-
readonly borderWidth: string | number;
|
|
70
|
-
readonly color: string;
|
|
71
|
-
readonly direction: "vertical" | "horizontal";
|
|
72
|
-
readonly borderStyle: "dashed" | "dotted" | "double" | "solid";
|
|
73
|
-
readonly contentPosition: "center" | "left" | "right";
|
|
74
|
-
}>;
|
|
75
|
-
__isFragment?: never;
|
|
76
|
-
__isTeleport?: never;
|
|
77
|
-
__isSuspense?: never;
|
|
78
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
79
|
-
readonly direction: {
|
|
80
|
-
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
81
|
-
readonly default: "horizontal";
|
|
82
|
-
};
|
|
83
|
-
readonly contentPosition: {
|
|
84
|
-
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
85
|
-
readonly default: "center";
|
|
86
|
-
};
|
|
87
|
-
readonly borderStyle: {
|
|
88
|
-
readonly type: import("vue").PropType<"solid" | "dashed" | "dotted" | "double">;
|
|
89
|
-
readonly default: "solid";
|
|
90
|
-
};
|
|
91
|
-
readonly borderWidth: {
|
|
92
|
-
readonly type: import("vue").PropType<string | number>;
|
|
93
|
-
readonly default: "";
|
|
94
|
-
};
|
|
95
|
-
readonly color: {
|
|
96
|
-
readonly type: StringConstructor;
|
|
97
|
-
readonly default: "";
|
|
98
|
-
};
|
|
99
|
-
readonly themeOverrides: {
|
|
100
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
101
|
-
readonly default: undefined;
|
|
102
|
-
};
|
|
103
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
104
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
105
|
-
readonly borderWidth: string | number;
|
|
106
|
-
readonly color: string;
|
|
107
|
-
readonly direction: "vertical" | "horizontal";
|
|
108
|
-
readonly borderStyle: "dashed" | "dotted" | "double" | "solid";
|
|
109
|
-
readonly contentPosition: "center" | "left" | "right";
|
|
110
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
111
|
-
$slots: {
|
|
112
|
-
default?: (props: {}) => any;
|
|
113
|
-
};
|
|
114
|
-
})> & Record<string, unknown>;
|
|
2
|
+
export declare const YhDivider: any;
|
|
115
3
|
export default YhDivider;
|
|
116
4
|
export * from './src/divider';
|
|
117
5
|
export type DividerInstance = InstanceType<typeof Divider>;
|
|
@@ -0,0 +1,69 @@
|
|
|
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 direction: {
|
|
7
|
+
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
8
|
+
readonly default: "horizontal";
|
|
9
|
+
};
|
|
10
|
+
readonly contentPosition: {
|
|
11
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
12
|
+
readonly default: "center";
|
|
13
|
+
};
|
|
14
|
+
readonly borderStyle: {
|
|
15
|
+
readonly type: import("vue").PropType<"solid" | "dashed" | "dotted" | "double">;
|
|
16
|
+
readonly default: "solid";
|
|
17
|
+
};
|
|
18
|
+
readonly borderWidth: {
|
|
19
|
+
readonly type: import("vue").PropType<string | number>;
|
|
20
|
+
readonly default: "";
|
|
21
|
+
};
|
|
22
|
+
readonly color: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly default: "";
|
|
25
|
+
};
|
|
26
|
+
readonly themeOverrides: {
|
|
27
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
28
|
+
readonly default: undefined;
|
|
29
|
+
};
|
|
30
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
readonly direction: {
|
|
32
|
+
readonly type: import("vue").PropType<"horizontal" | "vertical">;
|
|
33
|
+
readonly default: "horizontal";
|
|
34
|
+
};
|
|
35
|
+
readonly contentPosition: {
|
|
36
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
37
|
+
readonly default: "center";
|
|
38
|
+
};
|
|
39
|
+
readonly borderStyle: {
|
|
40
|
+
readonly type: import("vue").PropType<"solid" | "dashed" | "dotted" | "double">;
|
|
41
|
+
readonly default: "solid";
|
|
42
|
+
};
|
|
43
|
+
readonly borderWidth: {
|
|
44
|
+
readonly type: import("vue").PropType<string | number>;
|
|
45
|
+
readonly default: "";
|
|
46
|
+
};
|
|
47
|
+
readonly color: {
|
|
48
|
+
readonly type: StringConstructor;
|
|
49
|
+
readonly default: "";
|
|
50
|
+
};
|
|
51
|
+
readonly themeOverrides: {
|
|
52
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
53
|
+
readonly default: undefined;
|
|
54
|
+
};
|
|
55
|
+
}>> & Readonly<{}>, {
|
|
56
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
57
|
+
readonly color: string;
|
|
58
|
+
readonly direction: "horizontal" | "vertical";
|
|
59
|
+
readonly borderStyle: "dashed" | "dotted" | "double" | "solid";
|
|
60
|
+
readonly borderWidth: string | number;
|
|
61
|
+
readonly contentPosition: "left" | "center" | "right";
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
64
|
+
export default _default;
|
|
65
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
66
|
+
new (): {
|
|
67
|
+
$slots: S;
|
|
68
|
+
};
|
|
69
|
+
};
|
|
@@ -8,7 +8,10 @@ defineOptions({
|
|
|
8
8
|
});
|
|
9
9
|
const props = defineProps(dividerProps);
|
|
10
10
|
const ns = useNamespace("divider");
|
|
11
|
-
const { themeStyle } = useComponentTheme(
|
|
11
|
+
const { themeStyle } = useComponentTheme(
|
|
12
|
+
"divider",
|
|
13
|
+
computed(() => props.themeOverrides)
|
|
14
|
+
);
|
|
12
15
|
const dividerStyle = computed(() => {
|
|
13
16
|
const styles = {
|
|
14
17
|
"--yh-divider-border-style": props.borderStyle
|
|
@@ -30,7 +33,10 @@ const classes = computed(() => [
|
|
|
30
33
|
|
|
31
34
|
<template>
|
|
32
35
|
<div :class="classes" :style="dividerStyle" role="separator">
|
|
33
|
-
<div
|
|
36
|
+
<div
|
|
37
|
+
v-if="$slots.default && direction !== 'vertical'"
|
|
38
|
+
:class="[ns.e('text'), ns.is(contentPosition)]"
|
|
39
|
+
>
|
|
34
40
|
<slot />
|
|
35
41
|
</div>
|
|
36
42
|
</div>
|
|
@@ -54,11 +54,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
54
54
|
};
|
|
55
55
|
}>> & Readonly<{}>, {
|
|
56
56
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
57
|
-
readonly borderWidth: string | number;
|
|
58
57
|
readonly color: string;
|
|
59
|
-
readonly direction: "
|
|
58
|
+
readonly direction: "horizontal" | "vertical";
|
|
60
59
|
readonly borderStyle: "dashed" | "dotted" | "double" | "solid";
|
|
61
|
-
readonly
|
|
60
|
+
readonly borderWidth: string | number;
|
|
61
|
+
readonly contentPosition: "left" | "center" | "right";
|
|
62
62
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
63
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
64
64
|
export default _default;
|