element-pe 2.2.58 → 2.2.59
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 +16 -12
- package/dist/index.full.min.js +7 -7
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +14 -14
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +16 -12
- package/es/components/affix/index.mjs +2 -2
- package/es/components/affix/src/affix.mjs +119 -26
- package/es/components/affix/src/affix.mjs.map +1 -1
- package/es/components/affix/src/affix2.mjs +26 -119
- package/es/components/affix/src/affix2.mjs.map +1 -1
- package/es/components/alert/index.d.ts +4 -4
- package/es/components/alert/src/alert.d.ts +1 -1
- package/es/components/alert/src/alert.vue.d.ts +4 -4
- package/es/components/autocomplete/index.d.ts +65 -65
- package/es/components/autocomplete/index.mjs +2 -2
- package/es/components/autocomplete/src/autocomplete.mjs +82 -362
- package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
- package/es/components/autocomplete/src/autocomplete2.mjs +362 -82
- package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
- package/es/components/badge/index.mjs +2 -2
- package/es/components/badge/src/badge.mjs +17 -59
- package/es/components/badge/src/badge.mjs.map +1 -1
- package/es/components/badge/src/badge2.mjs +59 -17
- package/es/components/badge/src/badge2.mjs.map +1 -1
- package/es/components/button/index.d.ts +5 -5
- package/es/components/button/src/button.d.ts +1 -1
- package/es/components/button/src/button.vue.d.ts +5 -5
- package/es/components/button/src/use-button.d.ts +1 -1
- package/es/components/calendar/index.d.ts +5 -5
- package/es/components/calendar/src/calendar.vue.d.ts +5 -5
- package/es/components/calendar/src/calendar2.mjs +1 -1
- package/es/components/calendar/src/date-table.mjs +33 -87
- package/es/components/calendar/src/date-table.mjs.map +1 -1
- package/es/components/calendar/src/date-table2.mjs +87 -33
- package/es/components/calendar/src/date-table2.mjs.map +1 -1
- package/es/components/calendar/src/use-date-table.mjs +1 -1
- package/es/components/card/index.mjs +2 -2
- package/es/components/card/src/card.mjs +35 -16
- package/es/components/card/src/card.mjs.map +1 -1
- package/es/components/card/src/card2.mjs +16 -35
- package/es/components/card/src/card2.mjs.map +1 -1
- package/es/components/carousel/index.d.ts +5 -5
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.mjs +169 -56
- package/es/components/carousel/src/carousel.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +5 -5
- package/es/components/carousel/src/carousel2.mjs +56 -169
- package/es/components/carousel/src/carousel2.mjs.map +1 -1
- package/es/components/cascader/index.d.ts +128 -128
- package/es/components/cascader/index.mjs +2 -2
- package/es/components/cascader/src/cascader.mjs +63 -622
- package/es/components/cascader/src/cascader.mjs.map +1 -1
- package/es/components/cascader/src/cascader.vue.d.ts +64 -64
- package/es/components/cascader/src/cascader2.mjs +622 -63
- package/es/components/cascader/src/cascader2.mjs.map +1 -1
- package/es/components/cascader-panel/src/index.mjs +1 -1
- package/es/components/cascader-panel/src/menu.mjs +1 -1
- package/es/components/cascader-panel/src/node.mjs +116 -209
- package/es/components/cascader-panel/src/node.mjs.map +1 -1
- package/es/components/cascader-panel/src/node2.mjs +209 -116
- package/es/components/cascader-panel/src/node2.mjs.map +1 -1
- package/es/components/cascader-panel/src/store.mjs +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/color-picker/index.d.ts +35 -35
- package/es/components/color-picker/index.mjs +2 -2
- package/es/components/color-picker/src/color-picker.mjs +333 -46
- package/es/components/color-picker/src/color-picker.mjs.map +1 -1
- package/es/components/color-picker/src/color-picker.vue.d.ts +35 -35
- package/es/components/color-picker/src/color-picker2.mjs +46 -333
- 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/index.d.ts +4 -0
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/es/components/date-picker/src/date-picker.d.ts +2 -0
- package/es/components/date-picker/src/panel-utils.d.ts +34 -34
- package/es/components/date-picker/src/props/date-picker.d.ts +1 -0
- package/es/components/descriptions/index.mjs +2 -2
- package/es/components/descriptions/src/description.mjs +27 -120
- package/es/components/descriptions/src/description.mjs.map +1 -1
- package/es/components/descriptions/src/description2.mjs +120 -27
- package/es/components/descriptions/src/description2.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row.mjs +7 -64
- package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
- package/es/components/descriptions/src/descriptions-row2.mjs +64 -7
- package/es/components/descriptions/src/descriptions-row2.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 +73 -174
- 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 +174 -73
- package/es/components/dialog/src/dialog2.mjs.map +1 -1
- package/es/components/drawer/src/drawer.mjs +1 -1
- package/es/components/dropdown/index.d.ts +14 -14
- 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.mjs +1 -1
- package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
- 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/src/form-item.d.ts +1 -1
- package/es/components/form/src/form-item.vue.d.ts +5 -5
- package/es/components/image/index.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/index.mjs +30 -30
- package/es/components/input/index.d.ts +12 -12
- package/es/components/input/index.mjs +2 -2
- package/es/components/input/src/input.mjs +108 -458
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +12 -12
- package/es/components/input/src/input2.mjs +458 -108
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +45 -45
- package/es/components/input-number/src/input-number.vue.d.ts +45 -45
- 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 +35 -4
- package/es/components/menu/src/menu-item-group.mjs.map +1 -1
- package/es/components/menu/src/menu-item-group2.mjs +4 -35
- 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 +4 -4
- package/es/components/notification/index.mjs +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.mjs +69 -149
- package/es/components/notification/src/notification.mjs.map +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/notification/src/notification2.mjs +149 -69
- package/es/components/notification/src/notification2.mjs.map +1 -1
- package/es/components/notification/src/notify.mjs +2 -2
- package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/es/components/pagination/src/components/pager.mjs +216 -17
- package/es/components/pagination/src/components/pager.mjs.map +1 -1
- package/es/components/pagination/src/components/pager2.mjs +17 -216
- package/es/components/pagination/src/components/pager2.mjs.map +1 -1
- package/es/components/pagination/src/components/sizes.vue.d.ts +14 -14
- package/es/components/pagination/src/pagination.mjs +1 -1
- package/es/components/popconfirm/index.d.ts +23 -23
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/es/components/popconfirm/src/popconfirm2.mjs +1 -1
- package/es/components/popover/index.d.ts +18 -18
- package/es/components/popover/index.mjs +2 -2
- package/es/components/popover/src/popover.mjs +111 -66
- package/es/components/popover/src/popover.mjs.map +1 -1
- package/es/components/popover/src/popover.vue.d.ts +18 -18
- package/es/components/popover/src/popover2.mjs +66 -111
- package/es/components/popover/src/popover2.mjs.map +1 -1
- package/es/components/popper/index.mjs +2 -2
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/popper/src/popper.mjs +25 -32
- package/es/components/popper/src/popper.mjs.map +1 -1
- package/es/components/popper/src/popper2.mjs +32 -25
- package/es/components/popper/src/popper2.mjs.map +1 -1
- package/es/components/progress/index.mjs +2 -2
- package/es/components/progress/src/progress.mjs +204 -59
- package/es/components/progress/src/progress.mjs.map +1 -1
- package/es/components/progress/src/progress2.mjs +59 -204
- package/es/components/progress/src/progress2.mjs.map +1 -1
- package/es/components/radio/index.mjs +2 -2
- package/es/components/radio/src/radio-group.mjs +70 -36
- package/es/components/radio/src/radio-group.mjs.map +1 -1
- package/es/components/radio/src/radio-group2.mjs +36 -70
- package/es/components/radio/src/radio-group2.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 +29 -63
- 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 +63 -29
- package/es/components/result/src/result2.mjs.map +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/index.mjs +2 -2
- package/es/components/scrollbar/src/scrollbar.mjs +176 -46
- package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +46 -176
- package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
- package/es/components/select/index.d.ts +14 -14
- package/es/components/select/src/select.mjs +2 -2
- package/es/components/select/src/select.vue.d.ts +14 -14
- package/es/components/select/src/useSelect.d.ts +12 -12
- package/es/components/select-v2/index.d.ts +30 -30
- package/es/components/select-v2/src/defaults.mjs +1 -1
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +15 -15
- package/es/components/select-v2/src/useSelect.d.ts +13 -13
- 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 +75 -75
- package/es/components/slider/index.mjs +2 -2
- package/es/components/slider/src/button.mjs +21 -93
- package/es/components/slider/src/button.mjs.map +1 -1
- package/es/components/slider/src/button.vue.d.ts +6 -6
- package/es/components/slider/src/button2.mjs +93 -21
- package/es/components/slider/src/button2.mjs.map +1 -1
- package/es/components/slider/src/composables/use-slide.d.ts +24 -24
- 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 +75 -75
- package/es/components/slider/src/slider2.mjs +91 -233
- package/es/components/slider/src/slider2.mjs.map +1 -1
- package/es/components/statistic/index.mjs +2 -2
- package/es/components/statistic/src/statistic.mjs +25 -70
- package/es/components/statistic/src/statistic.mjs.map +1 -1
- package/es/components/statistic/src/statistic2.mjs +70 -25
- package/es/components/statistic/src/statistic2.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 +34 -36
- 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 +36 -34
- package/es/components/steps/src/steps2.mjs.map +1 -1
- package/es/components/table/index.d.ts +1 -1
- package/es/components/table/src/filter-panel.vue.d.ts +12 -12
- package/es/components/table/src/table.vue.d.ts +1 -1
- package/es/components/tabs/index.mjs +1 -1
- package/es/components/tabs/src/tab-bar.mjs +75 -7
- package/es/components/tabs/src/tab-bar.mjs.map +1 -1
- package/es/components/tabs/src/tab-bar2.mjs +7 -75
- 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/index.mjs +2 -2
- package/es/components/tag/src/tag.mjs +98 -33
- package/es/components/tag/src/tag.mjs.map +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/tag/src/tag2.mjs +33 -98
- package/es/components/tag/src/tag2.mjs.map +1 -1
- package/es/components/text/index.mjs +2 -2
- package/es/components/text/src/text.mjs +22 -35
- package/es/components/text/src/text.mjs.map +1 -1
- package/es/components/text/src/text2.mjs +35 -22
- package/es/components/text/src/text2.mjs.map +1 -1
- package/es/components/time-picker/index.d.ts +4 -0
- package/es/components/time-picker/src/common/picker.mjs +10 -7
- package/es/components/time-picker/src/common/picker.mjs.map +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +37 -34
- package/es/components/time-picker/src/common/props.d.ts +1 -0
- package/es/components/time-picker/src/common/props.mjs +2 -1
- package/es/components/time-picker/src/common/props.mjs.map +1 -1
- package/es/components/time-picker/src/time-picker.d.ts +2 -0
- package/es/components/time-select/index.d.ts +62 -62
- package/es/components/time-select/src/time-select.vue.d.ts +31 -31
- package/es/components/tooltip/index.d.ts +6 -6
- package/es/components/tooltip/index.mjs +3 -3
- package/es/components/tooltip/src/content.mjs +179 -31
- package/es/components/tooltip/src/content.mjs.map +1 -1
- package/es/components/tooltip/src/content.vue.d.ts +6 -6
- package/es/components/tooltip/src/content2.mjs +31 -179
- package/es/components/tooltip/src/content2.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.mjs +174 -31
- package/es/components/tooltip/src/tooltip.mjs.map +1 -1
- package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/es/components/tooltip/src/tooltip2.mjs +31 -174
- package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
- package/es/components/tooltip-v2/index.d.ts +4 -4
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/es/components/transfer/index.d.ts +65 -65
- 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 +12 -12
- 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 +65 -65
- package/es/components/transfer/src/transfer2.mjs +1 -1
- package/es/components/tree-v2/index.d.ts +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 +5 -5
- package/es/components/upload/index.mjs +1 -1
- package/es/components/upload/src/upload-content.mjs +182 -33
- package/es/components/upload/src/upload-content.mjs.map +1 -1
- package/es/components/upload/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload-content2.mjs +33 -182
- package/es/components/upload/src/upload-content2.mjs.map +1 -1
- package/es/components/upload/src/upload.vue.d.ts +5 -5
- package/es/components/upload/src/upload2.mjs +1 -1
- package/es/index.mjs +30 -30
- package/lib/components/affix/index.js +2 -2
- package/lib/components/affix/src/affix.js +119 -27
- package/lib/components/affix/src/affix.js.map +1 -1
- package/lib/components/affix/src/affix2.js +27 -119
- package/lib/components/affix/src/affix2.js.map +1 -1
- package/lib/components/alert/index.d.ts +4 -4
- package/lib/components/alert/src/alert.d.ts +1 -1
- package/lib/components/alert/src/alert.vue.d.ts +4 -4
- package/lib/components/autocomplete/index.d.ts +65 -65
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/src/autocomplete.js +82 -361
- package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
- package/lib/components/autocomplete/src/autocomplete2.js +361 -82
- package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
- package/lib/components/badge/index.js +2 -2
- package/lib/components/badge/src/badge.js +17 -59
- package/lib/components/badge/src/badge.js.map +1 -1
- package/lib/components/badge/src/badge2.js +59 -17
- package/lib/components/badge/src/badge2.js.map +1 -1
- package/lib/components/button/index.d.ts +5 -5
- package/lib/components/button/src/button.d.ts +1 -1
- package/lib/components/button/src/button.vue.d.ts +5 -5
- package/lib/components/button/src/use-button.d.ts +1 -1
- package/lib/components/calendar/index.d.ts +5 -5
- package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
- package/lib/components/calendar/src/calendar2.js +1 -1
- package/lib/components/calendar/src/date-table.js +37 -87
- package/lib/components/calendar/src/date-table.js.map +1 -1
- package/lib/components/calendar/src/date-table2.js +87 -37
- package/lib/components/calendar/src/date-table2.js.map +1 -1
- package/lib/components/calendar/src/use-date-table.js +1 -1
- package/lib/components/card/index.js +2 -2
- package/lib/components/card/src/card.js +35 -16
- package/lib/components/card/src/card.js.map +1 -1
- package/lib/components/card/src/card2.js +16 -35
- package/lib/components/card/src/card2.js.map +1 -1
- package/lib/components/carousel/index.d.ts +5 -5
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.js +169 -57
- package/lib/components/carousel/src/carousel.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
- package/lib/components/carousel/src/carousel2.js +57 -169
- package/lib/components/carousel/src/carousel2.js.map +1 -1
- package/lib/components/cascader/index.d.ts +128 -128
- package/lib/components/cascader/index.js +2 -2
- package/lib/components/cascader/src/cascader.js +64 -622
- package/lib/components/cascader/src/cascader.js.map +1 -1
- package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
- package/lib/components/cascader/src/cascader2.js +622 -64
- package/lib/components/cascader/src/cascader2.js.map +1 -1
- package/lib/components/cascader-panel/src/index.js +1 -1
- package/lib/components/cascader-panel/src/menu.js +1 -1
- package/lib/components/cascader-panel/src/node.js +116 -209
- package/lib/components/cascader-panel/src/node.js.map +1 -1
- package/lib/components/cascader-panel/src/node2.js +209 -116
- package/lib/components/cascader-panel/src/node2.js.map +1 -1
- package/lib/components/cascader-panel/src/store.js +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/color-picker/index.d.ts +35 -35
- package/lib/components/color-picker/index.js +2 -2
- package/lib/components/color-picker/src/color-picker.js +331 -46
- package/lib/components/color-picker/src/color-picker.js.map +1 -1
- package/lib/components/color-picker/src/color-picker.vue.d.ts +35 -35
- package/lib/components/color-picker/src/color-picker2.js +46 -331
- 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/index.d.ts +4 -0
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
- package/lib/components/date-picker/src/date-picker.d.ts +2 -0
- package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
- package/lib/components/date-picker/src/props/date-picker.d.ts +1 -0
- package/lib/components/descriptions/index.js +2 -2
- package/lib/components/descriptions/src/description.js +27 -120
- package/lib/components/descriptions/src/description.js.map +1 -1
- package/lib/components/descriptions/src/description2.js +120 -27
- package/lib/components/descriptions/src/description2.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row.js +7 -64
- package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
- package/lib/components/descriptions/src/descriptions-row2.js +64 -7
- package/lib/components/descriptions/src/descriptions-row2.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 +74 -174
- 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 +174 -74
- package/lib/components/dialog/src/dialog2.js.map +1 -1
- package/lib/components/drawer/src/drawer.js +1 -1
- package/lib/components/dropdown/index.d.ts +14 -14
- 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.js +1 -1
- package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
- 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/src/form-item.d.ts +1 -1
- package/lib/components/form/src/form-item.vue.d.ts +5 -5
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/index.js +30 -30
- package/lib/components/input/index.d.ts +12 -12
- package/lib/components/input/index.js +2 -2
- package/lib/components/input/src/input.js +108 -457
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +12 -12
- package/lib/components/input/src/input2.js +457 -108
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +45 -45
- package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
- 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 +35 -4
- package/lib/components/menu/src/menu-item-group.js.map +1 -1
- package/lib/components/menu/src/menu-item-group2.js +4 -35
- 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 +4 -4
- package/lib/components/notification/index.js +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.js +70 -148
- package/lib/components/notification/src/notification.js.map +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/notification/src/notification2.js +148 -70
- package/lib/components/notification/src/notification2.js.map +1 -1
- package/lib/components/notification/src/notify.js +2 -2
- package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/lib/components/pagination/src/components/pager.js +216 -17
- package/lib/components/pagination/src/components/pager.js.map +1 -1
- package/lib/components/pagination/src/components/pager2.js +17 -216
- package/lib/components/pagination/src/components/pager2.js.map +1 -1
- package/lib/components/pagination/src/components/sizes.vue.d.ts +14 -14
- package/lib/components/pagination/src/pagination.js +1 -1
- package/lib/components/popconfirm/index.d.ts +23 -23
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/lib/components/popconfirm/src/popconfirm2.js +1 -1
- package/lib/components/popover/index.d.ts +18 -18
- package/lib/components/popover/index.js +2 -2
- package/lib/components/popover/src/popover.js +111 -67
- package/lib/components/popover/src/popover.js.map +1 -1
- package/lib/components/popover/src/popover.vue.d.ts +18 -18
- package/lib/components/popover/src/popover2.js +67 -111
- package/lib/components/popover/src/popover2.js.map +1 -1
- package/lib/components/popper/index.js +2 -2
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/popper/src/popper.js +28 -32
- package/lib/components/popper/src/popper.js.map +1 -1
- package/lib/components/popper/src/popper2.js +32 -28
- package/lib/components/popper/src/popper2.js.map +1 -1
- package/lib/components/progress/index.js +2 -2
- package/lib/components/progress/src/progress.js +204 -59
- package/lib/components/progress/src/progress.js.map +1 -1
- package/lib/components/progress/src/progress2.js +59 -204
- package/lib/components/progress/src/progress2.js.map +1 -1
- package/lib/components/radio/index.js +2 -2
- package/lib/components/radio/src/radio-group.js +70 -37
- package/lib/components/radio/src/radio-group.js.map +1 -1
- package/lib/components/radio/src/radio-group2.js +37 -70
- package/lib/components/radio/src/radio-group2.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 +31 -63
- 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 +63 -31
- package/lib/components/result/src/result2.js.map +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/index.js +2 -2
- package/lib/components/scrollbar/src/scrollbar.js +176 -47
- package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +47 -176
- package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
- package/lib/components/select/index.d.ts +14 -14
- package/lib/components/select/src/select.js +2 -2
- package/lib/components/select/src/select.vue.d.ts +14 -14
- package/lib/components/select/src/useSelect.d.ts +12 -12
- package/lib/components/select-v2/index.d.ts +30 -30
- package/lib/components/select-v2/src/defaults.js +1 -1
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +15 -15
- package/lib/components/select-v2/src/useSelect.d.ts +13 -13
- 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 +75 -75
- package/lib/components/slider/index.js +2 -2
- package/lib/components/slider/src/button.js +22 -93
- package/lib/components/slider/src/button.js.map +1 -1
- package/lib/components/slider/src/button.vue.d.ts +6 -6
- package/lib/components/slider/src/button2.js +93 -22
- package/lib/components/slider/src/button2.js.map +1 -1
- package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
- 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 +75 -75
- package/lib/components/slider/src/slider2.js +92 -233
- package/lib/components/slider/src/slider2.js.map +1 -1
- package/lib/components/statistic/index.js +2 -2
- package/lib/components/statistic/src/statistic.js +25 -70
- package/lib/components/statistic/src/statistic.js.map +1 -1
- package/lib/components/statistic/src/statistic2.js +70 -25
- package/lib/components/statistic/src/statistic2.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 +34 -37
- 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 +37 -34
- package/lib/components/steps/src/steps2.js.map +1 -1
- package/lib/components/table/index.d.ts +1 -1
- package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
- package/lib/components/table/src/table.vue.d.ts +1 -1
- package/lib/components/tabs/index.js +1 -1
- package/lib/components/tabs/src/tab-bar.js +75 -7
- package/lib/components/tabs/src/tab-bar.js.map +1 -1
- package/lib/components/tabs/src/tab-bar2.js +7 -75
- 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/index.js +2 -2
- package/lib/components/tag/src/tag.js +98 -34
- package/lib/components/tag/src/tag.js.map +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/tag/src/tag2.js +34 -98
- package/lib/components/tag/src/tag2.js.map +1 -1
- package/lib/components/text/index.js +2 -2
- package/lib/components/text/src/text.js +22 -35
- package/lib/components/text/src/text.js.map +1 -1
- package/lib/components/text/src/text2.js +35 -22
- package/lib/components/text/src/text2.js.map +1 -1
- package/lib/components/time-picker/index.d.ts +4 -0
- package/lib/components/time-picker/src/common/picker.js +10 -7
- package/lib/components/time-picker/src/common/picker.js.map +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +37 -34
- package/lib/components/time-picker/src/common/props.d.ts +1 -0
- package/lib/components/time-picker/src/common/props.js +2 -1
- package/lib/components/time-picker/src/common/props.js.map +1 -1
- package/lib/components/time-picker/src/time-picker.d.ts +2 -0
- package/lib/components/time-select/index.d.ts +62 -62
- package/lib/components/time-select/src/time-select.vue.d.ts +31 -31
- package/lib/components/tooltip/index.d.ts +6 -6
- package/lib/components/tooltip/index.js +3 -3
- package/lib/components/tooltip/src/content.js +179 -31
- package/lib/components/tooltip/src/content.js.map +1 -1
- package/lib/components/tooltip/src/content.vue.d.ts +6 -6
- package/lib/components/tooltip/src/content2.js +31 -179
- package/lib/components/tooltip/src/content2.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.js +173 -34
- package/lib/components/tooltip/src/tooltip.js.map +1 -1
- package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/lib/components/tooltip/src/tooltip2.js +34 -173
- package/lib/components/tooltip/src/tooltip2.js.map +1 -1
- package/lib/components/tooltip-v2/index.d.ts +4 -4
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/lib/components/transfer/index.d.ts +65 -65
- 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 +12 -12
- 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 +65 -65
- package/lib/components/transfer/src/transfer2.js +1 -1
- package/lib/components/tree-v2/index.d.ts +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 +5 -5
- package/lib/components/upload/index.js +1 -1
- package/lib/components/upload/src/upload-content.js +180 -31
- package/lib/components/upload/src/upload-content.js.map +1 -1
- package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload-content2.js +31 -180
- package/lib/components/upload/src/upload-content2.js.map +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +5 -5
- package/lib/components/upload/src/upload2.js +1 -1
- package/lib/index.js +30 -30
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistic2.js","sources":["../../../../../../packages/components/statistic/src/statistic.
|
|
1
|
+
{"version":3,"file":"statistic2.js","sources":["../../../../../../packages/components/statistic/src/statistic.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div v-if=\"$slots.title || title\" :class=\"ns.e('head')\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </div>\n <div :class=\"ns.e('content')\">\n <div v-if=\"$slots.prefix || prefix\" :class=\"ns.e('prefix')\">\n <slot name=\"prefix\">\n <span>{{ prefix }}</span>\n </slot>\n </div>\n <span :class=\"ns.e('number')\" :style=\"valueStyle\">\n {{ displayValue }}\n </span>\n <div v-if=\"$slots.suffix || suffix\" :class=\"ns.e('suffix')\">\n <slot name=\"suffix\">\n <span>{{ suffix }}</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { isFunction, isNumber } from '@element-plus/utils'\nimport { statisticProps } from './statistic'\n\ndefineOptions({\n name: 'ElStatistic',\n})\n\nconst props = defineProps(statisticProps)\nconst ns = useNamespace('statistic')\n\nconst displayValue = computed(() => {\n const { value, formatter, precision, decimalSeparator, groupSeparator } =\n props\n\n if (isFunction(formatter)) return formatter(value)\n\n if (!isNumber(value)) return value\n\n let [integer, decimal = ''] = String(value).split('.')\n decimal = decimal\n .padEnd(precision, '0')\n .slice(0, precision > 0 ? precision : 0)\n integer = integer.replace(/\\B(?=(\\d{3})+(?!\\d))/g, groupSeparator)\n return [integer, decimal].join(decimal ? decimalSeparator : '')\n})\n\ndefineExpose({\n /**\n * @description current display value\n */\n displayValue,\n})\n</script>\n"],"names":["useNamespace","computed","isFunction","isNumber"],"mappings":";;;;;;;;;;;;;uCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAKA,mBAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAeC,aAAS,MAAM;AAClC,MAAA,MAAM,EAAE,KAAA,EAAO,SAAW,EAAA,SAAA,EAAW,kBAAkB,cACrD,EAAA,GAAA,KAAA,CAAA;AAEF,MAAA,IAAIC,kBAAW,SAAS,CAAA;AAAG,QAAA,OAAO,UAAU,KAAK,CAAA,CAAA;AAEjD,MAAI,IAAA,CAACC,eAAS,KAAK,CAAA;AAAG,QAAO,OAAA,KAAA,CAAA;AAE7B,MAAI,IAAA,CAAC,SAAS,OAAU,GAAA,EAAA,CAAA,GAAM,OAAO,KAAK,CAAA,CAAE,MAAM,GAAG,CAAA,CAAA;AACrD,MAAU,OAAA,GAAA,OAAA,CACP,MAAO,CAAA,SAAA,EAAW,GAAG,CAAA,CACrB,MAAM,CAAG,EAAA,SAAA,GAAY,CAAI,GAAA,SAAA,GAAY,CAAC,CAAA,CAAA;AACzC,MAAU,OAAA,GAAA,OAAA,CAAQ,OAAQ,CAAA,uBAAA,EAAyB,cAAc,CAAA,CAAA;AACjE,MAAA,OAAO,CAAC,OAAS,EAAA,OAAO,EAAE,IAAK,CAAA,OAAA,GAAU,mBAAmB,EAAE,CAAA,CAAA;AAAA,KAC/D,CAAA,CAAA;AAED,IAAa,MAAA,CAAA;AAAA,MAIX,YAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -14,8 +14,8 @@ export declare const ElSteps: import("element-pe/es/utils").SFCWithInstall<impor
|
|
|
14
14
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
15
|
__epPropKey: true;
|
|
16
16
|
};
|
|
17
|
-
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
18
|
-
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
17
|
+
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
18
|
+
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
19
19
|
}, {
|
|
20
20
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
readonly space: import("element-pe/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
@@ -33,8 +33,8 @@ export declare const ElSteps: import("element-pe/es/utils").SFCWithInstall<impor
|
|
|
33
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
34
34
|
__epPropKey: true;
|
|
35
35
|
};
|
|
36
|
-
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
37
|
-
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
36
|
+
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
37
|
+
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
38
38
|
}>> & {
|
|
39
39
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
40
40
|
}>>;
|
|
@@ -76,16 +76,16 @@ export declare const ElSteps: import("element-pe/es/utils").SFCWithInstall<impor
|
|
|
76
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
77
|
__epPropKey: true;
|
|
78
78
|
};
|
|
79
|
-
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
80
|
-
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
79
|
+
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
80
|
+
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
81
81
|
}>> & {
|
|
82
82
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
83
83
|
}, {
|
|
84
84
|
readonly space: import("element-pe/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
85
85
|
readonly active: number;
|
|
86
86
|
readonly direction: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
87
|
-
readonly finishStatus: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "
|
|
88
|
-
readonly processStatus: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "
|
|
87
|
+
readonly finishStatus: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
|
|
88
|
+
readonly processStatus: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
|
|
89
89
|
}>> & {
|
|
90
90
|
Step: import("vue").DefineComponent<{
|
|
91
91
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -96,7 +96,7 @@ export declare const ElSteps: import("element-pe/es/utils").SFCWithInstall<impor
|
|
|
96
96
|
__epPropKey: true;
|
|
97
97
|
};
|
|
98
98
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
99
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
99
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
100
100
|
}, {
|
|
101
101
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
102
102
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -107,7 +107,7 @@ export declare const ElSteps: import("element-pe/es/utils").SFCWithInstall<impor
|
|
|
107
107
|
__epPropKey: true;
|
|
108
108
|
};
|
|
109
109
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
110
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
110
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
111
111
|
}>> & {
|
|
112
112
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
113
113
|
}>>;
|
|
@@ -227,11 +227,11 @@ export declare const ElSteps: import("element-pe/es/utils").SFCWithInstall<impor
|
|
|
227
227
|
__epPropKey: true;
|
|
228
228
|
};
|
|
229
229
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
230
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
230
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
231
231
|
}>>, {
|
|
232
232
|
readonly title: string;
|
|
233
233
|
readonly description: string;
|
|
234
|
-
readonly status: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
234
|
+
readonly status: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown>;
|
|
235
235
|
}>;
|
|
236
236
|
};
|
|
237
237
|
export default ElSteps;
|
|
@@ -244,7 +244,7 @@ export declare const ElStep: import("element-pe/es/utils").SFCWithInstall<import
|
|
|
244
244
|
__epPropKey: true;
|
|
245
245
|
};
|
|
246
246
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
247
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
247
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
248
248
|
}, {
|
|
249
249
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
250
250
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -255,7 +255,7 @@ export declare const ElStep: import("element-pe/es/utils").SFCWithInstall<import
|
|
|
255
255
|
__epPropKey: true;
|
|
256
256
|
};
|
|
257
257
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
258
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
258
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
259
259
|
}>> & {
|
|
260
260
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
261
261
|
}>>;
|
|
@@ -375,11 +375,11 @@ export declare const ElStep: import("element-pe/es/utils").SFCWithInstall<import
|
|
|
375
375
|
__epPropKey: true;
|
|
376
376
|
};
|
|
377
377
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
378
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
378
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
379
379
|
}>>, {
|
|
380
380
|
readonly title: string;
|
|
381
381
|
readonly description: string;
|
|
382
|
-
readonly status: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
382
|
+
readonly status: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown>;
|
|
383
383
|
}>>;
|
|
384
384
|
export * from './src/item';
|
|
385
385
|
export * from './src/steps';
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
require('../../utils/index.js');
|
|
6
|
-
var steps$1 = require('./src/
|
|
6
|
+
var steps$1 = require('./src/steps.js');
|
|
7
7
|
var item$1 = require('./src/item2.js');
|
|
8
8
|
var item = require('./src/item.js');
|
|
9
|
-
var steps = require('./src/
|
|
9
|
+
var steps = require('./src/steps2.js');
|
|
10
10
|
var install = require('../../utils/vue/install.js');
|
|
11
11
|
|
|
12
12
|
const ElSteps = install.withInstall(steps$1["default"], {
|
|
@@ -9,7 +9,7 @@ export declare const stepProps: {
|
|
|
9
9
|
__epPropKey: true;
|
|
10
10
|
};
|
|
11
11
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
12
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
12
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
13
13
|
};
|
|
14
14
|
export declare type StepProps = ExtractPropTypes<typeof stepProps>;
|
|
15
15
|
export declare type StepInstance = InstanceType<typeof Step>;
|
|
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
27
|
__epPropKey: true;
|
|
28
28
|
};
|
|
29
29
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
30
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
30
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
31
31
|
}, {
|
|
32
32
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
33
33
|
readonly title: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
@@ -38,7 +38,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
38
38
|
__epPropKey: true;
|
|
39
39
|
};
|
|
40
40
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
41
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
41
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
42
42
|
}>> & {
|
|
43
43
|
[x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
|
|
44
44
|
}>>;
|
|
@@ -158,10 +158,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
158
158
|
__epPropKey: true;
|
|
159
159
|
};
|
|
160
160
|
readonly description: import("element-pe/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
161
|
-
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "
|
|
161
|
+
readonly status: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
|
|
162
162
|
}>>, {
|
|
163
163
|
readonly title: string;
|
|
164
164
|
readonly description: string;
|
|
165
|
-
readonly status: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
165
|
+
readonly status: import("element-pe/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown>;
|
|
166
166
|
}>;
|
|
167
167
|
export default _default;
|
|
@@ -16,8 +16,8 @@ export declare const stepsProps: {
|
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
|
-
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
20
|
-
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "
|
|
19
|
+
readonly finishStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
20
|
+
readonly processStatus: import("element-pe/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
21
21
|
};
|
|
22
22
|
export declare type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
|
23
23
|
export declare const stepsEmits: {
|
|
@@ -2,47 +2,44 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var vue = require('vue');
|
|
5
6
|
require('../../../constants/index.js');
|
|
6
|
-
require('../../../
|
|
7
|
-
var
|
|
7
|
+
require('../../../hooks/index.js');
|
|
8
|
+
var steps = require('./steps2.js');
|
|
9
|
+
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
10
|
+
var index = require('../../../hooks/use-namespace/index.js');
|
|
8
11
|
var event = require('../../../constants/event.js');
|
|
9
|
-
var types = require('../../../utils/types.js');
|
|
10
12
|
|
|
11
|
-
const
|
|
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
|
-
values: ["wait", "process", "finish", "error", "success"],
|
|
39
|
-
default: "process"
|
|
13
|
+
const __default__ = vue.defineComponent({
|
|
14
|
+
name: "ElSteps"
|
|
15
|
+
});
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
|
+
...__default__,
|
|
18
|
+
props: steps.stepsProps,
|
|
19
|
+
emits: steps.stepsEmits,
|
|
20
|
+
setup(__props, { emit }) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
const ns = index.useNamespace("steps");
|
|
23
|
+
const steps = vue.ref([]);
|
|
24
|
+
vue.watch(steps, () => {
|
|
25
|
+
steps.value.forEach((instance, index) => {
|
|
26
|
+
instance.setIndex(index);
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
vue.provide("ElSteps", { props, steps });
|
|
30
|
+
vue.watch(() => props.active, (newVal, oldVal) => {
|
|
31
|
+
emit(event.CHANGE_EVENT, newVal, oldVal);
|
|
32
|
+
});
|
|
33
|
+
return (_ctx, _cache) => {
|
|
34
|
+
return vue.openBlock(), vue.createElementBlock("div", {
|
|
35
|
+
class: vue.normalizeClass([vue.unref(ns).b(), vue.unref(ns).m(_ctx.simple ? "simple" : _ctx.direction)])
|
|
36
|
+
}, [
|
|
37
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
38
|
+
], 2);
|
|
39
|
+
};
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
|
|
43
|
-
[event.CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(types.isNumber)
|
|
44
|
-
};
|
|
42
|
+
var Steps = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "D:\\workspace\\element-pe\\packages\\components\\steps\\src\\steps.vue"]]);
|
|
45
43
|
|
|
46
|
-
exports
|
|
47
|
-
exports.stepsProps = stepsProps;
|
|
44
|
+
exports["default"] = Steps;
|
|
48
45
|
//# sourceMappingURL=steps.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps.js","sources":["../../../../../../packages/components/steps/src/steps.
|
|
1
|
+
{"version":3,"file":"steps.js","sources":["../../../../../../packages/components/steps/src/steps.vue"],"sourcesContent":["<template>\n <div :class=\"[ns.b(), ns.m(simple ? 'simple' : direction)]\">\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { provide, ref, watch } from 'vue'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { useNamespace } from '@element-plus/hooks'\nimport { stepsEmits, stepsProps } from './steps'\n\nimport type { Ref } from 'vue'\nimport type { StepItemState } from './item.vue'\n\ndefineOptions({\n name: 'ElSteps',\n})\n\nconst props = defineProps(stepsProps)\nconst emit = defineEmits(stepsEmits)\n\nconst ns = useNamespace('steps')\n\nconst steps: Ref<StepItemState[]> = ref([])\n\nwatch(steps, () => {\n steps.value.forEach((instance: StepItemState, index: number) => {\n instance.setIndex(index)\n })\n})\n\nprovide('ElSteps', { props, steps })\n\nwatch(\n () => props.active,\n (newVal: number, oldVal: number) => {\n emit(CHANGE_EVENT, newVal, oldVal)\n }\n)\n</script>\n"],"names":["useNamespace","ref","watch","provide","CHANGE_EVENT"],"mappings":";;;;;;;;;;;;uCAec,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAKA,mBAAa,OAAO,CAAA,CAAA;AAE/B,IAAM,MAAA,KAAA,GAA8BC,OAAI,CAAA,EAAE,CAAA,CAAA;AAE1C,IAAAC,SAAA,CAAM,OAAO,MAAM;AACjB,MAAA,KAAA,CAAM,KAAM,CAAA,OAAA,CAAQ,CAAC,QAAA,EAAyB,KAAkB,KAAA;AAC9D,QAAA,QAAA,CAAS,SAAS,KAAK,CAAA,CAAA;AAAA,OACxB,CAAA,CAAA;AAAA,KACF,CAAA,CAAA;AAED,IAAAC,WAAA,CAAQ,SAAW,EAAA,EAAE,KAAO,EAAA,KAAA,EAAO,CAAA,CAAA;AAEnC,IAAAD,SAAA,CACE,MAAM,KAAA,CAAM,MACZ,EAAA,CAAC,QAAgB,MAAmB,KAAA;AAClC,MAAK,IAAA,CAAAE,kBAAA,EAAc,QAAQ,MAAM,CAAA,CAAA;AAAA,KAErC,CAAA,CAAA;;;;;;;;;;;;;;"}
|
|
@@ -16,8 +16,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
18
18
|
};
|
|
19
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
20
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
19
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
20
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
21
21
|
}, {
|
|
22
22
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
@@ -35,8 +35,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
35
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
36
36
|
__epPropKey: true;
|
|
37
37
|
};
|
|
38
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
39
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
38
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
39
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
40
40
|
}>> & {
|
|
41
41
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
42
42
|
}>>;
|
|
@@ -78,15 +78,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
78
78
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
79
|
__epPropKey: true;
|
|
80
80
|
};
|
|
81
|
-
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
82
|
-
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "
|
|
81
|
+
readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
|
|
82
|
+
readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
|
|
83
83
|
}>> & {
|
|
84
84
|
onChange?: ((newVal: number, oldVal: number) => any) | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
readonly space: import("../../../utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
87
87
|
readonly active: number;
|
|
88
88
|
readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
89
|
-
readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
90
|
-
readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "
|
|
89
|
+
readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
|
|
90
|
+
readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
|
|
91
91
|
}>;
|
|
92
92
|
export default _default;
|
|
@@ -2,44 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vue = require('vue');
|
|
6
5
|
require('../../../constants/index.js');
|
|
7
|
-
require('../../../
|
|
8
|
-
var
|
|
9
|
-
var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
|
|
10
|
-
var index = require('../../../hooks/use-namespace/index.js');
|
|
6
|
+
require('../../../utils/index.js');
|
|
7
|
+
var runtime = require('../../../utils/vue/props/runtime.js');
|
|
11
8
|
var event = require('../../../constants/event.js');
|
|
9
|
+
var types = require('../../../utils/types.js');
|
|
12
10
|
|
|
13
|
-
const
|
|
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
|
-
|
|
11
|
+
const stepsProps = runtime.buildProps({
|
|
12
|
+
space: {
|
|
13
|
+
type: [Number, String],
|
|
14
|
+
default: ""
|
|
15
|
+
},
|
|
16
|
+
active: {
|
|
17
|
+
type: Number,
|
|
18
|
+
default: 0
|
|
19
|
+
},
|
|
20
|
+
direction: {
|
|
21
|
+
type: String,
|
|
22
|
+
default: "horizontal",
|
|
23
|
+
values: ["horizontal", "vertical"]
|
|
24
|
+
},
|
|
25
|
+
alignCenter: {
|
|
26
|
+
type: Boolean
|
|
27
|
+
},
|
|
28
|
+
simple: {
|
|
29
|
+
type: Boolean
|
|
30
|
+
},
|
|
31
|
+
finishStatus: {
|
|
32
|
+
type: String,
|
|
33
|
+
values: ["wait", "process", "finish", "error", "success"],
|
|
34
|
+
default: "finish"
|
|
35
|
+
},
|
|
36
|
+
processStatus: {
|
|
37
|
+
type: String,
|
|
38
|
+
values: ["wait", "process", "finish", "error", "success"],
|
|
39
|
+
default: "process"
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
|
|
42
|
+
const stepsEmits = {
|
|
43
|
+
[event.CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(types.isNumber)
|
|
44
|
+
};
|
|
43
45
|
|
|
44
|
-
exports
|
|
46
|
+
exports.stepsEmits = stepsEmits;
|
|
47
|
+
exports.stepsProps = stepsProps;
|
|
45
48
|
//# sourceMappingURL=steps2.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"steps2.js","sources":["../../../../../../packages/components/steps/src/steps.
|
|
1
|
+
{"version":3,"file":"steps2.js","sources":["../../../../../../packages/components/steps/src/steps.ts"],"sourcesContent":["import { CHANGE_EVENT } from '@element-plus/constants'\nimport { buildProps, isNumber } from '@element-plus/utils'\nimport type Steps from './steps.vue'\nimport type { ExtractPropTypes } from 'vue'\n\nexport const stepsProps = buildProps({\n /**\n * @description the spacing of each step, will be responsive if omitted. Supports percentage.\n */\n space: {\n type: [Number, String],\n default: '',\n },\n /**\n * @description current activation step\n */\n active: {\n type: Number,\n default: 0,\n },\n /**\n * @description display direction\n */\n direction: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'],\n },\n /**\n * @description center title and description\n */\n alignCenter: {\n type: Boolean,\n },\n /**\n * @description whether to apply simple theme\n */\n simple: {\n type: Boolean,\n },\n /**\n * @description status of end step\n */\n finishStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'finish',\n },\n /**\n * @description status of current step\n */\n processStatus: {\n type: String,\n values: ['wait', 'process', 'finish', 'error', 'success'],\n default: 'process',\n },\n} as const)\nexport type StepsProps = ExtractPropTypes<typeof stepsProps>\n\nexport const stepsEmits = {\n [CHANGE_EVENT]: (newVal: number, oldVal: number) =>\n [newVal, oldVal].every(isNumber),\n}\nexport type StepsEmits = typeof stepsEmits\n\nexport type StepsInstance = InstanceType<typeof Steps>\n"],"names":["buildProps","CHANGE_EVENT","isNumber"],"mappings":";;;;;;;;;;AAEY,MAAC,UAAU,GAAGA,kBAAU,CAAC;AACrC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,OAAO;AACjB,GAAG;AACH,EAAE,YAAY,EAAE;AAChB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,CAAC;AAC7D,IAAI,OAAO,EAAE,SAAS;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,CAACC,kBAAY,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KAAK,CAACC,cAAQ,CAAC;AACtE;;;;;"}
|
|
@@ -179,7 +179,7 @@ export declare const ElTable: import("element-pe/es/utils").SFCWithInstall<impor
|
|
|
179
179
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
180
180
|
setScrollLeft: (left?: number | undefined) => void;
|
|
181
181
|
setScrollTop: (top?: number | undefined) => void;
|
|
182
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select-all" | "expand-change" | "current-change" | "
|
|
182
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
183
183
|
data: {
|
|
184
184
|
type: import("vue").PropType<any[]>;
|
|
185
185
|
default: () => never[];
|
|
@@ -2416,7 +2416,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2416
2416
|
readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-pe/es/components/popper").Options>) | (() => Partial<import("element-pe/es/components/popper").Options>) | ((new (...args: any[]) => Partial<import("element-pe/es/components/popper").Options>) | (() => Partial<import("element-pe/es/components/popper").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
2417
2417
|
readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2418
2418
|
}, {
|
|
2419
|
-
emit: ((event: "
|
|
2419
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
2420
2420
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2421
2421
|
readonly id: StringConstructor;
|
|
2422
2422
|
readonly style: {
|
|
@@ -2666,10 +2666,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2666
2666
|
readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2667
2667
|
}>> & {
|
|
2668
2668
|
onClose?: (() => any) | undefined;
|
|
2669
|
-
onFocus?: (() => any) | undefined;
|
|
2670
2669
|
onBlur?: (() => any) | undefined;
|
|
2671
|
-
|
|
2670
|
+
onFocus?: (() => any) | undefined;
|
|
2672
2671
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2672
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2673
2673
|
}>>;
|
|
2674
2674
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
2675
2675
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -2738,7 +2738,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2738
2738
|
};
|
|
2739
2739
|
}, {
|
|
2740
2740
|
onKeydown: (e: KeyboardEvent) => void;
|
|
2741
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2741
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2742
2742
|
loop: BooleanConstructor;
|
|
2743
2743
|
trapped: BooleanConstructor;
|
|
2744
2744
|
focusTrapEl: PropType<HTMLElement>;
|
|
@@ -3013,10 +3013,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3013
3013
|
readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
3014
3014
|
}>> & {
|
|
3015
3015
|
onClose?: (() => any) | undefined;
|
|
3016
|
-
onFocus?: (() => any) | undefined;
|
|
3017
3016
|
onBlur?: (() => any) | undefined;
|
|
3018
|
-
|
|
3017
|
+
onFocus?: (() => any) | undefined;
|
|
3019
3018
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
3019
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
3020
3020
|
}, {
|
|
3021
3021
|
readonly offset: number;
|
|
3022
3022
|
readonly effect: string;
|
|
@@ -5370,7 +5370,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5370
5370
|
readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("element-pe/es/components/popper").Options>) | (() => Partial<import("element-pe/es/components/popper").Options>) | ((new (...args: any[]) => Partial<import("element-pe/es/components/popper").Options>) | (() => Partial<import("element-pe/es/components/popper").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
5371
5371
|
readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5372
5372
|
}, {
|
|
5373
|
-
emit: ((event: "
|
|
5373
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
5374
5374
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5375
5375
|
readonly id: StringConstructor;
|
|
5376
5376
|
readonly style: {
|
|
@@ -5620,10 +5620,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5620
5620
|
readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5621
5621
|
}>> & {
|
|
5622
5622
|
onClose?: (() => any) | undefined;
|
|
5623
|
-
onFocus?: (() => any) | undefined;
|
|
5624
5623
|
onBlur?: (() => any) | undefined;
|
|
5625
|
-
|
|
5624
|
+
onFocus?: (() => any) | undefined;
|
|
5626
5625
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5626
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5627
5627
|
}>>;
|
|
5628
5628
|
focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
|
|
5629
5629
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -5692,7 +5692,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5692
5692
|
};
|
|
5693
5693
|
}, {
|
|
5694
5694
|
onKeydown: (e: KeyboardEvent) => void;
|
|
5695
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
5695
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
5696
5696
|
loop: BooleanConstructor;
|
|
5697
5697
|
trapped: BooleanConstructor;
|
|
5698
5698
|
focusTrapEl: PropType<HTMLElement>;
|
|
@@ -5967,10 +5967,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5967
5967
|
readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5968
5968
|
}>> & {
|
|
5969
5969
|
onClose?: (() => any) | undefined;
|
|
5970
|
-
onFocus?: (() => any) | undefined;
|
|
5971
5970
|
onBlur?: (() => any) | undefined;
|
|
5972
|
-
|
|
5971
|
+
onFocus?: (() => any) | undefined;
|
|
5973
5972
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5973
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5974
5974
|
}, {
|
|
5975
5975
|
readonly offset: number;
|
|
5976
5976
|
readonly effect: string;
|
|
@@ -179,7 +179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
179
179
|
scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
|
|
180
180
|
setScrollLeft: (left?: number | undefined) => void;
|
|
181
181
|
setScrollTop: (top?: number | undefined) => void;
|
|
182
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select-all" | "expand-change" | "current-change" | "
|
|
182
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
183
183
|
data: {
|
|
184
184
|
type: import("vue").PropType<any[]>;
|
|
185
185
|
default: () => never[];
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
require('../../utils/index.js');
|
|
6
6
|
var tabs = require('./src/tabs.js');
|
|
7
7
|
var tabPane$1 = require('./src/tab-pane.js');
|
|
8
|
-
var tabBar = require('./src/tab-
|
|
8
|
+
var tabBar = require('./src/tab-bar2.js');
|
|
9
9
|
var tabNav = require('./src/tab-nav.js');
|
|
10
10
|
var tabPane = require('./src/tab-pane2.js');
|
|
11
11
|
var constants = require('./src/constants.js');
|