@element-plus/nightly 0.0.20250815 → 0.0.20250816

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 (610) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +105 -36
  4. package/dist/index.full.min.js +19 -19
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +19 -19
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +105 -36
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hi.js +1 -1
  94. package/dist/locale/hi.min.js +1 -1
  95. package/dist/locale/hi.min.mjs +1 -1
  96. package/dist/locale/hi.mjs +1 -1
  97. package/dist/locale/hr.js +1 -1
  98. package/dist/locale/hr.min.js +1 -1
  99. package/dist/locale/hr.min.mjs +1 -1
  100. package/dist/locale/hr.mjs +1 -1
  101. package/dist/locale/hu.js +1 -1
  102. package/dist/locale/hu.min.js +1 -1
  103. package/dist/locale/hu.min.mjs +1 -1
  104. package/dist/locale/hu.mjs +1 -1
  105. package/dist/locale/hy-am.js +1 -1
  106. package/dist/locale/hy-am.min.js +1 -1
  107. package/dist/locale/hy-am.min.mjs +1 -1
  108. package/dist/locale/hy-am.mjs +1 -1
  109. package/dist/locale/id.js +1 -1
  110. package/dist/locale/id.min.js +1 -1
  111. package/dist/locale/id.min.mjs +1 -1
  112. package/dist/locale/id.mjs +1 -1
  113. package/dist/locale/it.js +1 -1
  114. package/dist/locale/it.min.js +1 -1
  115. package/dist/locale/it.min.mjs +1 -1
  116. package/dist/locale/it.mjs +1 -1
  117. package/dist/locale/ja.js +1 -1
  118. package/dist/locale/ja.min.js +1 -1
  119. package/dist/locale/ja.min.mjs +1 -1
  120. package/dist/locale/ja.mjs +1 -1
  121. package/dist/locale/kk.js +1 -1
  122. package/dist/locale/kk.min.js +1 -1
  123. package/dist/locale/kk.min.mjs +1 -1
  124. package/dist/locale/kk.mjs +1 -1
  125. package/dist/locale/km.js +1 -1
  126. package/dist/locale/km.min.js +1 -1
  127. package/dist/locale/km.min.mjs +1 -1
  128. package/dist/locale/km.mjs +1 -1
  129. package/dist/locale/ko.js +1 -1
  130. package/dist/locale/ko.min.js +1 -1
  131. package/dist/locale/ko.min.mjs +1 -1
  132. package/dist/locale/ko.mjs +1 -1
  133. package/dist/locale/ku.js +1 -1
  134. package/dist/locale/ku.min.js +1 -1
  135. package/dist/locale/ku.min.mjs +1 -1
  136. package/dist/locale/ku.mjs +1 -1
  137. package/dist/locale/ky.js +1 -1
  138. package/dist/locale/ky.min.js +1 -1
  139. package/dist/locale/ky.min.mjs +1 -1
  140. package/dist/locale/ky.mjs +1 -1
  141. package/dist/locale/lo.js +1 -1
  142. package/dist/locale/lo.min.js +1 -1
  143. package/dist/locale/lo.min.mjs +1 -1
  144. package/dist/locale/lo.mjs +1 -1
  145. package/dist/locale/lt.js +1 -1
  146. package/dist/locale/lt.min.js +1 -1
  147. package/dist/locale/lt.min.mjs +1 -1
  148. package/dist/locale/lt.mjs +1 -1
  149. package/dist/locale/lv.js +1 -1
  150. package/dist/locale/lv.min.js +1 -1
  151. package/dist/locale/lv.min.mjs +1 -1
  152. package/dist/locale/lv.mjs +1 -1
  153. package/dist/locale/mg.js +1 -1
  154. package/dist/locale/mg.min.js +1 -1
  155. package/dist/locale/mg.min.mjs +1 -1
  156. package/dist/locale/mg.mjs +1 -1
  157. package/dist/locale/mn.js +1 -1
  158. package/dist/locale/mn.min.js +1 -1
  159. package/dist/locale/mn.min.mjs +1 -1
  160. package/dist/locale/mn.mjs +1 -1
  161. package/dist/locale/ms.js +1 -1
  162. package/dist/locale/ms.min.js +1 -1
  163. package/dist/locale/ms.min.mjs +1 -1
  164. package/dist/locale/ms.mjs +1 -1
  165. package/dist/locale/my.js +1 -1
  166. package/dist/locale/my.min.js +1 -1
  167. package/dist/locale/my.min.mjs +1 -1
  168. package/dist/locale/my.mjs +1 -1
  169. package/dist/locale/nb-no.js +1 -1
  170. package/dist/locale/nb-no.min.js +1 -1
  171. package/dist/locale/nb-no.min.mjs +1 -1
  172. package/dist/locale/nb-no.mjs +1 -1
  173. package/dist/locale/nl.js +1 -1
  174. package/dist/locale/nl.min.js +1 -1
  175. package/dist/locale/nl.min.mjs +1 -1
  176. package/dist/locale/nl.mjs +1 -1
  177. package/dist/locale/no.js +1 -1
  178. package/dist/locale/no.min.js +1 -1
  179. package/dist/locale/no.min.mjs +1 -1
  180. package/dist/locale/no.mjs +1 -1
  181. package/dist/locale/pa.js +1 -1
  182. package/dist/locale/pa.min.js +1 -1
  183. package/dist/locale/pa.min.mjs +1 -1
  184. package/dist/locale/pa.mjs +1 -1
  185. package/dist/locale/pl.js +1 -1
  186. package/dist/locale/pl.min.js +1 -1
  187. package/dist/locale/pl.min.mjs +1 -1
  188. package/dist/locale/pl.mjs +1 -1
  189. package/dist/locale/pt-br.js +1 -1
  190. package/dist/locale/pt-br.min.js +1 -1
  191. package/dist/locale/pt-br.min.mjs +1 -1
  192. package/dist/locale/pt-br.mjs +1 -1
  193. package/dist/locale/pt.js +1 -1
  194. package/dist/locale/pt.min.js +1 -1
  195. package/dist/locale/pt.min.mjs +1 -1
  196. package/dist/locale/pt.mjs +1 -1
  197. package/dist/locale/ro.js +1 -1
  198. package/dist/locale/ro.min.js +1 -1
  199. package/dist/locale/ro.min.mjs +1 -1
  200. package/dist/locale/ro.mjs +1 -1
  201. package/dist/locale/ru.js +1 -1
  202. package/dist/locale/ru.min.js +1 -1
  203. package/dist/locale/ru.min.mjs +1 -1
  204. package/dist/locale/ru.mjs +1 -1
  205. package/dist/locale/sk.js +1 -1
  206. package/dist/locale/sk.min.js +1 -1
  207. package/dist/locale/sk.min.mjs +1 -1
  208. package/dist/locale/sk.mjs +1 -1
  209. package/dist/locale/sl.js +1 -1
  210. package/dist/locale/sl.min.js +1 -1
  211. package/dist/locale/sl.min.mjs +1 -1
  212. package/dist/locale/sl.mjs +1 -1
  213. package/dist/locale/sr.js +1 -1
  214. package/dist/locale/sr.min.js +1 -1
  215. package/dist/locale/sr.min.mjs +1 -1
  216. package/dist/locale/sr.mjs +1 -1
  217. package/dist/locale/sv.js +1 -1
  218. package/dist/locale/sv.min.js +1 -1
  219. package/dist/locale/sv.min.mjs +1 -1
  220. package/dist/locale/sv.mjs +1 -1
  221. package/dist/locale/sw.js +1 -1
  222. package/dist/locale/sw.min.js +1 -1
  223. package/dist/locale/sw.min.mjs +1 -1
  224. package/dist/locale/sw.mjs +1 -1
  225. package/dist/locale/ta.js +1 -1
  226. package/dist/locale/ta.min.js +1 -1
  227. package/dist/locale/ta.min.mjs +1 -1
  228. package/dist/locale/ta.mjs +1 -1
  229. package/dist/locale/te.js +1 -1
  230. package/dist/locale/te.min.js +1 -1
  231. package/dist/locale/te.min.mjs +1 -1
  232. package/dist/locale/te.mjs +1 -1
  233. package/dist/locale/th.js +1 -1
  234. package/dist/locale/th.min.js +1 -1
  235. package/dist/locale/th.min.mjs +1 -1
  236. package/dist/locale/th.mjs +1 -1
  237. package/dist/locale/tk.js +1 -1
  238. package/dist/locale/tk.min.js +1 -1
  239. package/dist/locale/tk.min.mjs +1 -1
  240. package/dist/locale/tk.mjs +1 -1
  241. package/dist/locale/tr.js +1 -1
  242. package/dist/locale/tr.min.js +1 -1
  243. package/dist/locale/tr.min.mjs +1 -1
  244. package/dist/locale/tr.mjs +1 -1
  245. package/dist/locale/ug-cn.js +1 -1
  246. package/dist/locale/ug-cn.min.js +1 -1
  247. package/dist/locale/ug-cn.min.mjs +1 -1
  248. package/dist/locale/ug-cn.mjs +1 -1
  249. package/dist/locale/uk.js +1 -1
  250. package/dist/locale/uk.min.js +1 -1
  251. package/dist/locale/uk.min.mjs +1 -1
  252. package/dist/locale/uk.mjs +1 -1
  253. package/dist/locale/uz-uz.js +1 -1
  254. package/dist/locale/uz-uz.min.js +1 -1
  255. package/dist/locale/uz-uz.min.mjs +1 -1
  256. package/dist/locale/uz-uz.mjs +1 -1
  257. package/dist/locale/vi.js +1 -1
  258. package/dist/locale/vi.min.js +1 -1
  259. package/dist/locale/vi.min.mjs +1 -1
  260. package/dist/locale/vi.mjs +1 -1
  261. package/dist/locale/zh-cn.js +1 -1
  262. package/dist/locale/zh-cn.min.js +1 -1
  263. package/dist/locale/zh-cn.min.mjs +1 -1
  264. package/dist/locale/zh-cn.mjs +1 -1
  265. package/dist/locale/zh-hk.js +1 -1
  266. package/dist/locale/zh-hk.min.js +1 -1
  267. package/dist/locale/zh-hk.min.mjs +1 -1
  268. package/dist/locale/zh-hk.mjs +1 -1
  269. package/dist/locale/zh-mo.js +1 -1
  270. package/dist/locale/zh-mo.min.js +1 -1
  271. package/dist/locale/zh-mo.min.mjs +1 -1
  272. package/dist/locale/zh-mo.mjs +1 -1
  273. package/dist/locale/zh-tw.js +1 -1
  274. package/dist/locale/zh-tw.min.js +1 -1
  275. package/dist/locale/zh-tw.min.mjs +1 -1
  276. package/dist/locale/zh-tw.mjs +1 -1
  277. package/es/components/anchor/index.mjs +1 -1
  278. package/es/components/anchor/src/anchor-link.mjs +5 -81
  279. package/es/components/anchor/src/anchor-link.mjs.map +1 -1
  280. package/es/components/anchor/src/anchor-link2.mjs +81 -5
  281. package/es/components/anchor/src/anchor-link2.mjs.map +1 -1
  282. package/es/components/autocomplete/src/autocomplete.d.ts +6 -0
  283. package/es/components/autocomplete/src/autocomplete.vue.d.ts +12 -0
  284. package/es/components/cascader/src/cascader.d.ts +6 -0
  285. package/es/components/cascader/src/cascader.mjs +6 -0
  286. package/es/components/cascader/src/cascader.mjs.map +1 -1
  287. package/es/components/cascader/src/cascader.vue.d.ts +12 -0
  288. package/es/components/cascader/src/cascader2.mjs +3 -3
  289. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  290. package/es/components/cascader-panel/src/index.mjs +1 -1
  291. package/es/components/cascader-panel/src/index.mjs.map +1 -1
  292. package/es/components/cascader-panel/src/store.mjs +5 -1
  293. package/es/components/cascader-panel/src/store.mjs.map +1 -1
  294. package/es/components/descriptions/src/description2.mjs +1 -1
  295. package/es/components/descriptions/src/descriptions-row.mjs +6 -63
  296. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  297. package/es/components/descriptions/src/descriptions-row2.mjs +63 -6
  298. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  299. package/es/components/dialog/src/dialog-content2.mjs +6 -5
  300. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  301. package/es/components/dialog/src/dialog.mjs +1 -1
  302. package/es/components/drawer/index.mjs +2 -2
  303. package/es/components/drawer/src/drawer.mjs +178 -26
  304. package/es/components/drawer/src/drawer.mjs.map +1 -1
  305. package/es/components/drawer/src/drawer2.mjs +26 -178
  306. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  307. package/es/components/dropdown/src/dropdown.mjs +1 -1
  308. package/es/components/icon/index.mjs +2 -2
  309. package/es/components/icon/src/icon.mjs +35 -8
  310. package/es/components/icon/src/icon.mjs.map +1 -1
  311. package/es/components/icon/src/icon2.mjs +8 -35
  312. package/es/components/icon/src/icon2.mjs.map +1 -1
  313. package/es/components/index.mjs +13 -13
  314. package/es/components/input/src/input.d.ts +6 -0
  315. package/es/components/input/src/input.mjs +5 -0
  316. package/es/components/input/src/input.mjs.map +1 -1
  317. package/es/components/input/src/input.vue.d.ts +12 -0
  318. package/es/components/input/src/input2.mjs +3 -3
  319. package/es/components/input/src/input2.mjs.map +1 -1
  320. package/es/components/input-tag/src/input-tag.d.ts +6 -0
  321. package/es/components/input-tag/src/input-tag.mjs +6 -0
  322. package/es/components/input-tag/src/input-tag.mjs.map +1 -1
  323. package/es/components/input-tag/src/input-tag.vue.d.ts +12 -0
  324. package/es/components/input-tag/src/input-tag2.mjs +2 -3
  325. package/es/components/input-tag/src/input-tag2.mjs.map +1 -1
  326. package/es/components/mention/src/mention.d.ts +6 -0
  327. package/es/components/mention/src/mention.vue.d.ts +12 -0
  328. package/es/components/menu/index.mjs +2 -2
  329. package/es/components/menu/src/menu-item.mjs +100 -15
  330. package/es/components/menu/src/menu-item.mjs.map +1 -1
  331. package/es/components/menu/src/menu-item2.mjs +15 -100
  332. package/es/components/menu/src/menu-item2.mjs.map +1 -1
  333. package/es/components/message-box/src/index.mjs +3 -1
  334. package/es/components/message-box/src/index.mjs.map +1 -1
  335. package/es/components/message-box/src/index.vue.d.ts +1 -0
  336. package/es/components/pagination/src/components/jumper.mjs +58 -7
  337. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  338. package/es/components/pagination/src/components/jumper2.mjs +7 -58
  339. package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
  340. package/es/components/pagination/src/components/next.mjs +18 -35
  341. package/es/components/pagination/src/components/next.mjs.map +1 -1
  342. package/es/components/pagination/src/components/next2.mjs +35 -18
  343. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  344. package/es/components/pagination/src/components/prev.mjs +17 -35
  345. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  346. package/es/components/pagination/src/components/prev2.mjs +35 -17
  347. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  348. package/es/components/pagination/src/pagination.mjs +3 -3
  349. package/es/components/popconfirm/index.mjs +2 -2
  350. package/es/components/popconfirm/src/popconfirm.mjs +122 -42
  351. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  352. package/es/components/popconfirm/src/popconfirm2.mjs +42 -122
  353. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  354. package/es/components/popover/src/popover.mjs +1 -1
  355. package/es/components/popper/index.mjs +2 -2
  356. package/es/components/popper/src/arrow.mjs +30 -7
  357. package/es/components/popper/src/arrow.mjs.map +1 -1
  358. package/es/components/popper/src/arrow2.mjs +7 -30
  359. package/es/components/popper/src/arrow2.mjs.map +1 -1
  360. package/es/components/popper/src/content.mjs +1 -1
  361. package/es/components/radio/index.mjs +2 -2
  362. package/es/components/radio/src/radio-button.mjs +65 -5
  363. package/es/components/radio/src/radio-button.mjs.map +1 -1
  364. package/es/components/radio/src/radio-button2.mjs +5 -65
  365. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  366. package/es/components/row/index.mjs +2 -2
  367. package/es/components/row/src/row.mjs +44 -28
  368. package/es/components/row/src/row.mjs.map +1 -1
  369. package/es/components/row/src/row2.mjs +28 -44
  370. package/es/components/row/src/row2.mjs.map +1 -1
  371. package/es/components/splitter/src/hooks/useResize.d.ts +2 -1
  372. package/es/components/splitter/src/hooks/useResize.mjs +34 -6
  373. package/es/components/splitter/src/hooks/useResize.mjs.map +1 -1
  374. package/es/components/splitter/src/split-bar.mjs +5 -7
  375. package/es/components/splitter/src/split-bar.mjs.map +1 -1
  376. package/es/components/splitter/src/split-bar.vue.d.ts +7 -12
  377. package/es/components/splitter/src/split-panel2.mjs +7 -6
  378. package/es/components/splitter/src/split-panel2.mjs.map +1 -1
  379. package/es/components/splitter/src/splitter.d.ts +1 -0
  380. package/es/components/splitter/src/splitter.mjs +2 -1
  381. package/es/components/splitter/src/splitter.mjs.map +1 -1
  382. package/es/components/splitter/src/splitter.vue.d.ts +3 -0
  383. package/es/components/splitter/src/splitter2.mjs +22 -5
  384. package/es/components/splitter/src/splitter2.mjs.map +1 -1
  385. package/es/components/splitter/src/type.d.ts +1 -0
  386. package/es/components/splitter/src/type.mjs.map +1 -1
  387. package/es/components/steps/index.mjs +2 -2
  388. package/es/components/steps/src/steps.mjs +41 -35
  389. package/es/components/steps/src/steps.mjs.map +1 -1
  390. package/es/components/steps/src/steps2.mjs +35 -41
  391. package/es/components/steps/src/steps2.mjs.map +1 -1
  392. package/es/components/teleport/index.mjs +2 -2
  393. package/es/components/teleport/src/teleport.mjs +18 -8
  394. package/es/components/teleport/src/teleport.mjs.map +1 -1
  395. package/es/components/teleport/src/teleport2.mjs +8 -18
  396. package/es/components/teleport/src/teleport2.mjs.map +1 -1
  397. package/es/components/time-select/src/time-select.vue.d.ts +1 -1
  398. package/es/components/tooltip/index.mjs +3 -3
  399. package/es/components/tooltip/src/content.mjs +1 -1
  400. package/es/components/tooltip/src/tooltip.mjs +165 -30
  401. package/es/components/tooltip/src/tooltip.mjs.map +1 -1
  402. package/es/components/tooltip/src/tooltip2.mjs +30 -165
  403. package/es/components/tooltip/src/tooltip2.mjs.map +1 -1
  404. package/es/components/tooltip/src/trigger.mjs +72 -14
  405. package/es/components/tooltip/src/trigger.mjs.map +1 -1
  406. package/es/components/tooltip/src/trigger2.mjs +14 -72
  407. package/es/components/tooltip/src/trigger2.mjs.map +1 -1
  408. package/es/components/tooltip-v2/index.mjs +2 -2
  409. package/es/components/tooltip-v2/src/content.mjs +48 -110
  410. package/es/components/tooltip-v2/src/content.mjs.map +1 -1
  411. package/es/components/tooltip-v2/src/content2.mjs +110 -48
  412. package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
  413. package/es/components/tooltip-v2/src/root.mjs +17 -79
  414. package/es/components/tooltip-v2/src/root.mjs.map +1 -1
  415. package/es/components/tooltip-v2/src/root2.mjs +79 -17
  416. package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
  417. package/es/components/tooltip-v2/src/tooltip.mjs +2 -2
  418. package/es/components/tooltip-v2/src/tooltip2.mjs +4 -4
  419. package/es/components/tour/index.mjs +2 -2
  420. package/es/components/tour/src/step.mjs +189 -44
  421. package/es/components/tour/src/step.mjs.map +1 -1
  422. package/es/components/tour/src/step2.mjs +44 -189
  423. package/es/components/tour/src/step2.mjs.map +1 -1
  424. package/es/components/tour/src/tour.mjs +1 -1
  425. package/es/components/transfer/index.mjs +2 -2
  426. package/es/components/transfer/src/composables/use-checked-change.mjs +1 -1
  427. package/es/components/transfer/src/transfer-panel.mjs +1 -1
  428. package/es/components/transfer/src/transfer.mjs +164 -68
  429. package/es/components/transfer/src/transfer.mjs.map +1 -1
  430. package/es/components/transfer/src/transfer2.mjs +68 -164
  431. package/es/components/transfer/src/transfer2.mjs.map +1 -1
  432. package/es/hooks/use-draggable/index.d.ts +1 -0
  433. package/es/hooks/use-draggable/index.mjs +7 -1
  434. package/es/hooks/use-draggable/index.mjs.map +1 -1
  435. package/es/index.d.ts +96 -1
  436. package/es/index.mjs +13 -13
  437. package/es/version.d.ts +1 -1
  438. package/es/version.mjs +1 -1
  439. package/es/version.mjs.map +1 -1
  440. package/lib/components/anchor/index.js +1 -1
  441. package/lib/components/anchor/src/anchor-link.js +5 -81
  442. package/lib/components/anchor/src/anchor-link.js.map +1 -1
  443. package/lib/components/anchor/src/anchor-link2.js +81 -5
  444. package/lib/components/anchor/src/anchor-link2.js.map +1 -1
  445. package/lib/components/autocomplete/src/autocomplete.d.ts +6 -0
  446. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +12 -0
  447. package/lib/components/cascader/src/cascader.d.ts +6 -0
  448. package/lib/components/cascader/src/cascader.js +6 -0
  449. package/lib/components/cascader/src/cascader.js.map +1 -1
  450. package/lib/components/cascader/src/cascader.vue.d.ts +12 -0
  451. package/lib/components/cascader/src/cascader2.js +1 -1
  452. package/lib/components/cascader/src/cascader2.js.map +1 -1
  453. package/lib/components/cascader-panel/src/index.js +1 -1
  454. package/lib/components/cascader-panel/src/index.js.map +1 -1
  455. package/lib/components/cascader-panel/src/store.js +5 -1
  456. package/lib/components/cascader-panel/src/store.js.map +1 -1
  457. package/lib/components/descriptions/src/description2.js +1 -1
  458. package/lib/components/descriptions/src/descriptions-row.js +6 -63
  459. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  460. package/lib/components/descriptions/src/descriptions-row2.js +63 -6
  461. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  462. package/lib/components/dialog/src/dialog-content2.js +6 -5
  463. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  464. package/lib/components/dialog/src/dialog.js +1 -1
  465. package/lib/components/drawer/index.js +2 -2
  466. package/lib/components/drawer/src/drawer.js +178 -27
  467. package/lib/components/drawer/src/drawer.js.map +1 -1
  468. package/lib/components/drawer/src/drawer2.js +27 -178
  469. package/lib/components/drawer/src/drawer2.js.map +1 -1
  470. package/lib/components/dropdown/src/dropdown.js +1 -1
  471. package/lib/components/icon/index.js +2 -2
  472. package/lib/components/icon/src/icon.js +35 -8
  473. package/lib/components/icon/src/icon.js.map +1 -1
  474. package/lib/components/icon/src/icon2.js +8 -35
  475. package/lib/components/icon/src/icon2.js.map +1 -1
  476. package/lib/components/index.js +13 -13
  477. package/lib/components/input/src/input.d.ts +6 -0
  478. package/lib/components/input/src/input.js +5 -0
  479. package/lib/components/input/src/input.js.map +1 -1
  480. package/lib/components/input/src/input.vue.d.ts +12 -0
  481. package/lib/components/input/src/input2.js +1 -1
  482. package/lib/components/input/src/input2.js.map +1 -1
  483. package/lib/components/input-tag/src/input-tag.d.ts +6 -0
  484. package/lib/components/input-tag/src/input-tag.js +6 -0
  485. package/lib/components/input-tag/src/input-tag.js.map +1 -1
  486. package/lib/components/input-tag/src/input-tag.vue.d.ts +12 -0
  487. package/lib/components/input-tag/src/input-tag2.js +1 -2
  488. package/lib/components/input-tag/src/input-tag2.js.map +1 -1
  489. package/lib/components/mention/src/mention.d.ts +6 -0
  490. package/lib/components/mention/src/mention.vue.d.ts +12 -0
  491. package/lib/components/menu/index.js +2 -2
  492. package/lib/components/menu/src/menu-item.js +100 -16
  493. package/lib/components/menu/src/menu-item.js.map +1 -1
  494. package/lib/components/menu/src/menu-item2.js +16 -100
  495. package/lib/components/menu/src/menu-item2.js.map +1 -1
  496. package/lib/components/message-box/src/index.js +3 -1
  497. package/lib/components/message-box/src/index.js.map +1 -1
  498. package/lib/components/message-box/src/index.vue.d.ts +1 -0
  499. package/lib/components/pagination/src/components/jumper.js +58 -7
  500. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  501. package/lib/components/pagination/src/components/jumper2.js +7 -58
  502. package/lib/components/pagination/src/components/jumper2.js.map +1 -1
  503. package/lib/components/pagination/src/components/next.js +18 -35
  504. package/lib/components/pagination/src/components/next.js.map +1 -1
  505. package/lib/components/pagination/src/components/next2.js +35 -18
  506. package/lib/components/pagination/src/components/next2.js.map +1 -1
  507. package/lib/components/pagination/src/components/prev.js +18 -35
  508. package/lib/components/pagination/src/components/prev.js.map +1 -1
  509. package/lib/components/pagination/src/components/prev2.js +35 -18
  510. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  511. package/lib/components/pagination/src/pagination.js +3 -3
  512. package/lib/components/popconfirm/index.js +2 -2
  513. package/lib/components/popconfirm/src/popconfirm.js +122 -43
  514. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  515. package/lib/components/popconfirm/src/popconfirm2.js +43 -122
  516. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  517. package/lib/components/popover/src/popover.js +1 -1
  518. package/lib/components/popper/index.js +2 -2
  519. package/lib/components/popper/src/arrow.js +30 -8
  520. package/lib/components/popper/src/arrow.js.map +1 -1
  521. package/lib/components/popper/src/arrow2.js +8 -30
  522. package/lib/components/popper/src/arrow2.js.map +1 -1
  523. package/lib/components/popper/src/content.js +1 -1
  524. package/lib/components/radio/index.js +2 -2
  525. package/lib/components/radio/src/radio-button.js +65 -5
  526. package/lib/components/radio/src/radio-button.js.map +1 -1
  527. package/lib/components/radio/src/radio-button2.js +5 -65
  528. package/lib/components/radio/src/radio-button2.js.map +1 -1
  529. package/lib/components/row/index.js +2 -2
  530. package/lib/components/row/src/row.js +44 -30
  531. package/lib/components/row/src/row.js.map +1 -1
  532. package/lib/components/row/src/row2.js +30 -44
  533. package/lib/components/row/src/row2.js.map +1 -1
  534. package/lib/components/splitter/src/hooks/useResize.d.ts +2 -1
  535. package/lib/components/splitter/src/hooks/useResize.js +33 -5
  536. package/lib/components/splitter/src/hooks/useResize.js.map +1 -1
  537. package/lib/components/splitter/src/split-bar.js +5 -7
  538. package/lib/components/splitter/src/split-bar.js.map +1 -1
  539. package/lib/components/splitter/src/split-bar.vue.d.ts +7 -12
  540. package/lib/components/splitter/src/split-panel2.js +7 -6
  541. package/lib/components/splitter/src/split-panel2.js.map +1 -1
  542. package/lib/components/splitter/src/splitter.d.ts +1 -0
  543. package/lib/components/splitter/src/splitter.js +2 -1
  544. package/lib/components/splitter/src/splitter.js.map +1 -1
  545. package/lib/components/splitter/src/splitter.vue.d.ts +3 -0
  546. package/lib/components/splitter/src/splitter2.js +21 -4
  547. package/lib/components/splitter/src/splitter2.js.map +1 -1
  548. package/lib/components/splitter/src/type.d.ts +1 -0
  549. package/lib/components/splitter/src/type.js.map +1 -1
  550. package/lib/components/steps/index.js +2 -2
  551. package/lib/components/steps/src/steps.js +41 -36
  552. package/lib/components/steps/src/steps.js.map +1 -1
  553. package/lib/components/steps/src/steps2.js +36 -41
  554. package/lib/components/steps/src/steps2.js.map +1 -1
  555. package/lib/components/teleport/index.js +2 -2
  556. package/lib/components/teleport/src/teleport.js +18 -8
  557. package/lib/components/teleport/src/teleport.js.map +1 -1
  558. package/lib/components/teleport/src/teleport2.js +8 -18
  559. package/lib/components/teleport/src/teleport2.js.map +1 -1
  560. package/lib/components/time-select/src/time-select.vue.d.ts +1 -1
  561. package/lib/components/tooltip/index.js +3 -3
  562. package/lib/components/tooltip/src/content.js +1 -1
  563. package/lib/components/tooltip/src/tooltip.js +163 -32
  564. package/lib/components/tooltip/src/tooltip.js.map +1 -1
  565. package/lib/components/tooltip/src/tooltip2.js +32 -163
  566. package/lib/components/tooltip/src/tooltip2.js.map +1 -1
  567. package/lib/components/tooltip/src/trigger.js +72 -14
  568. package/lib/components/tooltip/src/trigger.js.map +1 -1
  569. package/lib/components/tooltip/src/trigger2.js +14 -72
  570. package/lib/components/tooltip/src/trigger2.js.map +1 -1
  571. package/lib/components/tooltip-v2/index.js +2 -2
  572. package/lib/components/tooltip-v2/src/content.js +48 -110
  573. package/lib/components/tooltip-v2/src/content.js.map +1 -1
  574. package/lib/components/tooltip-v2/src/content2.js +110 -48
  575. package/lib/components/tooltip-v2/src/content2.js.map +1 -1
  576. package/lib/components/tooltip-v2/src/root.js +17 -79
  577. package/lib/components/tooltip-v2/src/root.js.map +1 -1
  578. package/lib/components/tooltip-v2/src/root2.js +79 -17
  579. package/lib/components/tooltip-v2/src/root2.js.map +1 -1
  580. package/lib/components/tooltip-v2/src/tooltip.js +2 -2
  581. package/lib/components/tooltip-v2/src/tooltip2.js +4 -4
  582. package/lib/components/tour/index.js +2 -2
  583. package/lib/components/tour/src/step.js +188 -44
  584. package/lib/components/tour/src/step.js.map +1 -1
  585. package/lib/components/tour/src/step2.js +44 -188
  586. package/lib/components/tour/src/step2.js.map +1 -1
  587. package/lib/components/tour/src/tour.js +1 -1
  588. package/lib/components/transfer/index.js +2 -2
  589. package/lib/components/transfer/src/composables/use-checked-change.js +1 -1
  590. package/lib/components/transfer/src/transfer-panel.js +1 -1
  591. package/lib/components/transfer/src/transfer.js +164 -72
  592. package/lib/components/transfer/src/transfer.js.map +1 -1
  593. package/lib/components/transfer/src/transfer2.js +72 -164
  594. package/lib/components/transfer/src/transfer2.js.map +1 -1
  595. package/lib/hooks/use-draggable/index.d.ts +1 -0
  596. package/lib/hooks/use-draggable/index.js +6 -0
  597. package/lib/hooks/use-draggable/index.js.map +1 -1
  598. package/lib/index.d.ts +96 -1
  599. package/lib/index.js +13 -13
  600. package/lib/version.d.ts +1 -1
  601. package/lib/version.js +1 -1
  602. package/lib/version.js.map +1 -1
  603. package/package.json +2 -2
  604. package/tags.json +1 -1
  605. package/theme-chalk/el-collapse.css +1 -1
  606. package/theme-chalk/el-splitter.css +1 -1
  607. package/theme-chalk/index.css +1 -1
  608. package/theme-chalk/src/collapse.scss +1 -1
  609. package/theme-chalk/src/splitter.scss +25 -4
  610. package/web-types.json +1 -1
