beyond-webui 1.1.46 → 1.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.full.js +14 -34
- package/dist/index.full.min.js +20 -20
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +21 -21
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +14 -34
- package/es/components/alert/index.d.ts +4 -4
- package/es/components/alert/index.mjs +2 -2
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.mjs +96 -36
- package/es/components/alert/src/alert.mjs.map +1 -1
- package/es/components/alert/src/alert.vue.d.ts +4 -4
- package/es/components/alert/src/alert2.mjs +36 -96
- package/es/components/alert/src/alert2.mjs.map +1 -1
- package/es/components/autocomplete/index.d.ts +82 -82
- package/es/components/autocomplete/index.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete.mjs +397 -96
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +82 -82
- package/es/components/autocomplete/src/autocomplete2.mjs +96 -397
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/avatar/index.mjs +2 -2
- package/es/components/avatar/src/avatar.mjs +67 -32
- package/es/components/avatar/src/avatar.mjs.map +1 -1
- package/es/components/avatar/src/avatar2.mjs +32 -67
- package/es/components/avatar/src/avatar2.mjs.map +1 -1
- package/es/components/backtop/index.mjs +2 -2
- package/es/components/backtop/src/backtop.mjs +54 -21
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +21 -54
- package/es/components/backtop/src/backtop2.mjs.map +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.mjs +17 -55
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +55 -17
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/index.mjs +4 -4
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +11 -56
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +56 -11
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb.mjs +36 -11
- package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb2.mjs +11 -36
- package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
- package/es/components/button/index.d.ts +6 -6
- package/es/components/button/index.mjs +3 -3
- package/es/components/button/src/button-group.mjs +6 -30
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button-group2.mjs +30 -6
- package/es/components/button/src/button-group2.mjs.map +1 -1
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.mjs +76 -57
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button.vue.d.ts +6 -6
- package/es/components/button/src/button2.mjs +57 -76
- package/es/components/button/src/button2.mjs.map +1 -1
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/index.d.ts +6 -6
- package/es/components/calendar/src/calendar.vue.d.ts +6 -6
- package/es/components/carousel/index.d.ts +5 -5
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +5 -5
- package/es/components/cascader/index.d.ts +170 -170
- package/es/components/cascader/src/cascader.vue.d.ts +85 -85
- package/es/components/cascader-panel/index.d.ts +2 -2
- package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/es/components/col/index.d.ts +1 -1
- package/es/components/col/src/col.vue.d.ts +1 -1
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse.mjs +30 -17
- package/es/components/collapse/src/collapse.mjs.map +1 -1
- package/es/components/collapse/src/collapse2.mjs +17 -30
- package/es/components/collapse/src/collapse2.mjs.map +1 -1
- package/es/components/collection/index.mjs +1 -1
- package/es/components/collection/src/collection.mjs +10 -62
- package/es/components/collection/src/collection.mjs.map +1 -1
- package/es/components/collection/src/collection2.mjs +62 -10
- package/es/components/collection/src/collection2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +48 -48
- package/es/components/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +38 -321
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +48 -48
- package/es/components/color-picker/src/color-picker2.mjs +321 -38
- package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
- package/es/components/color-picker/src/components/predefine.mjs +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +20 -20
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +20 -20
- package/es/components/date-picker/src/panel-utils.d.ts +40 -40
- package/es/components/descriptions/index.mjs +2 -2
- package/es/components/descriptions/src/description.mjs +111 -25
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description2.mjs +25 -111
- package/es/components/descriptions/src/description2.mjs.map +1 -1
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/index.mjs +2 -2
- package/es/components/dialog/src/dialog.mjs +74 -172
- package/es/components/dialog/src/dialog.mjs.map +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +1 -1
- package/es/components/dialog/src/dialog2.mjs +172 -74
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/drawer/index.mjs +2 -2
- package/es/components/drawer/src/drawer.mjs +177 -26
- package/es/components/drawer/src/drawer.mjs.map +1 -1
- package/es/components/drawer/src/drawer2.mjs +26 -177
- package/es/components/drawer/src/drawer2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +21 -21
- package/es/components/dropdown/src/dropdown-item-impl.mjs +2 -2
- package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.mjs +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +19 -19
- package/es/components/dropdown/src/dropdown2.mjs +1 -1
- package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/es/components/form/index.d.ts +12 -12
- package/es/components/form/index.mjs +2 -2
- package/es/components/form/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.mjs +43 -317
- package/es/components/form/src/form-item.mjs.map +1 -1
- package/es/components/form/src/form-item.vue.d.ts +5 -5
- package/es/components/form/src/form-item2.mjs +317 -43
- package/es/components/form/src/form-item2.mjs.map +1 -1
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/src/icon.mjs +36 -8
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +8 -36
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image/index.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/image-viewer/index.mjs +2 -2
- package/es/components/image-viewer/src/image-viewer.mjs +39 -396
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer2.mjs +396 -39
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +30 -30
- package/es/components/input/index.d.ts +14 -14
- package/es/components/input/src/input.vue.d.ts +14 -14
- package/es/components/input-number/index.d.ts +52 -52
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.mjs +311 -58
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +52 -52
- package/es/components/input-number/src/input-number2.mjs +58 -311
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/link/index.mjs +2 -2
- package/es/components/link/src/link.mjs +21 -50
- package/es/components/link/src/link.mjs.map +1 -1
- package/es/components/link/src/link2.mjs +50 -21
- package/es/components/link/src/link2.mjs.map +1 -1
- package/es/components/menu/index.d.ts +3 -3
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-item-group.mjs +4 -35
- package/es/components/menu/src/menu-item-group.mjs.map +1 -1
- package/es/components/menu/src/menu-item-group2.mjs +35 -4
- package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
- package/es/components/menu/src/menu.d.ts +4 -4
- package/es/components/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +6 -6
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +5 -5
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +103 -17
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +17 -103
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +14 -14
- package/es/components/pagination/src/components/pager.vue.d.ts +0 -2
- package/es/components/pagination/src/components/pager2.mjs +12 -16
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +21 -21
- package/es/components/pagination/src/components/total.mjs +28 -7
- package/es/components/pagination/src/components/total.mjs.map +1 -1
- package/es/components/pagination/src/components/total2.mjs +7 -28
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/index.d.ts +35 -35
- package/es/components/popconfirm/src/popconfirm.mjs +1 -1
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +35 -35
- package/es/components/popover/index.d.ts +29 -29
- package/es/components/popover/src/popover.vue.d.ts +29 -29
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/content.mjs +137 -94
- package/es/components/popper/src/content.mjs.map +1 -1
- package/es/components/popper/src/content.vue.d.ts +7 -7
- package/es/components/popper/src/content2.mjs +94 -137
- package/es/components/popper/src/content2.mjs.map +1 -1
- package/es/components/progress/index.d.ts +1 -1
- package/es/components/progress/src/progress.vue.d.ts +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +87 -255
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +255 -87
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/index.d.ts +4 -4
- package/es/components/result/index.mjs +2 -2
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.mjs +63 -29
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/result/src/result.vue.d.ts +4 -4
- package/es/components/result/src/result2.mjs +29 -63
- package/es/components/result/src/result2.mjs.map +1 -1
- package/es/components/roving-focus-group/index.mjs +3 -3
- package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -29
- package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs +29 -27
- package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/row/index.mjs +2 -2
- package/es/components/row/src/row.mjs +45 -30
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/row/src/row2.mjs +30 -45
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/scrollbar/src/bar.mjs +42 -17
- package/es/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/components/scrollbar/src/bar2.mjs +17 -42
- package/es/components/scrollbar/src/bar2.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +1 -1
- package/es/components/select/index.d.ts +21 -21
- package/es/components/select/src/select.vue.d.ts +21 -21
- package/es/components/select/src/useSelect.d.ts +19 -19
- package/es/components/select-v2/index.d.ts +46 -46
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +23 -23
- package/es/components/select-v2/src/useSelect.d.ts +20 -20
- package/es/components/slider/index.d.ts +97 -97
- package/es/components/slider/index.mjs +2 -2
- package/es/components/slider/src/button.vue.d.ts +9 -9
- package/es/components/slider/src/composables/use-slide.d.ts +36 -36
- package/es/components/slider/src/slider.mjs +233 -91
- package/es/components/slider/src/slider.mjs.map +1 -1
- package/es/components/slider/src/slider.vue.d.ts +97 -97
- package/es/components/slider/src/slider2.mjs +91 -233
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/steps/index.d.ts +16 -16
- package/es/components/steps/index.mjs +2 -2
- package/es/components/steps/src/item.d.ts +1 -1
- package/es/components/steps/src/item.vue.d.ts +4 -4
- package/es/components/steps/src/steps.d.ts +2 -2
- package/es/components/steps/src/steps.mjs +36 -34
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/steps/src/steps.vue.d.ts +8 -8
- package/es/components/steps/src/steps2.mjs +34 -36
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/table/index.d.ts +15 -15
- package/es/components/table/src/filter-panel.vue.d.ts +19 -19
- package/es/components/table/src/table/defaults.d.ts +2 -2
- package/es/components/table/src/table/style-helper.d.ts +1 -1
- package/es/components/table/src/table-body/defaults.d.ts +1 -1
- package/es/components/table/src/table-body/index.d.ts +2 -2
- package/es/components/table/src/table-column/defaults.d.ts +1 -1
- package/es/components/table/src/table-column/index.d.ts +3 -3
- package/es/components/table/src/table.vue.d.ts +9 -9
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.mjs +88 -11
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +11 -88
- package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
- package/es/components/tabs/src/tab-nav.mjs +1 -1
- package/es/components/tag/index.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/teleport/index.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +18 -44
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport2.mjs +44 -18
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +47 -47
- package/es/components/time-select/index.d.ts +90 -90
- package/es/components/time-select/src/time-select.vue.d.ts +45 -45
- package/es/components/tooltip/index.d.ts +9 -9
- package/es/components/tooltip/src/content.mjs +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +8 -8
- package/es/components/tooltip/src/content2.mjs +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +9 -9
- package/es/components/tooltip-v2/index.d.ts +10 -10
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/content.mjs +112 -50
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content.vue.d.ts +1 -1
- package/es/components/tooltip-v2/src/content2.mjs +50 -112
- package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +10 -10
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/transfer/index.d.ts +76 -76
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +128 -19
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +14 -14
- package/es/components/transfer/src/transfer-panel2.mjs +19 -128
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +76 -76
- package/es/components/transfer/src/transfer2.mjs +1 -1
- package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/es/components/upload/index.d.ts +6 -6
- package/es/components/upload/index.mjs +2 -2
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-content2.mjs +1 -1
- package/es/components/upload/src/upload-dragger.mjs +11 -72
- package/es/components/upload/src/upload-dragger.mjs.map +1 -1
- package/es/components/upload/src/upload-dragger2.mjs +72 -11
- package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
- package/es/components/upload/src/upload-list.mjs +173 -26
- package/es/components/upload/src/upload-list.mjs.map +1 -1
- package/es/components/upload/src/upload-list.vue.d.ts +1 -1
- package/es/components/upload/src/upload-list2.mjs +26 -173
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +6 -6
- package/es/components/upload/src/upload2.mjs +1 -1
- package/es/components/visual-hidden/index.mjs +3 -3
- package/es/components/visual-hidden/src/visual-hidden.mjs +7 -35
- package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
- package/es/components/visual-hidden/src/visual-hidden2.mjs +35 -7
- package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
- package/es/index.mjs +30 -30
- package/lib/components/alert/index.d.ts +4 -4
- package/lib/components/alert/index.js +2 -2
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.js +95 -37
- package/lib/components/alert/src/alert.js.map +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +4 -4
- package/lib/components/alert/src/alert2.js +37 -95
- package/lib/components/alert/src/alert2.js.map +1 -1
- package/lib/components/autocomplete/index.d.ts +82 -82
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/src/autocomplete.js +396 -96
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +82 -82
- package/lib/components/autocomplete/src/autocomplete2.js +96 -396
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/avatar/index.js +2 -2
- package/lib/components/avatar/src/avatar.js +67 -33
- package/lib/components/avatar/src/avatar.js.map +1 -1
- package/lib/components/avatar/src/avatar2.js +33 -67
- package/lib/components/avatar/src/avatar2.js.map +1 -1
- package/lib/components/backtop/index.js +2 -2
- package/lib/components/backtop/src/backtop.js +54 -22
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +22 -54
- package/lib/components/backtop/src/backtop2.js.map +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.js +17 -55
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +55 -17
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/index.js +4 -4
- package/lib/components/breadcrumb/src/breadcrumb-item.js +11 -56
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +56 -11
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb.js +36 -11
- package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb2.js +11 -36
- package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
- package/lib/components/button/index.d.ts +6 -6
- package/lib/components/button/index.js +3 -3
- package/lib/components/button/src/button-group.js +6 -30
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button-group2.js +30 -6
- package/lib/components/button/src/button-group2.js.map +1 -1
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.js +76 -60
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button.vue.d.ts +6 -6
- package/lib/components/button/src/button2.js +60 -76
- package/lib/components/button/src/button2.js.map +1 -1
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +6 -6
- package/lib/components/calendar/src/calendar.vue.d.ts +6 -6
- package/lib/components/carousel/index.d.ts +5 -5
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
- package/lib/components/cascader/index.d.ts +170 -170
- package/lib/components/cascader/src/cascader.vue.d.ts +85 -85
- package/lib/components/cascader-panel/index.d.ts +2 -2
- package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
- package/lib/components/col/index.d.ts +1 -1
- package/lib/components/col/src/col.vue.d.ts +1 -1
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse.js +30 -19
- package/lib/components/collapse/src/collapse.js.map +1 -1
- package/lib/components/collapse/src/collapse2.js +19 -30
- package/lib/components/collapse/src/collapse2.js.map +1 -1
- package/lib/components/collection/index.js +1 -1
- package/lib/components/collection/src/collection.js +9 -62
- package/lib/components/collection/src/collection.js.map +1 -1
- package/lib/components/collection/src/collection2.js +62 -9
- package/lib/components/collection/src/collection2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +48 -48
- package/lib/components/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +38 -319
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +48 -48
- package/lib/components/color-picker/src/color-picker2.js +319 -38
- package/lib/components/color-picker/src/color-picker2.js.map +1 -1
- package/lib/components/color-picker/src/components/predefine.js +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +20 -20
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +20 -20
- package/lib/components/date-picker/src/panel-utils.d.ts +40 -40
- package/lib/components/descriptions/index.js +2 -2
- package/lib/components/descriptions/src/description.js +111 -25
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description2.js +25 -111
- package/lib/components/descriptions/src/description2.js.map +1 -1
- package/lib/components/dialog/index.d.ts +1 -1
- package/lib/components/dialog/index.js +2 -2
- package/lib/components/dialog/src/dialog.js +75 -172
- package/lib/components/dialog/src/dialog.js.map +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
- package/lib/components/dialog/src/dialog2.js +172 -75
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/drawer/index.js +2 -2
- package/lib/components/drawer/src/drawer.js +177 -27
- package/lib/components/drawer/src/drawer.js.map +1 -1
- package/lib/components/drawer/src/drawer2.js +27 -177
- package/lib/components/drawer/src/drawer2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +21 -21
- package/lib/components/dropdown/src/dropdown-item-impl.js +2 -2
- package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.js +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +19 -19
- package/lib/components/dropdown/src/dropdown2.js +1 -1
- package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
- package/lib/components/form/index.d.ts +12 -12
- package/lib/components/form/index.js +2 -2
- package/lib/components/form/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.js +44 -321
- package/lib/components/form/src/form-item.js.map +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +5 -5
- package/lib/components/form/src/form-item2.js +321 -44
- package/lib/components/form/src/form-item2.js.map +1 -1
- package/lib/components/icon/index.js +2 -2
- package/lib/components/icon/src/icon.js +36 -8
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +8 -36
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/image-viewer/index.js +2 -2
- package/lib/components/image-viewer/src/image-viewer.js +40 -396
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer2.js +396 -40
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +30 -30
- package/lib/components/input/index.d.ts +14 -14
- package/lib/components/input/src/input.vue.d.ts +14 -14
- package/lib/components/input-number/index.d.ts +52 -52
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.js +309 -57
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +52 -52
- package/lib/components/input-number/src/input-number2.js +57 -309
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/link/index.js +2 -2
- package/lib/components/link/src/link.js +22 -50
- package/lib/components/link/src/link.js.map +1 -1
- package/lib/components/link/src/link2.js +50 -22
- package/lib/components/link/src/link2.js.map +1 -1
- package/lib/components/menu/index.d.ts +3 -3
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-item-group.js +4 -35
- package/lib/components/menu/src/menu-item-group.js.map +1 -1
- package/lib/components/menu/src/menu-item-group2.js +35 -4
- package/lib/components/menu/src/menu-item-group2.js.map +1 -1
- package/lib/components/menu/src/menu.d.ts +4 -4
- package/lib/components/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +6 -6
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +5 -5
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +103 -18
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +18 -103
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +14 -14
- package/lib/components/pagination/src/components/pager.vue.d.ts +0 -2
- package/lib/components/pagination/src/components/pager2.js +10 -14
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +21 -21
- package/lib/components/pagination/src/components/total.js +28 -7
- package/lib/components/pagination/src/components/total.js.map +1 -1
- package/lib/components/pagination/src/components/total2.js +7 -28
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/index.d.ts +35 -35
- package/lib/components/popconfirm/src/popconfirm.js +1 -1
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +35 -35
- package/lib/components/popover/index.d.ts +29 -29
- package/lib/components/popover/src/popover.vue.d.ts +29 -29
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/content.js +137 -99
- package/lib/components/popper/src/content.js.map +1 -1
- package/lib/components/popper/src/content.vue.d.ts +7 -7
- package/lib/components/popper/src/content2.js +99 -137
- package/lib/components/popper/src/content2.js.map +1 -1
- package/lib/components/progress/index.d.ts +1 -1
- package/lib/components/progress/src/progress.vue.d.ts +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +87 -254
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +254 -87
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/index.d.ts +4 -4
- package/lib/components/result/index.js +2 -2
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.js +63 -31
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/result/src/result.vue.d.ts +4 -4
- package/lib/components/result/src/result2.js +31 -63
- package/lib/components/result/src/result2.js.map +1 -1
- package/lib/components/roving-focus-group/index.js +2 -2
- package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -33
- package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-group2.js +33 -27
- package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/row/index.js +2 -2
- package/lib/components/row/src/row.js +45 -32
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/row/src/row2.js +32 -45
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/scrollbar/src/bar.js +42 -17
- package/lib/components/scrollbar/src/bar.js.map +1 -1
- package/lib/components/scrollbar/src/bar2.js +17 -42
- package/lib/components/scrollbar/src/bar2.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +1 -1
- package/lib/components/select/index.d.ts +21 -21
- package/lib/components/select/src/select.vue.d.ts +21 -21
- package/lib/components/select/src/useSelect.d.ts +19 -19
- package/lib/components/select-v2/index.d.ts +46 -46
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +23 -23
- package/lib/components/select-v2/src/useSelect.d.ts +20 -20
- package/lib/components/slider/index.d.ts +97 -97
- package/lib/components/slider/index.js +2 -2
- package/lib/components/slider/src/button.vue.d.ts +9 -9
- package/lib/components/slider/src/composables/use-slide.d.ts +36 -36
- package/lib/components/slider/src/slider.js +233 -92
- package/lib/components/slider/src/slider.js.map +1 -1
- package/lib/components/slider/src/slider.vue.d.ts +97 -97
- package/lib/components/slider/src/slider2.js +92 -233
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/steps/index.d.ts +16 -16
- package/lib/components/steps/index.js +2 -2
- package/lib/components/steps/src/item.d.ts +1 -1
- package/lib/components/steps/src/item.vue.d.ts +4 -4
- package/lib/components/steps/src/steps.d.ts +2 -2
- package/lib/components/steps/src/steps.js +37 -34
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/steps/src/steps.vue.d.ts +8 -8
- package/lib/components/steps/src/steps2.js +34 -37
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/table/index.d.ts +15 -15
- package/lib/components/table/src/filter-panel.vue.d.ts +19 -19
- package/lib/components/table/src/table/defaults.d.ts +2 -2
- package/lib/components/table/src/table/style-helper.d.ts +1 -1
- package/lib/components/table/src/table-body/defaults.d.ts +1 -1
- package/lib/components/table/src/table-body/index.d.ts +2 -2
- package/lib/components/table/src/table-column/defaults.d.ts +1 -1
- package/lib/components/table/src/table-column/index.d.ts +3 -3
- package/lib/components/table/src/table.vue.d.ts +9 -9
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.js +88 -11
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +11 -88
- package/lib/components/tabs/src/tab-bar2.js.map +1 -1
- package/lib/components/tabs/src/tab-nav.js +1 -1
- package/lib/components/tag/index.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/teleport/index.js +2 -2
- package/lib/components/teleport/src/teleport.js +18 -44
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport2.js +44 -18
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +47 -47
- package/lib/components/time-select/index.d.ts +90 -90
- package/lib/components/time-select/src/time-select.vue.d.ts +45 -45
- package/lib/components/tooltip/index.d.ts +9 -9
- package/lib/components/tooltip/src/content.js +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +8 -8
- package/lib/components/tooltip/src/content2.js +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +9 -9
- package/lib/components/tooltip-v2/index.d.ts +10 -10
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/content.js +112 -50
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content.vue.d.ts +1 -1
- package/lib/components/tooltip-v2/src/content2.js +50 -112
- package/lib/components/tooltip-v2/src/content2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +10 -10
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/transfer/index.d.ts +76 -76
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +128 -21
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +14 -14
- package/lib/components/transfer/src/transfer-panel2.js +21 -128
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +76 -76
- package/lib/components/transfer/src/transfer2.js +1 -1
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
- package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
- package/lib/components/upload/index.d.ts +6 -6
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-content2.js +1 -1
- package/lib/components/upload/src/upload-dragger.js +12 -72
- package/lib/components/upload/src/upload-dragger.js.map +1 -1
- package/lib/components/upload/src/upload-dragger2.js +72 -12
- package/lib/components/upload/src/upload-dragger2.js.map +1 -1
- package/lib/components/upload/src/upload-list.js +173 -27
- package/lib/components/upload/src/upload-list.js.map +1 -1
- package/lib/components/upload/src/upload-list.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-list2.js +27 -173
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +6 -6
- package/lib/components/upload/src/upload2.js +1 -1
- package/lib/components/visual-hidden/index.js +2 -2
- package/lib/components/visual-hidden/src/visual-hidden.js +7 -35
- package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
- package/lib/components/visual-hidden/src/visual-hidden2.js +35 -7
- package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
- package/lib/index.js +30 -30
- package/package.json +1 -1
|
@@ -1,63 +1,82 @@
|
|
|
1
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementBlock, Fragment, renderSlot, normalizeClass, createCommentVNode } from 'vue';
|
|
2
|
+
import { ElIcon } from '../../icon/index.mjs';
|
|
1
3
|
import '../../../hooks/index.mjs';
|
|
2
|
-
import '
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
4
|
+
import { useButton } from './use-button.mjs';
|
|
5
|
+
import { buttonProps, buttonEmits } from './button2.mjs';
|
|
6
|
+
import { useButtonCustomStyle } from './button-custom.mjs';
|
|
7
|
+
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
|
|
8
|
+
import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
|
|
7
9
|
|
|
8
|
-
const
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
10
|
+
const __default__ = defineComponent({
|
|
11
|
+
name: "ElButton"
|
|
12
|
+
});
|
|
13
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
...__default__,
|
|
15
|
+
props: buttonProps,
|
|
16
|
+
emits: buttonEmits,
|
|
17
|
+
setup(__props, { expose, emit }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const buttonStyle = useButtonCustomStyle(props);
|
|
20
|
+
const ns = useNamespace("button");
|
|
21
|
+
const { _ref, _size, _type, _disabled, _props, shouldAddSpace, handleClick } = useButton(props, emit);
|
|
22
|
+
expose({
|
|
23
|
+
ref: _ref,
|
|
24
|
+
size: _size,
|
|
25
|
+
type: _type,
|
|
26
|
+
disabled: _disabled,
|
|
27
|
+
shouldAddSpace
|
|
28
|
+
});
|
|
29
|
+
return (_ctx, _cache) => {
|
|
30
|
+
return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), mergeProps({
|
|
31
|
+
ref_key: "_ref",
|
|
32
|
+
ref: _ref
|
|
33
|
+
}, unref(_props), {
|
|
34
|
+
class: [
|
|
35
|
+
unref(ns).b(),
|
|
36
|
+
unref(ns).m(unref(_type)),
|
|
37
|
+
unref(ns).m(unref(_size)),
|
|
38
|
+
unref(ns).is("disabled", unref(_disabled)),
|
|
39
|
+
unref(ns).is("loading", _ctx.loading),
|
|
40
|
+
unref(ns).is("plain", _ctx.plain),
|
|
41
|
+
unref(ns).is("round", _ctx.round),
|
|
42
|
+
unref(ns).is("circle", _ctx.circle),
|
|
43
|
+
unref(ns).is("text", _ctx.text),
|
|
44
|
+
unref(ns).is("link", _ctx.link),
|
|
45
|
+
unref(ns).is("has-bg", _ctx.bg)
|
|
46
|
+
],
|
|
47
|
+
style: unref(buttonStyle),
|
|
48
|
+
onClick: unref(handleClick)
|
|
49
|
+
}), {
|
|
50
|
+
default: withCtx(() => [
|
|
51
|
+
_ctx.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
52
|
+
_ctx.$slots.loading ? renderSlot(_ctx.$slots, "loading", { key: 0 }) : (openBlock(), createBlock(unref(ElIcon), {
|
|
53
|
+
key: 1,
|
|
54
|
+
class: normalizeClass(unref(ns).is("loading"))
|
|
55
|
+
}, {
|
|
56
|
+
default: withCtx(() => [
|
|
57
|
+
(openBlock(), createBlock(resolveDynamicComponent(_ctx.loadingIcon)))
|
|
58
|
+
]),
|
|
59
|
+
_: 1
|
|
60
|
+
}, 8, ["class"]))
|
|
61
|
+
], 64)) : _ctx.icon || _ctx.$slots.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
|
|
62
|
+
default: withCtx(() => [
|
|
63
|
+
_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : renderSlot(_ctx.$slots, "icon", { key: 1 })
|
|
64
|
+
]),
|
|
65
|
+
_: 3
|
|
66
|
+
})) : createCommentVNode("v-if", true),
|
|
67
|
+
_ctx.$slots.default ? (openBlock(), createElementBlock("span", {
|
|
68
|
+
key: 2,
|
|
69
|
+
class: normalizeClass({ [unref(ns).em("text", "expand")]: unref(shouldAddSpace) })
|
|
70
|
+
}, [
|
|
71
|
+
renderSlot(_ctx.$slots, "default")
|
|
72
|
+
], 2)) : createCommentVNode("v-if", true)
|
|
73
|
+
]),
|
|
74
|
+
_: 3
|
|
75
|
+
}, 16, ["class", "style", "onClick"]);
|
|
76
|
+
};
|
|
56
77
|
}
|
|
57
78
|
});
|
|
58
|
-
|
|
59
|
-
click: (evt) => evt instanceof MouseEvent
|
|
60
|
-
};
|
|
79
|
+
var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "D:\\beyondtrucks\\beyond-ui\\packages\\components\\button\\src\\button.vue"]]);
|
|
61
80
|
|
|
62
|
-
export {
|
|
81
|
+
export { Button as default };
|
|
63
82
|
//# sourceMappingURL=button.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.mjs","sources":["../../../../../../packages/components/button/src/button.
|
|
1
|
+
{"version":3,"file":"button.mjs","sources":["../../../../../../packages/components/button/src/button.vue"],"sourcesContent":["<template>\n <component\n :is=\"tag\"\n ref=\"_ref\"\n v-bind=\"_props\"\n :class=\"[\n ns.b(),\n ns.m(_type),\n ns.m(_size),\n ns.is('disabled', _disabled),\n ns.is('loading', loading),\n ns.is('plain', plain),\n ns.is('round', round),\n ns.is('circle', circle),\n ns.is('text', text),\n ns.is('link', link),\n ns.is('has-bg', bg),\n ]\"\n :style=\"buttonStyle\"\n @click=\"handleClick\"\n >\n <template v-if=\"loading\">\n <slot v-if=\"$slots.loading\" name=\"loading\" />\n <el-icon v-else :class=\"ns.is('loading')\">\n <component :is=\"loadingIcon\" />\n </el-icon>\n </template>\n <el-icon v-else-if=\"icon || $slots.icon\">\n <component :is=\"icon\" v-if=\"icon\" />\n <slot v-else name=\"icon\" />\n </el-icon>\n <span\n v-if=\"$slots.default\"\n :class=\"{ [ns.em('text', 'expand')]: shouldAddSpace }\"\n >\n <slot />\n </span>\n </component>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ElIcon } from '@element-plus/components/icon'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useButton } from './use-button'\nimport { buttonEmits, buttonProps } from './button'\nimport { useButtonCustomStyle } from './button-custom'\n\ndefineOptions({\n name: 'ElButton',\n})\n\nconst props = defineProps(buttonProps)\nconst emit = defineEmits(buttonEmits)\n\nconst buttonStyle = useButtonCustomStyle(props)\nconst ns = useNamespace('button')\nconst { _ref, _size, _type, _disabled, _props, shouldAddSpace, handleClick } =\n useButton(props, emit)\n\ndefineExpose({\n /** @description button html element */\n ref: _ref,\n /** @description button size */\n size: _size,\n /** @description button type */\n type: _type,\n /** @description button disabled */\n disabled: _disabled,\n /** @description whether adding space */\n shouldAddSpace,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCA+Cc,CAAA;AAAA,EACZ,IAAM,EAAA,UAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,WAAA,GAAc,qBAAqB,KAAK,CAAA,CAAA;AAC9C,IAAM,MAAA,EAAA,GAAK,aAAa,QAAQ,CAAA,CAAA;AAChC,IAAM,MAAA,EAAE,IAAM,EAAA,KAAA,EAAO,KAAO,EAAA,SAAA,EAAW,QAAQ,cAAgB,EAAA,WAAA,EAAA,GAC7D,SAAU,CAAA,KAAA,EAAO,IAAI,CAAA,CAAA;AAEvB,IAAa,MAAA,CAAA;AAAA,MAEX,GAAK,EAAA,IAAA;AAAA,MAEL,IAAM,EAAA,KAAA;AAAA,MAEN,IAAM,EAAA,KAAA;AAAA,MAEN,QAAU,EAAA,SAAA;AAAA,MAEV,cAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
14
|
__epPropKey: true;
|
|
15
15
|
};
|
|
16
|
-
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
16
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
17
17
|
readonly loading: BooleanConstructor;
|
|
18
18
|
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
19
19
|
readonly plain: BooleanConstructor;
|
|
@@ -43,7 +43,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
43
43
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
44
|
__epPropKey: true;
|
|
45
45
|
};
|
|
46
|
-
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
46
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
47
47
|
readonly loading: BooleanConstructor;
|
|
48
48
|
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
49
49
|
readonly plain: BooleanConstructor;
|
|
@@ -88,7 +88,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
88
88
|
ariaDisabled: boolean;
|
|
89
89
|
disabled: boolean;
|
|
90
90
|
autofocus: boolean;
|
|
91
|
-
type: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
91
|
+
type: import("../../../utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
92
92
|
} | {
|
|
93
93
|
ariaDisabled?: undefined;
|
|
94
94
|
disabled?: undefined;
|
|
@@ -177,7 +177,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
177
177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
178
|
__epPropKey: true;
|
|
179
179
|
};
|
|
180
|
-
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
180
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
181
181
|
readonly loading: BooleanConstructor;
|
|
182
182
|
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
183
183
|
readonly plain: BooleanConstructor;
|
|
@@ -195,14 +195,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
195
195
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
196
196
|
}, {
|
|
197
197
|
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
198
|
-
readonly dark: boolean;
|
|
199
198
|
readonly link: boolean;
|
|
199
|
+
readonly dark: boolean;
|
|
200
200
|
readonly disabled: boolean;
|
|
201
201
|
readonly text: boolean;
|
|
202
202
|
readonly round: boolean;
|
|
203
203
|
readonly circle: boolean;
|
|
204
204
|
readonly tag: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
205
|
-
readonly nativeType: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
205
|
+
readonly nativeType: import("../../../utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
206
206
|
readonly loadingIcon: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
207
207
|
readonly autoInsertSpace: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
208
208
|
readonly loading: boolean;
|
|
@@ -1,82 +1,63 @@
|
|
|
1
|
-
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, mergeProps, unref, withCtx, createElementBlock, Fragment, renderSlot, normalizeClass, createCommentVNode } from 'vue';
|
|
2
|
-
import { ElIcon } from '../../icon/index.mjs';
|
|
3
1
|
import '../../../hooks/index.mjs';
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
2
|
+
import '../../../utils/index.mjs';
|
|
3
|
+
import { Loading } from '@element-plus/icons-vue';
|
|
4
|
+
import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
|
|
5
|
+
import { useSizeProp } from '../../../hooks/use-size/index.mjs';
|
|
6
|
+
import { iconPropType } from '../../../utils/vue/icon.mjs';
|
|
9
7
|
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
]),
|
|
59
|
-
_: 1
|
|
60
|
-
}, 8, ["class"]))
|
|
61
|
-
], 64)) : _ctx.icon || _ctx.$slots.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
|
|
62
|
-
default: withCtx(() => [
|
|
63
|
-
_ctx.icon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon), { key: 0 })) : renderSlot(_ctx.$slots, "icon", { key: 1 })
|
|
64
|
-
]),
|
|
65
|
-
_: 3
|
|
66
|
-
})) : createCommentVNode("v-if", true),
|
|
67
|
-
_ctx.$slots.default ? (openBlock(), createElementBlock("span", {
|
|
68
|
-
key: 2,
|
|
69
|
-
class: normalizeClass({ [unref(ns).em("text", "expand")]: unref(shouldAddSpace) })
|
|
70
|
-
}, [
|
|
71
|
-
renderSlot(_ctx.$slots, "default")
|
|
72
|
-
], 2)) : createCommentVNode("v-if", true)
|
|
73
|
-
]),
|
|
74
|
-
_: 3
|
|
75
|
-
}, 16, ["class", "style", "onClick"]);
|
|
76
|
-
};
|
|
8
|
+
const buttonTypes = [
|
|
9
|
+
"default",
|
|
10
|
+
"primary",
|
|
11
|
+
"success",
|
|
12
|
+
"warning",
|
|
13
|
+
"info",
|
|
14
|
+
"danger",
|
|
15
|
+
"text",
|
|
16
|
+
""
|
|
17
|
+
];
|
|
18
|
+
const buttonNativeTypes = ["button", "submit", "reset"];
|
|
19
|
+
const buttonProps = buildProps({
|
|
20
|
+
size: useSizeProp,
|
|
21
|
+
disabled: Boolean,
|
|
22
|
+
type: {
|
|
23
|
+
type: String,
|
|
24
|
+
values: buttonTypes,
|
|
25
|
+
default: ""
|
|
26
|
+
},
|
|
27
|
+
icon: {
|
|
28
|
+
type: iconPropType
|
|
29
|
+
},
|
|
30
|
+
nativeType: {
|
|
31
|
+
type: String,
|
|
32
|
+
values: buttonNativeTypes,
|
|
33
|
+
default: "button"
|
|
34
|
+
},
|
|
35
|
+
loading: Boolean,
|
|
36
|
+
loadingIcon: {
|
|
37
|
+
type: iconPropType,
|
|
38
|
+
default: () => Loading
|
|
39
|
+
},
|
|
40
|
+
plain: Boolean,
|
|
41
|
+
text: Boolean,
|
|
42
|
+
link: Boolean,
|
|
43
|
+
bg: Boolean,
|
|
44
|
+
autofocus: Boolean,
|
|
45
|
+
round: Boolean,
|
|
46
|
+
circle: Boolean,
|
|
47
|
+
color: String,
|
|
48
|
+
dark: Boolean,
|
|
49
|
+
autoInsertSpace: {
|
|
50
|
+
type: Boolean,
|
|
51
|
+
default: void 0
|
|
52
|
+
},
|
|
53
|
+
tag: {
|
|
54
|
+
type: definePropType([String, Object]),
|
|
55
|
+
default: "button"
|
|
77
56
|
}
|
|
78
57
|
});
|
|
79
|
-
|
|
58
|
+
const buttonEmits = {
|
|
59
|
+
click: (evt) => evt instanceof MouseEvent
|
|
60
|
+
};
|
|
80
61
|
|
|
81
|
-
export {
|
|
62
|
+
export { buttonEmits, buttonNativeTypes, buttonProps, buttonTypes };
|
|
82
63
|
//# sourceMappingURL=button2.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button2.mjs","sources":["../../../../../../packages/components/button/src/button.
|
|
1
|
+
{"version":3,"file":"button2.mjs","sources":["../../../../../../packages/components/button/src/button.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, definePropType, iconPropType } from '@element-plus/utils'\nimport { Loading } from '@element-plus/icons-vue'\nimport type { Component, ExtractPropTypes } from 'vue'\n\nexport const buttonTypes = [\n 'default',\n 'primary',\n 'success',\n 'warning',\n 'info',\n 'danger',\n /**\n * @deprecated\n * Text type will be deprecated in the next major version (3.0.0)\n */\n 'text',\n '',\n] as const\nexport const buttonNativeTypes = ['button', 'submit', 'reset'] as const\n\nexport const buttonProps = buildProps({\n /**\n * @description button size\n */\n size: useSizeProp,\n /**\n * @description disable the button\n */\n disabled: Boolean,\n /**\n * @description button type\n */\n type: {\n type: String,\n values: buttonTypes,\n default: '',\n },\n /**\n * @description icon component\n */\n icon: {\n type: iconPropType,\n },\n /**\n * @description native button type\n */\n nativeType: {\n type: String,\n values: buttonNativeTypes,\n default: 'button',\n },\n /**\n * @description determine whether it's loading\n */\n loading: Boolean,\n /**\n * @description customize loading icon component\n */\n loadingIcon: {\n type: iconPropType,\n default: () => Loading,\n },\n /**\n * @description determine whether it's a plain button\n */\n plain: Boolean,\n /**\n * @description determine whether it's a text button\n */\n text: Boolean,\n /**\n * @description determine whether it's a link button\n */\n link: Boolean,\n /**\n * @description determine whether the text button background color is always on\n */\n bg: Boolean,\n /**\n * @description native button autofocus\n */\n autofocus: Boolean,\n /**\n * @description determine whether it's a round button\n */\n round: Boolean,\n /**\n * @description determine whether it's a circle button\n */\n circle: Boolean,\n /**\n * @description custom button color, automatically calculate `hover` and `active` color\n */\n color: String,\n /**\n * @description dark mode, which automatically converts `color` to dark mode colors\n */\n dark: Boolean,\n /**\n * @description automatically insert a space between two chinese characters\n */\n autoInsertSpace: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description custom element tag\n */\n tag: {\n type: definePropType<string | Component>([String, Object]),\n default: 'button',\n },\n} as const)\nexport const buttonEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type ButtonProps = ExtractPropTypes<typeof buttonProps>\nexport type ButtonEmits = typeof buttonEmits\n\nexport type ButtonType = ButtonProps['type']\nexport type ButtonNativeType = ButtonProps['nativeType']\n\nexport interface ButtonConfigContext {\n autoInsertSpace?: boolean\n}\n"],"names":[],"mappings":";;;;;;;AAGY,MAAC,WAAW,GAAG;AAC3B,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,MAAM;AACR,EAAE,QAAQ;AACV,EAAE,MAAM;AACR,EAAE,EAAE;AACJ,EAAE;AACU,MAAC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE;AACnD,MAAC,WAAW,GAAG,UAAU,CAAC;AACtC,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,WAAW;AACvB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,iBAAiB;AAC7B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,YAAY;AACtB,IAAI,OAAO,EAAE,MAAM,OAAO;AAC1B,GAAG;AACH,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,EAAE,EAAE,OAAO;AACb,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;"}
|
|
@@ -9,7 +9,7 @@ export declare const useButton: (props: ButtonProps, emit: SetupContext<ButtonEm
|
|
|
9
9
|
ariaDisabled: boolean;
|
|
10
10
|
disabled: boolean;
|
|
11
11
|
autofocus: boolean;
|
|
12
|
-
type: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
12
|
+
type: import("../../../utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
13
13
|
} | {
|
|
14
14
|
ariaDisabled?: undefined;
|
|
15
15
|
disabled?: undefined;
|
|
@@ -72,7 +72,7 @@ export declare const ElCalendar: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
72
72
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
73
|
__epPropKey: true;
|
|
74
74
|
};
|
|
75
|
-
readonly nativeType: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
75
|
+
readonly nativeType: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
76
76
|
readonly loading: BooleanConstructor;
|
|
77
77
|
readonly loadingIcon: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
78
78
|
readonly plain: BooleanConstructor;
|
|
@@ -102,7 +102,7 @@ export declare const ElCalendar: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
102
102
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
103
103
|
__epPropKey: true;
|
|
104
104
|
};
|
|
105
|
-
readonly nativeType: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
105
|
+
readonly nativeType: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
106
106
|
readonly loading: BooleanConstructor;
|
|
107
107
|
readonly loadingIcon: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
108
108
|
readonly plain: BooleanConstructor;
|
|
@@ -147,7 +147,7 @@ export declare const ElCalendar: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
147
147
|
ariaDisabled: boolean;
|
|
148
148
|
disabled: boolean;
|
|
149
149
|
autofocus: boolean;
|
|
150
|
-
type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "
|
|
150
|
+
type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
151
151
|
} | {
|
|
152
152
|
ariaDisabled?: undefined;
|
|
153
153
|
disabled?: undefined;
|
|
@@ -236,7 +236,7 @@ export declare const ElCalendar: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
236
236
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
237
|
__epPropKey: true;
|
|
238
238
|
};
|
|
239
|
-
readonly nativeType: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
239
|
+
readonly nativeType: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
240
240
|
readonly loading: BooleanConstructor;
|
|
241
241
|
readonly loadingIcon: import("beyond-webui/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
242
242
|
readonly plain: BooleanConstructor;
|
|
@@ -254,14 +254,14 @@ export declare const ElCalendar: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
254
254
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
255
255
|
}, {
|
|
256
256
|
readonly type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
257
|
-
readonly dark: boolean;
|
|
258
257
|
readonly link: boolean;
|
|
258
|
+
readonly dark: boolean;
|
|
259
259
|
readonly disabled: boolean;
|
|
260
260
|
readonly text: boolean;
|
|
261
261
|
readonly round: boolean;
|
|
262
262
|
readonly circle: boolean;
|
|
263
263
|
readonly tag: import("beyond-webui/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
264
|
-
readonly nativeType: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "
|
|
264
|
+
readonly nativeType: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
265
265
|
readonly loadingIcon: import("beyond-webui/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
266
266
|
readonly autoInsertSpace: import("beyond-webui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
267
267
|
readonly loading: boolean;
|
|
@@ -72,7 +72,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
72
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
73
|
__epPropKey: true;
|
|
74
74
|
};
|
|
75
|
-
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
75
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
76
76
|
readonly loading: BooleanConstructor;
|
|
77
77
|
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
78
78
|
readonly plain: BooleanConstructor;
|
|
@@ -102,7 +102,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
102
102
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
103
103
|
__epPropKey: true;
|
|
104
104
|
};
|
|
105
|
-
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
105
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
106
106
|
readonly loading: BooleanConstructor;
|
|
107
107
|
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
108
108
|
readonly plain: BooleanConstructor;
|
|
@@ -147,7 +147,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
147
147
|
ariaDisabled: boolean;
|
|
148
148
|
disabled: boolean;
|
|
149
149
|
autofocus: boolean;
|
|
150
|
-
type: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
150
|
+
type: import("../../../utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
151
151
|
} | {
|
|
152
152
|
ariaDisabled?: undefined;
|
|
153
153
|
disabled?: undefined;
|
|
@@ -236,7 +236,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
236
236
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
237
|
__epPropKey: true;
|
|
238
238
|
};
|
|
239
|
-
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
239
|
+
readonly nativeType: import("../../../utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
240
240
|
readonly loading: BooleanConstructor;
|
|
241
241
|
readonly loadingIcon: import("../../../utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
|
|
242
242
|
readonly plain: BooleanConstructor;
|
|
@@ -254,14 +254,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
254
254
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
255
255
|
}, {
|
|
256
256
|
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
257
|
-
readonly dark: boolean;
|
|
258
257
|
readonly link: boolean;
|
|
258
|
+
readonly dark: boolean;
|
|
259
259
|
readonly disabled: boolean;
|
|
260
260
|
readonly text: boolean;
|
|
261
261
|
readonly round: boolean;
|
|
262
262
|
readonly circle: boolean;
|
|
263
263
|
readonly tag: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
264
|
-
readonly nativeType: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
264
|
+
readonly nativeType: import("../../../utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
265
265
|
readonly loadingIcon: import("../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
266
266
|
readonly autoInsertSpace: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
267
267
|
readonly loading: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const ElCarousel: import("beyond-webui/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
2
2
|
readonly initialIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
3
3
|
readonly height: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4
|
-
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
4
|
+
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
5
5
|
readonly autoplay: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
6
6
|
readonly interval: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
7
7
|
readonly indicatorPosition: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
@@ -17,7 +17,7 @@ export declare const ElCarousel: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
17
17
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
readonly initialIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
19
19
|
readonly height: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
20
|
-
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
20
|
+
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
21
21
|
readonly autoplay: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
22
22
|
readonly interval: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
23
23
|
readonly indicatorPosition: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
@@ -159,7 +159,7 @@ export declare const ElCarousel: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
159
159
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
160
160
|
readonly initialIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
161
161
|
readonly height: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
162
|
-
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
162
|
+
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
163
163
|
readonly autoplay: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
164
164
|
readonly interval: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
165
165
|
readonly indicatorPosition: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|
|
@@ -173,15 +173,15 @@ export declare const ElCarousel: import("beyond-webui/es/utils").SFCWithInstall<
|
|
|
173
173
|
}>> & {
|
|
174
174
|
onChange?: ((current: number, prev: number) => any) | undefined;
|
|
175
175
|
}, {
|
|
176
|
+
readonly interval: number;
|
|
176
177
|
readonly type: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "" | "card", unknown>;
|
|
177
178
|
readonly height: string;
|
|
178
179
|
readonly direction: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
179
|
-
readonly trigger: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "
|
|
180
|
+
readonly trigger: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "click" | "hover", unknown>;
|
|
180
181
|
readonly arrow: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "always" | "never" | "hover", unknown>;
|
|
181
182
|
readonly loop: import("beyond-webui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
182
183
|
readonly initialIndex: number;
|
|
183
184
|
readonly autoplay: import("beyond-webui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
184
|
-
readonly interval: number;
|
|
185
185
|
readonly indicatorPosition: import("beyond-webui/es/utils").EpPropMergeType<StringConstructor, "" | "none" | "outside", unknown>;
|
|
186
186
|
readonly cardScale: number;
|
|
187
187
|
readonly pauseOnHover: import("beyond-webui/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2,7 +2,7 @@ import type { ExtractPropTypes } from 'vue';
|
|
|
2
2
|
export declare const carouselProps: {
|
|
3
3
|
readonly initialIndex: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
4
4
|
readonly height: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5
|
-
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "
|
|
5
|
+
readonly trigger: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
6
6
|
readonly autoplay: import("beyond-webui/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
7
7
|
readonly interval: import("beyond-webui/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
|
|
8
8
|
readonly indicatorPosition: import("beyond-webui/es/utils").EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
|