@yh-ui/components 1.0.30 → 1.0.36
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 +4 -53
- 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 +5 -30
- 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.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 +13 -124
- 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 +7 -68
- 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 +7 -68
- 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.vue.ts +134 -0
- package/dist/ai-editor-sender/src/ai-editor-sender.vue.d.ts +6 -113
- 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 +7 -28
- 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 +17 -108
- package/dist/cascader/index.d.ts +105 -456
- 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 +21 -76
- 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 +17 -122
- package/dist/coupon-card/index.d.ts +1 -340
- package/dist/coupon-card/src/coupon-card.d.vue.ts +121 -0
- package/dist/coupon-card/src/coupon-card.vue.d.ts +13 -98
- 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 +28 -28
- package/dist/date-picker/src/date-table.d.vue.ts +37 -0
- package/dist/date-picker/src/date-table.vue.d.ts +7 -17
- package/dist/date-picker/src/month-table.d.vue.ts +19 -0
- package/dist/date-picker/src/month-table.vue.d.ts +6 -15
- package/dist/date-picker/src/quarter-table.d.vue.ts +19 -0
- package/dist/date-picker/src/quarter-table.vue.d.ts +6 -15
- package/dist/date-picker/src/year-table.d.vue.ts +19 -0
- package/dist/date-picker/src/year-table.vue.d.ts +6 -15
- 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 +4 -4
- 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 +3 -3
- 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 +3 -3
- 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 +16 -133
- 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 +17 -62
- 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 +9 -9
- package/dist/icon/src/icon.d.vue.ts +87 -0
- package/dist/icon/src/icon.vue.d.ts +3 -3
- package/dist/image/index.d.ts +34 -85
- 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 +11 -11
- package/dist/image-magnifier/index.d.ts +1 -462
- package/dist/image-magnifier/src/image-magnifier.d.vue.ts +154 -0
- package/dist/image-magnifier/src/image-magnifier.vue.d.ts +9 -126
- 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 +7 -72
- package/dist/input/index.d.ts +67 -508
- package/dist/input/src/input.d.vue.ts +76 -0
- package/dist/input/src/input.vue.d.ts +26 -85
- package/dist/input-number/index.d.ts +42 -297
- package/dist/input-number/src/input-number.d.vue.ts +50 -0
- package/dist/input-number/src/input-number.vue.d.ts +16 -59
- 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 +28 -83
- 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.vue.ts +74 -0
- package/dist/lucky-draw/src/lucky-draw.vue.d.ts +5 -54
- 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 +35 -100
- 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-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 +15 -178
- package/dist/menu/src/sub-menu.d.vue.ts +87 -0
- 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 +8 -45
- 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 +26 -26
- package/dist/pagination/src/pagination.d.vue.ts +149 -0
- package/dist/pagination/src/pagination.vue.d.ts +11 -11
- 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 +12 -121
- 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 +13 -111
- package/dist/price/index.d.ts +1 -363
- package/dist/price/src/price.d.vue.ts +223 -0
- package/dist/price/src/price.vue.d.ts +5 -5
- package/dist/product-card/index.d.ts +1 -557
- package/dist/product-card/src/product-card.d.vue.ts +188 -0
- package/dist/product-card/src/product-card.vue.d.ts +12 -157
- 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 +9 -9
- 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 +11 -90
- 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 +3 -45
- package/dist/scrollbar/src/thumb.d.vue.ts +16 -0
- package/dist/scrollbar/src/thumb.vue.d.ts +3 -30
- package/dist/select/index.d.ts +71 -461
- 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 +26 -93
- 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 +3 -3
- 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 +5 -5
- 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 +11 -70
- 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 +12 -51
- 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 +21 -66
- package/dist/tooltip/index.d.ts +17 -465
- package/dist/tooltip/src/tooltip.d.vue.ts +167 -0
- package/dist/tooltip/src/tooltip.vue.d.ts +15 -140
- 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 +4 -29
- 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 +4 -41
- 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 +3 -38
- 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,144 @@
|
|
|
1
|
+
import type { FormRule } from './form';
|
|
2
|
+
import type { ValidateStatus } from './form-item';
|
|
3
|
+
import { type ComponentThemeVars } from '@yh-ui/theme';
|
|
4
|
+
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
label?: (props: typeof __VLS_1) => any;
|
|
7
|
+
} & {
|
|
8
|
+
default?: (props: typeof __VLS_3) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
11
|
+
readonly prop: {
|
|
12
|
+
readonly type: StringConstructor;
|
|
13
|
+
readonly default: "";
|
|
14
|
+
};
|
|
15
|
+
readonly label: {
|
|
16
|
+
readonly type: StringConstructor;
|
|
17
|
+
readonly default: "";
|
|
18
|
+
};
|
|
19
|
+
readonly labelWidth: {
|
|
20
|
+
readonly type: import("vue").PropType<string | number>;
|
|
21
|
+
readonly default: "";
|
|
22
|
+
};
|
|
23
|
+
readonly required: {
|
|
24
|
+
readonly type: BooleanConstructor;
|
|
25
|
+
readonly default: false;
|
|
26
|
+
};
|
|
27
|
+
readonly rules: {
|
|
28
|
+
readonly type: import("vue").PropType<FormRule | FormRule[]>;
|
|
29
|
+
readonly default: () => never[];
|
|
30
|
+
};
|
|
31
|
+
readonly showMessage: {
|
|
32
|
+
readonly type: BooleanConstructor;
|
|
33
|
+
readonly default: true;
|
|
34
|
+
};
|
|
35
|
+
readonly size: {
|
|
36
|
+
readonly type: import("vue").PropType<"large" | "default" | "small">;
|
|
37
|
+
readonly default: "";
|
|
38
|
+
};
|
|
39
|
+
readonly validateTrigger: {
|
|
40
|
+
readonly type: import("vue").PropType<string | string[]>;
|
|
41
|
+
readonly default: "";
|
|
42
|
+
};
|
|
43
|
+
readonly errorPosition: {
|
|
44
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
45
|
+
readonly default: "left";
|
|
46
|
+
};
|
|
47
|
+
readonly disabled: {
|
|
48
|
+
readonly type: BooleanConstructor;
|
|
49
|
+
readonly default: false;
|
|
50
|
+
};
|
|
51
|
+
readonly validateStatus: {
|
|
52
|
+
readonly type: import("vue").PropType<ValidateStatus>;
|
|
53
|
+
readonly default: "";
|
|
54
|
+
};
|
|
55
|
+
readonly error: {
|
|
56
|
+
readonly type: StringConstructor;
|
|
57
|
+
readonly default: "";
|
|
58
|
+
};
|
|
59
|
+
readonly themeOverrides: {
|
|
60
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
61
|
+
readonly default: undefined;
|
|
62
|
+
};
|
|
63
|
+
}>, {
|
|
64
|
+
validate: (trigger?: string, callback?: (isValid: boolean) => void) => Promise<boolean>;
|
|
65
|
+
resetField: () => void;
|
|
66
|
+
clearValidate: () => void;
|
|
67
|
+
validateStatus: import("vue").ComputedRef<ValidateStatus>;
|
|
68
|
+
validateMessage: import("vue").ComputedRef<string>;
|
|
69
|
+
size: import("vue").ComputedRef<"small" | "default" | "large">;
|
|
70
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
|
+
readonly prop: {
|
|
72
|
+
readonly type: StringConstructor;
|
|
73
|
+
readonly default: "";
|
|
74
|
+
};
|
|
75
|
+
readonly label: {
|
|
76
|
+
readonly type: StringConstructor;
|
|
77
|
+
readonly default: "";
|
|
78
|
+
};
|
|
79
|
+
readonly labelWidth: {
|
|
80
|
+
readonly type: import("vue").PropType<string | number>;
|
|
81
|
+
readonly default: "";
|
|
82
|
+
};
|
|
83
|
+
readonly required: {
|
|
84
|
+
readonly type: BooleanConstructor;
|
|
85
|
+
readonly default: false;
|
|
86
|
+
};
|
|
87
|
+
readonly rules: {
|
|
88
|
+
readonly type: import("vue").PropType<FormRule | FormRule[]>;
|
|
89
|
+
readonly default: () => never[];
|
|
90
|
+
};
|
|
91
|
+
readonly showMessage: {
|
|
92
|
+
readonly type: BooleanConstructor;
|
|
93
|
+
readonly default: true;
|
|
94
|
+
};
|
|
95
|
+
readonly size: {
|
|
96
|
+
readonly type: import("vue").PropType<"large" | "default" | "small">;
|
|
97
|
+
readonly default: "";
|
|
98
|
+
};
|
|
99
|
+
readonly validateTrigger: {
|
|
100
|
+
readonly type: import("vue").PropType<string | string[]>;
|
|
101
|
+
readonly default: "";
|
|
102
|
+
};
|
|
103
|
+
readonly errorPosition: {
|
|
104
|
+
readonly type: import("vue").PropType<"left" | "center" | "right">;
|
|
105
|
+
readonly default: "left";
|
|
106
|
+
};
|
|
107
|
+
readonly disabled: {
|
|
108
|
+
readonly type: BooleanConstructor;
|
|
109
|
+
readonly default: false;
|
|
110
|
+
};
|
|
111
|
+
readonly validateStatus: {
|
|
112
|
+
readonly type: import("vue").PropType<ValidateStatus>;
|
|
113
|
+
readonly default: "";
|
|
114
|
+
};
|
|
115
|
+
readonly error: {
|
|
116
|
+
readonly type: StringConstructor;
|
|
117
|
+
readonly default: "";
|
|
118
|
+
};
|
|
119
|
+
readonly themeOverrides: {
|
|
120
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
121
|
+
readonly default: undefined;
|
|
122
|
+
};
|
|
123
|
+
}>> & Readonly<{}>, {
|
|
124
|
+
readonly label: string;
|
|
125
|
+
readonly disabled: boolean;
|
|
126
|
+
readonly size: "small" | "default" | "large";
|
|
127
|
+
readonly themeOverrides: ComponentThemeVars;
|
|
128
|
+
readonly error: string;
|
|
129
|
+
readonly required: boolean;
|
|
130
|
+
readonly rules: FormRule | FormRule[];
|
|
131
|
+
readonly labelWidth: string | number;
|
|
132
|
+
readonly showMessage: boolean;
|
|
133
|
+
readonly prop: string;
|
|
134
|
+
readonly validateTrigger: string | string[];
|
|
135
|
+
readonly errorPosition: "left" | "right" | "center";
|
|
136
|
+
readonly validateStatus: ValidateStatus;
|
|
137
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
138
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
139
|
+
export default _default;
|
|
140
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
141
|
+
new (): {
|
|
142
|
+
$slots: S;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
66
66
|
clearValidate: () => void;
|
|
67
67
|
validateStatus: import("vue").ComputedRef<ValidateStatus>;
|
|
68
68
|
validateMessage: import("vue").ComputedRef<string>;
|
|
69
|
-
size: import("vue").ComputedRef<"
|
|
69
|
+
size: import("vue").ComputedRef<"small" | "default" | "large">;
|
|
70
70
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
71
71
|
readonly prop: {
|
|
72
72
|
readonly type: StringConstructor;
|
|
@@ -122,18 +122,18 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
122
122
|
};
|
|
123
123
|
}>> & Readonly<{}>, {
|
|
124
124
|
readonly label: string;
|
|
125
|
-
readonly size: "large" | "default" | "small";
|
|
126
|
-
readonly error: string;
|
|
127
|
-
readonly required: boolean;
|
|
128
125
|
readonly disabled: boolean;
|
|
126
|
+
readonly size: "small" | "default" | "large";
|
|
129
127
|
readonly themeOverrides: ComponentThemeVars;
|
|
130
|
-
readonly
|
|
131
|
-
readonly
|
|
128
|
+
readonly error: string;
|
|
129
|
+
readonly required: boolean;
|
|
132
130
|
readonly rules: FormRule | FormRule[];
|
|
131
|
+
readonly labelWidth: string | number;
|
|
133
132
|
readonly showMessage: boolean;
|
|
134
133
|
readonly prop: string;
|
|
135
134
|
readonly validateTrigger: string | string[];
|
|
136
|
-
readonly errorPosition: "
|
|
135
|
+
readonly errorPosition: "left" | "right" | "center";
|
|
136
|
+
readonly validateStatus: ValidateStatus;
|
|
137
137
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
138
138
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
139
139
|
export default _default;
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import type { FormInstance } from './form';
|
|
2
|
+
declare var __VLS_17: any, __VLS_18: {
|
|
3
|
+
model: any;
|
|
4
|
+
item: any;
|
|
5
|
+
}, __VLS_25: any, __VLS_26: {
|
|
6
|
+
model: any;
|
|
7
|
+
item: any;
|
|
8
|
+
handleUpdate: any;
|
|
9
|
+
}, __VLS_62: any, __VLS_63: {
|
|
10
|
+
row: any;
|
|
11
|
+
index: any;
|
|
12
|
+
item: any;
|
|
13
|
+
}, __VLS_80: any, __VLS_81: {
|
|
14
|
+
model: any;
|
|
15
|
+
item: any;
|
|
16
|
+
}, __VLS_87: any, __VLS_88: {
|
|
17
|
+
model: any;
|
|
18
|
+
item: any;
|
|
19
|
+
}, __VLS_95: any, __VLS_96: {
|
|
20
|
+
model: any;
|
|
21
|
+
item: any;
|
|
22
|
+
handleUpdate: any;
|
|
23
|
+
}, __VLS_114: {
|
|
24
|
+
model: any;
|
|
25
|
+
formRef: any;
|
|
26
|
+
};
|
|
27
|
+
type __VLS_Slots = {} & {
|
|
28
|
+
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
29
|
+
} & {
|
|
30
|
+
[K in NonNullable<typeof __VLS_25>]?: (props: typeof __VLS_26) => any;
|
|
31
|
+
} & {
|
|
32
|
+
[K in NonNullable<typeof __VLS_62>]?: (props: typeof __VLS_63) => any;
|
|
33
|
+
} & {
|
|
34
|
+
[K in NonNullable<typeof __VLS_80>]?: (props: typeof __VLS_81) => any;
|
|
35
|
+
} & {
|
|
36
|
+
[K in NonNullable<typeof __VLS_87>]?: (props: typeof __VLS_88) => any;
|
|
37
|
+
} & {
|
|
38
|
+
[K in NonNullable<typeof __VLS_95>]?: (props: typeof __VLS_96) => any;
|
|
39
|
+
} & {
|
|
40
|
+
footer?: (props: typeof __VLS_114) => any;
|
|
41
|
+
};
|
|
42
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
43
|
+
readonly modelValue: {
|
|
44
|
+
readonly type: import("vue").PropType<Record<string, unknown>>;
|
|
45
|
+
readonly required: true;
|
|
46
|
+
};
|
|
47
|
+
readonly schema: {
|
|
48
|
+
readonly type: import("vue").PropType<import("./form-schema").FormSchema>;
|
|
49
|
+
readonly required: true;
|
|
50
|
+
readonly default: () => never[];
|
|
51
|
+
};
|
|
52
|
+
readonly formProps: {
|
|
53
|
+
readonly type: import("vue").PropType<Partial<import("./form").FormProps>>;
|
|
54
|
+
readonly default: () => {};
|
|
55
|
+
};
|
|
56
|
+
readonly gutter: {
|
|
57
|
+
readonly type: NumberConstructor;
|
|
58
|
+
readonly default: 20;
|
|
59
|
+
};
|
|
60
|
+
}>, {
|
|
61
|
+
/** 触发校验,支持指定字段 */
|
|
62
|
+
validate: (fields?: string | string[], callback?: (isValid: boolean) => void) => Promise<boolean> | undefined;
|
|
63
|
+
/** 重置字段(恢复初始值并清除校验),支持指定字段 */
|
|
64
|
+
resetFields: (fields?: string | string[]) => void | undefined;
|
|
65
|
+
/** 清除指定字段校验结果 */
|
|
66
|
+
clearValidate: (fields?: string | string[]) => void | undefined;
|
|
67
|
+
/** 滚动到指定字段 */
|
|
68
|
+
scrollToField: (field: string) => void | undefined;
|
|
69
|
+
/** 获取当前表单数据快照 */
|
|
70
|
+
getModel: () => {
|
|
71
|
+
[x: string]: unknown;
|
|
72
|
+
};
|
|
73
|
+
/** 动态更新单个字段值 */
|
|
74
|
+
setFieldValue: (field: string, val: unknown) => void;
|
|
75
|
+
/** 底层 form 实例 */
|
|
76
|
+
formRef: import("vue").Ref<FormInstance | undefined, FormInstance | undefined>;
|
|
77
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
78
|
+
change: (field: string, val: unknown, model: Record<string, unknown>) => any;
|
|
79
|
+
submit: (val: Record<string, unknown>) => any;
|
|
80
|
+
"update:modelValue": (val: Record<string, unknown>) => any;
|
|
81
|
+
validate: (isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any;
|
|
82
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
83
|
+
readonly modelValue: {
|
|
84
|
+
readonly type: import("vue").PropType<Record<string, unknown>>;
|
|
85
|
+
readonly required: true;
|
|
86
|
+
};
|
|
87
|
+
readonly schema: {
|
|
88
|
+
readonly type: import("vue").PropType<import("./form-schema").FormSchema>;
|
|
89
|
+
readonly required: true;
|
|
90
|
+
readonly default: () => never[];
|
|
91
|
+
};
|
|
92
|
+
readonly formProps: {
|
|
93
|
+
readonly type: import("vue").PropType<Partial<import("./form").FormProps>>;
|
|
94
|
+
readonly default: () => {};
|
|
95
|
+
};
|
|
96
|
+
readonly gutter: {
|
|
97
|
+
readonly type: NumberConstructor;
|
|
98
|
+
readonly default: 20;
|
|
99
|
+
};
|
|
100
|
+
}>> & Readonly<{
|
|
101
|
+
onChange?: ((field: string, val: unknown, model: Record<string, unknown>) => any) | undefined;
|
|
102
|
+
onSubmit?: ((val: Record<string, unknown>) => any) | undefined;
|
|
103
|
+
"onUpdate:modelValue"?: ((val: Record<string, unknown>) => any) | undefined;
|
|
104
|
+
onValidate?: ((isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any) | undefined;
|
|
105
|
+
}>, {
|
|
106
|
+
readonly gutter: number;
|
|
107
|
+
readonly schema: import("./form-schema").FormSchema;
|
|
108
|
+
readonly formProps: Partial<import("./form").FormProps>;
|
|
109
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
110
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
111
|
+
export default _default;
|
|
112
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
113
|
+
new (): {
|
|
114
|
+
$slots: S;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -1,34 +1,28 @@
|
|
|
1
1
|
import type { FormInstance } from './form';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
handleUpdate: (field: string, val: unknown) => void;
|
|
2
|
+
declare var __VLS_17: any, __VLS_18: {
|
|
3
|
+
model: any;
|
|
4
|
+
item: any;
|
|
5
|
+
}, __VLS_25: any, __VLS_26: {
|
|
6
|
+
model: any;
|
|
7
|
+
item: any;
|
|
8
|
+
handleUpdate: any;
|
|
9
|
+
}, __VLS_62: any, __VLS_63: {
|
|
10
|
+
row: any;
|
|
11
|
+
index: any;
|
|
12
|
+
item: any;
|
|
13
|
+
}, __VLS_80: any, __VLS_81: {
|
|
14
|
+
model: any;
|
|
15
|
+
item: any;
|
|
16
|
+
}, __VLS_87: any, __VLS_88: {
|
|
17
|
+
model: any;
|
|
18
|
+
item: any;
|
|
19
|
+
}, __VLS_95: any, __VLS_96: {
|
|
20
|
+
model: any;
|
|
21
|
+
item: any;
|
|
22
|
+
handleUpdate: any;
|
|
24
23
|
}, __VLS_114: {
|
|
25
|
-
model:
|
|
26
|
-
formRef:
|
|
27
|
-
validate: (props?: string | string[] | ((isValid: boolean, invalidFields?: Record<string, unknown>) => void) | undefined, callback?: ((isValid: boolean, invalidFields?: Record<string, unknown>) => void) | undefined) => Promise<boolean> | undefined;
|
|
28
|
-
resetFields: (props?: string | string[] | undefined) => void | undefined;
|
|
29
|
-
clearValidate: (props?: string | string[] | undefined) => void | undefined;
|
|
30
|
-
scrollToField: (field: string) => void | undefined;
|
|
31
|
-
};
|
|
24
|
+
model: any;
|
|
25
|
+
formRef: any;
|
|
32
26
|
};
|
|
33
27
|
type __VLS_Slots = {} & {
|
|
34
28
|
[K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
|
|
@@ -80,11 +74,11 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
80
74
|
setFieldValue: (field: string, val: unknown) => void;
|
|
81
75
|
/** 底层 form 实例 */
|
|
82
76
|
formRef: import("vue").Ref<FormInstance | undefined, FormInstance | undefined>;
|
|
83
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
|
-
|
|
85
|
-
submit: (val: Record<string, unknown>) =>
|
|
86
|
-
|
|
87
|
-
validate: (isValid: boolean, invalidFields?: Record<string, unknown> | undefined) =>
|
|
77
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
78
|
+
change: (field: string, val: unknown, model: Record<string, unknown>) => any;
|
|
79
|
+
submit: (val: Record<string, unknown>) => any;
|
|
80
|
+
"update:modelValue": (val: Record<string, unknown>) => any;
|
|
81
|
+
validate: (isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any;
|
|
88
82
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
89
83
|
readonly modelValue: {
|
|
90
84
|
readonly type: import("vue").PropType<Record<string, unknown>>;
|
|
@@ -104,14 +98,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
104
98
|
readonly default: 20;
|
|
105
99
|
};
|
|
106
100
|
}>> & Readonly<{
|
|
107
|
-
onSubmit?: ((val: Record<string, unknown>) => any) | undefined;
|
|
108
101
|
onChange?: ((field: string, val: unknown, model: Record<string, unknown>) => any) | undefined;
|
|
102
|
+
onSubmit?: ((val: Record<string, unknown>) => any) | undefined;
|
|
109
103
|
"onUpdate:modelValue"?: ((val: Record<string, unknown>) => any) | undefined;
|
|
110
104
|
onValidate?: ((isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any) | undefined;
|
|
111
105
|
}>, {
|
|
106
|
+
readonly gutter: number;
|
|
112
107
|
readonly schema: import("./form-schema").FormSchema;
|
|
113
108
|
readonly formProps: Partial<import("./form").FormProps>;
|
|
114
|
-
readonly gutter: number;
|
|
115
109
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
116
110
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
117
111
|
export default _default;
|
|
@@ -0,0 +1,158 @@
|
|
|
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 model: {
|
|
7
|
+
readonly type: import("vue").PropType<Record<string, unknown>>;
|
|
8
|
+
readonly required: true;
|
|
9
|
+
};
|
|
10
|
+
readonly rules: {
|
|
11
|
+
readonly type: import("vue").PropType<import("./form").FormRules>;
|
|
12
|
+
readonly default: () => {};
|
|
13
|
+
};
|
|
14
|
+
readonly labelWidth: {
|
|
15
|
+
readonly type: import("vue").PropType<string | number>;
|
|
16
|
+
readonly default: "";
|
|
17
|
+
};
|
|
18
|
+
readonly labelPosition: {
|
|
19
|
+
readonly type: import("vue").PropType<import("./form").LabelPosition>;
|
|
20
|
+
readonly default: "right";
|
|
21
|
+
};
|
|
22
|
+
readonly labelSuffix: {
|
|
23
|
+
readonly type: StringConstructor;
|
|
24
|
+
readonly default: "";
|
|
25
|
+
};
|
|
26
|
+
readonly showMessage: {
|
|
27
|
+
readonly type: BooleanConstructor;
|
|
28
|
+
readonly default: true;
|
|
29
|
+
};
|
|
30
|
+
readonly scrollToError: {
|
|
31
|
+
readonly type: BooleanConstructor;
|
|
32
|
+
readonly default: false;
|
|
33
|
+
};
|
|
34
|
+
readonly scrollIntoViewOptions: {
|
|
35
|
+
readonly type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
|
|
36
|
+
readonly default: false;
|
|
37
|
+
};
|
|
38
|
+
readonly scrollToErrorOffset: {
|
|
39
|
+
readonly type: NumberConstructor;
|
|
40
|
+
readonly default: 0;
|
|
41
|
+
};
|
|
42
|
+
readonly disabled: {
|
|
43
|
+
readonly type: BooleanConstructor;
|
|
44
|
+
readonly default: false;
|
|
45
|
+
};
|
|
46
|
+
readonly hideRequiredAsterisk: {
|
|
47
|
+
readonly type: BooleanConstructor;
|
|
48
|
+
readonly default: false;
|
|
49
|
+
};
|
|
50
|
+
readonly size: {
|
|
51
|
+
readonly type: import("vue").PropType<import("./form").ComponentSize>;
|
|
52
|
+
readonly default: "default";
|
|
53
|
+
};
|
|
54
|
+
readonly statusIcon: {
|
|
55
|
+
readonly type: BooleanConstructor;
|
|
56
|
+
readonly default: false;
|
|
57
|
+
};
|
|
58
|
+
readonly layout: {
|
|
59
|
+
readonly type: import("vue").PropType<import("./form").FormLayout>;
|
|
60
|
+
readonly default: "horizontal";
|
|
61
|
+
};
|
|
62
|
+
readonly themeOverrides: {
|
|
63
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
64
|
+
readonly default: undefined;
|
|
65
|
+
};
|
|
66
|
+
}>, {
|
|
67
|
+
validate: (propsToValidateOrCb?: string | string[] | ((isValid: boolean, invalidFields?: Record<string, unknown>) => void), callback?: (isValid: boolean, invalidFields?: Record<string, unknown>) => void) => Promise<boolean>;
|
|
68
|
+
resetFields: (props?: string | string[]) => void;
|
|
69
|
+
clearValidate: (props?: string | string[]) => void;
|
|
70
|
+
scrollToField: (prop: string) => void;
|
|
71
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
72
|
+
validate: (isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any;
|
|
73
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
|
+
readonly model: {
|
|
75
|
+
readonly type: import("vue").PropType<Record<string, unknown>>;
|
|
76
|
+
readonly required: true;
|
|
77
|
+
};
|
|
78
|
+
readonly rules: {
|
|
79
|
+
readonly type: import("vue").PropType<import("./form").FormRules>;
|
|
80
|
+
readonly default: () => {};
|
|
81
|
+
};
|
|
82
|
+
readonly labelWidth: {
|
|
83
|
+
readonly type: import("vue").PropType<string | number>;
|
|
84
|
+
readonly default: "";
|
|
85
|
+
};
|
|
86
|
+
readonly labelPosition: {
|
|
87
|
+
readonly type: import("vue").PropType<import("./form").LabelPosition>;
|
|
88
|
+
readonly default: "right";
|
|
89
|
+
};
|
|
90
|
+
readonly labelSuffix: {
|
|
91
|
+
readonly type: StringConstructor;
|
|
92
|
+
readonly default: "";
|
|
93
|
+
};
|
|
94
|
+
readonly showMessage: {
|
|
95
|
+
readonly type: BooleanConstructor;
|
|
96
|
+
readonly default: true;
|
|
97
|
+
};
|
|
98
|
+
readonly scrollToError: {
|
|
99
|
+
readonly type: BooleanConstructor;
|
|
100
|
+
readonly default: false;
|
|
101
|
+
};
|
|
102
|
+
readonly scrollIntoViewOptions: {
|
|
103
|
+
readonly type: import("vue").PropType<boolean | ScrollIntoViewOptions>;
|
|
104
|
+
readonly default: false;
|
|
105
|
+
};
|
|
106
|
+
readonly scrollToErrorOffset: {
|
|
107
|
+
readonly type: NumberConstructor;
|
|
108
|
+
readonly default: 0;
|
|
109
|
+
};
|
|
110
|
+
readonly disabled: {
|
|
111
|
+
readonly type: BooleanConstructor;
|
|
112
|
+
readonly default: false;
|
|
113
|
+
};
|
|
114
|
+
readonly hideRequiredAsterisk: {
|
|
115
|
+
readonly type: BooleanConstructor;
|
|
116
|
+
readonly default: false;
|
|
117
|
+
};
|
|
118
|
+
readonly size: {
|
|
119
|
+
readonly type: import("vue").PropType<import("./form").ComponentSize>;
|
|
120
|
+
readonly default: "default";
|
|
121
|
+
};
|
|
122
|
+
readonly statusIcon: {
|
|
123
|
+
readonly type: BooleanConstructor;
|
|
124
|
+
readonly default: false;
|
|
125
|
+
};
|
|
126
|
+
readonly layout: {
|
|
127
|
+
readonly type: import("vue").PropType<import("./form").FormLayout>;
|
|
128
|
+
readonly default: "horizontal";
|
|
129
|
+
};
|
|
130
|
+
readonly themeOverrides: {
|
|
131
|
+
readonly type: import("vue").PropType<import("@yh-ui/theme").ComponentThemeVars>;
|
|
132
|
+
readonly default: undefined;
|
|
133
|
+
};
|
|
134
|
+
}>> & Readonly<{
|
|
135
|
+
onValidate?: ((isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any) | undefined;
|
|
136
|
+
}>, {
|
|
137
|
+
readonly disabled: boolean;
|
|
138
|
+
readonly size: import("./form").ComponentSize;
|
|
139
|
+
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
140
|
+
readonly layout: import("./form").FormLayout;
|
|
141
|
+
readonly statusIcon: boolean;
|
|
142
|
+
readonly rules: import("./form").FormRules;
|
|
143
|
+
readonly labelWidth: string | number;
|
|
144
|
+
readonly labelPosition: import("./form").LabelPosition;
|
|
145
|
+
readonly labelSuffix: string;
|
|
146
|
+
readonly showMessage: boolean;
|
|
147
|
+
readonly scrollToError: boolean;
|
|
148
|
+
readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
|
|
149
|
+
readonly scrollToErrorOffset: number;
|
|
150
|
+
readonly hideRequiredAsterisk: boolean;
|
|
151
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
152
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
153
|
+
export default _default;
|
|
154
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
155
|
+
new (): {
|
|
156
|
+
$slots: S;
|
|
157
|
+
};
|
|
158
|
+
};
|
|
@@ -68,8 +68,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
68
68
|
resetFields: (props?: string | string[]) => void;
|
|
69
69
|
clearValidate: (props?: string | string[]) => void;
|
|
70
70
|
scrollToField: (prop: string) => void;
|
|
71
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
72
|
-
validate: (isValid: boolean, invalidFields?: Record<string, unknown> | undefined) =>
|
|
71
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
72
|
+
validate: (isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any;
|
|
73
73
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
74
74
|
readonly model: {
|
|
75
75
|
readonly type: import("vue").PropType<Record<string, unknown>>;
|
|
@@ -134,12 +134,13 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
134
134
|
}>> & Readonly<{
|
|
135
135
|
onValidate?: ((isValid: boolean, invalidFields?: Record<string, unknown> | undefined) => any) | undefined;
|
|
136
136
|
}>, {
|
|
137
|
-
readonly size: import("./form").ComponentSize;
|
|
138
137
|
readonly disabled: boolean;
|
|
138
|
+
readonly size: import("./form").ComponentSize;
|
|
139
139
|
readonly themeOverrides: import("@yh-ui/theme").ComponentThemeVars;
|
|
140
|
-
readonly labelWidth: string | number;
|
|
141
140
|
readonly layout: import("./form").FormLayout;
|
|
141
|
+
readonly statusIcon: boolean;
|
|
142
142
|
readonly rules: import("./form").FormRules;
|
|
143
|
+
readonly labelWidth: string | number;
|
|
143
144
|
readonly labelPosition: import("./form").LabelPosition;
|
|
144
145
|
readonly labelSuffix: string;
|
|
145
146
|
readonly showMessage: boolean;
|
|
@@ -147,7 +148,6 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
147
148
|
readonly scrollIntoViewOptions: boolean | ScrollIntoViewOptions;
|
|
148
149
|
readonly scrollToErrorOffset: number;
|
|
149
150
|
readonly hideRequiredAsterisk: boolean;
|
|
150
|
-
readonly statusIcon: boolean;
|
|
151
151
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
152
152
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
153
153
|
export default _default;
|