vft 0.0.239 → 0.0.241
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/es/components/affix/affix.vue.d.ts +11 -9
- package/es/components/affix/index.d.ts +17 -28
- package/es/components/alert/alert.vue.d.ts +8 -6
- package/es/components/alert/index.d.ts +12 -39
- package/es/components/autocomplete/autocomplete.vue.d.ts +355 -83
- package/es/components/autocomplete/autocomplete.vue2.js +35 -39
- package/es/components/autocomplete/index.d.ts +1040 -287
- package/es/components/avatar/avatar.vue.d.ts +7 -5
- package/es/components/avatar/avatar.vue2.js +28 -31
- package/es/components/avatar/index.d.ts +15 -36
- package/es/components/backtop/backtop.vue.d.ts +7 -5
- package/es/components/backtop/backtop.vue2.js +19 -22
- package/es/components/backtop/index.d.ts +15 -36
- package/es/components/backtop/use-backtop.d.ts +1 -1
- package/es/components/backtop/use-backtop.js +12 -12
- package/es/components/button/button-group.vue.d.ts +4 -2
- package/es/components/button/button.vue.d.ts +13 -11
- package/es/components/button/button.vue2.js +33 -36
- package/es/components/button/index.d.ts +50 -134
- package/es/components/button/use-button.d.ts +1 -1
- package/es/components/button/use-button.js +30 -34
- package/es/components/card/card.vue.d.ts +4 -2
- package/es/components/card/index.d.ts +7 -17
- package/es/components/carousel/carousel-item.vue.d.ts +4 -2
- package/es/components/carousel/carousel.vue.d.ts +15 -13
- package/es/components/carousel/index.d.ts +44 -105
- package/es/components/carousel/use-carousel-item.d.ts +10 -10
- package/es/components/carousel/use-carousel-item.js +8 -9
- package/es/components/carousel/use-carousel.d.ts +5 -5
- package/es/components/carousel/use-carousel.js +89 -93
- package/es/components/check-tag/check-tag.vue.d.ts +7 -5
- package/es/components/check-tag/index.d.ts +12 -19
- package/es/components/checkbox/checkbox-button.vue.d.ts +8 -6
- package/es/components/checkbox/checkbox-button.vue2.js +44 -45
- package/es/components/checkbox/checkbox-group.vue.d.ts +10 -8
- package/es/components/checkbox/checkbox-group.vue2.js +51 -54
- package/es/components/checkbox/checkbox.vue.d.ts +10 -8
- package/es/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox-disabled.js +14 -15
- package/es/components/checkbox/composables/use-checkbox-event.d.ts +1 -1
- package/es/components/checkbox/composables/use-checkbox-event.js +27 -27
- package/es/components/checkbox/composables/use-checkbox-model.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox-model.js +13 -15
- package/es/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/es/components/checkbox/composables/use-checkbox-status.js +16 -22
- package/es/components/checkbox/composables/use-checkbox.d.ts +4 -4
- package/es/components/checkbox/index.d.ts +94 -328
- package/es/components/clamp/clamp.vue.d.ts +12 -10
- package/es/components/clamp/clamp.vue2.js +4 -6
- package/es/components/clamp/index.d.ts +14 -40
- package/es/components/clamp-toggle/clamp-toggle.vue.d.ts +1 -1
- package/es/components/clamp-toggle/index.d.ts +3 -3
- package/es/components/clamp-tooltip/clamp-tooltip.vue.d.ts +1 -1
- package/es/components/clamp-tooltip/clamp-tooltip.vue2.js +29 -32
- package/es/components/clamp-tooltip/index.d.ts +5 -5
- package/es/components/col/col.vue.d.ts +8 -6
- package/es/components/col/index.d.ts +9 -45
- package/es/components/collapse-transition/index.d.ts +8 -23
- package/es/components/collapse-transition/src/collapse-transition.vue.d.ts +4 -2
- package/es/components/collection/collection-item.vue.d.ts +4 -2
- package/es/components/collection/collection.vue.d.ts +4 -2
- package/es/components/color-picker/color-picker.vue.d.ts +8 -8
- package/es/components/color-picker/color-picker.vue2.js +90 -89
- package/es/components/color-picker/components/alpha-slider.vue.d.ts +4 -4
- package/es/components/color-picker/components/hue-slider.vue.d.ts +16 -16
- package/es/components/color-picker/components/predefine.vue.d.ts +12 -12
- package/es/components/color-picker/components/sv-panel.vue.d.ts +14 -14
- package/es/components/color-picker/components/sv-panel.vue.js +15 -16
- package/es/components/color-picker/composables/use-alpha-slider.d.ts +3 -3
- package/es/components/color-picker/index.d.ts +14 -14
- package/es/components/color-picker/utils/color.js +48 -51
- package/es/components/color-picker/utils/draggable.js +12 -15
- package/es/components/config-provider/config-provider.vue.d.ts +4 -2
- package/es/components/config-provider/hooks/use-global-config.d.ts +7 -7
- package/es/components/config-provider/hooks/use-global-config.js +29 -38
- package/es/components/config-provider/index.d.ts +13 -47
- package/es/components/container/aside.vue.d.ts +4 -2
- package/es/components/container/container.vue.d.ts +4 -2
- package/es/components/container/footer.vue.d.ts +4 -2
- package/es/components/container/header.vue.d.ts +4 -2
- package/es/components/container/index.d.ts +61 -89
- package/es/components/container/main.vue.d.ts +4 -2
- package/es/components/context-menu/context-menu.vue.d.ts +1 -1
- package/es/components/context-menu/context-menu.vue2.js +20 -21
- package/es/components/context-menu/createContextMenu.js +6 -6
- package/es/components/context-menu/types.d.ts +23 -0
- package/es/components/context-menu/useContextMenu.js +1 -1
- package/es/components/date-picker/composables/use-range-picker.d.ts +100 -27
- package/es/components/date-picker/date-picker-com/basic-cell-render.d.ts +3 -3
- package/es/components/date-picker/date-picker-com/basic-cell-render.js +14 -14
- package/es/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +16 -16
- package/es/components/date-picker/date-picker-com/basic-date-table.vue2.js +50 -53
- package/es/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +16 -16
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +73 -78
- package/es/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +7 -7
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +23 -25
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +20 -18
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +144 -143
- package/es/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +14 -12
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +80 -78
- package/es/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +10 -10
- package/es/components/date-picker/date-picker-com/panel-month-range.vue2.js +19 -19
- package/es/components/date-picker/date-picker.d.ts +64 -64
- package/es/components/date-picker/date-picker.js +32 -35
- package/es/components/date-picker/index.d.ts +128 -128
- package/es/components/date-picker/panel-utils.d.ts +56 -111
- package/es/components/date-picker/props/basic-date-table.d.ts +4 -4
- package/es/components/date-picker/props/basic-month-table.d.ts +4 -4
- package/es/components/date-picker/props/basic-year-table.d.ts +1 -1
- package/es/components/date-picker/props/date-picker.d.ts +10 -10
- package/es/components/date-picker/props/panel-date-pick.d.ts +2 -2
- package/es/components/date-picker/props/panel-date-range.d.ts +1 -1
- package/es/components/date-picker/props/shared.d.ts +5 -5
- package/es/components/date-picker/utils.js +35 -35
- package/es/components/date-time-select/date-time-select.vue.d.ts +3 -3
- package/es/components/date-time-select/date-time-select.vue2.js +16 -19
- package/es/components/date-time-select/index.d.ts +4 -4
- package/es/components/descriptions/description-item.vue.d.ts +4 -2
- package/es/components/descriptions/description.vue.d.ts +4 -2
- package/es/components/descriptions/description.vue2.js +43 -48
- package/es/components/descriptions/descriptions-cell.d.ts +4 -4
- package/es/components/descriptions/descriptions-cell.js +31 -32
- package/es/components/descriptions/descriptions-row.vue.d.ts +1 -1
- package/es/components/descriptions/index.d.ts +21 -90
- package/es/components/dialog/dialog-content.vue.d.ts +8 -6
- package/es/components/dialog/dialog.vue.d.ts +20 -18
- package/es/components/dialog/dialog.vue2.js +111 -107
- package/es/components/dialog/hooks/use-dialog.d.ts +6 -6
- package/es/components/dialog/hooks/use-dialog.js +55 -56
- package/es/components/dialog/index.d.ts +31 -109
- package/es/components/divider/divider.vue.d.ts +4 -2
- package/es/components/divider/index.d.ts +7 -26
- package/es/components/drawer/drawer.vue.d.ts +18 -16
- package/es/components/drawer/drawer.vue2.js +117 -113
- package/es/components/drawer/index.d.ts +25 -115
- package/es/components/dropdown/dropdown-item-impl.vue.d.ts +62 -14
- package/es/components/dropdown/dropdown-item.vue2.js +39 -43
- package/es/components/dropdown/dropdown-menu.vue.d.ts +6 -6
- package/es/components/dropdown/dropdown-menu.vue2.js +39 -40
- package/es/components/dropdown/dropdown.vue.d.ts +15 -13
- package/es/components/dropdown/dropdown.vue2.js +133 -142
- package/es/components/dropdown/useDropdown.js +29 -31
- package/es/components/empty/empty.vue.d.ts +4 -2
- package/es/components/empty/empty.vue2.js +54 -57
- package/es/components/empty/index.d.ts +7 -20
- package/es/components/exception/exception.vue.d.ts +1 -1
- package/es/components/exception/index.d.ts +3 -3
- package/es/components/focus-trap/focus-trap.vue.d.ts +8 -8
- package/es/components/focus-trap/focus-trap.vue2.js +60 -61
- package/es/components/focus-trap/utils.d.ts +4 -4
- package/es/components/focus-trap/utils.js +41 -36
- package/es/components/footer-layout/footer-layout.vue.d.ts +4 -2
- package/es/components/footer-layout/index.d.ts +6 -6
- package/es/components/form/form-item.vue.d.ts +19 -17
- package/es/components/form/form-item.vue2.js +171 -175
- package/es/components/form/form-label-wrap.d.ts +4 -4
- package/es/components/form/form-label-wrap.js +41 -46
- package/es/components/form/form.vue.d.ts +12 -10
- package/es/components/form/form.vue2.js +68 -69
- package/es/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/es/components/form/hooks/use-form-common-props.js +10 -10
- package/es/components/form/hooks/use-form-item.d.ts +4 -4
- package/es/components/form/hooks/use-form-item.js +27 -30
- package/es/components/form/index.d.ts +74 -202
- package/es/components/full-screen/full-screen.vue.d.ts +1 -1
- package/es/components/full-screen/index.d.ts +7 -7
- package/es/components/header-layout/header-layout.vue.d.ts +4 -2
- package/es/components/header-layout/index.d.ts +10 -14
- package/es/components/horizontal-menu/horizontal-menu.vue.d.ts +4 -4
- package/es/components/horizontal-menu/horizontal-menu.vue2.js +92 -113
- package/es/components/horizontal-menu/index.d.ts +17 -17
- package/es/components/icon/icon.vue.d.ts +1 -1
- package/es/components/icon/icon.vue2.js +25 -30
- package/es/components/icon/index.d.ts +3 -3
- package/es/components/icon-text/icon-text.vue.d.ts +1 -1
- package/es/components/icon-text/icon-text.vue2.js +26 -29
- package/es/components/icon-text/index.d.ts +7 -7
- package/es/components/iframe-layout/iframe-layout.vue.d.ts +1 -1
- package/es/components/iframe-layout/iframe-page.vue.d.ts +1 -1
- package/es/components/iframe-layout/index.d.ts +3 -3
- package/es/components/image/image.vue.d.ts +10 -8
- package/es/components/image/image.vue2.js +37 -37
- package/es/components/image/index.d.ts +22 -65
- package/es/components/image/p-image.vue.d.ts +3 -3
- package/es/components/image-viewer/image-viewer.vue.d.ts +9 -7
- package/es/components/image-viewer/image-viewer.vue2.js +148 -146
- package/es/components/image-viewer/index.d.ts +17 -45
- package/es/components/infinite-scroll/index.d.ts +5 -15
- package/es/components/infinite-scroll/infinite-scroll.js +30 -30
- package/es/components/input/index.d.ts +54 -146
- package/es/components/input/input.vue.d.ts +20 -18
- package/es/components/input/input.vue2.js +291 -302
- package/es/components/input/utils.js +12 -13
- package/es/components/input-number/index.d.ts +8 -8
- package/es/components/input-number/input-number.vue.d.ts +7 -7
- package/es/components/input-number/input-number.vue2.js +122 -129
- package/es/components/link/index.d.ts +15 -36
- package/es/components/link/link.vue.d.ts +7 -5
- package/es/components/link/link.vue2.js +30 -33
- package/es/components/list-cell/index.d.ts +4 -4
- package/es/components/list-cell/list-cell.vue.d.ts +3 -3
- package/es/components/list-cell/list-cell.vue2.js +17 -17
- package/es/components/loading/directive.js +29 -32
- package/es/components/loading/index.d.ts +1 -4
- package/es/components/loading/loading.js +28 -30
- package/es/components/loading/service.js +13 -14
- package/es/components/logo/index.d.ts +3 -3
- package/es/components/logo/logo.vue.d.ts +1 -1
- package/es/components/md-code-demo/code-demo/code.js +38 -43
- package/es/components/md-code-demo/code-demo/utils.js +8 -9
- package/es/components/md-code-demo/index.d.ts +6 -8
- package/es/components/md-code-demo/md-code-demo.d.ts +6 -6
- package/es/components/md-code-demo/md-code-demo.js +155 -158
- package/es/components/md-code-demo/utils.js +1 -2
- package/es/components/md-code-tabs/index.d.ts +6 -8
- package/es/components/md-code-tabs/md-code-tabs.d.ts +4 -4
- package/es/components/md-code-tabs/md-code-tabs.js +44 -45
- package/es/components/md-comment/index.d.ts +1 -1
- package/es/components/md-comment/md-comment.vue.d.ts +1 -1
- package/es/components/md-container/index.d.ts +7 -11
- package/es/components/md-container/md-container.vue.d.ts +4 -2
- package/es/components/md-container/md-container.vue2.js +105 -111
- package/es/components/md-container/toc.d.ts +4 -4
- package/es/components/md-container/toc.js +10 -11
- package/es/components/md-container/use/useActiveHeaderLinks.js +19 -20
- package/es/components/md-tabs/index.d.ts +4 -6
- package/es/components/md-tabs/md-tabs.d.ts +4 -4
- package/es/components/md-tabs/md-tabs.js +32 -33
- package/es/components/md-vue-playground/index.d.ts +3 -3
- package/es/components/md-vue-playground/md-vue-playground.vue.d.ts +1 -1
- package/es/components/menu/index.d.ts +88 -160
- package/es/components/menu/menu-collapse-transition.vue.d.ts +1 -1
- package/es/components/menu/menu-item-group.vue.d.ts +4 -2
- package/es/components/menu/menu-item.vue.d.ts +8 -6
- package/es/components/menu/menu-item.vue2.js +86 -92
- package/es/components/menu/menu.vue.d.ts +12 -11
- package/es/components/menu/menu.vue2.js +111 -112
- package/es/components/menu/sub-menu.vue.d.ts +4 -4
- package/es/components/menu/sub-menu.vue2.js +124 -136
- package/es/components/menu/types.d.ts +0 -1
- package/es/components/menu/utils/menu-item.js +15 -18
- package/es/components/menu/utils/submenu.js +22 -25
- package/es/components/message/message.vue.d.ts +9 -7
- package/es/components/message/message.vue2.js +79 -82
- package/es/components/message/method.js +25 -28
- package/es/components/modal/index.d.ts +32 -153
- package/es/components/modal/modal-footer-action.vue.d.ts +4 -2
- package/es/components/modal/modal.vue.d.ts +9 -9
- package/es/components/modal/modal.vue2.js +1 -1
- package/es/components/modal/use/use-modal.js +48 -57
- package/es/components/multiple-tabs/index.d.ts +1 -33
- package/es/components/multiple-tabs/multiple-tabs.vue.d.ts +1 -11
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +17 -137
- package/es/components/multiple-tabs/tab-content.vue.d.ts +2 -2
- package/es/components/multiple-tabs/tab-content.vue2.js +17 -24
- package/es/components/multiple-tabs/use/use-multiple-tabs.js +30 -36
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +15 -15
- package/es/components/overlay/index.d.ts +4 -4
- package/es/components/overlay/overlay.vue.d.ts +3 -3
- package/es/components/page-wrapper/index.d.ts +7 -11
- package/es/components/page-wrapper/page-wrapper.vue.d.ts +4 -2
- package/es/components/pagination/components/jumper.vue.d.ts +1 -1
- package/es/components/pagination/components/jumper.vue2.js +18 -18
- package/es/components/pagination/components/next.vue.d.ts +3 -3
- package/es/components/pagination/components/pager.vue.d.ts +3 -3
- package/es/components/pagination/components/prev.vue.d.ts +3 -3
- package/es/components/pagination/components/sizes.vue.d.ts +3 -3
- package/es/components/pagination/components/sizes.vue2.js +7 -8
- package/es/components/pagination/components/total.vue.d.ts +1 -1
- package/es/components/pagination/index.d.ts +8 -8
- package/es/components/pagination/pagination.vue.d.ts +3 -3
- package/es/components/pagination/pagination.vue2.js +60 -61
- package/es/components/popconfirm/index.d.ts +37 -85
- package/es/components/popconfirm/popconfirm.vue.d.ts +10 -8
- package/es/components/popconfirm/popconfirm.vue2.js +37 -38
- package/es/components/popover/directive.d.ts +1 -1
- package/es/components/popover/directive.js +11 -11
- package/es/components/popover/index.d.ts +44 -87
- package/es/components/popover/popover.vue.d.ts +9 -9
- package/es/components/popover/popover.vue2.js +44 -43
- package/es/components/popover/types.d.ts +3 -0
- package/es/components/popper/arrow.vue.d.ts +3 -3
- package/es/components/popper/composables/use-content-dom.d.ts +2 -2
- package/es/components/popper/composables/use-content-dom.js +14 -12
- package/es/components/popper/composables/use-content.d.ts +12 -12
- package/es/components/popper/composables/use-content.js +9 -12
- package/es/components/popper/composables/use-focus-trap.d.ts +2 -2
- package/es/components/popper/composables/use-focus-trap.js +5 -6
- package/es/components/popper/constants.d.ts +0 -1
- package/es/components/popper/content.vue.d.ts +9 -7
- package/es/components/popper/content.vue2.js +78 -73
- package/es/components/popper/index.d.ts +9 -13
- package/es/components/popper/popper.vue.d.ts +6 -4
- package/es/components/popper/trigger.vue.d.ts +7 -5
- package/es/components/popper/trigger.vue2.js +55 -57
- package/es/components/popper/utils.js +16 -16
- package/es/components/progress/index.d.ts +10 -53
- package/es/components/progress/progress.vue.d.ts +4 -2
- package/es/components/progress/progress.vue2.js +35 -39
- package/es/components/progress-i/index.d.ts +1 -1
- package/es/components/progress-i/progress-i.vue.d.ts +1 -1
- package/es/components/qrcode/index.d.ts +8 -12
- package/es/components/qrcode/qrcode.vue.d.ts +4 -4
- package/es/components/radio/index.d.ts +80 -230
- package/es/components/radio/radio-button.vue.d.ts +7 -5
- package/es/components/radio/radio-button.vue2.js +49 -52
- package/es/components/radio/radio-group.vue.d.ts +10 -8
- package/es/components/radio/radio-group.vue2.js +49 -52
- package/es/components/radio/radio.vue.d.ts +7 -5
- package/es/components/radio/radio.vue2.js +57 -60
- package/es/components/radio/use-radio.d.ts +3 -3
- package/es/components/radio/use-radio.js +17 -17
- package/es/components/result/index.d.ts +5 -5
- package/es/components/result/result.vue.d.ts +1 -1
- package/es/components/result/result.vue2.js +25 -29
- package/es/components/router-view-content/index.d.ts +3 -3
- package/es/components/router-view-content/router-view-content.vue.d.ts +1 -1
- package/es/components/router-view-content/router-view-content.vue2.js +45 -46
- package/es/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +5 -5
- package/es/components/roving-focus-group/roving-focus-group-impl.vue2.js +61 -64
- package/es/components/row/index.d.ts +7 -20
- package/es/components/row/row.vue.d.ts +4 -2
- package/es/components/scrollbar/bar.vue.d.ts +2 -2
- package/es/components/scrollbar/index.d.ts +20 -59
- package/es/components/scrollbar/scrollbar.vue.d.ts +9 -7
- package/es/components/scrollbar/scrollbar.vue2.js +44 -46
- package/es/components/scrollbar/thumb.vue.d.ts +1 -1
- package/es/components/scrollbar/thumb.vue2.js +26 -27
- package/es/components/scrollbar/util.d.ts +1 -1
- package/es/components/search/index.d.ts +44 -91
- package/es/components/search/search.vue.d.ts +18 -16
- package/es/components/search/search.vue2.js +45 -48
- package/es/components/select/defaults.d.ts +5 -4
- package/es/components/select/group-item.vue.d.ts +11 -11
- package/es/components/select/option-item.vue.d.ts +13 -13
- package/es/components/select/select-dropdown.d.ts +3 -3
- package/es/components/select/select-dropdown.js +107 -112
- package/es/components/select/select.vue.js +2 -2
- package/es/components/select/useSelect.d.ts +353 -83
- package/es/components/select/useSelect.js +194 -210
- package/es/components/side-menu/index.d.ts +14 -14
- package/es/components/side-menu/side-menu.vue.d.ts +10 -10
- package/es/components/side-menu/side-menu.vue2.js +145 -160
- package/es/components/side-menu/use-drag-line.js +27 -32
- package/es/components/skeleton/index.d.ts +18 -34
- package/es/components/skeleton/skeleton-item.vue.d.ts +1 -1
- package/es/components/skeleton/skeleton.vue.d.ts +7 -5
- package/es/components/slider/button.vue.d.ts +6 -6
- package/es/components/slider/composables/use-lifecycle.d.ts +1 -1
- package/es/components/slider/composables/use-slide.d.ts +100 -28
- package/es/components/slider/composables/use-slide.js +59 -61
- package/es/components/slider/composables/use-slider-button.d.ts +4 -4
- package/es/components/slider/composables/use-watch.d.ts +1 -1
- package/es/components/slider/composables/use-watch.js +23 -24
- package/es/components/slider/index.d.ts +10 -10
- package/es/components/slider/marker.d.ts +5 -5
- package/es/components/slider/slider.vue.d.ts +10 -10
- package/es/components/slider/slider.vue2.js +162 -165
- package/es/components/slot/only-child.d.ts +1 -1
- package/es/components/slot/only-child.js +32 -33
- package/es/components/space/index.d.ts +20 -14
- package/es/components/space/item.d.ts +4 -4
- package/es/components/space/space.d.ts +25 -17
- package/es/components/space/use-space.d.ts +1 -1
- package/es/components/steps/index.d.ts +42 -96
- package/es/components/steps/item.vue.d.ts +4 -2
- package/es/components/steps/item.vue2.js +59 -62
- package/es/components/steps/steps.vue.d.ts +12 -10
- package/es/components/super-form/index.d.ts +255 -48
- package/es/components/super-form/super-form-action.vue.d.ts +4 -2
- package/es/components/super-form/super-form-item.vue.d.ts +1 -1
- package/es/components/super-form/super-form-item.vue2.js +99 -100
- package/es/components/super-form/super-form.vue.d.ts +23 -11
- package/es/components/super-form/super-form.vue2.js +151 -162
- package/es/components/super-form/use/use-auto-focus.js +9 -9
- package/es/components/super-form/use/use-form-events.js +143 -147
- package/es/components/super-form/use/use-form-values.js +13 -13
- package/es/components/super-form/use/use-form.js +4 -12
- package/es/components/switch/index.d.ts +25 -25
- package/es/components/switch/switch.vue.d.ts +13 -13
- package/es/components/switch/switch.vue2.js +128 -133
- package/es/components/table/field.d.ts +1 -1
- package/es/components/table/field.js +70 -71
- package/es/components/table/index.d.ts +77 -513
- package/es/components/table/table.vue.d.ts +23 -21
- package/es/components/table/table.vue2.js +100 -105
- package/es/components/table/use/use-data-source.d.ts +2 -2
- package/es/components/table/use/use-data-source.js +84 -86
- package/es/components/table/use/use-table.js +9 -12
- package/es/components/table/utils.js +11 -14
- package/es/components/tabs/index.d.ts +44 -80
- package/es/components/tabs/tab-bar.vue.d.ts +4 -3
- package/es/components/tabs/tab-bar.vue2.js +43 -34
- package/es/components/tabs/tab-nav.vue.d.ts +10 -5
- package/es/components/tabs/tab-nav.vue2.js +137 -130
- package/es/components/tabs/tab-pane.vue.d.ts +4 -2
- package/es/components/tabs/tab-pane.vue2.js +33 -27
- package/es/components/tabs/tabs.vue.d.ts +23 -26
- package/es/components/tabs/tabs.vue2.js +82 -67
- package/es/components/tabs/types.d.ts +8 -5
- package/es/components/tag/index.d.ts +4 -4
- package/es/components/tag/tag.vue.d.ts +3 -3
- package/es/components/tag/tag.vue2.js +20 -23
- package/es/components/teleport/index.d.ts +43 -0
- package/es/components/teleport/index.js +12 -0
- package/es/components/teleport/style/css.d.ts +1 -0
- package/es/components/teleport/style/css.js +2 -0
- package/es/components/teleport/style/index.d.ts +1 -0
- package/es/components/teleport/style/index.js +2 -0
- package/es/components/teleport/teleport.vue.d.ts +21 -0
- package/es/components/teleport/teleport.vue.js +4 -0
- package/es/components/teleport/teleport.vue2.js +19 -0
- package/es/components/teleport/types.d.ts +4 -0
- package/es/components/teleport/types.js +1 -0
- package/es/components/time-picker/common/picker.vue.d.ts +54 -52
- package/es/components/time-picker/common/picker.vue2.js +199 -210
- package/es/components/time-picker/common/props.d.ts +9 -9
- package/es/components/time-picker/composables/use-time-panel.js +33 -33
- package/es/components/time-picker/composables/use-time-picker.d.ts +160 -20
- package/es/components/time-picker/composables/use-time-picker.js +21 -21
- package/es/components/time-picker/index.d.ts +120 -120
- package/es/components/time-picker/props/basic-time-spinner.d.ts +1 -1
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +11 -11
- package/es/components/time-picker/time-picker-com/basic-time-spinner.vue2.js +1 -4
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +10 -10
- package/es/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +10 -10
- package/es/components/time-picker/time-picker.d.ts +60 -60
- package/es/components/time-picker/time-picker.js +14 -18
- package/es/components/time-picker/utils.js +18 -18
- package/es/components/time-select/time-select.d.ts +3 -3
- package/es/components/time-select/time-select.vue.d.ts +30 -30
- package/es/components/time-select/time-select.vue2.js +2 -4
- package/es/components/timeline/index.d.ts +21 -77
- package/es/components/timeline/timeline-item.vue.d.ts +4 -2
- package/es/components/timeline/timeline.vue.d.ts +1 -1
- package/es/components/tooltip/content.vue.d.ts +8 -5
- package/es/components/tooltip/content.vue2.js +114 -108
- package/es/components/tooltip/index.d.ts +38 -187
- package/es/components/tooltip/tooltip.vue.d.ts +16 -14
- package/es/components/tooltip/tooltip.vue2.js +70 -72
- package/es/components/tooltip/trigger.vue.d.ts +9 -4
- package/es/components/tooltip/types.d.ts +1 -0
- package/es/components/tooltip/utils.d.ts +2 -2
- package/es/components/tree/index.d.ts +74 -722
- package/es/components/tree/model/node.js +73 -76
- package/es/components/tree/model/tree-store.js +49 -52
- package/es/components/tree/model/useDragNode.d.ts +12 -0
- package/es/components/tree/model/useDragNode.js +6 -6
- package/es/components/tree/model/useKeydown.js +20 -21
- package/es/components/tree/model/util.d.ts +1 -1
- package/es/components/tree/tree-node-content.vue.d.ts +3 -3
- package/es/components/tree/tree-node.vue.d.ts +610 -18
- package/es/components/tree/tree.vue.d.ts +26 -24
- package/es/components/upload/ajax.js +32 -36
- package/es/components/upload/index.d.ts +26 -117
- package/es/components/upload/upload-content.vue.d.ts +10 -8
- package/es/components/upload/upload-dragger.vue.d.ts +7 -5
- package/es/components/upload/upload-list.vue.d.ts +13 -11
- package/es/components/upload/upload.vue.d.ts +15 -13
- package/es/components/upload/upload.vue2.js +1 -1
- package/es/components/upload/use-handlers.d.ts +24 -2
- package/es/components/upload/use-handlers.js +58 -69
- package/es/components/verify-code/index.d.ts +6 -6
- package/es/components/verify-code/useImageVerify.d.ts +2 -2
- package/es/components/verify-code/verify-code.vue.d.ts +5 -5
- package/es/components/virtual-list/builders/build-grid.d.ts +21 -21
- package/es/components/virtual-list/builders/build-grid.js +233 -235
- package/es/components/virtual-list/builders/build-list.d.ts +68 -54
- package/es/components/virtual-list/builders/build-list.js +176 -178
- package/es/components/virtual-list/components/dynamic-size-grid.d.ts +21 -21
- package/es/components/virtual-list/components/dynamic-size-grid.js +1 -2
- package/es/components/virtual-list/components/dynamic-size-list.d.ts +39 -25
- package/es/components/virtual-list/components/dynamic-size-list.js +18 -19
- package/es/components/virtual-list/components/fixed-size-grid.d.ts +28 -28
- package/es/components/virtual-list/components/fixed-size-list.d.ts +40 -26
- package/es/components/virtual-list/components/scrollbar.d.ts +6 -6
- package/es/components/virtual-list/props.d.ts +14 -14
- package/es/components/virtual-list/utils.d.ts +2 -2
- package/es/defaults.d.ts +1 -1
- package/es/hooks/index.js +24 -23
- package/es/hooks/use-attrs/index.js +14 -17
- package/es/hooks/use-focus/index.js +3 -4
- package/es/hooks/use-lockscreen/index.js +1 -1
- package/es/hooks/use-namespace/index.d.ts +1 -1
- package/es/hooks/use-ordered-children/index.d.ts +9 -5
- package/es/hooks/use-ordered-children/index.js +41 -23
- package/es/hooks/use-popper/index.d.ts +10 -10
- package/es/hooks/use-popper/index.js +27 -36
- package/es/hooks/use-same-target/index.d.ts +1 -1
- package/es/hooks/use-throttle-render/index.d.ts +1 -1
- package/es/hooks/use-z-index/index.d.ts +4 -0
- package/es/hooks/use-z-index/index.js +25 -14
- package/es/index.d.ts +1 -1
- package/es/index.js +282 -272
- package/es/package.json.d.ts +2 -2
- package/es/package.json.js +1 -1
- package/es/utils/dom/aria.d.ts +30 -0
- package/es/utils/dom/aria.js +42 -0
- package/es/utils/dom/index.d.ts +1 -0
- package/es/utils/dom/index.js +19 -10
- package/es/utils/dom/scroll.js +10 -11
- package/es/utils/event.d.ts +1 -1
- package/es/utils/event.js +7 -7
- package/es/utils/helper.d.ts +1 -1
- package/es/utils/index.js +68 -59
- package/es/utils/ns-cover.d.ts +2 -2
- package/es/utils/typescript.d.ts +1 -1
- package/es/utils/vue/install.d.ts +1 -1
- package/es/utils/vue/props/runtime.d.ts +4 -4
- package/es/utils/vue/props/runtime.js +1 -1
- package/es/utils/vue/vnode.d.ts +1 -1
- package/es/utils/vue/vnode.js +24 -25
- package/lib/components/affix/affix.vue.d.ts +11 -9
- package/lib/components/affix/index.d.ts +17 -28
- package/lib/components/alert/alert.vue.d.ts +8 -6
- package/lib/components/alert/index.d.ts +12 -39
- package/lib/components/autocomplete/autocomplete.vue.d.ts +355 -83
- package/lib/components/autocomplete/autocomplete.vue2.cjs +1 -1
- package/lib/components/autocomplete/index.d.ts +1040 -287
- package/lib/components/avatar/avatar.vue.d.ts +7 -5
- package/lib/components/avatar/avatar.vue2.cjs +1 -1
- package/lib/components/avatar/index.d.ts +15 -36
- package/lib/components/backtop/backtop.vue.d.ts +7 -5
- package/lib/components/backtop/backtop.vue2.cjs +1 -1
- package/lib/components/backtop/index.d.ts +15 -36
- package/lib/components/backtop/use-backtop.cjs +1 -1
- package/lib/components/backtop/use-backtop.d.ts +1 -1
- package/lib/components/button/button-group.vue.d.ts +4 -2
- package/lib/components/button/button.vue.d.ts +13 -11
- package/lib/components/button/button.vue2.cjs +1 -1
- package/lib/components/button/index.d.ts +50 -134
- package/lib/components/button/use-button.cjs +1 -1
- package/lib/components/button/use-button.d.ts +1 -1
- package/lib/components/card/card.vue.d.ts +4 -2
- package/lib/components/card/index.d.ts +7 -17
- package/lib/components/carousel/carousel-item.vue.d.ts +4 -2
- package/lib/components/carousel/carousel.vue.d.ts +15 -13
- package/lib/components/carousel/index.d.ts +44 -105
- package/lib/components/carousel/use-carousel-item.cjs +1 -1
- package/lib/components/carousel/use-carousel-item.d.ts +10 -10
- package/lib/components/carousel/use-carousel.cjs +1 -1
- package/lib/components/carousel/use-carousel.d.ts +5 -5
- package/lib/components/check-tag/check-tag.vue.d.ts +7 -5
- package/lib/components/check-tag/index.d.ts +12 -19
- package/lib/components/checkbox/checkbox-button.vue.d.ts +8 -6
- package/lib/components/checkbox/checkbox-button.vue2.cjs +1 -1
- package/lib/components/checkbox/checkbox-group.vue.d.ts +10 -8
- package/lib/components/checkbox/checkbox-group.vue2.cjs +1 -1
- package/lib/components/checkbox/checkbox.vue.d.ts +10 -8
- package/lib/components/checkbox/composables/use-checkbox-disabled.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-disabled.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox-event.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-event.d.ts +1 -1
- package/lib/components/checkbox/composables/use-checkbox-model.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-model.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox-status.cjs +1 -1
- package/lib/components/checkbox/composables/use-checkbox-status.d.ts +2 -2
- package/lib/components/checkbox/composables/use-checkbox.d.ts +4 -4
- package/lib/components/checkbox/index.d.ts +94 -328
- package/lib/components/clamp/clamp.vue.d.ts +12 -10
- package/lib/components/clamp/clamp.vue2.cjs +1 -1
- package/lib/components/clamp/index.d.ts +14 -40
- package/lib/components/clamp-toggle/clamp-toggle.vue.d.ts +1 -1
- package/lib/components/clamp-toggle/index.d.ts +3 -3
- package/lib/components/clamp-tooltip/clamp-tooltip.vue.d.ts +1 -1
- package/lib/components/clamp-tooltip/clamp-tooltip.vue2.cjs +1 -1
- package/lib/components/clamp-tooltip/index.d.ts +5 -5
- package/lib/components/col/col.vue.d.ts +8 -6
- package/lib/components/col/index.d.ts +9 -45
- package/lib/components/collapse-transition/index.d.ts +8 -23
- package/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +4 -2
- package/lib/components/collection/collection-item.vue.d.ts +4 -2
- package/lib/components/collection/collection.vue.d.ts +4 -2
- package/lib/components/color-picker/color-picker.vue.d.ts +8 -8
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/color-picker/components/alpha-slider.vue.d.ts +4 -4
- package/lib/components/color-picker/components/hue-slider.vue.d.ts +16 -16
- package/lib/components/color-picker/components/predefine.vue.d.ts +12 -12
- package/lib/components/color-picker/components/sv-panel.vue.cjs +1 -1
- package/lib/components/color-picker/components/sv-panel.vue.d.ts +14 -14
- package/lib/components/color-picker/composables/use-alpha-slider.d.ts +3 -3
- package/lib/components/color-picker/index.d.ts +14 -14
- package/lib/components/color-picker/utils/color.cjs +1 -1
- package/lib/components/color-picker/utils/draggable.cjs +1 -1
- package/lib/components/config-provider/config-provider.vue.d.ts +4 -2
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/hooks/use-global-config.d.ts +7 -7
- package/lib/components/config-provider/index.d.ts +13 -47
- package/lib/components/container/aside.vue.d.ts +4 -2
- package/lib/components/container/container.vue.d.ts +4 -2
- package/lib/components/container/footer.vue.d.ts +4 -2
- package/lib/components/container/header.vue.d.ts +4 -2
- package/lib/components/container/index.d.ts +61 -89
- package/lib/components/container/main.vue.d.ts +4 -2
- package/lib/components/context-menu/context-menu.vue.d.ts +1 -1
- package/lib/components/context-menu/context-menu.vue2.cjs +1 -1
- package/lib/components/context-menu/createContextMenu.cjs +1 -1
- package/lib/components/context-menu/types.d.ts +23 -0
- package/lib/components/date-picker/composables/use-range-picker.d.ts +100 -27
- package/lib/components/date-picker/date-picker-com/basic-cell-render.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-cell-render.d.ts +3 -3
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue.d.ts +16 -16
- package/lib/components/date-picker/date-picker-com/basic-date-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue.d.ts +16 -16
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue.d.ts +7 -7
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue.d.ts +20 -18
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue.d.ts +14 -12
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue.d.ts +10 -10
- package/lib/components/date-picker/date-picker-com/panel-month-range.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker.cjs +1 -1
- package/lib/components/date-picker/date-picker.d.ts +64 -64
- package/lib/components/date-picker/index.d.ts +128 -128
- package/lib/components/date-picker/panel-utils.d.ts +56 -111
- package/lib/components/date-picker/props/basic-date-table.d.ts +4 -4
- package/lib/components/date-picker/props/basic-month-table.d.ts +4 -4
- package/lib/components/date-picker/props/basic-year-table.d.ts +1 -1
- package/lib/components/date-picker/props/date-picker.d.ts +10 -10
- package/lib/components/date-picker/props/panel-date-pick.d.ts +2 -2
- package/lib/components/date-picker/props/panel-date-range.d.ts +1 -1
- package/lib/components/date-picker/props/shared.d.ts +5 -5
- package/lib/components/date-picker/utils.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue.d.ts +3 -3
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/date-time-select/index.d.ts +4 -4
- package/lib/components/descriptions/description-item.vue.d.ts +4 -2
- package/lib/components/descriptions/description.vue.d.ts +4 -2
- package/lib/components/descriptions/description.vue2.cjs +1 -1
- package/lib/components/descriptions/descriptions-cell.cjs +1 -1
- package/lib/components/descriptions/descriptions-cell.d.ts +4 -4
- package/lib/components/descriptions/descriptions-row.vue.d.ts +1 -1
- package/lib/components/descriptions/index.d.ts +21 -90
- package/lib/components/dialog/dialog-content.vue.d.ts +8 -6
- package/lib/components/dialog/dialog.vue.d.ts +20 -18
- package/lib/components/dialog/dialog.vue2.cjs +1 -1
- package/lib/components/dialog/hooks/use-dialog.cjs +1 -1
- package/lib/components/dialog/hooks/use-dialog.d.ts +6 -6
- package/lib/components/dialog/index.d.ts +31 -109
- package/lib/components/divider/divider.vue.d.ts +4 -2
- package/lib/components/divider/index.d.ts +7 -26
- package/lib/components/drawer/drawer.vue.d.ts +18 -16
- package/lib/components/drawer/drawer.vue2.cjs +1 -1
- package/lib/components/drawer/index.d.ts +25 -115
- package/lib/components/dropdown/dropdown-item-impl.vue.d.ts +62 -14
- package/lib/components/dropdown/dropdown-item.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown-menu.vue.d.ts +6 -6
- package/lib/components/dropdown/dropdown-menu.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue.d.ts +15 -13
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/dropdown/useDropdown.cjs +1 -1
- package/lib/components/empty/empty.vue.d.ts +4 -2
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/empty/index.d.ts +7 -20
- package/lib/components/exception/exception.vue.d.ts +1 -1
- package/lib/components/exception/index.d.ts +3 -3
- package/lib/components/focus-trap/focus-trap.vue.d.ts +8 -8
- package/lib/components/focus-trap/focus-trap.vue2.cjs +1 -1
- package/lib/components/focus-trap/utils.cjs +1 -1
- package/lib/components/focus-trap/utils.d.ts +4 -4
- package/lib/components/footer-layout/footer-layout.vue.d.ts +4 -2
- package/lib/components/footer-layout/index.d.ts +6 -6
- package/lib/components/form/form-item.vue.d.ts +19 -17
- package/lib/components/form/form-item.vue2.cjs +1 -1
- package/lib/components/form/form-label-wrap.cjs +1 -1
- package/lib/components/form/form-label-wrap.d.ts +4 -4
- package/lib/components/form/form.vue.d.ts +12 -10
- package/lib/components/form/form.vue2.cjs +1 -1
- package/lib/components/form/hooks/use-form-common-props.cjs +1 -1
- package/lib/components/form/hooks/use-form-common-props.d.ts +2 -2
- package/lib/components/form/hooks/use-form-item.cjs +1 -1
- package/lib/components/form/hooks/use-form-item.d.ts +4 -4
- package/lib/components/form/index.d.ts +74 -202
- package/lib/components/full-screen/full-screen.vue.d.ts +1 -1
- package/lib/components/full-screen/index.d.ts +7 -7
- package/lib/components/header-layout/header-layout.vue.d.ts +4 -2
- package/lib/components/header-layout/index.d.ts +10 -14
- package/lib/components/horizontal-menu/horizontal-menu.vue.d.ts +4 -4
- package/lib/components/horizontal-menu/horizontal-menu.vue2.cjs +1 -1
- package/lib/components/horizontal-menu/index.d.ts +17 -17
- package/lib/components/icon/icon.vue.d.ts +1 -1
- package/lib/components/icon/icon.vue2.cjs +1 -1
- package/lib/components/icon/index.d.ts +3 -3
- package/lib/components/icon-text/icon-text.vue.d.ts +1 -1
- package/lib/components/icon-text/icon-text.vue2.cjs +1 -1
- package/lib/components/icon-text/index.d.ts +7 -7
- package/lib/components/iframe-layout/iframe-layout.vue.d.ts +1 -1
- package/lib/components/iframe-layout/iframe-page.vue.d.ts +1 -1
- package/lib/components/iframe-layout/index.d.ts +3 -3
- package/lib/components/image/image.vue.d.ts +10 -8
- package/lib/components/image/image.vue2.cjs +1 -1
- package/lib/components/image/index.d.ts +22 -65
- package/lib/components/image/p-image.vue.d.ts +3 -3
- package/lib/components/image-viewer/image-viewer.vue.d.ts +9 -7
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/image-viewer/index.d.ts +17 -45
- package/lib/components/infinite-scroll/index.d.ts +5 -15
- package/lib/components/infinite-scroll/infinite-scroll.cjs +1 -1
- package/lib/components/input/index.d.ts +54 -146
- package/lib/components/input/input.vue.d.ts +20 -18
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/input/utils.cjs +2 -2
- package/lib/components/input-number/index.d.ts +8 -8
- package/lib/components/input-number/input-number.vue.d.ts +7 -7
- package/lib/components/input-number/input-number.vue2.cjs +1 -1
- package/lib/components/link/index.d.ts +15 -36
- package/lib/components/link/link.vue.d.ts +7 -5
- package/lib/components/link/link.vue2.cjs +1 -1
- package/lib/components/list-cell/index.d.ts +4 -4
- package/lib/components/list-cell/list-cell.vue.d.ts +3 -3
- package/lib/components/list-cell/list-cell.vue2.cjs +1 -1
- package/lib/components/loading/directive.cjs +1 -1
- package/lib/components/loading/index.d.ts +1 -4
- package/lib/components/loading/loading.cjs +1 -1
- package/lib/components/loading/service.cjs +1 -1
- package/lib/components/logo/index.d.ts +3 -3
- package/lib/components/logo/logo.vue.d.ts +1 -1
- package/lib/components/md-code-demo/code-demo/code.cjs +4 -4
- package/lib/components/md-code-demo/code-demo/utils.cjs +2 -2
- package/lib/components/md-code-demo/index.d.ts +6 -8
- package/lib/components/md-code-demo/md-code-demo.cjs +1 -1
- package/lib/components/md-code-demo/md-code-demo.d.ts +6 -6
- package/lib/components/md-code-demo/utils.cjs +2 -2
- package/lib/components/md-code-tabs/index.d.ts +6 -8
- package/lib/components/md-code-tabs/md-code-tabs.cjs +1 -1
- package/lib/components/md-code-tabs/md-code-tabs.d.ts +4 -4
- package/lib/components/md-comment/index.d.ts +1 -1
- package/lib/components/md-comment/md-comment.vue.d.ts +1 -1
- package/lib/components/md-container/index.d.ts +7 -11
- package/lib/components/md-container/md-container.vue.d.ts +4 -2
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/md-container/toc.d.ts +4 -4
- package/lib/components/md-container/use/useActiveHeaderLinks.cjs +1 -1
- package/lib/components/md-tabs/index.d.ts +4 -6
- package/lib/components/md-tabs/md-tabs.cjs +1 -1
- package/lib/components/md-tabs/md-tabs.d.ts +4 -4
- package/lib/components/md-vue-playground/index.d.ts +3 -3
- package/lib/components/md-vue-playground/md-vue-playground.vue.d.ts +1 -1
- package/lib/components/menu/index.d.ts +88 -160
- package/lib/components/menu/menu-collapse-transition.vue.d.ts +1 -1
- package/lib/components/menu/menu-item-group.vue.d.ts +4 -2
- package/lib/components/menu/menu-item.vue.d.ts +8 -6
- package/lib/components/menu/menu-item.vue2.cjs +1 -1
- package/lib/components/menu/menu.vue.d.ts +12 -11
- package/lib/components/menu/menu.vue2.cjs +1 -1
- package/lib/components/menu/sub-menu.vue.d.ts +4 -4
- package/lib/components/menu/sub-menu.vue2.cjs +1 -1
- package/lib/components/menu/types.d.ts +0 -1
- package/lib/components/menu/utils/menu-item.cjs +1 -1
- package/lib/components/menu/utils/submenu.cjs +1 -1
- package/lib/components/message/message.vue.d.ts +9 -7
- package/lib/components/message/message.vue2.cjs +1 -1
- package/lib/components/message/method.cjs +1 -1
- package/lib/components/modal/index.d.ts +32 -153
- package/lib/components/modal/modal-footer-action.vue.d.ts +4 -2
- package/lib/components/modal/modal.vue.d.ts +9 -9
- package/lib/components/modal/modal.vue2.cjs +1 -1
- package/lib/components/modal/use/use-modal.cjs +1 -1
- package/lib/components/multiple-tabs/index.d.ts +1 -33
- package/lib/components/multiple-tabs/multiple-tabs.vue.d.ts +1 -11
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/tab-content.vue.d.ts +2 -2
- package/lib/components/multiple-tabs/tab-content.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-multiple-tabs.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/overlay/index.d.ts +4 -4
- package/lib/components/overlay/overlay.vue.d.ts +3 -3
- package/lib/components/page-wrapper/index.d.ts +7 -11
- package/lib/components/page-wrapper/page-wrapper.vue.d.ts +4 -2
- package/lib/components/pagination/components/jumper.vue.d.ts +1 -1
- package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
- package/lib/components/pagination/components/next.vue.d.ts +3 -3
- package/lib/components/pagination/components/pager.vue.d.ts +3 -3
- package/lib/components/pagination/components/prev.vue.d.ts +3 -3
- package/lib/components/pagination/components/sizes.vue.d.ts +3 -3
- package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
- package/lib/components/pagination/components/total.vue.d.ts +1 -1
- package/lib/components/pagination/index.d.ts +8 -8
- package/lib/components/pagination/pagination.vue.d.ts +3 -3
- package/lib/components/pagination/pagination.vue2.cjs +1 -1
- package/lib/components/popconfirm/index.d.ts +37 -85
- package/lib/components/popconfirm/popconfirm.vue.d.ts +10 -8
- package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
- package/lib/components/popover/directive.cjs +1 -1
- package/lib/components/popover/directive.d.ts +1 -1
- package/lib/components/popover/index.d.ts +44 -87
- package/lib/components/popover/popover.vue.d.ts +9 -9
- package/lib/components/popover/popover.vue2.cjs +1 -1
- package/lib/components/popover/types.d.ts +3 -0
- package/lib/components/popper/arrow.vue.d.ts +3 -3
- package/lib/components/popper/composables/use-content-dom.cjs +1 -1
- package/lib/components/popper/composables/use-content-dom.d.ts +2 -2
- package/lib/components/popper/composables/use-content.cjs +1 -1
- package/lib/components/popper/composables/use-content.d.ts +12 -12
- package/lib/components/popper/composables/use-focus-trap.cjs +1 -1
- package/lib/components/popper/composables/use-focus-trap.d.ts +2 -2
- package/lib/components/popper/constants.d.ts +0 -1
- package/lib/components/popper/content.vue.d.ts +9 -7
- package/lib/components/popper/content.vue2.cjs +1 -1
- package/lib/components/popper/index.d.ts +9 -13
- package/lib/components/popper/popper.vue.d.ts +6 -4
- package/lib/components/popper/trigger.vue.d.ts +7 -5
- package/lib/components/popper/trigger.vue2.cjs +1 -1
- package/lib/components/popper/utils.cjs +1 -1
- package/lib/components/progress/index.d.ts +10 -53
- package/lib/components/progress/progress.vue.d.ts +4 -2
- package/lib/components/progress/progress.vue2.cjs +2 -2
- package/lib/components/progress-i/index.d.ts +1 -1
- package/lib/components/progress-i/progress-i.vue.d.ts +1 -1
- package/lib/components/qrcode/index.d.ts +8 -12
- package/lib/components/qrcode/qrcode.vue.d.ts +4 -4
- package/lib/components/radio/index.d.ts +80 -230
- package/lib/components/radio/radio-button.vue.d.ts +7 -5
- package/lib/components/radio/radio-button.vue2.cjs +1 -1
- package/lib/components/radio/radio-group.vue.d.ts +10 -8
- package/lib/components/radio/radio-group.vue2.cjs +1 -1
- package/lib/components/radio/radio.vue.d.ts +7 -5
- package/lib/components/radio/radio.vue2.cjs +1 -1
- package/lib/components/radio/use-radio.cjs +1 -1
- package/lib/components/radio/use-radio.d.ts +3 -3
- package/lib/components/result/index.d.ts +5 -5
- package/lib/components/result/result.vue.d.ts +1 -1
- package/lib/components/result/result.vue2.cjs +1 -1
- package/lib/components/router-view-content/index.d.ts +3 -3
- package/lib/components/router-view-content/router-view-content.vue.d.ts +1 -1
- package/lib/components/router-view-content/router-view-content.vue2.cjs +1 -1
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue.d.ts +5 -5
- package/lib/components/roving-focus-group/roving-focus-group-impl.vue2.cjs +1 -1
- package/lib/components/row/index.d.ts +7 -20
- package/lib/components/row/row.vue.d.ts +4 -2
- package/lib/components/scrollbar/bar.vue.d.ts +2 -2
- package/lib/components/scrollbar/index.d.ts +20 -59
- package/lib/components/scrollbar/scrollbar.vue.d.ts +9 -7
- package/lib/components/scrollbar/scrollbar.vue2.cjs +1 -1
- package/lib/components/scrollbar/thumb.vue.d.ts +1 -1
- package/lib/components/scrollbar/thumb.vue2.cjs +1 -1
- package/lib/components/scrollbar/util.d.ts +1 -1
- package/lib/components/search/index.d.ts +44 -91
- package/lib/components/search/search.vue.d.ts +18 -16
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/defaults.d.ts +5 -4
- package/lib/components/select/group-item.vue.d.ts +11 -11
- package/lib/components/select/option-item.vue.d.ts +13 -13
- package/lib/components/select/select-dropdown.cjs +1 -1
- package/lib/components/select/select-dropdown.d.ts +3 -3
- package/lib/components/select/select.vue.cjs +1 -1
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/select/useSelect.d.ts +353 -83
- package/lib/components/side-menu/index.d.ts +14 -14
- package/lib/components/side-menu/side-menu.vue.d.ts +10 -10
- package/lib/components/side-menu/side-menu.vue2.cjs +1 -1
- package/lib/components/side-menu/use-drag-line.cjs +1 -1
- package/lib/components/skeleton/index.d.ts +18 -34
- package/lib/components/skeleton/skeleton-item.vue.d.ts +1 -1
- package/lib/components/skeleton/skeleton.vue.d.ts +7 -5
- package/lib/components/slider/button.vue.d.ts +6 -6
- package/lib/components/slider/composables/use-lifecycle.d.ts +1 -1
- package/lib/components/slider/composables/use-slide.cjs +1 -1
- package/lib/components/slider/composables/use-slide.d.ts +100 -28
- package/lib/components/slider/composables/use-slider-button.d.ts +4 -4
- package/lib/components/slider/composables/use-watch.cjs +1 -1
- package/lib/components/slider/composables/use-watch.d.ts +1 -1
- package/lib/components/slider/index.d.ts +10 -10
- package/lib/components/slider/marker.d.ts +5 -5
- package/lib/components/slider/slider.vue.d.ts +10 -10
- package/lib/components/slider/slider.vue2.cjs +1 -1
- package/lib/components/slot/only-child.cjs +1 -1
- package/lib/components/slot/only-child.d.ts +1 -1
- package/lib/components/space/index.d.ts +20 -14
- package/lib/components/space/item.d.ts +4 -4
- package/lib/components/space/space.d.ts +25 -17
- package/lib/components/space/use-space.d.ts +1 -1
- package/lib/components/steps/index.d.ts +42 -96
- package/lib/components/steps/item.vue.d.ts +4 -2
- package/lib/components/steps/item.vue2.cjs +1 -1
- package/lib/components/steps/steps.vue.d.ts +12 -10
- package/lib/components/super-form/index.d.ts +255 -48
- package/lib/components/super-form/super-form-action.vue.d.ts +4 -2
- package/lib/components/super-form/super-form-item.vue.d.ts +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/super-form.vue.d.ts +23 -11
- package/lib/components/super-form/super-form.vue2.cjs +1 -1
- package/lib/components/super-form/use/use-auto-focus.cjs +1 -1
- package/lib/components/super-form/use/use-form-events.cjs +1 -1
- package/lib/components/super-form/use/use-form-values.cjs +1 -1
- package/lib/components/super-form/use/use-form.cjs +1 -1
- package/lib/components/switch/index.d.ts +25 -25
- package/lib/components/switch/switch.vue.d.ts +13 -13
- package/lib/components/switch/switch.vue2.cjs +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/field.d.ts +1 -1
- package/lib/components/table/index.d.ts +77 -513
- package/lib/components/table/table.vue.d.ts +23 -21
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-data-source.cjs +1 -1
- package/lib/components/table/use/use-data-source.d.ts +2 -2
- package/lib/components/table/use/use-table.cjs +1 -1
- package/lib/components/table/utils.cjs +1 -1
- package/lib/components/tabs/index.d.ts +44 -80
- package/lib/components/tabs/tab-bar.vue.d.ts +4 -3
- package/lib/components/tabs/tab-bar.vue2.cjs +1 -1
- package/lib/components/tabs/tab-nav.vue.d.ts +10 -5
- package/lib/components/tabs/tab-nav.vue2.cjs +1 -1
- package/lib/components/tabs/tab-pane.vue.d.ts +4 -2
- package/lib/components/tabs/tab-pane.vue2.cjs +1 -1
- package/lib/components/tabs/tabs.vue.d.ts +23 -26
- package/lib/components/tabs/tabs.vue2.cjs +1 -1
- package/lib/components/tabs/types.d.ts +8 -5
- package/lib/components/tag/index.d.ts +4 -4
- package/lib/components/tag/tag.vue.d.ts +3 -3
- package/lib/components/tag/tag.vue2.cjs +1 -1
- package/lib/components/teleport/index.cjs +1 -0
- package/lib/components/teleport/index.d.ts +43 -0
- package/lib/components/teleport/style/css.cjs +1 -0
- package/lib/components/teleport/style/css.d.ts +1 -0
- package/lib/components/teleport/style/index.cjs +1 -0
- package/lib/components/teleport/style/index.d.ts +1 -0
- package/lib/components/teleport/teleport.vue.cjs +1 -0
- package/lib/components/teleport/teleport.vue.d.ts +21 -0
- package/lib/components/teleport/teleport.vue2.cjs +1 -0
- package/lib/components/teleport/types.cjs +1 -0
- package/lib/components/teleport/types.d.ts +4 -0
- package/lib/components/time-picker/common/picker.vue.d.ts +54 -52
- package/lib/components/time-picker/common/picker.vue2.cjs +1 -1
- package/lib/components/time-picker/common/props.d.ts +9 -9
- package/lib/components/time-picker/composables/use-time-panel.cjs +1 -1
- package/lib/components/time-picker/composables/use-time-picker.cjs +1 -1
- package/lib/components/time-picker/composables/use-time-picker.d.ts +160 -20
- package/lib/components/time-picker/index.d.ts +120 -120
- package/lib/components/time-picker/props/basic-time-spinner.d.ts +1 -1
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue.d.ts +11 -11
- package/lib/components/time-picker/time-picker-com/basic-time-spinner.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue.d.ts +10 -10
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue.d.ts +10 -10
- package/lib/components/time-picker/time-picker.cjs +1 -1
- package/lib/components/time-picker/time-picker.d.ts +60 -60
- package/lib/components/time-picker/utils.cjs +1 -1
- package/lib/components/time-select/time-select.d.ts +3 -3
- package/lib/components/time-select/time-select.vue.d.ts +30 -30
- package/lib/components/time-select/time-select.vue2.cjs +1 -1
- package/lib/components/timeline/index.d.ts +21 -77
- package/lib/components/timeline/timeline-item.vue.d.ts +4 -2
- package/lib/components/timeline/timeline.vue.d.ts +1 -1
- package/lib/components/tooltip/content.vue.d.ts +8 -5
- package/lib/components/tooltip/content.vue2.cjs +1 -1
- package/lib/components/tooltip/index.d.ts +38 -187
- package/lib/components/tooltip/tooltip.vue.d.ts +16 -14
- package/lib/components/tooltip/tooltip.vue2.cjs +1 -1
- package/lib/components/tooltip/trigger.vue.d.ts +9 -4
- package/lib/components/tooltip/types.d.ts +1 -0
- package/lib/components/tooltip/utils.d.ts +2 -2
- package/lib/components/tree/index.d.ts +74 -722
- package/lib/components/tree/model/node.cjs +1 -1
- package/lib/components/tree/model/tree-store.cjs +1 -1
- package/lib/components/tree/model/useDragNode.cjs +1 -1
- package/lib/components/tree/model/useDragNode.d.ts +12 -0
- package/lib/components/tree/model/useKeydown.cjs +1 -1
- package/lib/components/tree/model/util.d.ts +1 -1
- package/lib/components/tree/tree-node-content.vue.d.ts +3 -3
- package/lib/components/tree/tree-node.vue.d.ts +610 -18
- package/lib/components/tree/tree.vue.d.ts +26 -24
- package/lib/components/upload/ajax.cjs +1 -1
- package/lib/components/upload/index.d.ts +26 -117
- package/lib/components/upload/upload-content.vue.d.ts +10 -8
- package/lib/components/upload/upload-dragger.vue.d.ts +7 -5
- package/lib/components/upload/upload-list.vue.d.ts +13 -11
- package/lib/components/upload/upload.vue.d.ts +15 -13
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/components/upload/use-handlers.cjs +1 -1
- package/lib/components/upload/use-handlers.d.ts +24 -2
- package/lib/components/verify-code/index.d.ts +6 -6
- package/lib/components/verify-code/useImageVerify.d.ts +2 -2
- package/lib/components/verify-code/verify-code.vue.d.ts +5 -5
- package/lib/components/virtual-list/builders/build-grid.cjs +1 -1
- package/lib/components/virtual-list/builders/build-grid.d.ts +21 -21
- package/lib/components/virtual-list/builders/build-list.cjs +1 -1
- package/lib/components/virtual-list/builders/build-list.d.ts +68 -54
- package/lib/components/virtual-list/components/dynamic-size-grid.cjs +1 -1
- package/lib/components/virtual-list/components/dynamic-size-grid.d.ts +21 -21
- package/lib/components/virtual-list/components/dynamic-size-list.cjs +1 -1
- package/lib/components/virtual-list/components/dynamic-size-list.d.ts +39 -25
- package/lib/components/virtual-list/components/fixed-size-grid.d.ts +28 -28
- package/lib/components/virtual-list/components/fixed-size-list.d.ts +40 -26
- package/lib/components/virtual-list/components/scrollbar.d.ts +6 -6
- package/lib/components/virtual-list/props.d.ts +14 -14
- package/lib/components/virtual-list/utils.d.ts +2 -2
- package/lib/defaults.d.ts +1 -1
- package/lib/hooks/index.cjs +1 -1
- package/lib/hooks/use-attrs/index.cjs +1 -1
- package/lib/hooks/use-focus/index.cjs +1 -1
- package/lib/hooks/use-lockscreen/index.cjs +1 -1
- package/lib/hooks/use-namespace/index.d.ts +1 -1
- package/lib/hooks/use-ordered-children/index.cjs +1 -1
- package/lib/hooks/use-ordered-children/index.d.ts +9 -5
- package/lib/hooks/use-popper/index.cjs +1 -1
- package/lib/hooks/use-popper/index.d.ts +10 -10
- package/lib/hooks/use-same-target/index.d.ts +1 -1
- package/lib/hooks/use-throttle-render/index.d.ts +1 -1
- package/lib/hooks/use-z-index/index.cjs +2 -1
- package/lib/hooks/use-z-index/index.d.ts +4 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +2 -2
- package/lib/utils/dom/aria.cjs +1 -0
- package/lib/utils/dom/aria.d.ts +30 -0
- package/lib/utils/dom/index.cjs +1 -1
- package/lib/utils/dom/index.d.ts +1 -0
- package/lib/utils/dom/scroll.cjs +1 -1
- package/lib/utils/event.cjs +1 -1
- package/lib/utils/event.d.ts +1 -1
- package/lib/utils/helper.d.ts +1 -1
- package/lib/utils/index.cjs +1 -1
- package/lib/utils/ns-cover.d.ts +2 -2
- package/lib/utils/typescript.d.ts +1 -1
- package/lib/utils/vue/install.d.ts +1 -1
- package/lib/utils/vue/props/runtime.cjs +1 -1
- package/lib/utils/vue/props/runtime.d.ts +4 -4
- package/lib/utils/vue/vnode.cjs +1 -1
- package/lib/utils/vue/vnode.d.ts +1 -1
- package/package.json +7 -7
- package/web-types.json +1 -1
- package/es/components/dropdown/dropdown-item.vue.d.ts +0 -43
- package/es/components/dropdown/index.d.ts +0 -509
- package/es/components/roving-focus-group/roving-focus-group.vue.d.ts +0 -2
- package/es/components/roving-focus-group/roving-focus-item.vue.d.ts +0 -32
- package/es/components/select/index.d.ts +0 -1875
- package/es/components/select/select.vue.d.ts +0 -937
- package/lib/components/dropdown/dropdown-item.vue.d.ts +0 -43
- package/lib/components/dropdown/index.d.ts +0 -509
- package/lib/components/roving-focus-group/roving-focus-group.vue.d.ts +0 -2
- package/lib/components/roving-focus-group/roving-focus-item.vue.d.ts +0 -32
- package/lib/components/select/index.d.ts +0 -1875
- package/lib/components/select/select.vue.d.ts +0 -937
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../../../constants/event.cjs");require("@vueuse/core");require("@vft/utils");const n=require("../../../utils/error.cjs");require("../../../utils/ns-cover.cjs");require("lodash-es");const c=require("vue"),y=(a,u,g,V,m,d)=>{const r=e=>{m(t.UPDATE_MODEL_EVENT,e),m(t.INPUT_EVENT,e)},f=()=>a.range?![g.value,V.value].every((e,l)=>e===u.oldValue[l]):a.modelValue!==u.oldValue,i=()=>{a.min>a.max&&n.throwError("Slider","min should not be greater than max.");const e=a.modelValue;a.range&&Array.isArray(e)?e[1]<a.min?r([a.min,a.min]):e[0]>a.max?r([a.max,a.max]):e[0]<a.min?r([a.min,e[1]]):e[1]>a.max?r([e[0],a.max]):(u.firstValue=e[0],u.secondValue=e[1],f()&&(a.validateEvent&&d?.validate?.("change").catch(l=>n.debugWarn(l)),u.oldValue=e.slice())):!a.range&&typeof e=="number"&&!Number.isNaN(e)&&(e<a.min?r(a.min):e>a.max?r(a.max):(u.firstValue=e,f()&&(a.validateEvent&&d?.validate?.("change").catch(l=>n.debugWarn(l)),u.oldValue=e)))};i(),c.watch(()=>u.dragging,e=>{e||i()}),c.watch(()=>a.modelValue,(e,l)=>{u.dragging||Array.isArray(e)&&Array.isArray(l)&&e.every((h,v)=>h===l[v])&&u.firstValue===e[0]&&u.secondValue===e[1]||i()},{deep:!0}),c.watch(()=>[a.min,a.max],()=>{i()})};exports.useWatch=y;
|
|
@@ -2,4 +2,4 @@ import type { FormItemContext } from 'vft/es/components/form';
|
|
|
2
2
|
import type { ComputedRef, SetupContext } from 'vue';
|
|
3
3
|
import type { SliderEmits, SliderInitData } from '../slider';
|
|
4
4
|
import type { SliderProps } from '../slider.vue';
|
|
5
|
-
export declare const useWatch: (props: SliderProps, initData: SliderInitData, minValue: ComputedRef<number>, maxValue: ComputedRef<number>, emit: SetupContext<SliderEmits>[
|
|
5
|
+
export declare const useWatch: (props: SliderProps, initData: SliderInitData, minValue: ComputedRef<number>, maxValue: ComputedRef<number>, emit: SetupContext<SliderEmits>["emit"], elFormItem: FormItemContext) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
modelValue: {
|
|
3
3
|
type: import("vue").PropType<number | number[]>;
|
|
4
4
|
};
|
|
@@ -33,7 +33,7 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
33
33
|
type: import("vue").PropType<boolean>;
|
|
34
34
|
};
|
|
35
35
|
formatTooltip: {
|
|
36
|
-
type: import("vue").PropType<(val: number) =>
|
|
36
|
+
type: import("vue").PropType<(val: number) => number | string>;
|
|
37
37
|
};
|
|
38
38
|
disabled: {
|
|
39
39
|
type: import("vue").PropType<boolean>;
|
|
@@ -60,7 +60,7 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
60
60
|
type: import("vue").PropType<string>;
|
|
61
61
|
};
|
|
62
62
|
formatValueText: {
|
|
63
|
-
type: import("vue").PropType<(val?: number
|
|
63
|
+
type: import("vue").PropType<(val?: number) => string>;
|
|
64
64
|
};
|
|
65
65
|
tooltipClass: {
|
|
66
66
|
type: import("vue").PropType<string>;
|
|
@@ -77,9 +77,9 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
77
77
|
validateEvent: {
|
|
78
78
|
type: import("vue").PropType<boolean>;
|
|
79
79
|
};
|
|
80
|
-
}
|
|
80
|
+
}>, {
|
|
81
81
|
onSliderClick: (event: MouseEvent | TouchEvent) => void;
|
|
82
|
-
},
|
|
82
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
83
83
|
"update:modelValue": (value: import("vft/es/utils").Arrayable<number>) => void;
|
|
84
84
|
change: (value: import("vft/es/utils").Arrayable<number>) => void;
|
|
85
85
|
input: (value: import("vft/es/utils").Arrayable<number>) => void;
|
|
@@ -118,7 +118,7 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
118
118
|
type: import("vue").PropType<boolean>;
|
|
119
119
|
};
|
|
120
120
|
formatTooltip: {
|
|
121
|
-
type: import("vue").PropType<(val: number) =>
|
|
121
|
+
type: import("vue").PropType<(val: number) => number | string>;
|
|
122
122
|
};
|
|
123
123
|
disabled: {
|
|
124
124
|
type: import("vue").PropType<boolean>;
|
|
@@ -145,7 +145,7 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
145
145
|
type: import("vue").PropType<string>;
|
|
146
146
|
};
|
|
147
147
|
formatValueText: {
|
|
148
|
-
type: import("vue").PropType<(val?: number
|
|
148
|
+
type: import("vue").PropType<(val?: number) => string>;
|
|
149
149
|
};
|
|
150
150
|
tooltipClass: {
|
|
151
151
|
type: import("vue").PropType<string>;
|
|
@@ -162,11 +162,11 @@ export declare const VftSlider: import("vft/es/utils").SFCWithInstall<import("vu
|
|
|
162
162
|
validateEvent: {
|
|
163
163
|
type: import("vue").PropType<boolean>;
|
|
164
164
|
};
|
|
165
|
-
}>> & {
|
|
166
|
-
onChange?: ((value: import("vft/es/utils").Arrayable<number>) => any) | undefined;
|
|
165
|
+
}>> & Readonly<{
|
|
167
166
|
onInput?: ((value: import("vft/es/utils").Arrayable<number>) => any) | undefined;
|
|
167
|
+
onChange?: ((value: import("vft/es/utils").Arrayable<number>) => any) | undefined;
|
|
168
168
|
"onUpdate:modelValue"?: ((value: import("vft/es/utils").Arrayable<number>) => any) | undefined;
|
|
169
|
-
}, {}, {}>> & Record<string, any>;
|
|
169
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
170
170
|
export default VftSlider;
|
|
171
171
|
export * from './constants';
|
|
172
172
|
export * from './slider';
|
|
@@ -5,7 +5,7 @@ export type SliderMarkerProps = {
|
|
|
5
5
|
label: any;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
|
-
declare const _default: import("vue").DefineComponent<{
|
|
8
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
mark: {
|
|
10
10
|
type: (StringConstructor | (() => {
|
|
11
11
|
style: CSSProperties;
|
|
@@ -13,9 +13,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
}))[];
|
|
14
14
|
default: undefined;
|
|
15
15
|
};
|
|
16
|
-
}
|
|
16
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
17
17
|
[key: string]: any;
|
|
18
|
-
}>,
|
|
18
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
mark: {
|
|
20
20
|
type: (StringConstructor | (() => {
|
|
21
21
|
style: CSSProperties;
|
|
@@ -23,10 +23,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
}))[];
|
|
24
24
|
default: undefined;
|
|
25
25
|
};
|
|
26
|
-
}
|
|
26
|
+
}>> & Readonly<{}>, {
|
|
27
27
|
mark: string | {
|
|
28
28
|
style: CSSProperties;
|
|
29
29
|
label: any;
|
|
30
30
|
};
|
|
31
|
-
}, {}>;
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
32
|
export default _default;
|
|
@@ -28,17 +28,17 @@ export interface SliderProps {
|
|
|
28
28
|
marks?: Record<number, string | SliderMarkerProps['mark']>;
|
|
29
29
|
validateEvent?: boolean;
|
|
30
30
|
}
|
|
31
|
-
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<SliderProps
|
|
31
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SliderProps>>, {
|
|
32
32
|
onSliderClick: (event: MouseEvent | TouchEvent) => void;
|
|
33
|
-
},
|
|
34
|
-
"update:modelValue": (value: import("
|
|
35
|
-
change: (value: import("
|
|
36
|
-
input: (value: import("
|
|
37
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SliderProps>>> & {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"onUpdate:modelValue"?: ((value: import("
|
|
41
|
-
}, {}, {}>;
|
|
33
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
+
"update:modelValue": (value: import("vft/es/utils").Arrayable<number>) => void;
|
|
35
|
+
change: (value: import("vft/es/utils").Arrayable<number>) => void;
|
|
36
|
+
input: (value: import("vft/es/utils").Arrayable<number>) => void;
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SliderProps>>> & Readonly<{
|
|
38
|
+
onInput?: ((value: import("vft/es/utils").Arrayable<number>) => any) | undefined;
|
|
39
|
+
onChange?: ((value: import("vft/es/utils").Arrayable<number>) => any) | undefined;
|
|
40
|
+
"onUpdate:modelValue"?: ((value: import("vft/es/utils").Arrayable<number>) => any) | undefined;
|
|
41
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
42
|
export default _default;
|
|
43
43
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
44
|
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("@popperjs/core");require("../form/index.cjs");const
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("@popperjs/core");require("../form/index.cjs");const G=require("../input-number/index.cjs");require("@vueuse/core");require("@vft/utils");require("../../utils/ns-cover.cjs");require("lodash-es");const H=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("../../hooks/use-z-index/index.cjs");const h=require("./button.vue2.cjs"),J=require("./composables/use-lifecycle.cjs"),Q=require("./composables/use-marks.cjs"),X=require("./composables/use-slide.cjs");require("./composables/use-slider-button.cjs");const Y=require("./composables/use-stops.cjs"),Z=require("./composables/use-watch.cjs"),_=require("./constants.cjs"),ee=require("./marker.cjs"),re=require("./slider.cjs"),ae=require("../form/hooks/use-form-item.cjs"),le=require("../form/hooks/use-form-common-props.cjs"),te=["id","role","aria-labelledby"],ne={key:1},oe=e.defineComponent({name:"vft-slider"}),ue=e.defineComponent({...oe,props:{modelValue:{default:0},id:{},min:{default:0},max:{default:100},step:{default:1},showInput:{type:Boolean},showInputControls:{type:Boolean,default:!0},size:{},inputSize:{},showStops:{type:Boolean},showTooltip:{type:Boolean,default:!0},formatTooltip:{},disabled:{type:Boolean},range:{type:Boolean},vertical:{type:Boolean},height:{},debounce:{default:300},label:{},rangeStartLabel:{},rangeEndLabel:{},formatValueText:{},tooltipClass:{},placement:{default:"top"},marks:{},validateEvent:{type:Boolean,default:!0}},emits:re.sliderEmits,setup(t,{expose:w,emit:I}){const k=I,l=H.useNamespace("slider"),u=e.reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),o=e.getCurrentInstance(),{elFormItem:c,slider:E,firstButton:T,secondButton:F,sliderDisabled:s,minValue:b,maxValue:g,runwayStyle:L,barStyle:N,resetSize:B,emitChange:V,onSliderWrapperPrevent:p,onSliderClick:M,onSliderDown:f,setFirstValue:S,setSecondValue:U}=X.useSlide(o.props,u,k),{stops:W,getStopStyle:v}=Y.useStops(o.props,u,b,g),{inputId:C,isLabeledByFormItem:z}=ae.useFormItemInputId(o.props,{formItemContext:c}),q=le.useFormSize(),D=e.computed(()=>t.inputSize||q.value),$=e.computed(()=>t.formatValueText?t.formatValueText(i.value):`${i.value}`),P=e.computed(()=>t.rangeEndLabel||""),x=e.computed(()=>t.formatValueText?t.formatValueText(d.value):`${d.value}`),K=e.computed(()=>[l.b(),l.m(q.value),l.is("vertical",t.vertical),{[l.m("with-input")]:t.showInput}]),y=Q.useMarks(o.props);Z.useWatch(o.props,u,b,g,k,c);const R=e.computed(()=>{const r=[t.min,t.max,t.step].map(n=>{const a=`${n}`.split(".")[1];return a?a.length:0});return Math.max.apply(null,r)}),{sliderWrapper:j}=J.useLifecycle(o.props,u,B),{firstValue:i,secondValue:d,sliderSize:O}=e.toRefs(u),A=r=>{u.dragging=r};return e.provide(_.sliderContextKey,{...e.toRefs(o.props),sliderSize:O,disabled:s.value,precision:R,emitChange:V,resetSize:B,updateDragging:A}),w({onSliderClick:M}),(r,n)=>(e.openBlock(),e.createElementBlock("div",{id:r.range?e.unref(C):void 0,ref_key:"sliderWrapper",ref:j,class:e.normalizeClass(K.value),role:r.range?"group":void 0,"aria-labelledby":r.range&&e.unref(z)?e.unref(c)?.labelId:void 0,onTouchstart:n[2]||(n[2]=(...a)=>e.unref(p)&&e.unref(p)(...a)),onTouchmove:n[3]||(n[3]=(...a)=>e.unref(p)&&e.unref(p)(...a))},[e.createElementVNode("div",{ref_key:"slider",ref:E,class:e.normalizeClass([e.unref(l).e("runway"),{"show-input":r.showInput&&!r.range},e.unref(l).is("disabled",e.unref(s))]),style:e.normalizeStyle(e.unref(L)),onMousedown:n[0]||(n[0]=(...a)=>e.unref(f)&&e.unref(f)(...a)),onTouchstart:n[1]||(n[1]=(...a)=>e.unref(f)&&e.unref(f)(...a))},[e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("bar")),style:e.normalizeStyle(e.unref(N))},null,6),e.createVNode(h.default,{id:r.range?void 0:e.unref(C),ref_key:"firstButton",ref:T,"model-value":e.unref(i),vertical:r.vertical,"tooltip-class":r.tooltipClass,placement:r.placement,role:"slider","aria-labelledby":!r.range&&e.unref(z)?e.unref(c)?.labelId:void 0,"aria-valuemin":r.min,"aria-valuemax":r.range?e.unref(d):r.max,"aria-valuenow":e.unref(i),"aria-valuetext":$.value,"aria-orientation":r.vertical?"vertical":"horizontal","aria-disabled":e.unref(s),"onUpdate:modelValue":e.unref(S)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),r.range?(e.openBlock(),e.createBlock(h.default,{key:0,ref_key:"secondButton",ref:F,"model-value":e.unref(d),vertical:r.vertical,"tooltip-class":r.tooltipClass,placement:r.placement,role:"slider","aria-label":P.value,"aria-valuemin":e.unref(i),"aria-valuemax":r.max,"aria-valuenow":e.unref(d),"aria-valuetext":x.value,"aria-orientation":r.vertical?"vertical":"horizontal","aria-disabled":e.unref(s),"onUpdate:modelValue":e.unref(U)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):e.createCommentVNode("",!0),r.showStops?(e.openBlock(),e.createElementBlock("div",ne,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(W),(a,m)=>(e.openBlock(),e.createElementBlock("div",{key:m,class:e.normalizeClass(e.unref(l).e("stop")),style:e.normalizeStyle(e.unref(v)(a))},null,6))),128))])):e.createCommentVNode("",!0),e.unref(y).length>0?(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createElementVNode("div",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(y),(a,m)=>(e.openBlock(),e.createElementBlock("div",{key:m,style:e.normalizeStyle(e.unref(v)(a.position)),class:e.normalizeClass([e.unref(l).e("stop"),e.unref(l).e("marks-stop")])},null,6))),128))]),e.createElementVNode("div",{class:e.normalizeClass(e.unref(l).e("marks"))},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(y),(a,m)=>(e.openBlock(),e.createBlock(e.unref(ee.default),{key:m,mark:a.mark,style:e.normalizeStyle(e.unref(v)(a.position))},null,8,["mark","style"]))),128))],2)],64)):e.createCommentVNode("",!0)],38),r.showInput&&!r.range?(e.openBlock(),e.createBlock(e.unref(G.VftInputNumber),{key:0,ref:"input","model-value":e.unref(i),class:e.normalizeClass(e.unref(l).e("input")),step:r.step,disabled:e.unref(s),controls:r.showInputControls,min:r.min,max:r.max,debounce:r.debounce,size:D.value,"onUpdate:modelValue":e.unref(S),onChange:e.unref(V)},null,8,["model-value","class","step","disabled","controls","min","max","debounce","size","onUpdate:modelValue","onChange"])):e.createCommentVNode("",!0)],42,te))}});exports.default=ue;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("vue"),d=require("@vft/utils");require("@vueuse/core");const c=require("../../utils/error.cjs");require("../../utils/ns-cover.cjs");require("lodash-es");const l=require("../../hooks/use-forward-ref/index.cjs"),q=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const o="VftOnlyChild",g=r.defineComponent({name:o,setup(n,{slots:t,attrs:e}){const f=r.inject(l.FORWARD_REF_INJECTION_KEY),h=l.useForwardRefDirective(f?.setForwardRef??d.noop);return()=>{const i=t.default?.(e);if(!i)return null;if(i.length>1)return c.debugWarn(o,"requires exact only one valid child."),null;const u=a(i);return u?r.withDirectives(r.cloneVNode(u,e),[[h]]):(c.debugWarn(o,"no valid child node found"),null)}}});function a(n){if(!n)return null;const t=n;for(const e of t){if(d.isObject(e))switch(e.type){case r.Comment:continue;case r.Text:case"svg":return s(e);case r.Fragment:return a(e.children);default:return e}return s(e)}return null}function s(n){const t=q.useNamespace("only-child");return r.createVNode("span",{class:t.e("content")},[n])}exports.OnlyChild=g;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Ref, VNode } from 'vue';
|
|
2
2
|
export declare const OnlyChild: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3
3
|
[key: string]: any;
|
|
4
|
-
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").
|
|
4
|
+
}> | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
5
5
|
export type OnlyChildExpose = {
|
|
6
6
|
forwardRef: Ref<HTMLElement>;
|
|
7
7
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
1
|
+
export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
2
|
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
3
|
-
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
4
|
-
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
|
|
3
|
+
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
4
|
+
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
5
5
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
6
6
|
readonly prefixCls: {
|
|
7
7
|
readonly type: import("vue").PropType<string>;
|
|
@@ -9,7 +9,9 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
9
9
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
10
10
|
__epPropKey: true;
|
|
11
11
|
};
|
|
12
|
-
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild) | ((new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild))[], unknown,
|
|
12
|
+
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild) | (((new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild)) | null)[], unknown, string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
}>, null, boolean>;
|
|
13
15
|
readonly wrap: BooleanConstructor;
|
|
14
16
|
readonly fill: BooleanConstructor;
|
|
15
17
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
@@ -19,15 +21,15 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
19
21
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
22
|
__epPropKey: true;
|
|
21
23
|
};
|
|
22
|
-
}
|
|
24
|
+
}>, () => string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
23
25
|
[key: string]: any;
|
|
24
26
|
}> | {
|
|
25
27
|
[name: string]: unknown;
|
|
26
|
-
$stable?: boolean
|
|
27
|
-
} | null,
|
|
28
|
+
$stable?: boolean;
|
|
29
|
+
} | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
30
|
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
29
|
-
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
30
|
-
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue))[], unknown, unknown, "", boolean>;
|
|
31
|
+
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
32
|
+
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | import("vue").StyleValue[]) | (() => import("vue").StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
31
33
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
32
34
|
readonly prefixCls: {
|
|
33
35
|
readonly type: import("vue").PropType<string>;
|
|
@@ -35,7 +37,9 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
35
37
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
38
|
__epPropKey: true;
|
|
37
39
|
};
|
|
38
|
-
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild) | ((new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild))[], unknown,
|
|
40
|
+
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild) | (((new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild)) | null)[], unknown, string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
}>, null, boolean>;
|
|
39
43
|
readonly wrap: BooleanConstructor;
|
|
40
44
|
readonly fill: BooleanConstructor;
|
|
41
45
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
@@ -45,16 +49,18 @@ export declare const VftSpace: import("vft/es/utils").SFCWithInstall<import("vue
|
|
|
45
49
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
46
50
|
__epPropKey: true;
|
|
47
51
|
};
|
|
48
|
-
}
|
|
52
|
+
}>> & Readonly<{}>, {
|
|
49
53
|
readonly fill: boolean;
|
|
50
54
|
readonly style: import("vue").StyleValue;
|
|
51
|
-
readonly spacer: import("vue").VNodeChild
|
|
55
|
+
readonly spacer: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild) | (((new (...args: any[]) => import("vue").VNodeChild & {}) | (() => import("vue").VNodeChild)) | null)[], unknown, string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
}>>;
|
|
52
58
|
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
53
|
-
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>))[], unknown, unknown>;
|
|
59
|
+
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown>;
|
|
54
60
|
readonly wrap: boolean;
|
|
55
61
|
readonly alignment: string;
|
|
56
62
|
readonly fillRatio: number;
|
|
57
|
-
}, {}>> & Record<string, any>;
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
58
64
|
export default VftSpace;
|
|
59
65
|
export * from './item';
|
|
60
66
|
export * from './space';
|
|
@@ -8,22 +8,22 @@ declare const spaceItemProps: {
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export type SpaceItemProps = ExtractPropTypes<typeof spaceItemProps>;
|
|
11
|
-
declare const SpaceItem: import("vue").DefineComponent<{
|
|
11
|
+
declare const SpaceItem: import("vue").DefineComponent<ExtractPropTypes<{
|
|
12
12
|
readonly prefixCls: {
|
|
13
13
|
readonly type: import("vue").PropType<string>;
|
|
14
14
|
readonly required: false;
|
|
15
15
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
16
|
__epPropKey: true;
|
|
17
17
|
};
|
|
18
|
-
}
|
|
18
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
19
|
[key: string]: any;
|
|
20
|
-
}>,
|
|
20
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
21
21
|
readonly prefixCls: {
|
|
22
22
|
readonly type: import("vue").PropType<string>;
|
|
23
23
|
readonly required: false;
|
|
24
24
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
25
|
__epPropKey: true;
|
|
26
26
|
};
|
|
27
|
-
}
|
|
27
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
28
28
|
export type SpaceItemInstance = InstanceType<typeof SpaceItem>;
|
|
29
29
|
export default SpaceItem;
|
|
@@ -2,8 +2,8 @@ import type { Arrayable } from 'vft/es/utils';
|
|
|
2
2
|
import type { ExtractPropTypes, StyleValue, VNode, VNodeChild } from 'vue';
|
|
3
3
|
export declare const spaceProps: {
|
|
4
4
|
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
5
|
-
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
6
|
-
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
5
|
+
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
6
|
+
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
7
7
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
8
8
|
readonly prefixCls: {
|
|
9
9
|
readonly type: import("vue").PropType<string>;
|
|
@@ -11,7 +11,9 @@ export declare const spaceProps: {
|
|
|
11
11
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
12
|
__epPropKey: true;
|
|
13
13
|
};
|
|
14
|
-
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | ((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild))[], unknown,
|
|
14
|
+
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>, null, boolean>;
|
|
15
17
|
readonly wrap: BooleanConstructor;
|
|
16
18
|
readonly fill: BooleanConstructor;
|
|
17
19
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
@@ -23,10 +25,10 @@ export declare const spaceProps: {
|
|
|
23
25
|
};
|
|
24
26
|
};
|
|
25
27
|
export type SpaceProps = ExtractPropTypes<typeof spaceProps>;
|
|
26
|
-
declare const Space: import("vue").DefineComponent<{
|
|
28
|
+
declare const Space: import("vue").DefineComponent<ExtractPropTypes<{
|
|
27
29
|
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
28
|
-
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
29
|
-
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
30
|
+
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
31
|
+
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
30
32
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
31
33
|
readonly prefixCls: {
|
|
32
34
|
readonly type: import("vue").PropType<string>;
|
|
@@ -34,7 +36,9 @@ declare const Space: import("vue").DefineComponent<{
|
|
|
34
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
35
37
|
__epPropKey: true;
|
|
36
38
|
};
|
|
37
|
-
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | ((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild))[], unknown,
|
|
39
|
+
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
40
|
+
[key: string]: any;
|
|
41
|
+
}>, null, boolean>;
|
|
38
42
|
readonly wrap: BooleanConstructor;
|
|
39
43
|
readonly fill: BooleanConstructor;
|
|
40
44
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
@@ -44,15 +48,15 @@ declare const Space: import("vue").DefineComponent<{
|
|
|
44
48
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
49
|
__epPropKey: true;
|
|
46
50
|
};
|
|
47
|
-
}
|
|
51
|
+
}>, () => string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
52
|
[key: string]: any;
|
|
49
53
|
}> | {
|
|
50
54
|
[name: string]: unknown;
|
|
51
|
-
$stable?: boolean
|
|
52
|
-
} | null,
|
|
55
|
+
$stable?: boolean;
|
|
56
|
+
} | null, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
53
57
|
readonly direction: import("vft/es/utils").EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
|
|
54
|
-
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown, "", boolean>;
|
|
55
|
-
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | ((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue))[], unknown, unknown, "", boolean>;
|
|
58
|
+
readonly class: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown, "", boolean>;
|
|
59
|
+
readonly style: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue) | (((new (...args: any[]) => string | false | import("vue").CSSProperties | StyleValue[]) | (() => StyleValue)) | null)[], unknown, unknown, "", boolean>;
|
|
56
60
|
readonly alignment: import("vft/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "center", boolean>;
|
|
57
61
|
readonly prefixCls: {
|
|
58
62
|
readonly type: import("vue").PropType<string>;
|
|
@@ -60,7 +64,9 @@ declare const Space: import("vue").DefineComponent<{
|
|
|
60
64
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
65
|
__epPropKey: true;
|
|
62
66
|
};
|
|
63
|
-
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | ((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild))[], unknown,
|
|
67
|
+
readonly spacer: import("vft/es/utils").EpPropFinalized<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
68
|
+
[key: string]: any;
|
|
69
|
+
}>, null, boolean>;
|
|
64
70
|
readonly wrap: BooleanConstructor;
|
|
65
71
|
readonly fill: BooleanConstructor;
|
|
66
72
|
readonly fillRatio: import("vft/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 100, boolean>;
|
|
@@ -70,15 +76,17 @@ declare const Space: import("vue").DefineComponent<{
|
|
|
70
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
77
|
__epPropKey: true;
|
|
72
78
|
};
|
|
73
|
-
}
|
|
79
|
+
}>> & Readonly<{}>, {
|
|
74
80
|
readonly fill: boolean;
|
|
75
81
|
readonly style: StyleValue;
|
|
76
|
-
readonly spacer: VNodeChild
|
|
82
|
+
readonly spacer: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild) | (((new (...args: any[]) => VNodeChild & {}) | (() => VNodeChild)) | null)[], unknown, string | number | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}>>;
|
|
77
85
|
readonly direction: import("vft/es/utils").EpPropMergeType<StringConstructor, "vertical" | "horizontal", unknown>;
|
|
78
|
-
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | ((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>))[], unknown, unknown>;
|
|
86
|
+
readonly class: import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown>;
|
|
79
87
|
readonly wrap: boolean;
|
|
80
88
|
readonly alignment: string;
|
|
81
89
|
readonly fillRatio: number;
|
|
82
|
-
}, {}>;
|
|
90
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
91
|
export type SpaceInstance = InstanceType<typeof Space>;
|
|
84
92
|
export default Space;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { StyleValue } from 'vue';
|
|
2
2
|
import type { SpaceProps } from './space';
|
|
3
3
|
export declare function useSpace(props: SpaceProps): {
|
|
4
|
-
classes: import("vue").ComputedRef<import("
|
|
4
|
+
classes: import("vue").ComputedRef<import("vft/es/utils").EpPropMergeType<(new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>) | (((new (...args: any[]) => string | Record<string, boolean> | (string | Record<string, boolean>)[]) | (() => import("vft/es/utils").Arrayable<string | Record<string, boolean>>)) | null)[], unknown, unknown>[]>;
|
|
5
5
|
containerStyle: import("vue").ComputedRef<StyleValue>;
|
|
6
6
|
itemStyle: import("vue").ComputedRef<StyleValue>;
|
|
7
7
|
};
|