@element-plus/nightly 0.0.20260805 → 0.0.20260809

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 (726) hide show
  1. package/dist/index.full.js +51 -23
  2. package/dist/index.full.min.js +6 -6
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +8 -8
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +52 -23
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hi.js +1 -1
  92. package/dist/locale/hi.min.js +1 -1
  93. package/dist/locale/hi.min.mjs +1 -1
  94. package/dist/locale/hi.mjs +1 -1
  95. package/dist/locale/hr.js +1 -1
  96. package/dist/locale/hr.min.js +1 -1
  97. package/dist/locale/hr.min.mjs +1 -1
  98. package/dist/locale/hr.mjs +1 -1
  99. package/dist/locale/hu.js +1 -1
  100. package/dist/locale/hu.min.js +1 -1
  101. package/dist/locale/hu.min.mjs +1 -1
  102. package/dist/locale/hu.mjs +1 -1
  103. package/dist/locale/hy-am.js +1 -1
  104. package/dist/locale/hy-am.min.js +1 -1
  105. package/dist/locale/hy-am.min.mjs +1 -1
  106. package/dist/locale/hy-am.mjs +1 -1
  107. package/dist/locale/id.js +1 -1
  108. package/dist/locale/id.min.js +1 -1
  109. package/dist/locale/id.min.mjs +1 -1
  110. package/dist/locale/id.mjs +1 -1
  111. package/dist/locale/it.js +1 -1
  112. package/dist/locale/it.min.js +1 -1
  113. package/dist/locale/it.min.mjs +1 -1
  114. package/dist/locale/it.mjs +1 -1
  115. package/dist/locale/ja.js +1 -1
  116. package/dist/locale/ja.min.js +1 -1
  117. package/dist/locale/ja.min.mjs +1 -1
  118. package/dist/locale/ja.mjs +1 -1
  119. package/dist/locale/kk.js +1 -1
  120. package/dist/locale/kk.min.js +1 -1
  121. package/dist/locale/kk.min.mjs +1 -1
  122. package/dist/locale/kk.mjs +1 -1
  123. package/dist/locale/km.js +1 -1
  124. package/dist/locale/km.min.js +1 -1
  125. package/dist/locale/km.min.mjs +1 -1
  126. package/dist/locale/km.mjs +1 -1
  127. package/dist/locale/ko.js +1 -1
  128. package/dist/locale/ko.min.js +1 -1
  129. package/dist/locale/ko.min.mjs +1 -1
  130. package/dist/locale/ko.mjs +1 -1
  131. package/dist/locale/ku.js +1 -1
  132. package/dist/locale/ku.min.js +1 -1
  133. package/dist/locale/ku.min.mjs +1 -1
  134. package/dist/locale/ku.mjs +1 -1
  135. package/dist/locale/ky.js +1 -1
  136. package/dist/locale/ky.min.js +1 -1
  137. package/dist/locale/ky.min.mjs +1 -1
  138. package/dist/locale/ky.mjs +1 -1
  139. package/dist/locale/lo.js +1 -1
  140. package/dist/locale/lo.min.js +1 -1
  141. package/dist/locale/lo.min.mjs +1 -1
  142. package/dist/locale/lo.mjs +1 -1
  143. package/dist/locale/lt.js +1 -1
  144. package/dist/locale/lt.min.js +1 -1
  145. package/dist/locale/lt.min.mjs +1 -1
  146. package/dist/locale/lt.mjs +1 -1
  147. package/dist/locale/lv.js +1 -1
  148. package/dist/locale/lv.min.js +1 -1
  149. package/dist/locale/lv.min.mjs +1 -1
  150. package/dist/locale/lv.mjs +1 -1
  151. package/dist/locale/mg.js +1 -1
  152. package/dist/locale/mg.min.js +1 -1
  153. package/dist/locale/mg.min.mjs +1 -1
  154. package/dist/locale/mg.mjs +1 -1
  155. package/dist/locale/mn.js +1 -1
  156. package/dist/locale/mn.min.js +1 -1
  157. package/dist/locale/mn.min.mjs +1 -1
  158. package/dist/locale/mn.mjs +1 -1
  159. package/dist/locale/ms.js +1 -1
  160. package/dist/locale/ms.min.js +1 -1
  161. package/dist/locale/ms.min.mjs +1 -1
  162. package/dist/locale/ms.mjs +1 -1
  163. package/dist/locale/my.js +1 -1
  164. package/dist/locale/my.min.js +1 -1
  165. package/dist/locale/my.min.mjs +1 -1
  166. package/dist/locale/my.mjs +1 -1
  167. package/dist/locale/nb-no.js +1 -1
  168. package/dist/locale/nb-no.min.js +1 -1
  169. package/dist/locale/nb-no.min.mjs +1 -1
  170. package/dist/locale/nb-no.mjs +1 -1
  171. package/dist/locale/nl.js +1 -1
  172. package/dist/locale/nl.min.js +1 -1
  173. package/dist/locale/nl.min.mjs +1 -1
  174. package/dist/locale/nl.mjs +1 -1
  175. package/dist/locale/no.js +1 -1
  176. package/dist/locale/no.min.js +1 -1
  177. package/dist/locale/no.min.mjs +1 -1
  178. package/dist/locale/no.mjs +1 -1
  179. package/dist/locale/pa.js +1 -1
  180. package/dist/locale/pa.min.js +1 -1
  181. package/dist/locale/pa.min.mjs +1 -1
  182. package/dist/locale/pa.mjs +1 -1
  183. package/dist/locale/pl.js +1 -1
  184. package/dist/locale/pl.min.js +1 -1
  185. package/dist/locale/pl.min.mjs +1 -1
  186. package/dist/locale/pl.mjs +1 -1
  187. package/dist/locale/pt-br.js +1 -1
  188. package/dist/locale/pt-br.min.js +1 -1
  189. package/dist/locale/pt-br.min.mjs +1 -1
  190. package/dist/locale/pt-br.mjs +1 -1
  191. package/dist/locale/pt.js +1 -1
  192. package/dist/locale/pt.min.js +1 -1
  193. package/dist/locale/pt.min.mjs +1 -1
  194. package/dist/locale/pt.mjs +1 -1
  195. package/dist/locale/ro.js +1 -1
  196. package/dist/locale/ro.min.js +1 -1
  197. package/dist/locale/ro.min.mjs +1 -1
  198. package/dist/locale/ro.mjs +1 -1
  199. package/dist/locale/ru.js +1 -1
  200. package/dist/locale/ru.min.js +1 -1
  201. package/dist/locale/ru.min.mjs +1 -1
  202. package/dist/locale/ru.mjs +1 -1
  203. package/dist/locale/sk.js +1 -1
  204. package/dist/locale/sk.min.js +1 -1
  205. package/dist/locale/sk.min.mjs +1 -1
  206. package/dist/locale/sk.mjs +1 -1
  207. package/dist/locale/sl.js +1 -1
  208. package/dist/locale/sl.min.js +1 -1
  209. package/dist/locale/sl.min.mjs +1 -1
  210. package/dist/locale/sl.mjs +1 -1
  211. package/dist/locale/sr.js +1 -1
  212. package/dist/locale/sr.min.js +1 -1
  213. package/dist/locale/sr.min.mjs +1 -1
  214. package/dist/locale/sr.mjs +1 -1
  215. package/dist/locale/sv.js +1 -1
  216. package/dist/locale/sv.min.js +1 -1
  217. package/dist/locale/sv.min.mjs +1 -1
  218. package/dist/locale/sv.mjs +1 -1
  219. package/dist/locale/sw.js +1 -1
  220. package/dist/locale/sw.min.js +1 -1
  221. package/dist/locale/sw.min.mjs +1 -1
  222. package/dist/locale/sw.mjs +1 -1
  223. package/dist/locale/ta.js +1 -1
  224. package/dist/locale/ta.min.js +1 -1
  225. package/dist/locale/ta.min.mjs +1 -1
  226. package/dist/locale/ta.mjs +1 -1
  227. package/dist/locale/te.js +1 -1
  228. package/dist/locale/te.min.js +1 -1
  229. package/dist/locale/te.min.mjs +1 -1
  230. package/dist/locale/te.mjs +1 -1
  231. package/dist/locale/th.js +1 -1
  232. package/dist/locale/th.min.js +1 -1
  233. package/dist/locale/th.min.mjs +1 -1
  234. package/dist/locale/th.mjs +1 -1
  235. package/dist/locale/tk.js +1 -1
  236. package/dist/locale/tk.min.js +1 -1
  237. package/dist/locale/tk.min.mjs +1 -1
  238. package/dist/locale/tk.mjs +1 -1
  239. package/dist/locale/tr.js +1 -1
  240. package/dist/locale/tr.min.js +1 -1
  241. package/dist/locale/tr.min.mjs +1 -1
  242. package/dist/locale/tr.mjs +1 -1
  243. package/dist/locale/ug-cn.js +1 -1
  244. package/dist/locale/ug-cn.min.js +1 -1
  245. package/dist/locale/ug-cn.min.mjs +1 -1
  246. package/dist/locale/ug-cn.mjs +1 -1
  247. package/dist/locale/uk.js +1 -1
  248. package/dist/locale/uk.min.js +1 -1
  249. package/dist/locale/uk.min.mjs +1 -1
  250. package/dist/locale/uk.mjs +1 -1
  251. package/dist/locale/uz-uz.js +1 -1
  252. package/dist/locale/uz-uz.min.js +1 -1
  253. package/dist/locale/uz-uz.min.mjs +1 -1
  254. package/dist/locale/uz-uz.mjs +1 -1
  255. package/dist/locale/vi.js +1 -1
  256. package/dist/locale/vi.min.js +1 -1
  257. package/dist/locale/vi.min.mjs +1 -1
  258. package/dist/locale/vi.mjs +1 -1
  259. package/dist/locale/zh-cn.js +1 -1
  260. package/dist/locale/zh-cn.min.js +1 -1
  261. package/dist/locale/zh-cn.min.mjs +1 -1
  262. package/dist/locale/zh-cn.mjs +1 -1
  263. package/dist/locale/zh-hk.js +1 -1
  264. package/dist/locale/zh-hk.min.js +1 -1
  265. package/dist/locale/zh-hk.min.mjs +1 -1
  266. package/dist/locale/zh-hk.mjs +1 -1
  267. package/dist/locale/zh-mo.js +1 -1
  268. package/dist/locale/zh-mo.min.js +1 -1
  269. package/dist/locale/zh-mo.min.mjs +1 -1
  270. package/dist/locale/zh-mo.mjs +1 -1
  271. package/dist/locale/zh-tw.js +1 -1
  272. package/dist/locale/zh-tw.min.js +1 -1
  273. package/dist/locale/zh-tw.min.mjs +1 -1
  274. package/dist/locale/zh-tw.mjs +1 -1
  275. package/es/components/alert/src/alert.d.ts +2 -2
  276. package/es/components/alert/src/alert.vue.d.ts +2 -2
  277. package/es/components/anchor/src/anchor.d.ts +1 -1
  278. package/es/components/anchor/src/anchor.vue.d.ts +4 -4
  279. package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
  280. package/es/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  281. package/es/components/avatar/src/avatar-group.d.ts +1 -1
  282. package/es/components/avatar/src/avatar.d.ts +1 -1
  283. package/es/components/badge/src/badge.d.ts +1 -1
  284. package/es/components/badge/src/badge.vue.d.ts +1 -1
  285. package/es/components/button/src/button-group.d.ts +2 -2
  286. package/es/components/button/src/button-group.vue.d.ts +1 -1
  287. package/es/components/button/src/button.d.ts +2 -2
  288. package/es/components/button/src/button.vue.d.ts +5 -5
  289. package/es/components/button/src/use-button.d.ts +2 -2
  290. package/es/components/calendar/src/select-controller.vue.d.ts +2 -2
  291. package/es/components/card/src/card.d.ts +1 -1
  292. package/es/components/carousel/src/carousel.d.ts +2 -2
  293. package/es/components/carousel/src/carousel.vue.d.ts +2 -2
  294. package/es/components/cascader/src/cascader.d.ts +5 -5
  295. package/es/components/cascader/src/cascader.vue.d.ts +16 -16
  296. package/es/components/cascader-panel/src/index.vue.d.ts +4 -4
  297. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  298. package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
  299. package/es/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
  300. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  301. package/es/components/checkbox/src/checkbox.vue.d.ts +4 -4
  302. package/es/components/collapse/src/collapse.d.ts +1 -1
  303. package/es/components/color-picker/src/color-picker.d.ts +1 -1
  304. package/es/components/color-picker/src/color-picker.vue.d.ts +7 -7
  305. package/es/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
  306. package/es/components/config-provider/src/config-provider.d.ts +1 -1
  307. package/es/components/date-picker/src/date-picker.d.ts +17 -17
  308. package/es/components/date-picker/src/date-picker.mjs +1 -5
  309. package/es/components/date-picker/src/date-picker.mjs.map +1 -1
  310. package/es/components/date-picker/src/props.d.ts +3 -3
  311. package/es/components/date-picker-panel/index.d.ts +2 -2
  312. package/es/components/date-picker-panel/index.mjs +2 -2
  313. package/es/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  314. package/es/components/date-picker-panel/src/constants.d.ts +1 -2
  315. package/es/components/date-picker-panel/src/constants.mjs +1 -2
  316. package/es/components/date-picker-panel/src/constants.mjs.map +1 -1
  317. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.mjs.map +1 -1
  318. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +4 -4
  319. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs +2 -4
  320. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  321. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs.map +1 -1
  322. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +3 -3
  323. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +1 -3
  324. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  325. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.mjs.map +1 -1
  326. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  327. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.mjs +1 -3
  328. package/es/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  329. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.mjs.map +1 -1
  330. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
  331. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.mjs +1 -3
  332. package/es/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  333. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +6 -6
  334. package/es/components/date-picker-panel/src/panel-utils.d.ts +18 -18
  335. package/es/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  336. package/es/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  337. package/es/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  338. package/es/components/date-picker-panel/src/props/shared.d.ts +1 -1
  339. package/es/components/date-picker-panel/src/utils.d.ts +1 -2
  340. package/es/components/date-picker-panel/src/utils.mjs +7 -3
  341. package/es/components/date-picker-panel/src/utils.mjs.map +1 -1
  342. package/es/components/descriptions/src/description-item.d.ts +19 -19
  343. package/es/components/descriptions/src/description.d.ts +1 -1
  344. package/es/components/dialog/src/dialog-content.vue.d.ts +2 -2
  345. package/es/components/dialog/src/dialog.vue.d.ts +13 -13
  346. package/es/components/divider/src/divider.d.ts +2 -2
  347. package/es/components/divider/src/divider.vue.d.ts +1 -1
  348. package/es/components/drawer/src/drawer.vue.d.ts +15 -15
  349. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  350. package/es/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
  351. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  352. package/es/components/dropdown/src/dropdown.d.ts +3 -3
  353. package/es/components/dropdown/src/dropdown.vue.d.ts +62 -62
  354. package/es/components/focus-trap/src/focus-trap.vue.d.ts +2 -2
  355. package/es/components/form/src/form-item.d.ts +2 -2
  356. package/es/components/form/src/form-item.vue.d.ts +1 -1
  357. package/es/components/form/src/form.d.ts +2 -2
  358. package/es/components/form/src/form.vue.d.ts +1 -1
  359. package/es/components/image/src/image.d.ts +2 -2
  360. package/es/components/image/src/image.vue.d.ts +6 -6
  361. package/es/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  362. package/es/components/index.d.ts +2 -2
  363. package/es/components/index.mjs +2 -2
  364. package/es/components/input/src/input.d.ts +3 -3
  365. package/es/components/input/src/input.vue.d.ts +14 -14
  366. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +15 -0
  367. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  368. package/es/components/input/src/input2.mjs.map +1 -1
  369. package/es/components/input-number/src/input-number.d.ts +3 -3
  370. package/es/components/input-number/src/input-number.vue.d.ts +10 -10
  371. package/es/components/input-otp/src/input-otp.vue.d.ts +3 -3
  372. package/es/components/input-tag/src/input-tag.d.ts +2 -2
  373. package/es/components/input-tag/src/input-tag.vue.d.ts +10 -10
  374. package/es/components/link/src/link.d.ts +2 -2
  375. package/es/components/link/src/link.vue.d.ts +1 -1
  376. package/es/components/loading/src/loading.mjs +1 -1
  377. package/es/components/loading/src/loading.mjs.map +1 -1
  378. package/es/components/mention/src/mention.d.ts +3 -3
  379. package/es/components/mention/src/mention.vue.d.ts +4 -4
  380. package/es/components/menu/src/menu.d.ts +7 -7
  381. package/es/components/menu/src/sub-menu.d.ts +1 -1
  382. package/es/components/message/src/message.d.ts +1 -1
  383. package/es/components/message/src/message.vue.d.ts +6 -6
  384. package/es/components/message-box/src/index.vue.d.ts +66 -66
  385. package/es/components/notification/src/notification.d.ts +1 -1
  386. package/es/components/notification/src/notification.vue.d.ts +7 -7
  387. package/es/components/page-header/src/page-header.vue.d.ts +1 -1
  388. package/es/components/pagination/src/components/next.vue.d.ts +1 -1
  389. package/es/components/pagination/src/components/pager.vue.d.ts +1 -1
  390. package/es/components/pagination/src/components/prev.vue.d.ts +1 -1
  391. package/es/components/pagination/src/components/sizes.vue.d.ts +1 -1
  392. package/es/components/pagination/src/pagination.d.ts +2 -2
  393. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  394. package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
  395. package/es/components/popover/src/popover.d.ts +49 -49
  396. package/es/components/popover/src/popover.vue.d.ts +7 -7
  397. package/es/components/popper/src/composables/use-content.d.ts +3 -3
  398. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  399. package/es/components/popper/src/content.vue.d.ts +8 -8
  400. package/es/components/popper/src/popper.d.ts +2 -2
  401. package/es/components/progress/src/progress.d.ts +2 -2
  402. package/es/components/progress/src/progress.vue.d.ts +3 -3
  403. package/es/components/radio/src/radio-button.d.ts +3 -3
  404. package/es/components/radio/src/radio-button.vue.d.ts +2 -2
  405. package/es/components/radio/src/radio-group.vue.d.ts +3 -3
  406. package/es/components/radio/src/radio.d.ts +6 -6
  407. package/es/components/radio/src/radio.vue.d.ts +2 -2
  408. package/es/components/rate/src/rate.vue.d.ts +2 -2
  409. package/es/components/result/src/result.d.ts +1 -1
  410. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +3 -3
  411. package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
  412. package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +3 -3
  413. package/es/components/row/src/row.d.ts +1 -1
  414. package/es/components/row/src/row.vue.d.ts +1 -1
  415. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  416. package/es/components/scrollbar/src/scrollbar.vue_vue_type_script_setup_true_lang.mjs +13 -1
  417. package/es/components/scrollbar/src/scrollbar.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  418. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  419. package/es/components/segmented/index.d.ts +2 -2
  420. package/es/components/segmented/src/segmented.d.ts +2 -2
  421. package/es/components/select/src/option.d.ts +2 -2
  422. package/es/components/select/src/option.vue.d.ts +5 -5
  423. package/es/components/select/src/select.d.ts +5 -5
  424. package/es/components/select/src/select.vue.d.ts +73 -73
  425. package/es/components/select/src/useOption.d.ts +2 -2
  426. package/es/components/select/src/useSelect.d.ts +5 -5
  427. package/es/components/select-v2/src/defaults.d.ts +3 -3
  428. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  429. package/es/components/select-v2/src/select.vue.d.ts +57 -57
  430. package/es/components/select-v2/src/useSelect.d.ts +1 -1
  431. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  432. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  433. package/es/components/slider/src/button.vue.d.ts +1 -1
  434. package/es/components/slider/src/slider.vue.d.ts +7 -7
  435. package/es/components/space/src/space.d.ts +5 -5
  436. package/es/components/splitter/src/split-bar.vue.d.ts +1 -1
  437. package/es/components/splitter/src/splitter.d.ts +1 -1
  438. package/es/components/splitter/src/splitter.vue.d.ts +2 -2
  439. package/es/components/statistic/src/statistic.vue.d.ts +1 -1
  440. package/es/components/steps/src/item.d.ts +1 -1
  441. package/es/components/steps/src/item.vue.d.ts +1 -1
  442. package/es/components/steps/src/steps.d.ts +3 -3
  443. package/es/components/switch/src/switch.vue.d.ts +2 -2
  444. package/es/components/table/src/filter-panel.vue.d.ts +47 -47
  445. package/es/components/table/src/table/defaults.d.ts +5 -5
  446. package/es/components/table/src/table/style-helper.d.ts +1 -1
  447. package/es/components/table/src/table-column/defaults.d.ts +4 -4
  448. package/es/components/table/src/table-header/index.d.ts +12 -12
  449. package/es/components/table/src/table-header/index.mjs +8 -2
  450. package/es/components/table/src/table-header/index.mjs.map +1 -1
  451. package/es/components/table/src/table.vue.d.ts +3 -3
  452. package/es/components/table-v2/src/table-v2.d.ts +1 -1
  453. package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
  454. package/es/components/tabs/src/tabs.d.ts +6 -6
  455. package/es/components/tag/src/tag.d.ts +2 -2
  456. package/es/components/tag/src/tag.vue.d.ts +2 -2
  457. package/es/components/text/src/text.d.ts +1 -1
  458. package/es/components/time-picker/src/common/picker-range-trigger.vue.d.ts +4 -4
  459. package/es/components/time-picker/src/common/picker.vue.d.ts +16 -16
  460. package/es/components/time-picker/src/common/props.d.ts +2 -2
  461. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
  462. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
  463. package/es/components/time-picker/src/time-picker.d.ts +14 -14
  464. package/es/components/time-select/src/time-select.vue.d.ts +9 -9
  465. package/es/components/timeline/src/timeline-item.d.ts +1 -1
  466. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  467. package/es/components/timeline/src/timeline.d.ts +4 -4
  468. package/es/components/tooltip/src/content.vue.d.ts +5 -5
  469. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  470. package/es/components/tooltip/src/tooltip.vue.d.ts +8 -8
  471. package/es/components/tooltip/src/trigger.d.ts +1 -1
  472. package/es/components/tour/src/content.d.ts +1 -1
  473. package/es/components/tour/src/step.d.ts +1 -1
  474. package/es/components/tour/src/tour.d.ts +1 -1
  475. package/es/components/tour/src/tour.vue.d.ts +4 -4
  476. package/es/components/tree/src/tree-node.vue.d.ts +12 -12
  477. package/es/components/tree/src/tree.vue.d.ts +16 -16
  478. package/es/components/tree-select/src/tree-select-option.d.ts +5 -5
  479. package/es/components/tree-select/src/tree-select.vue.d.ts +36 -36
  480. package/es/components/tree-v2/src/composables/useTree.d.ts +8 -8
  481. package/es/components/tree-v2/src/tree.vue.d.ts +2 -2
  482. package/es/components/upload/src/upload-content.vue.d.ts +6 -6
  483. package/es/components/upload/src/upload.vue.d.ts +7 -7
  484. package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  485. package/es/components/virtual-list/src/builders/build-list.d.ts +4 -4
  486. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  487. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
  488. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  489. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
  490. package/es/components/virtual-list/src/components/scrollbar.d.ts +3 -3
  491. package/es/components/virtual-list/src/props.d.ts +2 -2
  492. package/es/components/watermark/src/watermark.vue.d.ts +1 -1
  493. package/es/hooks/use-floating/index.d.ts +12 -12
  494. package/es/hooks/use-popper/index.d.ts +3 -3
  495. package/es/index.d.ts +2 -2
  496. package/es/index.mjs +2 -2
  497. package/es/version.d.ts +1 -1
  498. package/es/version.mjs +1 -1
  499. package/es/version.mjs.map +1 -1
  500. package/lib/components/alert/src/alert.d.ts +2 -2
  501. package/lib/components/alert/src/alert.vue.d.ts +2 -2
  502. package/lib/components/anchor/src/anchor.d.ts +1 -1
  503. package/lib/components/anchor/src/anchor.vue.d.ts +4 -4
  504. package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
  505. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +3 -3
  506. package/lib/components/avatar/src/avatar-group.d.ts +1 -1
  507. package/lib/components/avatar/src/avatar.d.ts +1 -1
  508. package/lib/components/badge/src/badge.d.ts +1 -1
  509. package/lib/components/badge/src/badge.vue.d.ts +1 -1
  510. package/lib/components/button/src/button-group.d.ts +2 -2
  511. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  512. package/lib/components/button/src/button.d.ts +2 -2
  513. package/lib/components/button/src/button.vue.d.ts +5 -5
  514. package/lib/components/button/src/use-button.d.ts +2 -2
  515. package/lib/components/calendar/src/select-controller.vue.d.ts +2 -2
  516. package/lib/components/card/src/card.d.ts +1 -1
  517. package/lib/components/carousel/src/carousel.d.ts +2 -2
  518. package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
  519. package/lib/components/cascader/src/cascader.d.ts +5 -5
  520. package/lib/components/cascader/src/cascader.vue.d.ts +16 -16
  521. package/lib/components/cascader-panel/src/index.vue.d.ts +4 -4
  522. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  523. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
  524. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +3 -3
  525. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  526. package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
  527. package/lib/components/collapse/src/collapse.d.ts +1 -1
  528. package/lib/components/color-picker/src/color-picker.d.ts +1 -1
  529. package/lib/components/color-picker/src/color-picker.vue.d.ts +7 -7
  530. package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +1 -1
  531. package/lib/components/config-provider/src/config-provider.d.ts +1 -1
  532. package/lib/components/date-picker/src/date-picker.d.ts +17 -17
  533. package/lib/components/date-picker/src/date-picker.js +0 -4
  534. package/lib/components/date-picker/src/date-picker.js.map +1 -1
  535. package/lib/components/date-picker/src/props.d.ts +3 -3
  536. package/lib/components/date-picker-panel/index.d.ts +2 -2
  537. package/lib/components/date-picker-panel/index.js +0 -1
  538. package/lib/components/date-picker-panel/src/composables/use-basic-date-table.d.ts +1 -1
  539. package/lib/components/date-picker-panel/src/constants.d.ts +1 -2
  540. package/lib/components/date-picker-panel/src/constants.js +0 -2
  541. package/lib/components/date-picker-panel/src/constants.js.map +1 -1
  542. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.js.map +1 -1
  543. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue.d.ts +4 -4
  544. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js +2 -4
  545. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js.map +1 -1
  546. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js.map +1 -1
  547. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue.d.ts +3 -3
  548. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js +1 -3
  549. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
  550. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.js.map +1 -1
  551. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  552. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.js +1 -3
  553. package/lib/components/date-picker-panel/src/date-picker-com/panel-month-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
  554. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.js.map +1 -1
  555. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue.d.ts +1 -1
  556. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.js +1 -3
  557. package/lib/components/date-picker-panel/src/date-picker-com/panel-year-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
  558. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +6 -6
  559. package/lib/components/date-picker-panel/src/panel-utils.d.ts +18 -18
  560. package/lib/components/date-picker-panel/src/props/date-picker-panel.d.ts +2 -2
  561. package/lib/components/date-picker-panel/src/props/panel-date-pick.d.ts +1 -1
  562. package/lib/components/date-picker-panel/src/props/panel-date-range.d.ts +1 -1
  563. package/lib/components/date-picker-panel/src/props/shared.d.ts +1 -1
  564. package/lib/components/date-picker-panel/src/utils.d.ts +1 -2
  565. package/lib/components/date-picker-panel/src/utils.js +7 -3
  566. package/lib/components/date-picker-panel/src/utils.js.map +1 -1
  567. package/lib/components/descriptions/src/description-item.d.ts +19 -19
  568. package/lib/components/descriptions/src/description.d.ts +1 -1
  569. package/lib/components/dialog/src/dialog-content.vue.d.ts +2 -2
  570. package/lib/components/dialog/src/dialog.vue.d.ts +13 -13
  571. package/lib/components/divider/src/divider.d.ts +2 -2
  572. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  573. package/lib/components/drawer/src/drawer.vue.d.ts +15 -15
  574. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  575. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
  576. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  577. package/lib/components/dropdown/src/dropdown.d.ts +3 -3
  578. package/lib/components/dropdown/src/dropdown.vue.d.ts +62 -62
  579. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +2 -2
  580. package/lib/components/form/src/form-item.d.ts +2 -2
  581. package/lib/components/form/src/form-item.vue.d.ts +1 -1
  582. package/lib/components/form/src/form.d.ts +2 -2
  583. package/lib/components/form/src/form.vue.d.ts +1 -1
  584. package/lib/components/image/src/image.d.ts +2 -2
  585. package/lib/components/image/src/image.vue.d.ts +6 -6
  586. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +4 -4
  587. package/lib/components/index.d.ts +2 -2
  588. package/lib/components/index.js +0 -1
  589. package/lib/components/input/src/input.d.ts +3 -3
  590. package/lib/components/input/src/input.vue.d.ts +14 -14
  591. package/lib/components/input/src/input.vue_vue_type_script_setup_true_lang.js +15 -0
  592. package/lib/components/input/src/input.vue_vue_type_script_setup_true_lang.js.map +1 -1
  593. package/lib/components/input/src/input2.js.map +1 -1
  594. package/lib/components/input-number/src/input-number.d.ts +3 -3
  595. package/lib/components/input-number/src/input-number.vue.d.ts +10 -10
  596. package/lib/components/input-otp/src/input-otp.vue.d.ts +3 -3
  597. package/lib/components/input-tag/src/input-tag.d.ts +2 -2
  598. package/lib/components/input-tag/src/input-tag.vue.d.ts +10 -10
  599. package/lib/components/link/src/link.d.ts +2 -2
  600. package/lib/components/link/src/link.vue.d.ts +1 -1
  601. package/lib/components/loading/src/loading.js +1 -1
  602. package/lib/components/loading/src/loading.js.map +1 -1
  603. package/lib/components/mention/src/mention.d.ts +3 -3
  604. package/lib/components/mention/src/mention.vue.d.ts +4 -4
  605. package/lib/components/menu/src/menu.d.ts +7 -7
  606. package/lib/components/menu/src/sub-menu.d.ts +1 -1
  607. package/lib/components/message/src/message.d.ts +1 -1
  608. package/lib/components/message/src/message.vue.d.ts +6 -6
  609. package/lib/components/message-box/src/index.vue.d.ts +66 -66
  610. package/lib/components/notification/src/notification.d.ts +1 -1
  611. package/lib/components/notification/src/notification.vue.d.ts +7 -7
  612. package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
  613. package/lib/components/pagination/src/components/next.vue.d.ts +1 -1
  614. package/lib/components/pagination/src/components/pager.vue.d.ts +1 -1
  615. package/lib/components/pagination/src/components/prev.vue.d.ts +1 -1
  616. package/lib/components/pagination/src/components/sizes.vue.d.ts +1 -1
  617. package/lib/components/pagination/src/pagination.d.ts +2 -2
  618. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  619. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
  620. package/lib/components/popover/src/popover.d.ts +49 -49
  621. package/lib/components/popover/src/popover.vue.d.ts +7 -7
  622. package/lib/components/popper/src/composables/use-content.d.ts +3 -3
  623. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  624. package/lib/components/popper/src/content.vue.d.ts +8 -8
  625. package/lib/components/popper/src/popper.d.ts +2 -2
  626. package/lib/components/progress/src/progress.d.ts +2 -2
  627. package/lib/components/progress/src/progress.vue.d.ts +3 -3
  628. package/lib/components/radio/src/radio-button.d.ts +3 -3
  629. package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
  630. package/lib/components/radio/src/radio-group.vue.d.ts +3 -3
  631. package/lib/components/radio/src/radio.d.ts +6 -6
  632. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  633. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  634. package/lib/components/result/src/result.d.ts +1 -1
  635. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +3 -3
  636. package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
  637. package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +3 -3
  638. package/lib/components/row/src/row.d.ts +1 -1
  639. package/lib/components/row/src/row.vue.d.ts +1 -1
  640. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  641. package/lib/components/scrollbar/src/scrollbar.vue_vue_type_script_setup_true_lang.js +13 -1
  642. package/lib/components/scrollbar/src/scrollbar.vue_vue_type_script_setup_true_lang.js.map +1 -1
  643. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  644. package/lib/components/segmented/index.d.ts +2 -2
  645. package/lib/components/segmented/src/segmented.d.ts +2 -2
  646. package/lib/components/select/src/option.d.ts +2 -2
  647. package/lib/components/select/src/option.vue.d.ts +5 -5
  648. package/lib/components/select/src/select.d.ts +5 -5
  649. package/lib/components/select/src/select.vue.d.ts +73 -73
  650. package/lib/components/select/src/useOption.d.ts +2 -2
  651. package/lib/components/select/src/useSelect.d.ts +5 -5
  652. package/lib/components/select-v2/src/defaults.d.ts +3 -3
  653. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  654. package/lib/components/select-v2/src/select.vue.d.ts +57 -57
  655. package/lib/components/select-v2/src/useSelect.d.ts +1 -1
  656. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  657. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  658. package/lib/components/slider/src/button.vue.d.ts +1 -1
  659. package/lib/components/slider/src/slider.vue.d.ts +7 -7
  660. package/lib/components/space/src/space.d.ts +5 -5
  661. package/lib/components/splitter/src/split-bar.vue.d.ts +1 -1
  662. package/lib/components/splitter/src/splitter.d.ts +1 -1
  663. package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
  664. package/lib/components/statistic/src/statistic.vue.d.ts +1 -1
  665. package/lib/components/steps/src/item.d.ts +1 -1
  666. package/lib/components/steps/src/item.vue.d.ts +1 -1
  667. package/lib/components/steps/src/steps.d.ts +3 -3
  668. package/lib/components/switch/src/switch.vue.d.ts +2 -2
  669. package/lib/components/table/src/filter-panel.vue.d.ts +47 -47
  670. package/lib/components/table/src/table/defaults.d.ts +5 -5
  671. package/lib/components/table/src/table/style-helper.d.ts +1 -1
  672. package/lib/components/table/src/table-column/defaults.d.ts +4 -4
  673. package/lib/components/table/src/table-header/index.d.ts +12 -12
  674. package/lib/components/table/src/table-header/index.js +8 -2
  675. package/lib/components/table/src/table-header/index.js.map +1 -1
  676. package/lib/components/table/src/table.vue.d.ts +3 -3
  677. package/lib/components/table-v2/src/table-v2.d.ts +1 -1
  678. package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
  679. package/lib/components/tabs/src/tabs.d.ts +6 -6
  680. package/lib/components/tag/src/tag.d.ts +2 -2
  681. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  682. package/lib/components/text/src/text.d.ts +1 -1
  683. package/lib/components/time-picker/src/common/picker-range-trigger.vue.d.ts +4 -4
  684. package/lib/components/time-picker/src/common/picker.vue.d.ts +16 -16
  685. package/lib/components/time-picker/src/common/props.d.ts +2 -2
  686. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +2 -2
  687. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +2 -2
  688. package/lib/components/time-picker/src/time-picker.d.ts +14 -14
  689. package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
  690. package/lib/components/timeline/src/timeline-item.d.ts +1 -1
  691. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  692. package/lib/components/timeline/src/timeline.d.ts +4 -4
  693. package/lib/components/tooltip/src/content.vue.d.ts +5 -5
  694. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  695. package/lib/components/tooltip/src/tooltip.vue.d.ts +8 -8
  696. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  697. package/lib/components/tour/src/content.d.ts +1 -1
  698. package/lib/components/tour/src/step.d.ts +1 -1
  699. package/lib/components/tour/src/tour.d.ts +1 -1
  700. package/lib/components/tour/src/tour.vue.d.ts +4 -4
  701. package/lib/components/tree/src/tree-node.vue.d.ts +12 -12
  702. package/lib/components/tree/src/tree.vue.d.ts +16 -16
  703. package/lib/components/tree-select/src/tree-select-option.d.ts +5 -5
  704. package/lib/components/tree-select/src/tree-select.vue.d.ts +36 -36
  705. package/lib/components/tree-v2/src/composables/useTree.d.ts +8 -8
  706. package/lib/components/tree-v2/src/tree.vue.d.ts +2 -2
  707. package/lib/components/upload/src/upload-content.vue.d.ts +6 -6
  708. package/lib/components/upload/src/upload.vue.d.ts +7 -7
  709. package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  710. package/lib/components/virtual-list/src/builders/build-list.d.ts +4 -4
  711. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  712. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
  713. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  714. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
  715. package/lib/components/virtual-list/src/components/scrollbar.d.ts +3 -3
  716. package/lib/components/virtual-list/src/props.d.ts +2 -2
  717. package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
  718. package/lib/hooks/use-floating/index.d.ts +12 -12
  719. package/lib/hooks/use-popper/index.d.ts +3 -3
  720. package/lib/index.d.ts +2 -2
  721. package/lib/index.js +0 -1
  722. package/lib/version.d.ts +1 -1
  723. package/lib/version.js +1 -1
  724. package/lib/version.js.map +1 -1
  725. package/package.json +2 -2
  726. package/web-types.json +1 -1
