@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.
Files changed (489) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +17 -10
  4. package/dist/index.full.min.js +19 -19
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +4 -4
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +17 -10
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hr.js +1 -1
  94. package/dist/locale/hr.min.js +1 -1
  95. package/dist/locale/hr.min.mjs +1 -1
  96. package/dist/locale/hr.mjs +1 -1
  97. package/dist/locale/hu.js +1 -1
  98. package/dist/locale/hu.min.js +1 -1
  99. package/dist/locale/hu.min.mjs +1 -1
  100. package/dist/locale/hu.mjs +1 -1
  101. package/dist/locale/hy-am.js +1 -1
  102. package/dist/locale/hy-am.min.js +1 -1
  103. package/dist/locale/hy-am.min.mjs +1 -1
  104. package/dist/locale/hy-am.mjs +1 -1
  105. package/dist/locale/id.js +1 -1
  106. package/dist/locale/id.min.js +1 -1
  107. package/dist/locale/id.min.mjs +1 -1
  108. package/dist/locale/id.mjs +1 -1
  109. package/dist/locale/it.js +1 -1
  110. package/dist/locale/it.min.js +1 -1
  111. package/dist/locale/it.min.mjs +1 -1
  112. package/dist/locale/it.mjs +1 -1
  113. package/dist/locale/ja.js +1 -1
  114. package/dist/locale/ja.min.js +1 -1
  115. package/dist/locale/ja.min.mjs +1 -1
  116. package/dist/locale/ja.mjs +1 -1
  117. package/dist/locale/kk.js +1 -1
  118. package/dist/locale/kk.min.js +1 -1
  119. package/dist/locale/kk.min.mjs +1 -1
  120. package/dist/locale/kk.mjs +1 -1
  121. package/dist/locale/km.js +1 -1
  122. package/dist/locale/km.min.js +1 -1
  123. package/dist/locale/km.min.mjs +1 -1
  124. package/dist/locale/km.mjs +1 -1
  125. package/dist/locale/ko.js +1 -1
  126. package/dist/locale/ko.min.js +1 -1
  127. package/dist/locale/ko.min.mjs +1 -1
  128. package/dist/locale/ko.mjs +1 -1
  129. package/dist/locale/ku.js +1 -1
  130. package/dist/locale/ku.min.js +1 -1
  131. package/dist/locale/ku.min.mjs +1 -1
  132. package/dist/locale/ku.mjs +1 -1
  133. package/dist/locale/ky.js +1 -1
  134. package/dist/locale/ky.min.js +1 -1
  135. package/dist/locale/ky.min.mjs +1 -1
  136. package/dist/locale/ky.mjs +1 -1
  137. package/dist/locale/lt.js +1 -1
  138. package/dist/locale/lt.min.js +1 -1
  139. package/dist/locale/lt.min.mjs +1 -1
  140. package/dist/locale/lt.mjs +1 -1
  141. package/dist/locale/lv.js +1 -1
  142. package/dist/locale/lv.min.js +1 -1
  143. package/dist/locale/lv.min.mjs +1 -1
  144. package/dist/locale/lv.mjs +1 -1
  145. package/dist/locale/mg.js +1 -1
  146. package/dist/locale/mg.min.js +1 -1
  147. package/dist/locale/mg.min.mjs +1 -1
  148. package/dist/locale/mg.mjs +1 -1
  149. package/dist/locale/mn.js +1 -1
  150. package/dist/locale/mn.min.js +1 -1
  151. package/dist/locale/mn.min.mjs +1 -1
  152. package/dist/locale/mn.mjs +1 -1
  153. package/dist/locale/nb-no.js +1 -1
  154. package/dist/locale/nb-no.min.js +1 -1
  155. package/dist/locale/nb-no.min.mjs +1 -1
  156. package/dist/locale/nb-no.mjs +1 -1
  157. package/dist/locale/nl.js +1 -1
  158. package/dist/locale/nl.min.js +1 -1
  159. package/dist/locale/nl.min.mjs +1 -1
  160. package/dist/locale/nl.mjs +1 -1
  161. package/dist/locale/pa.js +1 -1
  162. package/dist/locale/pa.min.js +1 -1
  163. package/dist/locale/pa.min.mjs +1 -1
  164. package/dist/locale/pa.mjs +1 -1
  165. package/dist/locale/pl.js +1 -1
  166. package/dist/locale/pl.min.js +1 -1
  167. package/dist/locale/pl.min.mjs +1 -1
  168. package/dist/locale/pl.mjs +1 -1
  169. package/dist/locale/pt-br.js +1 -1
  170. package/dist/locale/pt-br.min.js +1 -1
  171. package/dist/locale/pt-br.min.mjs +1 -1
  172. package/dist/locale/pt-br.mjs +1 -1
  173. package/dist/locale/pt.js +1 -1
  174. package/dist/locale/pt.min.js +1 -1
  175. package/dist/locale/pt.min.mjs +1 -1
  176. package/dist/locale/pt.mjs +1 -1
  177. package/dist/locale/ro.js +1 -1
  178. package/dist/locale/ro.min.js +1 -1
  179. package/dist/locale/ro.min.mjs +1 -1
  180. package/dist/locale/ro.mjs +1 -1
  181. package/dist/locale/ru.js +1 -1
  182. package/dist/locale/ru.min.js +1 -1
  183. package/dist/locale/ru.min.mjs +1 -1
  184. package/dist/locale/ru.mjs +1 -1
  185. package/dist/locale/sk.js +1 -1
  186. package/dist/locale/sk.min.js +1 -1
  187. package/dist/locale/sk.min.mjs +1 -1
  188. package/dist/locale/sk.mjs +1 -1
  189. package/dist/locale/sl.js +1 -1
  190. package/dist/locale/sl.min.js +1 -1
  191. package/dist/locale/sl.min.mjs +1 -1
  192. package/dist/locale/sl.mjs +1 -1
  193. package/dist/locale/sr.js +1 -1
  194. package/dist/locale/sr.min.js +1 -1
  195. package/dist/locale/sr.min.mjs +1 -1
  196. package/dist/locale/sr.mjs +1 -1
  197. package/dist/locale/sv.js +1 -1
  198. package/dist/locale/sv.min.js +1 -1
  199. package/dist/locale/sv.min.mjs +1 -1
  200. package/dist/locale/sv.mjs +1 -1
  201. package/dist/locale/sw.js +1 -1
  202. package/dist/locale/sw.min.js +1 -1
  203. package/dist/locale/sw.min.mjs +1 -1
  204. package/dist/locale/sw.mjs +1 -1
  205. package/dist/locale/ta.js +1 -1
  206. package/dist/locale/ta.min.js +1 -1
  207. package/dist/locale/ta.min.mjs +1 -1
  208. package/dist/locale/ta.mjs +1 -1
  209. package/dist/locale/th.js +1 -1
  210. package/dist/locale/th.min.js +1 -1
  211. package/dist/locale/th.min.mjs +1 -1
  212. package/dist/locale/th.mjs +1 -1
  213. package/dist/locale/tk.js +1 -1
  214. package/dist/locale/tk.min.js +1 -1
  215. package/dist/locale/tk.min.mjs +1 -1
  216. package/dist/locale/tk.mjs +1 -1
  217. package/dist/locale/tr.js +1 -1
  218. package/dist/locale/tr.min.js +1 -1
  219. package/dist/locale/tr.min.mjs +1 -1
  220. package/dist/locale/tr.mjs +1 -1
  221. package/dist/locale/ug-cn.js +1 -1
  222. package/dist/locale/ug-cn.min.js +1 -1
  223. package/dist/locale/ug-cn.min.mjs +1 -1
  224. package/dist/locale/ug-cn.mjs +1 -1
  225. package/dist/locale/uk.js +1 -1
  226. package/dist/locale/uk.min.js +1 -1
  227. package/dist/locale/uk.min.mjs +1 -1
  228. package/dist/locale/uk.mjs +1 -1
  229. package/dist/locale/uz-uz.js +1 -1
  230. package/dist/locale/uz-uz.min.js +1 -1
  231. package/dist/locale/uz-uz.min.mjs +1 -1
  232. package/dist/locale/uz-uz.mjs +1 -1
  233. package/dist/locale/vi.js +1 -1
  234. package/dist/locale/vi.min.js +1 -1
  235. package/dist/locale/vi.min.mjs +1 -1
  236. package/dist/locale/vi.mjs +1 -1
  237. package/dist/locale/zh-cn.js +1 -1
  238. package/dist/locale/zh-cn.min.js +1 -1
  239. package/dist/locale/zh-cn.min.mjs +1 -1
  240. package/dist/locale/zh-cn.mjs +1 -1
  241. package/dist/locale/zh-tw.js +1 -1
  242. package/dist/locale/zh-tw.min.js +1 -1
  243. package/dist/locale/zh-tw.min.mjs +1 -1
  244. package/dist/locale/zh-tw.mjs +1 -1
  245. package/es/components/alert/index.d.ts +4 -4
  246. package/es/components/alert/src/alert.d.ts +1 -1
  247. package/es/components/alert/src/alert.vue.d.ts +4 -4
  248. package/es/components/autocomplete/index.d.ts +161 -65
  249. package/es/components/autocomplete/src/autocomplete.vue.d.ts +161 -65
  250. package/es/components/button/index.d.ts +5 -5
  251. package/es/components/button/src/button.d.ts +1 -1
  252. package/es/components/button/src/button.vue.d.ts +5 -5
  253. package/es/components/button/src/use-button.d.ts +1 -1
  254. package/es/components/calendar/index.d.ts +5 -5
  255. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  256. package/es/components/carousel/index.d.ts +5 -5
  257. package/es/components/carousel/src/carousel.d.ts +1 -1
  258. package/es/components/carousel/src/carousel.vue.d.ts +5 -5
  259. package/es/components/cascader/index.d.ts +320 -128
  260. package/es/components/cascader/src/cascader.vue.d.ts +160 -64
  261. package/es/components/color-picker/index.d.ts +74 -38
  262. package/es/components/color-picker/src/color-picker.vue.d.ts +74 -38
  263. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +2 -1
  264. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
  265. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +54 -18
  266. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +53 -17
  267. package/es/components/date-picker/src/panel-utils.d.ts +107 -35
  268. package/es/components/dialog/index.d.ts +1 -1
  269. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  270. package/es/components/dropdown/index.d.ts +14 -14
  271. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  272. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  273. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  274. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  275. package/es/components/form/index.d.ts +12 -12
  276. package/es/components/form/src/form-item.d.ts +1 -1
  277. package/es/components/form/src/form-item.vue.d.ts +5 -5
  278. package/es/components/image/index.d.ts +1 -1
  279. package/es/components/image/src/image.vue.d.ts +1 -1
  280. package/es/components/index.mjs +1 -1
  281. package/es/components/input/index.d.ts +48 -12
  282. package/es/components/input/src/input.d.ts +12 -0
  283. package/es/components/input/src/input.mjs +6 -0
  284. package/es/components/input/src/input.mjs.map +1 -1
  285. package/es/components/input/src/input.vue.d.ts +48 -12
  286. package/es/components/input/src/input2.mjs +7 -7
  287. package/es/components/input/src/input2.mjs.map +1 -1
  288. package/es/components/input-number/index.d.ts +141 -45
  289. package/es/components/input-number/src/input-number.vue.d.ts +141 -45
  290. package/es/components/menu/index.d.ts +3 -3
  291. package/es/components/menu/src/menu.d.ts +4 -4
  292. package/es/components/message/src/message.d.ts +1 -1
  293. package/es/components/message/src/message.vue.d.ts +4 -4
  294. package/es/components/notification/src/notification.d.ts +1 -1
  295. package/es/components/notification/src/notification.vue.d.ts +4 -4
  296. package/es/components/pagination/src/components/jumper.vue.d.ts +48 -12
  297. package/es/components/pagination/src/components/sizes.vue.d.ts +26 -26
  298. package/es/components/popconfirm/index.d.ts +23 -23
  299. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  300. package/es/components/popover/index.d.ts +18 -18
  301. package/es/components/popover/src/popover.vue.d.ts +18 -18
  302. package/es/components/popper/src/content.vue.d.ts +6 -6
  303. package/es/components/result/index.d.ts +4 -4
  304. package/es/components/result/src/result.d.ts +1 -1
  305. package/es/components/result/src/result.vue.d.ts +4 -4
  306. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  307. package/es/components/select/index.d.ts +26 -26
  308. package/es/components/select/src/select.vue.d.ts +26 -26
  309. package/es/components/select/src/useSelect.d.ts +24 -24
  310. package/es/components/select-v2/index.d.ts +30 -30
  311. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  312. package/es/components/select-v2/src/select.vue.d.ts +15 -15
  313. package/es/components/select-v2/src/useSelect.d.ts +13 -13
  314. package/es/components/slider/index.d.ts +171 -75
  315. package/es/components/slider/src/button.vue.d.ts +6 -6
  316. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  317. package/es/components/slider/src/slider.vue.d.ts +171 -75
  318. package/es/components/steps/index.d.ts +16 -16
  319. package/es/components/steps/index.mjs +2 -2
  320. package/es/components/steps/src/item.d.ts +1 -1
  321. package/es/components/steps/src/item.mjs +19 -191
  322. package/es/components/steps/src/item.mjs.map +1 -1
  323. package/es/components/steps/src/item.vue.d.ts +4 -4
  324. package/es/components/steps/src/item2.mjs +191 -19
  325. package/es/components/steps/src/item2.mjs.map +1 -1
  326. package/es/components/steps/src/steps.d.ts +2 -2
  327. package/es/components/steps/src/steps.vue.d.ts +8 -8
  328. package/es/components/table/index.d.ts +1 -1
  329. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  330. package/es/components/table/src/table.vue.d.ts +1 -1
  331. package/es/components/tag/index.d.ts +1 -1
  332. package/es/components/tag/src/tag.vue.d.ts +1 -1
  333. package/es/components/time-picker/src/common/picker.vue.d.ts +70 -34
  334. package/es/components/time-select/index.d.ts +110 -110
  335. package/es/components/time-select/src/time-select.vue.d.ts +55 -55
  336. package/es/components/tooltip/index.d.ts +6 -6
  337. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  338. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  339. package/es/components/tooltip-v2/index.d.ts +4 -4
  340. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  341. package/es/components/transfer/index.d.ts +245 -65
  342. package/es/components/transfer/src/transfer-panel.vue.d.ts +48 -12
  343. package/es/components/transfer/src/transfer.vue.d.ts +245 -65
  344. package/es/components/tree-v2/index.d.ts +1 -1
  345. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  346. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  347. package/es/components/upload/index.d.ts +5 -5
  348. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  349. package/es/components/upload/src/upload.vue.d.ts +5 -5
  350. package/es/index.mjs +1 -1
  351. package/es/version.d.ts +1 -1
  352. package/es/version.mjs +1 -1
  353. package/es/version.mjs.map +1 -1
  354. package/lib/components/alert/index.d.ts +4 -4
  355. package/lib/components/alert/src/alert.d.ts +1 -1
  356. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  357. package/lib/components/autocomplete/index.d.ts +161 -65
  358. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +161 -65
  359. package/lib/components/button/index.d.ts +5 -5
  360. package/lib/components/button/src/button.d.ts +1 -1
  361. package/lib/components/button/src/button.vue.d.ts +5 -5
  362. package/lib/components/button/src/use-button.d.ts +1 -1
  363. package/lib/components/calendar/index.d.ts +5 -5
  364. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  365. package/lib/components/carousel/index.d.ts +5 -5
  366. package/lib/components/carousel/src/carousel.d.ts +1 -1
  367. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  368. package/lib/components/cascader/index.d.ts +320 -128
  369. package/lib/components/cascader/src/cascader.vue.d.ts +160 -64
  370. package/lib/components/color-picker/index.d.ts +74 -38
  371. package/lib/components/color-picker/src/color-picker.vue.d.ts +74 -38
  372. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +2 -1
  373. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
  374. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +54 -18
  375. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +53 -17
  376. package/lib/components/date-picker/src/panel-utils.d.ts +107 -35
  377. package/lib/components/dialog/index.d.ts +1 -1
  378. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  379. package/lib/components/dropdown/index.d.ts +14 -14
  380. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  381. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  382. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  383. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  384. package/lib/components/form/index.d.ts +12 -12
  385. package/lib/components/form/src/form-item.d.ts +1 -1
  386. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  387. package/lib/components/image/index.d.ts +1 -1
  388. package/lib/components/image/src/image.vue.d.ts +1 -1
  389. package/lib/components/index.js +1 -1
  390. package/lib/components/input/index.d.ts +48 -12
  391. package/lib/components/input/src/input.d.ts +12 -0
  392. package/lib/components/input/src/input.js +6 -0
  393. package/lib/components/input/src/input.js.map +1 -1
  394. package/lib/components/input/src/input.vue.d.ts +48 -12
  395. package/lib/components/input/src/input2.js +7 -7
  396. package/lib/components/input/src/input2.js.map +1 -1
  397. package/lib/components/input-number/index.d.ts +141 -45
  398. package/lib/components/input-number/src/input-number.vue.d.ts +141 -45
  399. package/lib/components/menu/index.d.ts +3 -3
  400. package/lib/components/menu/src/menu.d.ts +4 -4
  401. package/lib/components/message/src/message.d.ts +1 -1
  402. package/lib/components/message/src/message.vue.d.ts +4 -4
  403. package/lib/components/notification/src/notification.d.ts +1 -1
  404. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  405. package/lib/components/pagination/src/components/jumper.vue.d.ts +48 -12
  406. package/lib/components/pagination/src/components/sizes.vue.d.ts +26 -26
  407. package/lib/components/popconfirm/index.d.ts +23 -23
  408. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  409. package/lib/components/popover/index.d.ts +18 -18
  410. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  411. package/lib/components/popper/src/content.vue.d.ts +6 -6
  412. package/lib/components/result/index.d.ts +4 -4
  413. package/lib/components/result/src/result.d.ts +1 -1
  414. package/lib/components/result/src/result.vue.d.ts +4 -4
  415. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  416. package/lib/components/select/index.d.ts +26 -26
  417. package/lib/components/select/src/select.vue.d.ts +26 -26
  418. package/lib/components/select/src/useSelect.d.ts +24 -24
  419. package/lib/components/select-v2/index.d.ts +30 -30
  420. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  421. package/lib/components/select-v2/src/select.vue.d.ts +15 -15
  422. package/lib/components/select-v2/src/useSelect.d.ts +13 -13
  423. package/lib/components/slider/index.d.ts +171 -75
  424. package/lib/components/slider/src/button.vue.d.ts +6 -6
  425. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  426. package/lib/components/slider/src/slider.vue.d.ts +171 -75
  427. package/lib/components/steps/index.d.ts +16 -16
  428. package/lib/components/steps/index.js +2 -2
  429. package/lib/components/steps/src/item.d.ts +1 -1
  430. package/lib/components/steps/src/item.js +19 -191
  431. package/lib/components/steps/src/item.js.map +1 -1
  432. package/lib/components/steps/src/item.vue.d.ts +4 -4
  433. package/lib/components/steps/src/item2.js +191 -19
  434. package/lib/components/steps/src/item2.js.map +1 -1
  435. package/lib/components/steps/src/steps.d.ts +2 -2
  436. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  437. package/lib/components/table/index.d.ts +1 -1
  438. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  439. package/lib/components/table/src/table.vue.d.ts +1 -1
  440. package/lib/components/tag/index.d.ts +1 -1
  441. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  442. package/lib/components/time-picker/src/common/picker.vue.d.ts +70 -34
  443. package/lib/components/time-select/index.d.ts +110 -110
  444. package/lib/components/time-select/src/time-select.vue.d.ts +55 -55
  445. package/lib/components/tooltip/index.d.ts +6 -6
  446. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  447. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  448. package/lib/components/tooltip-v2/index.d.ts +4 -4
  449. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  450. package/lib/components/transfer/index.d.ts +245 -65
  451. package/lib/components/transfer/src/transfer-panel.vue.d.ts +48 -12
  452. package/lib/components/transfer/src/transfer.vue.d.ts +245 -65
  453. package/lib/components/tree-v2/index.d.ts +1 -1
  454. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  455. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  456. package/lib/components/upload/index.d.ts +5 -5
  457. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  458. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  459. package/lib/index.js +1 -1
  460. package/lib/version.d.ts +1 -1
  461. package/lib/version.js +1 -1
  462. package/lib/version.js.map +1 -1
  463. package/package.json +2 -2
  464. package/theme-chalk/el-date-picker.css +1 -1
  465. package/theme-chalk/el-image-viewer.css +1 -1
  466. package/theme-chalk/el-message-box.css +1 -1
  467. package/theme-chalk/el-message.css +1 -1
  468. package/theme-chalk/el-notification.css +1 -1
  469. package/theme-chalk/el-popover.css +1 -1
  470. package/theme-chalk/el-popper.css +1 -1
  471. package/theme-chalk/el-step.css +1 -1
  472. package/theme-chalk/el-table-v2.css +1 -1
  473. package/theme-chalk/el-table.css +1 -1
  474. package/theme-chalk/el-text.css +1 -1
  475. package/theme-chalk/el-time-picker.css +1 -1
  476. package/theme-chalk/el-time-select.css +1 -1
  477. package/theme-chalk/index.css +1 -1
  478. package/theme-chalk/src/date-picker/picker.scss +1 -1
  479. package/theme-chalk/src/image-viewer.scss +0 -1
  480. package/theme-chalk/src/message-box.scss +1 -1
  481. package/theme-chalk/src/message.scss +1 -1
  482. package/theme-chalk/src/notification.scss +1 -2
  483. package/theme-chalk/src/popover.scss +1 -2
  484. package/theme-chalk/src/popper.scss +1 -1
  485. package/theme-chalk/src/step.scss +1 -1
  486. package/theme-chalk/src/table-v2.scss +1 -1
  487. package/theme-chalk/src/table.scss +1 -1
  488. package/theme-chalk/src/text.scss +1 -1
  489. 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, ("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<{
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, "" | "error" | "success" | "validating", unknown>>;
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, "" | "error" | "success" | "validating", unknown>>;
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<"" | "error" | "success" | "validating">;
251
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
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: "" | "error" | "success" | "validating") => void;
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, "" | "error" | "success" | "validating", unknown>>;
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, "" | "error" | "success" | "validating", unknown>>;
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, "" | "error" | "success" | "validating", unknown>>;
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<"" | "error" | "success" | "validating">;
432
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
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: "" | "error" | "success" | "validating") => void;
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, "" | "error" | "success" | "validating", unknown>>;
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, "" | "error" | "success" | "validating", unknown>>;
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, "" | "error" | "success" | "validating", unknown>>;
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, "" | "error" | "success" | "validating", unknown>>;
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<"" | "error" | "success" | "validating">;
101
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
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, "" | "error" | "success" | "validating", unknown>>;
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: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
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: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
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: {
@@ -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/item2.mjs';
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
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
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
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
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: "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);
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<"" | "error" | "success" | "validating">;
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
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
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
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
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>>;
@@ -23,6 +23,12 @@ const inputProps = buildProps({
23
23
  ]),
24
24
  default: ""
25
25
  },
26
+ maxlength: {
27
+ type: [String, Number]
28
+ },
29
+ minlength: {
30
+ type: [String, Number]
31
+ },
26
32
  type: {
27
33
  type: String,
28
34
  default: "text"
@@ -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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C,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;;;;"}
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\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,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC;AACtD,GAAG;AACH,EAAE,QAAQ,EAAE;A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,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
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
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
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
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: "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);
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<"" | "error" | "success" | "validating">;
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
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
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
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
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", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
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 && !!attrs.value.maxlength && (props.type === "text" || props.type === "textarea") && !inputDisabled.value && !props.readonly && !props.showPassword);
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(attrs.value.maxlength));
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(unref(attrs).maxlength), 3)
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(unref(attrs).maxlength), 7)) : createCommentVNode("v-if", true)
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"]