element-pe 2.2.51 → 2.2.53

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 (858) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.full.js +17 -7
  3. package/dist/index.full.min.js +12 -12
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +11 -11
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +17 -7
  8. package/dist/locale/af.js +1 -1
  9. package/dist/locale/af.min.js +1 -1
  10. package/dist/locale/af.min.mjs +1 -1
  11. package/dist/locale/af.mjs +1 -1
  12. package/dist/locale/ar.js +1 -1
  13. package/dist/locale/ar.min.js +1 -1
  14. package/dist/locale/ar.min.mjs +1 -1
  15. package/dist/locale/ar.mjs +1 -1
  16. package/dist/locale/az.js +1 -1
  17. package/dist/locale/az.min.js +1 -1
  18. package/dist/locale/az.min.mjs +1 -1
  19. package/dist/locale/az.mjs +1 -1
  20. package/dist/locale/bg.js +1 -1
  21. package/dist/locale/bg.min.js +1 -1
  22. package/dist/locale/bg.min.mjs +1 -1
  23. package/dist/locale/bg.mjs +1 -1
  24. package/dist/locale/bn.js +1 -1
  25. package/dist/locale/bn.min.js +1 -1
  26. package/dist/locale/bn.min.mjs +1 -1
  27. package/dist/locale/bn.mjs +1 -1
  28. package/dist/locale/ca.js +1 -1
  29. package/dist/locale/ca.min.js +1 -1
  30. package/dist/locale/ca.min.mjs +1 -1
  31. package/dist/locale/ca.mjs +1 -1
  32. package/dist/locale/ckb.js +1 -1
  33. package/dist/locale/ckb.min.js +1 -1
  34. package/dist/locale/ckb.min.mjs +1 -1
  35. package/dist/locale/ckb.mjs +1 -1
  36. package/dist/locale/cs.js +1 -1
  37. package/dist/locale/cs.min.js +1 -1
  38. package/dist/locale/cs.min.mjs +1 -1
  39. package/dist/locale/cs.mjs +1 -1
  40. package/dist/locale/da.js +1 -1
  41. package/dist/locale/da.min.js +1 -1
  42. package/dist/locale/da.min.mjs +1 -1
  43. package/dist/locale/da.mjs +1 -1
  44. package/dist/locale/de.js +1 -1
  45. package/dist/locale/de.min.js +1 -1
  46. package/dist/locale/de.min.mjs +1 -1
  47. package/dist/locale/de.mjs +1 -1
  48. package/dist/locale/el.js +1 -1
  49. package/dist/locale/el.min.js +1 -1
  50. package/dist/locale/el.min.mjs +1 -1
  51. package/dist/locale/el.mjs +1 -1
  52. package/dist/locale/en.js +1 -1
  53. package/dist/locale/en.min.js +1 -1
  54. package/dist/locale/en.min.mjs +1 -1
  55. package/dist/locale/en.mjs +1 -1
  56. package/dist/locale/eo.js +1 -1
  57. package/dist/locale/eo.min.js +1 -1
  58. package/dist/locale/eo.min.mjs +1 -1
  59. package/dist/locale/eo.mjs +1 -1
  60. package/dist/locale/es.js +1 -1
  61. package/dist/locale/es.min.js +1 -1
  62. package/dist/locale/es.min.mjs +1 -1
  63. package/dist/locale/es.mjs +1 -1
  64. package/dist/locale/et.js +1 -1
  65. package/dist/locale/et.min.js +1 -1
  66. package/dist/locale/et.min.mjs +1 -1
  67. package/dist/locale/et.mjs +1 -1
  68. package/dist/locale/eu.js +1 -1
  69. package/dist/locale/eu.min.js +1 -1
  70. package/dist/locale/eu.min.mjs +1 -1
  71. package/dist/locale/eu.mjs +1 -1
  72. package/dist/locale/fa.js +1 -1
  73. package/dist/locale/fa.min.js +1 -1
  74. package/dist/locale/fa.min.mjs +1 -1
  75. package/dist/locale/fa.mjs +1 -1
  76. package/dist/locale/fi.js +1 -1
  77. package/dist/locale/fi.min.js +1 -1
  78. package/dist/locale/fi.min.mjs +1 -1
  79. package/dist/locale/fi.mjs +1 -1
  80. package/dist/locale/fr.js +1 -1
  81. package/dist/locale/fr.min.js +1 -1
  82. package/dist/locale/fr.min.mjs +1 -1
  83. package/dist/locale/fr.mjs +1 -1
  84. package/dist/locale/he.js +1 -1
  85. package/dist/locale/he.min.js +1 -1
  86. package/dist/locale/he.min.mjs +1 -1
  87. package/dist/locale/he.mjs +1 -1
  88. package/dist/locale/hr.js +1 -1
  89. package/dist/locale/hr.min.js +1 -1
  90. package/dist/locale/hr.min.mjs +1 -1
  91. package/dist/locale/hr.mjs +1 -1
  92. package/dist/locale/hu.js +1 -1
  93. package/dist/locale/hu.min.js +1 -1
  94. package/dist/locale/hu.min.mjs +1 -1
  95. package/dist/locale/hu.mjs +1 -1
  96. package/dist/locale/hy-am.js +1 -1
  97. package/dist/locale/hy-am.min.js +1 -1
  98. package/dist/locale/hy-am.min.mjs +1 -1
  99. package/dist/locale/hy-am.mjs +1 -1
  100. package/dist/locale/id.js +1 -1
  101. package/dist/locale/id.min.js +1 -1
  102. package/dist/locale/id.min.mjs +1 -1
  103. package/dist/locale/id.mjs +1 -1
  104. package/dist/locale/it.js +1 -1
  105. package/dist/locale/it.min.js +1 -1
  106. package/dist/locale/it.min.mjs +1 -1
  107. package/dist/locale/it.mjs +1 -1
  108. package/dist/locale/ja.js +1 -1
  109. package/dist/locale/ja.min.js +1 -1
  110. package/dist/locale/ja.min.mjs +1 -1
  111. package/dist/locale/ja.mjs +1 -1
  112. package/dist/locale/kk.js +1 -1
  113. package/dist/locale/kk.min.js +1 -1
  114. package/dist/locale/kk.min.mjs +1 -1
  115. package/dist/locale/kk.mjs +1 -1
  116. package/dist/locale/km.js +1 -1
  117. package/dist/locale/km.min.js +1 -1
  118. package/dist/locale/km.min.mjs +1 -1
  119. package/dist/locale/km.mjs +1 -1
  120. package/dist/locale/ko.js +1 -1
  121. package/dist/locale/ko.min.js +1 -1
  122. package/dist/locale/ko.min.mjs +1 -1
  123. package/dist/locale/ko.mjs +1 -1
  124. package/dist/locale/ku.js +1 -1
  125. package/dist/locale/ku.min.js +1 -1
  126. package/dist/locale/ku.min.mjs +1 -1
  127. package/dist/locale/ku.mjs +1 -1
  128. package/dist/locale/ky.js +1 -1
  129. package/dist/locale/ky.min.js +1 -1
  130. package/dist/locale/ky.min.mjs +1 -1
  131. package/dist/locale/ky.mjs +1 -1
  132. package/dist/locale/lt.js +1 -1
  133. package/dist/locale/lt.min.js +1 -1
  134. package/dist/locale/lt.min.mjs +1 -1
  135. package/dist/locale/lt.mjs +1 -1
  136. package/dist/locale/lv.js +1 -1
  137. package/dist/locale/lv.min.js +1 -1
  138. package/dist/locale/lv.min.mjs +1 -1
  139. package/dist/locale/lv.mjs +1 -1
  140. package/dist/locale/mg.js +1 -1
  141. package/dist/locale/mg.min.js +1 -1
  142. package/dist/locale/mg.min.mjs +1 -1
  143. package/dist/locale/mg.mjs +1 -1
  144. package/dist/locale/mn.js +1 -1
  145. package/dist/locale/mn.min.js +1 -1
  146. package/dist/locale/mn.min.mjs +1 -1
  147. package/dist/locale/mn.mjs +1 -1
  148. package/dist/locale/nb-no.js +1 -1
  149. package/dist/locale/nb-no.min.js +1 -1
  150. package/dist/locale/nb-no.min.mjs +1 -1
  151. package/dist/locale/nb-no.mjs +1 -1
  152. package/dist/locale/nl.js +1 -1
  153. package/dist/locale/nl.min.js +1 -1
  154. package/dist/locale/nl.min.mjs +1 -1
  155. package/dist/locale/nl.mjs +1 -1
  156. package/dist/locale/pa.js +1 -1
  157. package/dist/locale/pa.min.js +1 -1
  158. package/dist/locale/pa.min.mjs +1 -1
  159. package/dist/locale/pa.mjs +1 -1
  160. package/dist/locale/pl.js +1 -1
  161. package/dist/locale/pl.min.js +1 -1
  162. package/dist/locale/pl.min.mjs +1 -1
  163. package/dist/locale/pl.mjs +1 -1
  164. package/dist/locale/pt-br.js +1 -1
  165. package/dist/locale/pt-br.min.js +1 -1
  166. package/dist/locale/pt-br.min.mjs +1 -1
  167. package/dist/locale/pt-br.mjs +1 -1
  168. package/dist/locale/pt.js +1 -1
  169. package/dist/locale/pt.min.js +1 -1
  170. package/dist/locale/pt.min.mjs +1 -1
  171. package/dist/locale/pt.mjs +1 -1
  172. package/dist/locale/ro.js +1 -1
  173. package/dist/locale/ro.min.js +1 -1
  174. package/dist/locale/ro.min.mjs +1 -1
  175. package/dist/locale/ro.mjs +1 -1
  176. package/dist/locale/ru.js +1 -1
  177. package/dist/locale/ru.min.js +1 -1
  178. package/dist/locale/ru.min.mjs +1 -1
  179. package/dist/locale/ru.mjs +1 -1
  180. package/dist/locale/sk.js +1 -1
  181. package/dist/locale/sk.min.js +1 -1
  182. package/dist/locale/sk.min.mjs +1 -1
  183. package/dist/locale/sk.mjs +1 -1
  184. package/dist/locale/sl.js +1 -1
  185. package/dist/locale/sl.min.js +1 -1
  186. package/dist/locale/sl.min.mjs +1 -1
  187. package/dist/locale/sl.mjs +1 -1
  188. package/dist/locale/sr.js +1 -1
  189. package/dist/locale/sr.min.js +1 -1
  190. package/dist/locale/sr.min.mjs +1 -1
  191. package/dist/locale/sr.mjs +1 -1
  192. package/dist/locale/sv.js +1 -1
  193. package/dist/locale/sv.min.js +1 -1
  194. package/dist/locale/sv.min.mjs +1 -1
  195. package/dist/locale/sv.mjs +1 -1
  196. package/dist/locale/ta.js +1 -1
  197. package/dist/locale/ta.min.js +1 -1
  198. package/dist/locale/ta.min.mjs +1 -1
  199. package/dist/locale/ta.mjs +1 -1
  200. package/dist/locale/th.js +1 -1
  201. package/dist/locale/th.min.js +1 -1
  202. package/dist/locale/th.min.mjs +1 -1
  203. package/dist/locale/th.mjs +1 -1
  204. package/dist/locale/tk.js +1 -1
  205. package/dist/locale/tk.min.js +1 -1
  206. package/dist/locale/tk.min.mjs +1 -1
  207. package/dist/locale/tk.mjs +1 -1
  208. package/dist/locale/tr.js +1 -1
  209. package/dist/locale/tr.min.js +1 -1
  210. package/dist/locale/tr.min.mjs +1 -1
  211. package/dist/locale/tr.mjs +1 -1
  212. package/dist/locale/ug-cn.js +1 -1
  213. package/dist/locale/ug-cn.min.js +1 -1
  214. package/dist/locale/ug-cn.min.mjs +1 -1
  215. package/dist/locale/ug-cn.mjs +1 -1
  216. package/dist/locale/uk.js +1 -1
  217. package/dist/locale/uk.min.js +1 -1
  218. package/dist/locale/uk.min.mjs +1 -1
  219. package/dist/locale/uk.mjs +1 -1
  220. package/dist/locale/uz-uz.js +1 -1
  221. package/dist/locale/uz-uz.min.js +1 -1
  222. package/dist/locale/uz-uz.min.mjs +1 -1
  223. package/dist/locale/uz-uz.mjs +1 -1
  224. package/dist/locale/vi.js +1 -1
  225. package/dist/locale/vi.min.js +1 -1
  226. package/dist/locale/vi.min.mjs +1 -1
  227. package/dist/locale/vi.mjs +1 -1
  228. package/dist/locale/zh-cn.js +1 -1
  229. package/dist/locale/zh-cn.min.js +1 -1
  230. package/dist/locale/zh-cn.min.mjs +1 -1
  231. package/dist/locale/zh-cn.mjs +1 -1
  232. package/dist/locale/zh-tw.js +1 -1
  233. package/dist/locale/zh-tw.min.js +1 -1
  234. package/dist/locale/zh-tw.min.mjs +1 -1
  235. package/dist/locale/zh-tw.mjs +1 -1
  236. package/es/components/affix/index.mjs +2 -2
  237. package/es/components/affix/src/affix.mjs +119 -26
  238. package/es/components/affix/src/affix.mjs.map +1 -1
  239. package/es/components/affix/src/affix2.mjs +26 -119
  240. package/es/components/affix/src/affix2.mjs.map +1 -1
  241. package/es/components/alert/src/alert2.mjs +1 -1
  242. package/es/components/autocomplete/src/autocomplete.mjs +1 -1
  243. package/es/components/autocomplete/src/autocomplete2.mjs +1 -1
  244. package/es/components/avatar/src/avatar2.mjs +1 -1
  245. package/es/components/backtop/src/backtop2.mjs +1 -1
  246. package/es/components/badge/src/badge2.mjs +1 -1
  247. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +1 -1
  248. package/es/components/breadcrumb/src/breadcrumb.mjs +1 -1
  249. package/es/components/button/src/button-group2.mjs +1 -1
  250. package/es/components/button/src/button2.mjs +1 -1
  251. package/es/components/calendar/src/calendar2.mjs +2 -2
  252. package/es/components/calendar/src/date-table.mjs +33 -87
  253. package/es/components/calendar/src/date-table.mjs.map +1 -1
  254. package/es/components/calendar/src/date-table2.mjs +87 -33
  255. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  256. package/es/components/calendar/src/use-date-table.mjs +1 -1
  257. package/es/components/card/src/card2.mjs +1 -1
  258. package/es/components/carousel/index.mjs +2 -2
  259. package/es/components/carousel/src/carousel-item.mjs +63 -8
  260. package/es/components/carousel/src/carousel-item.mjs.map +1 -1
  261. package/es/components/carousel/src/carousel-item2.mjs +8 -63
  262. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  263. package/es/components/carousel/src/carousel2.mjs +1 -1
  264. package/es/components/cascader/src/cascader.mjs +2 -2
  265. package/es/components/cascader/src/cascader2.mjs +1 -1
  266. package/es/components/cascader-panel/src/index.mjs +1 -1
  267. package/es/components/cascader-panel/src/menu.mjs +1 -1
  268. package/es/components/cascader-panel/src/node2.mjs +1 -1
  269. package/es/components/check-tag/src/check-tag2.mjs +1 -1
  270. package/es/components/checkbox/index.mjs +4 -4
  271. package/es/components/checkbox/src/checkbox-button.mjs +2 -2
  272. package/es/components/checkbox/src/checkbox-group.mjs +72 -28
  273. package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
  274. package/es/components/checkbox/src/checkbox-group2.mjs +28 -72
  275. package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
  276. package/es/components/checkbox/src/checkbox.mjs +49 -117
  277. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  278. package/es/components/checkbox/src/checkbox2.mjs +117 -49
  279. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  280. package/es/components/col/src/col2.mjs +1 -1
  281. package/es/components/collapse/index.mjs +2 -2
  282. package/es/components/collapse/src/collapse-item2.mjs +1 -1
  283. package/es/components/collapse/src/collapse.mjs +30 -17
  284. package/es/components/collapse/src/collapse.mjs.map +1 -1
  285. package/es/components/collapse/src/collapse2.mjs +17 -30
  286. package/es/components/collapse/src/collapse2.mjs.map +1 -1
  287. package/es/components/collapse-transition/src/collapse-transition.mjs +1 -1
  288. package/es/components/collection/src/collection-item.mjs +1 -1
  289. package/es/components/collection/src/collection2.mjs +1 -1
  290. package/es/components/color-picker/index.mjs +2 -2
  291. package/es/components/color-picker/src/color-picker.mjs +333 -46
  292. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  293. package/es/components/color-picker/src/color-picker2.mjs +46 -333
  294. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  295. package/es/components/color-picker/src/components/alpha-slider.mjs +1 -1
  296. package/es/components/color-picker/src/components/hue-slider.mjs +1 -1
  297. package/es/components/color-picker/src/components/predefine.mjs +2 -2
  298. package/es/components/color-picker/src/components/sv-panel.mjs +1 -1
  299. package/es/components/container/src/aside.mjs +1 -1
  300. package/es/components/container/src/container.mjs +1 -1
  301. package/es/components/container/src/footer.mjs +1 -1
  302. package/es/components/container/src/header.mjs +1 -1
  303. package/es/components/container/src/main.mjs +1 -1
  304. package/es/components/countdown/src/countdown2.mjs +1 -1
  305. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +1 -1
  306. package/es/components/date-picker/src/date-picker-com/basic-month-table.mjs +1 -1
  307. package/es/components/date-picker/src/date-picker-com/basic-year-table.mjs +1 -1
  308. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +1 -1
  309. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +1 -1
  310. package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs +1 -1
  311. package/es/components/descriptions/src/description2.mjs +1 -1
  312. package/es/components/descriptions/src/descriptions-row2.mjs +1 -1
  313. package/es/components/dialog/index.mjs +2 -2
  314. package/es/components/dialog/src/dialog-content.mjs +94 -39
  315. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  316. package/es/components/dialog/src/dialog-content2.mjs +39 -94
  317. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  318. package/es/components/dialog/src/dialog.mjs +174 -73
  319. package/es/components/dialog/src/dialog.mjs.map +1 -1
  320. package/es/components/dialog/src/dialog2.mjs +73 -174
  321. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  322. package/es/components/divider/src/divider2.mjs +1 -1
  323. package/es/components/drawer/index.mjs +2 -2
  324. package/es/components/drawer/src/drawer.mjs +186 -25
  325. package/es/components/drawer/src/drawer.mjs.map +1 -1
  326. package/es/components/drawer/src/drawer2.mjs +25 -186
  327. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  328. package/es/components/dropdown/src/dropdown-item-impl.mjs +2 -2
  329. package/es/components/dropdown/src/dropdown-item-impl.mjs.map +1 -1
  330. package/es/components/dropdown/src/dropdown-item.mjs +2 -2
  331. package/es/components/dropdown/src/dropdown-item.mjs.map +1 -1
  332. package/es/components/dropdown/src/dropdown-menu.mjs +2 -2
  333. package/es/components/dropdown/src/dropdown-menu.mjs.map +1 -1
  334. package/es/components/dropdown/src/dropdown.mjs +2 -2
  335. package/es/components/dropdown/src/dropdown2.mjs +1 -1
  336. package/es/components/empty/index.mjs +2 -2
  337. package/es/components/empty/src/empty.mjs +55 -11
  338. package/es/components/empty/src/empty.mjs.map +1 -1
  339. package/es/components/empty/src/empty2.mjs +11 -55
  340. package/es/components/empty/src/empty2.mjs.map +1 -1
  341. package/es/components/empty/src/img-empty.mjs +1 -1
  342. package/es/components/focus-trap/src/focus-trap.mjs +1 -1
  343. package/es/components/form/index.mjs +2 -2
  344. package/es/components/form/src/form-item.mjs +1 -1
  345. package/es/components/form/src/form.mjs +150 -57
  346. package/es/components/form/src/form.mjs.map +1 -1
  347. package/es/components/form/src/form2.mjs +57 -150
  348. package/es/components/form/src/form2.mjs.map +1 -1
  349. package/es/components/icon/index.mjs +2 -2
  350. package/es/components/icon/src/icon.mjs +8 -36
  351. package/es/components/icon/src/icon.mjs.map +1 -1
  352. package/es/components/icon/src/icon2.mjs +36 -8
  353. package/es/components/icon/src/icon2.mjs.map +1 -1
  354. package/es/components/image/src/image2.mjs +1 -1
  355. package/es/components/image-viewer/index.mjs +2 -2
  356. package/es/components/image-viewer/src/image-viewer.mjs +401 -38
  357. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  358. package/es/components/image-viewer/src/image-viewer2.mjs +38 -401
  359. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  360. package/es/components/index.mjs +29 -29
  361. package/es/components/input/index.mjs +2 -2
  362. package/es/components/input/src/input.mjs +458 -108
  363. package/es/components/input/src/input.mjs.map +1 -1
  364. package/es/components/input/src/input2.mjs +108 -458
  365. package/es/components/input/src/input2.mjs.map +1 -1
  366. package/es/components/input-number/src/input-number2.mjs +1 -1
  367. package/es/components/link/src/link2.mjs +1 -1
  368. package/es/components/menu/src/menu-collapse-transition.mjs +1 -1
  369. package/es/components/menu/src/menu-item-group.mjs +1 -1
  370. package/es/components/menu/src/menu-item2.mjs +1 -1
  371. package/es/components/message/index.mjs +1 -1
  372. package/es/components/message/src/message.mjs +86 -151
  373. package/es/components/message/src/message.mjs.map +1 -1
  374. package/es/components/message/src/message2.mjs +151 -86
  375. package/es/components/message/src/message2.mjs.map +1 -1
  376. package/es/components/message/src/method.mjs +2 -2
  377. package/es/components/message-box/src/index.mjs +1 -1
  378. package/es/components/notification/src/notification.mjs +1 -1
  379. package/es/components/page-header/src/page-header.mjs +1 -1
  380. package/es/components/pagination/src/components/jumper2.mjs +1 -1
  381. package/es/components/pagination/src/components/next.mjs +19 -38
  382. package/es/components/pagination/src/components/next.mjs.map +1 -1
  383. package/es/components/pagination/src/components/next2.mjs +38 -19
  384. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  385. package/es/components/pagination/src/components/pager.mjs +216 -17
  386. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  387. package/es/components/pagination/src/components/pager2.mjs +17 -216
  388. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  389. package/es/components/pagination/src/components/prev.mjs +38 -18
  390. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  391. package/es/components/pagination/src/components/prev2.mjs +18 -38
  392. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  393. package/es/components/pagination/src/components/sizes.mjs +70 -22
  394. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  395. package/es/components/pagination/src/components/sizes2.mjs +22 -70
  396. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  397. package/es/components/pagination/src/components/total.mjs +28 -7
  398. package/es/components/pagination/src/components/total.mjs.map +1 -1
  399. package/es/components/pagination/src/components/total2.mjs +7 -28
  400. package/es/components/pagination/src/components/total2.mjs.map +1 -1
  401. package/es/components/pagination/src/pagination.mjs +5 -5
  402. package/es/components/popconfirm/index.mjs +2 -2
  403. package/es/components/popconfirm/src/popconfirm.mjs +110 -47
  404. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  405. package/es/components/popconfirm/src/popconfirm2.mjs +47 -110
  406. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  407. package/es/components/popover/src/popover.mjs +2 -2
  408. package/es/components/popover/src/popover2.mjs +1 -1
  409. package/es/components/popper/index.mjs +4 -4
  410. package/es/components/popper/src/arrow2.mjs +1 -1
  411. package/es/components/popper/src/content.mjs +94 -139
  412. package/es/components/popper/src/content.mjs.map +1 -1
  413. package/es/components/popper/src/content2.mjs +139 -94
  414. package/es/components/popper/src/content2.mjs.map +1 -1
  415. package/es/components/popper/src/popper.mjs +25 -32
  416. package/es/components/popper/src/popper.mjs.map +1 -1
  417. package/es/components/popper/src/popper2.mjs +32 -25
  418. package/es/components/popper/src/popper2.mjs.map +1 -1
  419. package/es/components/popper/src/trigger2.mjs +1 -1
  420. package/es/components/progress/src/progress.mjs +1 -1
  421. package/es/components/radio/index.mjs +2 -2
  422. package/es/components/radio/src/radio-button.mjs +9 -64
  423. package/es/components/radio/src/radio-button.mjs.map +1 -1
  424. package/es/components/radio/src/radio-button2.mjs +64 -9
  425. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  426. package/es/components/radio/src/radio-group2.mjs +1 -1
  427. package/es/components/radio/src/radio2.mjs +1 -1
  428. package/es/components/rate/src/rate2.mjs +1 -1
  429. package/es/components/result/src/result2.mjs +1 -1
  430. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +7 -2
  431. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs.map +1 -1
  432. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +1 -1
  433. package/es/components/roving-focus-group/src/roving-focus-item.mjs +12 -1
  434. package/es/components/roving-focus-group/src/roving-focus-item.mjs.map +1 -1
  435. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +5 -0
  436. package/es/components/row/src/row2.mjs +1 -1
  437. package/es/components/scrollbar/index.mjs +2 -2
  438. package/es/components/scrollbar/src/bar2.mjs +1 -1
  439. package/es/components/scrollbar/src/scrollbar.mjs +46 -176
  440. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  441. package/es/components/scrollbar/src/scrollbar2.mjs +176 -46
  442. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  443. package/es/components/scrollbar/src/thumb2.mjs +1 -1
  444. package/es/components/select/src/option-group.mjs +1 -1
  445. package/es/components/select/src/option.mjs +1 -1
  446. package/es/components/select/src/select-dropdown.mjs +1 -1
  447. package/es/components/select/src/select.mjs +3 -3
  448. package/es/components/select-v2/src/defaults.mjs +1 -1
  449. package/es/components/select-v2/src/group-item.mjs +1 -1
  450. package/es/components/select-v2/src/option-item.mjs +1 -1
  451. package/es/components/select-v2/src/select.mjs +1 -1
  452. package/es/components/skeleton/src/skeleton-item2.mjs +1 -1
  453. package/es/components/skeleton/src/skeleton2.mjs +1 -1
  454. package/es/components/slider/index.mjs +2 -2
  455. package/es/components/slider/src/button2.mjs +1 -1
  456. package/es/components/slider/src/slider.mjs +233 -91
  457. package/es/components/slider/src/slider.mjs.map +1 -1
  458. package/es/components/slider/src/slider2.mjs +91 -233
  459. package/es/components/slider/src/slider2.mjs.map +1 -1
  460. package/es/components/statistic/src/statistic2.mjs +1 -1
  461. package/es/components/steps/index.mjs +4 -4
  462. package/es/components/steps/src/item.mjs +19 -190
  463. package/es/components/steps/src/item.mjs.map +1 -1
  464. package/es/components/steps/src/item2.mjs +190 -19
  465. package/es/components/steps/src/item2.mjs.map +1 -1
  466. package/es/components/steps/src/steps.mjs +34 -36
  467. package/es/components/steps/src/steps.mjs.map +1 -1
  468. package/es/components/steps/src/steps2.mjs +36 -34
  469. package/es/components/steps/src/steps2.mjs.map +1 -1
  470. package/es/components/switch/src/switch2.mjs +1 -1
  471. package/es/components/table/src/filter-panel.mjs +1 -1
  472. package/es/components/table/src/store/helper.mjs +2 -5
  473. package/es/components/table/src/store/helper.mjs.map +1 -1
  474. package/es/components/table/src/table.mjs +1 -1
  475. package/es/components/tabs/src/tab-bar2.mjs +1 -1
  476. package/es/components/tabs/src/tab-pane2.mjs +1 -1
  477. package/es/components/tag/index.mjs +2 -2
  478. package/es/components/tag/src/tag.mjs +98 -33
  479. package/es/components/tag/src/tag.mjs.map +1 -1
  480. package/es/components/tag/src/tag2.mjs +33 -98
  481. package/es/components/tag/src/tag2.mjs.map +1 -1
  482. package/es/components/teleport/index.mjs +2 -2
  483. package/es/components/teleport/src/teleport.mjs +44 -18
  484. package/es/components/teleport/src/teleport.mjs.map +1 -1
  485. package/es/components/teleport/src/teleport2.mjs +18 -44
  486. package/es/components/teleport/src/teleport2.mjs.map +1 -1
  487. package/es/components/text/index.mjs +2 -2
  488. package/es/components/text/src/text.mjs +35 -22
  489. package/es/components/text/src/text.mjs.map +1 -1
  490. package/es/components/text/src/text2.mjs +22 -35
  491. package/es/components/text/src/text2.mjs.map +1 -1
  492. package/es/components/time-picker/src/common/picker.mjs +1 -1
  493. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +1 -1
  494. package/es/components/time-picker/src/time-picker-com/panel-time-pick.mjs +1 -1
  495. package/es/components/time-picker/src/time-picker-com/panel-time-range.mjs +1 -1
  496. package/es/components/time-select/src/time-select2.mjs +1 -1
  497. package/es/components/timeline/index.mjs +2 -2
  498. package/es/components/timeline/src/timeline-item.mjs +42 -70
  499. package/es/components/timeline/src/timeline-item.mjs.map +1 -1
  500. package/es/components/timeline/src/timeline-item2.mjs +70 -42
  501. package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
  502. package/es/components/tooltip/index.mjs +4 -4
  503. package/es/components/tooltip/src/content.mjs +179 -31
  504. package/es/components/tooltip/src/content.mjs.map +1 -1
  505. package/es/components/tooltip/src/content2.mjs +31 -179
  506. package/es/components/tooltip/src/content2.mjs.map +1 -1
  507. package/es/components/tooltip/src/tooltip.mjs +174 -31
  508. package/es/components/tooltip/src/tooltip.mjs.map +1 -1
  509. package/es/components/tooltip/src/tooltip2.mjs +31 -174
  510. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  511. package/es/components/tooltip/src/trigger.mjs +73 -16
  512. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  513. package/es/components/tooltip/src/trigger2.mjs +16 -73
  514. package/es/components/tooltip/src/trigger2.mjs.map +1 -1
  515. package/es/components/tooltip-v2/index.mjs +1 -1
  516. package/es/components/tooltip-v2/src/arrow.mjs +1 -1
  517. package/es/components/tooltip-v2/src/content.mjs +114 -50
  518. package/es/components/tooltip-v2/src/content.mjs.map +1 -1
  519. package/es/components/tooltip-v2/src/content2.mjs +50 -114
  520. package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
  521. package/es/components/tooltip-v2/src/root2.mjs +1 -1
  522. package/es/components/tooltip-v2/src/tooltip.mjs +3 -3
  523. package/es/components/tooltip-v2/src/tooltip2.mjs +1 -1
  524. package/es/components/tooltip-v2/src/trigger2.mjs +1 -1
  525. package/es/components/transfer/src/transfer-panel.mjs +1 -1
  526. package/es/components/transfer/src/transfer2.mjs +1 -1
  527. package/es/components/tree/src/tree-node-content.mjs +1 -1
  528. package/es/components/tree/src/tree-node.mjs +1 -1
  529. package/es/components/tree/src/tree.mjs +1 -1
  530. package/es/components/tree-select/src/tree-select.mjs +1 -1
  531. package/es/components/tree-v2/src/tree-node.mjs +1 -1
  532. package/es/components/tree-v2/src/tree.mjs +1 -1
  533. package/es/components/upload/src/upload-content2.mjs +1 -1
  534. package/es/components/upload/src/upload-dragger2.mjs +1 -1
  535. package/es/components/upload/src/upload-list.mjs +1 -1
  536. package/es/components/upload/src/upload2.mjs +1 -1
  537. package/es/components/visual-hidden/index.mjs +3 -3
  538. package/es/components/visual-hidden/src/visual-hidden.mjs +35 -7
  539. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  540. package/es/components/visual-hidden/src/visual-hidden2.mjs +7 -35
  541. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  542. package/es/index.mjs +29 -29
  543. package/es/version.d.ts +1 -1
  544. package/es/version.mjs +1 -1
  545. package/es/version.mjs.map +1 -1
  546. package/lib/components/affix/index.js +2 -2
  547. package/lib/components/affix/src/affix.js +119 -27
  548. package/lib/components/affix/src/affix.js.map +1 -1
  549. package/lib/components/affix/src/affix2.js +27 -119
  550. package/lib/components/affix/src/affix2.js.map +1 -1
  551. package/lib/components/alert/src/alert2.js +1 -1
  552. package/lib/components/autocomplete/src/autocomplete.js +1 -1
  553. package/lib/components/autocomplete/src/autocomplete2.js +1 -1
  554. package/lib/components/avatar/src/avatar2.js +1 -1
  555. package/lib/components/backtop/src/backtop2.js +1 -1
  556. package/lib/components/badge/src/badge2.js +1 -1
  557. package/lib/components/breadcrumb/src/breadcrumb-item2.js +1 -1
  558. package/lib/components/breadcrumb/src/breadcrumb.js +1 -1
  559. package/lib/components/button/src/button-group2.js +1 -1
  560. package/lib/components/button/src/button2.js +1 -1
  561. package/lib/components/calendar/src/calendar2.js +2 -2
  562. package/lib/components/calendar/src/date-table.js +37 -87
  563. package/lib/components/calendar/src/date-table.js.map +1 -1
  564. package/lib/components/calendar/src/date-table2.js +87 -37
  565. package/lib/components/calendar/src/date-table2.js.map +1 -1
  566. package/lib/components/calendar/src/use-date-table.js +1 -1
  567. package/lib/components/card/src/card2.js +1 -1
  568. package/lib/components/carousel/index.js +2 -2
  569. package/lib/components/carousel/src/carousel-item.js +63 -8
  570. package/lib/components/carousel/src/carousel-item.js.map +1 -1
  571. package/lib/components/carousel/src/carousel-item2.js +8 -63
  572. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  573. package/lib/components/carousel/src/carousel2.js +1 -1
  574. package/lib/components/cascader/src/cascader.js +2 -2
  575. package/lib/components/cascader/src/cascader2.js +1 -1
  576. package/lib/components/cascader-panel/src/index.js +1 -1
  577. package/lib/components/cascader-panel/src/menu.js +1 -1
  578. package/lib/components/cascader-panel/src/node2.js +1 -1
  579. package/lib/components/check-tag/src/check-tag2.js +1 -1
  580. package/lib/components/checkbox/index.js +4 -4
  581. package/lib/components/checkbox/src/checkbox-button.js +2 -2
  582. package/lib/components/checkbox/src/checkbox-group.js +72 -29
  583. package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
  584. package/lib/components/checkbox/src/checkbox-group2.js +29 -72
  585. package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
  586. package/lib/components/checkbox/src/checkbox.js +50 -117
  587. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  588. package/lib/components/checkbox/src/checkbox2.js +117 -50
  589. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  590. package/lib/components/col/src/col2.js +1 -1
  591. package/lib/components/collapse/index.js +2 -2
  592. package/lib/components/collapse/src/collapse-item2.js +1 -1
  593. package/lib/components/collapse/src/collapse.js +30 -19
  594. package/lib/components/collapse/src/collapse.js.map +1 -1
  595. package/lib/components/collapse/src/collapse2.js +19 -30
  596. package/lib/components/collapse/src/collapse2.js.map +1 -1
  597. package/lib/components/collapse-transition/src/collapse-transition.js +1 -1
  598. package/lib/components/collection/src/collection-item.js +1 -1
  599. package/lib/components/collection/src/collection2.js +1 -1
  600. package/lib/components/color-picker/index.js +2 -2
  601. package/lib/components/color-picker/src/color-picker.js +331 -46
  602. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  603. package/lib/components/color-picker/src/color-picker2.js +46 -331
  604. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  605. package/lib/components/color-picker/src/components/alpha-slider.js +1 -1
  606. package/lib/components/color-picker/src/components/hue-slider.js +1 -1
  607. package/lib/components/color-picker/src/components/predefine.js +2 -2
  608. package/lib/components/color-picker/src/components/sv-panel.js +1 -1
  609. package/lib/components/container/src/aside.js +1 -1
  610. package/lib/components/container/src/container.js +1 -1
  611. package/lib/components/container/src/footer.js +1 -1
  612. package/lib/components/container/src/header.js +1 -1
  613. package/lib/components/container/src/main.js +1 -1
  614. package/lib/components/countdown/src/countdown2.js +1 -1
  615. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +1 -1
  616. package/lib/components/date-picker/src/date-picker-com/basic-month-table.js +1 -1
  617. package/lib/components/date-picker/src/date-picker-com/basic-year-table.js +1 -1
  618. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +1 -1
  619. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +1 -1
  620. package/lib/components/date-picker/src/date-picker-com/panel-month-range.js +1 -1
  621. package/lib/components/descriptions/src/description2.js +1 -1
  622. package/lib/components/descriptions/src/descriptions-row2.js +1 -1
  623. package/lib/components/dialog/index.js +2 -2
  624. package/lib/components/dialog/src/dialog-content.js +93 -39
  625. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  626. package/lib/components/dialog/src/dialog-content2.js +39 -93
  627. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  628. package/lib/components/dialog/src/dialog.js +173 -73
  629. package/lib/components/dialog/src/dialog.js.map +1 -1
  630. package/lib/components/dialog/src/dialog2.js +73 -173
  631. package/lib/components/dialog/src/dialog2.js.map +1 -1
  632. package/lib/components/divider/src/divider2.js +1 -1
  633. package/lib/components/drawer/index.js +2 -2
  634. package/lib/components/drawer/src/drawer.js +186 -26
  635. package/lib/components/drawer/src/drawer.js.map +1 -1
  636. package/lib/components/drawer/src/drawer2.js +26 -186
  637. package/lib/components/drawer/src/drawer2.js.map +1 -1
  638. package/lib/components/dropdown/src/dropdown-item-impl.js +2 -2
  639. package/lib/components/dropdown/src/dropdown-item-impl.js.map +1 -1
  640. package/lib/components/dropdown/src/dropdown-item.js +2 -2
  641. package/lib/components/dropdown/src/dropdown-item.js.map +1 -1
  642. package/lib/components/dropdown/src/dropdown-menu.js +2 -2
  643. package/lib/components/dropdown/src/dropdown-menu.js.map +1 -1
  644. package/lib/components/dropdown/src/dropdown.js +2 -2
  645. package/lib/components/dropdown/src/dropdown2.js +1 -1
  646. package/lib/components/empty/index.js +2 -2
  647. package/lib/components/empty/src/empty.js +55 -11
  648. package/lib/components/empty/src/empty.js.map +1 -1
  649. package/lib/components/empty/src/empty2.js +11 -55
  650. package/lib/components/empty/src/empty2.js.map +1 -1
  651. package/lib/components/empty/src/img-empty.js +1 -1
  652. package/lib/components/focus-trap/src/focus-trap.js +1 -1
  653. package/lib/components/form/index.js +2 -2
  654. package/lib/components/form/src/form-item.js +1 -1
  655. package/lib/components/form/src/form.js +149 -57
  656. package/lib/components/form/src/form.js.map +1 -1
  657. package/lib/components/form/src/form2.js +57 -149
  658. package/lib/components/form/src/form2.js.map +1 -1
  659. package/lib/components/icon/index.js +2 -2
  660. package/lib/components/icon/src/icon.js +8 -36
  661. package/lib/components/icon/src/icon.js.map +1 -1
  662. package/lib/components/icon/src/icon2.js +36 -8
  663. package/lib/components/icon/src/icon2.js.map +1 -1
  664. package/lib/components/image/src/image2.js +1 -1
  665. package/lib/components/image-viewer/index.js +2 -2
  666. package/lib/components/image-viewer/src/image-viewer.js +401 -39
  667. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  668. package/lib/components/image-viewer/src/image-viewer2.js +39 -401
  669. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  670. package/lib/components/index.js +29 -29
  671. package/lib/components/input/index.js +2 -2
  672. package/lib/components/input/src/input.js +457 -108
  673. package/lib/components/input/src/input.js.map +1 -1
  674. package/lib/components/input/src/input2.js +108 -457
  675. package/lib/components/input/src/input2.js.map +1 -1
  676. package/lib/components/input-number/src/input-number2.js +1 -1
  677. package/lib/components/link/src/link2.js +1 -1
  678. package/lib/components/menu/src/menu-collapse-transition.js +1 -1
  679. package/lib/components/menu/src/menu-item-group.js +1 -1
  680. package/lib/components/menu/src/menu-item2.js +1 -1
  681. package/lib/components/message/index.js +1 -1
  682. package/lib/components/message/src/message.js +88 -150
  683. package/lib/components/message/src/message.js.map +1 -1
  684. package/lib/components/message/src/message2.js +150 -88
  685. package/lib/components/message/src/message2.js.map +1 -1
  686. package/lib/components/message/src/method.js +2 -2
  687. package/lib/components/message-box/src/index.js +1 -1
  688. package/lib/components/notification/src/notification.js +1 -1
  689. package/lib/components/page-header/src/page-header.js +1 -1
  690. package/lib/components/pagination/src/components/jumper2.js +1 -1
  691. package/lib/components/pagination/src/components/next.js +19 -38
  692. package/lib/components/pagination/src/components/next.js.map +1 -1
  693. package/lib/components/pagination/src/components/next2.js +38 -19
  694. package/lib/components/pagination/src/components/next2.js.map +1 -1
  695. package/lib/components/pagination/src/components/pager.js +216 -17
  696. package/lib/components/pagination/src/components/pager.js.map +1 -1
  697. package/lib/components/pagination/src/components/pager2.js +17 -216
  698. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  699. package/lib/components/pagination/src/components/prev.js +38 -19
  700. package/lib/components/pagination/src/components/prev.js.map +1 -1
  701. package/lib/components/pagination/src/components/prev2.js +19 -38
  702. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  703. package/lib/components/pagination/src/components/sizes.js +70 -22
  704. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  705. package/lib/components/pagination/src/components/sizes2.js +22 -70
  706. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  707. package/lib/components/pagination/src/components/total.js +28 -7
  708. package/lib/components/pagination/src/components/total.js.map +1 -1
  709. package/lib/components/pagination/src/components/total2.js +7 -28
  710. package/lib/components/pagination/src/components/total2.js.map +1 -1
  711. package/lib/components/pagination/src/pagination.js +5 -5
  712. package/lib/components/popconfirm/index.js +2 -2
  713. package/lib/components/popconfirm/src/popconfirm.js +110 -48
  714. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  715. package/lib/components/popconfirm/src/popconfirm2.js +48 -110
  716. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  717. package/lib/components/popover/src/popover.js +2 -2
  718. package/lib/components/popover/src/popover2.js +1 -1
  719. package/lib/components/popper/index.js +4 -4
  720. package/lib/components/popper/src/arrow2.js +1 -1
  721. package/lib/components/popper/src/content.js +99 -139
  722. package/lib/components/popper/src/content.js.map +1 -1
  723. package/lib/components/popper/src/content2.js +139 -99
  724. package/lib/components/popper/src/content2.js.map +1 -1
  725. package/lib/components/popper/src/popper.js +28 -32
  726. package/lib/components/popper/src/popper.js.map +1 -1
  727. package/lib/components/popper/src/popper2.js +32 -28
  728. package/lib/components/popper/src/popper2.js.map +1 -1
  729. package/lib/components/popper/src/trigger2.js +1 -1
  730. package/lib/components/progress/src/progress.js +1 -1
  731. package/lib/components/radio/index.js +2 -2
  732. package/lib/components/radio/src/radio-button.js +9 -64
  733. package/lib/components/radio/src/radio-button.js.map +1 -1
  734. package/lib/components/radio/src/radio-button2.js +64 -9
  735. package/lib/components/radio/src/radio-button2.js.map +1 -1
  736. package/lib/components/radio/src/radio-group2.js +1 -1
  737. package/lib/components/radio/src/radio2.js +1 -1
  738. package/lib/components/rate/src/rate2.js +1 -1
  739. package/lib/components/result/src/result2.js +1 -1
  740. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +7 -2
  741. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js.map +1 -1
  742. package/lib/components/roving-focus-group/src/roving-focus-group2.js +1 -1
  743. package/lib/components/roving-focus-group/src/roving-focus-item.js +12 -1
  744. package/lib/components/roving-focus-group/src/roving-focus-item.js.map +1 -1
  745. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +5 -0
  746. package/lib/components/row/src/row2.js +1 -1
  747. package/lib/components/scrollbar/index.js +2 -2
  748. package/lib/components/scrollbar/src/bar2.js +1 -1
  749. package/lib/components/scrollbar/src/scrollbar.js +47 -176
  750. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  751. package/lib/components/scrollbar/src/scrollbar2.js +176 -47
  752. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  753. package/lib/components/scrollbar/src/thumb2.js +1 -1
  754. package/lib/components/select/src/option-group.js +1 -1
  755. package/lib/components/select/src/option.js +1 -1
  756. package/lib/components/select/src/select-dropdown.js +1 -1
  757. package/lib/components/select/src/select.js +3 -3
  758. package/lib/components/select-v2/src/defaults.js +1 -1
  759. package/lib/components/select-v2/src/group-item.js +1 -1
  760. package/lib/components/select-v2/src/option-item.js +1 -1
  761. package/lib/components/select-v2/src/select.js +1 -1
  762. package/lib/components/skeleton/src/skeleton-item2.js +1 -1
  763. package/lib/components/skeleton/src/skeleton2.js +1 -1
  764. package/lib/components/slider/index.js +2 -2
  765. package/lib/components/slider/src/button2.js +1 -1
  766. package/lib/components/slider/src/slider.js +233 -92
  767. package/lib/components/slider/src/slider.js.map +1 -1
  768. package/lib/components/slider/src/slider2.js +92 -233
  769. package/lib/components/slider/src/slider2.js.map +1 -1
  770. package/lib/components/statistic/src/statistic2.js +1 -1
  771. package/lib/components/steps/index.js +4 -4
  772. package/lib/components/steps/src/item.js +19 -190
  773. package/lib/components/steps/src/item.js.map +1 -1
  774. package/lib/components/steps/src/item2.js +190 -19
  775. package/lib/components/steps/src/item2.js.map +1 -1
  776. package/lib/components/steps/src/steps.js +34 -37
  777. package/lib/components/steps/src/steps.js.map +1 -1
  778. package/lib/components/steps/src/steps2.js +37 -34
  779. package/lib/components/steps/src/steps2.js.map +1 -1
  780. package/lib/components/switch/src/switch2.js +1 -1
  781. package/lib/components/table/src/filter-panel.js +1 -1
  782. package/lib/components/table/src/store/helper.js +2 -5
  783. package/lib/components/table/src/store/helper.js.map +1 -1
  784. package/lib/components/table/src/table.js +1 -1
  785. package/lib/components/tabs/src/tab-bar2.js +1 -1
  786. package/lib/components/tabs/src/tab-pane2.js +1 -1
  787. package/lib/components/tag/index.js +2 -2
  788. package/lib/components/tag/src/tag.js +98 -34
  789. package/lib/components/tag/src/tag.js.map +1 -1
  790. package/lib/components/tag/src/tag2.js +34 -98
  791. package/lib/components/tag/src/tag2.js.map +1 -1
  792. package/lib/components/teleport/index.js +2 -2
  793. package/lib/components/teleport/src/teleport.js +44 -18
  794. package/lib/components/teleport/src/teleport.js.map +1 -1
  795. package/lib/components/teleport/src/teleport2.js +18 -44
  796. package/lib/components/teleport/src/teleport2.js.map +1 -1
  797. package/lib/components/text/index.js +2 -2
  798. package/lib/components/text/src/text.js +35 -22
  799. package/lib/components/text/src/text.js.map +1 -1
  800. package/lib/components/text/src/text2.js +22 -35
  801. package/lib/components/text/src/text2.js.map +1 -1
  802. package/lib/components/time-picker/src/common/picker.js +1 -1
  803. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +1 -1
  804. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.js +1 -1
  805. package/lib/components/time-picker/src/time-picker-com/panel-time-range.js +1 -1
  806. package/lib/components/time-select/src/time-select2.js +1 -1
  807. package/lib/components/timeline/index.js +2 -2
  808. package/lib/components/timeline/src/timeline-item.js +42 -70
  809. package/lib/components/timeline/src/timeline-item.js.map +1 -1
  810. package/lib/components/timeline/src/timeline-item2.js +70 -42
  811. package/lib/components/timeline/src/timeline-item2.js.map +1 -1
  812. package/lib/components/tooltip/index.js +4 -4
  813. package/lib/components/tooltip/src/content.js +179 -31
  814. package/lib/components/tooltip/src/content.js.map +1 -1
  815. package/lib/components/tooltip/src/content2.js +31 -179
  816. package/lib/components/tooltip/src/content2.js.map +1 -1
  817. package/lib/components/tooltip/src/tooltip.js +173 -34
  818. package/lib/components/tooltip/src/tooltip.js.map +1 -1
  819. package/lib/components/tooltip/src/tooltip2.js +34 -173
  820. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  821. package/lib/components/tooltip/src/trigger.js +73 -16
  822. package/lib/components/tooltip/src/trigger.js.map +1 -1
  823. package/lib/components/tooltip/src/trigger2.js +16 -73
  824. package/lib/components/tooltip/src/trigger2.js.map +1 -1
  825. package/lib/components/tooltip-v2/index.js +1 -1
  826. package/lib/components/tooltip-v2/src/arrow.js +1 -1
  827. package/lib/components/tooltip-v2/src/content.js +114 -50
  828. package/lib/components/tooltip-v2/src/content.js.map +1 -1
  829. package/lib/components/tooltip-v2/src/content2.js +50 -114
  830. package/lib/components/tooltip-v2/src/content2.js.map +1 -1
  831. package/lib/components/tooltip-v2/src/root2.js +1 -1
  832. package/lib/components/tooltip-v2/src/tooltip.js +3 -3
  833. package/lib/components/tooltip-v2/src/tooltip2.js +1 -1
  834. package/lib/components/tooltip-v2/src/trigger2.js +1 -1
  835. package/lib/components/transfer/src/transfer-panel.js +1 -1
  836. package/lib/components/transfer/src/transfer2.js +1 -1
  837. package/lib/components/tree/src/tree-node-content.js +1 -1
  838. package/lib/components/tree/src/tree-node.js +1 -1
  839. package/lib/components/tree/src/tree.js +1 -1
  840. package/lib/components/tree-select/src/tree-select.js +1 -1
  841. package/lib/components/tree-v2/src/tree-node.js +1 -1
  842. package/lib/components/tree-v2/src/tree.js +1 -1
  843. package/lib/components/upload/src/upload-content2.js +1 -1
  844. package/lib/components/upload/src/upload-dragger2.js +1 -1
  845. package/lib/components/upload/src/upload-list.js +1 -1
  846. package/lib/components/upload/src/upload2.js +1 -1
  847. package/lib/components/visual-hidden/index.js +2 -2
  848. package/lib/components/visual-hidden/src/visual-hidden.js +35 -7
  849. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  850. package/lib/components/visual-hidden/src/visual-hidden2.js +7 -35
  851. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  852. package/lib/index.js +29 -29
  853. package/lib/version.d.ts +1 -1
  854. package/lib/version.js +1 -1
  855. package/lib/version.js.map +1 -1
  856. package/package.json +1 -1
  857. package/tags.json +1 -1
  858. package/web-types.json +1 -1
