@element-plus/nightly 0.0.20240425 → 0.0.20240426
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 +15 -15
- package/dist/index.full.min.js +16 -16
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +16 -16
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +15 -15
- package/dist/locale/af.js +1 -1
- package/dist/locale/af.min.js +1 -1
- package/dist/locale/af.min.mjs +1 -1
- package/dist/locale/af.mjs +1 -1
- package/dist/locale/ar-eg.js +1 -1
- package/dist/locale/ar-eg.min.js +1 -1
- package/dist/locale/ar-eg.min.mjs +1 -1
- package/dist/locale/ar-eg.mjs +1 -1
- package/dist/locale/ar.js +1 -1
- package/dist/locale/ar.min.js +1 -1
- package/dist/locale/ar.min.mjs +1 -1
- package/dist/locale/ar.mjs +1 -1
- package/dist/locale/az.js +1 -1
- package/dist/locale/az.min.js +1 -1
- package/dist/locale/az.min.mjs +1 -1
- package/dist/locale/az.mjs +1 -1
- package/dist/locale/bg.js +1 -1
- package/dist/locale/bg.min.js +1 -1
- package/dist/locale/bg.min.mjs +1 -1
- package/dist/locale/bg.mjs +1 -1
- package/dist/locale/bn.js +1 -1
- package/dist/locale/bn.min.js +1 -1
- package/dist/locale/bn.min.mjs +1 -1
- package/dist/locale/bn.mjs +1 -1
- package/dist/locale/ca.js +1 -1
- package/dist/locale/ca.min.js +1 -1
- package/dist/locale/ca.min.mjs +1 -1
- package/dist/locale/ca.mjs +1 -1
- package/dist/locale/ckb.js +1 -1
- package/dist/locale/ckb.min.js +1 -1
- package/dist/locale/ckb.min.mjs +1 -1
- package/dist/locale/ckb.mjs +1 -1
- package/dist/locale/cs.js +1 -1
- package/dist/locale/cs.min.js +1 -1
- package/dist/locale/cs.min.mjs +1 -1
- package/dist/locale/cs.mjs +1 -1
- package/dist/locale/da.js +1 -1
- package/dist/locale/da.min.js +1 -1
- package/dist/locale/da.min.mjs +1 -1
- package/dist/locale/da.mjs +1 -1
- package/dist/locale/de.js +1 -1
- package/dist/locale/de.min.js +1 -1
- package/dist/locale/de.min.mjs +1 -1
- package/dist/locale/de.mjs +1 -1
- package/dist/locale/el.js +1 -1
- package/dist/locale/el.min.js +1 -1
- package/dist/locale/el.min.mjs +1 -1
- package/dist/locale/el.mjs +1 -1
- package/dist/locale/en.js +1 -1
- package/dist/locale/en.min.js +1 -1
- package/dist/locale/en.min.mjs +1 -1
- package/dist/locale/en.mjs +1 -1
- package/dist/locale/eo.js +1 -1
- package/dist/locale/eo.min.js +1 -1
- package/dist/locale/eo.min.mjs +1 -1
- package/dist/locale/eo.mjs +1 -1
- package/dist/locale/es.js +1 -1
- package/dist/locale/es.min.js +1 -1
- package/dist/locale/es.min.mjs +1 -1
- package/dist/locale/es.mjs +1 -1
- package/dist/locale/et.js +1 -1
- package/dist/locale/et.min.js +1 -1
- package/dist/locale/et.min.mjs +1 -1
- package/dist/locale/et.mjs +1 -1
- package/dist/locale/eu.js +1 -1
- package/dist/locale/eu.min.js +1 -1
- package/dist/locale/eu.min.mjs +1 -1
- package/dist/locale/eu.mjs +1 -1
- package/dist/locale/fa.js +1 -1
- package/dist/locale/fa.min.js +1 -1
- package/dist/locale/fa.min.mjs +1 -1
- package/dist/locale/fa.mjs +1 -1
- package/dist/locale/fi.js +1 -1
- package/dist/locale/fi.min.js +1 -1
- package/dist/locale/fi.min.mjs +1 -1
- package/dist/locale/fi.mjs +1 -1
- package/dist/locale/fr.js +1 -1
- package/dist/locale/fr.min.js +1 -1
- package/dist/locale/fr.min.mjs +1 -1
- package/dist/locale/fr.mjs +1 -1
- package/dist/locale/he.js +1 -1
- package/dist/locale/he.min.js +1 -1
- package/dist/locale/he.min.mjs +1 -1
- package/dist/locale/he.mjs +1 -1
- package/dist/locale/hr.js +1 -1
- package/dist/locale/hr.min.js +1 -1
- package/dist/locale/hr.min.mjs +1 -1
- package/dist/locale/hr.mjs +1 -1
- package/dist/locale/hu.js +1 -1
- package/dist/locale/hu.min.js +1 -1
- package/dist/locale/hu.min.mjs +1 -1
- package/dist/locale/hu.mjs +1 -1
- package/dist/locale/hy-am.js +1 -1
- package/dist/locale/hy-am.min.js +1 -1
- package/dist/locale/hy-am.min.mjs +1 -1
- package/dist/locale/hy-am.mjs +1 -1
- package/dist/locale/id.js +1 -1
- package/dist/locale/id.min.js +1 -1
- package/dist/locale/id.min.mjs +1 -1
- package/dist/locale/id.mjs +1 -1
- package/dist/locale/it.js +1 -1
- package/dist/locale/it.min.js +1 -1
- package/dist/locale/it.min.mjs +1 -1
- package/dist/locale/it.mjs +1 -1
- package/dist/locale/ja.js +1 -1
- package/dist/locale/ja.min.js +1 -1
- package/dist/locale/ja.min.mjs +1 -1
- package/dist/locale/ja.mjs +1 -1
- package/dist/locale/kk.js +1 -1
- package/dist/locale/kk.min.js +1 -1
- package/dist/locale/kk.min.mjs +1 -1
- package/dist/locale/kk.mjs +1 -1
- package/dist/locale/km.js +1 -1
- package/dist/locale/km.min.js +1 -1
- package/dist/locale/km.min.mjs +1 -1
- package/dist/locale/km.mjs +1 -1
- package/dist/locale/ko.js +1 -1
- package/dist/locale/ko.min.js +1 -1
- package/dist/locale/ko.min.mjs +1 -1
- package/dist/locale/ko.mjs +1 -1
- package/dist/locale/ku.js +1 -1
- package/dist/locale/ku.min.js +1 -1
- package/dist/locale/ku.min.mjs +1 -1
- package/dist/locale/ku.mjs +1 -1
- package/dist/locale/ky.js +1 -1
- package/dist/locale/ky.min.js +1 -1
- package/dist/locale/ky.min.mjs +1 -1
- package/dist/locale/ky.mjs +1 -1
- package/dist/locale/lt.js +1 -1
- package/dist/locale/lt.min.js +1 -1
- package/dist/locale/lt.min.mjs +1 -1
- package/dist/locale/lt.mjs +1 -1
- package/dist/locale/lv.js +1 -1
- package/dist/locale/lv.min.js +1 -1
- package/dist/locale/lv.min.mjs +1 -1
- package/dist/locale/lv.mjs +1 -1
- package/dist/locale/mg.js +1 -1
- package/dist/locale/mg.min.js +1 -1
- package/dist/locale/mg.min.mjs +1 -1
- package/dist/locale/mg.mjs +1 -1
- package/dist/locale/mn.js +1 -1
- package/dist/locale/mn.min.js +1 -1
- package/dist/locale/mn.min.mjs +1 -1
- package/dist/locale/mn.mjs +1 -1
- package/dist/locale/nb-no.js +1 -1
- package/dist/locale/nb-no.min.js +1 -1
- package/dist/locale/nb-no.min.mjs +1 -1
- package/dist/locale/nb-no.mjs +1 -1
- package/dist/locale/nl.js +1 -1
- package/dist/locale/nl.min.js +1 -1
- package/dist/locale/nl.min.mjs +1 -1
- package/dist/locale/nl.mjs +1 -1
- package/dist/locale/pa.js +1 -1
- package/dist/locale/pa.min.js +1 -1
- package/dist/locale/pa.min.mjs +1 -1
- package/dist/locale/pa.mjs +1 -1
- package/dist/locale/pl.js +1 -1
- package/dist/locale/pl.min.js +1 -1
- package/dist/locale/pl.min.mjs +1 -1
- package/dist/locale/pl.mjs +1 -1
- package/dist/locale/pt-br.js +1 -1
- package/dist/locale/pt-br.min.js +1 -1
- package/dist/locale/pt-br.min.mjs +1 -1
- package/dist/locale/pt-br.mjs +1 -1
- package/dist/locale/pt.js +1 -1
- package/dist/locale/pt.min.js +1 -1
- package/dist/locale/pt.min.mjs +1 -1
- package/dist/locale/pt.mjs +1 -1
- package/dist/locale/ro.js +1 -1
- package/dist/locale/ro.min.js +1 -1
- package/dist/locale/ro.min.mjs +1 -1
- package/dist/locale/ro.mjs +1 -1
- package/dist/locale/ru.js +1 -1
- package/dist/locale/ru.min.js +1 -1
- package/dist/locale/ru.min.mjs +1 -1
- package/dist/locale/ru.mjs +1 -1
- package/dist/locale/sk.js +1 -1
- package/dist/locale/sk.min.js +1 -1
- package/dist/locale/sk.min.mjs +1 -1
- package/dist/locale/sk.mjs +1 -1
- package/dist/locale/sl.js +1 -1
- package/dist/locale/sl.min.js +1 -1
- package/dist/locale/sl.min.mjs +1 -1
- package/dist/locale/sl.mjs +1 -1
- package/dist/locale/sr.js +1 -1
- package/dist/locale/sr.min.js +1 -1
- package/dist/locale/sr.min.mjs +1 -1
- package/dist/locale/sr.mjs +1 -1
- package/dist/locale/sv.js +1 -1
- package/dist/locale/sv.min.js +1 -1
- package/dist/locale/sv.min.mjs +1 -1
- package/dist/locale/sv.mjs +1 -1
- package/dist/locale/sw.js +1 -1
- package/dist/locale/sw.min.js +1 -1
- package/dist/locale/sw.min.mjs +1 -1
- package/dist/locale/sw.mjs +1 -1
- package/dist/locale/ta.js +1 -1
- package/dist/locale/ta.min.js +1 -1
- package/dist/locale/ta.min.mjs +1 -1
- package/dist/locale/ta.mjs +1 -1
- package/dist/locale/th.js +1 -1
- package/dist/locale/th.min.js +1 -1
- package/dist/locale/th.min.mjs +1 -1
- package/dist/locale/th.mjs +1 -1
- package/dist/locale/tk.js +1 -1
- package/dist/locale/tk.min.js +1 -1
- package/dist/locale/tk.min.mjs +1 -1
- package/dist/locale/tk.mjs +1 -1
- package/dist/locale/tr.js +1 -1
- package/dist/locale/tr.min.js +1 -1
- package/dist/locale/tr.min.mjs +1 -1
- package/dist/locale/tr.mjs +1 -1
- package/dist/locale/ug-cn.js +1 -1
- package/dist/locale/ug-cn.min.js +1 -1
- package/dist/locale/ug-cn.min.mjs +1 -1
- package/dist/locale/ug-cn.mjs +1 -1
- package/dist/locale/uk.js +1 -1
- package/dist/locale/uk.min.js +1 -1
- package/dist/locale/uk.min.mjs +1 -1
- package/dist/locale/uk.mjs +1 -1
- package/dist/locale/uz-uz.js +1 -1
- package/dist/locale/uz-uz.min.js +1 -1
- package/dist/locale/uz-uz.min.mjs +1 -1
- package/dist/locale/uz-uz.mjs +1 -1
- package/dist/locale/vi.js +1 -1
- package/dist/locale/vi.min.js +1 -1
- package/dist/locale/vi.min.mjs +1 -1
- package/dist/locale/vi.mjs +1 -1
- package/dist/locale/zh-cn.js +1 -1
- package/dist/locale/zh-cn.min.js +1 -1
- package/dist/locale/zh-cn.min.mjs +1 -1
- package/dist/locale/zh-cn.mjs +1 -1
- package/dist/locale/zh-tw.js +1 -1
- package/dist/locale/zh-tw.min.js +1 -1
- package/dist/locale/zh-tw.min.mjs +1 -1
- package/dist/locale/zh-tw.mjs +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/src/autocomplete.vue.d.ts +65 -65
- 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/carousel/index.d.ts +1 -1
- package/es/components/carousel/index.mjs +2 -2
- package/es/components/carousel/src/carousel-item.mjs +8 -70
- package/es/components/carousel/src/carousel-item.mjs.map +1 -1
- package/es/components/carousel/src/carousel-item2.mjs +70 -8
- package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +1 -1
- package/es/components/cascader/index.d.ts +130 -130
- package/es/components/cascader/src/cascader.vue.d.ts +65 -65
- package/es/components/color-picker/index.d.ts +38 -38
- package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
- 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/panel-utils.d.ts +34 -34
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/src/dialog.vue.d.ts +1 -1
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/src/drawer.vue.d.ts +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.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/form/src/form2.mjs +2 -2
- package/es/components/form/src/form2.mjs.map +1 -1
- package/es/components/form/src/types.d.ts +1 -1
- package/es/components/image/index.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/index.mjs +2 -2
- package/es/components/input/index.d.ts +12 -12
- package/es/components/input/src/input.vue.d.ts +12 -12
- 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/message/src/message.d.ts +1 -1
- package/es/components/message/src/message.vue.d.ts +4 -4
- package/es/components/message-box/src/index.vue.d.ts +1 -1
- package/es/components/notification/src/notification.d.ts +1 -1
- package/es/components/notification/src/notification.vue.d.ts +4 -4
- package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/es/components/pagination/src/components/sizes.vue.d.ts +27 -27
- package/es/components/popconfirm/index.d.ts +23 -23
- package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/es/components/popover/index.d.ts +18 -18
- package/es/components/popover/src/popover.vue.d.ts +18 -18
- package/es/components/popper/src/content.vue.d.ts +6 -6
- package/es/components/progress/src/progress2.mjs +1 -1
- package/es/components/progress/src/progress2.mjs.map +1 -1
- package/es/components/rate/index.mjs +2 -2
- package/es/components/rate/src/rate.mjs +90 -269
- package/es/components/rate/src/rate.mjs.map +1 -1
- package/es/components/rate/src/rate2.mjs +269 -90
- package/es/components/rate/src/rate2.mjs.map +1 -1
- package/es/components/result/index.d.ts +4 -4
- package/es/components/result/src/result.d.ts +1 -1
- package/es/components/result/src/result.vue.d.ts +4 -4
- package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/es/components/scrollbar/src/bar.mjs +11 -64
- package/es/components/scrollbar/src/bar.mjs.map +1 -1
- package/es/components/scrollbar/src/bar2.mjs +64 -11
- package/es/components/scrollbar/src/bar2.mjs.map +1 -1
- package/es/components/scrollbar/src/scrollbar2.mjs +1 -1
- package/es/components/select/index.d.ts +27 -27
- package/es/components/select/src/select.vue.d.ts +27 -27
- package/es/components/select/src/useSelect.d.ts +25 -25
- package/es/components/select/src/useSelect.mjs +3 -1
- package/es/components/select/src/useSelect.mjs.map +1 -1
- package/es/components/select-v2/index.d.ts +54 -54
- package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/es/components/select-v2/src/select.vue.d.ts +27 -27
- package/es/components/select-v2/src/useSelect.d.ts +25 -25
- package/es/components/select-v2/src/useSelect.mjs +3 -3
- package/es/components/select-v2/src/useSelect.mjs.map +1 -1
- package/es/components/slider/index.d.ts +75 -75
- package/es/components/slider/src/button.vue.d.ts +6 -6
- package/es/components/slider/src/composables/use-slide.d.ts +24 -24
- package/es/components/slider/src/slider.vue.d.ts +75 -75
- package/es/components/steps/index.d.ts +16 -16
- 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.vue.d.ts +8 -8
- 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/table-v2/src/table-grid.mjs +4 -6
- package/es/components/table-v2/src/table-grid.mjs.map +1 -1
- package/es/components/tag/index.d.ts +1 -1
- package/es/components/tag/src/tag.vue.d.ts +1 -1
- package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
- package/es/components/time-select/index.d.ts +114 -114
- package/es/components/time-select/src/time-select.vue.d.ts +57 -57
- package/es/components/tooltip/index.d.ts +6 -6
- package/es/components/tooltip/src/content.vue.d.ts +6 -6
- package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/es/components/tooltip-v2/index.d.ts +4 -4
- package/es/components/tooltip-v2/index.mjs +1 -1
- package/es/components/tooltip-v2/src/arrow.mjs +22 -37
- package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
- package/es/components/tooltip-v2/src/arrow2.mjs +37 -22
- package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
- package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
- package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
- package/es/components/tour/index.d.ts +11 -11
- package/es/components/tour/src/content.vue.d.ts +1 -1
- package/es/components/tour/src/step.vue.d.ts +5 -5
- package/es/components/tour/src/tour.vue.d.ts +1 -1
- package/es/components/transfer/index.d.ts +65 -65
- package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/es/components/transfer/src/transfer.vue.d.ts +65 -65
- 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/src/upload-content.vue.d.ts +1 -1
- package/es/components/upload/src/upload.vue.d.ts +5 -5
- package/es/index.mjs +2 -2
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/version.mjs.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/src/autocomplete.vue.d.ts +65 -65
- 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/carousel/index.d.ts +1 -1
- package/lib/components/carousel/index.js +2 -2
- package/lib/components/carousel/src/carousel-item.js +8 -70
- package/lib/components/carousel/src/carousel-item.js.map +1 -1
- package/lib/components/carousel/src/carousel-item2.js +70 -8
- package/lib/components/carousel/src/carousel-item2.js.map +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
- package/lib/components/cascader/index.d.ts +130 -130
- package/lib/components/cascader/src/cascader.vue.d.ts +65 -65
- package/lib/components/color-picker/index.d.ts +38 -38
- package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
- 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/panel-utils.d.ts +34 -34
- package/lib/components/dialog/index.d.ts +1 -1
- package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
- package/lib/components/drawer/index.d.ts +1 -1
- package/lib/components/drawer/src/drawer.vue.d.ts +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.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/form/src/form2.js +2 -2
- package/lib/components/form/src/form2.js.map +1 -1
- package/lib/components/form/src/types.d.ts +1 -1
- package/lib/components/image/index.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/index.js +2 -2
- package/lib/components/input/index.d.ts +12 -12
- package/lib/components/input/src/input.vue.d.ts +12 -12
- 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/message/src/message.d.ts +1 -1
- package/lib/components/message/src/message.vue.d.ts +4 -4
- package/lib/components/message-box/src/index.vue.d.ts +1 -1
- package/lib/components/notification/src/notification.d.ts +1 -1
- package/lib/components/notification/src/notification.vue.d.ts +4 -4
- package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
- package/lib/components/pagination/src/components/sizes.vue.d.ts +27 -27
- package/lib/components/popconfirm/index.d.ts +23 -23
- package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
- package/lib/components/popover/index.d.ts +18 -18
- package/lib/components/popover/src/popover.vue.d.ts +18 -18
- package/lib/components/popper/src/content.vue.d.ts +6 -6
- package/lib/components/progress/src/progress2.js +1 -1
- package/lib/components/progress/src/progress2.js.map +1 -1
- package/lib/components/rate/index.js +2 -2
- package/lib/components/rate/src/rate.js +90 -268
- package/lib/components/rate/src/rate.js.map +1 -1
- package/lib/components/rate/src/rate2.js +268 -90
- package/lib/components/rate/src/rate2.js.map +1 -1
- package/lib/components/result/index.d.ts +4 -4
- package/lib/components/result/src/result.d.ts +1 -1
- package/lib/components/result/src/result.vue.d.ts +4 -4
- package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
- package/lib/components/scrollbar/src/bar.js +11 -64
- package/lib/components/scrollbar/src/bar.js.map +1 -1
- package/lib/components/scrollbar/src/bar2.js +64 -11
- package/lib/components/scrollbar/src/bar2.js.map +1 -1
- package/lib/components/scrollbar/src/scrollbar2.js +1 -1
- package/lib/components/select/index.d.ts +27 -27
- package/lib/components/select/src/select.vue.d.ts +27 -27
- package/lib/components/select/src/useSelect.d.ts +25 -25
- package/lib/components/select/src/useSelect.js +3 -1
- package/lib/components/select/src/useSelect.js.map +1 -1
- package/lib/components/select-v2/index.d.ts +54 -54
- package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
- package/lib/components/select-v2/src/select.vue.d.ts +27 -27
- package/lib/components/select-v2/src/useSelect.d.ts +25 -25
- package/lib/components/select-v2/src/useSelect.js +3 -3
- package/lib/components/select-v2/src/useSelect.js.map +1 -1
- package/lib/components/slider/index.d.ts +75 -75
- package/lib/components/slider/src/button.vue.d.ts +6 -6
- package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
- package/lib/components/slider/src/slider.vue.d.ts +75 -75
- package/lib/components/steps/index.d.ts +16 -16
- 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.vue.d.ts +8 -8
- 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/table-v2/src/table-grid.js +4 -6
- package/lib/components/table-v2/src/table-grid.js.map +1 -1
- package/lib/components/tag/index.d.ts +1 -1
- package/lib/components/tag/src/tag.vue.d.ts +1 -1
- package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
- package/lib/components/time-select/index.d.ts +114 -114
- package/lib/components/time-select/src/time-select.vue.d.ts +57 -57
- package/lib/components/tooltip/index.d.ts +6 -6
- package/lib/components/tooltip/src/content.vue.d.ts +6 -6
- package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
- package/lib/components/tooltip-v2/index.d.ts +4 -4
- package/lib/components/tooltip-v2/index.js +1 -1
- package/lib/components/tooltip-v2/src/arrow.js +23 -37
- package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
- package/lib/components/tooltip-v2/src/arrow2.js +37 -23
- package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
- package/lib/components/tooltip-v2/src/tooltip.js +1 -1
- package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
- package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
- package/lib/components/tour/index.d.ts +11 -11
- package/lib/components/tour/src/content.vue.d.ts +1 -1
- package/lib/components/tour/src/step.vue.d.ts +5 -5
- package/lib/components/tour/src/tour.vue.d.ts +1 -1
- package/lib/components/transfer/index.d.ts +65 -65
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
- package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
- 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/src/upload-content.vue.d.ts +1 -1
- package/lib/components/upload/src/upload.vue.d.ts +5 -5
- package/lib/index.js +2 -2
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.js.map +1 -1
- package/package.json +2 -2
- package/web-types.json +1 -1
|
@@ -37,7 +37,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
handleFocus: (e: Event) => void;
|
|
38
38
|
handleKeydown: (event: KeyboardEvent) => void;
|
|
39
39
|
handleMousedown: (e: Event) => void;
|
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "
|
|
40
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "pointerleave" | "pointermove" | "clickimpl")[], "click" | "pointerleave" | "pointermove" | "clickimpl", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
41
|
readonly command: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown, () => {}, boolean>;
|
|
42
42
|
readonly disabled: BooleanConstructor;
|
|
43
43
|
readonly divided: BooleanConstructor;
|
|
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
24
24
|
divided: boolean;
|
|
25
25
|
textValue: string | undefined;
|
|
26
26
|
}>;
|
|
27
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "
|
|
27
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "pointerleave" | "pointermove")[], "click" | "pointerleave" | "pointermove", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
28
|
readonly command: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown, () => {}, boolean>;
|
|
29
29
|
readonly disabled: BooleanConstructor;
|
|
30
30
|
readonly divided: BooleanConstructor;
|
|
@@ -2439,7 +2439,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2439
2439
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
2440
2440
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2441
2441
|
}, {
|
|
2442
|
-
emit: ((event: "
|
|
2442
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
2443
2443
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2444
2444
|
readonly ariaLabel: StringConstructor;
|
|
2445
2445
|
readonly id: StringConstructor;
|
|
@@ -2689,10 +2689,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2689
2689
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
2690
2690
|
}>> & {
|
|
2691
2691
|
onClose?: (() => any) | undefined;
|
|
2692
|
-
onFocus?: (() => any) | undefined;
|
|
2693
2692
|
onBlur?: (() => any) | undefined;
|
|
2694
|
-
|
|
2693
|
+
onFocus?: (() => any) | undefined;
|
|
2695
2694
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
2695
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
2696
2696
|
}>>;
|
|
2697
2697
|
focusStartRef: import("vue").Ref<HTMLElement | "container" | "first" | undefined>;
|
|
2698
2698
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -2761,7 +2761,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2761
2761
|
};
|
|
2762
2762
|
}, {
|
|
2763
2763
|
onKeydown: (e: KeyboardEvent) => void;
|
|
2764
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
2764
|
+
}, 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<{
|
|
2765
2765
|
loop: BooleanConstructor;
|
|
2766
2766
|
trapped: BooleanConstructor;
|
|
2767
2767
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -3036,10 +3036,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3036
3036
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
3037
3037
|
}>> & {
|
|
3038
3038
|
onClose?: (() => any) | undefined;
|
|
3039
|
-
onFocus?: (() => any) | undefined;
|
|
3040
3039
|
onBlur?: (() => any) | undefined;
|
|
3041
|
-
|
|
3040
|
+
onFocus?: (() => any) | undefined;
|
|
3042
3041
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
3042
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
3043
3043
|
}, {
|
|
3044
3044
|
readonly offset: number;
|
|
3045
3045
|
readonly effect: string;
|
|
@@ -5391,7 +5391,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5391
5391
|
readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
|
|
5392
5392
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5393
5393
|
}, {
|
|
5394
|
-
emit: ((event: "
|
|
5394
|
+
emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
|
|
5395
5395
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
5396
5396
|
readonly ariaLabel: StringConstructor;
|
|
5397
5397
|
readonly id: StringConstructor;
|
|
@@ -5641,10 +5641,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5641
5641
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5642
5642
|
}>> & {
|
|
5643
5643
|
onClose?: (() => any) | undefined;
|
|
5644
|
-
onFocus?: (() => any) | undefined;
|
|
5645
5644
|
onBlur?: (() => any) | undefined;
|
|
5646
|
-
|
|
5645
|
+
onFocus?: (() => any) | undefined;
|
|
5647
5646
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5647
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5648
5648
|
}>>;
|
|
5649
5649
|
focusStartRef: import("vue").Ref<HTMLElement | "container" | "first" | undefined>;
|
|
5650
5650
|
trapped: import("vue").Ref<boolean>;
|
|
@@ -5713,7 +5713,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5713
5713
|
};
|
|
5714
5714
|
}, {
|
|
5715
5715
|
onKeydown: (e: KeyboardEvent) => void;
|
|
5716
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
5716
|
+
}, 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<{
|
|
5717
5717
|
loop: BooleanConstructor;
|
|
5718
5718
|
trapped: BooleanConstructor;
|
|
5719
5719
|
focusTrapEl: import("vue").PropType<HTMLElement>;
|
|
@@ -5988,10 +5988,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5988
5988
|
readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
|
|
5989
5989
|
}>> & {
|
|
5990
5990
|
onClose?: (() => any) | undefined;
|
|
5991
|
-
onFocus?: (() => any) | undefined;
|
|
5992
5991
|
onBlur?: (() => any) | undefined;
|
|
5993
|
-
|
|
5992
|
+
onFocus?: (() => any) | undefined;
|
|
5994
5993
|
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
5994
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
5995
5995
|
}, {
|
|
5996
5996
|
readonly offset: number;
|
|
5997
5997
|
readonly effect: string;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
}, {
|
|
11
11
|
onKeydown: (e: KeyboardEvent) => void;
|
|
12
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
12
|
+
}, 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<{
|
|
13
13
|
loop: BooleanConstructor;
|
|
14
14
|
trapped: BooleanConstructor;
|
|
15
15
|
focusTrapEl: PropType<HTMLElement>;
|
|
@@ -172,7 +172,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
172
172
|
};
|
|
173
173
|
readonly error: StringConstructor;
|
|
174
174
|
readonly validateStatus: {
|
|
175
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
175
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
176
176
|
readonly required: false;
|
|
177
177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
178
|
__epPropKey: true;
|
|
@@ -205,7 +205,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
205
205
|
};
|
|
206
206
|
readonly error: StringConstructor;
|
|
207
207
|
readonly validateStatus: {
|
|
208
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
208
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
209
209
|
readonly required: false;
|
|
210
210
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
211
211
|
__epPropKey: true;
|
|
@@ -248,8 +248,8 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
248
248
|
};
|
|
249
249
|
labelId: string;
|
|
250
250
|
inputIds: import("vue").Ref<string[]>;
|
|
251
|
-
validateState: import("vue").Ref<"" | "
|
|
252
|
-
validateStateDebounced: Readonly<import("vue").Ref<"" | "
|
|
251
|
+
validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
|
|
252
|
+
validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
|
|
253
253
|
validateMessage: import("vue").Ref<string>;
|
|
254
254
|
formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
255
255
|
initialValue: any;
|
|
@@ -275,7 +275,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
275
275
|
isRequired: import("vue").ComputedRef<boolean>;
|
|
276
276
|
shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
277
277
|
currentLabel: import("vue").ComputedRef<string>;
|
|
278
|
-
setValidationState: (state: "" | "
|
|
278
|
+
setValidationState: (state: "" | "error" | "success" | "validating") => void;
|
|
279
279
|
onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
|
|
280
280
|
onValidationSucceeded: () => void;
|
|
281
281
|
doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
|
|
@@ -313,7 +313,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
313
313
|
};
|
|
314
314
|
readonly error: StringConstructor;
|
|
315
315
|
readonly validateStatus: {
|
|
316
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
316
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
317
317
|
readonly required: false;
|
|
318
318
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
319
319
|
__epPropKey: true;
|
|
@@ -353,7 +353,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
353
353
|
};
|
|
354
354
|
readonly error: StringConstructor;
|
|
355
355
|
readonly validateStatus: {
|
|
356
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
356
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
357
357
|
readonly required: false;
|
|
358
358
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
359
359
|
__epPropKey: true;
|
|
@@ -386,7 +386,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
386
386
|
};
|
|
387
387
|
readonly error: StringConstructor;
|
|
388
388
|
readonly validateStatus: {
|
|
389
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
389
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
390
390
|
readonly required: false;
|
|
391
391
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
392
392
|
__epPropKey: true;
|
|
@@ -429,8 +429,8 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
429
429
|
};
|
|
430
430
|
labelId: string;
|
|
431
431
|
inputIds: import("vue").Ref<string[]>;
|
|
432
|
-
validateState: import("vue").Ref<"" | "
|
|
433
|
-
validateStateDebounced: Readonly<import("vue").Ref<"" | "
|
|
432
|
+
validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
|
|
433
|
+
validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
|
|
434
434
|
validateMessage: import("vue").Ref<string>;
|
|
435
435
|
formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
436
436
|
initialValue: any;
|
|
@@ -456,7 +456,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
456
456
|
isRequired: import("vue").ComputedRef<boolean>;
|
|
457
457
|
shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
458
458
|
currentLabel: import("vue").ComputedRef<string>;
|
|
459
|
-
setValidationState: (state: "" | "
|
|
459
|
+
setValidationState: (state: "" | "error" | "success" | "validating") => void;
|
|
460
460
|
onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
|
|
461
461
|
onValidationSucceeded: () => void;
|
|
462
462
|
doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
|
|
@@ -494,7 +494,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
494
494
|
};
|
|
495
495
|
readonly error: StringConstructor;
|
|
496
496
|
readonly validateStatus: {
|
|
497
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
497
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
498
498
|
readonly required: false;
|
|
499
499
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
500
500
|
__epPropKey: true;
|
|
@@ -22,7 +22,7 @@ export declare const formItemProps: {
|
|
|
22
22
|
};
|
|
23
23
|
readonly error: StringConstructor;
|
|
24
24
|
readonly validateStatus: {
|
|
25
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
25
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
26
26
|
readonly required: false;
|
|
27
27
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
28
28
|
__epPropKey: true;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
21
21
|
};
|
|
22
22
|
readonly error: StringConstructor;
|
|
23
23
|
readonly validateStatus: {
|
|
24
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
24
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
25
25
|
readonly required: false;
|
|
26
26
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
27
|
__epPropKey: true;
|
|
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
54
|
};
|
|
55
55
|
readonly error: StringConstructor;
|
|
56
56
|
readonly validateStatus: {
|
|
57
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
57
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
58
58
|
readonly required: false;
|
|
59
59
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
60
|
__epPropKey: true;
|
|
@@ -97,8 +97,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
97
97
|
};
|
|
98
98
|
labelId: string;
|
|
99
99
|
inputIds: import("vue").Ref<string[]>;
|
|
100
|
-
validateState: import("vue").Ref<"" | "
|
|
101
|
-
validateStateDebounced: Readonly<import("vue").Ref<"" | "
|
|
100
|
+
validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
|
|
101
|
+
validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
|
|
102
102
|
validateMessage: import("vue").Ref<string>;
|
|
103
103
|
formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
104
104
|
initialValue: any;
|
|
@@ -162,7 +162,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
162
162
|
};
|
|
163
163
|
readonly error: StringConstructor;
|
|
164
164
|
readonly validateStatus: {
|
|
165
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
165
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
166
166
|
readonly required: false;
|
|
167
167
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
168
|
__epPropKey: true;
|
|
@@ -104,7 +104,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
104
104
|
try {
|
|
105
105
|
const result = await doValidateField(modelProps);
|
|
106
106
|
if (result === true) {
|
|
107
|
-
callback == null ? void 0 : callback(result);
|
|
107
|
+
await (callback == null ? void 0 : callback(result));
|
|
108
108
|
}
|
|
109
109
|
return result;
|
|
110
110
|
} catch (e) {
|
|
@@ -114,7 +114,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
114
114
|
if (props.scrollToError) {
|
|
115
115
|
scrollToField(Object.keys(invalidFields)[0]);
|
|
116
116
|
}
|
|
117
|
-
callback == null ? void 0 : callback(false, invalidFields);
|
|
117
|
+
await (callback == null ? void 0 : callback(false, invalidFields));
|
|
118
118
|
return shouldThrow && Promise.reject(invalidFields);
|
|
119
119
|
}
|
|
120
120
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form2.js","sources":["../../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<template>\n <form :class=\"formClasses\">\n <slot />\n </form>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, provide, reactive, toRefs, watch } from 'vue'\nimport { debugWarn, isFunction } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormSize } from './hooks'\nimport { formContextKey } from './constants'\nimport { formEmits, formProps } from './form'\nimport { filterFields, useFormLabelWidth } from './utils'\n\nimport type { ValidateFieldsError } from 'async-validator'\nimport type { Arrayable } from '@element-plus/utils'\nimport type {\n FormContext,\n FormItemContext,\n FormValidateCallback,\n FormValidationResult,\n} from './types'\nimport type { FormItemProp } from './form-item'\n\nconst COMPONENT_NAME = 'ElForm'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = defineProps(formProps)\nconst emit = defineEmits(formEmits)\n\nconst fields: FormItemContext[] = []\n\nconst formSize = useFormSize()\nconst ns = useNamespace('form')\nconst formClasses = computed(() => {\n const { labelPosition, inline } = props\n return [\n ns.b(),\n // todo: in v2.2.0, we can remove default\n // in fact, remove it doesn't affect the final style\n ns.m(formSize.value || 'default'),\n {\n [ns.m(`label-${labelPosition}`)]: labelPosition,\n [ns.m('inline')]: inline,\n },\n ]\n})\n\nconst getField: FormContext['getField'] = (prop) => {\n return fields.find((field) => field.prop === prop)\n}\n\nconst addField: FormContext['addField'] = (field) => {\n fields.push(field)\n}\n\nconst removeField: FormContext['removeField'] = (field) => {\n if (field.prop) {\n fields.splice(fields.indexOf(field), 1)\n }\n}\n\nconst resetFields: FormContext['resetFields'] = (properties = []) => {\n if (!props.model) {\n debugWarn(COMPONENT_NAME, 'model is required for resetFields to work.')\n return\n }\n filterFields(fields, properties).forEach((field) => field.resetField())\n}\n\nconst clearValidate: FormContext['clearValidate'] = (props = []) => {\n filterFields(fields, props).forEach((field) => field.clearValidate())\n}\n\nconst isValidatable = computed(() => {\n const hasModel = !!props.model\n if (!hasModel) {\n debugWarn(COMPONENT_NAME, 'model is required for validate to work.')\n }\n return hasModel\n})\n\nconst obtainValidateFields = (props: Arrayable<FormItemProp>) => {\n if (fields.length === 0) return []\n\n const filteredFields = filterFields(fields, props)\n if (!filteredFields.length) {\n debugWarn(COMPONENT_NAME, 'please pass correct props!')\n return []\n }\n return filteredFields\n}\n\nconst validate = async (\n callback?: FormValidateCallback\n): FormValidationResult => validateField(undefined, callback)\n\nconst doValidateField = async (\n props: Arrayable<FormItemProp> = []\n): Promise<boolean> => {\n if (!isValidatable.value) return false\n\n const fields = obtainValidateFields(props)\n if (fields.length === 0) return true\n\n let validationErrors: ValidateFieldsError = {}\n for (const field of fields) {\n try {\n await field.validate('')\n } catch (fields) {\n validationErrors = {\n ...validationErrors,\n ...(fields as ValidateFieldsError),\n }\n }\n }\n\n if (Object.keys(validationErrors).length === 0) return true\n return Promise.reject(validationErrors)\n}\n\nconst validateField: FormContext['validateField'] = async (\n modelProps = [],\n callback\n) => {\n const shouldThrow = !isFunction(callback)\n try {\n const result = await doValidateField(modelProps)\n // When result is false meaning that the fields are not validatable\n if (result === true) {\n callback?.(result)\n }\n return result\n } catch (e) {\n if (e instanceof Error) throw e\n\n const invalidFields = e as ValidateFieldsError\n\n if (props.scrollToError) {\n scrollToField(Object.keys(invalidFields)[0])\n }\n callback?.(false, invalidFields)\n return shouldThrow && Promise.reject(invalidFields)\n }\n}\n\nconst scrollToField = (prop: FormItemProp) => {\n const field = filterFields(fields, prop)[0]\n if (field) {\n field.$el?.scrollIntoView(props.scrollIntoViewOptions)\n }\n}\n\nwatch(\n () => props.rules,\n () => {\n if (props.validateOnRuleChange) {\n validate().catch((err) => debugWarn(err))\n }\n },\n { deep: true }\n)\n\nprovide(\n formContextKey,\n reactive({\n ...toRefs(props),\n emit,\n\n resetFields,\n clearValidate,\n validateField,\n getField,\n addField,\n removeField,\n\n ...useFormLabelWidth(),\n })\n)\n\ndefineExpose({\n /**\n * @description Validate the whole form. Receives a callback or returns `Promise`.\n */\n validate,\n /**\n * @description Validate specified fields.\n */\n validateField,\n /**\n * @description Reset specified fields and remove validation result.\n */\n resetFields,\n /**\n * @description Clear validation message for specified fields.\n */\n clearValidate,\n /**\n * @description Scroll to the specified fields.\n */\n scrollToField,\n})\n</script>\n"],"names":["useFormSize","useNamespace","computed","debugWarn","filterFields","isFunction","watch","provide","reactive","toRefs","useFormLabelWidth"],"mappings":";;;;;;;;;;;;;;;;;;uCA0Bc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAIA,IAAA,MAAM,SAA4B,EAAC,CAAA;AAEnC,IAAA,MAAM,WAAWA,8BAAY,EAAA,CAAA;AAC7B,IAAM,MAAA,EAAA,GAAKC,mBAAa,MAAM,CAAA,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BAAwC,EAAC,CAAA;AAC7C,MAAA,KAAA,MAAW,SAAS,OAAQ,EAAA;AAC1B,QAAI,IAAA;AACF,UAAM,MAAA,KAAA,CAAM,SAAS,EAAE,CAAA,CAAA;AAAA,iBAChB,OAAP,EAAA;AACA,UAAmB,gBAAA,GAAA;AAAA,YACjB,GAAG,gBAAA;AAAA,YACH,GAAI,OAAA;AAAA,WACN,CAAA;AAAA,SACF;AAAA,OACF;AAEA,MAAA,IAAI,MAAO,CAAA,IAAA,CAAK,gBAAgB,CAAA,CAAE,MAAW,KAAA,CAAA;AAAG,QAAO,OAAA,IAAA,CAAA;AACvD,MAAO,OAAA,OAAA,CAAQ,OAAO,gBAAgB,CAAA,CAAA;AAAA,KACxC,CAAA;AAEA,IAAA,MAAM,aAA8C,GAAA,OAClD,UAAa,GAAA,IACb,QACG,KAAA;AACH,MAAM,MAAA,WAAA,GAAc,CAACE,iBAAA,CAAW,QAAQ,CAAA,CAAA;AACxC,MAAI,IAAA;AACF,QAAM,MAAA,MAAA,GAAS,MAAM,eAAA,CAAgB,UAAU,CAAA,CAAA;AAE/C,QAAA,IAAI,WAAW,IAAM,EAAA;AACnB,UAAA,
|
|
1
|
+
{"version":3,"file":"form2.js","sources":["../../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<template>\n <form :class=\"formClasses\">\n <slot />\n </form>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, provide, reactive, toRefs, watch } from 'vue'\nimport { debugWarn, isFunction } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormSize } from './hooks'\nimport { formContextKey } from './constants'\nimport { formEmits, formProps } from './form'\nimport { filterFields, useFormLabelWidth } from './utils'\n\nimport type { ValidateFieldsError } from 'async-validator'\nimport type { Arrayable } from '@element-plus/utils'\nimport type {\n FormContext,\n FormItemContext,\n FormValidateCallback,\n FormValidationResult,\n} from './types'\nimport type { FormItemProp } from './form-item'\n\nconst COMPONENT_NAME = 'ElForm'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = defineProps(formProps)\nconst emit = defineEmits(formEmits)\n\nconst fields: FormItemContext[] = []\n\nconst formSize = useFormSize()\nconst ns = useNamespace('form')\nconst formClasses = computed(() => {\n const { labelPosition, inline } = props\n return [\n ns.b(),\n // todo: in v2.2.0, we can remove default\n // in fact, remove it doesn't affect the final style\n ns.m(formSize.value || 'default'),\n {\n [ns.m(`label-${labelPosition}`)]: labelPosition,\n [ns.m('inline')]: inline,\n },\n ]\n})\n\nconst getField: FormContext['getField'] = (prop) => {\n return fields.find((field) => field.prop === prop)\n}\n\nconst addField: FormContext['addField'] = (field) => {\n fields.push(field)\n}\n\nconst removeField: FormContext['removeField'] = (field) => {\n if (field.prop) {\n fields.splice(fields.indexOf(field), 1)\n }\n}\n\nconst resetFields: FormContext['resetFields'] = (properties = []) => {\n if (!props.model) {\n debugWarn(COMPONENT_NAME, 'model is required for resetFields to work.')\n return\n }\n filterFields(fields, properties).forEach((field) => field.resetField())\n}\n\nconst clearValidate: FormContext['clearValidate'] = (props = []) => {\n filterFields(fields, props).forEach((field) => field.clearValidate())\n}\n\nconst isValidatable = computed(() => {\n const hasModel = !!props.model\n if (!hasModel) {\n debugWarn(COMPONENT_NAME, 'model is required for validate to work.')\n }\n return hasModel\n})\n\nconst obtainValidateFields = (props: Arrayable<FormItemProp>) => {\n if (fields.length === 0) return []\n\n const filteredFields = filterFields(fields, props)\n if (!filteredFields.length) {\n debugWarn(COMPONENT_NAME, 'please pass correct props!')\n return []\n }\n return filteredFields\n}\n\nconst validate = async (\n callback?: FormValidateCallback\n): FormValidationResult => validateField(undefined, callback)\n\nconst doValidateField = async (\n props: Arrayable<FormItemProp> = []\n): Promise<boolean> => {\n if (!isValidatable.value) return false\n\n const fields = obtainValidateFields(props)\n if (fields.length === 0) return true\n\n let validationErrors: ValidateFieldsError = {}\n for (const field of fields) {\n try {\n await field.validate('')\n } catch (fields) {\n validationErrors = {\n ...validationErrors,\n ...(fields as ValidateFieldsError),\n }\n }\n }\n\n if (Object.keys(validationErrors).length === 0) return true\n return Promise.reject(validationErrors)\n}\n\nconst validateField: FormContext['validateField'] = async (\n modelProps = [],\n callback\n) => {\n const shouldThrow = !isFunction(callback)\n try {\n const result = await doValidateField(modelProps)\n // When result is false meaning that the fields are not validatable\n if (result === true) {\n await callback?.(result)\n }\n return result\n } catch (e) {\n if (e instanceof Error) throw e\n\n const invalidFields = e as ValidateFieldsError\n\n if (props.scrollToError) {\n scrollToField(Object.keys(invalidFields)[0])\n }\n await callback?.(false, invalidFields)\n return shouldThrow && Promise.reject(invalidFields)\n }\n}\n\nconst scrollToField = (prop: FormItemProp) => {\n const field = filterFields(fields, prop)[0]\n if (field) {\n field.$el?.scrollIntoView(props.scrollIntoViewOptions)\n }\n}\n\nwatch(\n () => props.rules,\n () => {\n if (props.validateOnRuleChange) {\n validate().catch((err) => debugWarn(err))\n }\n },\n { deep: true }\n)\n\nprovide(\n formContextKey,\n reactive({\n ...toRefs(props),\n emit,\n\n resetFields,\n clearValidate,\n validateField,\n getField,\n addField,\n removeField,\n\n ...useFormLabelWidth(),\n })\n)\n\ndefineExpose({\n /**\n * @description Validate the whole form. Receives a callback or returns `Promise`.\n */\n validate,\n /**\n * @description Validate specified fields.\n */\n validateField,\n /**\n * @description Reset specified fields and remove validation result.\n */\n resetFields,\n /**\n * @description Clear validation message for specified fields.\n */\n clearValidate,\n /**\n * @description Scroll to the specified fields.\n */\n scrollToField,\n})\n</script>\n"],"names":["useFormSize","useNamespace","computed","debugWarn","filterFields","isFunction","watch","provide","reactive","toRefs","useFormLabelWidth"],"mappings":";;;;;;;;;;;;;;;;;;uCA0Bc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAIA,IAAA,MAAM,SAA4B,EAAC,CAAA;AAEnC,IAAA,MAAM,WAAWA,8BAAY,EAAA,CAAA;AAC7B,IAAM,MAAA,EAAA,GAAKC,mBAAa,MAAM,CAAA,CAAA;AAC9B,IAAM,MAAA,WAAA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AO,aAAa,CAAA,CAAA;AAAA,OACpD;AAAA,KACF,CAAA;AAEA,IAAM,MAAA,aAAA,GAAgB,CAAC,IAAuB,KAAA;AAC5C,MAAA,IAAA,EAAM,CAAQ;AACd,MAAA,MAAW,KAAA,GAAAD,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA,CAAA,CAAA,CAAA,CAAA;AACT,MAAM,IAAA,KAAA,EAAA;AAA+C,QACvD,CAAA,EAAA,GAAA,KAAA,CAAA,GAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,cAAA,CAAA,KAAA,CAAA,qBAAA,CAAA,CAAA;AAAA,OACF;AAEA,KACE,CAAA;AAEE,IAAAE,SAAA,CAAI,MAAM,KAAsB,CAAA,KAAA,EAAA,MAAA;AAC9B,MAAA,IAAA,KAAA,CAAA,oBAA0B,EAAA;AAAc,QAC1C,QAAA,EAAA,CAAA,KAAA,CAAA,CAAA,GAAA,KAAAH,eAAA,CAAA,GAAA,CAAA,CAAA,CAAA;AAAA,OAEF;AAGF,KAAA,EAAA,EAAA;AAEW,IACPI,oCAAe,EAAAC,YAAA,CAAA;AAAA,MACf,GAAAC,UAAA,CAAA,KAAA,CAAA;AAAA,MAEA,IAAA;AAAA,MACA,WAAA;AAAA,MACA,aAAA;AAAA,MACA,aAAA;AAAA,MACA,QAAA;AAAA,MACA,QAAA;AAAA,MAEA,WAAqB;AAAA,MAEzB,GAAAC,uBAAA,EAAA;AAEA,KAAa,CAAA,CAAA,CAAA;AAAA,IAIX,MAAA,CAAA;AAAA,MAIA,QAAA;AAAA,MAIA,aAAA;AAAA,MAIA,WAAA;AAAA,MAIA,aAAA;AAAA,MACD,aAAA;;;;;;;;;;;;;;;"}
|
|
@@ -72,7 +72,7 @@ declare type Path<T> = T extends ReadonlyArray<infer V> ? IsTuple<T> extends tru
|
|
|
72
72
|
declare type FieldPath<T> = T extends object ? Path<T> : never;
|
|
73
73
|
export declare type FormRules<T extends MaybeRef<Record<string, any> | string> = string> = Partial<Record<UnwrapRef<T> extends string ? UnwrapRef<T> : FieldPath<UnwrapRef<T>>, Arrayable<FormItemRule>>>;
|
|
74
74
|
export declare type FormValidationResult = Promise<boolean>;
|
|
75
|
-
export declare type FormValidateCallback = (isValid: boolean, invalidFields?: ValidateFieldsError) => void;
|
|
75
|
+
export declare type FormValidateCallback = (isValid: boolean, invalidFields?: ValidateFieldsError) => Promise<void> | void;
|
|
76
76
|
export interface FormValidateFailure {
|
|
77
77
|
errors: ValidateError[] | null;
|
|
78
78
|
fields: ValidateFieldsError;
|
|
@@ -80,7 +80,7 @@ export declare const ElImage: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
80
80
|
onLoad?: ((evt: Event) => any) | undefined;
|
|
81
81
|
onSwitch?: ((val: number) => any) | undefined;
|
|
82
82
|
}>>;
|
|
83
|
-
emit: ((event: "
|
|
83
|
+
emit: ((event: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
|
|
84
84
|
prevOverflow: string;
|
|
85
85
|
t: import("../..").Translator;
|
|
86
86
|
ns: {
|
|
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
81
81
|
onLoad?: ((evt: Event) => any) | undefined;
|
|
82
82
|
onSwitch?: ((val: number) => any) | undefined;
|
|
83
83
|
}>>;
|
|
84
|
-
emit: ((event: "
|
|
84
|
+
emit: ((event: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
|
|
85
85
|
prevOverflow: string;
|
|
86
86
|
t: import("@element-plus/nightly/es/hooks").Translator;
|
|
87
87
|
ns: {
|
package/lib/components/index.js
CHANGED
|
@@ -97,7 +97,7 @@ var constants$1 = require('./button/src/constants.js');
|
|
|
97
97
|
var calendar = require('./calendar/src/calendar.js');
|
|
98
98
|
var card = require('./card/src/card.js');
|
|
99
99
|
var carousel = require('./carousel/src/carousel.js');
|
|
100
|
-
var carouselItem = require('./carousel/src/carousel-
|
|
100
|
+
var carouselItem = require('./carousel/src/carousel-item.js');
|
|
101
101
|
var constants$2 = require('./carousel/src/constants.js');
|
|
102
102
|
var cascader = require('./cascader/src/cascader.js');
|
|
103
103
|
var types = require('./cascader-panel/src/types.js');
|
|
@@ -161,7 +161,7 @@ var radio = require('./radio/src/radio.js');
|
|
|
161
161
|
var radioGroup = require('./radio/src/radio-group.js');
|
|
162
162
|
var radioButton = require('./radio/src/radio-button.js');
|
|
163
163
|
var constants$b = require('./radio/src/constants.js');
|
|
164
|
-
var rate = require('./rate/src/
|
|
164
|
+
var rate = require('./rate/src/rate.js');
|
|
165
165
|
var result = require('./result/src/result.js');
|
|
166
166
|
var row = require('./row/src/row.js');
|
|
167
167
|
var constants$c = require('./row/src/constants.js');
|
|
@@ -159,17 +159,17 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
159
159
|
onChange?: ((value: string) => any) | undefined;
|
|
160
160
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
161
161
|
onInput?: ((value: string) => any) | undefined;
|
|
162
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
163
162
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
163
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
164
164
|
onClear?: (() => any) | undefined;
|
|
165
|
-
|
|
166
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
167
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
165
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
168
166
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
169
167
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
170
|
-
|
|
168
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
169
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
170
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
171
171
|
}>>;
|
|
172
|
-
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "
|
|
172
|
+
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void);
|
|
173
173
|
rawAttrs: {
|
|
174
174
|
[x: string]: unknown;
|
|
175
175
|
};
|
|
@@ -234,7 +234,7 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
234
234
|
handleFocus: (event: FocusEvent) => void;
|
|
235
235
|
handleBlur: (event: FocusEvent) => void;
|
|
236
236
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
237
|
-
validateState: import("vue").ComputedRef<"" | "
|
|
237
|
+
validateState: import("vue").ComputedRef<"" | "error" | "success" | "validating">;
|
|
238
238
|
validateIcon: import("vue").ComputedRef<any>;
|
|
239
239
|
passwordIcon: import("vue").ComputedRef<any>;
|
|
240
240
|
containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
@@ -425,15 +425,15 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
425
425
|
onChange?: ((value: string) => any) | undefined;
|
|
426
426
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
427
427
|
onInput?: ((value: string) => any) | undefined;
|
|
428
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
429
428
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
429
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
430
430
|
onClear?: (() => any) | undefined;
|
|
431
|
-
|
|
432
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
433
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
431
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
434
432
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
435
433
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
436
|
-
|
|
434
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
435
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
436
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
437
437
|
}, {
|
|
438
438
|
readonly type: string;
|
|
439
439
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|
|
@@ -160,17 +160,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
160
160
|
onChange?: ((value: string) => any) | undefined;
|
|
161
161
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
162
162
|
onInput?: ((value: string) => any) | undefined;
|
|
163
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
164
163
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
164
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
165
165
|
onClear?: (() => any) | undefined;
|
|
166
|
-
|
|
167
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
168
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
166
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
169
167
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
170
168
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
171
|
-
|
|
169
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
170
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
171
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
172
172
|
}>>;
|
|
173
|
-
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "
|
|
173
|
+
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void);
|
|
174
174
|
rawAttrs: {
|
|
175
175
|
[x: string]: unknown;
|
|
176
176
|
};
|
|
@@ -235,7 +235,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
235
235
|
handleFocus: (event: FocusEvent) => void;
|
|
236
236
|
handleBlur: (event: FocusEvent) => void;
|
|
237
237
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
238
|
-
validateState: import("vue").ComputedRef<"" | "
|
|
238
|
+
validateState: import("vue").ComputedRef<"" | "error" | "success" | "validating">;
|
|
239
239
|
validateIcon: import("vue").ComputedRef<any>;
|
|
240
240
|
passwordIcon: import("vue").ComputedRef<any>;
|
|
241
241
|
containerStyle: import("vue").ComputedRef<StyleValue>;
|
|
@@ -426,15 +426,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
426
426
|
onChange?: ((value: string) => any) | undefined;
|
|
427
427
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
428
428
|
onInput?: ((value: string) => any) | undefined;
|
|
429
|
-
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
430
429
|
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
430
|
+
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
431
431
|
onClear?: (() => any) | undefined;
|
|
432
|
-
|
|
433
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
434
|
-
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
432
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
435
433
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
436
434
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
437
|
-
|
|
435
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
436
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
437
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
438
438
|
}, {
|
|
439
439
|
readonly type: string;
|
|
440
440
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
|