package/es/index.mjs CHANGED
@@ -69,7 +69,7 @@ export { DEFAULT_DIALOG_TRANSITION, dialogInjectionKey } from './components/dial
69
69
  export { ElDialog } from './components/dialog/index.mjs';
70
70
  export { dividerProps } from './components/divider/src/divider.mjs';
71
71
  export { ElDivider } from './components/divider/index.mjs';
72
- export { drawerEmits, drawerProps } from './components/drawer/src/drawer.mjs';
72
+ export { drawerEmits, drawerProps } from './components/drawer/src/drawer2.mjs';
73
73
  export { ElDrawer } from './components/drawer/index.mjs';
74
74
  export { DROPDOWN_COLLECTION_INJECTION_KEY, DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, ElCollection, ElCollectionItem, FIRST_KEYS, FIRST_LAST_KEYS, LAST_KEYS, dropdownItemProps, dropdownMenuProps, dropdownProps } from './components/dropdown/src/dropdown.mjs';
75
75
  export { DROPDOWN_INJECTION_KEY, DROPDOWN_INSTANCE_INJECTION_KEY } from './components/dropdown/src/tokens.mjs';
@@ -82,7 +82,7 @@ export { formContextKey, formItemContextKey } from './components/form/src/consta
82
82
  export { useDisabled, useFormDisabled, useFormSize, useSize } from './components/form/src/hooks/use-form-common-props.mjs';