@@ -1,466 +1,116 @@
1
- import { defineComponent, useAttrs, useSlots, computed, shallowRef, ref, nextTick, onMounted, toRef, withDirectives, openBlock, createElementBlock, mergeProps, unref, createCommentVNode, Fragment, normalizeClass, renderSlot, createElementVNode, createBlock, withCtx, resolveDynamicComponent, withModifiers, createVNode, toDisplayString, normalizeStyle, vShow } from 'vue';
2
- import '../../config-provider/index.mjs';
3
- import { useResizeObserver, isClient } from '@vueuse/core';
4
- import { isNil } from 'lodash-unified';
5
- import { ElIcon } from '../../icon/index.mjs';
6
- import { View, Hide, CircleClose } from '@element-plus/icons-vue';
7
- import '../../form/index.mjs';
1
+ import { isString } from '@vue/shared';
8
2
  import '../../../utils/index.mjs';
9
- import '../../../hooks/index.mjs';
10
3
  import '../../../constants/index.mjs';
11
- import { calcTextareaHeight } from './utils.mjs';
12
- import { inputProps, inputEmits } from './input.mjs';
13
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
14
- import { useAttrs as useAttrs$1 } from '../../../hooks/use-attrs/index.mjs';
15
- import { useFormItem, useFormItemInputId } from '../../form/src/hooks/use-form-item.mjs';
16
- import { useFormSize, useFormDisabled } from '../../form/src/hooks/use-form-common-props.mjs';
17
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
18
- import { ValidateComponentsMap } from '../../../utils/vue/icon.mjs';
19
- import { useCursor } from '../../../hooks/use-cursor/index.mjs';
20
- import { isObject, NOOP } from '@vue/shared';
4
+ import '../../../hooks/index.mjs';
5
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
6
+ import { useSizeProp } from '../../../hooks/use-size/index.mjs';
7
+ import { iconPropType } from '../../../utils/vue/icon.mjs';
8
+ import { mutable } from '../../../utils/typescript.mjs';
21
9
  import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
