@element-plus/nightly 0.0.20240719 → 0.0.20240721

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 (546) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +18 -12
  4. package/dist/index.full.min.js +10 -10
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +9 -9
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +18 -12
  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 +77 -66
  249. package/es/components/autocomplete/src/autocomplete.vue.d.ts +77 -66
  250. package/es/components/badge/index.mjs +2 -2
  251. package/es/components/badge/src/badge.mjs +38 -89
  252. package/es/components/badge/src/badge.mjs.map +1 -1
  253. package/es/components/badge/src/badge2.mjs +89 -38
  254. package/es/components/badge/src/badge2.mjs.map +1 -1
  255. package/es/components/button/index.d.ts +5 -5
  256. package/es/components/button/src/button-group2.mjs +1 -1
  257. package/es/components/button/src/button-group2.mjs.map +1 -1
  258. package/es/components/button/src/button.d.ts +1 -1
  259. package/es/components/button/src/button.vue.d.ts +5 -5
  260. package/es/components/button/src/use-button.d.ts +1 -1
  261. package/es/components/calendar/index.d.ts +5 -5
  262. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  263. package/es/components/carousel/index.d.ts +1 -1
  264. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  265. package/es/components/cascader/index.d.ts +198 -132
  266. package/es/components/cascader/src/cascader.d.ts +7 -0
  267. package/es/components/cascader/src/cascader.mjs +1 -0
  268. package/es/components/cascader/src/cascader.mjs.map +1 -1
  269. package/es/components/cascader/src/cascader.vue.d.ts +99 -66
  270. package/es/components/cascader/src/cascader2.mjs +4 -2
  271. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  272. package/es/components/color-picker/index.d.ts +42 -38
  273. package/es/components/color-picker/src/color-picker.vue.d.ts +42 -38
  274. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +21 -17
  275. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +21 -17
  276. package/es/components/date-picker/src/panel-utils.d.ts +42 -34
  277. package/es/components/dialog/index.d.ts +1 -1
  278. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  279. package/es/components/drawer/index.d.ts +1 -1
  280. package/es/components/drawer/src/drawer.vue.d.ts +1 -1
  281. package/es/components/dropdown/index.d.ts +14 -14
  282. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  283. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  284. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  285. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  286. package/es/components/form/index.d.ts +12 -12
  287. package/es/components/form/src/form-item.d.ts +1 -1
  288. package/es/components/form/src/form-item.vue.d.ts +5 -5
  289. package/es/components/image/index.d.ts +1 -1
  290. package/es/components/image/src/image.vue.d.ts +1 -1
  291. package/es/components/index.mjs +2 -2
  292. package/es/components/input/index.d.ts +16 -12
  293. package/es/components/input/src/input.d.ts +1 -0
  294. package/es/components/input/src/input.mjs +4 -0
  295. package/es/components/input/src/input.mjs.map +1 -1
  296. package/es/components/input/src/input.vue.d.ts +16 -12
  297. package/es/components/input/src/input2.mjs +2 -1
  298. package/es/components/input/src/input2.mjs.map +1 -1
  299. package/es/components/input-number/index.d.ts +57 -46
  300. package/es/components/input-number/src/input-number.vue.d.ts +57 -46
  301. package/es/components/link/index.d.ts +4 -4
  302. package/es/components/link/src/link.d.ts +1 -1
  303. package/es/components/link/src/link.mjs +1 -1
  304. package/es/components/link/src/link.mjs.map +1 -1
  305. package/es/components/link/src/link.vue.d.ts +4 -4
  306. package/es/components/message/src/message.d.ts +1 -1
  307. package/es/components/message/src/message.vue.d.ts +4 -4
  308. package/es/components/message-box/src/index.mjs +3 -3
  309. package/es/components/message-box/src/index.mjs.map +1 -1
  310. package/es/components/message-box/src/index.vue.d.ts +1 -1
  311. package/es/components/notification/src/notification.d.ts +1 -1
  312. package/es/components/notification/src/notification.vue.d.ts +4 -4
  313. package/es/components/pagination/src/components/jumper.vue.d.ts +16 -12
  314. package/es/components/pagination/src/components/sizes.vue.d.ts +28 -28
  315. package/es/components/popconfirm/index.d.ts +23 -23
  316. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  317. package/es/components/popover/index.d.ts +18 -18
  318. package/es/components/popover/src/popover.vue.d.ts +18 -18
  319. package/es/components/popper/src/content.vue.d.ts +6 -6
  320. package/es/components/result/index.d.ts +4 -4
  321. package/es/components/result/src/result.d.ts +1 -1
  322. package/es/components/result/src/result.vue.d.ts +4 -4
  323. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  324. package/es/components/select/index.d.ts +28 -28
  325. package/es/components/select/src/select.vue.d.ts +28 -28
  326. package/es/components/select/src/useSelect.d.ts +25 -25
  327. package/es/components/select-v2/index.d.ts +56 -56
  328. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  329. package/es/components/select-v2/src/select.vue.d.ts +28 -28
  330. package/es/components/select-v2/src/useSelect.d.ts +25 -25
  331. package/es/components/skeleton/index.d.ts +1 -1
  332. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  333. package/es/components/slider/index.d.ts +87 -76
  334. package/es/components/slider/src/button.vue.d.ts +6 -6
  335. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  336. package/es/components/slider/src/slider.vue.d.ts +87 -76
  337. package/es/components/steps/index.d.ts +16 -16
  338. package/es/components/steps/src/item.d.ts +1 -1
  339. package/es/components/steps/src/item.vue.d.ts +4 -4
  340. package/es/components/steps/src/steps.d.ts +2 -2
  341. package/es/components/steps/src/steps.vue.d.ts +8 -8
  342. package/es/components/table/index.d.ts +1 -1
  343. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  344. package/es/components/table/src/table.vue.d.ts +1 -1
  345. package/es/components/tag/index.d.ts +1 -1
  346. package/es/components/tag/src/tag.vue.d.ts +1 -1
  347. package/es/components/text/index.d.ts +4 -18
  348. package/es/components/text/src/text.d.ts +1 -6
  349. package/es/components/text/src/text.mjs +1 -3
  350. package/es/components/text/src/text.mjs.map +1 -1
  351. package/es/components/text/src/text.vue.d.ts +4 -18
  352. package/es/components/time-picker/src/common/picker.vue.d.ts +38 -34
  353. package/es/components/time-select/index.d.ts +118 -118
  354. package/es/components/time-select/src/time-select.vue.d.ts +59 -59
  355. package/es/components/tooltip/index.d.ts +6 -6
  356. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  357. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  358. package/es/components/tooltip-v2/index.d.ts +4 -4
  359. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  360. package/es/components/tour/index.d.ts +11 -11
  361. package/es/components/tour/src/content.vue.d.ts +1 -1
  362. package/es/components/tour/src/step.vue.d.ts +5 -5
  363. package/es/components/tour/src/tour.vue.d.ts +1 -1
  364. package/es/components/transfer/index.d.ts +85 -65
  365. package/es/components/transfer/src/transfer-panel.vue.d.ts +16 -12
  366. package/es/components/transfer/src/transfer.vue.d.ts +85 -65
  367. package/es/components/tree-v2/index.d.ts +1 -1
  368. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  369. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  370. package/es/components/upload/index.d.ts +5 -5
  371. package/es/components/upload/index.mjs +2 -2
  372. package/es/components/upload/src/upload-content.mjs +1 -1
  373. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  374. package/es/components/upload/src/upload-content2.mjs +1 -1
  375. package/es/components/upload/src/upload-list.mjs +1 -1
  376. package/es/components/upload/src/upload.mjs +118 -104
  377. package/es/components/upload/src/upload.mjs.map +1 -1
  378. package/es/components/upload/src/upload.vue.d.ts +5 -5
  379. package/es/components/upload/src/upload2.mjs +104 -118
  380. package/es/components/upload/src/upload2.mjs.map +1 -1
  381. package/es/components/upload/src/use-handlers.mjs +1 -1
  382. package/es/index.mjs +2 -2
  383. package/es/version.d.ts +1 -1
  384. package/es/version.mjs +1 -1
  385. package/es/version.mjs.map +1 -1
  386. package/global.d.ts +1 -1
  387. package/lib/components/alert/index.d.ts +4 -4
  388. package/lib/components/alert/src/alert.d.ts +1 -1
  389. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  390. package/lib/components/autocomplete/index.d.ts +77 -66
  391. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +77 -66
  392. package/lib/components/badge/index.js +2 -2
  393. package/lib/components/badge/src/badge.js +38 -89
  394. package/lib/components/badge/src/badge.js.map +1 -1
  395. package/lib/components/badge/src/badge2.js +89 -38
  396. package/lib/components/badge/src/badge2.js.map +1 -1
  397. package/lib/components/button/index.d.ts +5 -5
  398. package/lib/components/button/src/button-group2.js +1 -1
  399. package/lib/components/button/src/button-group2.js.map +1 -1
  400. package/lib/components/button/src/button.d.ts +1 -1
  401. package/lib/components/button/src/button.vue.d.ts +5 -5
  402. package/lib/components/button/src/use-button.d.ts +1 -1
  403. package/lib/components/calendar/index.d.ts +5 -5
  404. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  405. package/lib/components/carousel/index.d.ts +1 -1
  406. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  407. package/lib/components/cascader/index.d.ts +198 -132
  408. package/lib/components/cascader/src/cascader.d.ts +7 -0
  409. package/lib/components/cascader/src/cascader.js +1 -0
  410. package/lib/components/cascader/src/cascader.js.map +1 -1
  411. package/lib/components/cascader/src/cascader.vue.d.ts +99 -66
  412. package/lib/components/cascader/src/cascader2.js +4 -2
  413. package/lib/components/cascader/src/cascader2.js.map +1 -1
  414. package/lib/components/color-picker/index.d.ts +42 -38
  415. package/lib/components/color-picker/src/color-picker.vue.d.ts +42 -38
  416. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +21 -17
  417. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +21 -17
  418. package/lib/components/date-picker/src/panel-utils.d.ts +42 -34
  419. package/lib/components/dialog/index.d.ts +1 -1
  420. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  421. package/lib/components/drawer/index.d.ts +1 -1
  422. package/lib/components/drawer/src/drawer.vue.d.ts +1 -1
  423. package/lib/components/dropdown/index.d.ts +14 -14
  424. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  425. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  426. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  427. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  428. package/lib/components/form/index.d.ts +12 -12
  429. package/lib/components/form/src/form-item.d.ts +1 -1
  430. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  431. package/lib/components/image/index.d.ts +1 -1
  432. package/lib/components/image/src/image.vue.d.ts +1 -1
  433. package/lib/components/index.js +2 -2
  434. package/lib/components/input/index.d.ts +16 -12
  435. package/lib/components/input/src/input.d.ts +1 -0
  436. package/lib/components/input/src/input.js +4 -0
  437. package/lib/components/input/src/input.js.map +1 -1
  438. package/lib/components/input/src/input.vue.d.ts +16 -12
  439. package/lib/components/input/src/input2.js +2 -1
  440. package/lib/components/input/src/input2.js.map +1 -1
  441. package/lib/components/input-number/index.d.ts +57 -46
  442. package/lib/components/input-number/src/input-number.vue.d.ts +57 -46
  443. package/lib/components/link/index.d.ts +4 -4
  444. package/lib/components/link/src/link.d.ts +1 -1
  445. package/lib/components/link/src/link.js +1 -1
  446. package/lib/components/link/src/link.js.map +1 -1
  447. package/lib/components/link/src/link.vue.d.ts +4 -4
  448. package/lib/components/message/src/message.d.ts +1 -1
  449. package/lib/components/message/src/message.vue.d.ts +4 -4
  450. package/lib/components/message-box/src/index.js +2 -2
  451. package/lib/components/message-box/src/index.js.map +1 -1
  452. package/lib/components/message-box/src/index.vue.d.ts +1 -1
  453. package/lib/components/notification/src/notification.d.ts +1 -1
  454. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  455. package/lib/components/pagination/src/components/jumper.vue.d.ts +16 -12
  456. package/lib/components/pagination/src/components/sizes.vue.d.ts +28 -28
  457. package/lib/components/popconfirm/index.d.ts +23 -23
  458. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  459. package/lib/components/popover/index.d.ts +18 -18
  460. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  461. package/lib/components/popper/src/content.vue.d.ts +6 -6
  462. package/lib/components/result/index.d.ts +4 -4
  463. package/lib/components/result/src/result.d.ts +1 -1
  464. package/lib/components/result/src/result.vue.d.ts +4 -4
  465. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  466. package/lib/components/select/index.d.ts +28 -28
  467. package/lib/components/select/src/select.vue.d.ts +28 -28
  468. package/lib/components/select/src/useSelect.d.ts +25 -25
  469. package/lib/components/select-v2/index.d.ts +56 -56
  470. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  471. package/lib/components/select-v2/src/select.vue.d.ts +28 -28
  472. package/lib/components/select-v2/src/useSelect.d.ts +25 -25
  473. package/lib/components/skeleton/index.d.ts +1 -1
  474. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  475. package/lib/components/slider/index.d.ts +87 -76
  476. package/lib/components/slider/src/button.vue.d.ts +6 -6
  477. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  478. package/lib/components/slider/src/slider.vue.d.ts +87 -76
  479. package/lib/components/steps/index.d.ts +16 -16
  480. package/lib/components/steps/src/item.d.ts +1 -1
  481. package/lib/components/steps/src/item.vue.d.ts +4 -4
  482. package/lib/components/steps/src/steps.d.ts +2 -2
  483. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  484. package/lib/components/table/index.d.ts +1 -1
  485. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  486. package/lib/components/table/src/table.vue.d.ts +1 -1
  487. package/lib/components/tag/index.d.ts +1 -1
  488. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  489. package/lib/components/text/index.d.ts +4 -18
  490. package/lib/components/text/src/text.d.ts +1 -6
  491. package/lib/components/text/src/text.js +1 -3
  492. package/lib/components/text/src/text.js.map +1 -1
  493. package/lib/components/text/src/text.vue.d.ts +4 -18
  494. package/lib/components/time-picker/src/common/picker.vue.d.ts +38 -34
  495. package/lib/components/time-select/index.d.ts +118 -118
  496. package/lib/components/time-select/src/time-select.vue.d.ts +59 -59
  497. package/lib/components/tooltip/index.d.ts +6 -6
  498. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  499. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  500. package/lib/components/tooltip-v2/index.d.ts +4 -4
  501. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  502. package/lib/components/tour/index.d.ts +11 -11
  503. package/lib/components/tour/src/content.vue.d.ts +1 -1
  504. package/lib/components/tour/src/step.vue.d.ts +5 -5
  505. package/lib/components/tour/src/tour.vue.d.ts +1 -1
  506. package/lib/components/transfer/index.d.ts +85 -65
  507. package/lib/components/transfer/src/transfer-panel.vue.d.ts +16 -12
  508. package/lib/components/transfer/src/transfer.vue.d.ts +85 -65
  509. package/lib/components/tree-v2/index.d.ts +1 -1
  510. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  511. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  512. package/lib/components/upload/index.d.ts +5 -5
  513. package/lib/components/upload/index.js +2 -2
  514. package/lib/components/upload/src/upload-content.js +1 -1
  515. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  516. package/lib/components/upload/src/upload-content2.js +1 -1
  517. package/lib/components/upload/src/upload-list.js +1 -1
  518. package/lib/components/upload/src/upload.js +118 -107
  519. package/lib/components/upload/src/upload.js.map +1 -1
  520. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  521. package/lib/components/upload/src/upload2.js +107 -118
  522. package/lib/components/upload/src/upload2.js.map +1 -1
  523. package/lib/components/upload/src/use-handlers.js +1 -1
  524. package/lib/index.js +2 -2
  525. package/lib/version.d.ts +1 -1
  526. package/lib/version.js +1 -1
  527. package/lib/version.js.map +1 -1
  528. package/package.json +2 -2
  529. package/tags.json +1 -1
  530. package/theme-chalk/el-button.css +1 -1
  531. package/theme-chalk/el-cascader.css +1 -1
  532. package/theme-chalk/el-tag.css +1 -1
  533. package/theme-chalk/index.css +1 -1
  534. package/theme-chalk/src/button-group.scss +1 -1
  535. package/theme-chalk/src/button.scss +16 -12
  536. package/theme-chalk/src/cascader.scss +10 -0
  537. package/theme-chalk/src/col.scss +2 -2
  538. package/theme-chalk/src/input-number.scss +2 -2
  539. package/theme-chalk/src/menu.scss +7 -6
  540. package/theme-chalk/src/mixins/_col.scss +2 -2
  541. package/theme-chalk/src/overlay.scss +3 -3
  542. package/theme-chalk/src/switch.scss +4 -4
  543. package/theme-chalk/src/table-v2.scss +7 -3
  544. package/theme-chalk/src/tag.scss +27 -28
  545. package/theme-chalk/src/upload.scss +5 -0
  546. package/web-types.json +1 -1