@@ -120,7 +120,7 @@ import { DateCell, DatePickerType } from "./date-picker-panel/src/types.js";
120
120
  import { DatePickerProps, DatePickerPropsPublic, datePickerProps } from "./date-picker/src/props.js";
121
121
  import { DatePickerInstance } from "./date-picker/src/instance.js";
122
122
  import { ElDatePicker } from "./date-picker/index.js";
123
- import { ROOT_PICKER_INJECTION_KEY, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY } from "./date-picker-panel/src/constants.js";
123
+ import { ROOT_PICKER_INJECTION_KEY } from "./date-picker-panel/src/constants.js";
124
124
  import { DatePickerPanelProps, DatePickerPanelPropsPublic, datePickerPanelProps } from "./date-picker-panel/src/props/date-picker-panel.js";
125
125
  import { DatePickerPanelInstance } from "./date-picker-panel/src/instance.js";
126
126
  import { ElDatePickerPanel } from "./date-picker-panel/index.js";
@@ -288,4 +288,4 @@ import { NotificationEmits, NotificationExposed, NotificationHandle, Notificatio
288
288
  import { ElNotification } from "./notification/index.js";
289
289
  import { PopoverEmits, PopoverInstance, PopoverProps, PopoverPropsPublic, popoverEmits, popoverProps, popoverPropsDefaults } from "./popover/src/popover.js";
290
290
  import { ElPopover, ElPopoverDirective } from "./popover/index.js";
291
- export { Action, AffixEmits, AffixInstance, AffixProps, AffixPropsPublic, AlertEmits, AlertInstance, AlertProps, AlertPropsPublic, Alignment, AllowDragFunction, AllowDropFunction, AllowDropType, AnchorEmits, AnchorInstance, AnchorProps, AnchorPropsPublic, AsideInstance, AutoResizerProps, AutoResizerPropsPublic, AutocompleteData, AutocompleteDataItem, AutocompleteEmits, AutocompleteFetchSuggestions, AutocompleteFetchSuggestionsCallback, AutocompleteInstance, AutocompletePlacement, AutocompleteProps, AutocompletePropsPublic, AvatarEmits, AvatarGroupContext, AvatarGroupInstance, AvatarGroupProps, AvatarGroupPropsPublic, AvatarInstance, AvatarProps, AvatarPropsPublic, BAR_MAP, BacktopEmits, BacktopInstance, BacktopProps, BacktopPropsPublic, BadgeInstance, BadgeProps, BadgePropsPublic, BorderStyle, BreadcrumbInstance, BreadcrumbItemInstance, BreadcrumbItemProps, BreadcrumbItemPropsPublic, BreadcrumbProps, BreadcrumbPropsPublic, ButtonConfigContext, ButtonEmits, ButtonGroupContext, ButtonGroupInstance, ButtonInstance, ButtonNativeType, ButtonProps, ButtonPropsPublic, ButtonType, CAROUSEL_ITEM_NAME, CASCADER_PANEL_HEIGHT, CASCADER_PANEL_INJECTION_KEY, CASCADER_PANEL_ITEM_SIZE, CalendarDateTableInstance, CalendarDateType, CalendarEmits, CalendarInstance, CalendarProps, CalendarPropsPublic, Callback, CardConfigContext, CardInstance, CardProps, CardPropsPublic, CarouselContext, CarouselEmits, CarouselInstance, CarouselItemContext, CarouselItemInstance, CarouselItemProps, CarouselItemPropsPublic, CarouselItemStates, CarouselProps, CarouselPropsPublic, CascaderCommonProps, CascaderComponentProps, CascaderConfig, CascaderEmits, CascaderInstance, CascaderMenuInstance, Node as CascaderNode, CascaderNodePathValue, CascaderNodeValue, CascaderOption, CascaderPanelInstance, CascaderPanelProps, CascaderProps, CascaderValue, CellCls, CellStyle, CheckTagEmits, CheckTagInstance, CheckTagProps, CheckTagPropsPublic, CheckboxEmits, CheckboxGroupEmits, CheckboxGroupInstance, CheckboxGroupProps, CheckboxGroupPropsPublic, CheckboxGroupValueType, CheckboxInstance, CheckboxOption, CheckboxProps, CheckboxPropsPublic, CheckboxValueType, CheckedInfo, CloseFn, ColInstance, ColProps, ColPropsPublic, ColSize, ColSizeObject, CollapseActiveName, CollapseContext, CollapseEmits, CollapseIconPositionType, CollapseInstance, CollapseItemInstance, CollapseItemProps, CollapseItemPropsPublic, CollapseModelValue, CollapseProps, CollapsePropsPublic, ColorPickerEmits, ColorPickerInstance, ColorPickerPanelContext, ColorPickerPanelEmits, ColorPickerPanelInstance, ColorPickerPanelProps, ColorPickerPanelPropsPublic, ColorPickerProps, ColorPickerPropsPublic, Column, ColumnCls, ColumnResizeHandler, ColumnSortHandler, ColumnSortParams, ColumnStyle, Columns, CommonColorContext, _default as CommonPicker, CommonProps, ConfigProviderContext, ConfigProviderInstance, ConfigProviderProps, ConfigProviderPropsPublic, ContainerInstance, CountdownEmits, CountdownInstance, CountdownProps, CountdownPropsPublic, CreatePopperInstanceParams, Crossorigin, DEFAULT_DIALOG_TRANSITION, DEFAULT_END, DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, DEFAULT_START, DEFAULT_STEP, DROPDOWN_INJECTION_KEY, DROPDOWN_INSTANCE_INJECTION_KEY, DateCell, DateModelType, DateOrDates, DatePickerInstance, DatePickerPanelInstance, DatePickerPanelProps, DatePickerPanelPropsPublic, DatePickerProps, DatePickerPropsPublic, DatePickerType, DateTableInstance, DayOrDays, DefaultProps, DescriptionInstance, DescriptionItemProps, DescriptionItemPropsPublic, DescriptionItemVNode, DescriptionProps, DescriptionPropsPublic, DialogBeforeCloseFn, DialogConfigContext, DialogContext, DialogEmits, DialogInstance, DialogProps, DialogPropsPublic, DialogTransition, Direction, DividerInstance, DividerProps, DividerPropsPublic, DragEvents, DrawerEmits, DrawerInstance, DrawerProps, DrawerPropsPublic, DropdownInstance, DynamicSizeGrid, DynamicSizeGridInstance, DynamicSizeList, DynamicSizeListInstance, Effect, ElAffix, ElAlert, ElAnchor, ElAnchorLink, ElAside, ElAutoResizer, ElAutocomplete, ElAvatar, ElAvatarGroup, ElBacktop, ElBadge, ElBreadcrumb, ElBreadcrumbItem, ElButton, ElButtonGroup, ElCalendar, ElCard, ElCarousel, ElCarouselItem, ElCascader, ElCascaderPanel, ElCascaderPanelContext, ElCheckTag, ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElCollapseTransition, ElColorPicker, ElColorPickerPanel, ElConfigProvider, ElContainer, ElCountdown, ElDatePicker, ElDatePickerPanel, ElDescriptions, ElDescriptionsItem, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownInjectionContext, ElDropdownItem, ElDropdownMenu, ElEmpty, ElFooter, ElForm, ElFormItem, ElHeader, ElIcon, ElImage, ElImageViewer, ElInfiniteScroll, ElInput, ElInputNumber, ElInputOtp, ElInputTag, ElLink, ElLoading, vLoading as ElLoadingDirective, vLoading, Loading as ElLoadingService, ElMain, ElMention, ElMenu, ElMenuItem, ElMenuItemGroup, ElMessage, ElMessageBox, ElMessageBoxOptions, ElMessageBoxShortcutMethod, ElNotification, ElOption, ElOptionGroup, ElOverlay, ElPageHeader, ElPagination, ElPaginationContext, ElPopconfirm, ElPopover, ElPopoverDirective, ElPopper, _default$1 as ElPopperArrow, ElPopperArrowContent, ElPopperArrowInstance, ElPopperArrowTrigger, _default$2 as ElPopperContent, ElPopperContentInjectionContext, ElPopperInjectionContext, _default$3 as ElPopperTrigger, ElProgress, ElRadio, ElRadioButton, ElRadioGroup, ElRate, ElResult, ElRow, ElScrollbar, ElSegmented, ElSelect, ElSelectV2, ElSkeleton, ElSkeletonItem, ElSlider, ElSpace, ElSplitter, ElSplitterPanel, ElStatistic, ElStep, ElSteps, ElSubMenu, ElSwitch, ElTabPane, ElTable, ElTableColumn, ElTableV2, ElTabs, ElTag, ElText, ElTimePicker, ElTimeSelect, ElTimeline, ElTimelineItem, ElTooltip, ElTooltipContentProps, ElTooltipContentPropsPublic, ElTooltipInjectionContext, ElTooltipProps, ElTooltipPropsPublic, ElTooltipTriggerProps, ElTooltipTriggerPropsPublic, ElTour, ElTourStep, ElTransfer, ElTree, ElTreeSelect, ElTreeV2, ElUpload, ElWatermark, EmptyInstance, EmptyProps, EmptyPropsPublic, ExpandTrigger, ExpandedRowsChangeHandler, ExperimentalFeatures, ExposesStates, ExtraCellPropGetter, ExtractHeaderCellPropGetter, ExtractHeaderPropGetter, ExtractRowPropGetter, FIRST_KEYS, FIRST_LAST_KEYS, FakeNode, Filter, FilterNodeMethodFunction, FilterValue, FixedSizeGrid, FixedSizeList, FixedSizeListInstance, FooterInstance, FormContext, FormEmits, FormInstance, FormItemContext, FormItemInstance, FormItemProp, FormItemProps, FormItemPropsPublic, FormItemRule, FormItemValidateState, FormLabelWidthContext, FormMetaProps, FormMetaPropsPublic, FormProps, FormPropsPublic, FormRules, FormValidateCallback, FormValidateFailure, FormValidationResult, GAP, GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds, GetEstimatedTotalSize, GetGridOffset, GetOffset, GetPosition, GetStartIndexForOffset, GetStopIndexForStartIndex, GridCache, GridConstructorProps, GridDefaultSlotParams, GridExposes, GridInstance, GridItemKeyGetter, GridItemRenderedEvtParams, GridScrollOptions, GridStates, HeaderCellSlotProps, HeaderClassNameGetter, HeaderInstance, IElDropdownInstance, IElMessageBox, IUseFormItemInputCommonProps, IconComponentMap, IconInstance, IconMap, IconProps, IconPropsPublic, ImageCrossorigin, ImageEmits, ImageFitType, ImageInstance, ImageProps, ImagePropsPublic, ImageViewerAction, ImageViewerCrossorigin, ImageViewerEmits, ImageViewerInstance, ImageViewerMode, ImageViewerProps, ImageViewerPropsPublic, InitCacheFunc, InitGridCacheFunc, InitListCacheFunc, InputAutoSize, InputEmits, InputInstance, InputModelModifiers, InputNumberEmits, InputNumberInstance, InputNumberProps, InputNumberPropsPublic, InputOtpEmits, InputOtpInstance, InputOtpProps, InputProps, InputPropsPublic, InputTagEmits, InputTagInstance, InputTagProps, InputTagPropsPublic, InputType, Instance, ItemProps, ItemSize, LAST_KEYS, LEFT_CHECK_CHANGE_EVENT, LayoutDirection, LazyLoad, LinkConfigContext, LinkEmits, LinkInstance, LinkProps, LinkPropsPublic, ListCache, ListConstructorProps, ListExposes, ListItem, ListItemSizer, ListType, LoadFunction, LoadingInstance, LoadingOptions, LoadingOptionsResolved, LoadingParentElement, MENU_INJECTION_KEY, MESSAGE_DEFAULT_PLACEMENT, MainInstance, Measurable, MentionEmits, MentionInstance, MentionOption, MentionOptionProps, MentionProps, MentionPropsPublic, MenuEmits, MenuInstance, MenuItemClicked, MenuItemEmits, MenuItemGroupInstance, MenuItemGroupProps, MenuItemGroupPropsPublic, MenuItemInstance, MenuItemProps, MenuItemPropsPublic, MenuItemRegistered, MenuProps, MenuPropsPublic, MenuProvider, Message, MessageBoxActionHandlers, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType, MessageConfigContext, MessageEmits, MessageFn, MessageHandler, MessageInstance, MessageOptions, MessageOptionsWithType, MessageParams, MessageParamsNormalized, MessageParamsWithType, MessagePlacement, MessageProps, MessagePropsPublic, MessageType, MessageTypedFn, ModelValueType, NODE_INSTANCE_INJECTION_KEY, NodeDropType, NotificationEmits, NotificationExposed, NotificationHandle, NotificationInstance, NotificationOptions, NotificationOptionsTyped, NotificationParams, NotificationParamsTyped, NotificationPosition, NotificationProgress, NotificationProps, NotificationPropsPublic, NotificationQueue, NotificationQueueItem, NotificationType, Notify, NotifyFn, NotifyTypedFn, Nullable, OptionBasic, OptionV2Props, Options, OverlayEmits, OverlayProps, OverlayPropsPublic, PICKER_BASE_INJECTION_KEY, PICKER_POPPER_OPTIONS_INJECTION_KEY, POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY, PageHeaderEmits, PageHeaderInstance, PageHeaderProps, PageHeaderPropsPublic, PaginationEmits, PaginationProps, PaginationPropsPublic, PickerOptions, Placement, PopconfirmEmits, PopconfirmInstance, PopconfirmProps, PopconfirmPropsPublic, PopoverEmits, PopoverInstance, PopoverProps, PopoverPropsPublic, PopperArrowInstance, PopperArrowProps, PopperArrowPropsPublic, PopperContentEmits, PopperContentInstance, PopperContentProps, PopperContentPropsPublic, PopperCoreConfigProps, PopperCoreConfigPropsPublic, PopperEffect, PopperInstance, PopperProps, PopperPropsPublic, PopperTrigger, PopperTriggerInstance, PopperTriggerProps, ProgressColor, ProgressFn, ProgressInstance, ProgressProps, ProgressPropsPublic, PropValidator, Props, RIGHT_CHECK_CHANGE_EVENT, ROOT_COMMON_COLOR_INJECTION_KEY, ROOT_COMMON_PICKER_INJECTION_KEY, ROOT_PICKER_INJECTION_KEY, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY, ROOT_TREE_INJECTION_KEY, RTLOffsetType, RadioButtonInstance, RadioButtonProps, RadioButtonPropsPublic, RadioEmits, RadioGroupContext, RadioGroupEmits, RadioGroupInstance, RadioGroupProps, RadioGroupPropsPublic, RadioInstance, RadioProps, RadioPropsBase, RadioPropsPublic, RateEmits, RateInstance, RateProps, RatePropsPublic, RenderContentContext, RenderContentFunction, RenderLabel, RenderLabelProps, RenderRowData, ResetAfterIndex, ResetAfterIndices, Resolve, ResultInstance, ResultProps, ResultPropsPublic, RootTreeType, RowAlign, RowClassNameGetter, RowEventHandler, RowEventHandlerParams, RowEventHandlers, RowExpandHandler, RowExpandParams, RowHeightChangeHandler, RowHeightChangedParams, RowHoverHandler, RowHoverParams, RowInstance, RowJustify, RowProps, RowPropsPublic, STEPS_INJECTION_KEY, SUB_MENU_INJECTION_KEY, ScrollDir, ScrollDirection, ScrollbarContext, ScrollbarDirection, ScrollbarEmits, ScrollbarExpose, ScrollbarInstance, ScrollbarProps, ScrollbarPropsPublic, SegmentedEmits, SegmentedInstance, SegmentedProps, SegmentedPropsPublic, SelectContext, SelectEmits, SelectInstance, SelectOptionProps, OptionPublicInstance as SelectOptionProxy, SelectProps, SelectPropsPublic, SelectV2Context, SelectV2Instance, SelectV2Props, SharedExposes, SingleOrRange, SkeletonInstance, SkeletonItemInstance, SkeletonItemProps, SkeletonItemPropsPublic, SkeletonProps, SkeletonPropsPublic, SliderContext, SliderEmits, SliderInitData, SliderInstance, SliderProps, SliderPropsPublic, Sort, SortBy, SortState, SpaceInstance, SpaceItemInstance, SpaceItemProps, SpaceItemPropsPublic, SpaceProps, SpacePropsPublic, SplitterEmits, SplitterInstance, SplitterPanelEmits, SplitterPanelInstance, SplitterPanelProps, SplitterPanelPropsPublic, SplitterProps, SplitterPropsPublic, StatisticInstance, StatisticProps, StatisticPropsPublic, StepInstance, StepProps, StepPropsPublic, StepsEmits, StepsInstance, StepsProps, StepsPropsPublic, StepsStatus, SubMenuInstance, SubMenuProps, SubMenuPropsPublic, SubMenuProvider, SummaryMethod, SwitchEmits, SwitchInstance, SwitchProps, SwitchPropsPublic, TIMELINE_INJECTION_KEY, TOOLTIP_INJECTION_KEY, TREE_NODE_MAP_INJECTION_KEY, TabBarInstance, TabBarProps, TabBarPropsPublic, TabNavEmits, TabNavInstance, TabNavProps, TabNavPropsPublic, TabPaneInstance, TabPaneName, TabPaneProps, TabPanePropsPublic, Table, TableColumnCtx, TableColumnInstance, TableConfigContext, TableEmits, TableInstance, TableProps, TableRefs, TableTooltipData, TableV2, Alignment$1 as TableV2Alignment, TableV2CustomizedHeaderSlotParam, FixedDir as TableV2FixedDir, TableV2Instance, placeholderSign as TableV2Placeholder, TableV2Props, TableV2PropsPublic, TableV2RowProps, TableV2RowPropsPublic, SortOrder as TableV2SortOrder, TabsEmits, TabsInstance, TabsPaneContext, TabsPanes, TabsProps, TabsPropsPublic, TabsRootContext, Tag, TagEmits, TagInstance, TagProps, TagPropsPublic, TagTooltipProps, TextProps, TextPropsPublic, ThumbInstance, ThumbProps, ThumbPropsPublic, TimeList, _default$4 as TimePickPanel, TimePickerDefaultProps, TimePickerDefaultPropsPublic, TimePickerExpose, TimePickerInstance, TimeSelectInstance, TimeSelectProps, TimeSelectPropsPublic, TimeUnit, TimelineInstance, TimelineItemInstance, TimelineItemProps, TimelineItemPropsPublic, TimelineProps, TimelinePropsPublic, TimelineProvider, TooltipContentInstance, TooltipInstance, TooltipTriggerType, TourBtnProps, TourContentEmits, TourContentProps, TourContentPropsPublic, TourEmits, TourGap, TourInstance, TourMask, TourProps, TourPropsPublic, TourStepEmits, TourStepProps, TourStepPropsPublic, TransferCheckedState, TransferDataItem, TransferDirection, TransferEmits, TransferFormat, TransferInstance, TransferKey, TransferProps, TransferPropsAlias, TransferPropsPublic, TreeComponentProps, TreeData, TreeEmits, TreeInstance, TreeKey, TreeNode, TreeNodeChildState, TreeNodeData, TreeNodeLoadedDefaultProps, TreeNodeOptions, TreeOptionProps, TreeSelectInstance, TreeStoreNodesMap, TreeStoreOptions, TreeV2Instance, UploadBaseProps, UploadContentInstance, UploadContentProps, UploadContentPropsPublic, UploadContext, UploadData, UploadDraggerEmits, UploadDraggerInstance, UploadDraggerProps, UploadDraggerPropsPublic, UploadFile, UploadFiles, UploadHooks, UploadInstance, UploadListEmits, UploadListInstance, UploadListProps, UploadListPropsPublic, UploadProgressEvent, UploadProps, UploadPropsPublic, UploadRawFile, UploadRequestHandler, UploadRequestOptions, UploadStatus, UploadUserFile, UsePopperArrowProps, UsePopperContentProps, UsePopperCoreConfigProps, UsePopperProps, UseTooltipProps, UseTooltipTriggerProps, UserInput, VirtualizedGridProps, VirtualizedGridPropsPublic, VirtualizedListProps, VirtualizedListPropsPublic, VirtualizedProps, VirtualizedPropsPublic, VirtualizedScrollbarProps, VirtualizedScrollbarPropsPublic, WatermarkFontType, WatermarkInstance, WatermarkProps, WatermarkPropsPublic, affixEmits, affixProps, alertEffects, alertEmits, alertProps, anchorEmits, anchorProps, autoResizerProps, autocompleteEmits, autocompleteProps, avatarEmits, avatarGroupContextKey, avatarGroupProps, avatarProps, backtopEmits, backtopProps, badgeProps, breadcrumbItemProps, breadcrumbKey, breadcrumbProps, buildTimeList, buttonEmits, buttonGroupContextKey, buttonNativeTypes, buttonProps, buttonTypes, calendarEmits, calendarProps, cardContextKey, cardProps, carouselContextKey, carouselEmits, carouselItemProps, carouselProps, cascaderEmits, cascaderPanelEmits, cascaderPanelProps, cascaderProps, checkTagEmits, checkTagProps, checkboxDefaultProps, checkboxEmits, checkboxGroupContextKey, checkboxGroupEmits, checkboxGroupProps, checkboxProps, checkboxPropsDefaults, colProps, collapseContextKey, collapseEmits, collapseItemProps, collapseProps, colorPickerEmits, colorPickerPanelContextKey, colorPickerPanelEmits, colorPickerPanelProps, colorPickerProps, colorPickerPropsDefaults, configProviderContextKey, configProviderProps, countdownEmits, countdownProps, dateEquals, datePickerPanelProps, datePickerProps, dayOrDaysToDate, defaultProps, descriptionItemProps, descriptionProps, dialogContextKey, dialogEmits, dialogInjectionKey, dialogProps, dialogPropsDefaults, dividerProps, drawerEmits, drawerProps, dropdownItemProps, dropdownMenuProps, dropdownProps, elPaginationKey, emitChangeFn, emptyProps, extractDateFormat, extractTimeFormat, formContextKey, formEmits, formItemContextKey, formItemProps, formItemValidateStates, formMetaProps, formProps, formatter, genFileId, hType, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, inputEmits, inputNumberEmits, inputNumberProps, inputOtpEmits, inputProps, inputPropsDefaults, inputTagEmits, inputTagProps, isDisabled, isLeaf, linkEmits, linkProps, makeList, mentionDefaultProps, mentionEmits, mentionProps, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuProps, messageConfig, messageDefaults, messageEmits, messagePlacement, messageProps, messageType, messageTypes, notificationEmits, notificationProps, notificationTypes, overlayEmits, overlayProps, pageHeaderEmits, pageHeaderProps, paginationEmits, paginationProps, parseDate, popconfirmEmits, popconfirmProps, popoverEmits, popoverProps, popoverPropsDefaults, popperArrowProps, popperArrowPropsDefaults, popperContentEmits, popperContentProps, popperContentPropsDefaults, popperCoreConfigProps, popperCoreConfigPropsDefaults, popperProps, popperTriggerProps, progressProps, provideGlobalConfig, radioButtonProps, radioButtonPropsDefaults, radioDefaultProps, radioEmits, radioGroupEmits, radioGroupKey, radioGroupProps, radioGroupPropsDefaults, radioOption, radioOptionProp, radioProps, radioPropsBase, radioPropsDefaults, rangeArr, rateEmits, rateProps, renderContent, renderThumbStyle, resultProps, roleTypes, rowContextKey, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, segmentedEmits, segmentedProps, selectEmits, selectGroupKey, selectKey, selectProps, selectV2InjectionKey, skeletonItemProps, skeletonProps, sliderContextKey, sliderEmits, sliderProps, spaceItemProps, spaceProps, splitterEmits, splitterPanelEmits, splitterPanelProps, splitterProps, statisticProps, stepProps, stepsEmits, stepsProps, subMenuProps, switchEmits, switchProps, tabBarProps, tabNavEmits, tabNavProps, tabPaneProps, tableV2Props, tableV2RowProps, tabsEmits, tabsProps, tabsRootContextKey, tagEmits, tagProps, textProps, thumbProps, timePickerDefaultProps, timePickerRangeTriggerProps, timePickerRngeTriggerProps, timeSelectProps, timeUnits, timelineItemProps, timelineProps, tooltipEmits, tourContentEmits, tourContentProps, tourEmits, tourPlacements, tourProps, tourStepEmits, tourStepProps, tourStrategies, transferCheckedChangeFn, transferEmits, transferProps, treeEmits, treeProps, uploadBaseProps, uploadBasePropsDefaults, uploadContentProps, uploadContentPropsDefaults, uploadContextKey, uploadDraggerEmits, uploadDraggerProps, uploadListEmits, uploadListProps, uploadListTypes, uploadProps, uploadPropsDefaults, useCascaderConfig, useDialog, useDisabled, useFormDisabled, useFormItem, useFormItemInputId, useFormSize, useGlobalComponentSettings, useGlobalConfig, usePopperArrowProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps, usePopperProps, usePopperTriggerProps, useSize, useSpace, useTooltipContentProps, useTooltipContentPropsDefaults, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps, useTooltipTriggerProps, useTooltipTriggerPropsDefaults, valueEquals, virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps, watermarkProps };
291
+ export { Action, AffixEmits, AffixInstance, AffixProps, AffixPropsPublic, AlertEmits, AlertInstance, AlertProps, AlertPropsPublic, Alignment, AllowDragFunction, AllowDropFunction, AllowDropType, AnchorEmits, AnchorInstance, AnchorProps, AnchorPropsPublic, AsideInstance, AutoResizerProps, AutoResizerPropsPublic, AutocompleteData, AutocompleteDataItem, AutocompleteEmits, AutocompleteFetchSuggestions, AutocompleteFetchSuggestionsCallback, AutocompleteInstance, AutocompletePlacement, AutocompleteProps, AutocompletePropsPublic, AvatarEmits, AvatarGroupContext, AvatarGroupInstance, AvatarGroupProps, AvatarGroupPropsPublic, AvatarInstance, AvatarProps, AvatarPropsPublic, BAR_MAP, BacktopEmits, BacktopInstance, BacktopProps, BacktopPropsPublic, BadgeInstance, BadgeProps, BadgePropsPublic, BorderStyle, BreadcrumbInstance, BreadcrumbItemInstance, BreadcrumbItemProps, BreadcrumbItemPropsPublic, BreadcrumbProps, BreadcrumbPropsPublic, ButtonConfigContext, ButtonEmits, ButtonGroupContext, ButtonGroupInstance, ButtonInstance, ButtonNativeType, ButtonProps, ButtonPropsPublic, ButtonType, CAROUSEL_ITEM_NAME, CASCADER_PANEL_HEIGHT, CASCADER_PANEL_INJECTION_KEY, CASCADER_PANEL_ITEM_SIZE, CalendarDateTableInstance, CalendarDateType, CalendarEmits, CalendarInstance, CalendarProps, CalendarPropsPublic, Callback, CardConfigContext, CardInstance, CardProps, CardPropsPublic, CarouselContext, CarouselEmits, CarouselInstance, CarouselItemContext, CarouselItemInstance, CarouselItemProps, CarouselItemPropsPublic, CarouselItemStates, CarouselProps, CarouselPropsPublic, CascaderCommonProps, CascaderComponentProps, CascaderConfig, CascaderEmits, CascaderInstance, CascaderMenuInstance, Node as CascaderNode, CascaderNodePathValue, CascaderNodeValue, CascaderOption, CascaderPanelInstance, CascaderPanelProps, CascaderProps, CascaderValue, CellCls, CellStyle, CheckTagEmits, CheckTagInstance, CheckTagProps, CheckTagPropsPublic, CheckboxEmits, CheckboxGroupEmits, CheckboxGroupInstance, CheckboxGroupProps, CheckboxGroupPropsPublic, CheckboxGroupValueType, CheckboxInstance, CheckboxOption, CheckboxProps, CheckboxPropsPublic, CheckboxValueType, CheckedInfo, CloseFn, ColInstance, ColProps, ColPropsPublic, ColSize, ColSizeObject, CollapseActiveName, CollapseContext, CollapseEmits, CollapseIconPositionType, CollapseInstance, CollapseItemInstance, CollapseItemProps, CollapseItemPropsPublic, CollapseModelValue, CollapseProps, CollapsePropsPublic, ColorPickerEmits, ColorPickerInstance, ColorPickerPanelContext, ColorPickerPanelEmits, ColorPickerPanelInstance, ColorPickerPanelProps, ColorPickerPanelPropsPublic, ColorPickerProps, ColorPickerPropsPublic, Column, ColumnCls, ColumnResizeHandler, ColumnSortHandler, ColumnSortParams, ColumnStyle, Columns, CommonColorContext, _default as CommonPicker, CommonProps, ConfigProviderContext, ConfigProviderInstance, ConfigProviderProps, ConfigProviderPropsPublic, ContainerInstance, CountdownEmits, CountdownInstance, CountdownProps, CountdownPropsPublic, CreatePopperInstanceParams, Crossorigin, DEFAULT_DIALOG_TRANSITION, DEFAULT_END, DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, DEFAULT_START, DEFAULT_STEP, DROPDOWN_INJECTION_KEY, DROPDOWN_INSTANCE_INJECTION_KEY, DateCell, DateModelType, DateOrDates, DatePickerInstance, DatePickerPanelInstance, DatePickerPanelProps, DatePickerPanelPropsPublic, DatePickerProps, DatePickerPropsPublic, DatePickerType, DateTableInstance, DayOrDays, DefaultProps, DescriptionInstance, DescriptionItemProps, DescriptionItemPropsPublic, DescriptionItemVNode, DescriptionProps, DescriptionPropsPublic, DialogBeforeCloseFn, DialogConfigContext, DialogContext, DialogEmits, DialogInstance, DialogProps, DialogPropsPublic, DialogTransition, Direction, DividerInstance, DividerProps, DividerPropsPublic, DragEvents, DrawerEmits, DrawerInstance, DrawerProps, DrawerPropsPublic, DropdownInstance, DynamicSizeGrid, DynamicSizeGridInstance, DynamicSizeList, DynamicSizeListInstance, Effect, ElAffix, ElAlert, ElAnchor, ElAnchorLink, ElAside, ElAutoResizer, ElAutocomplete, ElAvatar, ElAvatarGroup, ElBacktop, ElBadge, ElBreadcrumb, ElBreadcrumbItem, ElButton, ElButtonGroup, ElCalendar, ElCard, ElCarousel, ElCarouselItem, ElCascader, ElCascaderPanel, ElCascaderPanelContext, ElCheckTag, ElCheckbox, ElCheckboxButton, ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElCollapseTransition, ElColorPicker, ElColorPickerPanel, ElConfigProvider, ElContainer, ElCountdown, ElDatePicker, ElDatePickerPanel, ElDescriptions, ElDescriptionsItem, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownInjectionContext, ElDropdownItem, ElDropdownMenu, ElEmpty, ElFooter, ElForm, ElFormItem, ElHeader, ElIcon, ElImage, ElImageViewer, ElInfiniteScroll, ElInput, ElInputNumber, ElInputOtp, ElInputTag, ElLink, ElLoading, vLoading as ElLoadingDirective, vLoading, Loading as ElLoadingService, ElMain, ElMention, ElMenu, ElMenuItem, ElMenuItemGroup, ElMessage, ElMessageBox, ElMessageBoxOptions, ElMessageBoxShortcutMethod, ElNotification, ElOption, ElOptionGroup, ElOverlay, ElPageHeader, ElPagination, ElPaginationContext, ElPopconfirm, ElPopover, ElPopoverDirective, ElPopper, _default$1 as ElPopperArrow, ElPopperArrowContent, ElPopperArrowInstance, ElPopperArrowTrigger, _default$2 as ElPopperContent, ElPopperContentInjectionContext, ElPopperInjectionContext, _default$3 as ElPopperTrigger, ElProgress, ElRadio, ElRadioButton, ElRadioGroup, ElRate, ElResult, ElRow, ElScrollbar, ElSegmented, ElSelect, ElSelectV2, ElSkeleton, ElSkeletonItem, ElSlider, ElSpace, ElSplitter, ElSplitterPanel, ElStatistic, ElStep, ElSteps, ElSubMenu, ElSwitch, ElTabPane, ElTable, ElTableColumn, ElTableV2, ElTabs, ElTag, ElText, ElTimePicker, ElTimeSelect, ElTimeline, ElTimelineItem, ElTooltip, ElTooltipContentProps, ElTooltipContentPropsPublic, ElTooltipInjectionContext, ElTooltipProps, ElTooltipPropsPublic, ElTooltipTriggerProps, ElTooltipTriggerPropsPublic, ElTour, ElTourStep, ElTransfer, ElTree, ElTreeSelect, ElTreeV2, ElUpload, ElWatermark, EmptyInstance, EmptyProps, EmptyPropsPublic, ExpandTrigger, ExpandedRowsChangeHandler, ExperimentalFeatures, ExposesStates, ExtraCellPropGetter, ExtractHeaderCellPropGetter, ExtractHeaderPropGetter, ExtractRowPropGetter, FIRST_KEYS, FIRST_LAST_KEYS, FakeNode, Filter, FilterNodeMethodFunction, FilterValue, FixedSizeGrid, FixedSizeList, FixedSizeListInstance, FooterInstance, FormContext, FormEmits, FormInstance, FormItemContext, FormItemInstance, FormItemProp, FormItemProps, FormItemPropsPublic, FormItemRule, FormItemValidateState, FormLabelWidthContext, FormMetaProps, FormMetaPropsPublic, FormProps, FormPropsPublic, FormRules, FormValidateCallback, FormValidateFailure, FormValidationResult, GAP, GetDisabledHours, GetDisabledMinutes, GetDisabledSeconds, GetEstimatedTotalSize, GetGridOffset, GetOffset, GetPosition, GetStartIndexForOffset, GetStopIndexForStartIndex, GridCache, GridConstructorProps, GridDefaultSlotParams, GridExposes, GridInstance, GridItemKeyGetter, GridItemRenderedEvtParams, GridScrollOptions, GridStates, HeaderCellSlotProps, HeaderClassNameGetter, HeaderInstance, IElDropdownInstance, IElMessageBox, IUseFormItemInputCommonProps, IconComponentMap, IconInstance, IconMap, IconProps, IconPropsPublic, ImageCrossorigin, ImageEmits, ImageFitType, ImageInstance, ImageProps, ImagePropsPublic, ImageViewerAction, ImageViewerCrossorigin, ImageViewerEmits, ImageViewerInstance, ImageViewerMode, ImageViewerProps, ImageViewerPropsPublic, InitCacheFunc, InitGridCacheFunc, InitListCacheFunc, InputAutoSize, InputEmits, InputInstance, InputModelModifiers, InputNumberEmits, InputNumberInstance, InputNumberProps, InputNumberPropsPublic, InputOtpEmits, InputOtpInstance, InputOtpProps, InputProps, InputPropsPublic, InputTagEmits, InputTagInstance, InputTagProps, InputTagPropsPublic, InputType, Instance, ItemProps, ItemSize, LAST_KEYS, LEFT_CHECK_CHANGE_EVENT, LayoutDirection, LazyLoad, LinkConfigContext, LinkEmits, LinkInstance, LinkProps, LinkPropsPublic, ListCache, ListConstructorProps, ListExposes, ListItem, ListItemSizer, ListType, LoadFunction, LoadingInstance, LoadingOptions, LoadingOptionsResolved, LoadingParentElement, MENU_INJECTION_KEY, MESSAGE_DEFAULT_PLACEMENT, MainInstance, Measurable, MentionEmits, MentionInstance, MentionOption, MentionOptionProps, MentionProps, MentionPropsPublic, MenuEmits, MenuInstance, MenuItemClicked, MenuItemEmits, MenuItemGroupInstance, MenuItemGroupProps, MenuItemGroupPropsPublic, MenuItemInstance, MenuItemProps, MenuItemPropsPublic, MenuItemRegistered, MenuProps, MenuPropsPublic, MenuProvider, Message, MessageBoxActionHandlers, MessageBoxData, MessageBoxInputData, MessageBoxInputValidator, MessageBoxState, MessageBoxType, MessageConfigContext, MessageEmits, MessageFn, MessageHandler, MessageInstance, MessageOptions, MessageOptionsWithType, MessageParams, MessageParamsNormalized, MessageParamsWithType, MessagePlacement, MessageProps, MessagePropsPublic, MessageType, MessageTypedFn, ModelValueType, NODE_INSTANCE_INJECTION_KEY, NodeDropType, NotificationEmits, NotificationExposed, NotificationHandle, NotificationInstance, NotificationOptions, NotificationOptionsTyped, NotificationParams, NotificationParamsTyped, NotificationPosition, NotificationProgress, NotificationProps, NotificationPropsPublic, NotificationQueue, NotificationQueueItem, NotificationType, Notify, NotifyFn, NotifyTypedFn, Nullable, OptionBasic, OptionV2Props, Options, OverlayEmits, OverlayProps, OverlayPropsPublic, PICKER_BASE_INJECTION_KEY, PICKER_POPPER_OPTIONS_INJECTION_KEY, POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY, PageHeaderEmits, PageHeaderInstance, PageHeaderProps, PageHeaderPropsPublic, PaginationEmits, PaginationProps, PaginationPropsPublic, PickerOptions, Placement, PopconfirmEmits, PopconfirmInstance, PopconfirmProps, PopconfirmPropsPublic, PopoverEmits, PopoverInstance, PopoverProps, PopoverPropsPublic, PopperArrowInstance, PopperArrowProps, PopperArrowPropsPublic, PopperContentEmits, PopperContentInstance, PopperContentProps, PopperContentPropsPublic, PopperCoreConfigProps, PopperCoreConfigPropsPublic, PopperEffect, PopperInstance, PopperProps, PopperPropsPublic, PopperTrigger, PopperTriggerInstance, PopperTriggerProps, ProgressColor, ProgressFn, ProgressInstance, ProgressProps, ProgressPropsPublic, PropValidator, Props, RIGHT_CHECK_CHANGE_EVENT, ROOT_COMMON_COLOR_INJECTION_KEY, ROOT_COMMON_PICKER_INJECTION_KEY, ROOT_PICKER_INJECTION_KEY, ROOT_TREE_INJECTION_KEY, RTLOffsetType, RadioButtonInstance, RadioButtonProps, RadioButtonPropsPublic, RadioEmits, RadioGroupContext, RadioGroupEmits, RadioGroupInstance, RadioGroupProps, RadioGroupPropsPublic, RadioInstance, RadioProps, RadioPropsBase, RadioPropsPublic, RateEmits, RateInstance, RateProps, RatePropsPublic, RenderContentContext, RenderContentFunction, RenderLabel, RenderLabelProps, RenderRowData, ResetAfterIndex, ResetAfterIndices, Resolve, ResultInstance, ResultProps, ResultPropsPublic, RootTreeType, RowAlign, RowClassNameGetter, RowEventHandler, RowEventHandlerParams, RowEventHandlers, RowExpandHandler, RowExpandParams, RowHeightChangeHandler, RowHeightChangedParams, RowHoverHandler, RowHoverParams, RowInstance, RowJustify, RowProps, RowPropsPublic, STEPS_INJECTION_KEY, SUB_MENU_INJECTION_KEY, ScrollDir, ScrollDirection, ScrollbarContext, ScrollbarDirection, ScrollbarEmits, ScrollbarExpose, ScrollbarInstance, ScrollbarProps, ScrollbarPropsPublic, SegmentedEmits, SegmentedInstance, SegmentedProps, SegmentedPropsPublic, SelectContext, SelectEmits, SelectInstance, SelectOptionProps, OptionPublicInstance as SelectOptionProxy, SelectProps, SelectPropsPublic, SelectV2Context, SelectV2Instance, SelectV2Props, SharedExposes, SingleOrRange, SkeletonInstance, SkeletonItemInstance, SkeletonItemProps, SkeletonItemPropsPublic, SkeletonProps, SkeletonPropsPublic, SliderContext, SliderEmits, SliderInitData, SliderInstance, SliderProps, SliderPropsPublic, Sort, SortBy, SortState, SpaceInstance, SpaceItemInstance, SpaceItemProps, SpaceItemPropsPublic, SpaceProps, SpacePropsPublic, SplitterEmits, SplitterInstance, SplitterPanelEmits, SplitterPanelInstance, SplitterPanelProps, SplitterPanelPropsPublic, SplitterProps, SplitterPropsPublic, StatisticInstance, StatisticProps, StatisticPropsPublic, StepInstance, StepProps, StepPropsPublic, StepsEmits, StepsInstance, StepsProps, StepsPropsPublic, StepsStatus, SubMenuInstance, SubMenuProps, SubMenuPropsPublic, SubMenuProvider, SummaryMethod, SwitchEmits, SwitchInstance, SwitchProps, SwitchPropsPublic, TIMELINE_INJECTION_KEY, TOOLTIP_INJECTION_KEY, TREE_NODE_MAP_INJECTION_KEY, TabBarInstance, TabBarProps, TabBarPropsPublic, TabNavEmits, TabNavInstance, TabNavProps, TabNavPropsPublic, TabPaneInstance, TabPaneName, TabPaneProps, TabPanePropsPublic, Table, TableColumnCtx, TableColumnInstance, TableConfigContext, TableEmits, TableInstance, TableProps, TableRefs, TableTooltipData, TableV2, Alignment$1 as TableV2Alignment, TableV2CustomizedHeaderSlotParam, FixedDir as TableV2FixedDir, TableV2Instance, placeholderSign as TableV2Placeholder, TableV2Props, TableV2PropsPublic, TableV2RowProps, TableV2RowPropsPublic, SortOrder as TableV2SortOrder, TabsEmits, TabsInstance, TabsPaneContext, TabsPanes, TabsProps, TabsPropsPublic, TabsRootContext, Tag, TagEmits, TagInstance, TagProps, TagPropsPublic, TagTooltipProps, TextProps, TextPropsPublic, ThumbInstance, ThumbProps, ThumbPropsPublic, TimeList, _default$4 as TimePickPanel, TimePickerDefaultProps, TimePickerDefaultPropsPublic, TimePickerExpose, TimePickerInstance, TimeSelectInstance, TimeSelectProps, TimeSelectPropsPublic, TimeUnit, TimelineInstance, TimelineItemInstance, TimelineItemProps, TimelineItemPropsPublic, TimelineProps, TimelinePropsPublic, TimelineProvider, TooltipContentInstance, TooltipInstance, TooltipTriggerType, TourBtnProps, TourContentEmits, TourContentProps, TourContentPropsPublic, TourEmits, TourGap, TourInstance, TourMask, TourProps, TourPropsPublic, TourStepEmits, TourStepProps, TourStepPropsPublic, TransferCheckedState, TransferDataItem, TransferDirection, TransferEmits, TransferFormat, TransferInstance, TransferKey, TransferProps, TransferPropsAlias, TransferPropsPublic, TreeComponentProps, TreeData, TreeEmits, TreeInstance, TreeKey, TreeNode, TreeNodeChildState, TreeNodeData, TreeNodeLoadedDefaultProps, TreeNodeOptions, TreeOptionProps, TreeSelectInstance, TreeStoreNodesMap, TreeStoreOptions, TreeV2Instance, UploadBaseProps, UploadContentInstance, UploadContentProps, UploadContentPropsPublic, UploadContext, UploadData, UploadDraggerEmits, UploadDraggerInstance, UploadDraggerProps, UploadDraggerPropsPublic, UploadFile, UploadFiles, UploadHooks, UploadInstance, UploadListEmits, UploadListInstance, UploadListProps, UploadListPropsPublic, UploadProgressEvent, UploadProps, UploadPropsPublic, UploadRawFile, UploadRequestHandler, UploadRequestOptions, UploadStatus, UploadUserFile, UsePopperArrowProps, UsePopperContentProps, UsePopperCoreConfigProps, UsePopperProps, UseTooltipProps, UseTooltipTriggerProps, UserInput, VirtualizedGridProps, VirtualizedGridPropsPublic, VirtualizedListProps, VirtualizedListPropsPublic, VirtualizedProps, VirtualizedPropsPublic, VirtualizedScrollbarProps, VirtualizedScrollbarPropsPublic, WatermarkFontType, WatermarkInstance, WatermarkProps, WatermarkPropsPublic, affixEmits, affixProps, alertEffects, alertEmits, alertProps, anchorEmits, anchorProps, autoResizerProps, autocompleteEmits, autocompleteProps, avatarEmits, avatarGroupContextKey, avatarGroupProps, avatarProps, backtopEmits, backtopProps, badgeProps, breadcrumbItemProps, breadcrumbKey, breadcrumbProps, buildTimeList, buttonEmits, buttonGroupContextKey, buttonNativeTypes, buttonProps, buttonTypes, calendarEmits, calendarProps, cardContextKey, cardProps, carouselContextKey, carouselEmits, carouselItemProps, carouselProps, cascaderEmits, cascaderPanelEmits, cascaderPanelProps, cascaderProps, checkTagEmits, checkTagProps, checkboxDefaultProps, checkboxEmits, checkboxGroupContextKey, checkboxGroupEmits, checkboxGroupProps, checkboxProps, checkboxPropsDefaults, colProps, collapseContextKey, collapseEmits, collapseItemProps, collapseProps, colorPickerEmits, colorPickerPanelContextKey, colorPickerPanelEmits, colorPickerPanelProps, colorPickerProps, colorPickerPropsDefaults, configProviderContextKey, configProviderProps, countdownEmits, countdownProps, dateEquals, datePickerPanelProps, datePickerProps, dayOrDaysToDate, defaultProps, descriptionItemProps, descriptionProps, dialogContextKey, dialogEmits, dialogInjectionKey, dialogProps, dialogPropsDefaults, dividerProps, drawerEmits, drawerProps, dropdownItemProps, dropdownMenuProps, dropdownProps, elPaginationKey, emitChangeFn, emptyProps, extractDateFormat, extractTimeFormat, formContextKey, formEmits, formItemContextKey, formItemProps, formItemValidateStates, formMetaProps, formProps, formatter, genFileId, hType, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, inputEmits, inputNumberEmits, inputNumberProps, inputOtpEmits, inputProps, inputPropsDefaults, inputTagEmits, inputTagProps, isDisabled, isLeaf, linkEmits, linkProps, makeList, mentionDefaultProps, mentionEmits, mentionProps, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuProps, messageConfig, messageDefaults, messageEmits, messagePlacement, messageProps, messageType, messageTypes, notificationEmits, notificationProps, notificationTypes, overlayEmits, overlayProps, pageHeaderEmits, pageHeaderProps, paginationEmits, paginationProps, parseDate, popconfirmEmits, popconfirmProps, popoverEmits, popoverProps, popoverPropsDefaults, popperArrowProps, popperArrowPropsDefaults, popperContentEmits, popperContentProps, popperContentPropsDefaults, popperCoreConfigProps, popperCoreConfigPropsDefaults, popperProps, popperTriggerProps, progressProps, provideGlobalConfig, radioButtonProps, radioButtonPropsDefaults, radioDefaultProps, radioEmits, radioGroupEmits, radioGroupKey, radioGroupProps, radioGroupPropsDefaults, radioOption, radioOptionProp, radioProps, radioPropsBase, radioPropsDefaults, rangeArr, rateEmits, rateProps, renderContent, renderThumbStyle, resultProps, roleTypes, rowContextKey, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, segmentedEmits, segmentedProps, selectEmits, selectGroupKey, selectKey, selectProps, selectV2InjectionKey, skeletonItemProps, skeletonProps, sliderContextKey, sliderEmits, sliderProps, spaceItemProps, spaceProps, splitterEmits, splitterPanelEmits, splitterPanelProps, splitterProps, statisticProps, stepProps, stepsEmits, stepsProps, subMenuProps, switchEmits, switchProps, tabBarProps, tabNavEmits, tabNavProps, tabPaneProps, tableV2Props, tableV2RowProps, tabsEmits, tabsProps, tabsRootContextKey, tagEmits, tagProps, textProps, thumbProps, timePickerDefaultProps, timePickerRangeTriggerProps, timePickerRngeTriggerProps, timeSelectProps, timeUnits, timelineItemProps, timelineProps, tooltipEmits, tourContentEmits, tourContentProps, tourEmits, tourPlacements, tourProps, tourStepEmits, tourStepProps, tourStrategies, transferCheckedChangeFn, transferEmits, transferProps, treeEmits, treeProps, uploadBaseProps, uploadBasePropsDefaults, uploadContentProps, uploadContentPropsDefaults, uploadContextKey, uploadDraggerEmits, uploadDraggerProps, uploadListEmits, uploadListProps, uploadListTypes, uploadProps, uploadPropsDefaults, useCascaderConfig, useDialog, useDisabled, useFormDisabled, useFormItem, useFormItemInputId, useFormSize, useGlobalComponentSettings, useGlobalConfig, usePopperArrowProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps, usePopperProps, usePopperTriggerProps, useSize, useSpace, useTooltipContentProps, useTooltipContentPropsDefaults, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps, useTooltipTriggerProps, useTooltipTriggerPropsDefaults, valueEquals, virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps, watermarkProps };
@@ -410,7 +410,6 @@ exports.RIGHT_CHECK_CHANGE_EVENT = require_transfer.RIGHT_CHECK_CHANGE_EVENT;
410
410
  exports.ROOT_COMMON_COLOR_INJECTION_KEY = require_color_picker_panel.ROOT_COMMON_COLOR_INJECTION_KEY;
411
411
  exports.ROOT_COMMON_PICKER_INJECTION_KEY = require_constants$8.ROOT_COMMON_PICKER_INJECTION_KEY;
412
412
  exports.ROOT_PICKER_INJECTION_KEY = require_constants$14.ROOT_PICKER_INJECTION_KEY;
413
- exports.ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY = require_constants$14.ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY;
414
413
  exports.ROOT_TREE_INJECTION_KEY = require_tokens$4.ROOT_TREE_INJECTION_KEY;
415
414
  exports.RowAlign = require_row.RowAlign;
416
415
  exports.RowJustify = require_row.RowJustify;
@@ -155,7 +155,7 @@ interface InputProps {
155
155
  * @deprecated Removed after 3.0.0, Use `InputProps` instead.
156
156
  */
157
157
  declare const inputProps: {
158
- readonly inputmode: EpPropFinalized<(new (...args: any[]) => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
158
+ readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
159
159
  readonly name: StringConstructor;
160
160
  readonly ariaLabel: StringConstructor;
161
161
  readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
@@ -182,7 +182,7 @@ declare const inputProps: {
182
182
  };
183
183
  readonly type: EpPropFinalized<(new (...args: any[]) => string) | (() => InputType) | (((new (...args: any[]) => string) | (() => InputType)) | null)[], unknown, unknown, "text", boolean>;
184
184
  readonly resize: {
185
- readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown>>;
185
+ readonly type: _$vue.PropType<EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
186
186
  readonly required: false;
187
187
  readonly validator: ((val: unknown) => boolean) | undefined;
188
188
  __epPropKey: true;
@@ -224,7 +224,7 @@ declare const inputProps: {
224
224
  readonly clearIcon: EpPropFinalized<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown, _$vue.DefineComponent<{}, void, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, true, {}, any>, boolean>;
225
225
  readonly showPassword: BooleanConstructor;
226
226
  readonly showWordLimit: BooleanConstructor;
227
- readonly wordLimitPosition: EpPropFinalized<StringConstructor, "outside" | "inside", unknown, "inside", boolean>;
227
+ readonly wordLimitPosition: EpPropFinalized<StringConstructor, "inside" | "outside", unknown, "inside", boolean>;
228
228
  readonly suffixIcon: {
229
229
  readonly type: _$vue.PropType<EpPropMergeType<(new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component) | (((new (...args: any[]) => (string | _$vue.Component) & {}) | (() => string | _$vue.Component)) | null)[], unknown, unknown>>;
230
230
  readonly required: false;
@@ -36,39 +36,39 @@ declare const __VLS_base: _$vue.DefineComponent<InputProps, {
36
36
  clear: (evt: MouseEvent | undefined) => void;
37
37
  "update:modelValue": (value: string) => void;
38
38
  input: (value: string) => void;
39
+ focus: (evt: FocusEvent) => void;
39
40
  blur: (evt: FocusEvent) => void;
40
- compositionend: (evt: CompositionEvent) => void;
41
+ mouseleave: (evt: MouseEvent) => void;
42
+ mouseenter: (evt: MouseEvent) => void;
43
+ keydown: (evt: Event | KeyboardEvent) => void;
41
44
  compositionstart: (evt: CompositionEvent) => void;
42
45
  compositionupdate: (evt: CompositionEvent) => void;
43
- focus: (evt: FocusEvent) => void;
44
- keydown: (evt: Event | KeyboardEvent) => void;
45
- mouseenter: (evt: MouseEvent) => void;
46
- mouseleave: (evt: MouseEvent) => void;
46
+ compositionend: (evt: CompositionEvent) => void;
47
47
  }, string, _$vue.PublicProps, Readonly<InputProps> & Readonly<{
48
48
  onChange?: ((value: string, evt?: Event | undefined) => any) | undefined;
49
49
  onClear?: ((evt: MouseEvent | undefined) => any) | undefined;
50
50
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
51
51
  onInput?: ((value: string) => any) | undefined;
52
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
52
53
  onBlur?: ((evt: FocusEvent) => any) | undefined;
53
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
54
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
55
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
56
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
54
57
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
55
58
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
56
- onFocus?: ((evt: FocusEvent) => any) | undefined;
57
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
58
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
59
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
59
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
60
60
  }>, {
61
61
  type: InputType;
62
- modelValue: string | number | null;
63
62
  disabled: boolean;
64
- rows: number;
65
- clearIcon: IconPropType;
66
- validateEvent: boolean;
63
+ modelValue: string | number | null;
67
64
  modelModifiers: InputModelModifiers;
68
65
  autocomplete: string;
66
+ clearIcon: IconPropType;
69
67
  wordLimitPosition: "inside" | "outside";
70
68
  tabindex: string | number;
69
+ validateEvent: boolean;
71
70
  inputStyle: string | false | _$vue.CSSProperties | StyleValue[] | null;
71
+ rows: number;
72
72
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
73
73
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
74
74
  declare const _default: typeof __VLS_export;
@@ -96,10 +96,23 @@ var input_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (0, vue.
96
96
  const clearIconStyle = (0, vue.ref)();
97
97
  const textareaCalcStyle = (0, vue.shallowRef)(props.inputStyle);
98
98
  const saveValue = (0, vue.ref)("");
99
+ let passwordFocusValue;
99
100
  const textareaHeight = (0, vue.ref)();
100
101
  const _ref = (0, vue.computed)(() => input.value || textarea.value);
101
102
  const { wrapperRef, isFocused, handleFocus, handleBlur } = require_index$3.useFocusController(_ref, {
102
103
  disabled: inputDisabled,
104
+ afterFocus() {
105
+ if (props.showPassword) passwordFocusValue = _ref.value?.value;
106
+ },
107
+ beforeBlur(event) {
108
+ if (props.showPassword) {
109
+ const target = _ref.value;
110
+ if (event.relatedTarget && target?.parentElement?.contains(event.relatedTarget)) return;
111
+ const value = target?.value;
112
+ if (!(0, lodash_unified.isNil)(value) && !(0, lodash_unified.isNil)(passwordFocusValue) && value !== passwordFocusValue) target?.dispatchEvent(new Event("change", { bubbles: true }));
113
+ passwordFocusValue = void 0;
114
+ }
115
+ },
103
116
  afterBlur() {
104
117
  if (props.validateEvent) elFormItem?.validate?.("blur").catch(_vue_shared.NOOP);
105
118
  }
@@ -269,6 +282,7 @@ right: `calc(100% - ${width - 11}px)` };
269
282
  };
270
283
  const handleChange = async (event) => {
271
284
  let { value } = event.target;
285
+ if (props.showPassword) passwordFocusValue = value;
272
286
  value = formatValue(value);
273
287
  if (props.modelModifiers.lazy) emit(require_event.UPDATE_MODEL_EVENT, value);
274
288
  emit(require_event.CHANGE_EVENT, value, event);
@@ -300,6 +314,7 @@ right: `calc(100% - ${width - 11}px)` };
300
314
  };
301
315
  const clear = (evt) => {
302
316
  emit(require_event.UPDATE_MODEL_EVENT, "");
317
+ passwordFocusValue = "";
303
318
  emit(require_event.CHANGE_EVENT, "");
304
319
  emit("clear", evt);
305
320
  emit(require_event.INPUT_EVENT, "");
@@ -1 +1 @@
1
- {"version":3,"file":"input.vue_vue_type_script_setup_true_lang.js","names":["$slots"],"sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\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 @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 :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\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 <el-icon\n v-if=\"renderClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n :style=\"{ visibility: showClear ? 'visible' : 'hidden' }\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\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=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n @mousedown.prevent=\"NOOP\"\n @mouseup.prevent=\"NOOP\"\n >\n <slot name=\"password-icon\" :visible=\"passwordVisible\">\n <component :is=\"passwordIcon\" />\n </slot>\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\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=\"[\n nsTextarea.e('inner'),\n nsInput.is('focus', isFocused),\n nsTextarea.is('clearable', clearable),\n ]\"\n v-bind=\"attrs\"\n :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :rows=\"rows\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\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 <el-icon\n v-if=\"showClear\"\n :class=\"[nsTextarea.e('icon'), nsTextarea.e('clear')]\"\n :style=\"clearIconStyle\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\n {{ textLength }} / {{ maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onBeforeUnmount,\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 { Hide, View } 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 cAF,\n debugWarn,\n isClient,\n isObject,\n rAF,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useComposition,\n useCursor,\n useFocusController,\n useNamespace,\n} from '@element-plus/hooks'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { calcTextareaHeight, looseToNumber } from './utils'\nimport { inputEmits, inputPropsDefaults } from './input'\n\nimport type { StyleValue } from 'vue'\nimport type { InputProps } from './input'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\n\nconst COMPONENT_NAME = 'ElInput'\ndefineOptions({\n name: COMPONENT_NAME,\n inheritAttrs: false,\n})\nconst props = withDefaults(defineProps<InputProps>(), inputPropsDefaults)\nconst emit = defineEmits(inputEmits)\n\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\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()\nconst maxlength = computed(() => props.maxlength?.toString())\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 passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst clearIconStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\nconst saveValue = ref('')\nconst textareaHeight = ref<string>()\n\nconst _ref = computed(() => input.value || textarea.value)\n\n// wrapperRef for type=\"text\", handleFocus and handleBlur for type=\"textarea\"\n// @ts-ignore - used in template ref binding, TS cannot detect template usage\nconst { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(\n _ref,\n {\n disabled: inputDisabled,\n afterBlur() {\n if (props.validateEvent) {\n elFormItem?.validate?.('blur').catch(NOOP)\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(() => (passwordVisible.value ? View : Hide))\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 textareaHeight.value ? { height: textareaHeight.value } : undefined,\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst renderClear = computed(\n () => props.clearable && !inputDisabled.value && !props.readonly\n)\nconst showClear = computed(\n () =>\n renderClear.value &&\n !!nativeInputValue.value &&\n (isFocused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () => props.showPassword && !inputDisabled.value && !!nativeInputValue.value\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!maxlength.value &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => {\n if (props.countGraphemes && props.showWordLimit) {\n return props.countGraphemes(nativeInputValue.value)\n }\n return nativeInputValue.value.length\n})\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value && textLength.value > Number(maxlength.value)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n props.clearable ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\nconst hasModelModifiers = computed(\n () => !!Object.keys(props.modelModifiers).length\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nlet rAFId: number | undefined\n\nuseResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea()\n if (\n (!isWordLimitVisible.value && !renderClear.value) ||\n (props.resize !== 'both' && props.resize !== 'horizontal')\n )\n return\n const entry = entries[0]\n const { width } = entry.target.getBoundingClientRect()\n\n const updateStyle = () => {\n rAFId = undefined\n countStyle.value = {\n /** right: 100% - (width - right(10)) */\n right: `calc(100% - ${width - 10}px)`,\n }\n clearIconStyle.value = {\n /** right: 100% - (width - right(11)) */\n right: `calc(100% - ${width - 11}px)`,\n }\n }\n\n rAFId && cAF(rAFId)\n rAFId = rAF(updateStyle)\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) {\n if (props.resize !== 'none') {\n // The execution here may occur before `setTimeout(resizeTextarea)`,\n // potentially causing a regression of issue #21836, so the assignment needs to be deferred.\n setTimeout(() => {\n textareaHeight.value = textarea.value?.style.height\n })\n }\n return\n }\n const isElHidden = textarea.value?.offsetParent === null\n if (!isElHidden) {\n setTimeout(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 || props.type === 'file') return\n input.value = formatterValue\n}\n\nconst formatValue = (value: string) => {\n const { trim, number } = props.modelModifiers\n if (trim) {\n value = value.trim()\n }\n if (number) {\n value = `${looseToNumber(value)}`\n }\n if (props.formatter && props.parser) {\n value = props.parser(value)\n }\n return value\n}\n\nconst handleInput = async (event: Event) => {\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n const { lazy } = props.modelModifiers\n let { value } = event.target as TargetElement\n let shouldForceNativeUpdate = false\n if (lazy) {\n emit(INPUT_EVENT, value)\n return\n }\n\n value = formatValue(value)\n\n if (props.countGraphemes && maxlength.value != null) {\n const limit = Number(maxlength.value)\n const graphemes = props.countGraphemes(value)\n const saveGraphemes = props.countGraphemes(saveValue.value)\n if (graphemes > limit && graphemes > saveGraphemes) {\n // If current value already exceeds limit, block further input and keep exceed state.\n if (saveGraphemes > limit) {\n value = saveValue.value\n shouldForceNativeUpdate = true\n } else {\n // Keep unchanged suffix like native maxlength behavior.\n // Instead of truncating from the end of the whole string,\n // only limit the inserted segment to available capacity.\n const prevValue = saveValue.value\n const nextValue = value\n let prefixLen = 0\n\n while (\n prefixLen < prevValue.length &&\n prefixLen < nextValue.length &&\n prevValue[prefixLen] === nextValue[prefixLen]\n ) {\n prefixLen++\n }\n\n let prevSuffixIndex = prevValue.length\n let nextSuffixIndex = nextValue.length\n while (\n prevSuffixIndex > prefixLen &&\n nextSuffixIndex > prefixLen &&\n prevValue[prevSuffixIndex - 1] === nextValue[nextSuffixIndex - 1]\n ) {\n prevSuffixIndex--\n nextSuffixIndex--\n }\n\n const before = nextValue.slice(0, prefixLen)\n const removed = prevValue.slice(prefixLen, prevSuffixIndex)\n const inserted = nextValue.slice(prefixLen, nextSuffixIndex)\n const after = nextValue.slice(nextSuffixIndex)\n\n const removedCount = props.countGraphemes(removed)\n const baseCount = saveGraphemes - removedCount\n const availableInserted = Math.max(0, limit - baseCount)\n\n let acceptedInserted = ''\n if (availableInserted > 0) {\n // Use Intl.Segmenter for proper grapheme cluster iteration if available.\n if (typeof Intl !== 'undefined' && 'Segmenter' in Intl) {\n const segmenter = new Intl.Segmenter(undefined, {\n granularity: 'grapheme',\n })\n for (const { segment } of segmenter.segment(inserted)) {\n const candidate = acceptedInserted + segment\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n } else {\n // Fallback to code-point iteration for older environments.\n for (const char of Array.from(inserted)) {\n const candidate = acceptedInserted + char\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n }\n }\n\n value = before + acceptedInserted + after\n shouldForceNativeUpdate = true\n }\n }\n }\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 (String(value) === nativeInputValue.value) {\n // preserve native features while being compatible with #9501\n if (props.formatter || shouldForceNativeUpdate) {\n const target = event.target as TargetElement\n const blockedValue = target.value\n const selectionStart = target.selectionStart\n const selectionEnd = target.selectionEnd\n setNativeInputValue()\n // Keep caret position stable when input is blocked and value is reset.\n if (\n shouldForceNativeUpdate &&\n _ref.value &&\n selectionStart != null &&\n selectionEnd != null\n ) {\n const restoredValue = _ref.value.value\n const afterTxt = blockedValue.slice(Math.max(0, selectionEnd))\n let caretPos = Math.min(selectionStart, restoredValue.length)\n\n if (afterTxt && restoredValue.endsWith(afterTxt)) {\n caretPos = restoredValue.length - afterTxt.length\n }\n\n _ref.value.setSelectionRange(caretPos, caretPos)\n }\n }\n return\n }\n saveValue.value = value\n\n recordCursor()\n emit(UPDATE_MODEL_EVENT, value)\n emit(INPUT_EVENT, value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n\n if ((props.formatter && props.parser) || !hasModelModifiers.value) {\n setNativeInputValue()\n }\n setCursor()\n}\n\nconst handleChange = async (event: Event) => {\n let { value } = event.target as TargetElement\n\n value = formatValue(value)\n if (props.modelModifiers.lazy) {\n emit(UPDATE_MODEL_EVENT, value)\n }\n emit(CHANGE_EVENT, value, event)\n\n await nextTick()\n setNativeInputValue()\n}\n\nconst {\n isComposing,\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n} = useComposition({ emit, afterComposition: handleInput })\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n}\n\nconst focus = () => _ref.value?.focus()\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 = (evt?: MouseEvent) => {\n emit(UPDATE_MODEL_EVENT, '')\n emit(CHANGE_EVENT, '')\n emit('clear', evt)\n emit(INPUT_EVENT, '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => {\n resizeTextarea()\n if (props.autosize) {\n textareaHeight.value = undefined\n }\n })\n if (props.validateEvent) {\n elFormItem?.validate?.('change').catch(NOOP)\n }\n }\n)\n\nwatch(\n () => nativeInputValue.value,\n (val) => {\n saveValue.value = val\n },\n { immediate: true }\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, (newValue) => {\n if (!_ref.value) {\n return\n }\n const { trim, number } = props.modelModifiers\n const elValue = _ref.value.value\n const displayValue =\n (number || props.type === 'number') && !/^0\\d/.test(elValue)\n ? `${looseToNumber(elValue)}`\n : elValue\n\n if (displayValue === newValue) {\n return\n }\n\n if (document.activeElement === _ref.value && _ref.value.type !== 'range') {\n if (trim && displayValue.trim() === newValue) {\n return\n }\n }\n\n setNativeInputValue()\n})\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 COMPONENT_NAME,\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n nextTick(resizeTextarea)\n})\n\nonBeforeUnmount(() => {\n rAFId && cAF(rAFId)\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 is input composing */\n isComposing,\n\n /** @description whether the password is visible */\n passwordVisible,\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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuOA,MAAM,iBAAiB;;;;;;;;EAKvB,MAAM,QAAQ;EACd,MAAM,OAAO;EAEb,MAAM,YAAA,GAAA,IAAA,WAAuB;EAC7B,MAAM,SAAA,GAAA,IAAA,WAAiB;EAEvB,MAAM,gBAAA,GAAA,IAAA,gBAA8B;GAClC,MAAM,SAAS,aAAa,WAAW,GAAG,GAAG,QAAQ,GAAG;GACxD,QAAQ,EAAE,UAAU,MAAM;GAC1B,QAAQ,GAAG,YAAY,cAAc,MAAM;GAC3C,QAAQ,GAAG,UAAU,YAAY,MAAM;GACvC;KACG,QAAQ,EAAE,QAAQ,GAAG,MAAM,WAAW,MAAM;KAC5C,QAAQ,EAAE,SAAS,GAAG,MAAM,UAAU,MAAM;KAC5C,QAAQ,EAAE,SAAS,GAClB,MAAM,UAAU,MAAM,cAAc,MAAM,aAAa,MAAM;KAC9D,QAAQ,GAAG,UAAU,iBAAiB,GACrC,UAAU,SAAS,eAAe;KACnC,QAAQ,EAAE,SAAS,GAAG,MAAM,SAAS;IACvC;GACD,SAAS;GACV,CAAA;EAED,MAAM,cAAA,GAAA,IAAA,gBAA4B,CAChC,QAAQ,EAAE,UAAU,EACpB,QAAQ,GAAG,SAAS,UAAU,MAAM,CACrC,CAAA;EAED,MAAM,QAAQ,cAAA,UAAS;EACvB,MAAM,aAAA,GAAA,I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cesContent":["<template>\n <div\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 @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 :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\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 <el-icon\n v-if=\"renderClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n :style=\"{ visibility: showClear ? 'visible' : 'hidden' }\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\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=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n @mousedown.prevent=\"NOOP\"\n @mouseup.prevent=\"NOOP\"\n >\n <slot name=\"password-icon\" :visible=\"passwordVisible\">\n <component :is=\"passwordIcon\" />\n </slot>\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\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=\"[\n nsTextarea.e('inner'),\n nsInput.is('focus', isFocused),\n nsTextarea.is('clearable', clearable),\n ]\"\n v-bind=\"attrs\"\n :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :rows=\"rows\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\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 <el-icon\n v-if=\"showClear\"\n :class=\"[nsTextarea.e('icon'), nsTextarea.e('clear')]\"\n :style=\"clearIconStyle\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\n {{ textLength }} / {{ maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onBeforeUnmount,\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 { Hide, View } 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 cAF,\n debugWarn,\n isClient,\n isObject,\n rAF,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useComposition,\n useCursor,\n useFocusController,\n useNamespace,\n} from '@element-plus/hooks'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { calcTextareaHeight, looseToNumber } from './utils'\nimport { inputEmits, inputPropsDefaults } from './input'\n\nimport type { StyleValue } from 'vue'\nimport type { InputProps } from './input'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\n\nconst COMPONENT_NAME = 'ElInput'\ndefineOptions({\n name: COMPONENT_NAME,\n inheritAttrs: false,\n})\nconst props = withDefaults(defineProps<InputProps>(), inputPropsDefaults)\nconst emit = defineEmits(inputEmits)\n\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\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()\nconst maxlength = computed(() => props.maxlength?.toString())\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 passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst clearIconStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\nconst saveValue = ref('')\nlet passwordFocusValue: string | undefined\nconst textareaHeight = ref<string>()\n\nconst _ref = computed(() => input.value || textarea.value)\n\n// wrapperRef for type=\"text\", handleFocus and handleBlur for type=\"textarea\"\n// @ts-ignore - used in template ref binding, TS cannot detect template usage\nconst { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(\n _ref,\n {\n disabled: inputDisabled,\n afterFocus() {\n if (props.showPassword) {\n passwordFocusValue = _ref.value?.value\n }\n },\n beforeBlur(event) {\n if (props.showPassword) {\n const target = _ref.value\n if (\n event.relatedTarget &&\n target?.parentElement?.contains(event.relatedTarget as Node)\n ) {\n return undefined\n }\n const value = target?.value\n if (\n !isNil(value) &&\n !isNil(passwordFocusValue) &&\n value !== passwordFocusValue\n ) {\n target?.dispatchEvent(new Event('change', { bubbles: true }))\n }\n passwordFocusValue = undefined\n }\n return undefined\n },\n afterBlur() {\n if (props.validateEvent) {\n elFormItem?.validate?.('blur').catch(NOOP)\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(() => (passwordVisible.value ? View : Hide))\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 textareaHeight.value ? { height: textareaHeight.value } : undefined,\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst renderClear = computed(\n () => props.clearable && !inputDisabled.value && !props.readonly\n)\nconst showClear = computed(\n () =>\n renderClear.value &&\n !!nativeInputValue.value &&\n (isFocused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () => props.showPassword && !inputDisabled.value && !!nativeInputValue.value\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!maxlength.value &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => {\n if (props.countGraphemes && props.showWordLimit) {\n return props.countGraphemes(nativeInputValue.value)\n }\n return nativeInputValue.value.length\n})\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value && textLength.value > Number(maxlength.value)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n props.clearable ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\nconst hasModelModifiers = computed(\n () => !!Object.keys(props.modelModifiers).length\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nlet rAFId: number | undefined\n\nuseResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea()\n if (\n (!isWordLimitVisible.value && !renderClear.value) ||\n (props.resize !== 'both' && props.resize !== 'horizontal')\n )\n return\n const entry = entries[0]\n const { width } = entry.target.getBoundingClientRect()\n\n const updateStyle = () => {\n rAFId = undefined\n countStyle.value = {\n /** right: 100% - (width - right(10)) */\n right: `calc(100% - ${width - 10}px)`,\n }\n clearIconStyle.value = {\n /** right: 100% - (width - right(11)) */\n right: `calc(100% - ${width - 11}px)`,\n }\n }\n\n rAFId && cAF(rAFId)\n rAFId = rAF(updateStyle)\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) {\n if (props.resize !== 'none') {\n // The execution here may occur before `setTimeout(resizeTextarea)`,\n // potentially causing a regression of issue #21836, so the assignment needs to be deferred.\n setTimeout(() => {\n textareaHeight.value = textarea.value?.style.height\n })\n }\n return\n }\n const isElHidden = textarea.value?.offsetParent === null\n if (!isElHidden) {\n setTimeout(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 || props.type === 'file') return\n input.value = formatterValue\n}\n\nconst formatValue = (value: string) => {\n const { trim, number } = props.modelModifiers\n if (trim) {\n value = value.trim()\n }\n if (number) {\n value = `${looseToNumber(value)}`\n }\n if (props.formatter && props.parser) {\n value = props.parser(value)\n }\n return value\n}\n\nconst handleInput = async (event: Event) => {\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n const { lazy } = props.modelModifiers\n let { value } = event.target as TargetElement\n let shouldForceNativeUpdate = false\n if (lazy) {\n emit(INPUT_EVENT, value)\n return\n }\n\n value = formatValue(value)\n\n if (props.countGraphemes && maxlength.value != null) {\n const limit = Number(maxlength.value)\n const graphemes = props.countGraphemes(value)\n const saveGraphemes = props.countGraphemes(saveValue.value)\n if (graphemes > limit && graphemes > saveGraphemes) {\n // If current value already exceeds limit, block further input and keep exceed state.\n if (saveGraphemes > limit) {\n value = saveValue.value\n shouldForceNativeUpdate = true\n } else {\n // Keep unchanged suffix like native maxlength behavior.\n // Instead of truncating from the end of the whole string,\n // only limit the inserted segment to available capacity.\n const prevValue = saveValue.value\n const nextValue = value\n let prefixLen = 0\n\n while (\n prefixLen < prevValue.length &&\n prefixLen < nextValue.length &&\n prevValue[prefixLen] === nextValue[prefixLen]\n ) {\n prefixLen++\n }\n\n let prevSuffixIndex = prevValue.length\n let nextSuffixIndex = nextValue.length\n while (\n prevSuffixIndex > prefixLen &&\n nextSuffixIndex > prefixLen &&\n prevValue[prevSuffixIndex - 1] === nextValue[nextSuffixIndex - 1]\n ) {\n prevSuffixIndex--\n nextSuffixIndex--\n }\n\n const before = nextValue.slice(0, prefixLen)\n const removed = prevValue.slice(prefixLen, prevSuffixIndex)\n const inserted = nextValue.slice(prefixLen, nextSuffixIndex)\n const after = nextValue.slice(nextSuffixIndex)\n\n const removedCount = props.countGraphemes(removed)\n const baseCount = saveGraphemes - removedCount\n const availableInserted = Math.max(0, limit - baseCount)\n\n let acceptedInserted = ''\n if (availableInserted > 0) {\n // Use Intl.Segmenter for proper grapheme cluster iteration if available.\n if (typeof Intl !== 'undefined' && 'Segmenter' in Intl) {\n const segmenter = new Intl.Segmenter(undefined, {\n granularity: 'grapheme',\n })\n for (const { segment } of segmenter.segment(inserted)) {\n const candidate = acceptedInserted + segment\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n } else {\n // Fallback to code-point iteration for older environments.\n for (const char of Array.from(inserted)) {\n const candidate = acceptedInserted + char\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n }\n }\n\n value = before + acceptedInserted + after\n shouldForceNativeUpdate = true\n }\n }\n }\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 (String(value) === nativeInputValue.value) {\n // preserve native features while being compatible with #9501\n if (props.formatter || shouldForceNativeUpdate) {\n const target = event.target as TargetElement\n const blockedValue = target.value\n const selectionStart = target.selectionStart\n const selectionEnd = target.selectionEnd\n setNativeInputValue()\n // Keep caret position stable when input is blocked and value is reset.\n if (\n shouldForceNativeUpdate &&\n _ref.value &&\n selectionStart != null &&\n selectionEnd != null\n ) {\n const restoredValue = _ref.value.value\n const afterTxt = blockedValue.slice(Math.max(0, selectionEnd))\n let caretPos = Math.min(selectionStart, restoredValue.length)\n\n if (afterTxt && restoredValue.endsWith(afterTxt)) {\n caretPos = restoredValue.length - afterTxt.length\n }\n\n _ref.value.setSelectionRange(caretPos, caretPos)\n }\n }\n return\n }\n saveValue.value = value\n\n recordCursor()\n emit(UPDATE_MODEL_EVENT, value)\n emit(INPUT_EVENT, value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n\n if ((props.formatter && props.parser) || !hasModelModifiers.value) {\n setNativeInputValue()\n }\n setCursor()\n}\n\nconst handleChange = async (event: Event) => {\n let { value } = event.target as TargetElement\n\n if (props.showPassword) {\n passwordFocusValue = value\n }\n\n value = formatValue(value)\n if (props.modelModifiers.lazy) {\n emit(UPDATE_MODEL_EVENT, value)\n }\n emit(CHANGE_EVENT, value, event)\n\n await nextTick()\n setNativeInputValue()\n}\n\nconst {\n isComposing,\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n} = useComposition({ emit, afterComposition: handleInput })\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n}\n\nconst focus = () => _ref.value?.focus()\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 = (evt?: MouseEvent) => {\n emit(UPDATE_MODEL_EVENT, '')\n passwordFocusValue = ''\n emit(CHANGE_EVENT, '')\n emit('clear', evt)\n emit(INPUT_EVENT, '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => {\n resizeTextarea()\n if (props.autosize) {\n textareaHeight.value = undefined\n }\n })\n if (props.validateEvent) {\n elFormItem?.validate?.('change').catch(NOOP)\n }\n }\n)\n\nwatch(\n () => nativeInputValue.value,\n (val) => {\n saveValue.value = val\n },\n { immediate: true }\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, (newValue) => {\n if (!_ref.value) {\n return\n }\n const { trim, number } = props.modelModifiers\n const elValue = _ref.value.value\n const displayValue =\n (number || props.type === 'number') && !/^0\\d/.test(elValue)\n ? `${looseToNumber(elValue)}`\n : elValue\n\n if (displayValue === newValue) {\n return\n }\n\n if (document.activeElement === _ref.value && _ref.value.type !== 'range') {\n if (trim && displayValue.trim() === newValue) {\n return\n }\n }\n\n setNativeInputValue()\n})\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 COMPONENT_NAME,\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n nextTick(resizeTextarea)\n})\n\nonBeforeUnmount(() => {\n rAFId && cAF(rAFId)\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 is input composing */\n isComposing,\n\n /** @description whether the password is visible */\n passwordVisible,\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"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuOA,MAAM,iBAAiB;;;;;;;;EAKvB,MAAM,QAAQ;EACd,MAAM,OAAO;EAEb,MAAM,YAAA,GAAA,I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,IAAA,OAAE,YAAA,KAAA,GAAA,IAAA,OAAA,YAAA,CAAA,GAAA,KAAW;KAClB,QAAI,OAAA,OAAA,OAAA,MAAA,GAAA,UAAA,GAAA,IAAA,OAAE,WAAA,KAAA,GAAA,IAAA,OAAA,WAAA,CAAA,GAAA,KAAU;KAChB,UAAQ;KACR,WAAS;;IAGJ,UAAA,UAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,cAAA,GAAA,IAAA,OAOE,gBAAA,OAAA,EAAA;;KANP,QAAA,GAAA,IAAA,gBAAK,EAAA,GAAA,IAAA,OAAG,WAAU,CAAC,EAAC,OAAA,GAAA,GAAA,IAAA,OAAU,WAAU,CAAC,EAAC,QAAA,CAAA,CAAA;KAC1C,QAAA,GAAA,IAAA,gBAAO,eAAA,MAAc;KACrB,cAAA,GAAA,IAAA,gBAAA,GAAA,IAAA,OAAmB,YAAA,KAAI,EAAA,CAAA,UAAA,CAAA;KACvB,SAAO;;qCAEqB,GAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,cAAA,GAAA,IAAA,yBAAb,QAAA,UAAS,CAAA,EAAA,CAAA;;;;;;;IAGnB,mBAAA,UAAA,GAAA,IAAA,YAAA,GAAA,GAAA,IAAA,oBAQD,QAAA;;KAPJ,QAAA,GAAA,IAAA,gBAAO,WAAA,MAAU;KACjB,QAAA,GAAA,IAAA,gBAAK,EAAA,GAAA,IAAA,OAAc,QAAO,CAAC,EAAC,QAAA,GAAA,GAAA,IAAA,OAAqB,QAAO,CAAC,GAAE,WAAY,QAAA,sBAAiB,UAAA,CAAA,CAAA;gCAKtF,WAAA,MAAU,GAAG,SAAA,GAAA,IAAA,iBAAM,UAAA,MAAS,EAAA,EAAA,KAAA,GAAA,IAAA,oBAAA,QAAA,KAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"input2.js","names":[],"sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\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 @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 :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\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 <el-icon\n v-if=\"renderClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n :style=\"{ visibility: showClear ? 'visible' : 'hidden' }\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\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=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n @mousedown.prevent=\"NOOP\"\n @mouseup.prevent=\"NOOP\"\n >\n <slot name=\"password-icon\" :visible=\"passwordVisible\">\n <component :is=\"passwordIcon\" />\n </slot>\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\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=\"[\n nsTextarea.e('inner'),\n nsInput.is('focus', isFocused),\n nsTextarea.is('clearable', clearable),\n ]\"\n v-bind=\"attrs\"\n :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :rows=\"rows\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\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 <el-icon\n v-if=\"showClear\"\n :class=\"[nsTextarea.e('icon'), nsTextarea.e('clear')]\"\n :style=\"clearIconStyle\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\n {{ textLength }} / {{ maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onBeforeUnmount,\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 { Hide, View } 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 cAF,\n debugWarn,\n isClient,\n isObject,\n rAF,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useComposition,\n useCursor,\n useFocusController,\n useNamespace,\n} from '@element-plus/hooks'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { calcTextareaHeight, looseToNumber } from './utils'\nimport { inputEmits, inputPropsDefaults } from './input'\n\nimport type { StyleValue } from 'vue'\nimport type { InputProps } from './input'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\n\nconst COMPONENT_NAME = 'ElInput'\ndefineOptions({\n name: COMPONENT_NAME,\n inheritAttrs: false,\n})\nconst props = withDefaults(defineProps<InputProps>(), inputPropsDefaults)\nconst emit = defineEmits(inputEmits)\n\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\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()\nconst maxlength = computed(() => props.maxlength?.toString())\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 passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst clearIconStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\nconst saveValue = ref('')\nconst textareaHeight = ref<string>()\n\nconst _ref = computed(() => input.value || textarea.value)\n\n// wrapperRef for type=\"text\", handleFocus and handleBlur for type=\"textarea\"\n// @ts-ignore - used in template ref binding, TS cannot detect template usage\nconst { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(\n _ref,\n {\n disabled: inputDisabled,\n afterBlur() {\n if (props.validateEvent) {\n elFormItem?.validate?.('blur').catch(NOOP)\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(() => (passwordVisible.value ? View : Hide))\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 textareaHeight.value ? { height: textareaHeight.value } : undefined,\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst renderClear = computed(\n () => props.clearable && !inputDisabled.value && !props.readonly\n)\nconst showClear = computed(\n () =>\n renderClear.value &&\n !!nativeInputValue.value &&\n (isFocused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () => props.showPassword && !inputDisabled.value && !!nativeInputValue.value\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!maxlength.value &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => {\n if (props.countGraphemes && props.showWordLimit) {\n return props.countGraphemes(nativeInputValue.value)\n }\n return nativeInputValue.value.length\n})\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value && textLength.value > Number(maxlength.value)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n props.clearable ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\nconst hasModelModifiers = computed(\n () => !!Object.keys(props.modelModifiers).length\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nlet rAFId: number | undefined\n\nuseResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea()\n if (\n (!isWordLimitVisible.value && !renderClear.value) ||\n (props.resize !== 'both' && props.resize !== 'horizontal')\n )\n return\n const entry = entries[0]\n const { width } = entry.target.getBoundingClientRect()\n\n const updateStyle = () => {\n rAFId = undefined\n countStyle.value = {\n /** right: 100% - (width - right(10)) */\n right: `calc(100% - ${width - 10}px)`,\n }\n clearIconStyle.value = {\n /** right: 100% - (width - right(11)) */\n right: `calc(100% - ${width - 11}px)`,\n }\n }\n\n rAFId && cAF(rAFId)\n rAFId = rAF(updateStyle)\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) {\n if (props.resize !== 'none') {\n // The execution here may occur before `setTimeout(resizeTextarea)`,\n // potentially causing a regression of issue #21836, so the assignment needs to be deferred.\n setTimeout(() => {\n textareaHeight.value = textarea.value?.style.height\n })\n }\n return\n }\n const isElHidden = textarea.value?.offsetParent === null\n if (!isElHidden) {\n setTimeout(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 || props.type === 'file') return\n input.value = formatterValue\n}\n\nconst formatValue = (value: string) => {\n const { trim, number } = props.modelModifiers\n if (trim) {\n value = value.trim()\n }\n if (number) {\n value = `${looseToNumber(value)}`\n }\n if (props.formatter && props.parser) {\n value = props.parser(value)\n }\n return value\n}\n\nconst handleInput = async (event: Event) => {\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n const { lazy } = props.modelModifiers\n let { value } = event.target as TargetElement\n let shouldForceNativeUpdate = false\n if (lazy) {\n emit(INPUT_EVENT, value)\n return\n }\n\n value = formatValue(value)\n\n if (props.countGraphemes && maxlength.value != null) {\n const limit = Number(maxlength.value)\n const graphemes = props.countGraphemes(value)\n const saveGraphemes = props.countGraphemes(saveValue.value)\n if (graphemes > limit && graphemes > saveGraphemes) {\n // If current value already exceeds limit, block further input and keep exceed state.\n if (saveGraphemes > limit) {\n value = saveValue.value\n shouldForceNativeUpdate = true\n } else {\n // Keep unchanged suffix like native maxlength behavior.\n // Instead of truncating from the end of the whole string,\n // only limit the inserted segment to available capacity.\n const prevValue = saveValue.value\n const nextValue = value\n let prefixLen = 0\n\n while (\n prefixLen < prevValue.length &&\n prefixLen < nextValue.length &&\n prevValue[prefixLen] === nextValue[prefixLen]\n ) {\n prefixLen++\n }\n\n let prevSuffixIndex = prevValue.length\n let nextSuffixIndex = nextValue.length\n while (\n prevSuffixIndex > prefixLen &&\n nextSuffixIndex > prefixLen &&\n prevValue[prevSuffixIndex - 1] === nextValue[nextSuffixIndex - 1]\n ) {\n prevSuffixIndex--\n nextSuffixIndex--\n }\n\n const before = nextValue.slice(0, prefixLen)\n const removed = prevValue.slice(prefixLen, prevSuffixIndex)\n const inserted = nextValue.slice(prefixLen, nextSuffixIndex)\n const after = nextValue.slice(nextSuffixIndex)\n\n const removedCount = props.countGraphemes(removed)\n const baseCount = saveGraphemes - removedCount\n const availableInserted = Math.max(0, limit - baseCount)\n\n let acceptedInserted = ''\n if (availableInserted > 0) {\n // Use Intl.Segmenter for proper grapheme cluster iteration if available.\n if (typeof Intl !== 'undefined' && 'Segmenter' in Intl) {\n const segmenter = new Intl.Segmenter(undefined, {\n granularity: 'grapheme',\n })\n for (const { segment } of segmenter.segment(inserted)) {\n const candidate = acceptedInserted + segment\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n } else {\n // Fallback to code-point iteration for older environments.\n for (const char of Array.from(inserted)) {\n const candidate = acceptedInserted + char\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n }\n }\n\n value = before + acceptedInserted + after\n shouldForceNativeUpdate = true\n }\n }\n }\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 (String(value) === nativeInputValue.value) {\n // preserve native features while being compatible with #9501\n if (props.formatter || shouldForceNativeUpdate) {\n const target = event.target as TargetElement\n const blockedValue = target.value\n const selectionStart = target.selectionStart\n const selectionEnd = target.selectionEnd\n setNativeInputValue()\n // Keep caret position stable when input is blocked and value is reset.\n if (\n shouldForceNativeUpdate &&\n _ref.value &&\n selectionStart != null &&\n selectionEnd != null\n ) {\n const restoredValue = _ref.value.value\n const afterTxt = blockedValue.slice(Math.max(0, selectionEnd))\n let caretPos = Math.min(selectionStart, restoredValue.length)\n\n if (afterTxt && restoredValue.endsWith(afterTxt)) {\n caretPos = restoredValue.length - afterTxt.length\n }\n\n _ref.value.setSelectionRange(caretPos, caretPos)\n }\n }\n return\n }\n saveValue.value = value\n\n recordCursor()\n emit(UPDATE_MODEL_EVENT, value)\n emit(INPUT_EVENT, value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n\n if ((props.formatter && props.parser) || !hasModelModifiers.value) {\n setNativeInputValue()\n }\n setCursor()\n}\n\nconst handleChange = async (event: Event) => {\n let { value } = event.target as TargetElement\n\n value = formatValue(value)\n if (props.modelModifiers.lazy) {\n emit(UPDATE_MODEL_EVENT, value)\n }\n emit(CHANGE_EVENT, value, event)\n\n await nextTick()\n setNativeInputValue()\n}\n\nconst {\n isComposing,\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n} = useComposition({ emit, afterComposition: handleInput })\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n}\n\nconst focus = () => _ref.value?.focus()\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 = (evt?: MouseEvent) => {\n emit(UPDATE_MODEL_EVENT, '')\n emit(CHANGE_EVENT, '')\n emit('clear', evt)\n emit(INPUT_EVENT, '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => {\n resizeTextarea()\n if (props.autosize) {\n textareaHeight.value = undefined\n }\n })\n if (props.validateEvent) {\n elFormItem?.validate?.('change').catch(NOOP)\n }\n }\n)\n\nwatch(\n () => nativeInputValue.value,\n (val) => {\n saveValue.value = val\n },\n { immediate: true }\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, (newValue) => {\n if (!_ref.value) {\n return\n }\n const { trim, number } = props.modelModifiers\n const elValue = _ref.value.value\n const displayValue =\n (number || props.type === 'number') && !/^0\\d/.test(elValue)\n ? `${looseToNumber(elValue)}`\n : elValue\n\n if (displayValue === newValue) {\n return\n }\n\n if (document.activeElement === _ref.value && _ref.value.type !== 'range') {\n if (trim && displayValue.trim() === newValue) {\n return\n }\n }\n\n setNativeInputValue()\n})\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 COMPONENT_NAME,\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n nextTick(resizeTextarea)\n})\n\nonBeforeUnmount(() => {\n rAFId && cAF(rAFId)\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 is input composing */\n isComposing,\n\n /** @description whether the password is visible */\n passwordVisible,\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"],"mappings":""}
1
+ {"version":3,"file":"input2.js","names":[],"sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\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 @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 :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\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 <el-icon\n v-if=\"renderClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n :style=\"{ visibility: showClear ? 'visible' : 'hidden' }\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\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=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n @mousedown.prevent=\"NOOP\"\n @mouseup.prevent=\"NOOP\"\n >\n <slot name=\"password-icon\" :visible=\"passwordVisible\">\n <component :is=\"passwordIcon\" />\n </slot>\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\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=\"[\n nsTextarea.e('inner'),\n nsInput.is('focus', isFocused),\n nsTextarea.is('clearable', clearable),\n ]\"\n v-bind=\"attrs\"\n :name=\"name\"\n :minlength=\"countGraphemes ? undefined : minlength\"\n :maxlength=\"countGraphemes ? undefined : maxlength\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"ariaLabel\"\n :placeholder=\"placeholder\"\n :form=\"form\"\n :autofocus=\"autofocus\"\n :rows=\"rows\"\n :role=\"containerRole\"\n :inputmode=\"inputmode\"\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 <el-icon\n v-if=\"showClear\"\n :class=\"[nsTextarea.e('icon'), nsTextarea.e('clear')]\"\n :style=\"clearIconStyle\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <component :is=\"clearIcon\" />\n </el-icon>\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"[\n nsInput.e('count'),\n nsInput.is('outside', wordLimitPosition === 'outside'),\n ]\"\n >\n {{ textLength }} / {{ maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onBeforeUnmount,\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 { Hide, View } 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 cAF,\n debugWarn,\n isClient,\n isObject,\n rAF,\n} from '@element-plus/utils'\nimport {\n useAttrs,\n useComposition,\n useCursor,\n useFocusController,\n useNamespace,\n} from '@element-plus/hooks'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { calcTextareaHeight, looseToNumber } from './utils'\nimport { inputEmits, inputPropsDefaults } from './input'\n\nimport type { StyleValue } from 'vue'\nimport type { InputProps } from './input'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\n\nconst COMPONENT_NAME = 'ElInput'\ndefineOptions({\n name: COMPONENT_NAME,\n inheritAttrs: false,\n})\nconst props = withDefaults(defineProps<InputProps>(), inputPropsDefaults)\nconst emit = defineEmits(inputEmits)\n\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\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()\nconst maxlength = computed(() => props.maxlength?.toString())\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 passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst clearIconStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\nconst saveValue = ref('')\nlet passwordFocusValue: string | undefined\nconst textareaHeight = ref<string>()\n\nconst _ref = computed(() => input.value || textarea.value)\n\n// wrapperRef for type=\"text\", handleFocus and handleBlur for type=\"textarea\"\n// @ts-ignore - used in template ref binding, TS cannot detect template usage\nconst { wrapperRef, isFocused, handleFocus, handleBlur } = useFocusController(\n _ref,\n {\n disabled: inputDisabled,\n afterFocus() {\n if (props.showPassword) {\n passwordFocusValue = _ref.value?.value\n }\n },\n beforeBlur(event) {\n if (props.showPassword) {\n const target = _ref.value\n if (\n event.relatedTarget &&\n target?.parentElement?.contains(event.relatedTarget as Node)\n ) {\n return undefined\n }\n const value = target?.value\n if (\n !isNil(value) &&\n !isNil(passwordFocusValue) &&\n value !== passwordFocusValue\n ) {\n target?.dispatchEvent(new Event('change', { bubbles: true }))\n }\n passwordFocusValue = undefined\n }\n return undefined\n },\n afterBlur() {\n if (props.validateEvent) {\n elFormItem?.validate?.('blur').catch(NOOP)\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(() => (passwordVisible.value ? View : Hide))\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 textareaHeight.value ? { height: textareaHeight.value } : undefined,\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst renderClear = computed(\n () => props.clearable && !inputDisabled.value && !props.readonly\n)\nconst showClear = computed(\n () =>\n renderClear.value &&\n !!nativeInputValue.value &&\n (isFocused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () => props.showPassword && !inputDisabled.value && !!nativeInputValue.value\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!maxlength.value &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => {\n if (props.countGraphemes && props.showWordLimit) {\n return props.countGraphemes(nativeInputValue.value)\n }\n return nativeInputValue.value.length\n})\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value && textLength.value > Number(maxlength.value)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n props.clearable ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\nconst hasModelModifiers = computed(\n () => !!Object.keys(props.modelModifiers).length\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nlet rAFId: number | undefined\n\nuseResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea()\n if (\n (!isWordLimitVisible.value && !renderClear.value) ||\n (props.resize !== 'both' && props.resize !== 'horizontal')\n )\n return\n const entry = entries[0]\n const { width } = entry.target.getBoundingClientRect()\n\n const updateStyle = () => {\n rAFId = undefined\n countStyle.value = {\n /** right: 100% - (width - right(10)) */\n right: `calc(100% - ${width - 10}px)`,\n }\n clearIconStyle.value = {\n /** right: 100% - (width - right(11)) */\n right: `calc(100% - ${width - 11}px)`,\n }\n }\n\n rAFId && cAF(rAFId)\n rAFId = rAF(updateStyle)\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) {\n if (props.resize !== 'none') {\n // The execution here may occur before `setTimeout(resizeTextarea)`,\n // potentially causing a regression of issue #21836, so the assignment needs to be deferred.\n setTimeout(() => {\n textareaHeight.value = textarea.value?.style.height\n })\n }\n return\n }\n const isElHidden = textarea.value?.offsetParent === null\n if (!isElHidden) {\n setTimeout(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 || props.type === 'file') return\n input.value = formatterValue\n}\n\nconst formatValue = (value: string) => {\n const { trim, number } = props.modelModifiers\n if (trim) {\n value = value.trim()\n }\n if (number) {\n value = `${looseToNumber(value)}`\n }\n if (props.formatter && props.parser) {\n value = props.parser(value)\n }\n return value\n}\n\nconst handleInput = async (event: Event) => {\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n const { lazy } = props.modelModifiers\n let { value } = event.target as TargetElement\n let shouldForceNativeUpdate = false\n if (lazy) {\n emit(INPUT_EVENT, value)\n return\n }\n\n value = formatValue(value)\n\n if (props.countGraphemes && maxlength.value != null) {\n const limit = Number(maxlength.value)\n const graphemes = props.countGraphemes(value)\n const saveGraphemes = props.countGraphemes(saveValue.value)\n if (graphemes > limit && graphemes > saveGraphemes) {\n // If current value already exceeds limit, block further input and keep exceed state.\n if (saveGraphemes > limit) {\n value = saveValue.value\n shouldForceNativeUpdate = true\n } else {\n // Keep unchanged suffix like native maxlength behavior.\n // Instead of truncating from the end of the whole string,\n // only limit the inserted segment to available capacity.\n const prevValue = saveValue.value\n const nextValue = value\n let prefixLen = 0\n\n while (\n prefixLen < prevValue.length &&\n prefixLen < nextValue.length &&\n prevValue[prefixLen] === nextValue[prefixLen]\n ) {\n prefixLen++\n }\n\n let prevSuffixIndex = prevValue.length\n let nextSuffixIndex = nextValue.length\n while (\n prevSuffixIndex > prefixLen &&\n nextSuffixIndex > prefixLen &&\n prevValue[prevSuffixIndex - 1] === nextValue[nextSuffixIndex - 1]\n ) {\n prevSuffixIndex--\n nextSuffixIndex--\n }\n\n const before = nextValue.slice(0, prefixLen)\n const removed = prevValue.slice(prefixLen, prevSuffixIndex)\n const inserted = nextValue.slice(prefixLen, nextSuffixIndex)\n const after = nextValue.slice(nextSuffixIndex)\n\n const removedCount = props.countGraphemes(removed)\n const baseCount = saveGraphemes - removedCount\n const availableInserted = Math.max(0, limit - baseCount)\n\n let acceptedInserted = ''\n if (availableInserted > 0) {\n // Use Intl.Segmenter for proper grapheme cluster iteration if available.\n if (typeof Intl !== 'undefined' && 'Segmenter' in Intl) {\n const segmenter = new Intl.Segmenter(undefined, {\n granularity: 'grapheme',\n })\n for (const { segment } of segmenter.segment(inserted)) {\n const candidate = acceptedInserted + segment\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n } else {\n // Fallback to code-point iteration for older environments.\n for (const char of Array.from(inserted)) {\n const candidate = acceptedInserted + char\n const newCount = props.countGraphemes(candidate)\n if (newCount > availableInserted) break\n acceptedInserted = candidate\n }\n }\n }\n\n value = before + acceptedInserted + after\n shouldForceNativeUpdate = true\n }\n }\n }\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 (String(value) === nativeInputValue.value) {\n // preserve native features while being compatible with #9501\n if (props.formatter || shouldForceNativeUpdate) {\n const target = event.target as TargetElement\n const blockedValue = target.value\n const selectionStart = target.selectionStart\n const selectionEnd = target.selectionEnd\n setNativeInputValue()\n // Keep caret position stable when input is blocked and value is reset.\n if (\n shouldForceNativeUpdate &&\n _ref.value &&\n selectionStart != null &&\n selectionEnd != null\n ) {\n const restoredValue = _ref.value.value\n const afterTxt = blockedValue.slice(Math.max(0, selectionEnd))\n let caretPos = Math.min(selectionStart, restoredValue.length)\n\n if (afterTxt && restoredValue.endsWith(afterTxt)) {\n caretPos = restoredValue.length - afterTxt.length\n }\n\n _ref.value.setSelectionRange(caretPos, caretPos)\n }\n }\n return\n }\n saveValue.value = value\n\n recordCursor()\n emit(UPDATE_MODEL_EVENT, value)\n emit(INPUT_EVENT, value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n\n if ((props.formatter && props.parser) || !hasModelModifiers.value) {\n setNativeInputValue()\n }\n setCursor()\n}\n\nconst handleChange = async (event: Event) => {\n let { value } = event.target as TargetElement\n\n if (props.showPassword) {\n passwordFocusValue = value\n }\n\n value = formatValue(value)\n if (props.modelModifiers.lazy) {\n emit(UPDATE_MODEL_EVENT, value)\n }\n emit(CHANGE_EVENT, value, event)\n\n await nextTick()\n setNativeInputValue()\n}\n\nconst {\n isComposing,\n handleCompositionStart,\n handleCompositionUpdate,\n handleCompositionEnd,\n} = useComposition({ emit, afterComposition: handleInput })\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n}\n\nconst focus = () => _ref.value?.focus()\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 = (evt?: MouseEvent) => {\n emit(UPDATE_MODEL_EVENT, '')\n passwordFocusValue = ''\n emit(CHANGE_EVENT, '')\n emit('clear', evt)\n emit(INPUT_EVENT, '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => {\n resizeTextarea()\n if (props.autosize) {\n textareaHeight.value = undefined\n }\n })\n if (props.validateEvent) {\n elFormItem?.validate?.('change').catch(NOOP)\n }\n }\n)\n\nwatch(\n () => nativeInputValue.value,\n (val) => {\n saveValue.value = val\n },\n { immediate: true }\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, (newValue) => {\n if (!_ref.value) {\n return\n }\n const { trim, number } = props.modelModifiers\n const elValue = _ref.value.value\n const displayValue =\n (number || props.type === 'number') && !/^0\\d/.test(elValue)\n ? `${looseToNumber(elValue)}`\n : elValue\n\n if (displayValue === newValue) {\n return\n }\n\n if (document.activeElement === _ref.value && _ref.value.type !== 'range') {\n if (trim && displayValue.trim() === newValue) {\n return\n }\n }\n\n setNativeInputValue()\n})\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 COMPONENT_NAME,\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n nextTick(resizeTextarea)\n})\n\nonBeforeUnmount(() => {\n rAFId && cAF(rAFId)\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 is input composing */\n isComposing,\n\n /** @description whether the password is visible */\n passwordVisible,\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"],"mappings":""}
@@ -106,8 +106,8 @@ interface InputNumberProps {
106
106
  * @deprecated Removed after 3.0.0, Use `InputNumberProps` instead.
107
107
  */
108
108
  declare const inputNumberProps: {
109
- readonly inputmode: EpPropFinalized<(new (...args: any[]) => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal") | (() => "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
110
- readonly align: EpPropFinalized<(new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center") | (((new (...args: any[]) => "left" | "right" | "center") | (() => "left" | "right" | "center")) | null)[], unknown, unknown, "center", boolean>;
109
+ readonly inputmode: EpPropFinalized<(new (...args: any[]) => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal") | (() => "none" | "text" | "email" | "search" | "tel" | "url" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
110
+ readonly align: EpPropFinalized<(new (...args: any[]) => "center" | "right" | "left") | (() => "center" | "right" | "left") | (((new (...args: any[]) => "center" | "right" | "left") | (() => "center" | "right" | "left")) | null)[], unknown, unknown, "center", boolean>;
111
111
  readonly disabledScientific: BooleanConstructor;
112
112
  readonly formatter: {
113
113
  readonly type: _$vue.PropType<Function>;
@@ -144,7 +144,7 @@ declare const inputNumberProps: {
144
144
  };
145
145
  readonly controls: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
146
146
  readonly controlsPosition: EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>;
147
- readonly valueOnClear: EpPropFinalized<(new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null) | (((new (...args: any[]) => number | "min" | "max") | (() => number | "min" | "max" | null)) | null)[], unknown, unknown, null, boolean>;
147
+ readonly valueOnClear: EpPropFinalized<(new (...args: any[]) => number | "max" | "min") | (() => number | "max" | "min" | null) | (((new (...args: any[]) => number | "max" | "min") | (() => number | "max" | "min" | null)) | null)[], unknown, unknown, null, boolean>;
148
148
  readonly name: StringConstructor;
149
149
  readonly placeholder: StringConstructor;
150
150
  readonly precision: {