element-plus-secondary 0.2.1 → 0.2.2
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.css +1 -1
- package/es/components/autocomplete/index.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/es/components/autocomplete/src/autocomplete2.mjs +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 +21 -54
- package/es/components/backtop/src/backtop.mjs.map +1 -1
- package/es/components/backtop/src/backtop2.mjs +54 -21
- 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 +55 -17
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +17 -55
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/breadcrumb/index.mjs +2 -2
- package/es/components/breadcrumb/src/breadcrumb-item.mjs +57 -11
- package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs +11 -57
- package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
- package/es/components/button/index.d.ts +13 -13
- package/es/components/button/index.mjs +3 -3
- package/es/components/button/src/button-group.d.ts +1 -1
- package/es/components/button/src/button-group.mjs +31 -6
- package/es/components/button/src/button-group.mjs.map +1 -1
- package/es/components/button/src/button-group.vue.d.ts +4 -4
- package/es/components/button/src/button-group2.mjs +6 -31
- 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 +78 -54
- package/es/components/button/src/button.mjs.map +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/button/src/button2.mjs +54 -78
- 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 +13 -13
- package/es/components/calendar/index.mjs +2 -2
- package/es/components/calendar/src/calendar.mjs +131 -18
- package/es/components/calendar/src/calendar.mjs.map +1 -1
- package/es/components/calendar/src/calendar.vue.d.ts +13 -13
- package/es/components/calendar/src/calendar2.mjs +18 -131
- package/es/components/calendar/src/calendar2.mjs.map +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel-item.mjs +63 -8
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +8 -63
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +10 -10
- package/es/components/cascader/src/index.mjs +1 -1
- package/es/components/cascader/src/index.vue.d.ts +5 -5
- 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/checkbox/index.d.ts +48 -48
- package/es/components/checkbox/index.mjs +4 -4
- package/es/components/checkbox/src/checkbox-button.mjs +1 -1
- package/es/components/checkbox/src/checkbox-button.vue.d.ts +16 -16
- package/es/components/checkbox/src/checkbox-group.mjs +28 -72
- package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox-group2.mjs +72 -28
- package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.d.ts +5 -5
- package/es/components/checkbox/src/checkbox.mjs +117 -54
- package/es/components/checkbox/src/checkbox.mjs.map +1 -1
- package/es/components/checkbox/src/checkbox.vue.d.ts +16 -16
- package/es/components/checkbox/src/checkbox2.mjs +54 -117
- package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
- package/es/components/col/index.mjs +2 -2
- package/es/components/col/src/col.mjs +43 -66
- package/es/components/col/src/col.mjs.map +1 -1
- package/es/components/col/src/col2.mjs +66 -43
- package/es/components/col/src/col2.mjs.map +1 -1
- package/es/components/collapse/index.mjs +2 -2
- package/es/components/collapse/src/collapse-item.mjs +96 -19
- package/es/components/collapse/src/collapse-item.mjs.map +1 -1
- package/es/components/collapse/src/collapse-item2.mjs +19 -96
- package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
- package/es/components/color-picker/index.d.ts +14 -14
- package/es/components/color-picker/src/color-picker.vue.d.ts +14 -14
- package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +3 -3
- package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/basic-year-table.vue.d.ts +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +16 -16
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +14 -14
- package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
- package/es/components/date-picker/src/panel-utils.d.ts +31 -31
- package/es/components/descriptions/index.d.ts +8 -8
- package/es/components/descriptions/src/description-item.d.ts +4 -4
- package/es/components/divider/index.mjs +2 -2
- package/es/components/divider/src/divider.mjs +17 -35
- package/es/components/divider/src/divider.mjs.map +1 -1
- package/es/components/divider/src/divider2.mjs +35 -17
- package/es/components/divider/src/divider2.mjs.map +1 -1
- package/es/components/dropdown/index.d.ts +2 -2
- package/es/components/dropdown/index.mjs +2 -2
- package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
- package/es/components/dropdown/src/dropdown-item.mjs +1 -1
- package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
- package/es/components/dropdown/src/dropdown.d.ts +1 -1
- package/es/components/dropdown/src/dropdown.mjs +280 -101
- package/es/components/dropdown/src/dropdown.mjs.map +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +2 -2
- package/es/components/dropdown/src/dropdown2.mjs +101 -280
- package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
- package/es/components/empty/index.mjs +2 -2
- package/es/components/empty/src/empty.mjs +11 -56
- package/es/components/empty/src/empty.mjs.map +1 -1
- package/es/components/empty/src/empty2.mjs +56 -11
- package/es/components/empty/src/empty2.mjs.map +1 -1
- package/es/components/form/index.mjs +2 -2
- package/es/components/form/src/form.mjs +150 -53
- package/es/components/form/src/form.mjs.map +1 -1
- package/es/components/form/src/form2.mjs +53 -150
- package/es/components/form/src/form2.mjs.map +1 -1
- package/es/components/icon/index.mjs +2 -2
- package/es/components/icon/src/icon.mjs +8 -36
- package/es/components/icon/src/icon.mjs.map +1 -1
- package/es/components/icon/src/icon2.mjs +36 -8
- package/es/components/icon/src/icon2.mjs.map +1 -1
- package/es/components/image/index.d.ts +2 -2
- package/es/components/image/src/image.vue.d.ts +2 -2
- package/es/components/image-viewer/index.d.ts +1 -1
- package/es/components/image-viewer/index.mjs +2 -2
- package/es/components/image-viewer/src/image-viewer.mjs +405 -35
- package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
- package/es/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/es/components/image-viewer/src/image-viewer2.mjs +35 -405
- package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
- package/es/components/index.mjs +40 -40
- package/es/components/input/index.d.ts +1 -1
- package/es/components/input/src/input.vue.d.ts +1 -1
- package/es/components/input-number/index.d.ts +3 -3
- package/es/components/input-number/index.mjs +2 -2
- package/es/components/input-number/src/input-number.mjs +300 -62
- package/es/components/input-number/src/input-number.mjs.map +1 -1
- package/es/components/input-number/src/input-number.vue.d.ts +3 -3
- package/es/components/input-number/src/input-number2.mjs +62 -300
- package/es/components/input-number/src/input-number2.mjs.map +1 -1
- package/es/components/menu/index.mjs +2 -2
- package/es/components/menu/src/menu-item.mjs +100 -14
- package/es/components/menu/src/menu-item.mjs.map +1 -1
- package/es/components/menu/src/menu-item2.mjs +14 -100
- package/es/components/menu/src/menu-item2.mjs.map +1 -1
- package/es/components/message/index.mjs +1 -1
- package/es/components/message/src/message.mjs +146 -86
- package/es/components/message/src/message.mjs.map +1 -1
- package/es/components/message/src/message2.mjs +86 -146
- package/es/components/message/src/message2.mjs.map +1 -1
- package/es/components/message/src/method.mjs +2 -2
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.mjs +145 -69
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification2.mjs +69 -145
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/page-header/index.mjs +2 -2
- package/es/components/page-header/src/page-header.mjs +102 -17
- package/es/components/page-header/src/page-header.mjs.map +1 -1
- package/es/components/page-header/src/page-header2.mjs +17 -102
- package/es/components/page-header/src/page-header2.mjs.map +1 -1
- package/es/components/pagination/index.d.ts +1 -1
- package/es/components/pagination/src/components/jumper.mjs +59 -9
- package/es/components/pagination/src/components/jumper.mjs.map +1 -1
- package/es/components/pagination/src/components/jumper.vue.d.ts +1 -1
- package/es/components/pagination/src/components/jumper2.mjs +9 -59
- package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
- package/es/components/pagination/src/components/prev.mjs +18 -34
- package/es/components/pagination/src/components/prev.mjs.map +1 -1
- package/es/components/pagination/src/components/prev2.mjs +34 -18
- package/es/components/pagination/src/components/prev2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +10 -10
- package/es/components/pagination/src/components/total.mjs +7 -28
- package/es/components/pagination/src/components/total.mjs.map +1 -1
- package/es/components/pagination/src/components/total2.mjs +28 -7
- package/es/components/pagination/src/components/total2.mjs.map +1 -1
- package/es/components/pagination/src/pagination.d.ts +1 -1
- package/es/components/pagination/src/pagination.mjs +3 -3
- package/es/components/popconfirm/index.d.ts +17 -17
- package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/es/components/popconfirm/src/popconfirm.mjs +2 -2
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +17 -17
- package/es/components/popover/src/popover.mjs +3 -3
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/arrow.mjs +44 -8
- package/es/components/popper/src/arrow.mjs.map +1 -1
- package/es/components/popper/src/arrow2.mjs +8 -44
- package/es/components/popper/src/arrow2.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/radio/index.d.ts +13 -13
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-button.d.ts +1 -1
- package/es/components/radio/src/radio-button.vue.d.ts +4 -4
- package/es/components/radio/src/radio-group.mjs +36 -68
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group2.mjs +68 -36
- package/es/components/radio/src/radio-group2.mjs.map +1 -1
- package/es/components/radio/src/radio.d.ts +2 -2
- package/es/components/radio/src/radio.vue.d.ts +5 -5
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +256 -98
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +98 -256
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/index.mjs +2 -2
- package/es/components/result/src/result.mjs +29 -63
- package/es/components/result/src/result.mjs.map +1 -1
- package/es/components/result/src/result2.mjs +63 -29
- package/es/components/result/src/result2.mjs.map +1 -1
- package/es/components/row/index.mjs +2 -2
- package/es/components/row/src/row.mjs +30 -45
- package/es/components/row/src/row.mjs.map +1 -1
- package/es/components/row/src/row2.mjs +45 -30
- package/es/components/row/src/row2.mjs.map +1 -1
- package/es/components/scrollbar/index.mjs +3 -3
- package/es/components/scrollbar/src/bar2.mjs +1 -1
- package/es/components/scrollbar/src/scrollbar.mjs +47 -175
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +175 -47
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb.mjs +131 -11
- package/es/components/scrollbar/src/thumb.mjs.map +1 -1
- package/es/components/scrollbar/src/thumb2.mjs +11 -131
- package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
- package/es/components/select/index.d.ts +10 -10
- package/es/components/select/src/option.vue.d.ts +4 -4
- package/es/components/select/src/select.mjs +1 -1
- package/es/components/select/src/select.vue.d.ts +2 -2
- package/es/components/select-v2/index.d.ts +2 -2
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +1 -1
- package/es/components/skeleton/index.mjs +2 -2
- package/es/components/skeleton/src/skeleton.mjs +49 -22
- package/es/components/skeleton/src/skeleton.mjs.map +1 -1
- package/es/components/skeleton/src/skeleton2.mjs +22 -49
- package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
- package/es/components/slider/index.d.ts +3 -3
- package/es/components/slider/index.mjs +2 -2
- 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 +3 -3
- package/es/components/slider/src/slider2.mjs +91 -233
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/steps/index.mjs +4 -4
- package/es/components/steps/src/item.mjs +20 -194
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item2.mjs +194 -20
- package/es/components/steps/src/item2.mjs.map +1 -1
- package/es/components/steps/src/steps.mjs +34 -36
- package/es/components/steps/src/steps.mjs.map +1 -1
- package/es/components/steps/src/steps2.mjs +36 -34
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/switch/index.d.ts +1 -1
- package/es/components/switch/src/switch.vue.d.ts +1 -1
- package/es/components/table/index.d.ts +17 -17
- package/es/components/table/src/table/defaults.d.ts +4 -4
- package/es/components/table/src/table-column/defaults.d.ts +2 -2
- package/es/components/table/src/table-column/index.d.ts +4 -4
- package/es/components/table/src/table.vue.d.ts +9 -9
- package/es/components/tabs/index.mjs +2 -2
- package/es/components/tabs/src/tab-pane.mjs +73 -13
- package/es/components/tabs/src/tab-pane.mjs.map +1 -1
- package/es/components/tabs/src/tab-pane2.mjs +13 -73
- package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
- package/es/components/tag/index.d.ts +2 -2
- package/es/components/tag/src/tag.vue.d.ts +2 -2
- package/es/components/teleport/index.mjs +2 -2
- package/es/components/teleport/src/teleport.mjs +44 -18
- package/es/components/teleport/src/teleport.mjs.map +1 -1
- package/es/components/teleport/src/teleport2.mjs +18 -44
- package/es/components/teleport/src/teleport2.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -1
- package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -1
- package/es/components/time-select/index.d.ts +32 -32
- package/es/components/time-select/src/time-select.vue.d.ts +16 -16
- package/es/components/timeline/index.d.ts +2 -2
- package/es/components/timeline/index.mjs +2 -2
- package/es/components/timeline/src/timeline-item.mjs +42 -70
- package/es/components/timeline/src/timeline-item.mjs.map +1 -1
- package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/es/components/timeline/src/timeline-item2.mjs +70 -42
- package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
- package/es/components/tooltip/index.mjs +2 -2
- package/es/components/tooltip/src/content.mjs +167 -39
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content2.mjs +39 -167
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.mjs +3 -3
- package/es/components/tooltip/src/tooltip2.mjs +3 -3
- package/es/components/tooltip/src/trigger.mjs +16 -74
- package/es/components/tooltip/src/trigger.mjs.map +1 -1
- package/es/components/tooltip/src/trigger2.mjs +74 -16
- package/es/components/tooltip/src/trigger2.mjs.map +1 -1
- package/es/components/tooltip-v2/index.mjs +4 -4
- package/es/components/tooltip-v2/src/content.mjs +50 -113
- package/es/components/tooltip-v2/src/content.mjs.map +1 -1
- package/es/components/tooltip-v2/src/content2.mjs +113 -50
- package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root.mjs +17 -81
- package/es/components/tooltip-v2/src/root.mjs.map +1 -1
- package/es/components/tooltip-v2/src/root2.mjs +81 -17
- package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +74 -21
- package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip2.mjs +21 -74
- package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
- package/es/components/transfer/index.d.ts +174 -174
- package/es/components/transfer/src/composables/use-check.mjs +1 -1
- package/es/components/transfer/src/transfer-panel.mjs +19 -131
- package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
- package/es/components/transfer/src/transfer-panel.vue.d.ts +33 -33
- package/es/components/transfer/src/transfer-panel2.mjs +131 -19
- package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
- package/es/components/transfer/src/transfer.vue.d.ts +174 -174
- package/es/components/transfer/src/transfer2.mjs +1 -1
- package/es/components/tree-select/src/tree-select-option.d.ts +16 -16
- package/es/components/tree-v2/index.d.ts +32 -32
- package/es/components/tree-v2/src/tree-node.vue.d.ts +32 -32
- package/es/components/tree-v2/src/tree.vue.d.ts +32 -32
- package/es/components/upload/index.d.ts +1 -1
- package/es/components/upload/index.mjs +2 -2
- package/es/components/upload/src/upload-content.mjs +170 -33
- package/es/components/upload/src/upload-content.mjs.map +1 -1
- package/es/components/upload/src/upload-content2.mjs +33 -170
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload-list.mjs +170 -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 -170
- package/es/components/upload/src/upload-list2.mjs.map +1 -1
- package/es/components/upload/src/upload.mjs +2 -2
- package/es/components/upload/src/upload.vue.d.ts +1 -1
- package/es/index.mjs +40 -40
- package/es/utils/types.d.ts +1 -1
- package/lib/components/autocomplete/index.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
- package/lib/components/autocomplete/src/autocomplete2.js +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 +22 -54
- package/lib/components/backtop/src/backtop.js.map +1 -1
- package/lib/components/backtop/src/backtop2.js +54 -22
- 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 +55 -17
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +17 -55
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/breadcrumb/index.js +2 -2
- package/lib/components/breadcrumb/src/breadcrumb-item.js +57 -11
- package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
- package/lib/components/breadcrumb/src/breadcrumb-item2.js +11 -57
- package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
- package/lib/components/button/index.d.ts +13 -13
- package/lib/components/button/index.js +3 -3
- package/lib/components/button/src/button-group.d.ts +1 -1
- package/lib/components/button/src/button-group.js +31 -6
- package/lib/components/button/src/button-group.js.map +1 -1
- package/lib/components/button/src/button-group.vue.d.ts +4 -4
- package/lib/components/button/src/button-group2.js +6 -31
- 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 +78 -57
- package/lib/components/button/src/button.js.map +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/button/src/button2.js +57 -78
- 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 +13 -13
- package/lib/components/calendar/index.js +2 -2
- package/lib/components/calendar/src/calendar.js +131 -19
- package/lib/components/calendar/src/calendar.js.map +1 -1
- package/lib/components/calendar/src/calendar.vue.d.ts +13 -13
- package/lib/components/calendar/src/calendar2.js +19 -131
- package/lib/components/calendar/src/calendar2.js.map +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel-item.js +63 -8
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +8 -63
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +10 -10
- package/lib/components/cascader/src/index.js +1 -1
- package/lib/components/cascader/src/index.vue.d.ts +5 -5
- 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/checkbox/index.d.ts +48 -48
- package/lib/components/checkbox/index.js +4 -4
- package/lib/components/checkbox/src/checkbox-button.js +1 -1
- package/lib/components/checkbox/src/checkbox-button.vue.d.ts +16 -16
- package/lib/components/checkbox/src/checkbox-group.js +29 -72
- package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
- package/lib/components/checkbox/src/checkbox-group2.js +72 -29
- package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.d.ts +5 -5
- package/lib/components/checkbox/src/checkbox.js +117 -55
- package/lib/components/checkbox/src/checkbox.js.map +1 -1
- package/lib/components/checkbox/src/checkbox.vue.d.ts +16 -16
- package/lib/components/checkbox/src/checkbox2.js +55 -117
- package/lib/components/checkbox/src/checkbox2.js.map +1 -1
- package/lib/components/col/index.js +2 -2
- package/lib/components/col/src/col.js +43 -66
- package/lib/components/col/src/col.js.map +1 -1
- package/lib/components/col/src/col2.js +66 -43
- package/lib/components/col/src/col2.js.map +1 -1
- package/lib/components/collapse/index.js +2 -2
- package/lib/components/collapse/src/collapse-item.js +96 -19
- package/lib/components/collapse/src/collapse-item.js.map +1 -1
- package/lib/components/collapse/src/collapse-item2.js +19 -96
- package/lib/components/collapse/src/collapse-item2.js.map +1 -1
- package/lib/components/color-picker/index.d.ts +14 -14
- package/lib/components/color-picker/src/color-picker.vue.d.ts +14 -14
- package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +3 -3
- package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-month-table.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/basic-year-table.vue.d.ts +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +16 -16
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +14 -14
- package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
- package/lib/components/date-picker/src/panel-utils.d.ts +31 -31
- package/lib/components/descriptions/index.d.ts +8 -8
- package/lib/components/descriptions/src/description-item.d.ts +4 -4
- package/lib/components/divider/index.js +2 -2
- package/lib/components/divider/src/divider.js +17 -35
- package/lib/components/divider/src/divider.js.map +1 -1
- package/lib/components/divider/src/divider2.js +35 -17
- package/lib/components/divider/src/divider2.js.map +1 -1
- package/lib/components/dropdown/index.d.ts +2 -2
- package/lib/components/dropdown/index.js +2 -2
- package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
- package/lib/components/dropdown/src/dropdown-item.js +1 -1
- package/lib/components/dropdown/src/dropdown-menu.js +1 -1
- package/lib/components/dropdown/src/dropdown.d.ts +1 -1
- package/lib/components/dropdown/src/dropdown.js +280 -110
- package/lib/components/dropdown/src/dropdown.js.map +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +2 -2
- package/lib/components/dropdown/src/dropdown2.js +110 -280
- package/lib/components/dropdown/src/dropdown2.js.map +1 -1
- package/lib/components/empty/index.js +2 -2
- package/lib/components/empty/src/empty.js +11 -56
- package/lib/components/empty/src/empty.js.map +1 -1
- package/lib/components/empty/src/empty2.js +56 -11
- package/lib/components/empty/src/empty2.js.map +1 -1
- package/lib/components/form/index.js +2 -2
- package/lib/components/form/src/form.js +149 -53
- package/lib/components/form/src/form.js.map +1 -1
- package/lib/components/form/src/form2.js +53 -149
- package/lib/components/form/src/form2.js.map +1 -1
- package/lib/components/icon/index.js +2 -2
- package/lib/components/icon/src/icon.js +8 -36
- package/lib/components/icon/src/icon.js.map +1 -1
- package/lib/components/icon/src/icon2.js +36 -8
- package/lib/components/icon/src/icon2.js.map +1 -1
- package/lib/components/image/index.d.ts +2 -2
- package/lib/components/image/src/image.vue.d.ts +2 -2
- package/lib/components/image-viewer/index.d.ts +1 -1
- package/lib/components/image-viewer/index.js +2 -2
- package/lib/components/image-viewer/src/image-viewer.js +405 -36
- package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
- package/lib/components/image-viewer/src/image-viewer.vue.d.ts +1 -1
- package/lib/components/image-viewer/src/image-viewer2.js +36 -405
- package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
- package/lib/components/index.js +40 -40
- package/lib/components/input/index.d.ts +1 -1
- package/lib/components/input/src/input.vue.d.ts +1 -1
- package/lib/components/input-number/index.d.ts +3 -3
- package/lib/components/input-number/index.js +2 -2
- package/lib/components/input-number/src/input-number.js +299 -62
- package/lib/components/input-number/src/input-number.js.map +1 -1
- package/lib/components/input-number/src/input-number.vue.d.ts +3 -3
- package/lib/components/input-number/src/input-number2.js +62 -299
- package/lib/components/input-number/src/input-number2.js.map +1 -1
- package/lib/components/menu/index.js +2 -2
- package/lib/components/menu/src/menu-item.js +100 -15
- package/lib/components/menu/src/menu-item.js.map +1 -1
- package/lib/components/menu/src/menu-item2.js +15 -100
- package/lib/components/menu/src/menu-item2.js.map +1 -1
- package/lib/components/message/index.js +1 -1
- package/lib/components/message/src/message.js +144 -87
- package/lib/components/message/src/message.js.map +1 -1
- package/lib/components/message/src/message2.js +87 -144
- package/lib/components/message/src/message2.js.map +1 -1
- package/lib/components/message/src/method.js +2 -2
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.js +144 -70
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification2.js +70 -144
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/page-header/index.js +2 -2
- package/lib/components/page-header/src/page-header.js +102 -18
- package/lib/components/page-header/src/page-header.js.map +1 -1
- package/lib/components/page-header/src/page-header2.js +18 -102
- package/lib/components/page-header/src/page-header2.js.map +1 -1
- package/lib/components/pagination/index.d.ts +1 -1
- package/lib/components/pagination/src/components/jumper.js +59 -9
- package/lib/components/pagination/src/components/jumper.js.map +1 -1
- package/lib/components/pagination/src/components/jumper.vue.d.ts +1 -1
- package/lib/components/pagination/src/components/jumper2.js +9 -59
- package/lib/components/pagination/src/components/jumper2.js.map +1 -1
- package/lib/components/pagination/src/components/prev.js +19 -34
- package/lib/components/pagination/src/components/prev.js.map +1 -1
- package/lib/components/pagination/src/components/prev2.js +34 -19
- package/lib/components/pagination/src/components/prev2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +10 -10
- package/lib/components/pagination/src/components/total.js +7 -28
- package/lib/components/pagination/src/components/total.js.map +1 -1
- package/lib/components/pagination/src/components/total2.js +28 -7
- package/lib/components/pagination/src/components/total2.js.map +1 -1
- package/lib/components/pagination/src/pagination.d.ts +1 -1
- package/lib/components/pagination/src/pagination.js +3 -3
- package/lib/components/popconfirm/index.d.ts +17 -17
- package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
- package/lib/components/popconfirm/src/popconfirm.js +2 -2
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +17 -17
- package/lib/components/popover/src/popover.js +3 -3
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/arrow.js +44 -9
- package/lib/components/popper/src/arrow.js.map +1 -1
- package/lib/components/popper/src/arrow2.js +9 -44
- package/lib/components/popper/src/arrow2.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/radio/index.d.ts +13 -13
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-button.d.ts +1 -1
- package/lib/components/radio/src/radio-button.vue.d.ts +4 -4
- package/lib/components/radio/src/radio-group.js +37 -68
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group2.js +68 -37
- package/lib/components/radio/src/radio-group2.js.map +1 -1
- package/lib/components/radio/src/radio.d.ts +2 -2
- package/lib/components/radio/src/radio.vue.d.ts +5 -5
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +255 -98
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +98 -255
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/index.js +2 -2
- package/lib/components/result/src/result.js +31 -63
- package/lib/components/result/src/result.js.map +1 -1
- package/lib/components/result/src/result2.js +63 -31
- package/lib/components/result/src/result2.js.map +1 -1
- package/lib/components/row/index.js +2 -2
- package/lib/components/row/src/row.js +32 -45
- package/lib/components/row/src/row.js.map +1 -1
- package/lib/components/row/src/row2.js +45 -32
- package/lib/components/row/src/row2.js.map +1 -1
- package/lib/components/scrollbar/index.js +3 -3
- package/lib/components/scrollbar/src/bar2.js +1 -1
- package/lib/components/scrollbar/src/scrollbar.js +48 -175
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +175 -48
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/scrollbar/src/thumb.js +131 -11
- package/lib/components/scrollbar/src/thumb.js.map +1 -1
- package/lib/components/scrollbar/src/thumb2.js +11 -131
- package/lib/components/scrollbar/src/thumb2.js.map +1 -1
- package/lib/components/select/index.d.ts +10 -10
- package/lib/components/select/src/option.vue.d.ts +4 -4
- package/lib/components/select/src/select.js +1 -1
- package/lib/components/select/src/select.vue.d.ts +2 -2
- package/lib/components/select-v2/index.d.ts +2 -2
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +1 -1
- package/lib/components/skeleton/index.js +2 -2
- package/lib/components/skeleton/src/skeleton.js +49 -22
- package/lib/components/skeleton/src/skeleton.js.map +1 -1
- package/lib/components/skeleton/src/skeleton2.js +22 -49
- package/lib/components/skeleton/src/skeleton2.js.map +1 -1
- package/lib/components/slider/index.d.ts +3 -3
- package/lib/components/slider/index.js +2 -2
- 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 +3 -3
- package/lib/components/slider/src/slider2.js +92 -233
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/steps/index.js +4 -4
- package/lib/components/steps/src/item.js +20 -194
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item2.js +194 -20
- package/lib/components/steps/src/item2.js.map +1 -1
- package/lib/components/steps/src/steps.js +34 -37
- package/lib/components/steps/src/steps.js.map +1 -1
- package/lib/components/steps/src/steps2.js +37 -34
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/switch/index.d.ts +1 -1
- package/lib/components/switch/src/switch.vue.d.ts +1 -1
- package/lib/components/table/index.d.ts +17 -17
- package/lib/components/table/src/table/defaults.d.ts +4 -4
- package/lib/components/table/src/table-column/defaults.d.ts +2 -2
- package/lib/components/table/src/table-column/index.d.ts +4 -4
- package/lib/components/table/src/table.vue.d.ts +9 -9
- package/lib/components/tabs/index.js +2 -2
- package/lib/components/tabs/src/tab-pane.js +73 -13
- package/lib/components/tabs/src/tab-pane.js.map +1 -1
- package/lib/components/tabs/src/tab-pane2.js +13 -73
- package/lib/components/tabs/src/tab-pane2.js.map +1 -1
- package/lib/components/tag/index.d.ts +2 -2
- package/lib/components/tag/src/tag.vue.d.ts +2 -2
- package/lib/components/teleport/index.js +2 -2
- package/lib/components/teleport/src/teleport.js +44 -18
- package/lib/components/teleport/src/teleport.js.map +1 -1
- package/lib/components/teleport/src/teleport2.js +18 -44
- package/lib/components/teleport/src/teleport2.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -1
- package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
- package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -1
- package/lib/components/time-select/index.d.ts +32 -32
- package/lib/components/time-select/src/time-select.vue.d.ts +16 -16
- package/lib/components/timeline/index.d.ts +2 -2
- package/lib/components/timeline/index.js +2 -2
- package/lib/components/timeline/src/timeline-item.js +42 -70
- package/lib/components/timeline/src/timeline-item.js.map +1 -1
- package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
- package/lib/components/timeline/src/timeline-item2.js +70 -42
- package/lib/components/timeline/src/timeline-item2.js.map +1 -1
- package/lib/components/tooltip/index.js +2 -2
- package/lib/components/tooltip/src/content.js +167 -39
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content2.js +39 -167
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.js +3 -3
- package/lib/components/tooltip/src/tooltip2.js +3 -3
- package/lib/components/tooltip/src/trigger.js +16 -74
- package/lib/components/tooltip/src/trigger.js.map +1 -1
- package/lib/components/tooltip/src/trigger2.js +74 -16
- package/lib/components/tooltip/src/trigger2.js.map +1 -1
- package/lib/components/tooltip-v2/index.js +4 -4
- package/lib/components/tooltip-v2/src/content.js +50 -113
- package/lib/components/tooltip-v2/src/content.js.map +1 -1
- package/lib/components/tooltip-v2/src/content2.js +113 -50
- package/lib/components/tooltip-v2/src/content2.js.map +1 -1
- package/lib/components/tooltip-v2/src/root.js +17 -81
- package/lib/components/tooltip-v2/src/root.js.map +1 -1
- package/lib/components/tooltip-v2/src/root2.js +81 -17
- package/lib/components/tooltip-v2/src/root2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +74 -21
- package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip2.js +21 -74
- package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
- package/lib/components/transfer/index.d.ts +174 -174
- package/lib/components/transfer/src/composables/use-check.js +1 -1
- package/lib/components/transfer/src/transfer-panel.js +21 -131
- package/lib/components/transfer/src/transfer-panel.js.map +1 -1
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +33 -33
- package/lib/components/transfer/src/transfer-panel2.js +131 -21
- package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
- package/lib/components/transfer/src/transfer.vue.d.ts +174 -174
- package/lib/components/transfer/src/transfer2.js +1 -1
- package/lib/components/tree-select/src/tree-select-option.d.ts +16 -16
- package/lib/components/tree-v2/index.d.ts +32 -32
- package/lib/components/tree-v2/src/tree-node.vue.d.ts +32 -32
- package/lib/components/tree-v2/src/tree.vue.d.ts +32 -32
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/components/upload/index.js +2 -2
- package/lib/components/upload/src/upload-content.js +169 -32
- package/lib/components/upload/src/upload-content.js.map +1 -1
- package/lib/components/upload/src/upload-content2.js +32 -169
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload-list.js +170 -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 -170
- package/lib/components/upload/src/upload-list2.js.map +1 -1
- package/lib/components/upload/src/upload.js +2 -2
- package/lib/components/upload/src/upload.vue.d.ts +1 -1
- package/lib/index.js +40 -40
- package/lib/utils/types.d.ts +1 -1
- package/package.json +1 -1
- package/theme-chalk/el-color-picker.css +1 -1
- package/theme-chalk/el-tree.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/color-picker.scss +7 -0
- package/theme-chalk/src/tree.scss +8 -0
|
@@ -2,66 +2,87 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
var index$1 = require('../../icon/index.js');
|
|
5
7
|
require('../../../hooks/index.js');
|
|
6
|
-
require('
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
10
|
-
var
|
|
8
|
+
var useButton = require('./use-button.js');
|
|
9
|
+
var button = require('./button2.js');
|
|
10
|
+
var buttonCustom = require('./button-custom.js');
|
|
11
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
12
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
11
13
|
|
|
12
|
-
const
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
const
|
|
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
|
-
|
|
14
|
+
const _hoisted_1 = ["aria-disabled", "disabled", "autofocus", "type"];
|
|
15
|
+
const __default__ = vue.defineComponent({
|
|
16
|
+
name: "ElButton"
|
|
17
|
+
});
|
|
18
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
19
|
+
...__default__,
|
|
20
|
+
props: button.buttonProps,
|
|
21
|
+
emits: button.buttonEmits,
|
|
22
|
+
setup(__props, { expose, emit }) {
|
|
23
|
+
const props = __props;
|
|
24
|
+
const buttonStyle = buttonCustom.useButtonCustomStyle(props);
|
|
25
|
+
const ns = index.useNamespace("button");
|
|
26
|
+
const { _ref, _size, _type, _disabled, shouldAddSpace, handleClick } = useButton.useButton(props, emit);
|
|
27
|
+
expose({
|
|
28
|
+
ref: _ref,
|
|
29
|
+
size: _size,
|
|
30
|
+
type: _type,
|
|
31
|
+
disabled: _disabled,
|
|
32
|
+
shouldAddSpace
|
|
33
|
+
});
|
|
34
|
+
return (_ctx, _cache) => {
|
|
35
|
+
return vue.openBlock(), vue.createElementBlock("button", {
|
|
36
|
+
ref_key: "_ref",
|
|
37
|
+
ref: _ref,
|
|
38
|
+
class: vue.normalizeClass([
|
|
39
|
+
vue.unref(ns).b(),
|
|
40
|
+
vue.unref(ns).m(vue.unref(_type)),
|
|
41
|
+
vue.unref(ns).m(vue.unref(_size)),
|
|
42
|
+
vue.unref(ns).is("disabled", vue.unref(_disabled)),
|
|
43
|
+
vue.unref(ns).is("loading", _ctx.loading),
|
|
44
|
+
vue.unref(ns).is("plain", _ctx.plain),
|
|
45
|
+
vue.unref(ns).is("secondary", _ctx.secondary),
|
|
46
|
+
vue.unref(ns).is("round", _ctx.round),
|
|
47
|
+
vue.unref(ns).is("circle", _ctx.circle),
|
|
48
|
+
vue.unref(ns).is("text", _ctx.text),
|
|
49
|
+
vue.unref(ns).is("link", _ctx.link),
|
|
50
|
+
vue.unref(ns).is("has-bg", _ctx.bg)
|
|
51
|
+
]),
|
|
52
|
+
"aria-disabled": vue.unref(_disabled) || _ctx.loading,
|
|
53
|
+
disabled: vue.unref(_disabled) || _ctx.loading,
|
|
54
|
+
autofocus: _ctx.autofocus,
|
|
55
|
+
type: _ctx.nativeType,
|
|
56
|
+
style: vue.normalizeStyle(vue.unref(buttonStyle)),
|
|
57
|
+
onClick: _cache[0] || (_cache[0] = (...args) => vue.unref(handleClick) && vue.unref(handleClick)(...args))
|
|
58
|
+
}, [
|
|
59
|
+
_ctx.loading ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
60
|
+
_ctx.$slots.loading ? vue.renderSlot(_ctx.$slots, "loading", { key: 0 }) : (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), {
|
|
61
|
+
key: 1,
|
|
62
|
+
class: vue.normalizeClass(vue.unref(ns).is("loading"))
|
|
63
|
+
}, {
|
|
64
|
+
default: vue.withCtx(() => [
|
|
65
|
+
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.loadingIcon)))
|
|
66
|
+
]),
|
|
67
|
+
_: 1
|
|
68
|
+
}, 8, ["class"]))
|
|
69
|
+
], 64)) : _ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 1 }, {
|
|
70
|
+
default: vue.withCtx(() => [
|
|
71
|
+
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon), { key: 0 })) : vue.renderSlot(_ctx.$slots, "icon", { key: 1 })
|
|
72
|
+
]),
|
|
73
|
+
_: 3
|
|
74
|
+
})) : vue.createCommentVNode("v-if", true),
|
|
75
|
+
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
76
|
+
key: 2,
|
|
77
|
+
class: vue.normalizeClass({ [vue.unref(ns).em("text", "expand")]: vue.unref(shouldAddSpace) })
|
|
78
|
+
}, [
|
|
79
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
80
|
+
], 2)) : vue.createCommentVNode("v-if", true)
|
|
81
|
+
], 14, _hoisted_1);
|
|
82
|
+
};
|
|
57
83
|
}
|
|
58
84
|
});
|
|
59
|
-
|
|
60
|
-
click: (evt) => evt instanceof MouseEvent
|
|
61
|
-
};
|
|
85
|
+
var Button = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/Users/st/Desktop/vue/nxx-ui/packages/components/button/src/button.vue"]]);
|
|
62
86
|
|
|
63
|
-
exports
|
|
64
|
-
exports.buttonNativeTypes = buttonNativeTypes;
|
|
65
|
-
exports.buttonProps = buttonProps;
|
|
66
|
-
exports.buttonTypes = buttonTypes;
|
|
87
|
+
exports["default"] = Button;
|
|
67
88
|
//# sourceMappingURL=button.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.js","sources":["../../../../../../packages/components/button/src/button.
|
|
1
|
+
{"version":3,"file":"button.js","sources":["../../../../../../packages/components/button/src/button.vue"],"sourcesContent":["<template>\n <button\n ref=\"_ref\"\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('secondary', secondary),\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 :aria-disabled=\"_disabled || loading\"\n :disabled=\"_disabled || loading\"\n :autofocus=\"autofocus\"\n :type=\"nativeType\"\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 </button>\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, 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":["useButtonCustomStyle","useNamespace","useButton"],"mappings":";;;;;;;;;;;;;;uCAkDc,CAAA;AAAA,EACZ,IAAM,EAAA,UAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,WAAA,GAAcA,kCAAqB,KAAK,CAAA,CAAA;AAC9C,IAAM,MAAA,EAAA,GAAKC,mBAAa,QAAQ,CAAA,CAAA;AAChC,IAAM,MAAA,EAAE,MAAM,KAAO,EAAA,KAAA,EAAO,WAAW,cAAgB,EAAA,WAAA,EAAA,GACrDC,mBAAU,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
6
6
|
__epPropKey: true;
|
|
7
7
|
};
|
|
8
8
|
readonly disabled: BooleanConstructor;
|
|
9
|
-
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
9
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
10
10
|
readonly icon: {
|
|
11
11
|
readonly type: import("vue").PropType<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>>;
|
|
12
12
|
readonly required: false;
|
|
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
38
|
readonly disabled: BooleanConstructor;
|
|
39
|
-
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
39
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
40
40
|
readonly icon: {
|
|
41
41
|
readonly type: import("vue").PropType<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>>;
|
|
42
42
|
readonly required: false;
|
|
@@ -82,7 +82,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
82
82
|
};
|
|
83
83
|
_ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
84
84
|
_size: import("vue").ComputedRef<"" | "default" | "small" | "large" | "middle">;
|
|
85
|
-
_type: import("vue").ComputedRef<"" | "default" | "
|
|
85
|
+
_type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
86
86
|
_disabled: import("vue").ComputedRef<boolean>;
|
|
87
87
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
88
88
|
handleClick: (evt: MouseEvent) => void;
|
|
@@ -159,7 +159,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
159
159
|
__epPropKey: true;
|
|
160
160
|
};
|
|
161
161
|
readonly disabled: BooleanConstructor;
|
|
162
|
-
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
162
|
+
readonly type: import("../../../utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
163
163
|
readonly icon: {
|
|
164
164
|
readonly type: import("vue").PropType<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>>;
|
|
165
165
|
readonly required: false;
|
|
@@ -183,8 +183,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
183
183
|
}>> & {
|
|
184
184
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
185
185
|
}, {
|
|
186
|
+
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
186
187
|
readonly text: boolean;
|
|
187
|
-
readonly type: import("../../../utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
188
188
|
readonly nativeType: import("../../../utils").EpPropMergeType<StringConstructor, "button" | "submit" | "reset", unknown>;
|
|
189
189
|
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>;
|
|
190
190
|
readonly autoInsertSpace: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2,87 +2,66 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vue = require('vue');
|
|
6
|
-
var index$1 = require('../../icon/index.js');
|
|
7
5
|
require('../../../hooks/index.js');
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
var
|
|
11
|
-
var
|
|
12
|
-
var
|
|
6
|
+
require('../../../utils/index.js');
|
|
7
|
+
var iconsVue = require('@element-plus/icons-vue');
|
|
8
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
9
|
+
var index = require('../../../hooks/use-size/index.js');
|
|
10
|
+
var icon = require('../../../utils/vue/icon.js');
|
|
13
11
|
|
|
14
|
-
const
|
|
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
|
-
_ctx.loading ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
60
|
-
_ctx.$slots.loading ? vue.renderSlot(_ctx.$slots, "loading", { key: 0 }) : (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), {
|
|
61
|
-
key: 1,
|
|
62
|
-
class: vue.normalizeClass(vue.unref(ns).is("loading"))
|
|
63
|
-
}, {
|
|
64
|
-
default: vue.withCtx(() => [
|
|
65
|
-
(vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.loadingIcon)))
|
|
66
|
-
]),
|
|
67
|
-
_: 1
|
|
68
|
-
}, 8, ["class"]))
|
|
69
|
-
], 64)) : _ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createBlock(vue.unref(index$1.ElIcon), { key: 1 }, {
|
|
70
|
-
default: vue.withCtx(() => [
|
|
71
|
-
_ctx.icon ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon), { key: 0 })) : vue.renderSlot(_ctx.$slots, "icon", { key: 1 })
|
|
72
|
-
]),
|
|
73
|
-
_: 3
|
|
74
|
-
})) : vue.createCommentVNode("v-if", true),
|
|
75
|
-
_ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("span", {
|
|
76
|
-
key: 2,
|
|
77
|
-
class: vue.normalizeClass({ [vue.unref(ns).em("text", "expand")]: vue.unref(shouldAddSpace) })
|
|
78
|
-
}, [
|
|
79
|
-
vue.renderSlot(_ctx.$slots, "default")
|
|
80
|
-
], 2)) : vue.createCommentVNode("v-if", true)
|
|
81
|
-
], 14, _hoisted_1);
|
|
82
|
-
};
|
|
12
|
+
const buttonTypes = [
|
|
13
|
+
"default",
|
|
14
|
+
"primary",
|
|
15
|
+
"success",
|
|
16
|
+
"warning",
|
|
17
|
+
"info",
|
|
18
|
+
"danger",
|
|
19
|
+
"text",
|
|
20
|
+
""
|
|
21
|
+
];
|
|
22
|
+
const buttonNativeTypes = ["button", "submit", "reset"];
|
|
23
|
+
const buttonProps = runtime.buildProps({
|
|
24
|
+
size: index.useSizeProp,
|
|
25
|
+
disabled: Boolean,
|
|
26
|
+
type: {
|
|
27
|
+
type: String,
|
|
28
|
+
values: buttonTypes,
|
|
29
|
+
default: ""
|
|
30
|
+
},
|
|
31
|
+
icon: {
|
|
32
|
+
type: icon.iconPropType
|
|
33
|
+
},
|
|
34
|
+
nativeType: {
|
|
35
|
+
type: String,
|
|
36
|
+
values: buttonNativeTypes,
|
|
37
|
+
default: "button"
|
|
38
|
+
},
|
|
39
|
+
loading: Boolean,
|
|
40
|
+
loadingIcon: {
|
|
41
|
+
type: icon.iconPropType,
|
|
42
|
+
default: () => iconsVue.Loading
|
|
43
|
+
},
|
|
44
|
+
plain: Boolean,
|
|
45
|
+
secondary: Boolean,
|
|
46
|
+
text: Boolean,
|
|
47
|
+
link: Boolean,
|
|
48
|
+
bg: Boolean,
|
|
49
|
+
autofocus: Boolean,
|
|
50
|
+
round: Boolean,
|
|
51
|
+
circle: Boolean,
|
|
52
|
+
color: String,
|
|
53
|
+
dark: Boolean,
|
|
54
|
+
autoInsertSpace: {
|
|
55
|
+
type: Boolean,
|
|
56
|
+
default: void 0
|
|
83
57
|
}
|
|
84
58
|
});
|
|
85
|
-
|
|
59
|
+
const buttonEmits = {
|
|
60
|
+
click: (evt) => evt instanceof MouseEvent
|
|
61
|
+
};
|
|
86
62
|
|
|
87
|
-
exports
|
|
63
|
+
exports.buttonEmits = buttonEmits;
|
|
64
|
+
exports.buttonNativeTypes = buttonNativeTypes;
|
|
65
|
+
exports.buttonProps = buttonProps;
|
|
66
|
+
exports.buttonTypes = buttonTypes;
|
|
88
67
|
//# sourceMappingURL=button2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button2.js","sources":["../../../../../../packages/components/button/src/button.
|
|
1
|
+
{"version":3,"file":"button2.js","sources":["../../../../../../packages/components/button/src/button.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, iconPropType } from '@element-plus/utils'\nimport { Loading } from '@element-plus/icons-vue'\nimport type { 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 secondary: 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} 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":["buildProps","useSizeProp","iconPropType","Loading"],"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,GAAGA,kBAAU,CAAC;AACtC,EAAE,IAAI,EAAEC,iBAAW;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,EAAEC,iBAAY;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,EAAEA,iBAAY;AACtB,IAAI,OAAO,EAAE,MAAMC,gBAAO;AAC1B,GAAG;AACH,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,SAAS,EAAE,OAAO;AACpB,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,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;;;"}
|
|
@@ -3,7 +3,7 @@ import type { ButtonEmits, ButtonProps } from './button';
|
|
|
3
3
|
export declare const useButton: (props: ButtonProps, emit: SetupContext<ButtonEmits>['emit']) => {
|
|
4
4
|
_disabled: import("vue").ComputedRef<boolean>;
|
|
5
5
|
_size: import("vue").ComputedRef<"" | "default" | "small" | "large" | "middle">;
|
|
6
|
-
_type: import("vue").ComputedRef<"" | "default" | "
|
|
6
|
+
_type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
7
7
|
_ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
8
8
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
9
9
|
handleClick: (evt: MouseEvent) => void;
|
|
@@ -65,7 +65,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
65
65
|
__epPropKey: true;
|
|
66
66
|
};
|
|
67
67
|
readonly disabled: BooleanConstructor;
|
|
68
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
68
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
69
69
|
readonly icon: {
|
|
70
70
|
readonly type: import("vue").PropType<import("element-plus-secondary/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>>;
|
|
71
71
|
readonly required: false;
|
|
@@ -95,7 +95,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
95
95
|
__epPropKey: true;
|
|
96
96
|
};
|
|
97
97
|
readonly disabled: BooleanConstructor;
|
|
98
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
98
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
99
99
|
readonly icon: {
|
|
100
100
|
readonly type: import("vue").PropType<import("element-plus-secondary/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>>;
|
|
101
101
|
readonly required: false;
|
|
@@ -141,7 +141,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
141
141
|
};
|
|
142
142
|
_ref: import("vue").Ref<HTMLButtonElement | undefined>;
|
|
143
143
|
_size: import("vue").ComputedRef<"" | "default" | "small" | "large" | "middle">;
|
|
144
|
-
_type: import("vue").ComputedRef<"" | "default" | "
|
|
144
|
+
_type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
|
|
145
145
|
_disabled: import("vue").ComputedRef<boolean>;
|
|
146
146
|
shouldAddSpace: import("vue").ComputedRef<boolean>;
|
|
147
147
|
handleClick: (evt: MouseEvent) => void;
|
|
@@ -218,7 +218,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
218
218
|
__epPropKey: true;
|
|
219
219
|
};
|
|
220
220
|
readonly disabled: BooleanConstructor;
|
|
221
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
221
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
222
222
|
readonly icon: {
|
|
223
223
|
readonly type: import("vue").PropType<import("element-plus-secondary/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>>;
|
|
224
224
|
readonly required: false;
|
|
@@ -242,8 +242,8 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
242
242
|
}>> & {
|
|
243
243
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
244
244
|
}, {
|
|
245
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
245
246
|
readonly text: boolean;
|
|
246
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
247
247
|
readonly nativeType: import("element-plus-secondary/es/utils").EpPropMergeType<StringConstructor, "button" | "submit" | "reset", unknown>;
|
|
248
248
|
readonly loadingIcon: import("element-plus-secondary/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>;
|
|
249
249
|
readonly autoInsertSpace: import("element-plus-secondary/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -265,7 +265,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
265
265
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
266
266
|
__epPropKey: true;
|
|
267
267
|
};
|
|
268
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
268
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
269
269
|
}, {
|
|
270
270
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
271
271
|
readonly size: {
|
|
@@ -274,7 +274,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
274
274
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
275
275
|
__epPropKey: true;
|
|
276
276
|
};
|
|
277
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
277
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
278
278
|
}>> & {
|
|
279
279
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
280
280
|
}>>;
|
|
@@ -303,9 +303,9 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
303
303
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
304
304
|
__epPropKey: true;
|
|
305
305
|
};
|
|
306
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
306
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
307
307
|
}>>, {
|
|
308
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
308
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
309
309
|
}>;
|
|
310
310
|
};
|
|
311
311
|
ElButtonGroup: import("element-plus-secondary/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
@@ -315,7 +315,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
315
315
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
316
316
|
__epPropKey: true;
|
|
317
317
|
};
|
|
318
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
318
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
319
319
|
}, {
|
|
320
320
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
321
321
|
readonly size: {
|
|
@@ -324,7 +324,7 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
324
324
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
325
325
|
__epPropKey: true;
|
|
326
326
|
};
|
|
327
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
327
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
328
328
|
}>> & {
|
|
329
329
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
330
330
|
}>>;
|
|
@@ -353,9 +353,9 @@ export declare const ElCalendar: import("element-plus-secondary/es/utils").SFCWi
|
|
|
353
353
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
354
354
|
__epPropKey: true;
|
|
355
355
|
};
|
|
356
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "
|
|
356
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown, "", boolean>;
|
|
357
357
|
}>>, {
|
|
358
|
-
readonly type: import("element-plus-secondary/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "
|
|
358
|
+
readonly type: import("element-plus-secondary/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
|
|
359
359
|
}>>;
|
|
360
360
|
DateTable: import("vue").DefineComponent<{
|
|
361
361
|
readonly selectedDay: {
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('../../utils/index.js');
|
|
6
|
-
var calendar$1 = require('./src/
|
|
7
|
-
var calendar = require('./src/
|
|
6
|
+
var calendar$1 = require('./src/calendar.js');
|
|
7
|
+
var calendar = require('./src/calendar2.js');
|
|
8
8
|
var install = require('../../utils/vue/install.js');
|
|
9
9
|
|
|
10
10
|
const ElCalendar = install.withInstall(calendar$1["default"]);
|