22
- import { isKorean } from '../../../utils/i18n.mjs';
23
- import { debugWarn } from '../../../utils/error.mjs';
24
- import { watch } from '../../config-provider/src/for-editor.mjs';
25
10
 
26
- const _hoisted_1 = ["role", "widget"];
27
- const _hoisted_2 = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"];
28
- const _hoisted_3 = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
29
- const __default__ = defineComponent({
30
- name: "ElInput",
31
- inheritAttrs: false
32
- });
33
- const _sfc_main = /* @__PURE__ */ defineComponent({
34
- ...__default__,
35
- props: inputProps,
36
- emits: inputEmits,
37
- setup(__props, { expose, emit }) {
38
- const props = __props;
39
- const rawAttrs = useAttrs();
40
- const slots = useSlots();
41
- const containerAttrs = computed(() => {
42
- const comboBoxAttrs = {};
43
- if (props.containerRole === "combobox") {
44
- comboBoxAttrs["aria-haspopup"] = rawAttrs["aria-haspopup"];
45
- comboBoxAttrs["aria-owns"] = rawAttrs["aria-owns"];
46
- comboBoxAttrs["aria-expanded"] = rawAttrs["aria-expanded"];
47
- }
48
- return comboBoxAttrs;
49
- });
50
- const containerKls = computed(() => [
51
- props.type === "textarea" ? nsTextarea.b() : nsInput.b(),
52
- nsInput.m(inputSize.value),
53
- nsInput.is("disabled", inputDisabled.value),
54
- nsInput.is("exceed", inputExceed.value),
55
- {
56
- [nsInput.b("group")]: slots.prepend || slots.append,
57
- [nsInput.bm("group", "append")]: slots.append,
58
- [nsInput.bm("group", "prepend")]: slots.prepend,
59
- [nsInput.m("prefix")]: slots.prefix || props.prefixIcon,
60
- [nsInput.m("suffix")]: slots.suffix || props.suffixIcon || props.clearable || props.showPassword,
61
- [nsInput.bm("suffix", "password-clear")]: showClear.value && showPwdVisible.value
62
- },
63
- rawAttrs.class
64
- ]);
65
- const wrapperKls = computed(() => [
66
- nsInput.e("wrapper"),
67
- nsInput.is("focus", focused.value)
68
- ]);
69
- const attrs = useAttrs$1({
70
- excludeKeys: computed(() => {
71
- return Object.keys(containerAttrs.value);
72
- })
73
- });
74
- const { form, formItem } = useFormItem();
75
- const { inputId } = useFormItemInputId(props, {
76
- formItemContext: formItem
77
- });
78
- const inputSize = useFormSize();
79
- const inputDisabled = useFormDisabled();
80
- const nsInput = useNamespace("input");
81
- const nsTextarea = useNamespace("textarea");
82
- const input = shallowRef();
83
- const textarea = shallowRef();
84
- const focused = ref(false);
85
- const hovering = ref(false);
86
- const isComposing = ref(false);
87
- const passwordVisible = ref(false);
88
- const countStyle = ref();
89
- const textareaCalcStyle = shallowRef(props.inputStyle);
90
- const _ref = computed(() => input.value || textarea.value);
91
- const needStatusIcon = computed(() => {
92
- var _a;
93
- return (_a = form == null ? void 0 : form.statusIcon) != null ? _a : false;
94
- });
95
- const validateState = computed(() => (formItem == null ? void 0 : formItem.validateState) || "");
96
- const validateIcon = computed(() => validateState.value && ValidateComponentsMap[validateState.value]);
97
- const passwordIcon = computed(() => passwordVisible.value ? View : Hide);
98
- const containerStyle = computed(() => [
99
- rawAttrs.style,
100
- props.inputStyle
101
- ]);
102
- const textareaStyle = computed(() => [
103
- props.inputStyle,
104
- textareaCalcStyle.value,
105
- { resize: props.resize }
106
- ]);
107
- const nativeInputValue = computed(() => isNil(props.modelValue) ? "" : String(props.modelValue));
108
- const showClear = computed(() => props.clearable && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (focused.value || hovering.value));
109
- const showPwdVisible = computed(() => props.showPassword && !inputDisabled.value && !props.readonly && !!nativeInputValue.value && (!!nativeInputValue.value || focused.value));
110
- const isWordLimitVisible = computed(() => props.showWordLimit && !!attrs.value.maxlength && (props.type === "text" || props.type === "textarea") && !inputDisabled.value && !props.readonly && !props.showPassword);
111
- const textLength = computed(() => nativeInputValue.value.length);
112
- const inputExceed = computed(() => !!isWordLimitVisible.value && textLength.value > Number(attrs.value.maxlength));
113
- const suffixVisible = computed(() => !!slots.suffix || !!props.suffixIcon || showClear.value || props.showPassword || isWordLimitVisible.value || !!validateState.value && needStatusIcon.value);
114
- const [recordCursor, setCursor] = useCursor(input);
115
- useResizeObserver(textarea, (entries) => {
116
- onceInitSizeTextarea();
117
- if (!isWordLimitVisible.value || props.resize !== "both")
118
- return;
119
- const entry = entries[0];
120
- const { width } = entry.contentRect;
121
- countStyle.value = {
122
- right: `calc(100% - ${width + 15 + 6}px)`
123
- };
124
- });
125
- const resizeTextarea = () => {
126
- const { type, autosize } = props;
127
- if (!isClient || type !== "textarea" || !textarea.value)
128
- return;
129
- if (autosize) {
130
- const minRows = isObject(autosize) ? autosize.minRows : void 0;
131
- const maxRows = isObject(autosize) ? autosize.maxRows : void 0;
132
- const textareaStyle2 = calcTextareaHeight(textarea.value, minRows, maxRows);
133
- textareaCalcStyle.value = {
134
- overflowY: "hidden",
135
- ...textareaStyle2
136
- };
137
- nextTick(() => {
138
- textarea.value.offsetHeight;
139
- textareaCalcStyle.value = textareaStyle2;
140
- });
141
- } else {
142
- textareaCalcStyle.value = {
143
- minHeight: calcTextareaHeight(textarea.value).minHeight
144
- };
145
- }
146
- };
147
- const createOnceInitResize = (resizeTextarea2) => {
148
- let isInit = false;
149
- return () => {
150
- var _a;
151
- if (isInit || !props.autosize)
152
- return;
153
- const isElHidden = ((_a = textarea.value) == null ? void 0 : _a.offsetParent) === null;
154
- if (!isElHidden) {
155
- resizeTextarea2();
156
- isInit = true;
157
- }
158
- };
159
- };
160
- const onceInitSizeTextarea = createOnceInitResize(resizeTextarea);
161
- const setNativeInputValue = () => {
162
- const input2 = _ref.value;
163
- if (!input2 || input2.value === nativeInputValue.value)
164
- return;
165
- input2.value = nativeInputValue.value;
166
- };
167
- const handleInput = async (event) => {
168
- recordCursor();
169
- let { value } = event.target;
170
- if (props.formatter) {
171
- value = props.parser ? props.parser(value) : value;
172
- value = props.formatter(value);
173
- }
174
- if (isComposing.value)
175
- return;
176
- if (value === nativeInputValue.value) {
177
- setNativeInputValue();
178
- return;
179
- }
180
- emit(UPDATE_MODEL_EVENT, value);
181
- emit("input", value);
182
- await nextTick();
183
- setNativeInputValue();
184
- setCursor();
185
- };
186
- const handleChange = (event) => {
187
- emit("change", event.target.value);
188
- };
189
- const handleCompositionStart = (event) => {
190
- emit("compositionstart", event);
191
- isComposing.value = true;
192
- };
193
- const handleCompositionUpdate = (event) => {
194
- var _a;
195
- emit("compositionupdate", event);
196
- const text = (_a = event.target) == null ? void 0 : _a.value;
197
- const lastCharacter = text[text.length - 1] || "";
198
- isComposing.value = !isKorean(lastCharacter);
199
- };
200
- const handleCompositionEnd = (event) => {
201
- emit("compositionend", event);
202
- if (isComposing.value) {
203
- isComposing.value = false;
204
- handleInput(event);
205
- }
206
- };
207
- const handlePasswordVisible = () => {
208
- passwordVisible.value = !passwordVisible.value;
209
- focus();
210
- };
211
- const focus = async () => {
212
- var _a;
213
- await nextTick();
214
- (_a = _ref.value) == null ? void 0 : _a.focus();
215
- };
216
- const blur = () => {
217
- var _a;
218
- return (_a = _ref.value) == null ? void 0 : _a.blur();
219
- };
220
- const handleFocus = (event) => {
221
- focused.value = true;
222
- emit("focus", event);
223
- };
224
- const handleBlur = (event) => {
225
- var _a;
226
- focused.value = false;
227
- emit("blur", event);
228
- if (props.validateEvent) {
229
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn(err));
230
- }
231
- };
232
- const handleMouseLeave = (evt) => {
233
- hovering.value = false;
234
- emit("mouseleave", evt);
235
- };
236
- const handleMouseEnter = (evt) => {
237
- hovering.value = true;
238
- emit("mouseenter", evt);
239
- };
240
- const handleKeydown = (evt) => {
241
- emit("keydown", evt);
242
- };
243
- const select = () => {
244
- var _a;
245
- (_a = _ref.value) == null ? void 0 : _a.select();
246
- };
247
- const clear = () => {
248
- emit(UPDATE_MODEL_EVENT, "");
249
- emit("change", "");
250
- emit("clear");
251
- emit("input", "");
252
- };
253
- watch(() => props.modelValue, () => {
254
- var _a;
255
- nextTick(() => resizeTextarea());
256
- if (props.validateEvent) {
257
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn(err));
258
- }
259
- });
260
- watch(nativeInputValue, () => setNativeInputValue());
261
- watch(() => props.type, async () => {
262
- await nextTick();
263
- setNativeInputValue();
264
- resizeTextarea();
265
- });
266
- onMounted(() => {
267
- if (!props.formatter && props.parser) {
268
- debugWarn("ElInput", "If you set the parser, you also need to set the formatter.");
269
- }
270
- setNativeInputValue();
271
- nextTick(resizeTextarea);
272
- });
273
- expose({
274
- input,
275
- textarea,
276
- ref: _ref,
277
- textareaStyle,
278
- autosize: toRef(props, "autosize"),
279
- focus,
280
- blur,
281
- select,
282
- clear,
283
- resizeTextarea
284
- });
285
- return (_ctx, _cache) => {
286
- return withDirectives((openBlock(), createElementBlock("div", mergeProps(unref(containerAttrs), {
287
- class: unref(containerKls),
288
- style: unref(containerStyle),
289
- role: _ctx.containerRole,
290
- onMouseenter: handleMouseEnter,
291
- onMouseleave: handleMouseLeave,
292
- widget: _ctx.widget
293
- }), [
294
- createCommentVNode(" input "),
295
- _ctx.type !== "textarea" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
296
- createCommentVNode(" prepend slot "),
297
- _ctx.$slots.prepend ? (openBlock(), createElementBlock("div", {
298
- key: 0,
299
- class: normalizeClass(unref(nsInput).be("group", "prepend"))
300
- }, [
301
- renderSlot(_ctx.$slots, "prepend")
302
- ], 2)) : createCommentVNode("v-if", true),
303
- createElementVNode("div", {
304
- class: normalizeClass(unref(wrapperKls))
305
- }, [
306
- createCommentVNode(" prefix slot "),
307
- _ctx.$slots.prefix || _ctx.prefixIcon ? (openBlock(), createElementBlock("span", {
308
- key: 0,
309
- class: normalizeClass(unref(nsInput).e("prefix"))
310
- }, [
311
- createElementVNode("span", {
312
- class: normalizeClass(unref(nsInput).e("prefix-inner")),
313
- onClick: focus
314
- }, [
315
- renderSlot(_ctx.$slots, "prefix"),
316
- _ctx.prefixIcon ? (openBlock(), createBlock(unref(ElIcon), {
317
- key: 0,
318
- class: normalizeClass(unref(nsInput).e("icon"))
319
- }, {
320
- default: withCtx(() => [
321
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.prefixIcon)))
322
- ]),
323
- _: 1
324
- }, 8, ["class"])) : createCommentVNode("v-if", true)
325
- ], 2)
326
- ], 2)) : createCommentVNode("v-if", true),
327
- createElementVNode("input", mergeProps({
328
- id: unref(inputId),
329
- ref_key: "input",
330
- ref: input,
331
- class: unref(nsInput).e("inner")
332
- }, unref(attrs), {
333
- type: _ctx.showPassword ? passwordVisible.value ? "text" : "password" : _ctx.type,
334
- disabled: unref(inputDisabled),
335
- formatter: _ctx.formatter,
336
- parser: _ctx.parser,
337
- readonly: _ctx.readonly,
338
- autocomplete: _ctx.autocomplete,
339
- tabindex: _ctx.tabindex,
340
- "aria-label": _ctx.label,
341
- placeholder: _ctx.placeholder,
342
- style: _ctx.inputStyle,
343
- form: props.form,
344
- onCompositionstart: handleCompositionStart,
345
- onCompositionupdate: handleCompositionUpdate,
346
- onCompositionend: handleCompositionEnd,
347
- onInput: handleInput,
348
- onFocus: handleFocus,
349
- onBlur: handleBlur,
350
- onChange: handleChange,
351
- onKeydown: handleKeydown
352
- }), null, 16, _hoisted_2),
353
- createCommentVNode(" suffix slot "),
354
- unref(suffixVisible) ? (openBlock(), createElementBlock("span", {
355
- key: 1,
356
- class: normalizeClass(unref(nsInput).e("suffix"))
357
- }, [
358
- createElementVNode("span", {
359
- class: normalizeClass(unref(nsInput).e("suffix-inner")),
360
- onClick: focus
361
- }, [
362
- !unref(showClear) || !unref(showPwdVisible) || !unref(isWordLimitVisible) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
363
- renderSlot(_ctx.$slots, "suffix"),
364
- _ctx.suffixIcon ? (openBlock(), createBlock(unref(ElIcon), {
365
- key: 0,
366
- class: normalizeClass(unref(nsInput).e("icon"))
367
- }, {
368
- default: withCtx(() => [
369
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.suffixIcon)))
370
- ]),
371
- _: 1
372
- }, 8, ["class"])) : createCommentVNode("v-if", true)
373
- ], 64)) : createCommentVNode("v-if", true),
374
- unref(showClear) ? (openBlock(), createBlock(unref(ElIcon), {
375
- key: 1,
376
- class: normalizeClass([unref(nsInput).e("icon"), unref(nsInput).e("clear")]),
377
- onMousedown: withModifiers(unref(NOOP), ["prevent"]),
378
- onClick: clear
379
- }, {
380
- default: withCtx(() => [
381
- createVNode(unref(CircleClose))
382
- ]),
383
- _: 1
384
- }, 8, ["class", "onMousedown"])) : createCommentVNode("v-if", true),
385
- unref(showPwdVisible) ? (openBlock(), createBlock(unref(ElIcon), {
386
- key: 2,
387
- class: normalizeClass([unref(nsInput).e("icon"), unref(nsInput).e("password")]),
388
- onClick: handlePasswordVisible
389
- }, {
390
- default: withCtx(() => [
391
- (openBlock(), createBlock(resolveDynamicComponent(unref(passwordIcon))))
392
- ]),
393
- _: 1
394
- }, 8, ["class"])) : createCommentVNode("v-if", true),
395
- unref(isWordLimitVisible) ? (openBlock(), createElementBlock("span", {
396
- key: 3,
397
- class: normalizeClass(unref(nsInput).e("count"))
398
- }, [
399
- createElementVNode("span", {
400
- class: normalizeClass(unref(nsInput).e("count-inner"))
401
- }, toDisplayString(unref(textLength)) + " / " + toDisplayString(unref(attrs).maxlength), 3)
402
- ], 2)) : createCommentVNode("v-if", true),
403
- unref(validateState) && unref(validateIcon) && unref(needStatusIcon) ? (openBlock(), createBlock(unref(ElIcon), {
404
- key: 4,
405
- class: normalizeClass([
406
- unref(nsInput).e("icon"),
407
- unref(nsInput).e("validateIcon"),
408
- unref(nsInput).is("loading", unref(validateState) === "validating")
409
- ])
410
- }, {
411
- default: withCtx(() => [
412
- (openBlock(), createBlock(resolveDynamicComponent(unref(validateIcon))))
413
- ]),
414
- _: 1
415
- }, 8, ["class"])) : createCommentVNode("v-if", true)
416
- ], 2)
417
- ], 2)) : createCommentVNode("v-if", true)
418
- ], 2),
419
- createCommentVNode(" append slot "),
420
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", {
421
- key: 1,
422
- class: normalizeClass(unref(nsInput).be("group", "append"))
423
- }, [
424
- renderSlot(_ctx.$slots, "append")
425
- ], 2)) : createCommentVNode("v-if", true)
426
- ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
427
- createCommentVNode(" textarea "),
428
- createElementVNode("textarea", mergeProps({
429
- id: unref(inputId),
430
- ref_key: "textarea",
431
- ref: textarea,
432
- class: unref(nsTextarea).e("inner")
433
- }, unref(attrs), {
434
- tabindex: _ctx.tabindex,
435
- disabled: unref(inputDisabled),
436
- readonly: _ctx.readonly,
437
- autocomplete: _ctx.autocomplete,
438
- style: unref(textareaStyle),
439
- "aria-label": _ctx.label,
440
- placeholder: _ctx.placeholder,
441
- form: props.form,
442
- onCompositionstart: handleCompositionStart,
443
- onCompositionupdate: handleCompositionUpdate,
444
- onCompositionend: handleCompositionEnd,
445
- onInput: handleInput,
446
- onFocus: handleFocus,
447
- onBlur: handleBlur,
448
- onChange: handleChange,
449
- onKeydown: handleKeydown
450
- }), null, 16, _hoisted_3),
451
- unref(isWordLimitVisible) ? (openBlock(), createElementBlock("span", {
452
- key: 0,
453
- style: normalizeStyle(countStyle.value),
454
- class: normalizeClass(unref(nsInput).e("count"))
455
- }, toDisplayString(unref(textLength)) + " / " + toDisplayString(unref(attrs).maxlength), 7)) : createCommentVNode("v-if", true)
456
- ], 64))
457
- ], 16, _hoisted_1)), [
458
- [vShow, _ctx.type !== "hidden"]
459
- ]);
460
- };
11
+ const inputProps = buildProps({
12
+ id: {
13
+ type: String,
14
+ default: void 0
15
+ },
16
+ size: useSizeProp,
17
+ disabled: Boolean,
18
+ modelValue: {
19
+ type: definePropType([
20
+ String,
21
+ Number,
22
+ Object
23
+ ]),
24
+ default: ""
25
+ },
26
+ type: {
27
+ type: String,
28
+ default: "text"
29
+ },
30
+ resize: {
31
+ type: String,
32
+ values: ["none", "both", "horizontal", "vertical"]
33
+ },
34
+ autosize: {
35
+ type: definePropType([Boolean, Object]),
36
+ default: false
37
+ },
38
+ autocomplete: {
39
+ type: String,
40
+ default: "off"
41
+ },
42
+ formatter: {
43
+ type: Function
44
+ },
45
+ parser: {
46
+ type: Function
47
+ },
48
+ placeholder: {
49
+ type: String
50
+ },
51
+ form: {
52
+ type: String
53
+ },
54
+ readonly: {
55
+ type: Boolean,
56
+ default: false
57
+ },
58
+ clearable: {
59
+ type: Boolean,
60
+ default: false
61
+ },
62
+ showPassword: {
63
+ type: Boolean,
64
+ default: false
65
+ },
66
+ showWordLimit: {
67
+ type: Boolean,
68
+ default: false
69
+ },
70
+ suffixIcon: {
71
+ type: iconPropType
72
+ },
73
+ prefixIcon: {
74
+ type: iconPropType
75
+ },
76
+ containerRole: {
77
+ type: String,
78
+ default: void 0
79
+ },
80
+ label: {
81
+ type: String,
82
+ default: void 0
83
+ },
84
+ tabindex: {
85
+ type: [String, Number],
86
+ default: 0
87
+ },
88
+ validateEvent: {
89
+ type: Boolean,
90
+ default: true
91
+ },
92
+ inputStyle: {
93
+ type: definePropType([Object, Array, String]),
94
+ default: () => mutable({})
95
+ },
96
+ widget: {
97
+ type: String
461
98
  }
462
99
  });