83
83
  export { useFormItem, useFormItemInputId } from './components/form/src/hooks/use-form-item.mjs';
84
84
  export { ElForm, ElFormItem } from './components/form/index.mjs';
85
- export { iconProps } from './components/icon/src/icon.mjs';
85
+ export { iconProps } from './components/icon/src/icon2.mjs';
86
86
  export { ElIcon } from './components/icon/index.mjs';
87
87
  export { imageEmits, imageProps } from './components/image/src/image.mjs';
88
88
  export { ElImage } from './components/image/index.mjs';
@@ -97,7 +97,7 @@ export { ElInputTag } from './components/input-tag/index.mjs';
97
97
  export { linkEmits, linkProps } from './components/link/src/link.mjs';
98
98
  export { ElLink } from './components/link/index.mjs';
99
99
  export { menuEmits, menuProps } from './components/menu/src/menu.mjs';
100
- export { menuItemEmits, menuItemProps } from './components/menu/src/menu-item.mjs';
100
+ export { menuItemEmits, menuItemProps } from './components/menu/src/menu-item2.mjs';
101
101
  export { menuItemGroupProps } from './components/menu/src/menu-item-group.mjs';
102
102
  export { subMenuProps } from './components/menu/src/sub-menu.mjs';
103
103
  export { MENU_INJECTION_KEY, SUB_MENU_INJECTION_KEY } from './components/menu/src/tokens.mjs';