@@ -173,7 +173,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
173
173
  };
174
174
  readonly error: StringConstructor;
175
175
  readonly validateStatus: {
176
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
176
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
177
177
  readonly required: false;
178
178
  readonly validator: ((val: unknown) => boolean) | undefined;
179
179
  __epPropKey: true;
@@ -207,7 +207,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
207
207
  };
208
208
  readonly error: StringConstructor;
209
209
  readonly validateStatus: {
210
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
210
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
211
211
  readonly required: false;
212
212
  readonly validator: ((val: unknown) => boolean) | undefined;
213
213
  __epPropKey: true;
@@ -250,8 +250,8 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
250
250
  };
251
251
  labelId: string;
252
252
  inputIds: import("vue").Ref<string[]>;
253
- validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
254
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
253
+ validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
254
+ validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
255
255
  validateMessage: import("vue").Ref<string>;
256
256
  formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
257
257
  initialValue: any;
@@ -278,7 +278,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
278
278
  isRequired: import("vue").ComputedRef<boolean>;
279
279
  shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
280
280
  currentLabel: import("vue").ComputedRef<string>;
281
- setValidationState: (state: "" | "error" | "success" | "validating") => void;
281
+ setValidationState: (state: "" | "success" | "error" | "validating") => void;
282
282
  onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
