@element-plus/nightly 0.0.20231219 → 0.0.20231222
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/attributes.json +1 -1
- package/dist/index.css +1 -1
- package/dist/index.full.js +17 -10
- package/dist/index.full.min.js +19 -19
- package/dist/index.full.min.js.map +1 -1
- package/dist/index.full.min.mjs +4 -4
- package/dist/index.full.min.mjs.map +1 -1
- package/dist/index.full.mjs +17 -10
- 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 +161 -65
- package/es/components/autocomplete/src/autocomplete.vue.d.ts +161 -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 +5 -5
- package/es/components/carousel/src/carousel.d.ts +1 -1
- package/es/components/carousel/src/carousel.vue.d.ts +5 -5
- package/es/components/cascader/index.d.ts +320 -128
- package/es/components/cascader/src/cascader.vue.d.ts +160 -64
- package/es/components/color-picker/index.d.ts +74 -38
- package/es/components/color-picker/src/color-picker.vue.d.ts +74 -38
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +2 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
- package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +54 -18
- package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +53 -17
- package/es/components/date-picker/src/panel-utils.d.ts +107 -35
- package/es/components/dialog/index.d.ts +1 -1
- package/es/components/dialog/src/dialog.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/image/index.d.ts +1 -1
- package/es/components/image/src/image.vue.d.ts +1 -1
- package/es/components/index.mjs +1 -1
- package/es/components/input/index.d.ts +48 -12
- package/es/components/input/src/input.d.ts +12 -0
- package/es/components/input/src/input.mjs +6 -0
- package/es/components/input/src/input.mjs.map +1 -1
- package/es/components/input/src/input.vue.d.ts +48 -12
- package/es/components/input/src/input2.mjs +7 -7
- package/es/components/input/src/input2.mjs.map +1 -1
- package/es/components/input-number/index.d.ts +141 -45
- package/es/components/input-number/src/input-number.vue.d.ts +141 -45
- package/es/components/menu/index.d.ts +3 -3
- 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/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 +48 -12
- package/es/components/pagination/src/components/sizes.vue.d.ts +26 -26
- 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/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/select/index.d.ts +26 -26
- package/es/components/select/src/select.vue.d.ts +26 -26
- package/es/components/select/src/useSelect.d.ts +24 -24
- package/es/components/select-v2/index.d.ts +30 -30
- 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/slider/index.d.ts +171 -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 +171 -75
- 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.mjs +19 -191
- package/es/components/steps/src/item.mjs.map +1 -1
- package/es/components/steps/src/item.vue.d.ts +4 -4
- package/es/components/steps/src/item2.mjs +191 -19
- package/es/components/steps/src/item2.mjs.map +1 -1
- 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/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 +70 -34
- package/es/components/time-select/index.d.ts +110 -110
- package/es/components/time-select/src/time-select.vue.d.ts +55 -55
- 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/src/tooltip.vue.d.ts +4 -4
- package/es/components/transfer/index.d.ts +245 -65
- package/es/components/transfer/src/transfer-panel.vue.d.ts +48 -12
- package/es/components/transfer/src/transfer.vue.d.ts +245 -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 +1 -1
- 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 +161 -65
- package/lib/components/autocomplete/src/autocomplete.vue.d.ts +161 -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 +5 -5
- package/lib/components/carousel/src/carousel.d.ts +1 -1
- package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
- package/lib/components/cascader/index.d.ts +320 -128
- package/lib/components/cascader/src/cascader.vue.d.ts +160 -64
- package/lib/components/color-picker/index.d.ts +74 -38
- package/lib/components/color-picker/src/color-picker.vue.d.ts +74 -38
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +2 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
- package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +54 -18
- package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +53 -17
- package/lib/components/date-picker/src/panel-utils.d.ts +107 -35
- package/lib/components/dialog/index.d.ts +1 -1
- package/lib/components/dialog/src/dialog.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/image/index.d.ts +1 -1
- package/lib/components/image/src/image.vue.d.ts +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/input/index.d.ts +48 -12
- package/lib/components/input/src/input.d.ts +12 -0
- package/lib/components/input/src/input.js +6 -0
- package/lib/components/input/src/input.js.map +1 -1
- package/lib/components/input/src/input.vue.d.ts +48 -12
- package/lib/components/input/src/input2.js +7 -7
- package/lib/components/input/src/input2.js.map +1 -1
- package/lib/components/input-number/index.d.ts +141 -45
- package/lib/components/input-number/src/input-number.vue.d.ts +141 -45
- package/lib/components/menu/index.d.ts +3 -3
- 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/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 +48 -12
- package/lib/components/pagination/src/components/sizes.vue.d.ts +26 -26
- 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/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/select/index.d.ts +26 -26
- package/lib/components/select/src/select.vue.d.ts +26 -26
- package/lib/components/select/src/useSelect.d.ts +24 -24
- package/lib/components/select-v2/index.d.ts +30 -30
- 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/slider/index.d.ts +171 -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 +171 -75
- 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.js +19 -191
- package/lib/components/steps/src/item.js.map +1 -1
- package/lib/components/steps/src/item.vue.d.ts +4 -4
- package/lib/components/steps/src/item2.js +191 -19
- package/lib/components/steps/src/item2.js.map +1 -1
- 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/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 +70 -34
- package/lib/components/time-select/index.d.ts +110 -110
- package/lib/components/time-select/src/time-select.vue.d.ts +55 -55
- 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/src/tooltip.vue.d.ts +4 -4
- package/lib/components/transfer/index.d.ts +245 -65
- package/lib/components/transfer/src/transfer-panel.vue.d.ts +48 -12
- package/lib/components/transfer/src/transfer.vue.d.ts +245 -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 +1 -1
- 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/theme-chalk/el-date-picker.css +1 -1
- package/theme-chalk/el-image-viewer.css +1 -1
- package/theme-chalk/el-message-box.css +1 -1
- package/theme-chalk/el-message.css +1 -1
- package/theme-chalk/el-notification.css +1 -1
- package/theme-chalk/el-popover.css +1 -1
- package/theme-chalk/el-popper.css +1 -1
- package/theme-chalk/el-step.css +1 -1
- package/theme-chalk/el-table-v2.css +1 -1
- package/theme-chalk/el-table.css +1 -1
- package/theme-chalk/el-text.css +1 -1
- package/theme-chalk/el-time-picker.css +1 -1
- package/theme-chalk/el-time-select.css +1 -1
- package/theme-chalk/index.css +1 -1
- package/theme-chalk/src/date-picker/picker.scss +1 -1
- package/theme-chalk/src/image-viewer.scss +0 -1
- package/theme-chalk/src/message-box.scss +1 -1
- package/theme-chalk/src/message.scss +1 -1
- package/theme-chalk/src/notification.scss +1 -2
- package/theme-chalk/src/popover.scss +1 -2
- package/theme-chalk/src/popper.scss +1 -1
- package/theme-chalk/src/step.scss +1 -1
- package/theme-chalk/src/table-v2.scss +1 -1
- package/theme-chalk/src/table.scss +1 -1
- package/theme-chalk/src/text.scss +1 -1
- package/web-types.json +1 -1
|
@@ -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, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "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>;
|
|
@@ -171,7 +171,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
171
171
|
};
|
|
172
172
|
readonly error: StringConstructor;
|
|
173
173
|
readonly validateStatus: {
|
|
174
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
174
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
175
175
|
readonly required: false;
|
|
176
176
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
177
|
__epPropKey: true;
|
|
@@ -204,7 +204,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
204
204
|
};
|
|
205
205
|
readonly error: StringConstructor;
|
|
206
206
|
readonly validateStatus: {
|
|
207
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
207
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
208
208
|
readonly required: false;
|
|
209
209
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
210
210
|
__epPropKey: true;
|
|
@@ -247,8 +247,8 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
247
247
|
};
|
|
248
248
|
labelId: string;
|
|
249
249
|
inputIds: import("vue").Ref<string[]>;
|
|
250
|
-
validateState: import("vue").Ref<"" | "
|
|
251
|
-
validateStateDebounced: Readonly<import("vue").Ref<"" | "
|
|
250
|
+
validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
|
|
251
|
+
validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
|
|
252
252
|
validateMessage: import("vue").Ref<string>;
|
|
253
253
|
formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
254
254
|
initialValue: any;
|
|
@@ -274,7 +274,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
274
274
|
isRequired: import("vue").ComputedRef<boolean>;
|
|
275
275
|
shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
276
276
|
currentLabel: import("vue").ComputedRef<string>;
|
|
277
|
-
setValidationState: (state: "" | "
|
|
277
|
+
setValidationState: (state: "" | "success" | "error" | "validating") => void;
|
|
278
278
|
onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
|
|
279
279
|
onValidationSucceeded: () => void;
|
|
280
280
|
doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
|
|
@@ -312,7 +312,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
|
|
|
312
312
|
};
|
|
313
313
|
readonly error: StringConstructor;
|
|
314
314
|
readonly validateStatus: {
|
|
315
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
315
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
316
316
|
readonly required: false;
|
|
317
317
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
318
318
|
__epPropKey: true;
|
|
@@ -352,7 +352,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
352
352
|
};
|
|
353
353
|
readonly error: StringConstructor;
|
|
354
354
|
readonly validateStatus: {
|
|
355
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
355
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
356
356
|
readonly required: false;
|
|
357
357
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
358
358
|
__epPropKey: true;
|
|
@@ -385,7 +385,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
385
385
|
};
|
|
386
386
|
readonly error: StringConstructor;
|
|
387
387
|
readonly validateStatus: {
|
|
388
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
388
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
389
389
|
readonly required: false;
|
|
390
390
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
391
|
__epPropKey: true;
|
|
@@ -428,8 +428,8 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
428
428
|
};
|
|
429
429
|
labelId: string;
|
|
430
430
|
inputIds: import("vue").Ref<string[]>;
|
|
431
|
-
validateState: import("vue").Ref<"" | "
|
|
432
|
-
validateStateDebounced: Readonly<import("vue").Ref<"" | "
|
|
431
|
+
validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
|
|
432
|
+
validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
|
|
433
433
|
validateMessage: import("vue").Ref<string>;
|
|
434
434
|
formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
|
|
435
435
|
initialValue: any;
|
|
@@ -455,7 +455,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
455
455
|
isRequired: import("vue").ComputedRef<boolean>;
|
|
456
456
|
shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
457
457
|
currentLabel: import("vue").ComputedRef<string>;
|
|
458
|
-
setValidationState: (state: "" | "
|
|
458
|
+
setValidationState: (state: "" | "success" | "error" | "validating") => void;
|
|
459
459
|
onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
|
|
460
460
|
onValidationSucceeded: () => void;
|
|
461
461
|
doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
|
|
@@ -493,7 +493,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
|
|
|
493
493
|
};
|
|
494
494
|
readonly error: StringConstructor;
|
|
495
495
|
readonly validateStatus: {
|
|
496
|
-
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "
|
|
496
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
|
|
497
497
|
readonly required: false;
|
|
498
498
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
499
499
|
__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, "" | "success" | "error" | "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, "" | "success" | "error" | "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, "" | "success" | "error" | "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<"" | "success" | "error" | "validating">;
|
|
101
|
+
validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "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, "" | "success" | "error" | "validating", unknown>>;
|
|
166
166
|
readonly required: false;
|
|
167
167
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
168
168
|
__epPropKey: true;
|
|
@@ -68,7 +68,7 @@ export declare const ElImage: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
68
68
|
onLoad?: ((evt: Event) => any) | undefined;
|
|
69
69
|
onSwitch?: ((val: number) => any) | undefined;
|
|
70
70
|
}>>;
|
|
71
|
-
emit: ((event: "
|
|
71
|
+
emit: ((event: "error", evt: Event) => void) & ((event: "close") => void) & ((event: "show") => void) & ((event: "load", evt: Event) => void) & ((event: "switch", val: number) => void);
|
|
72
72
|
prevOverflow: string;
|
|
73
73
|
t: import("../..").Translator;
|
|
74
74
|
ns: {
|
|
@@ -69,7 +69,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
69
69
|
onLoad?: ((evt: Event) => any) | undefined;
|
|
70
70
|
onSwitch?: ((val: number) => any) | undefined;
|
|
71
71
|
}>>;
|
|
72
|
-
emit: ((event: "
|
|
72
|
+
emit: ((event: "error", evt: Event) => void) & ((event: "close") => void) & ((event: "show") => void) & ((event: "load", evt: Event) => void) & ((event: "switch", val: number) => void);
|
|
73
73
|
prevOverflow: string;
|
|
74
74
|
t: import("@element-plus/nightly/es/hooks").Translator;
|
|
75
75
|
ns: {
|
package/es/components/index.mjs
CHANGED
|
@@ -170,7 +170,7 @@ export { sliderContextKey } from './slider/src/constants.mjs';
|
|
|
170
170
|
export { spaceProps } from './space/src/space.mjs';
|
|
171
171
|
export { useSpace } from './space/src/use-space.mjs';
|
|
172
172
|
export { statisticProps } from './statistic/src/statistic.mjs';
|
|
173
|
-
export { stepProps } from './steps/src/
|
|
173
|
+
export { stepProps } from './steps/src/item.mjs';
|
|
174
174
|
export { stepsEmits, stepsProps } from './steps/src/steps.mjs';
|
|
175
175
|
export { switchEmits, switchProps } from './switch/src/switch.mjs';
|
|
176
176
|
export { Alignment as TableV2Alignment, FixedDir as TableV2FixedDir, SortOrder as TableV2SortOrder } from './table-v2/src/constants.mjs';
|
|
@@ -8,6 +8,18 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
8
8
|
};
|
|
9
9
|
readonly disabled: BooleanConstructor;
|
|
10
10
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
11
|
+
readonly maxlength: {
|
|
12
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
13
|
+
readonly required: false;
|
|
14
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
|
+
__epPropKey: true;
|
|
16
|
+
};
|
|
17
|
+
readonly minlength: {
|
|
18
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
};
|
|
11
23
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
12
24
|
readonly resize: {
|
|
13
25
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -74,6 +86,18 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
74
86
|
};
|
|
75
87
|
readonly disabled: BooleanConstructor;
|
|
76
88
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
89
|
+
readonly maxlength: {
|
|
90
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
91
|
+
readonly required: false;
|
|
92
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
93
|
+
__epPropKey: true;
|
|
94
|
+
};
|
|
95
|
+
readonly minlength: {
|
|
96
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
97
|
+
readonly required: false;
|
|
98
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
99
|
+
__epPropKey: true;
|
|
100
|
+
};
|
|
77
101
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
78
102
|
readonly resize: {
|
|
79
103
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -133,17 +157,17 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
133
157
|
onChange?: ((value: string) => any) | undefined;
|
|
134
158
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
135
159
|
onInput?: ((value: string) => any) | undefined;
|
|
136
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
137
160
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
161
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
138
162
|
onClear?: (() => any) | undefined;
|
|
139
|
-
|
|
163
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
164
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
165
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
140
166
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
141
167
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
142
|
-
|
|
143
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
144
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
168
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
145
169
|
}>>;
|
|
146
|
-
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "
|
|
170
|
+
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
147
171
|
rawAttrs: {
|
|
148
172
|
[x: string]: unknown;
|
|
149
173
|
};
|
|
@@ -208,7 +232,7 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
208
232
|
handleFocus: (event: FocusEvent) => void;
|
|
209
233
|
handleBlur: (event: FocusEvent) => void;
|
|
210
234
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
211
|
-
validateState: import("vue").ComputedRef<"" | "
|
|
235
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
212
236
|
validateIcon: import("vue").ComputedRef<any>;
|
|
213
237
|
passwordIcon: import("vue").ComputedRef<any>;
|
|
214
238
|
containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
|
|
@@ -327,6 +351,18 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
327
351
|
};
|
|
328
352
|
readonly disabled: BooleanConstructor;
|
|
329
353
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
354
|
+
readonly maxlength: {
|
|
355
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
356
|
+
readonly required: false;
|
|
357
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
358
|
+
__epPropKey: true;
|
|
359
|
+
};
|
|
360
|
+
readonly minlength: {
|
|
361
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
362
|
+
readonly required: false;
|
|
363
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
364
|
+
__epPropKey: true;
|
|
365
|
+
};
|
|
330
366
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
331
367
|
readonly resize: {
|
|
332
368
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -386,15 +422,15 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
|
|
|
386
422
|
onChange?: ((value: string) => any) | undefined;
|
|
387
423
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
388
424
|
onInput?: ((value: string) => any) | undefined;
|
|
389
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
390
425
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
426
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
391
427
|
onClear?: (() => any) | undefined;
|
|
392
|
-
|
|
428
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
429
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
430
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
393
431
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
394
432
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
395
|
-
|
|
396
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
397
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
433
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
398
434
|
}, {
|
|
399
435
|
readonly type: string;
|
|
400
436
|
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>;
|
|
@@ -14,6 +14,18 @@ export declare const inputProps: {
|
|
|
14
14
|
};
|
|
15
15
|
readonly disabled: BooleanConstructor;
|
|
16
16
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
17
|
+
readonly maxlength: {
|
|
18
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
};
|
|
23
|
+
readonly minlength: {
|
|
24
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
25
|
+
readonly required: false;
|
|
26
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
+
__epPropKey: true;
|
|
28
|
+
};
|
|
17
29
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
18
30
|
readonly resize: {
|
|
19
31
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.mjs","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { isString } from '@vue/shared'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n mutable,\n} from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { useSizeProp } from '@element-plus/hooks'\nimport type Input from './input.vue'\nimport type { ExtractPropTypes, StyleValue } from 'vue'\n\nexport type InputAutoSize = { minRows?: number; maxRows?: number } | boolean\n\nexport const inputProps = buildProps({\n /**\n * @description native input id\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description input box size\n */\n size: useSizeProp,\n /**\n * @description whether to disable\n */\n disabled: Boolean,\n /**\n * @description binding value\n */\n modelValue: {\n type: definePropType<string | number | null | undefined>([\n String,\n Number,\n Object,\n ]),\n default: '',\n },\n /**\n * @description type of input\n */\n type: {\n type: String,\n default: 'text',\n },\n /**\n * @description control the resizability\n */\n resize: {\n type: String,\n values: ['none', 'both', 'horizontal', 'vertical'],\n },\n /**\n * @description whether textarea has an adaptive height\n */\n autosize: {\n type: definePropType<InputAutoSize>([Boolean, Object]),\n default: false,\n },\n /**\n * @description native input autocomplete\n */\n autocomplete: {\n type: String,\n default: 'off',\n },\n /**\n * @description format content\n */\n formatter: {\n type: Function,\n },\n /**\n * @description parse content\n */\n parser: {\n type: Function,\n },\n /**\n * @description placeholder\n */\n placeholder: {\n type: String,\n },\n /**\n * @description native input form\n */\n form: {\n type: String,\n },\n /**\n * @description native input readonly\n */\n readonly: {\n type: Boolean,\n default: false,\n },\n /**\n * @description native input readonly\n */\n clearable: {\n type: Boolean,\n default: false,\n },\n /**\n * @description toggleable password input\n */\n showPassword: {\n type: Boolean,\n default: false,\n },\n /**\n * @description word count\n */\n showWordLimit: {\n type: Boolean,\n default: false,\n },\n /**\n * @description suffix icon\n */\n suffixIcon: {\n type: iconPropType,\n },\n /**\n * @description prefix icon\n */\n prefixIcon: {\n type: iconPropType,\n },\n /**\n * @description container role, internal properties provided for use by the picker component\n */\n containerRole: {\n type: String,\n default: undefined,\n },\n /**\n * @description native input aria-label\n */\n label: {\n type: String,\n default: undefined,\n },\n /**\n * @description input tabindex\n */\n tabindex: {\n type: [String, Number],\n default: 0,\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description input or textarea element style\n */\n inputStyle: {\n type: definePropType<StyleValue>([Object, Array, String]),\n default: () => mutable({} as const),\n },\n /**\n * @description native input autofocus\n */\n autofocus: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type InputProps = ExtractPropTypes<typeof inputProps>\n\nexport const inputEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n input: (value: string) => isString(value),\n change: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n mouseleave: (evt: MouseEvent) => evt instanceof MouseEvent,\n mouseenter: (evt: MouseEvent) => evt instanceof MouseEvent,\n // NOTE: when autofill by browser, the keydown event is instanceof Event, not KeyboardEvent\n // relative bug report https://github.com/element-plus/element-plus/issues/6665\n keydown: (evt: KeyboardEvent | Event) => evt instanceof Event,\n compositionstart: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionupdate: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionend: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n}\nexport type InputEmits = typeof inputEmits\n\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":[],"mappings":";;;;;;;;;;AASY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,cAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,KAAK,CAAC;AACN,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE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;AACxC,EAAE,gBAAgB,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC5D,EAAE,iBAAiB,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC7D,EAAE,cAAc,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC1D;;;;"}
|
|
1
|
+
{"version":3,"file":"input.mjs","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { isString } from '@vue/shared'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n mutable,\n} from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { useSizeProp } from '@element-plus/hooks'\nimport type Input from './input.vue'\nimport type { ExtractPropTypes, StyleValue } from 'vue'\n\nexport type InputAutoSize = { minRows?: number; maxRows?: number } | boolean\n\nexport const inputProps = buildProps({\n /**\n * @description native input id\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description input box size\n */\n size: useSizeProp,\n /**\n * @description whether to disable\n */\n disabled: Boolean,\n /**\n * @description binding value\n */\n modelValue: {\n type: definePropType<string | number | null | undefined>([\n String,\n Number,\n Object,\n ]),\n default: '',\n },\n /**\n * @description same as `maxlength` in native input\n */\n maxlength: {\n type: [String, Number],\n },\n /**\n * @description same as `minlength` in native input\n */\n minlength: {\n type: [String, Number],\n },\n /**\n * @description type of input\n */\n type: {\n type: String,\n default: 'text',\n },\n /**\n * @description control the resizability\n */\n resize: {\n type: String,\n values: ['none', 'both', 'horizontal', 'vertical'],\n },\n /**\n * @description whether textarea has an adaptive height\n */\n autosize: {\n type: definePropType<InputAutoSize>([Boolean, Object]),\n default: false,\n },\n /**\n * @description native input autocomplete\n */\n autocomplete: {\n type: String,\n default: 'off',\n },\n /**\n * @description format content\n */\n formatter: {\n type: Function,\n },\n /**\n * @description parse content\n */\n parser: {\n type: Function,\n },\n /**\n * @description placeholder\n */\n placeholder: {\n type: String,\n },\n /**\n * @description native input form\n */\n form: {\n type: String,\n },\n /**\n * @description native input readonly\n */\n readonly: {\n type: Boolean,\n default: false,\n },\n /**\n * @description native input readonly\n */\n clearable: {\n type: Boolean,\n default: false,\n },\n /**\n * @description toggleable password input\n */\n showPassword: {\n type: Boolean,\n default: false,\n },\n /**\n * @description word count\n */\n showWordLimit: {\n type: Boolean,\n default: false,\n },\n /**\n * @description suffix icon\n */\n suffixIcon: {\n type: iconPropType,\n },\n /**\n * @description prefix icon\n */\n prefixIcon: {\n type: iconPropType,\n },\n /**\n * @description container role, internal properties provided for use by the picker component\n */\n containerRole: {\n type: String,\n default: undefined,\n },\n /**\n * @description native input aria-label\n */\n label: {\n type: String,\n default: undefined,\n },\n /**\n * @description input tabindex\n */\n tabindex: {\n type: [String, Number],\n default: 0,\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description input or textarea element style\n */\n inputStyle: {\n type: definePropType<StyleValue>([Object, Array, String]),\n default: () => mutable({} as const),\n },\n /**\n * @description native input autofocus\n */\n autofocus: {\n type: Boolean,\n default: false,\n },\n} as const)\nexport type InputProps = ExtractPropTypes<typeof inputProps>\n\nexport const inputEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n input: (value: string) => isString(value),\n change: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n mouseleave: (evt: MouseEvent) => evt instanceof MouseEvent,\n mouseenter: (evt: MouseEvent) => evt instanceof MouseEvent,\n // NOTE: when autofill by browser, the keydown event is instanceof Event, not KeyboardEvent\n // relative bug report https://github.com/element-plus/element-plus/issues/6665\n keydown: (evt: KeyboardEvent | Event) => evt instanceof Event,\n compositionstart: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionupdate: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionend: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n}\nexport type InputEmits = typeof inputEmits\n\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,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK;AAClB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,UAAU,GAAG;AAC1B,EAAE,CAAC,kBAAkB,GAAG,CAAC,KAAK,KAAK,QAAQ,CAAC,KAAK,CAAC;AAClD,EAAE,KAAK,EAAE,CAAC,KAAK,KAAK,QAAQ,CAAC,KAAK,CAAC;AACnC,EAAE,MAAM,EAAE,CAAC,KAAK,KAAK,QAAQ,CAAC,KAAK,CAAC;AACpC,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C,EAAE,IAAI,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC1C,EAAE,KAAK,EAAE,MAAM,IAAI;AACnB,EAAE,UAAU,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAChD,EAAE,UAAU,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAChD,EAAE,OAAO,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,KAAK;AACxC,EAAE,gBAAgB,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC5D,EAAE,iBAAiB,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC7D,EAAE,cAAc,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC1D;;;;"}
|
|
@@ -9,6 +9,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
};
|
|
10
10
|
readonly disabled: BooleanConstructor;
|
|
11
11
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
12
|
+
readonly maxlength: {
|
|
13
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
14
|
+
readonly required: false;
|
|
15
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
16
|
+
__epPropKey: true;
|
|
17
|
+
};
|
|
18
|
+
readonly minlength: {
|
|
19
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
20
|
+
readonly required: false;
|
|
21
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
|
+
__epPropKey: true;
|
|
23
|
+
};
|
|
12
24
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
13
25
|
readonly resize: {
|
|
14
26
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -75,6 +87,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
75
87
|
};
|
|
76
88
|
readonly disabled: BooleanConstructor;
|
|
77
89
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
90
|
+
readonly maxlength: {
|
|
91
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
92
|
+
readonly required: false;
|
|
93
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
94
|
+
__epPropKey: true;
|
|
95
|
+
};
|
|
96
|
+
readonly minlength: {
|
|
97
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
98
|
+
readonly required: false;
|
|
99
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
100
|
+
__epPropKey: true;
|
|
101
|
+
};
|
|
78
102
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
79
103
|
readonly resize: {
|
|
80
104
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -134,17 +158,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
134
158
|
onChange?: ((value: string) => any) | undefined;
|
|
135
159
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
136
160
|
onInput?: ((value: string) => any) | undefined;
|
|
137
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
138
161
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
162
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
139
163
|
onClear?: (() => any) | undefined;
|
|
140
|
-
|
|
164
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
165
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
166
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
141
167
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
142
168
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
143
|
-
|
|
144
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
145
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
169
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
146
170
|
}>>;
|
|
147
|
-
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "
|
|
171
|
+
emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
|
|
148
172
|
rawAttrs: {
|
|
149
173
|
[x: string]: unknown;
|
|
150
174
|
};
|
|
@@ -209,7 +233,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
209
233
|
handleFocus: (event: FocusEvent) => void;
|
|
210
234
|
handleBlur: (event: FocusEvent) => void;
|
|
211
235
|
needStatusIcon: import("vue").ComputedRef<boolean>;
|
|
212
|
-
validateState: import("vue").ComputedRef<"" | "
|
|
236
|
+
validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
|
|
213
237
|
validateIcon: import("vue").ComputedRef<any>;
|
|
214
238
|
passwordIcon: import("vue").ComputedRef<any>;
|
|
215
239
|
containerStyle: import("vue").ComputedRef<StyleValue>;
|
|
@@ -328,6 +352,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
328
352
|
};
|
|
329
353
|
readonly disabled: BooleanConstructor;
|
|
330
354
|
readonly modelValue: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown, "", boolean>;
|
|
355
|
+
readonly maxlength: {
|
|
356
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
357
|
+
readonly required: false;
|
|
358
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
359
|
+
__epPropKey: true;
|
|
360
|
+
};
|
|
361
|
+
readonly minlength: {
|
|
362
|
+
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
363
|
+
readonly required: false;
|
|
364
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
365
|
+
__epPropKey: true;
|
|
366
|
+
};
|
|
331
367
|
readonly type: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "text", boolean>;
|
|
332
368
|
readonly resize: {
|
|
333
369
|
readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
|
|
@@ -387,15 +423,15 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
387
423
|
onChange?: ((value: string) => any) | undefined;
|
|
388
424
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
389
425
|
onInput?: ((value: string) => any) | undefined;
|
|
390
|
-
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
391
426
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
427
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
392
428
|
onClear?: (() => any) | undefined;
|
|
393
|
-
|
|
429
|
+
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
430
|
+
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
431
|
+
onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
|
|
394
432
|
onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
|
|
395
433
|
onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
|
|
396
|
-
|
|
397
|
-
onMouseenter?: ((evt: MouseEvent) => any) | undefined;
|
|
398
|
-
onMouseleave?: ((evt: MouseEvent) => any) | undefined;
|
|
434
|
+
onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
|
|
399
435
|
}, {
|
|
400
436
|
readonly type: string;
|
|
401
437
|
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>;
|
|
@@ -23,7 +23,7 @@ import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
|
|
|
23
23
|
import { isKorean } from '../../../utils/i18n.mjs';
|
|
24
24
|
|
|
25
25
|
const _hoisted_1 = ["role"];
|
|
26
|
-
const _hoisted_2 = ["id", "
|
|
26
|
+
const _hoisted_2 = ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
|
|
27
27
|
const _hoisted_3 = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
|
|
28
28
|
const __default__ = defineComponent({
|
|
29
29
|
name: "ElInput",
|
|
@@ -112,9 +112,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
112
112
|
const nativeInputValue = computed(() => isNil(props.modelValue) ? "" : String(props.modelValue));
|
|
113
113
|
const showClear = computed(() => props.clearable && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (isFocused.value || hovering.value));
|
|
114
114
|
const showPwdVisible = computed(() => props.showPassword && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (!!nativeInputValue.value || isFocused.value));
|
|
115
|
-
const isWordLimitVisible = computed(() => props.showWordLimit && !!
|
|
115
|
+
const isWordLimitVisible = computed(() => props.showWordLimit && !!props.maxlength && (props.type === "text" || props.type === "textarea") && !inputDisabled.value && !props.readonly && !props.showPassword);
|
|
116
116
|
const textLength = computed(() => nativeInputValue.value.length);
|
|
117
|
-
const inputExceed = computed(() => !!isWordLimitVisible.value && textLength.value > Number(
|
|
117
|
+
const inputExceed = computed(() => !!isWordLimitVisible.value && textLength.value > Number(props.maxlength));
|
|
118
118
|
const suffixVisible = computed(() => !!slots.suffix || !!props.suffixIcon || showClear.value || props.showPassword || isWordLimitVisible.value || !!validateState.value && needStatusIcon.value);
|
|
119
119
|
const [recordCursor, setCursor] = useCursor(input);
|
|
120
120
|
useResizeObserver(textarea, (entries) => {
|
|
@@ -323,10 +323,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
323
323
|
ref: input,
|
|
324
324
|
class: unref(nsInput).e("inner")
|
|
325
325
|
}, unref(attrs), {
|
|
326
|
+
minlength: _ctx.minlength,
|
|
327
|
+
maxlength: _ctx.maxlength,
|
|
326
328
|
type: _ctx.showPassword ? passwordVisible.value ? "text" : "password" : _ctx.type,
|
|
327
329
|
disabled: unref(inputDisabled),
|
|
328
|
-
formatter: _ctx.formatter,
|
|
329
|
-
parser: _ctx.parser,
|
|
330
330
|
readonly: _ctx.readonly,
|
|
331
331
|
autocomplete: _ctx.autocomplete,
|
|
332
332
|
tabindex: _ctx.tabindex,
|
|
@@ -391,7 +391,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
391
391
|
}, [
|
|
392
392
|
createElementVNode("span", {
|
|
393
393
|
class: normalizeClass(unref(nsInput).e("count-inner"))
|
|
394
|
-
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(
|
|
394
|
+
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(_ctx.maxlength), 3)
|
|
395
395
|
], 2)) : createCommentVNode("v-if", true),
|
|
396
396
|
unref(validateState) && unref(validateIcon) && unref(needStatusIcon) ? (openBlock(), createBlock(unref(ElIcon), {
|
|
397
397
|
key: 4,
|
|
@@ -446,7 +446,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
446
446
|
key: 0,
|
|
447
447
|
style: normalizeStyle(countStyle.value),
|
|
448
448
|
class: normalizeClass(unref(nsInput).e("count"))
|
|
449
|
-
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(
|
|
449
|
+
}, toDisplayString(unref(textLength)) + " / " + toDisplayString(_ctx.maxlength), 7)) : createCommentVNode("v-if", true)
|
|
450
450
|
], 64))
|
|
451
451
|
], 16, _hoisted_1)), [
|
|
452
452
|
[vShow, _ctx.type !== "hidden"]
|