@@ -109,14 +109,14 @@ export { ElPageHeader } from './components/page-header/index.mjs';
109
109
  export { paginationEmits, paginationProps } from './components/pagination/src/pagination.mjs';
110
110
  export { elPaginationKey } from './components/pagination/src/constants.mjs';
111
111
  export { ElPagination } from './components/pagination/index.mjs';
112
- export { popconfirmEmits, popconfirmProps } from './components/popconfirm/src/popconfirm.mjs';
112
+ export { popconfirmEmits, popconfirmProps } from './components/popconfirm/src/popconfirm2.mjs';
113
113
  export { ElPopconfirm } from './components/popconfirm/index.mjs';
114
114
  export { Effect, popperProps, roleTypes, usePopperProps } from './components/popper/src/popper.mjs';
115
115
  export { popperTriggerProps, usePopperTriggerProps } from './components/popper/src/trigger.mjs';
116
116
  export { popperContentEmits, popperContentProps, popperCoreConfigProps, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps } from './components/popper/src/content.mjs';
117
- export { popperArrowProps, usePopperArrowProps } from './components/popper/src/arrow.mjs';
117
+ export { popperArrowProps, usePopperArrowProps } from './components/popper/src/arrow2.mjs';
118
118
  export { POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY } from './components/popper/src/constants.mjs';
119
- export { default as ElPopperArrow } from './components/popper/src/arrow2.mjs';
119
+ export { default as ElPopperArrow } from './components/popper/src/arrow.mjs';
120
120
  export { default as ElPopperTrigger } from './components/popper/src/trigger2.mjs';
121
121
  export { default as ElPopperContent } from './components/popper/src/content2.mjs';
122
122
  export { ElPopper } from './components/popper/index.mjs';
@@ -124,14 +124,14 @@ export { progressProps } from './components/progress/src/progress.mjs';
124
124
  export { ElProgress } from './components/progress/index.mjs';