463
- var Input = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/Users/meng/workspace/element-pe/packages/components/input/src/input.vue"]]);
100
+ const inputEmits = {
101
+ [UPDATE_MODEL_EVENT]: (value) => isString(value),
102
+ input: (value) => isString(value),
103
+ change: (value) => isString(value),
104
+ focus: (evt) => evt instanceof FocusEvent,
105
+ blur: (evt) => evt instanceof FocusEvent,
106
+ clear: () => true,
107
+ mouseleave: (evt) => evt instanceof MouseEvent,
108
+ mouseenter: (evt) => evt instanceof MouseEvent,
109
+ keydown: (evt) => evt instanceof Event,
110
+ compositionstart: (evt) => evt instanceof CompositionEvent,
111
+ compositionupdate: (evt) => evt instanceof CompositionEvent,
112
+ compositionend: (evt) => evt instanceof CompositionEvent
113
+ };
464
114
 
465
- export { Input as default };
115
+ export { inputEmits, inputProps };
466
116
  //# sourceMappingURL=input2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"input2.mjs","sources":["../../../../../../packages/components/input/src/input.vue"],"sourcesContent":["<template>\n <div\n v-show=\"type !== 'hidden'\"\n v-bind=\"containerAttrs\"\n :class=\"containerKls\"\n :style=\"containerStyle\"\n :role=\"containerRole\"\n @mouseenter=\"handleMouseEnter\"\n @mouseleave=\"handleMouseLeave\"\n :widget=\"widget\"\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 :class=\"wrapperKls\">\n <!-- prefix slot -->\n <span v-if=\"$slots.prefix || prefixIcon\" :class=\"nsInput.e('prefix')\">\n <span :class=\"nsInput.e('prefix-inner')\" @click=\"focus\">\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 :type=\"showPassword ? (passwordVisible ? 'text' : 'password') : type\"\n :disabled=\"inputDisabled\"\n :formatter=\"formatter\"\n :parser=\"parser\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :tabindex=\"tabindex\"\n :aria-label=\"label\"\n :placeholder=\"placeholder\"\n :style=\"inputStyle\"\n :form=\"props.form\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n\n <!-- suffix slot -->\n <span v-if=\"suffixVisible\" :class=\"nsInput.e('suffix')\">\n <span :class=\"nsInput.e('suffix-inner')\" @click=\"focus\">\n <template\n v-if=\"!showClear || !showPwdVisible || !isWordLimitVisible\"\n >\n <slot name=\"suffix\" />\n <el-icon v-if=\"suffixIcon\" :class=\"nsInput.e('icon')\">\n <component :is=\"suffixIcon\" />\n </el-icon>\n </template>\n <el-icon\n v-if=\"showClear\"\n :class=\"[nsInput.e('icon'), nsInput.e('clear')]\"\n @mousedown.prevent=\"NOOP\"\n @click=\"clear\"\n >\n <circle-close />\n </el-icon>\n <el-icon\n v-if=\"showPwdVisible\"\n :class=\"[nsInput.e('icon'), nsInput.e('password')]\"\n @click=\"handlePasswordVisible\"\n >\n <component :is=\"passwordIcon\" />\n </el-icon>\n <span v-if=\"isWordLimitVisible\" :class=\"nsInput.e('count')\">\n <span :class=\"nsInput.e('count-inner')\">\n {{ textLength }} / {{ attrs.maxlength }}\n </span>\n </span>\n <el-icon\n v-if=\"validateState && validateIcon && needStatusIcon\"\n :class=\"[\n nsInput.e('icon'),\n nsInput.e('validateIcon'),\n nsInput.is('loading', validateState === 'validating'),\n ]\"\n >\n <component :is=\"validateIcon\" />\n </el-icon>\n </span>\n </span>\n </div>\n\n <!-- append slot -->\n <div v-if=\"$slots.append\" :class=\"nsInput.be('group', 'append')\">\n <slot name=\"append\" />\n </div>\n </template>\n\n <!-- textarea -->\n <template v-else>\n <textarea\n :id=\"inputId\"\n ref=\"textarea\"\n :class=\"nsTextarea.e('inner')\"\n v-bind=\"attrs\"\n :tabindex=\"tabindex\"\n :disabled=\"inputDisabled\"\n :readonly=\"readonly\"\n :autocomplete=\"autocomplete\"\n :style=\"textareaStyle\"\n :aria-label=\"label\"\n :placeholder=\"placeholder\"\n :form=\"props.form\"\n @compositionstart=\"handleCompositionStart\"\n @compositionupdate=\"handleCompositionUpdate\"\n @compositionend=\"handleCompositionEnd\"\n @input=\"handleInput\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n @change=\"handleChange\"\n @keydown=\"handleKeydown\"\n />\n <span\n v-if=\"isWordLimitVisible\"\n :style=\"countStyle\"\n :class=\"nsInput.e('count')\"\n >\n {{ textLength }} / {{ attrs.maxlength }}\n </span>\n </template>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onMounted,\n ref,\n shallowRef,\n toRef,\n useAttrs as useRawAttrs,\n useSlots,\n} from 'vue'\nimport { watch } from '../../config-provider'\nimport { useResizeObserver } from '@vueuse/core'\nimport { isNil } from 'lodash-unified'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n CircleClose,\n Hide as IconHide,\n View as IconView,\n} from '@element-plus/icons-vue'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport {\n NOOP,\n ValidateComponentsMap,\n debugWarn,\n isClient,\n isKorean,\n isObject,\n} from '@element-plus/utils'\nimport { useAttrs, useCursor, useNamespace } from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { calcTextareaHeight } from './utils'\nimport { inputEmits, inputProps } from './input'\nimport type { StyleValue } from 'vue'\n\ntype TargetElement = HTMLInputElement | HTMLTextAreaElement\n\ndefineOptions({\n name: 'ElInput',\n inheritAttrs: false,\n})\nconst props = defineProps(inputProps)\nconst emit = defineEmits(inputEmits)\n\nconst rawAttrs = useRawAttrs()\nconst slots = useSlots()\n\nconst containerAttrs = computed(() => {\n const comboBoxAttrs: Record<string, unknown> = {}\n if (props.containerRole === 'combobox') {\n comboBoxAttrs['aria-haspopup'] = rawAttrs['aria-haspopup']\n comboBoxAttrs['aria-owns'] = rawAttrs['aria-owns']\n comboBoxAttrs['aria-expanded'] = rawAttrs['aria-expanded']\n }\n return comboBoxAttrs\n})\n\nconst containerKls = computed(() => [\n props.type === 'textarea' ? nsTextarea.b() : nsInput.b(),\n nsInput.m(inputSize.value),\n nsInput.is('disabled', inputDisabled.value),\n nsInput.is('exceed', inputExceed.value),\n {\n [nsInput.b('group')]: slots.prepend || slots.append,\n [nsInput.bm('group', 'append')]: slots.append,\n [nsInput.bm('group', 'prepend')]: slots.prepend,\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 },\n rawAttrs.class,\n])\n\nconst wrapperKls = computed(() => [\n nsInput.e('wrapper'),\n nsInput.is('focus', focused.value),\n])\n\nconst attrs = useAttrs({\n excludeKeys: computed<string[]>(() => {\n return Object.keys(containerAttrs.value)\n }),\n})\nconst { form, formItem } = useFormItem()\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: formItem,\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 focused = ref(false)\nconst hovering = ref(false)\nconst isComposing = ref(false)\nconst passwordVisible = ref(false)\nconst countStyle = ref<StyleValue>()\nconst textareaCalcStyle = shallowRef(props.inputStyle)\n\nconst _ref = computed(() => input.value || textarea.value)\n\nconst needStatusIcon = computed(() => form?.statusIcon ?? false)\nconst validateState = computed(() => formItem?.validateState || '')\nconst validateIcon = computed(\n () => validateState.value && ValidateComponentsMap[validateState.value]\n)\nconst passwordIcon = computed(() =>\n passwordVisible.value ? IconView : IconHide\n)\nconst containerStyle = computed<StyleValue>(() => [\n rawAttrs.style as StyleValue,\n props.inputStyle,\n])\nconst textareaStyle = computed<StyleValue>(() => [\n props.inputStyle,\n textareaCalcStyle.value,\n { resize: props.resize },\n])\nconst nativeInputValue = computed(() =>\n isNil(props.modelValue) ? '' : String(props.modelValue)\n)\nconst showClear = computed(\n () =>\n props.clearable &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (focused.value || hovering.value)\n)\nconst showPwdVisible = computed(\n () =>\n props.showPassword &&\n !inputDisabled.value &&\n !props.readonly &&\n !!nativeInputValue.value &&\n (!!nativeInputValue.value || focused.value)\n)\nconst isWordLimitVisible = computed(\n () =>\n props.showWordLimit &&\n !!attrs.value.maxlength &&\n (props.type === 'text' || props.type === 'textarea') &&\n !inputDisabled.value &&\n !props.readonly &&\n !props.showPassword\n)\nconst textLength = computed(() => nativeInputValue.value.length)\nconst inputExceed = computed(\n () =>\n // show exceed style if length of initial value greater then maxlength\n !!isWordLimitVisible.value &&\n textLength.value > Number(attrs.value.maxlength)\n)\nconst suffixVisible = computed(\n () =>\n !!slots.suffix ||\n !!props.suffixIcon ||\n showClear.value ||\n props.showPassword ||\n isWordLimitVisible.value ||\n (!!validateState.value && needStatusIcon.value)\n)\n\nconst [recordCursor, setCursor] = useCursor(input)\n\nuseResizeObserver(textarea, (entries) => {\n onceInitSizeTextarea()\n if (!isWordLimitVisible.value || props.resize !== 'both') return\n const entry = entries[0]\n const { width } = entry.contentRect\n countStyle.value = {\n /** right: 100% - width + padding(15) + right(6) */\n right: `calc(100% - ${width + 15 + 6}px)`,\n }\n})\n\nconst resizeTextarea = () => {\n const { type, autosize } = props\n\n if (!isClient || type !== 'textarea' || !textarea.value) return\n\n if (autosize) {\n const minRows = isObject(autosize) ? autosize.minRows : undefined\n const maxRows = isObject(autosize) ? autosize.maxRows : undefined\n const textareaStyle = calcTextareaHeight(textarea.value, minRows, maxRows)\n\n // If the scrollbar is displayed, the height of the textarea needs more space than the calculated height.\n // If set textarea height in this case, the scrollbar will not hide.\n // So we need to hide scrollbar first, and reset it in next tick.\n // see https://github.com/element-plus/element-plus/issues/8825\n textareaCalcStyle.value = {\n overflowY: 'hidden',\n ...textareaStyle,\n }\n\n nextTick(() => {\n // NOTE: Force repaint to make sure the style set above is applied.\n textarea.value!.offsetHeight\n textareaCalcStyle.value = textareaStyle\n })\n } else {\n textareaCalcStyle.value = {\n minHeight: calcTextareaHeight(textarea.value).minHeight,\n }\n }\n}\n\nconst createOnceInitResize = (resizeTextarea: () => void) => {\n let isInit = false\n return () => {\n if (isInit || !props.autosize) return\n const isElHidden = textarea.value?.offsetParent === null\n if (!isElHidden) {\n resizeTextarea()\n isInit = true\n }\n }\n}\n// fix: https://github.com/element-plus/element-plus/issues/12074\nconst onceInitSizeTextarea = createOnceInitResize(resizeTextarea)\n\nconst setNativeInputValue = () => {\n const input = _ref.value\n if (!input || input.value === nativeInputValue.value) return\n input.value = nativeInputValue.value\n}\n\nconst handleInput = async (event: Event) => {\n recordCursor()\n\n let { value } = event.target as TargetElement\n\n if (props.formatter) {\n value = props.parser ? props.parser(value) : value\n value = props.formatter(value)\n }\n\n // should not emit input during composition\n // see: https://github.com/ElemeFE/element/issues/10516\n if (isComposing.value) return\n\n // hack for https://github.com/ElemeFE/element/issues/8548\n // should remove the following line when we don't support IE\n if (value === nativeInputValue.value) {\n setNativeInputValue()\n return\n }\n\n emit(UPDATE_MODEL_EVENT, value)\n emit('input', value)\n\n // ensure native input value is controlled\n // see: https://github.com/ElemeFE/element/issues/12850\n await nextTick()\n setNativeInputValue()\n setCursor()\n}\n\nconst handleChange = (event: Event) => {\n emit('change', (event.target as TargetElement).value)\n}\n\nconst handleCompositionStart = (event: CompositionEvent) => {\n emit('compositionstart', event)\n isComposing.value = true\n}\n\nconst handleCompositionUpdate = (event: CompositionEvent) => {\n emit('compositionupdate', event)\n const text = (event.target as HTMLInputElement)?.value\n const lastCharacter = text[text.length - 1] || ''\n isComposing.value = !isKorean(lastCharacter)\n}\n\nconst handleCompositionEnd = (event: CompositionEvent) => {\n emit('compositionend', event)\n if (isComposing.value) {\n isComposing.value = false\n handleInput(event)\n }\n}\n\nconst handlePasswordVisible = () => {\n passwordVisible.value = !passwordVisible.value\n focus()\n}\n\nconst focus = async () => {\n // see: https://github.com/ElemeFE/element/issues/18573\n await nextTick()\n _ref.value?.focus()\n}\n\nconst blur = () => _ref.value?.blur()\n\nconst handleFocus = (event: FocusEvent) => {\n focused.value = true\n emit('focus', event)\n}\n\nconst handleBlur = (event: FocusEvent) => {\n focused.value = false\n emit('blur', event)\n if (props.validateEvent) {\n formItem?.validate?.('blur').catch((err) => debugWarn(err))\n }\n}\n\nconst handleMouseLeave = (evt: MouseEvent) => {\n hovering.value = false\n emit('mouseleave', evt)\n}\n\nconst handleMouseEnter = (evt: MouseEvent) => {\n hovering.value = true\n emit('mouseenter', evt)\n}\n\nconst handleKeydown = (evt: KeyboardEvent) => {\n emit('keydown', evt)\n}\n\nconst select = () => {\n _ref.value?.select()\n}\n\nconst clear = () => {\n emit(UPDATE_MODEL_EVENT, '')\n emit('change', '')\n emit('clear')\n emit('input', '')\n}\n\nwatch(\n () => props.modelValue,\n () => {\n nextTick(() => resizeTextarea())\n if (props.validateEvent) {\n formItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n }\n)\n\n// native input value is set explicitly\n// do not use v-model / :value in template\n// see: https://github.com/ElemeFE/element/issues/14521\nwatch(nativeInputValue, () => setNativeInputValue())\n\n// when change between <input> and <textarea>,\n// update DOM dependent value and styles\n// https://github.com/ElemeFE/element/issues/14857\nwatch(\n () => props.type,\n async () => {\n await nextTick()\n setNativeInputValue()\n resizeTextarea()\n }\n)\n\nonMounted(() => {\n if (!props.formatter && props.parser) {\n debugWarn(\n 'ElInput',\n 'If you set the parser, you also need to set the formatter.'\n )\n }\n setNativeInputValue()\n nextTick(resizeTextarea)\n})\n\ndefineExpose({\n /** @description HTML input element */\n input,\n /** @description HTML textarea element */\n textarea,\n /** @description HTML element, input or textarea */\n ref: _ref,\n /** @description style of textarea. */\n textareaStyle,\n\n /** @description from props (used on unit test) */\n autosize: toRef(props, 'autosize'),\n\n /** @description HTML input element native method */\n focus,\n /** @description HTML input element native method */\n blur,\n /** @description HTML input element native method */\n select,\n /** @description clear input value */\n clear,\n /** @description resize textarea. */\n resizeTextarea,\n})\n</script>\n"],"names":["useRawAttrs","useAttrs","IconView","IconHide"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;mCAuLc,CAAA;AAAA,EACZ,IAAM,EAAA,SAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;;AAIA,IAAA,MAAM,WAAWA,QAAY,EAAA,CAAA;AAC7B,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,cAAA,GAAiB,SAAS,MAAM;AACpC,MAAA,MAAM,gBAAyC,EAAC,CAAA;AAChD,MAAI,IAAA,KAAA,CAAM,kBAAkB,UAAY,EAAA;AACtC,QAAA,aAAA,CAAc,mBAAmB,QAAS,CAAA,eAAA,CAAA,CAAA;AAC1C,QAAA,aAAA,CAAc,e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AA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,QAAA,EAAA,QAAA,CAAA,CAAA,KAAA,CAAA,CAAA,GAAA,KAAA,SAAA,CAAA,GAAA,CAAA,CAAA,CAAA;AACA,OAAoB;AACpB,KAAA,CAAA,CAAA;AAAuB,IACzB,KAAC,CAAA,gBAAA,EAAA,MAAA,mBAAA,EAAA,CAAA,CAAA;AAED,IAAa,KAAA,CAAA,MAAA,KAAA,CAAA,IAAA,EAAA,YAAA;AAAA,MAEX,MAAA,QAAA,EAAA,CAAA;AAAA,MAEA,mBAAA,EAAA,CAAA;AAAA,MAEA,cAAK,EAAA,CAAA;AAAA,KAEL,CAAA,CAAA;AAAA,IAGA,SAAA,CAAA,MAAgB;AAAiB,MAGjC,IAAA,CAAA,KAAA,CAAA,SAAA,IAAA,KAAA,CAAA,MAAA,EAAA;AAAA,QAEA,SAAA,CAAA,SAAA,EAAA,4DAAA,CAAA,CAAA;AAAA,OAEA;AAAA,MAEA,mBAAA,EAAA,CAAA;AAAA,MAEA,QAAA,CAAA,cAAA,CAAA,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"input2.mjs","sources":["../../../../../../packages/components/input/src/input.ts"],"sourcesContent":["import { isString } from '@vue/shared'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n mutable,\n} from '@element-plus/utils'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { useSizeProp } from '@element-plus/hooks'\nimport type Input from './input.vue'\nimport type { ExtractPropTypes, StyleValue } from 'vue'\n\nexport type InputAutoSize = { minRows?: number; maxRows?: number } | boolean\n\nexport const inputProps = buildProps({\n /**\n * @description native input id\n */\n id: {\n type: String,\n default: undefined,\n },\n /**\n * @description input box size\n */\n size: useSizeProp,\n /**\n * @description whether to disable\n */\n disabled: Boolean,\n /**\n * @description binding value\n */\n modelValue: {\n type: definePropType<string | number | null | undefined>([\n String,\n Number,\n Object,\n ]),\n default: '',\n },\n /**\n * @description type of input\n */\n type: {\n type: String,\n default: 'text',\n },\n /**\n * @description control the resizability\n */\n resize: {\n type: String,\n values: ['none', 'both', 'horizontal', 'vertical'],\n },\n /**\n * @description whether textarea has an adaptive height\n */\n autosize: {\n type: definePropType<InputAutoSize>([Boolean, Object]),\n default: false,\n },\n /**\n * @description native input autocomplete\n */\n autocomplete: {\n type: String,\n default: 'off',\n },\n /**\n * @description format content\n */\n formatter: {\n type: Function,\n },\n /**\n * @description parse content\n */\n parser: {\n type: Function,\n },\n /**\n * @description placeholder\n */\n placeholder: {\n type: String,\n },\n /**\n * @description native input form\n */\n form: {\n type: String,\n },\n /**\n * @description native input readonly\n */\n readonly: {\n type: Boolean,\n default: false,\n },\n /**\n * @description native input readonly\n */\n clearable: {\n type: Boolean,\n default: false,\n },\n /**\n * @description toggleable password input\n */\n showPassword: {\n type: Boolean,\n default: false,\n },\n /**\n * @description word count\n */\n showWordLimit: {\n type: Boolean,\n default: false,\n },\n /**\n * @description suffix icon\n */\n suffixIcon: {\n type: iconPropType,\n },\n /**\n * @description prefix icon\n */\n prefixIcon: {\n type: iconPropType,\n },\n /**\n * @description container role, internal properties provided for use by the picker component\n */\n containerRole: {\n type: String,\n default: undefined,\n },\n /**\n * @description native input aria-label\n */\n label: {\n type: String,\n default: undefined,\n },\n /**\n * @description input tabindex\n */\n tabindex: {\n type: [String, Number],\n default: 0,\n },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description input or texearea element style\n */\n inputStyle: {\n type: definePropType<StyleValue>([Object, Array, String]),\n default: () => mutable({} as const),\n },\n widget: {\n type: String,\n },\n} as const)\nexport type InputProps = ExtractPropTypes<typeof inputProps>\n\nexport const inputEmits = {\n [UPDATE_MODEL_EVENT]: (value: string) => isString(value),\n input: (value: string) => isString(value),\n change: (value: string) => isString(value),\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n mouseleave: (evt: MouseEvent) => evt instanceof MouseEvent,\n mouseenter: (evt: MouseEvent) => evt instanceof MouseEvent,\n // NOTE: when autofill by browser, the keydown event is instanceof Event, not KeyboardEvent\n // relative bug report https://github.com/element-plus/element-plus/issues/6665\n keydown: (evt: KeyboardEvent | Event) => evt instanceof Event,\n compositionstart: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionupdate: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n compositionend: (evt: CompositionEvent) => evt instanceof CompositionEvent,\n}\nexport type InputEmits = typeof inputEmits\n\nexport type InputInstance = InstanceType<typeof Input>\n"],"names":[],"mappings":";;;;;;;;;;AASY,MAAC,UAAU,GAAG,UAAU,CAAC;AACrC,EAAE,EAAE,EAAE;AACN,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,cAAc,CAAC;AACzB,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,MAAM,MAAM;AACZ,KAAK,CAAC;AACN,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,MAAM;AACnB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,UAAU,CAAC;AACtD,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