@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
|
@@ -26,7 +26,10 @@ const props = defineProps({
|
|
|
26
26
|
const emit = defineEmits(["update:modelValue", "change"]);
|
|
27
27
|
const ns = useNamespace("checkbox");
|
|
28
28
|
const checkboxGroup = inject(checkboxGroupContextKey, void 0);
|
|
29
|
-
const { themeStyle } = useComponentTheme(
|
|
29
|
+
const { themeStyle } = useComponentTheme(
|
|
30
|
+
"checkbox",
|
|
31
|
+
computed(() => props.themeOverrides || checkboxGroup?.themeOverrides)
|
|
32
|
+
);
|
|
30
33
|
const inputRef = ref();
|
|
31
34
|
const focused = ref(false);
|
|
32
35
|
const hovering = ref(false);
|
|
@@ -54,9 +57,7 @@ const isLimitDisabled = computed(() => {
|
|
|
54
57
|
const actualDisabled = computed(() => isDisabled.value || isLimitDisabled.value);
|
|
55
58
|
const isChecked = computed(() => {
|
|
56
59
|
if (isGroup.value && checkboxGroup) {
|
|
57
|
-
return (checkboxGroup.modelValue || []).includes(
|
|
58
|
-
props.value
|
|
59
|
-
);
|
|
60
|
+
return (checkboxGroup.modelValue || []).includes(props.value);
|
|
60
61
|
}
|
|
61
62
|
return props.modelValue === props.trueValue;
|
|
62
63
|
});
|
|
@@ -69,9 +70,7 @@ const checkboxClasses = computed(() => [
|
|
|
69
70
|
ns.is("focused", focused.value),
|
|
70
71
|
ns.is("border", props.border)
|
|
71
72
|
]);
|
|
72
|
-
const innerClasses = computed(() => [
|
|
73
|
-
ns.e("inner")
|
|
74
|
-
]);
|
|
73
|
+
const innerClasses = computed(() => [ns.e("inner")]);
|
|
75
74
|
const handleChange = (event) => {
|
|
76
75
|
if (actualDisabled.value) return;
|
|
77
76
|
const target = event.target;
|
|
@@ -137,12 +136,29 @@ defineExpose({
|
|
|
137
136
|
</script>
|
|
138
137
|
|
|
139
138
|
<template>
|
|
140
|
-
<label
|
|
141
|
-
|
|
139
|
+
<label
|
|
140
|
+
:class="checkboxClasses"
|
|
141
|
+
:style="themeStyle"
|
|
142
|
+
@mouseenter="hovering = true"
|
|
143
|
+
@mouseleave="hovering = false"
|
|
144
|
+
>
|
|
145
|
+
<span
|
|
146
|
+
:class="[ns.e('input'), ns.is('disabled', actualDisabled), ns.is('checked', isChecked), ns.is('indeterminate', props.indeterminate)]"
|
|
147
|
+
>
|
|
142
148
|
<span :class="innerClasses"></span>
|
|
143
|
-
<input
|
|
144
|
-
|
|
145
|
-
|
|
149
|
+
<input
|
|
150
|
+
ref="inputRef"
|
|
151
|
+
:class="ns.e('original')"
|
|
152
|
+
type="checkbox"
|
|
153
|
+
:name="name"
|
|
154
|
+
:id="id"
|
|
155
|
+
:tabindex="tabindex"
|
|
156
|
+
:disabled="actualDisabled"
|
|
157
|
+
:checked="isChecked"
|
|
158
|
+
@change="handleChange"
|
|
159
|
+
@focus="handleFocus"
|
|
160
|
+
@blur="handleBlur"
|
|
161
|
+
/>
|
|
146
162
|
</span>
|
|
147
163
|
<span v-if="$slots.default || label" :class="ns.e('label')">
|
|
148
164
|
<slot>{{ label }}</slot>
|
|
@@ -3,63 +3,30 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<
|
|
7
|
-
trueValue: boolean;
|
|
8
|
-
falseValue: boolean;
|
|
9
|
-
size: string;
|
|
10
|
-
disabled: boolean;
|
|
11
|
-
indeterminate: boolean;
|
|
12
|
-
border: boolean;
|
|
13
|
-
validateEvent: boolean;
|
|
14
|
-
}>>, {
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<CheckboxProps, {
|
|
15
7
|
ref: HTMLInputElement | undefined;
|
|
16
8
|
checked: boolean;
|
|
17
9
|
focus: () => void;
|
|
18
10
|
blur: () => void;
|
|
19
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
23
|
-
trueValue: boolean;
|
|
24
|
-
falseValue: boolean;
|
|
25
|
-
size: string;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
indeterminate: boolean;
|
|
28
|
-
border: boolean;
|
|
29
|
-
validateEvent: boolean;
|
|
30
|
-
}>>> & Readonly<{
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
12
|
+
change: (value: CheckboxValueType) => any;
|
|
13
|
+
"update:modelValue": (value: CheckboxValueType) => any;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<CheckboxProps> & Readonly<{
|
|
31
15
|
onChange?: ((value: CheckboxValueType) => any) | undefined;
|
|
32
16
|
"onUpdate:modelValue"?: ((value: CheckboxValueType) => any) | undefined;
|
|
33
17
|
}>, {
|
|
34
|
-
size: import("./checkbox").CheckboxSize;
|
|
35
18
|
disabled: boolean;
|
|
36
|
-
|
|
19
|
+
size: import("./checkbox").CheckboxSize;
|
|
37
20
|
border: boolean;
|
|
21
|
+
validateEvent: boolean;
|
|
38
22
|
trueValue: CheckboxValueType;
|
|
39
23
|
falseValue: CheckboxValueType;
|
|
40
24
|
indeterminate: boolean;
|
|
41
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
42
26
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
43
27
|
export default _default;
|
|
44
|
-
type __VLS_WithDefaults<P, D> = {
|
|
45
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
46
|
-
default: D[K];
|
|
47
|
-
}> : P[K];
|
|
48
|
-
};
|
|
49
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
50
|
-
type __VLS_TypePropsToOption<T> = {
|
|
51
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
52
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
53
|
-
} : {
|
|
54
|
-
type: import('vue').PropType<T[K]>;
|
|
55
|
-
required: true;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
28
|
type __VLS_WithSlots<T, S> = T & {
|
|
59
29
|
new (): {
|
|
60
30
|
$slots: S;
|
|
61
31
|
};
|
|
62
32
|
};
|
|
63
|
-
type __VLS_PrettifyLocal<T> = {
|
|
64
|
-
[K in keyof T]: T[K];
|
|
65
|
-
} & {};
|
package/dist/col/index.d.ts
CHANGED
|
@@ -1,192 +1,5 @@
|
|
|
1
1
|
import Col from './src/col.vue';
|
|
2
|
-
export declare const YhCol:
|
|
3
|
-
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
-
readonly tag: {
|
|
5
|
-
readonly type: StringConstructor;
|
|
6
|
-
readonly default: "div";
|
|
7
|
-
};
|
|
8
|
-
readonly span: {
|
|
9
|
-
readonly type: NumberConstructor;
|
|
10
|
-
readonly default: 24;
|
|
11
|
-
};
|
|
12
|
-
readonly offset: {
|
|
13
|
-
readonly type: NumberConstructor;
|
|
14
|
-
readonly default: 0;
|
|
15
|
-
};
|
|
16
|
-
readonly push: {
|
|
17
|
-
readonly type: NumberConstructor;
|
|
18
|
-
readonly default: 0;
|
|
19
|
-
};
|
|
20
|
-
readonly pull: {
|
|
21
|
-
readonly type: NumberConstructor;
|
|
22
|
-
readonly default: 0;
|
|
23
|
-
};
|
|
24
|
-
readonly xs: {
|
|
25
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
26
|
-
readonly default: () => {};
|
|
27
|
-
};
|
|
28
|
-
readonly sm: {
|
|
29
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
30
|
-
readonly default: () => {};
|
|
31
|
-
};
|
|
32
|
-
readonly md: {
|
|
33
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
34
|
-
readonly default: () => {};
|
|
35
|
-
};
|
|
36
|
-
readonly lg: {
|
|
37
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
38
|
-
readonly default: () => {};
|
|
39
|
-
};
|
|
40
|
-
readonly xl: {
|
|
41
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
42
|
-
readonly default: () => {};
|
|
43
|
-
};
|
|
44
|
-
readonly themeOverrides: {
|
|
45
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
46
|
-
readonly default: undefined;
|
|
47
|
-
};
|
|
48
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
|
|
49
|
-
readonly span: number;
|
|
50
|
-
readonly push: number;
|
|
51
|
-
readonly tag: string;
|
|
52
|
-
readonly md: number | import("./index.js").ColResponsiveValue;
|
|
53
|
-
readonly xs: number | import("./index.js").ColResponsiveValue;
|
|
54
|
-
readonly sm: number | import("./index.js").ColResponsiveValue;
|
|
55
|
-
readonly lg: number | import("./index.js").ColResponsiveValue;
|
|
56
|
-
readonly xl: number | import("./index.js").ColResponsiveValue;
|
|
57
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
58
|
-
readonly offset: number;
|
|
59
|
-
readonly pull: number;
|
|
60
|
-
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
61
|
-
P: {};
|
|
62
|
-
B: {};
|
|
63
|
-
D: {};
|
|
64
|
-
C: {};
|
|
65
|
-
M: {};
|
|
66
|
-
Defaults: {};
|
|
67
|
-
}, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
-
readonly tag: {
|
|
69
|
-
readonly type: StringConstructor;
|
|
70
|
-
readonly default: "div";
|
|
71
|
-
};
|
|
72
|
-
readonly span: {
|
|
73
|
-
readonly type: NumberConstructor;
|
|
74
|
-
readonly default: 24;
|
|
75
|
-
};
|
|
76
|
-
readonly offset: {
|
|
77
|
-
readonly type: NumberConstructor;
|
|
78
|
-
readonly default: 0;
|
|
79
|
-
};
|
|
80
|
-
readonly push: {
|
|
81
|
-
readonly type: NumberConstructor;
|
|
82
|
-
readonly default: 0;
|
|
83
|
-
};
|
|
84
|
-
readonly pull: {
|
|
85
|
-
readonly type: NumberConstructor;
|
|
86
|
-
readonly default: 0;
|
|
87
|
-
};
|
|
88
|
-
readonly xs: {
|
|
89
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
90
|
-
readonly default: () => {};
|
|
91
|
-
};
|
|
92
|
-
readonly sm: {
|
|
93
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
94
|
-
readonly default: () => {};
|
|
95
|
-
};
|
|
96
|
-
readonly md: {
|
|
97
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
98
|
-
readonly default: () => {};
|
|
99
|
-
};
|
|
100
|
-
readonly lg: {
|
|
101
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
102
|
-
readonly default: () => {};
|
|
103
|
-
};
|
|
104
|
-
readonly xl: {
|
|
105
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
106
|
-
readonly default: () => {};
|
|
107
|
-
};
|
|
108
|
-
readonly themeOverrides: {
|
|
109
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
110
|
-
readonly default: undefined;
|
|
111
|
-
};
|
|
112
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
113
|
-
readonly span: number;
|
|
114
|
-
readonly push: number;
|
|
115
|
-
readonly tag: string;
|
|
116
|
-
readonly md: number | import("./index.js").ColResponsiveValue;
|
|
117
|
-
readonly xs: number | import("./index.js").ColResponsiveValue;
|
|
118
|
-
readonly sm: number | import("./index.js").ColResponsiveValue;
|
|
119
|
-
readonly lg: number | import("./index.js").ColResponsiveValue;
|
|
120
|
-
readonly xl: number | import("./index.js").ColResponsiveValue;
|
|
121
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
122
|
-
readonly offset: number;
|
|
123
|
-
readonly pull: number;
|
|
124
|
-
}>;
|
|
125
|
-
__isFragment?: never;
|
|
126
|
-
__isTeleport?: never;
|
|
127
|
-
__isSuspense?: never;
|
|
128
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
129
|
-
readonly tag: {
|
|
130
|
-
readonly type: StringConstructor;
|
|
131
|
-
readonly default: "div";
|
|
132
|
-
};
|
|
133
|
-
readonly span: {
|
|
134
|
-
readonly type: NumberConstructor;
|
|
135
|
-
readonly default: 24;
|
|
136
|
-
};
|
|
137
|
-
readonly offset: {
|
|
138
|
-
readonly type: NumberConstructor;
|
|
139
|
-
readonly default: 0;
|
|
140
|
-
};
|
|
141
|
-
readonly push: {
|
|
142
|
-
readonly type: NumberConstructor;
|
|
143
|
-
readonly default: 0;
|
|
144
|
-
};
|
|
145
|
-
readonly pull: {
|
|
146
|
-
readonly type: NumberConstructor;
|
|
147
|
-
readonly default: 0;
|
|
148
|
-
};
|
|
149
|
-
readonly xs: {
|
|
150
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
151
|
-
readonly default: () => {};
|
|
152
|
-
};
|
|
153
|
-
readonly sm: {
|
|
154
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
155
|
-
readonly default: () => {};
|
|
156
|
-
};
|
|
157
|
-
readonly md: {
|
|
158
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
159
|
-
readonly default: () => {};
|
|
160
|
-
};
|
|
161
|
-
readonly lg: {
|
|
162
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
163
|
-
readonly default: () => {};
|
|
164
|
-
};
|
|
165
|
-
readonly xl: {
|
|
166
|
-
readonly type: import("vue").PropType<number | import("./index.js").ColResponsiveValue>;
|
|
167
|
-
readonly default: () => {};
|
|
168
|
-
};
|
|
169
|
-
readonly themeOverrides: {
|
|
170
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
171
|
-
readonly default: undefined;
|
|
172
|
-
};
|
|
173
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
174
|
-
readonly span: number;
|
|
175
|
-
readonly push: number;
|
|
176
|
-
readonly tag: string;
|
|
177
|
-
readonly md: number | import("./index.js").ColResponsiveValue;
|
|
178
|
-
readonly xs: number | import("./index.js").ColResponsiveValue;
|
|
179
|
-
readonly sm: number | import("./index.js").ColResponsiveValue;
|
|
180
|
-
readonly lg: number | import("./index.js").ColResponsiveValue;
|
|
181
|
-
readonly xl: number | import("./index.js").ColResponsiveValue;
|
|
182
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
183
|
-
readonly offset: number;
|
|
184
|
-
readonly pull: number;
|
|
185
|
-
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
186
|
-
$slots: {
|
|
187
|
-
default?: (props: {}) => any;
|
|
188
|
-
};
|
|
189
|
-
})> & Record<string, unknown>;
|
|
2
|
+
export declare const YhCol: any;
|
|
190
3
|
export default YhCol;
|
|
191
4
|
export * from './src/col';
|
|
192
5
|
export type ColInstance = InstanceType<typeof Col>;
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
readonly tag: {
|
|
7
|
+
readonly type: StringConstructor;
|
|
8
|
+
readonly default: "div";
|
|
9
|
+
};
|
|
10
|
+
readonly span: {
|
|
11
|
+
readonly type: NumberConstructor;
|
|
12
|
+
readonly default: 24;
|
|
13
|
+
};
|
|
14
|
+
readonly offset: {
|
|
15
|
+
readonly type: NumberConstructor;
|
|
16
|
+
readonly default: 0;
|
|
17
|
+
};
|
|
18
|
+
readonly push: {
|
|
19
|
+
readonly type: NumberConstructor;
|
|
20
|
+
readonly default: 0;
|
|
21
|
+
};
|
|
22
|
+
readonly pull: {
|
|
23
|
+
readonly type: NumberConstructor;
|
|
24
|
+
readonly default: 0;
|
|
25
|
+
};
|
|
26
|
+
readonly xs: {
|
|
27
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
28
|
+
readonly default: () => {};
|
|
29
|
+
};
|
|
30
|
+
readonly sm: {
|
|
31
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
32
|
+
readonly default: () => {};
|
|
33
|
+
};
|
|
34
|
+
readonly md: {
|
|
35
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
36
|
+
readonly default: () => {};
|
|
37
|
+
};
|
|
38
|
+
readonly lg: {
|
|
39
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
40
|
+
readonly default: () => {};
|
|
41
|
+
};
|
|
42
|
+
readonly xl: {
|
|
43
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
44
|
+
readonly default: () => {};
|
|
45
|
+
};
|
|
46
|
+
readonly themeOverrides: {
|
|
47
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
48
|
+
readonly default: undefined;
|
|
49
|
+
};
|
|
50
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
51
|
+
readonly tag: {
|
|
52
|
+
readonly type: StringConstructor;
|
|
53
|
+
readonly default: "div";
|
|
54
|
+
};
|
|
55
|
+
readonly span: {
|
|
56
|
+
readonly type: NumberConstructor;
|
|
57
|
+
readonly default: 24;
|
|
58
|
+
};
|
|
59
|
+
readonly offset: {
|
|
60
|
+
readonly type: NumberConstructor;
|
|
61
|
+
readonly default: 0;
|
|
62
|
+
};
|
|
63
|
+
readonly push: {
|
|
64
|
+
readonly type: NumberConstructor;
|
|
65
|
+
readonly default: 0;
|
|
66
|
+
};
|
|
67
|
+
readonly pull: {
|
|
68
|
+
readonly type: NumberConstructor;
|
|
69
|
+
readonly default: 0;
|
|
70
|
+
};
|
|
71
|
+
readonly xs: {
|
|
72
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
73
|
+
readonly default: () => {};
|
|
74
|
+
};
|
|
75
|
+
readonly sm: {
|
|
76
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
77
|
+
readonly default: () => {};
|
|
78
|
+
};
|
|
79
|
+
readonly md: {
|
|
80
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
81
|
+
readonly default: () => {};
|
|
82
|
+
};
|
|
83
|
+
readonly lg: {
|
|
84
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
85
|
+
readonly default: () => {};
|
|
86
|
+
};
|
|
87
|
+
readonly xl: {
|
|
88
|
+
readonly type: import("vue").PropType<number | import("./col").ColResponsiveValue>;
|
|
89
|
+
readonly default: () => {};
|
|
90
|
+
};
|
|
91
|
+
readonly themeOverrides: {
|
|
92
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
93
|
+
readonly default: undefined;
|
|
94
|
+
};
|
|
95
|
+
}>> & Readonly<{}>, {
|
|
96
|
+
readonly offset: number;
|
|
97
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
98
|
+
readonly push: number;
|
|
99
|
+
readonly span: number;
|
|
100
|
+
readonly tag: string;
|
|
101
|
+
readonly md: number | import("./col").ColResponsiveValue;
|
|
102
|
+
readonly pull: number;
|
|
103
|
+
readonly xs: number | import("./col").ColResponsiveValue;
|
|
104
|
+
readonly sm: number | import("./col").ColResponsiveValue;
|
|
105
|
+
readonly lg: number | import("./col").ColResponsiveValue;
|
|
106
|
+
readonly xl: number | import("./col").ColResponsiveValue;
|
|
107
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
108
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
109
|
+
export default _default;
|
|
110
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
111
|
+
new (): {
|
|
112
|
+
$slots: S;
|
|
113
|
+
};
|
|
114
|
+
};
|
|
@@ -93,17 +93,17 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
93
93
|
readonly default: undefined;
|
|
94
94
|
};
|
|
95
95
|
}>> & Readonly<{}>, {
|
|
96
|
-
readonly
|
|
96
|
+
readonly offset: number;
|
|
97
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
97
98
|
readonly push: number;
|
|
99
|
+
readonly span: number;
|
|
98
100
|
readonly tag: string;
|
|
99
101
|
readonly md: number | import("./col").ColResponsiveValue;
|
|
102
|
+
readonly pull: number;
|
|
100
103
|
readonly xs: number | import("./col").ColResponsiveValue;
|
|
101
104
|
readonly sm: number | import("./col").ColResponsiveValue;
|
|
102
105
|
readonly lg: number | import("./col").ColResponsiveValue;
|
|
103
106
|
readonly xl: number | import("./col").ColResponsiveValue;
|
|
104
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
105
|
-
readonly offset: number;
|
|
106
|
-
readonly pull: number;
|
|
107
107
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
108
108
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
109
109
|
export default _default;
|
|
@@ -1,93 +1,5 @@
|
|
|
1
1
|
import ColorPicker from './src/color-picker.vue';
|
|
2
|
-
export declare const YhColorPicker:
|
|
3
|
-
readonly modelValue: {
|
|
4
|
-
readonly type: StringConstructor;
|
|
5
|
-
readonly default: "";
|
|
6
|
-
};
|
|
7
|
-
readonly showAlpha: {
|
|
8
|
-
readonly type: BooleanConstructor;
|
|
9
|
-
readonly default: false;
|
|
10
|
-
};
|
|
11
|
-
readonly colorFormat: {
|
|
12
|
-
readonly type: import("vue").PropType<"hex" | "rgb" | "hsl" | "hsv">;
|
|
13
|
-
readonly default: "hex";
|
|
14
|
-
};
|
|
15
|
-
readonly size: {
|
|
16
|
-
readonly type: import("vue").PropType<"large" | "default" | "small">;
|
|
17
|
-
readonly default: "default";
|
|
18
|
-
};
|
|
19
|
-
readonly disabled: {
|
|
20
|
-
readonly type: BooleanConstructor;
|
|
21
|
-
readonly default: false;
|
|
22
|
-
};
|
|
23
|
-
readonly predefine: {
|
|
24
|
-
readonly type: import("vue").PropType<string[]>;
|
|
25
|
-
readonly default: () => never[];
|
|
26
|
-
};
|
|
27
|
-
readonly popperClass: {
|
|
28
|
-
readonly type: StringConstructor;
|
|
29
|
-
readonly default: "";
|
|
30
|
-
};
|
|
31
|
-
readonly themeOverrides: {
|
|
32
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
33
|
-
readonly default: undefined;
|
|
34
|
-
};
|
|
35
|
-
}>, {
|
|
36
|
-
visible: import("vue").Ref<boolean>;
|
|
37
|
-
togglePopper: () => void;
|
|
38
|
-
handleClear: () => void;
|
|
39
|
-
handleConfirm: () => void;
|
|
40
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
-
change: (val: string) => void;
|
|
42
|
-
"update:modelValue": (val: string) => void;
|
|
43
|
-
activeChange: (val: string) => void;
|
|
44
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
-
readonly modelValue: {
|
|
46
|
-
readonly type: StringConstructor;
|
|
47
|
-
readonly default: "";
|
|
48
|
-
};
|
|
49
|
-
readonly showAlpha: {
|
|
50
|
-
readonly type: BooleanConstructor;
|
|
51
|
-
readonly default: false;
|
|
52
|
-
};
|
|
53
|
-
readonly colorFormat: {
|
|
54
|
-
readonly type: import("vue").PropType<"hex" | "rgb" | "hsl" | "hsv">;
|
|
55
|
-
readonly default: "hex";
|
|
56
|
-
};
|
|
57
|
-
readonly size: {
|
|
58
|
-
readonly type: import("vue").PropType<"large" | "default" | "small">;
|
|
59
|
-
readonly default: "default";
|
|
60
|
-
};
|
|
61
|
-
readonly disabled: {
|
|
62
|
-
readonly type: BooleanConstructor;
|
|
63
|
-
readonly default: false;
|
|
64
|
-
};
|
|
65
|
-
readonly predefine: {
|
|
66
|
-
readonly type: import("vue").PropType<string[]>;
|
|
67
|
-
readonly default: () => never[];
|
|
68
|
-
};
|
|
69
|
-
readonly popperClass: {
|
|
70
|
-
readonly type: StringConstructor;
|
|
71
|
-
readonly default: "";
|
|
72
|
-
};
|
|
73
|
-
readonly themeOverrides: {
|
|
74
|
-
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
75
|
-
readonly default: undefined;
|
|
76
|
-
};
|
|
77
|
-
}>> & Readonly<{
|
|
78
|
-
onChange?: ((val: string) => any) | undefined;
|
|
79
|
-
"onUpdate:modelValue"?: ((val: string) => any) | undefined;
|
|
80
|
-
onActiveChange?: ((val: string) => any) | undefined;
|
|
81
|
-
}>, {
|
|
82
|
-
readonly size: "large" | "default" | "small";
|
|
83
|
-
readonly disabled: boolean;
|
|
84
|
-
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
85
|
-
readonly modelValue: string;
|
|
86
|
-
readonly popperClass: string;
|
|
87
|
-
readonly showAlpha: boolean;
|
|
88
|
-
readonly colorFormat: "rgb" | "hex" | "hsl" | "hsv";
|
|
89
|
-
readonly predefine: string[];
|
|
90
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, unknown>;
|
|
2
|
+
export declare const YhColorPicker: any;
|
|
91
3
|
export default YhColorPicker;
|
|
92
4
|
export * from './src/color-picker';
|
|
93
5
|
export type ColorPickerInstance = InstanceType<typeof ColorPicker>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
a: number;
|
|
3
|
+
color: string;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
update: (a: number) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
|
+
onUpdate?: ((a: number) => any) | undefined;
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
|
+
export default _default;
|
|
@@ -2,18 +2,9 @@ type __VLS_Props = {
|
|
|
2
2
|
a: number;
|
|
3
3
|
color: string;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: import("vue").DefineComponent<
|
|
6
|
-
update: (a: number) =>
|
|
7
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
6
|
+
update: (a: number) => any;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
8
8
|
onUpdate?: ((a: number) => any) | undefined;
|
|
9
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
9
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
10
|
export default _default;
|
|
11
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
12
|
-
type __VLS_TypePropsToOption<T> = {
|
|
13
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
14
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
15
|
-
} : {
|
|
16
|
-
type: import('vue').PropType<T[K]>;
|
|
17
|
-
required: true;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
interface EyeDropper {
|
|
2
|
+
open(): Promise<{
|
|
3
|
+
sRGBHex: string;
|
|
4
|
+
}>;
|
|
5
|
+
abort(): void;
|
|
6
|
+
}
|
|
7
|
+
declare global {
|
|
8
|
+
interface Window {
|
|
9
|
+
EyeDropper: new () => EyeDropper;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
13
|
+
readonly modelValue: {
|
|
14
|
+
readonly type: StringConstructor;
|
|
15
|
+
readonly default: "";
|
|
16
|
+
};
|
|
17
|
+
readonly showAlpha: {
|
|
18
|
+
readonly type: BooleanConstructor;
|
|
19
|
+
readonly default: false;
|
|
20
|
+
};
|
|
21
|
+
readonly colorFormat: {
|
|
22
|
+
readonly type: import("vue").PropType<"hex" | "rgb" | "hsl" | "hsv">;
|
|
23
|
+
readonly default: "hex";
|
|
24
|
+
};
|
|
25
|
+
readonly size: {
|
|
26
|
+
readonly type: import("vue").PropType<"large" | "default" | "small">;
|
|
27
|
+
readonly default: "default";
|
|
28
|
+
};
|
|
29
|
+
readonly disabled: {
|
|
30
|
+
readonly type: BooleanConstructor;
|
|
31
|
+
readonly default: false;
|
|
32
|
+
};
|
|
33
|
+
readonly predefine: {
|
|
34
|
+
readonly type: import("vue").PropType<string[]>;
|
|
35
|
+
readonly default: () => never[];
|
|
36
|
+
};
|
|
37
|
+
readonly popperClass: {
|
|
38
|
+
readonly type: StringConstructor;
|
|
39
|
+
readonly default: "";
|
|
40
|
+
};
|
|
41
|
+
readonly themeOverrides: {
|
|
42
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
43
|
+
readonly default: undefined;
|
|
44
|
+
};
|
|
45
|
+
}>, {
|
|
46
|
+
visible: import("vue").Ref<boolean>;
|
|
47
|
+
togglePopper: () => void;
|
|
48
|
+
handleClear: () => void;
|
|
49
|
+
handleConfirm: () => void;
|
|
50
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
51
|
+
readonly disabled: boolean;
|
|
52
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
53
|
+
readonly size: "small" | "default" | "large";
|
|
54
|
+
readonly popperClass: string;
|
|
55
|
+
readonly modelValue: string;
|
|
56
|
+
readonly showAlpha: boolean;
|
|
57
|
+
readonly colorFormat: "hex" | "rgb" | "hsl" | "hsv";
|
|
58
|
+
readonly predefine: string[];
|
|
59
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
60
|
+
export default _default;
|