125
125
  export { radioEmits, radioProps, radioPropsBase } from './components/radio/src/radio.mjs';
126
126
  export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-group.mjs';
127
- export { radioButtonProps } from './components/radio/src/radio-button.mjs';
127
+ export { radioButtonProps } from './components/radio/src/radio-button2.mjs';
128
128
  export { radioGroupKey } from './components/radio/src/constants.mjs';
129
129
  export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
130
130
  export { rateEmits, rateProps } from './components/rate/src/rate.mjs';
131
131
  export { ElRate } from './components/rate/index.mjs';
132
132
  export { IconComponentMap, IconMap, resultProps } from './components/result/src/result.mjs';
133
133
  export { ElResult } from './components/result/index.mjs';
134
- export { RowAlign, RowJustify, rowProps } from './components/row/src/row.mjs';
134
+ export { RowAlign, RowJustify, rowProps } from './components/row/src/row2.mjs';
135
135
  export { rowContextKey } from './components/row/src/constants.mjs';
136
136
  export { ElRow } from './components/row/index.mjs';
137
137
  export { BAR_MAP, GAP, renderThumbStyle } from './components/scrollbar/src/util.mjs';
@@ -157,7 +157,7 @@ export { ElSpace } from './components/space/index.mjs';
157
157
  export { statisticProps } from './components/statistic/src/statistic.mjs';
158
158
  export { ElStatistic } from './components/statistic/index.mjs';
159
159
  export { stepProps } from './components/steps/src/item.mjs';
160
- export { stepsEmits, stepsProps } from './components/steps/src/steps.mjs';
160
+ export { stepsEmits, stepsProps } from './components/steps/src/steps2.mjs';
161
161
  export { STEPS_INJECTION_KEY } from './components/steps/src/tokens.mjs';
162
162
  export { ElStep, ElSteps } from './components/steps/index.mjs';
163
163
  export { switchEmits, switchProps } from './components/switch/src/switch.mjs';
@@ -191,12 +191,12 @@ export { ElTimeSelect } from './components/time-select/index.mjs';
191
191
  export { timelineItemProps } from './components/timeline/src/timeline-item.mjs';
192
192
  export { TIMELINE_INJECTION_KEY } from './components/timeline/src/tokens.mjs';
193
193
  export { ElTimeline, ElTimelineItem } from './components/timeline/index.mjs';
194
- export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './components/tooltip/src/tooltip.mjs';
195
- export { useTooltipTriggerProps } from './components/tooltip/src/trigger.mjs';
194
+ export { tooltipEmits, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps } from './components/tooltip/src/tooltip2.mjs';
195
+ export { useTooltipTriggerProps } from './components/tooltip/src/trigger2.mjs';
196
196
  export { useTooltipContentProps } from './components/tooltip/src/content.mjs';
197
197
  export { TOOLTIP_INJECTION_KEY } from './components/tooltip/src/constants.mjs';
198
198
  export { ElTooltip } from './components/tooltip/index.mjs';
199
- export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './components/transfer/src/transfer.mjs';
199
+ export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from './components/transfer/src/transfer2.mjs';
200
200
  export { ElTransfer } from './components/transfer/index.mjs';
201
201
  export { NODE_INSTANCE_INJECTION_KEY, ROOT_TREE_INJECTION_KEY, TREE_NODE_MAP_INJECTION_KEY } from './components/tree/src/tokens.mjs';
202
202
  export { ElTree } from './components/tree/index.mjs';
@@ -216,7 +216,7 @@ export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualiz
216
216
  export { watermarkProps } from './components/watermark/src/watermark.mjs';
217
217
  export { ElWatermark } from './components/watermark/index.mjs';
218
218
  export { tourEmits, tourProps } from './components/tour/src/tour.mjs';
219
- export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
219
+ export { tourStepEmits, tourStepProps } from './components/tour/src/step2.mjs';
220
220
  export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content.mjs';
221
221
  export { ElTour, ElTourStep } from './components/tour/index.mjs';
222
222
  export { anchorEmits, anchorProps } from './components/anchor/src/anchor.mjs';
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20250815";
1
+ export declare const version = "0.0.20250816";
package/es/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20250815";
1
+ const version = "0.0.20250816";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20250815'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20250816'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var anchor$1 = require('./src/anchor2.js');
6
- var anchorLink = require('./src/anchor-link.js');
6
+ var anchorLink = require('./src/anchor-link2.js');
7
7
  var anchor = require('./src/anchor.js');
8
8
  var install = require('../../utils/vue/install.js');
9
9
 
@@ -2,88 +2,12 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var anchorLink = require('./anchor-link2.js');
7
- var constants = require('./constants.js');
8
- var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
5
+ var runtime = require('../../../utils/vue/props/runtime.js');
9
6
 
10
- const __default__ = vue.defineComponent({
11
- name: "ElAnchorLink"
7
+ const anchorLinkProps = runtime.buildProps({
8
+ title: String,
9
+ href: String
12
10
  });
13
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
- ...__default__,
15
- props: anchorLink.anchorLinkProps,
16
- setup(__props) {
17
- const props = __props;
18
- const linkRef = vue.ref(null);
19
- const {
20
- ns,
21
- direction,
22
- currentAnchor,
23
- addLink,
24
- removeLink,
25
- handleClick: contextHandleClick
26
- } = vue.inject(constants.anchorKey);
27
- const cls = vue.computed(() => [
28
- ns.e("link"),
29
- ns.is("active", currentAnchor.value === props.href)
30
- ]);
31
- const handleClick = (e) => {
32
- contextHandleClick(e, props.href);
33
- };
34
- vue.watch(() => props.href, (val, oldVal) => {
35
- vue.nextTick(() => {
36
- if (oldVal)
37
- removeLink(oldVal);
38
- if (val) {
39
- addLink({
40
- href: val,
41
- el: linkRef.value
42
- });
43
- }
44
- });
45
- });
46
- vue.onMounted(() => {
47
- const { href } = props;
48
- if (href) {
49
- addLink({
50
- href,
51
- el: linkRef.value
52
- });
53
- }
54
- });
55
- vue.onBeforeUnmount(() => {
56
- const { href } = props;
57
- if (href) {
58
- removeLink(href);
59
- }
60
- });
61
- return (_ctx, _cache) => {
62
- return vue.openBlock(), vue.createElementBlock("div", {
63
- class: vue.normalizeClass(vue.unref(ns).e("item"))
64
- }, [
65
- vue.createElementVNode("a", {
66
- ref_key: "linkRef",
67
- ref: linkRef,
68
- class: vue.normalizeClass(vue.unref(cls)),
69
- href: _ctx.href,
70
- onClick: handleClick
71
- }, [
72
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
73
- vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
74
- ])
75
- ], 10, ["href"]),
76
- _ctx.$slots["sub-link"] && vue.unref(direction) === "vertical" ? (vue.openBlock(), vue.createElementBlock("div", {
77
- key: 0,
78
- class: vue.normalizeClass(vue.unref(ns).e("list"))
79
- }, [
80
- vue.renderSlot(_ctx.$slots, "sub-link")
81
- ], 2)) : vue.createCommentVNode("v-if", true)
82
- ], 2);
83
- };
84
- }
85
- });
86
- var AnchorLink = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "anchor-link.vue"]]);
87
11
 