283
283
  onValidationSucceeded: () => void;
284
284
  doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
@@ -317,7 +317,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
317
317
  };
318
318
  readonly error: StringConstructor;
319
319
  readonly validateStatus: {
320
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
320
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
321
321
  readonly required: false;
322
322
  readonly validator: ((val: unknown) => boolean) | undefined;
323
323
  __epPropKey: true;
@@ -359,7 +359,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
359
359
  };
360
360
  readonly error: StringConstructor;
361
361
  readonly validateStatus: {
362
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
362
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
363
363
  readonly required: false;
364
364
  readonly validator: ((val: unknown) => boolean) | undefined;
365
365
  __epPropKey: true;
@@ -393,7 +393,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
393
393
  };
394
394
  readonly error: StringConstructor;
395
395
  readonly validateStatus: {
396
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
396
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
397
397
  readonly required: false;
398
398
  readonly validator: ((val: unknown) => boolean) | undefined;
399
399
  __epPropKey: true;
@@ -436,8 +436,8 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
436
436
  };
437
437
  labelId: string;
438
438
  inputIds: import("vue").Ref<string[]>;
439
- validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
440
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
439
+ validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
440
+ validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
441
441
  validateMessage: import("vue").Ref<string>;
442
442
  formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
443
443
  initialValue: any;
@@ -464,7 +464,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
464
464
  isRequired: import("vue").ComputedRef<boolean>;
465
465
  shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
466
466
  currentLabel: import("vue").ComputedRef<string>;
467
- setValidationState: (state: "" | "error" | "success" | "validating") => void;
467
+ setValidationState: (state: "" | "success" | "error" | "validating") => void;
468
468
  onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
469
469
  onValidationSucceeded: () => void;
470
470
  doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
@@ -503,7 +503,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
503
503
  };
504
504
  readonly error: StringConstructor;