88
- exports["default"] = AnchorLink;
12
+ exports.anchorLinkProps = anchorLinkProps;
89
13
  //# sourceMappingURL=anchor-link.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"anchor-link.js","sources":["../../../../../../packages/components/anchor/src/anchor-link.vue"],"sourcesContent":["<template>\n <div :class=\"ns.e('item')\">\n <a ref=\"linkRef\" :class=\"cls\" :href=\"href\" @click=\"handleClick\">\n <slot>{{ title }}</slot>\n </a>\n <div\n v-if=\"$slots['sub-link'] && direction === 'vertical'\"\n :class=\"ns.e('list')\"\n >\n <slot name=\"sub-link\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n inject,\n nextTick,\n onBeforeUnmount,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { anchorLinkProps } from './anchor-link'\nimport { anchorKey } from './constants'\n\ndefineOptions({\n name: 'ElAnchorLink',\n})\n\nconst props = defineProps(anchorLinkProps)\n\nconst linkRef = ref<HTMLElement | null>(null)\n\nconst {\n ns,\n direction,\n currentAnchor,\n addLink,\n removeLink,\n handleClick: contextHandleClick,\n} = inject(anchorKey)!\n\nconst cls = computed(() => [\n ns.e('link'),\n ns.is('active', currentAnchor.value === props.href),\n])\n\nconst handleClick = (e: MouseEvent) => {\n contextHandleClick(e, props.href)\n}\n\nwatch(\n () => props.href,\n (val, oldVal) => {\n nextTick(() => {\n if (oldVal) removeLink(oldVal)\n if (val) {\n addLink({\n href: val,\n el: linkRef.value!,\n })\n }\n })\n }\n)\n\nonMounted(() => {\n const { href } = props\n if (href) {\n addLink({\n href,\n el: linkRef.value!,\n })\n }\n})\n\nonBeforeUnmount(() => {\n const { href } = props\n if (href) {\n removeLink(href)\n }\n})\n</script>\n"],"names":["ref","inject","anchorKey","computed","watch","nextTick","onMounted","onBeforeUnmount","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;uCA2Bc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,OAAA,GAAUA,QAAwB,IAAI,CAAA,CAAA;AAE5C,IAAM,MAAA;AAAA,MACJ,EAAA;AAAA,MACA,SAAA;AAAA,MACA,aAAA;AAAA,MACA,OAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAa,EAAA,kBAAA;AAAA,KACf,GAAIC,WAAOC,mBAAS,CAAA,CAAA;AAEpB,IAAM,MAAA,GAAA,GAAMC,aAAS,MAAM;AAAA,MACzB,EAAA,CAAG,EAAE,MAAM,CAAA;AAAA,MACX,GAAG,EAAG,CAAA,QAAA,EAAU,aAAc,CAAA,KAAA,KAAU,MAAM,IAAI,CAAA;AAAA,KACnD,CAAA,CAAA;AAED,IAAM,MAAA,WAAA,GAAc,CAAC,CAAkB,KAAA;AACrC,MAAmB,kBAAA,CAAA,CAAA,EAAG,MAAM,IAAI,CAAA,CAAA;AAAA,KAClC,CAAA;AAEA,IAAAC,SAAA,CAAA,MAAA,KAAA,CAAA,IAAA,EAAA,CAAA,GAAA,EAAA,MAAA,KAAA;AAAA,MACEC,YAAY,CAAA,MAAA;AAAA,YACN,MAAW;AACf,UAAA,UAAe,CAAA,MAAA,CAAA,CAAA;AACb,QAAI,IAAA,GAAA,EAAA;AACJ,UAAA,OAAS,CAAA;AACP,YAAQ,IAAA,EAAA,GAAA;AAAA,YAAA,EACN,EAAM,OAAA,CAAA,KAAA;AAAA,WAAA,CAAA,CAAA;AACM,SAAA;AACb,OACH,CAAA,CAAA;AAAA,KAAA,CAAA,CAAA;AACD,IACHC,aAAA,CAAA,MAAA;AAAA,MACF,MAAA,EAAA,IAAA,EAAA,GAAA,KAAA,CAAA;AAEA,MAAA,IAAA,IAAU,EAAM;AACd,QAAM;AACN,UAAI,IAAM;AACR,UAAQ,EAAA,EAAA,OAAA,CAAA,KAAA;AAAA,SACN,CAAA,CAAA;AAAA,OAAA;AACY,KAAA,CAAA,CAAA;AACb,IACHC,mBAAA,CAAA,MAAA;AAAA,MACD,MAAA,EAAA,IAAA,EAAA,GAAA,KAAA,CAAA;AAED,MAAA,IAAA,IAAA,EAAA;AACE,QAAM,WAAO,IAAI,CAAA,CAAA;AACjB,OAAA;AACE,KAAA,CAAA,CAAA;AAAe,IACjB,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACD,OAAAC,aAAA,EAAA,EAAAC,sBAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"anchor-link.js","sources":["../../../../../../packages/components/anchor/src/anchor-link.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const anchorLinkProps = buildProps({\n /**\n * @description the text content of the anchor link\n */\n title: String,\n /**\n * @description The address of the anchor link\n */\n href: String,\n})\n\nexport type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>\nexport type AnchorLinkPropsPublic = __ExtractPublicPropTypes<\n typeof anchorLinkProps\n>\n"],"names":["buildProps"],"mappings":";;;;;;AACY,MAAC,eAAe,GAAGA,kBAAU,CAAC;AAC1C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;;;"}
@@ -2,12 +2,88 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var runtime = require('../../../utils/vue/props/runtime.js');
5
+ var vue = require('vue');
6
+ var anchorLink = require('./anchor-link.js');
7
+ var constants = require('./constants.js');
8
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
6
9
 
7
- const anchorLinkProps = runtime.buildProps({
8
- title: String,
9
- href: String
10
+ const __default__ = vue.defineComponent({
11
+ name: "ElAnchorLink"
10
12
  });
13
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
14
+ ...__default__,
15
+ props: anchorLink.anchorLinkProps,
16
+ setup(__props) {
17
+ const props = __props;
18
+ const linkRef = vue.ref(null);
19
+ const {
20
+ ns,
21
+ direction,
22
+ currentAnchor,
23
+ addLink,
24
+ removeLink,
25
+ handleClick: contextHandleClick
26
+ } = vue.inject(constants.anchorKey);
27
+ const cls = vue.computed(() => [
28
+ ns.e("link"),
29
+ ns.is("active", currentAnchor.value === props.href)
30
+ ]);
31
+ const handleClick = (e) => {
32
+ contextHandleClick(e, props.href);
33
+ };
34
+ vue.watch(() => props.href, (val, oldVal) => {
35
+ vue.nextTick(() => {
36
+ if (oldVal)
37
+ removeLink(oldVal);
38
+ if (val) {
39
+ addLink({
40
+ href: val,
41
+ el: linkRef.value
42
+ });
43
+ }
44
+ });
45
+ });
46
+ vue.onMounted(() => {
47
+ const { href } = props;
48
+ if (href) {
49
+ addLink({
50
+ href,
51
+ el: linkRef.value
52
+ });
53
+ }
54
+ });
55
+ vue.onBeforeUnmount(() => {
56
+ const { href } = props;
57
+ if (href) {
58
+ removeLink(href);
59
+ }
60
+ });
61
+ return (_ctx, _cache) => {
62
+ return vue.openBlock(), vue.createElementBlock("div", {
63
+ class: vue.normalizeClass(vue.unref(ns).e("item"))
64
+ }, [
65
+ vue.createElementVNode("a", {
66
+ ref_key: "linkRef",
67
+ ref: linkRef,
68
+ class: vue.normalizeClass(vue.unref(cls)),
69
+ href: _ctx.href,
70
+ onClick: handleClick
71
+ }, [
72
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
73
+ vue.createTextVNode(vue.toDisplayString(_ctx.title), 1)
74
+ ])
75
+ ], 10, ["href"]),
76
+ _ctx.$slots["sub-link"] && vue.unref(direction) === "vertical" ? (vue.openBlock(), vue.createElementBlock("div", {
77
+ key: 0,
78
+ class: vue.normalizeClass(vue.unref(ns).e("list"))
79
+ }, [
80
+ vue.renderSlot(_ctx.$slots, "sub-link")
81
+ ], 2)) : vue.createCommentVNode("v-if", true)
82
+ ], 2);
83
+ };
84
+ }
85
+ });
86
+ var AnchorLink = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "anchor-link.vue"]]);
11
87
 
12
- exports.anchorLinkProps = anchorLinkProps;
88
+ exports["default"] = AnchorLink;
13
89
  //# sourceMappingURL=anchor-link2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"anchor-link2.js","sources":["../../../../../../packages/components/anchor/src/anchor-link.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const anchorLinkProps = buildProps({\n /**\n * @description the text content of the anchor link\n */\n title: String,\n /**\n * @description The address of the anchor link\n */\n href: String,\n})\n\nexport type AnchorLinkProps = ExtractPropTypes<typeof anchorLinkProps>\nexport type AnchorLinkPropsPublic = __ExtractPublicPropTypes<\n typeof anchorLinkProps\n>\n"],"names":["buildProps"],"mappings":";;;;;;AACY,MAAC,eAAe,GAAGA,kBAAU,CAAC;AAC1C,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,MAAM;AACd,CAAC;;;;"}
1
+ {"version":3,"file":"anchor-link2.js","sources":["../../../../../../packages/components/anchor/src/anchor-link.vue"],"sourcesContent":["<template>\n <div :class=\"ns.e('item')\">\n <a ref=\"linkRef\" :class=\"cls\" :href=\"href\" @click=\"handleClick\">\n <slot>{{ title }}</slot>\n </a>\n <div\n v-if=\"$slots['sub-link'] && direction === 'vertical'\"\n :class=\"ns.e('list')\"\n >\n <slot name=\"sub-link\" />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n inject,\n nextTick,\n onBeforeUnmount,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { anchorLinkProps } from './anchor-link'\nimport { anchorKey } from './constants'\n\ndefineOptions({\n name: 'ElAnchorLink',\n})\n\nconst props = defineProps(anchorLinkProps)\n\nconst linkRef = ref<HTMLElement | null>(null)\n\nconst {\n ns,\n direction,\n currentAnchor,\n addLink,\n removeLink,\n handleClick: contextHandleClick,\n} = inject(anchorKey)!\n\nconst cls = computed(() => [\n ns.e('link'),\n ns.is('active', currentAnchor.value === props.href),\n])\n\nconst handleClick = (e: MouseEvent) => {\n contextHandleClick(e, props.href)\n}\n\nwatch(\n () => props.href,\n (val, oldVal) => {\n nextTick(() => {\n if (oldVal) removeLink(oldVal)\n if (val) {\n addLink({\n href: val,\n el: linkRef.value!,\n })\n }\n })\n }\n)\n\nonMounted(() => {\n const { href } = props\n if (href) {\n addLink({\n href,\n el: linkRef.value!,\n })\n }\n})\n\nonBeforeUnmount(() => {\n const { href } = props\n if (href) {\n removeLink(href)\n }\n})\n</script>\n"],"names":["ref","inject","anchorKey","computed","watch","nextTick","onMounted","onBeforeUnmount","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;uCA2Bc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAIA,IAAM,MAAA,OAAA,GAAUA,QAAwB,IAAI,CAAA,CAAA;AAE5C,IAAM,MAAA;AAAA,MACJ,EAAA;AAAA,MACA,SAAA;AAAA,MACA,aAAA;AAAA,MACA,OAAA;AAAA,MACA,UAAA;AAAA,MACA,WAAa,EAAA,kBAAA;AAAA,KACf,GAAIC,WAAOC,mBAAS,CAAA,CAAA;AAEpB,IAAM,MAAA,GAAA,GAAMC,aAAS,MAAM;AAAA,MACzB,EAAA,CAAG,EAAE,MAAM,CAAA;AAAA,MACX,GAAG,EAAG,CAAA,QAAA,EAAU,aAAc,CAAA,KAAA,KAAU,MAAM,IAAI,CAAA;AAAA,KACnD,CAAA,CAAA;AAED,IAAM,MAAA,WAAA,GAAc,CAAC,CAAkB,KAAA;AACrC,MAAmB,kBAAA,CAAA,CAAA,EAAG,MAAM,IAAI,CAAA,CAAA;AAAA,KAClC,CAAA;AAEA,IAAAC,SAAA,CAAA,MAAA,KAAA,CAAA,IAAA,EAAA,CAAA,GAAA,EAAA,MAAA,KAAA;AAAA,MACEC,YAAY,CAAA,MAAA;AAAA,YACN,MAAW;AACf,UAAA,UAAe,CAAA,MAAA,CAAA,CAAA;AACb,QAAI,IAAA,GAAA,EAAA;AACJ,UAAA,OAAS,CAAA;AACP,YAAQ,IAAA,EAAA,GAAA;AAAA,YAAA,EACN,EAAM,OAAA,CAAA,KAAA;AAAA,WAAA,CAAA,CAAA;AACM,SAAA;AACb,OACH,CAAA,CAAA;AAAA,KAAA,CAAA,CAAA;AACD,IACHC,aAAA,CAAA,MAAA;AAAA,MACF,MAAA,EAAA,IAAA,EAAA,GAAA,KAAA,CAAA;AAEA,MAAA,IAAA,IAAU,EAAM;AACd,QAAM;AACN,UAAI,IAAM;AACR,UAAQ,EAAA,EAAA,OAAA,CAAA,KAAA;AAAA,SACN,CAAA,CAAA;AAAA,OAAA;AACY,KAAA,CAAA,CAAA;AACb,IACHC,mBAAA,CAAA,MAAA;AAAA,MACD,MAAA,EAAA,IAAA,EAAA,GAAA,KAAA,CAAA;AAED,MAAA,IAAA,IAAA,EAAA;AACE,QAAM,WAAO,IAAI,CAAA,CAAA;AACjB,OAAA;AACE,KAAA,CAAA,CAAA;AAAe,IACjB,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACD,OAAAC,aAAA,EAAA,EAAAC,sBAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -88,6 +88,12 @@ export declare const autocompleteProps: {
88
88
  };
89
89
  readonly readonly: BooleanConstructor;
90
90
  readonly clearable: BooleanConstructor;
91
+ readonly clearIcon: {
92
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
93
+ readonly required: false;
94
+ readonly validator: ((val: unknown) => boolean) | undefined;
95
+ __epPropKey: true;
96
+ };
91
97
  readonly showPassword: BooleanConstructor;
92
98
  readonly showWordLimit: BooleanConstructor;
93
99
  readonly suffixIcon: {
@@ -97,6 +97,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
97
97
  };
98
98
  readonly readonly: BooleanConstructor;
99
99
  readonly clearable: BooleanConstructor;
100
+ readonly clearIcon: {
101
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
102
+ readonly required: false;
103
+ readonly validator: ((val: unknown) => boolean) | undefined;
104
+ __epPropKey: true;
105
+ };
100
106
  readonly showPassword: BooleanConstructor;
101
107
  readonly showWordLimit: BooleanConstructor;
102
108
  readonly suffixIcon: {
@@ -235,6 +241,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
235
241
  };
236
242
  readonly readonly: BooleanConstructor;
237
243
  readonly clearable: BooleanConstructor;
244
+ readonly clearIcon: {
245
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
246
+ readonly required: false;
247
+ readonly validator: ((val: unknown) => boolean) | undefined;
248
+ __epPropKey: true;
249
+ };
238
250
  readonly showPassword: BooleanConstructor;
239
251
  readonly showWordLimit: BooleanConstructor;
240
252
  readonly suffixIcon: {
@@ -12,6 +12,12 @@ export declare const cascaderProps: {
12
12
  placeholder: StringConstructor;
13
13
  disabled: BooleanConstructor;
14
14
  clearable: BooleanConstructor;
15
+ clearIcon: {
16
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
17
+ readonly required: false;
18
+ readonly validator: ((val: unknown) => boolean) | undefined;
19
+ __epPropKey: true;
20
+ };
15
21
  filterable: BooleanConstructor;
16
22
  filterMethod: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (node: CascaderNode, keyword: string) => boolean) | (() => (node: CascaderNode, keyword: string) => boolean) | {
17
23
  (): (node: CascaderNode, keyword: string) => boolean;
@@ -3,10 +3,12 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var core = require('@popperjs/core');
6
+ var iconsVue = require('@element-plus/icons-vue');
6
7
  var config = require('../../cascader-panel/src/config.js');
7
8
  var tag = require('../../tag/src/tag.js');
8
9
  var runtime = require('../../../utils/vue/props/runtime.js');
9
10
  var index = require('../../../hooks/use-size/index.js');
11
+ var icon = require('../../../utils/vue/icon.js');
10
12
  var content = require('../../tooltip/src/content.js');
11
13
  var index$1 = require('../../../hooks/use-empty-values/index.js');
12
14
  var event = require('../../../constants/event.js');
@@ -18,6 +20,10 @@ const cascaderProps = runtime.buildProps({
18
20
  placeholder: String,
19
21
  disabled: Boolean,
20
22
  clearable: Boolean,
23
+ clearIcon: {
24
+ type: icon.iconPropType,
25
+ default: iconsVue.CircleClose
26
+ },
21
27
  filterable: Boolean,
22
28
  filterMethod: {
23
29
  type: runtime.definePropType(Function),
@@ -1 +1 @@
1
- {"version":3,"file":"cascader.js","sources":["../../../../../../packages/components/cascader/src/cascader.ts"],"sourcesContent":["import { placements } from '@popperjs/core'\nimport { CommonProps } from '@element-plus/components/cascader-panel'\nimport { buildProps, definePropType, isBoolean } from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport { tagProps } from '@element-plus/components/tag'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\n\nimport type {\n CascaderNode,\n CascaderValue,\n} from '@element-plus/components/cascader-panel'\nimport type { Placement, PopperEffect } from '@element-plus/components/popper'\n\nexport const cascaderProps = buildProps({\n ...CommonProps,\n /**\n * @description size of input\n */\n size: useSizeProp,\n /**\n * @description placeholder of input\n */\n placeholder: String,\n /**\n * @description whether Cascader is disabled\n */\n disabled: Boolean,\n /**\n * @description whether selected value can be cleared\n */\n clearable: Boolean,\n /**\n * @description whether the options can be searched\n */\n filterable: Boolean,\n /**\n * @description customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits.\n */\n filterMethod: {\n type: definePropType<(node: CascaderNode, keyword: string) => boolean>(\n Function\n ),\n default: (node: CascaderNode, keyword: string) =>\n node.text.includes(keyword),\n },\n /**\n * @description option label separator\n */\n separator: {\n type: String,\n default: ' / ',\n },\n /**\n * @description whether to display all levels of the selected value in the input\n */\n showAllLevels: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to collapse tags in multiple selection mode\n */\n collapseTags: Boolean,\n /**\n * @description The max tags number to be shown. To use this, collapse-tags must be true\n */\n maxCollapseTags: {\n type: Number,\n default: 1,\n },\n /**\n * @description native input id\n */\n collapseTagsTooltip: Boolean,\n /**\n * @description The max height of collapse tags tooltip, in pixels. To use this, collapse-tags-tooltip must be true\n */\n maxCollapseTagsTooltipHeight: {\n type: [String, Number],\n },\n /**\n * @description debounce delay when typing filter keyword, in milliseconds\n */\n debounce: {\n type: Number,\n default: 300,\n },\n /**\n * @description hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted\n */\n beforeFilter: {\n type: definePropType<(value: string) => boolean | Promise<any>>(Function),\n default: () => true,\n },\n /**\n * @description position of dropdown\n */\n placement: {\n type: definePropType<Placement>(String),\n values: placements,\n default: 'bottom-start',\n },\n /**\n * @description list of possible positions for dropdown\n */\n fallbackPlacements: {\n type: definePropType<Placement[]>(Array),\n default: ['bottom-start', 'bottom', 'top-start', 'top', 'right', 'left'],\n },\n /**\n * @description custom class name for Cascader's dropdown\n */\n popperClass: {\n type: String,\n default: '',\n },\n /**\n * @description whether cascader popup is teleported\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description tooltip theme, built-in theme: `dark` / `light`\n */\n effect: {\n type: definePropType<PopperEffect>(String),\n default: 'light',\n },\n /**\n * @description tag type\n */\n // eslint-disable-next-line vue/require-prop-types\n tagType: { ...tagProps.type, default: 'info' },\n /**\n * @description tag effect\n */\n tagEffect: { ...tagProps.effect, default: 'light' },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description when dropdown is inactive and `persistent` is `false`, dropdown will be destroyed\n */\n persistent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Use `parent` when you want things tidy (like \"Entire Collection\" instead of listing 100 items)\n * Use `child` when every single item matters (like important settings)\n */\n showCheckedStrategy: {\n type: String,\n values: ['parent', 'child'],\n default: 'child',\n },\n /**\n * @description whether to check or uncheck node when clicking on the node\n */\n checkOnClickNode: Boolean,\n /**\n * @description whether to show the radio or checkbox prefix\n */\n showPrefix: {\n type: Boolean,\n default: true,\n },\n ...useEmptyValuesProps,\n})\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst emitChangeFn = (value: CascaderValue | null | undefined) => true\n\nexport const cascaderEmits = {\n [UPDATE_MODEL_EVENT]: emitChangeFn,\n [CHANGE_EVENT]: emitChangeFn,\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n visibleChange: (val: boolean) => isBoolean(val),\n expandChange: (val: CascaderValue) => !!val,\n removeTag: (val: CascaderNode['valueByOption']) => !!val,\n}\n\n// Type name is taken(cascader-panel/src/node), needs discussion\n// export type CascaderProps = ExtractPropTypes<typeof cascaderProps>\n\nexport type CascaderEmits = typeof cascaderEmits\n"],"names":["buildProps","CommonProps","useSizeProp","definePropType","placements","useTooltipContentProps","tagProps","useEmptyValuesProps","UPDATE_MODEL_EVENT","CHANGE_EVENT","isBoolean"],"mappings":"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"}
1
+ {"version":3,"file":"cascader.js","sources":["../../../../../../packages/components/cascader/src/cascader.ts"],"sourcesContent":["import { placements } from '@popperjs/core'\nimport { CommonProps } from '@element-plus/components/cascader-panel'\nimport {\n buildProps,\n definePropType,\n iconPropType,\n isBoolean,\n} from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\nimport { useTooltipContentProps } from '@element-plus/components/tooltip'\nimport { tagProps } from '@element-plus/components/tag'\nimport { CHANGE_EVENT, UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { CircleClose } from '@element-plus/icons-vue'\n\nimport type {\n CascaderNode,\n CascaderValue,\n} from '@element-plus/components/cascader-panel'\nimport type { Placement, PopperEffect } from '@element-plus/components/popper'\n\nexport const cascaderProps = buildProps({\n ...CommonProps,\n /**\n * @description size of input\n */\n size: useSizeProp,\n /**\n * @description placeholder of input\n */\n placeholder: String,\n /**\n * @description whether Cascader is disabled\n */\n disabled: Boolean,\n /**\n * @description whether selected value can be cleared\n */\n clearable: Boolean,\n /**\n * @description custom clear icon component\n */\n clearIcon: {\n type: iconPropType,\n default: CircleClose,\n },\n /**\n * @description whether the options can be searched\n */\n filterable: Boolean,\n /**\n * @description customize search logic, the first parameter is `node`, the second is `keyword`, and need return a boolean value indicating whether it hits.\n */\n filterMethod: {\n type: definePropType<(node: CascaderNode, keyword: string) => boolean>(\n Function\n ),\n default: (node: CascaderNode, keyword: string) =>\n node.text.includes(keyword),\n },\n /**\n * @description option label separator\n */\n separator: {\n type: String,\n default: ' / ',\n },\n /**\n * @description whether to display all levels of the selected value in the input\n */\n showAllLevels: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to collapse tags in multiple selection mode\n */\n collapseTags: Boolean,\n /**\n * @description The max tags number to be shown. To use this, collapse-tags must be true\n */\n maxCollapseTags: {\n type: Number,\n default: 1,\n },\n /**\n * @description native input id\n */\n collapseTagsTooltip: Boolean,\n /**\n * @description The max height of collapse tags tooltip, in pixels. To use this, collapse-tags-tooltip must be true\n */\n maxCollapseTagsTooltipHeight: {\n type: [String, Number],\n },\n /**\n * @description debounce delay when typing filter keyword, in milliseconds\n */\n debounce: {\n type: Number,\n default: 300,\n },\n /**\n * @description hook function before filtering with the value to be filtered as its parameter. If `false` is returned or a `Promise` is returned and then is rejected, filtering will be aborted\n */\n beforeFilter: {\n type: definePropType<(value: string) => boolean | Promise<any>>(Function),\n default: () => true,\n },\n /**\n * @description position of dropdown\n */\n placement: {\n type: definePropType<Placement>(String),\n values: placements,\n default: 'bottom-start',\n },\n /**\n * @description list of possible positions for dropdown\n */\n fallbackPlacements: {\n type: definePropType<Placement[]>(Array),\n default: ['bottom-start', 'bottom', 'top-start', 'top', 'right', 'left'],\n },\n /**\n * @description custom class name for Cascader's dropdown\n */\n popperClass: {\n type: String,\n default: '',\n },\n /**\n * @description whether cascader popup is teleported\n */\n teleported: useTooltipContentProps.teleported,\n /**\n * @description tooltip theme, built-in theme: `dark` / `light`\n */\n effect: {\n type: definePropType<PopperEffect>(String),\n default: 'light',\n },\n /**\n * @description tag type\n */\n // eslint-disable-next-line vue/require-prop-types\n tagType: { ...tagProps.type, default: 'info' },\n /**\n * @description tag effect\n */\n tagEffect: { ...tagProps.effect, default: 'light' },\n /**\n * @description whether to trigger form validation\n */\n validateEvent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description when dropdown is inactive and `persistent` is `false`, dropdown will be destroyed\n */\n persistent: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Use `parent` when you want things tidy (like \"Entire Collection\" instead of listing 100 items)\n * Use `child` when every single item matters (like important settings)\n */\n showCheckedStrategy: {\n type: String,\n values: ['parent', 'child'],\n default: 'child',\n },\n /**\n * @description whether to check or uncheck node when clicking on the node\n */\n checkOnClickNode: Boolean,\n /**\n * @description whether to show the radio or checkbox prefix\n */\n showPrefix: {\n type: Boolean,\n default: true,\n },\n ...useEmptyValuesProps,\n})\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nconst emitChangeFn = (value: CascaderValue | null | undefined) => true\n\nexport const cascaderEmits = {\n [UPDATE_MODEL_EVENT]: emitChangeFn,\n [CHANGE_EVENT]: emitChangeFn,\n focus: (evt: FocusEvent) => evt instanceof FocusEvent,\n blur: (evt: FocusEvent) => evt instanceof FocusEvent,\n clear: () => true,\n visibleChange: (val: boolean) => isBoolean(val),\n expandChange: (val: CascaderValue) => !!val,\n removeTag: (val: CascaderNode['valueByOption']) => !!val,\n}\n\n// Type name is taken(cascader-panel/src/node), needs discussion\n// export type CascaderProps = ExtractPropTypes<typeof cascaderProps>\n\nexport type CascaderEmits = typeof cascaderEmits\n"],"names":["buildProps","CommonProps","useSizeProp","iconPropType","CircleClose","definePropType","placements","useTooltipContentProps","tagProps","useEmptyValuesProps","UPDATE_MODEL_EVENT","CHANGE_EVENT","isBoolean"],"mappings":"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"}
@@ -26,6 +26,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
26
26
  placeholder: StringConstructor;
27
27
  disabled: BooleanConstructor;
28
28
  clearable: BooleanConstructor;
29
+ clearIcon: {
30
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
31
+ readonly required: false;
32
+ readonly validator: ((val: unknown) => boolean) | undefined;
33
+ __epPropKey: true;
34
+ };
29
35
  filterable: BooleanConstructor;
30
36
  filterMethod: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (node: CascaderNode, keyword: string) => boolean) | (() => (node: CascaderNode, keyword: string) => boolean) | {
31
37
  (): (node: CascaderNode, keyword: string) => boolean;
@@ -131,6 +137,12 @@ declare const __VLS_component: import("vue").DefineComponent<{
131
137
  placeholder: StringConstructor;
132
138
  disabled: BooleanConstructor;
133
139
  clearable: BooleanConstructor;
140
+ clearIcon: {
141
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component) | ((new (...args: any[]) => (string | import("vue").Component) & {}) | (() => string | import("vue").Component))[], unknown, unknown>>;
142
+ readonly required: false;
143
+ readonly validator: ((val: unknown) => boolean) | undefined;
144
+ __epPropKey: true;
145
+ };
134
146
  filterable: BooleanConstructor;
135
147
  filterMethod: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => (node: CascaderNode, keyword: string) => boolean) | (() => (node: CascaderNode, keyword: string) => boolean) | {
136
148
  (): (node: CascaderNode, keyword: string) => boolean;
@@ -482,7 +482,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
482
482
  onClick: vue.withModifiers(handleClear, ["stop"])
483
483
  }, {
484
484
  default: vue.withCtx(() => [
485
- vue.createVNode(vue.unref(iconsVue.CircleClose))
485
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.clearIcon)))
486
486
  ]),
487
487
  _: 1
488
488
  }, 8, ["class", "onClick"])) : (vue.openBlock(), vue.createBlock(vue.unref(index$6.ElIcon), {