505
505
  readonly validateStatus: {
506
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
506
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
507
507
  readonly required: false;
508
508
  readonly validator: ((val: unknown) => boolean) | undefined;
509
509
  __epPropKey: true;
@@ -23,7 +23,7 @@ export declare const formItemProps: {
23
23
  };
24
24
  readonly error: StringConstructor;
25
25
  readonly validateStatus: {
26
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
26
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
27
27
  readonly required: false;
28
28
  readonly validator: ((val: unknown) => boolean) | undefined;
29
29
  __epPropKey: true;
@@ -22,7 +22,7 @@ declare const _default: import("vue").DefineComponent<{
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;
@@ -56,7 +56,7 @@ declare const _default: import("vue").DefineComponent<{
56
56
  };
57
57
  readonly error: StringConstructor;
58
58
  readonly validateStatus: {
59
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
59
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
60
60
  readonly required: false;
61
61
  readonly validator: ((val: unknown) => boolean) | undefined;
62
62
  __epPropKey: true;
@@ -99,8 +99,8 @@ declare const _default: import("vue").DefineComponent<{
99
99
  };
100
100
  labelId: string;
101
101
  inputIds: import("vue").Ref<string[]>;
102
- validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
103
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
102
+ validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
103
+ validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
104
104
  validateMessage: import("vue").Ref<string>;
105
105
  formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
106
106
  initialValue: any;
@@ -166,7 +166,7 @@ declare const _default: import("vue").DefineComponent<{
166
166
  };
167
167
  readonly error: StringConstructor;
168
168
  readonly validateStatus: {
169
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
169
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
170
170
  readonly required: false;
171
171
  readonly validator: ((val: unknown) => boolean) | undefined;
172
172
  __epPropKey: true;
@@ -80,7 +80,7 @@ export declare const ElImage: import("@element-plus/nightly/es/utils").SFCWithIn
80
80
  onLoad?: ((evt: Event) => any) | undefined;
81
81
  onSwitch?: ((val: number) => any) | undefined;
82
82
  }>>;
83
- emit: ((event: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
83
+ emit: ((event: "error", evt: Event) => void) & ((event: "close") => void) & ((event: "show") => void) & ((event: "load", evt: Event) => void) & ((event: "switch", val: number) => void);
84
84
  prevOverflow: string;
85
85
  t: import("../..").Translator;
86
86
  ns: {
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
81
81
  onLoad?: ((evt: Event) => any) | undefined;
82
82
  onSwitch?: ((val: number) => any) | undefined;
83
83
  }>>;
84
- emit: ((event: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
84
+ emit: ((event: "error", evt: Event) => void) & ((event: "close") => void) & ((event: "show") => void) & ((event: "load", evt: Event) => void) & ((event: "switch", val: number) => void);
85
85
  prevOverflow: string;
86
86
  t: import("@element-plus/nightly/es/hooks").Translator;
87
87
  ns: {
@@ -84,7 +84,7 @@ export { alertEffects, alertEmits, alertProps } from './alert/src/alert.mjs';
84
84
  export { autocompleteEmits, autocompleteProps } from './autocomplete/src/autocomplete.mjs';
85
85
  export { avatarEmits, avatarProps } from './avatar/src/avatar.mjs';
86
86
  export { backtopEmits, backtopProps } from './backtop/src/backtop.mjs';
87
- export { badgeProps } from './badge/src/badge2.mjs';
87
+ export { badgeProps } from './badge/src/badge.mjs';
88
88
  export { breadcrumbProps } from './breadcrumb/src/breadcrumb.mjs';
89
89
  export { breadcrumbItemProps } from './breadcrumb/src/breadcrumb-item.mjs';
90
90
  export { breadcrumbKey } from './breadcrumb/src/constants.mjs';
@@ -202,7 +202,7 @@ export { useTooltipTriggerProps } from './tooltip/src/trigger.mjs';
202
202
  export { useTooltipContentProps } from './tooltip/src/content.mjs';
203
203
  export { TOOLTIP_INJECTION_KEY } from './tooltip/src/constants.mjs';
204
204
  export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './transfer/src/transfer.mjs';
205
- export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './upload/src/upload.mjs';
205
+ export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './upload/src/upload2.mjs';
206
206
  export { uploadContentProps } from './upload/src/upload-content.mjs';
207
207
  export { uploadListEmits, uploadListProps } from './upload/src/upload-list.mjs';
208
208
  export { uploadDraggerEmits, uploadDraggerProps } from './upload/src/upload-dragger.mjs';
@@ -76,6 +76,7 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
76
76
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
77
77
  readonly inputStyle: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
78
78
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
79
+ readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
79
80
  }, {
80
81
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
81
82
  readonly ariaLabel: StringConstructor;
@@ -155,21 +156,22 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
155
156
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
156
157
  readonly inputStyle: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
157
158
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
159
+ readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
158
160
  }>> & {
159
161
  onChange?: ((value: string) => any) | undefined;
160
162
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
161
163
  onInput?: ((value: string) => any) | undefined;
162
- onBlur?: ((evt: FocusEvent) => any) | undefined;
163
164
  onFocus?: ((evt: FocusEvent) => any) | undefined;
165
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
164
166
  onClear?: (() => any) | undefined;
165
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
167
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
168
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
169
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
166
170
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
167
171
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
168
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
169
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
170
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
172
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
171
173
  }>>;
172
- emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void);
174
+ 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);
173
175
  rawAttrs: {
174
176
  [x: string]: unknown;
175
177
  };
@@ -234,7 +236,7 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
234
236
  handleFocus: (event: FocusEvent) => void;
235
237
  handleBlur: (event: FocusEvent) => void;
236
238
  needStatusIcon: import("vue").ComputedRef<boolean>;
237
- validateState: import("vue").ComputedRef<"" | "error" | "success" | "validating">;
239
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
238
240
  validateIcon: import("vue").ComputedRef<any>;
239
241
  passwordIcon: import("vue").ComputedRef<any>;
240
242
  containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
@@ -421,19 +423,20 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
421
423
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
422
424
  readonly inputStyle: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue) | ((new (...args: any[]) => import("vue").StyleValue & {}) | (() => import("vue").StyleValue))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
423
425
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
426
+ readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
424
427
  }>> & {
425
428
  onChange?: ((value: string) => any) | undefined;
426
429
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
427
430
  onInput?: ((value: string) => any) | undefined;
428
- onBlur?: ((evt: FocusEvent) => any) | undefined;
429
431
  onFocus?: ((evt: FocusEvent) => any) | undefined;
432
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
430
433
  onClear?: (() => any) | undefined;
431
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
434
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
435
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
436
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
432
437
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
433
438
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
434
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
435
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
436
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
439
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
437
440
  }, {
438
441
  readonly type: string;
439
442
  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>;
@@ -451,6 +454,7 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
451
454
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
452
455
  readonly inputStyle: import("vue").StyleValue;
453
456
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
457
+ readonly rows: number;
454
458
  }>> & Record<string, any>;
455
459
  export default ElInput;
456
460
  export * from './src/input';
@@ -82,6 +82,7 @@ export declare const inputProps: {
82
82
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
83
83
  readonly inputStyle: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
84
84
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
85
+ readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
85
86
  };
86
87
  export declare type InputProps = ExtractPropTypes<typeof inputProps>;
87
88
  export declare const inputEmits: {
@@ -104,6 +104,10 @@ const inputProps = buildProps({
104
104
  type: Boolean,
105
105
  default: false
106
106
  },
107
+ rows: {
108
+ type: Number,
109
+ default: 2
110
+ },
107
111
  ...useAriaProps(["ariaLabel"])
108
112
  });
109
113
  const inputEmits = {
@@ -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 { useAriaProps, 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 * @deprecated 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 ...useAriaProps(['ariaLabel']),\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;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AY,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 { useAriaProps, 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 * @deprecated 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 rows: {\n type: Number,\n default: 2,\n },\n ...useAriaProps(['ariaLabel']),\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;AACZ,IAAI,IAAI,EAAE,cA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AAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC7D,EAAE,cAAc,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,gBAAgB;AAC1D;;;;"}
@@ -77,6 +77,7 @@ declare const _default: import("vue").DefineComponent<{
77
77
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
78
78
  readonly inputStyle: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
79
79
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
80
+ readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
80
81
  }, {
81
82
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
82
83
  readonly ariaLabel: StringConstructor;
@@ -156,21 +157,22 @@ declare const _default: import("vue").DefineComponent<{
156
157
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
157
158
  readonly inputStyle: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
158
159
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
160
+ readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
159
161
  }>> & {
160
162
  onChange?: ((value: string) => any) | undefined;
161
163
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
162
164
  onInput?: ((value: string) => any) | undefined;
163
- onBlur?: ((evt: FocusEvent) => any) | undefined;
164
165
  onFocus?: ((evt: FocusEvent) => any) | undefined;
166
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
165
167
  onClear?: (() => any) | undefined;
166
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
168
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
169
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
170
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
167
171
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
168
172
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
169
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
170
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
171
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
173
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
172
174
  }>>;
173
- emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void);
175
+ 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);
174
176
  rawAttrs: {
175
177
  [x: string]: unknown;
176
178
  };
@@ -235,7 +237,7 @@ declare const _default: import("vue").DefineComponent<{
235
237
  handleFocus: (event: FocusEvent) => void;
236
238
  handleBlur: (event: FocusEvent) => void;
237
239
  needStatusIcon: import("vue").ComputedRef<boolean>;
238
- validateState: import("vue").ComputedRef<"" | "error" | "success" | "validating">;
240
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
239
241
  validateIcon: import("vue").ComputedRef<any>;
240
242
  passwordIcon: import("vue").ComputedRef<any>;
241
243
  containerStyle: import("vue").ComputedRef<StyleValue>;
@@ -422,19 +424,20 @@ declare const _default: import("vue").DefineComponent<{
422
424
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
423
425
  readonly inputStyle: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => StyleValue & {}) | (() => StyleValue) | ((new (...args: any[]) => StyleValue & {}) | (() => StyleValue))[], unknown, unknown, () => import("@element-plus/nightly/es/utils").Mutable<{}>, boolean>;
424
426
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
427
+ readonly rows: import("@element-plus/nightly/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
425
428
  }>> & {
426
429
  onChange?: ((value: string) => any) | undefined;
427
430
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
428
431
  onInput?: ((value: string) => any) | undefined;
429
- onBlur?: ((evt: FocusEvent) => any) | undefined;
430
432
  onFocus?: ((evt: FocusEvent) => any) | undefined;
433
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
431
434
  onClear?: (() => any) | undefined;
432
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
435
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
436
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
437
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
433
438
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
434
439
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
435
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
436
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
437
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
440
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
438
441
  }, {
439
442
  readonly type: string;
440
443
  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>;
@@ -452,5 +455,6 @@ declare const _default: import("vue").DefineComponent<{
452
455
  readonly validateEvent: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
453
456
  readonly inputStyle: StyleValue;
454
457
  readonly autofocus: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
458
+ readonly rows: number;
455
459
  }>;
456
460
  export default _default;
@@ -25,7 +25,7 @@ import { useDeprecated } from '../../../hooks/use-deprecated/index.mjs';
25
25
 
26
26
  const _hoisted_1 = ["role"];
27
27
  const _hoisted_2 = ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
28
- const _hoisted_3 = ["id", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
28
+ const _hoisted_3 = ["id", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus", "rows"];
29
29
  const __default__ = defineComponent({
30
30
  name: "ElInput",
31
31
  inheritAttrs: false
@@ -448,6 +448,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
448
448
  placeholder: _ctx.placeholder,
449
449
  form: _ctx.form,
450
450
  autofocus: _ctx.autofocus,
451
+ rows: _ctx.rows,
451
452
  onCompositionstart: handleCompositionStart,
452
453
  onCompositionupdate: handleCompositionUpdate,
453
454
  onCompositionend: handleCompositionEnd,
@@ -1 +1 @@
1
- {"version":3,"file":"input2.mjs","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\n v-bind=\"containerAttrs\"\n :class=\"[\n containerKls,\n {\n [nsInput.bm('group', 'append')]: $slots.append,\n [nsInput.bm('group', 'prepend')]: $slots.prepend,\n },\n ]\"\n :style=\"containerStyle\"\n :role=\"containerRole\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <!-- input -->\n <template v-if=\"type !== 'textarea'\">\n <!-- prepend slot -->\n <div v-if=\"$slots.prepend\" :class=\"nsInput.be('group', 'prepend')\">\n <slot name=\"prepend\" />\n </div>\n\n <div ref=\"wrapperRef\" :class=\"wrapperKls\">\n <!-- prefix slot -->\n <span v-if=\"$slots.prefix || prefixIcon\" :class=\"nsInput.e('prefix')\">\n <span :class=\"nsInput.e('prefix-inner')\">\n <slot name=\"prefix\" />\n <el-icon v-if=\"prefixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"prefixIcon\" />\n </el-icon>\n </span>\n </span>\n\n <input\n :id=\"inputId\"\n ref=\"input\"\n :class=\"nsInput.e('inner')\"\n v-bind=\"attrs\"\n :minlength=\"minlength\"\n :maxlength=\"maxlength\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"label || ariaLabel\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n\n <!-- suffix slot -->\n <span v-if=\"suffixVisible\" :class=\"nsInput.e('suffix')\">\n <span :class=\"nsInput.e('suffix-inner')\">\n <template\n v-if=\"!showClear || !showPwdVisible || !isWordLimitVisible\"\n >\n <slot name=\"suffix\" />\n <el-icon v-if=\"suffixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"suffixIcon\" />\n </el-icon>\n </template>\n <el-icon\n v-if=\"showClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <circle-close />\n </el-icon>\n <el-icon\n v-if=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n >\n <component :is=\"passwordIcon\" />\n </el-icon>\n <span v-if=\"isWordLimitVisible\" :class=\"nsInput.e('count')\">\n <span :class=\"nsInput.e('count-inner')\">\n {{ textLength }} / {{ maxlength }}\n </span>\n </span>\n <el-icon\n v-if=\"validateState && validateIcon && needStatusIcon\"\n :class=\"[\n nsInput.e('icon'),\n nsInput.e('validateIcon'),\n nsInput.is('loading', validateState === 'validating'),\n ]\"\n >\n <component :is=\"validateIcon\" />\n </el-icon>\n </span>\n </span>\n </div>\n\n <!-- append slot -->\n <div v-if=\"$slots.append\" :class=\"nsInput.be('group', 'append')\">\n <slot name=\"append\" />\n </div>\n </template>\n\n <!-- textarea -->\n <template v-else>\n <textarea\n :id=\"inputId\"\n ref=\"textarea\"\n :class=\"[nsTextarea.e('inner'), nsInput.is('focus', isFocused)]\"\n v-bind=\"attrs\"\n :minlength=\"minlength\"\n :maxlength=\"maxlength\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"label || ariaLabel\"\n :placeholder=\"placeholder\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"nsInput.e('count')\"\n >\n {{ textLength }} / {{ maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onMounted,\n ref,\n shallowRef,\n toRef,\n useAttrs as useRawAttrs,\n useSlots,\n watch,\n} from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { isNil } from 'lodash-unified'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n CircleClose,\n Hide as IconHide,\n View as IconView,\n} from '@element-plus/icons-vue'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport {\n NOOP,\n ValidateComponentsMap,\n debugWarn,\n isClient,\n isKorean,\n isObject,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useCursor,\n useDeprecated,\n useFocusController,\n useNamespace,\n} from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { calcTextareaHeight } from './utils'\nimport { inputEmits, inputProps } from './input'\nimport type { StyleValue } from 'vue'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\n\ndefineOptions({\n name: 'ElInput',\n inheritAttrs: false,\n})\nconst props = defineProps(inputProps)\nconst emit = defineEmits(inputEmits)\n\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\n\nconst containerAttrs = computed(() => {\n const comboBoxAttrs: Record<string, unknown> = {}\n if (props.containerRole === 'combobox') {\n comboBoxAttrs['aria-haspopup'] = rawAttrs['aria-haspopup']\n comboBoxAttrs['aria-owns'] = rawAttrs['aria-owns']\n comboBoxAttrs['aria-expanded'] = rawAttrs['aria-expanded']\n }\n return comboBoxAttrs\n})\n\nconst containerKls = computed(() => [\n props.type === 'textarea' ? nsTextarea.b() : nsInput.b(),\n nsInput.m(inputSize.value),\n nsInput.is('disabled', inputDisabled.value),\n nsInput.is('exceed', inputExceed.value),\n {\n [nsInput.b('group')]: slots.prepend || slots.append,\n [nsInput.m('prefix')]: slots.prefix || props.prefixIcon,\n [nsInput.m('suffix')]:\n slots.suffix || props.suffixIcon || props.clearable || props.showPassword,\n [nsInput.bm('suffix', 'password-clear')]:\n showClear.value && showPwdVisible.value,\n [nsInput.b('hidden')]: props.type === 'hidden',\n },\n rawAttrs.class,\n])\n\nconst wrapperKls = computed(() => [\n nsInput.e('wrapper'),\n nsInput.is('focus', isFocused.value),\n])\n\nconst attrs = useAttrs({\n excludeKeys: computed<string[]>(() => {\n return Object.keys(containerAttrs.value)\n }),\n})\nconst { form: elForm, formItem: elFormItem } = useFormItem()\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: elFormItem,\n})\nconst inputSize = useFormSize()\nconst inputDisabled = useFormDisabled()\nconst nsInput = useNamespace('input')\nconst nsTextarea = useNamespace('textarea')\n\nconst input = shallowRef<HTMLInputElement>()\nconst textarea = shallowRef<HTMLTextAreaElement>()\n\nconst hovering = ref(false)\nconst isComposing = ref(false)\nconst passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\n\nconst _ref = computed(() => input.value || textarea.value)\n\nconst { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(\n _ref,\n {\n afterBlur() {\n if (props.validateEvent) {\n elFormItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n },\n }\n)\n\nconst needStatusIcon = computed(() => elForm?.statusIcon ?? false)\nconst validateState = computed(() => elFormItem?.validateState || '')\nconst validateIcon = computed(\n () => validateState.value && ValidateComponentsMap[validateState.value]\n)\nconst passwordIcon = computed(() =>\n passwordVisible.value ? IconView : IconHide\n)\nconst containerStyle = computed<StyleValue>(() => [\n rawAttrs.style as StyleValue,\n])\nconst textareaStyle = computed<StyleValue>(() => [\n props.inputStyle,\n textareaCalcStyle.value,\n { resize: props.resize },\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst showClear = computed(\n () =>\n props.clearable &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (isFocused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () =>\n props.showPassword &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (!!nativeInputValue.value || isFocused.value)\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!props.maxlength &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => nativeInputValue.value.length)\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value && textLength.value > Number(props.maxlength)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n showClear.value ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nuseResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea()\n if (!isWordLimitVisible.value || props.resize !== 'both') return\n const entry = entries[0]\n const { width } = entry.contentRect\n countStyle.value = {\n /** right: 100% - width + padding(15) + right(6) */\n right: `calc(100% - ${width + 15 + 6}px)`,\n }\n})\n\nconst resizeTextarea = () => {\n const { type, autosize } = props\n\n if (!isClient || type !== 'textarea' || !textarea.value) return\n\n if (autosize) {\n const minRows = isObject(autosize) ? autosize.minRows : undefined\n const maxRows = isObject(autosize) ? autosize.maxRows : undefined\n const textareaStyle = calcTextareaHeight(textarea.value, minRows, maxRows)\n\n // If the scrollbar is displayed, the height of the textarea needs more space than the calculated height.\n // If set textarea height in this case, the scrollbar will not hide.\n // So we need to hide scrollbar first, and reset it in next tick.\n // see https://github.com/element-plus/element-plus/issues/8825\n textareaCalcStyle.value = {\n overflowY: 'hidden',\n ...textareaStyle,\n }\n\n nextTick(() => {\n // NOTE: Force repaint to make sure the style set above is applied.\n textarea.value!.offsetHeight\n textareaCalcStyle.value = textareaStyle\n })\n } else {\n textareaCalcStyle.value = {\n minHeight: calcTextareaHeight(textarea.value).minHeight,\n }\n }\n}\n\nconst createOnceInitResize = (resizeTextarea: () => void) => {\n let isInit = false\n return () => {\n if (isInit || !props.autosize) return\n const isElHidden = textarea.value?.offsetParent === null\n if (!isElHidden) {\n resizeTextarea()\n isInit = true\n }\n }\n}\n// fix: https://github.com/element-plus/element-plus/issues/12074\nconst onceInitSizeTextarea = createOnceInitResize(resizeTextarea)\n\nconst setNativeInputValue = () => {\n const input = _ref.value\n const formatterValue = props.formatter\n ? props.formatter(nativeInputValue.value)\n : nativeInputValue.value\n if (!input || input.value === formatterValue) return\n input.value = formatterValue\n}\n\nconst handleInput = async (event: Event) => {\n recordCursor()\n\n let { value } = event.target as TargetElement\n\n if (props.formatter) {\n value = props.parser ? props.parser(value) : value\n }\n\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n // hack for https://github.com/ElemeFE/element/issues/8548\n // should remove the following line when we don't support IE\n if (value === nativeInputValue.value) {\n setNativeInputValue()\n return\n }\n\n emit(UPDATE_MODEL_EVENT, value)\n emit('input', value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n setNativeInputValue()\n setCursor()\n}\n\nconst handleChange = (event: Event) => {\n emit('change', (event.target as TargetElement).value)\n}\n\nconst handleCompositionStart = (event: CompositionEvent) => {\n emit('compositionstart', event)\n isComposing.value = true\n}\n\nconst handleCompositionUpdate = (event: CompositionEvent) => {\n emit('compositionupdate', event)\n const text = (event.target as HTMLInputElement)?.value\n const lastCharacter = text[text.length - 1] || ''\n isComposing.value = !isKorean(lastCharacter)\n}\n\nconst handleCompositionEnd = (event: CompositionEvent) => {\n emit('compositionend', event)\n if (isComposing.value) {\n isComposing.value = false\n handleInput(event)\n }\n}\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n focus()\n}\n\nconst focus = async () => {\n // see: https://github.com/ElemeFE/element/issues/18573\n await nextTick()\n _ref.value?.focus()\n}\n\nconst blur = () => _ref.value?.blur()\n\nconst handleMouseLeave = (evt: MouseEvent) => {\n hovering.value = false\n emit('mouseleave', evt)\n}\n\nconst handleMouseEnter = (evt: MouseEvent) => {\n hovering.value = true\n emit('mouseenter', evt)\n}\n\nconst handleKeydown = (evt: KeyboardEvent) => {\n emit('keydown', evt)\n}\n\nconst select = () => {\n _ref.value?.select()\n}\n\nconst clear = () => {\n emit(UPDATE_MODEL_EVENT, '')\n emit('change', '')\n emit('clear')\n emit('input', '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => resizeTextarea())\n if (props.validateEvent) {\n elFormItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n }\n)\n\n// native input value is set explicitly\n// do not use v-model / :value in template\n// see: https://github.com/ElemeFE/element/issues/14521\nwatch(nativeInputValue, () => setNativeInputValue())\n\n// when change between <input> and <textarea>,\n// update DOM dependent value and styles\n// https://github.com/ElemeFE/element/issues/14857\nwatch(\n () => props.type,\n async () => {\n await nextTick()\n setNativeInputValue()\n resizeTextarea()\n }\n)\n\nonMounted(() => {\n if (!props.formatter && props.parser) {\n debugWarn(\n 'ElInput',\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n nextTick(resizeTextarea)\n})\n\nuseDeprecated(\n {\n from: 'label',\n replacement: 'aria-label',\n version: '2.8.0',\n scope: 'el-input',\n ref: 'https://element-plus.org/en-US/component/input.html',\n },\n computed(() => !!props.label)\n)\n\ndefineExpose({\n /** @description HTML input element */\n input,\n /** @description HTML textarea element */\n textarea,\n /** @description HTML element, input or textarea */\n ref: _ref,\n /** @description style of textarea. */\n textareaStyle,\n\n /** @description from props (used on unit test) */\n autosize: toRef(props, 'autosize'),\n\n /** @description HTML input element native method */\n focus,\n /** @description HTML input element native method */\n blur,\n /** @description HTML input element native method */\n select,\n /** @description clear input value */\n clear,\n /** @description resize textarea. */\n resizeTextarea,\n})\n</script>\n"],"names":["useRawAttrs","useAttrs","IconView","IconHide"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAqMc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;;AAIA,IAAA,MAAM,WAAWA,QAAY,EAAA,CAAA;AAC7B,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,cAAA,GAAiB,SAAS,MAAM;AACpC,MAAA,MAAM,gBAAyC,EAAC,CAAA;AAChD,MAAI,IAAA,KAAA,CAAM,kBAAkB,UAAY,EAAA;AACtC,QAAA,aAAA,CAAc,mBAAmB,QAAS,CAAA,eAAA,CAAA,CAAA;AAC1C,QAAA,aAAA,CAAc,eAAe,QAAS,CAAA,WAAA,CAAA,CAAA;AACtC,QAAA,aAAA,CAAc,mBAAmB,QAAS,CAAA,eAAA,CAAA,CAAA;AAAA,OAC5C;AACA,MAAO,OAAA,aAAA,CAAA;AAAA,KACR,CAAA,CAAA;AAED,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAAA,MAClC,MAAM,IAAS,KAAA,UAAA,GAAa,WAAW,CAAE,EAAA,GAAI,QAAQ,CAAE,EAAA;AAAA,MACvD,OAAA,CAAQ,CAAE,CAAA,SAAA,CAAU,KAAK,CAAA;AAAA,MACzB,OAAQ,CAAA,EAAA,CAAG,UAAY,EAAA,aAAA,CAAc,KAAK,CAAA;AAAA,MAC1C,OAAQ,CAAA,EAAA,CAAG,QAAU,EAAA,WAAA,CAAY,KAAK,CAAA;AAAA,MACtC;AAAA,QACE,CAAC,OAAQ,CAAA,CAAA,CAAE,OAAO,CAAI,GAAA,KAAA,CAAM,WAAW,KAAM,CAAA,MAAA;A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AAA,CAAA,MAAA,CAAA,CAAA,KAAA,CAAA,KAAA,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"input2.mjs","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\n v-bind=\"containerAttrs\"\n :class=\"[\n containerKls,\n {\n [nsInput.bm('group', 'append')]: $slots.append,\n [nsInput.bm('group', 'prepend')]: $slots.prepend,\n },\n ]\"\n :style=\"containerStyle\"\n :role=\"containerRole\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n >\n <!-- input -->\n <template v-if=\"type !== 'textarea'\">\n <!-- prepend slot -->\n <div v-if=\"$slots.prepend\" :class=\"nsInput.be('group', 'prepend')\">\n <slot name=\"prepend\" />\n </div>\n\n <div ref=\"wrapperRef\" :class=\"wrapperKls\">\n <!-- prefix slot -->\n <span v-if=\"$slots.prefix || prefixIcon\" :class=\"nsInput.e('prefix')\">\n <span :class=\"nsInput.e('prefix-inner')\">\n <slot name=\"prefix\" />\n <el-icon v-if=\"prefixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"prefixIcon\" />\n </el-icon>\n </span>\n </span>\n\n <input\n :id=\"inputId\"\n ref=\"input\"\n :class=\"nsInput.e('inner')\"\n v-bind=\"attrs\"\n :minlength=\"minlength\"\n :maxlength=\"maxlength\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"label || ariaLabel\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n\n <!-- suffix slot -->\n <span v-if=\"suffixVisible\" :class=\"nsInput.e('suffix')\">\n <span :class=\"nsInput.e('suffix-inner')\">\n <template\n v-if=\"!showClear || !showPwdVisible || !isWordLimitVisible\"\n >\n <slot name=\"suffix\" />\n <el-icon v-if=\"suffixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"suffixIcon\" />\n </el-icon>\n </template>\n <el-icon\n v-if=\"showClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <circle-close />\n </el-icon>\n <el-icon\n v-if=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n >\n <component :is=\"passwordIcon\" />\n </el-icon>\n <span v-if=\"isWordLimitVisible\" :class=\"nsInput.e('count')\">\n <span :class=\"nsInput.e('count-inner')\">\n {{ textLength }} / {{ maxlength }}\n </span>\n </span>\n <el-icon\n v-if=\"validateState && validateIcon && needStatusIcon\"\n :class=\"[\n nsInput.e('icon'),\n nsInput.e('validateIcon'),\n nsInput.is('loading', validateState === 'validating'),\n ]\"\n >\n <component :is=\"validateIcon\" />\n </el-icon>\n </span>\n </span>\n </div>\n\n <!-- append slot -->\n <div v-if=\"$slots.append\" :class=\"nsInput.be('group', 'append')\">\n <slot name=\"append\" />\n </div>\n </template>\n\n <!-- textarea -->\n <template v-else>\n <textarea\n :id=\"inputId\"\n ref=\"textarea\"\n :class=\"[nsTextarea.e('inner'), nsInput.is('focus', isFocused)]\"\n v-bind=\"attrs\"\n :minlength=\"minlength\"\n :maxlength=\"maxlength\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"label || ariaLabel\"\n :placeholder=\"placeholder\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :rows=\"rows\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"nsInput.e('count')\"\n >\n {{ textLength }} / {{ maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onMounted,\n ref,\n shallowRef,\n toRef,\n useAttrs as useRawAttrs,\n useSlots,\n watch,\n} from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { isNil } from 'lodash-unified'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n CircleClose,\n Hide as IconHide,\n View as IconView,\n} from '@element-plus/icons-vue'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport {\n NOOP,\n ValidateComponentsMap,\n debugWarn,\n isClient,\n isKorean,\n isObject,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useCursor,\n useDeprecated,\n useFocusController,\n useNamespace,\n} from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { calcTextareaHeight } from './utils'\nimport { inputEmits, inputProps } from './input'\nimport type { StyleValue } from 'vue'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\n\ndefineOptions({\n name: 'ElInput',\n inheritAttrs: false,\n})\nconst props = defineProps(inputProps)\nconst emit = defineEmits(inputEmits)\n\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\n\nconst containerAttrs = computed(() => {\n const comboBoxAttrs: Record<string, unknown> = {}\n if (props.containerRole === 'combobox') {\n comboBoxAttrs['aria-haspopup'] = rawAttrs['aria-haspopup']\n comboBoxAttrs['aria-owns'] = rawAttrs['aria-owns']\n comboBoxAttrs['aria-expanded'] = rawAttrs['aria-expanded']\n }\n return comboBoxAttrs\n})\n\nconst containerKls = computed(() => [\n props.type === 'textarea' ? nsTextarea.b() : nsInput.b(),\n nsInput.m(inputSize.value),\n nsInput.is('disabled', inputDisabled.value),\n nsInput.is('exceed', inputExceed.value),\n {\n [nsInput.b('group')]: slots.prepend || slots.append,\n [nsInput.m('prefix')]: slots.prefix || props.prefixIcon,\n [nsInput.m('suffix')]:\n slots.suffix || props.suffixIcon || props.clearable || props.showPassword,\n [nsInput.bm('suffix', 'password-clear')]:\n showClear.value && showPwdVisible.value,\n [nsInput.b('hidden')]: props.type === 'hidden',\n },\n rawAttrs.class,\n])\n\nconst wrapperKls = computed(() => [\n nsInput.e('wrapper'),\n nsInput.is('focus', isFocused.value),\n])\n\nconst attrs = useAttrs({\n excludeKeys: computed<string[]>(() => {\n return Object.keys(containerAttrs.value)\n }),\n})\nconst { form: elForm, formItem: elFormItem } = useFormItem()\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: elFormItem,\n})\nconst inputSize = useFormSize()\nconst inputDisabled = useFormDisabled()\nconst nsInput = useNamespace('input')\nconst nsTextarea = useNamespace('textarea')\n\nconst input = shallowRef<HTMLInputElement>()\nconst textarea = shallowRef<HTMLTextAreaElement>()\n\nconst hovering = ref(false)\nconst isComposing = ref(false)\nconst passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\n\nconst _ref = computed(() => input.value || textarea.value)\n\nconst { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(\n _ref,\n {\n afterBlur() {\n if (props.validateEvent) {\n elFormItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n },\n }\n)\n\nconst needStatusIcon = computed(() => elForm?.statusIcon ?? false)\nconst validateState = computed(() => elFormItem?.validateState || '')\nconst validateIcon = computed(\n () => validateState.value && ValidateComponentsMap[validateState.value]\n)\nconst passwordIcon = computed(() =>\n passwordVisible.value ? IconView : IconHide\n)\nconst containerStyle = computed<StyleValue>(() => [\n rawAttrs.style as StyleValue,\n])\nconst textareaStyle = computed<StyleValue>(() => [\n props.inputStyle,\n textareaCalcStyle.value,\n { resize: props.resize },\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst showClear = computed(\n () =>\n props.clearable &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (isFocused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () =>\n props.showPassword &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (!!nativeInputValue.value || isFocused.value)\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!props.maxlength &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => nativeInputValue.value.length)\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value && textLength.value > Number(props.maxlength)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n showClear.value ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nuseResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea()\n if (!isWordLimitVisible.value || props.resize !== 'both') return\n const entry = entries[0]\n const { width } = entry.contentRect\n countStyle.value = {\n /** right: 100% - width + padding(15) + right(6) */\n right: `calc(100% - ${width + 15 + 6}px)`,\n }\n})\n\nconst resizeTextarea = () => {\n const { type, autosize } = props\n\n if (!isClient || type !== 'textarea' || !textarea.value) return\n\n if (autosize) {\n const minRows = isObject(autosize) ? autosize.minRows : undefined\n const maxRows = isObject(autosize) ? autosize.maxRows : undefined\n const textareaStyle = calcTextareaHeight(textarea.value, minRows, maxRows)\n\n // If the scrollbar is displayed, the height of the textarea needs more space than the calculated height.\n // If set textarea height in this case, the scrollbar will not hide.\n // So we need to hide scrollbar first, and reset it in next tick.\n // see https://github.com/element-plus/element-plus/issues/8825\n textareaCalcStyle.value = {\n overflowY: 'hidden',\n ...textareaStyle,\n }\n\n nextTick(() => {\n // NOTE: Force repaint to make sure the style set above is applied.\n textarea.value!.offsetHeight\n textareaCalcStyle.value = textareaStyle\n })\n } else {\n textareaCalcStyle.value = {\n minHeight: calcTextareaHeight(textarea.value).minHeight,\n }\n }\n}\n\nconst createOnceInitResize = (resizeTextarea: () => void) => {\n let isInit = false\n return () => {\n if (isInit || !props.autosize) return\n const isElHidden = textarea.value?.offsetParent === null\n if (!isElHidden) {\n resizeTextarea()\n isInit = true\n }\n }\n}\n// fix: https://github.com/element-plus/element-plus/issues/12074\nconst onceInitSizeTextarea = createOnceInitResize(resizeTextarea)\n\nconst setNativeInputValue = () => {\n const input = _ref.value\n const formatterValue = props.formatter\n ? props.formatter(nativeInputValue.value)\n : nativeInputValue.value\n if (!input || input.value === formatterValue) return\n input.value = formatterValue\n}\n\nconst handleInput = async (event: Event) => {\n recordCursor()\n\n let { value } = event.target as TargetElement\n\n if (props.formatter) {\n value = props.parser ? props.parser(value) : value\n }\n\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n // hack for https://github.com/ElemeFE/element/issues/8548\n // should remove the following line when we don't support IE\n if (value === nativeInputValue.value) {\n setNativeInputValue()\n return\n }\n\n emit(UPDATE_MODEL_EVENT, value)\n emit('input', value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n setNativeInputValue()\n setCursor()\n}\n\nconst handleChange = (event: Event) => {\n emit('change', (event.target as TargetElement).value)\n}\n\nconst handleCompositionStart = (event: CompositionEvent) => {\n emit('compositionstart', event)\n isComposing.value = true\n}\n\nconst handleCompositionUpdate = (event: CompositionEvent) => {\n emit('compositionupdate', event)\n const text = (event.target as HTMLInputElement)?.value\n const lastCharacter = text[text.length - 1] || ''\n isComposing.value = !isKorean(lastCharacter)\n}\n\nconst handleCompositionEnd = (event: CompositionEvent) => {\n emit('compositionend', event)\n if (isComposing.value) {\n isComposing.value = false\n handleInput(event)\n }\n}\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n focus()\n}\n\nconst focus = async () => {\n // see: https://github.com/ElemeFE/element/issues/18573\n await nextTick()\n _ref.value?.focus()\n}\n\nconst blur = () => _ref.value?.blur()\n\nconst handleMouseLeave = (evt: MouseEvent) => {\n hovering.value = false\n emit('mouseleave', evt)\n}\n\nconst handleMouseEnter = (evt: MouseEvent) => {\n hovering.value = true\n emit('mouseenter', evt)\n}\n\nconst handleKeydown = (evt: KeyboardEvent) => {\n emit('keydown', evt)\n}\n\nconst select = () => {\n _ref.value?.select()\n}\n\nconst clear = () => {\n emit(UPDATE_MODEL_EVENT, '')\n emit('change', '')\n emit('clear')\n emit('input', '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => resizeTextarea())\n if (props.validateEvent) {\n elFormItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n }\n)\n\n// native input value is set explicitly\n// do not use v-model / :value in template\n// see: https://github.com/ElemeFE/element/issues/14521\nwatch(nativeInputValue, () => setNativeInputValue())\n\n// when change between <input> and <textarea>,\n// update DOM dependent value and styles\n// https://github.com/ElemeFE/element/issues/14857\nwatch(\n () => props.type,\n async () => {\n await nextTick()\n setNativeInputValue()\n resizeTextarea()\n }\n)\n\nonMounted(() => {\n if (!props.formatter && props.parser) {\n debugWarn(\n 'ElInput',\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n nextTick(resizeTextarea)\n})\n\nuseDeprecated(\n {\n from: 'label',\n replacement: 'aria-label',\n version: '2.8.0',\n scope: 'el-input',\n ref: 'https://element-plus.org/en-US/component/input.html',\n },\n computed(() => !!props.label)\n)\n\ndefineExpose({\n /** @description HTML input element */\n input,\n /** @description HTML textarea element */\n textarea,\n /** @description HTML element, input or textarea */\n ref: _ref,\n /** @description style of textarea. */\n textareaStyle,\n\n /** @description from props (used on unit test) */\n autosize: toRef(props, 'autosize'),\n\n /** @description HTML input element native method */\n focus,\n /** @description HTML input element native method */\n blur,\n /** @description HTML input element native method */\n select,\n /** @description clear input value */\n clear,\n /** @description resize textarea. */\n resizeTextarea,\n})\n</script>\n"],"names":["useRawAttrs","useAttrs","IconView","IconHide"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAsMc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;;AAIA,IAAA,MAAM,WAAWA,QAAY,EAAA,CAAA;AAC7B,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,cAAA,GAAiB,SAAS,MAAM;AACpC,MAAA,MAAM,gBAAyC,EAAC,CAAA;AAChD,MAAI,IAAA,KAAA,CAAM,kBAAkB,UAAY,EAAA;AACtC,QAAA,aAAA,CAAc,mBAAmB,QAAS,CAAA,eAAA,CAAA,CAAA;AAC1C,QAAA,aAAA,CAAc,eAAe,QAAS,CAAA,WAAA,CAAA,CAAA;AACtC,QAAA,aAAA,CAAc,mBAAmB,QAAS,CAAA,eAAA,CAAA,CAAA;AAAA,OAC5C;AACA,MAAO,OAAA,aAAA,CAAA;AAAA,KACR,CAAA,CAAA;AAED,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAAA,MAClC,MAAM,IAAS,KAAA,UAAA,GAAa,WAAW,CAAE,EAAA,GAAI,QAAQ,CAAE,EAAA;AAAA,MACvD,OAAA,CAAQ,CAAE,CAAA,SAAA,CAAU,KAAK,CAAA;AAAA,MACzB,OAAQ,CAAA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