@element-plus/nightly 0.0.20250725 → 0.0.20250728

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 (639) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.full.js +61 -27
  3. package/dist/index.full.min.js +10 -10
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +10 -10
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +61 -28
  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-eg.js +1 -1
  13. package/dist/locale/ar-eg.min.js +1 -1
  14. package/dist/locale/ar-eg.min.mjs +1 -1
  15. package/dist/locale/ar-eg.mjs +1 -1
  16. package/dist/locale/ar.js +1 -1
  17. package/dist/locale/ar.min.js +1 -1
  18. package/dist/locale/ar.min.mjs +1 -1
  19. package/dist/locale/ar.mjs +1 -1
  20. package/dist/locale/az.js +1 -1
  21. package/dist/locale/az.min.js +1 -1
  22. package/dist/locale/az.min.mjs +1 -1
  23. package/dist/locale/az.mjs +1 -1
  24. package/dist/locale/bg.js +1 -1
  25. package/dist/locale/bg.min.js +1 -1
  26. package/dist/locale/bg.min.mjs +1 -1
  27. package/dist/locale/bg.mjs +1 -1
  28. package/dist/locale/bn.js +1 -1
  29. package/dist/locale/bn.min.js +1 -1
  30. package/dist/locale/bn.min.mjs +1 -1
  31. package/dist/locale/bn.mjs +1 -1
  32. package/dist/locale/ca.js +1 -1
  33. package/dist/locale/ca.min.js +1 -1
  34. package/dist/locale/ca.min.mjs +1 -1
  35. package/dist/locale/ca.mjs +1 -1
  36. package/dist/locale/ckb.js +1 -1
  37. package/dist/locale/ckb.min.js +1 -1
  38. package/dist/locale/ckb.min.mjs +1 -1
  39. package/dist/locale/ckb.mjs +1 -1
  40. package/dist/locale/cs.js +1 -1
  41. package/dist/locale/cs.min.js +1 -1
  42. package/dist/locale/cs.min.mjs +1 -1
  43. package/dist/locale/cs.mjs +1 -1
  44. package/dist/locale/da.js +1 -1
  45. package/dist/locale/da.min.js +1 -1
  46. package/dist/locale/da.min.mjs +1 -1
  47. package/dist/locale/da.mjs +1 -1
  48. package/dist/locale/de.js +1 -1
  49. package/dist/locale/de.min.js +1 -1
  50. package/dist/locale/de.min.mjs +1 -1
  51. package/dist/locale/de.mjs +1 -1
  52. package/dist/locale/el.js +1 -1
  53. package/dist/locale/el.min.js +1 -1
  54. package/dist/locale/el.min.mjs +1 -1
  55. package/dist/locale/el.mjs +1 -1
  56. package/dist/locale/en.js +1 -1
  57. package/dist/locale/en.min.js +1 -1
  58. package/dist/locale/en.min.mjs +1 -1
  59. package/dist/locale/en.mjs +1 -1
  60. package/dist/locale/eo.js +1 -1
  61. package/dist/locale/eo.min.js +1 -1
  62. package/dist/locale/eo.min.mjs +1 -1
  63. package/dist/locale/eo.mjs +1 -1
  64. package/dist/locale/es.js +1 -1
  65. package/dist/locale/es.min.js +1 -1
  66. package/dist/locale/es.min.mjs +1 -1
  67. package/dist/locale/es.mjs +1 -1
  68. package/dist/locale/et.js +1 -1
  69. package/dist/locale/et.min.js +1 -1
  70. package/dist/locale/et.min.mjs +1 -1
  71. package/dist/locale/et.mjs +1 -1
  72. package/dist/locale/eu.js +1 -1
  73. package/dist/locale/eu.min.js +1 -1
  74. package/dist/locale/eu.min.mjs +1 -1
  75. package/dist/locale/eu.mjs +1 -1
  76. package/dist/locale/fa.js +1 -1
  77. package/dist/locale/fa.min.js +1 -1
  78. package/dist/locale/fa.min.mjs +1 -1
  79. package/dist/locale/fa.mjs +1 -1
  80. package/dist/locale/fi.js +1 -1
  81. package/dist/locale/fi.min.js +1 -1
  82. package/dist/locale/fi.min.mjs +1 -1
  83. package/dist/locale/fi.mjs +1 -1
  84. package/dist/locale/fr.js +1 -1
  85. package/dist/locale/fr.min.js +1 -1
  86. package/dist/locale/fr.min.mjs +1 -1
  87. package/dist/locale/fr.mjs +1 -1
  88. package/dist/locale/he.js +1 -1
  89. package/dist/locale/he.min.js +1 -1
  90. package/dist/locale/he.min.mjs +1 -1
  91. package/dist/locale/he.mjs +1 -1
  92. package/dist/locale/hi.js +1 -1
  93. package/dist/locale/hi.min.js +1 -1
  94. package/dist/locale/hi.min.mjs +1 -1
  95. package/dist/locale/hi.mjs +1 -1
  96. package/dist/locale/hr.js +1 -1
  97. package/dist/locale/hr.min.js +1 -1
  98. package/dist/locale/hr.min.mjs +1 -1
  99. package/dist/locale/hr.mjs +1 -1
  100. package/dist/locale/hu.js +1 -1
  101. package/dist/locale/hu.min.js +1 -1
  102. package/dist/locale/hu.min.mjs +1 -1
  103. package/dist/locale/hu.mjs +1 -1
  104. package/dist/locale/hy-am.js +1 -1
  105. package/dist/locale/hy-am.min.js +1 -1
  106. package/dist/locale/hy-am.min.mjs +1 -1
  107. package/dist/locale/hy-am.mjs +1 -1
  108. package/dist/locale/id.js +1 -1
  109. package/dist/locale/id.min.js +1 -1
  110. package/dist/locale/id.min.mjs +1 -1
  111. package/dist/locale/id.mjs +1 -1
  112. package/dist/locale/it.js +1 -1
  113. package/dist/locale/it.min.js +1 -1
  114. package/dist/locale/it.min.mjs +1 -1
  115. package/dist/locale/it.mjs +1 -1
  116. package/dist/locale/ja.js +1 -1
  117. package/dist/locale/ja.min.js +1 -1
  118. package/dist/locale/ja.min.mjs +1 -1
  119. package/dist/locale/ja.mjs +1 -1
  120. package/dist/locale/kk.js +1 -1
  121. package/dist/locale/kk.min.js +1 -1
  122. package/dist/locale/kk.min.mjs +1 -1
  123. package/dist/locale/kk.mjs +1 -1
  124. package/dist/locale/km.js +1 -1
  125. package/dist/locale/km.min.js +1 -1
  126. package/dist/locale/km.min.mjs +1 -1
  127. package/dist/locale/km.mjs +1 -1
  128. package/dist/locale/ko.js +1 -1
  129. package/dist/locale/ko.min.js +1 -1
  130. package/dist/locale/ko.min.mjs +1 -1
  131. package/dist/locale/ko.mjs +1 -1
  132. package/dist/locale/ku.js +1 -1
  133. package/dist/locale/ku.min.js +1 -1
  134. package/dist/locale/ku.min.mjs +1 -1
  135. package/dist/locale/ku.mjs +1 -1
  136. package/dist/locale/ky.js +1 -1
  137. package/dist/locale/ky.min.js +1 -1
  138. package/dist/locale/ky.min.mjs +1 -1
  139. package/dist/locale/ky.mjs +1 -1
  140. package/dist/locale/lo.js +1 -1
  141. package/dist/locale/lo.min.js +1 -1
  142. package/dist/locale/lo.min.mjs +1 -1
  143. package/dist/locale/lo.mjs +1 -1
  144. package/dist/locale/lt.js +1 -1
  145. package/dist/locale/lt.min.js +1 -1
  146. package/dist/locale/lt.min.mjs +1 -1
  147. package/dist/locale/lt.mjs +1 -1
  148. package/dist/locale/lv.js +1 -1
  149. package/dist/locale/lv.min.js +1 -1
  150. package/dist/locale/lv.min.mjs +1 -1
  151. package/dist/locale/lv.mjs +1 -1
  152. package/dist/locale/mg.js +1 -1
  153. package/dist/locale/mg.min.js +1 -1
  154. package/dist/locale/mg.min.mjs +1 -1
  155. package/dist/locale/mg.mjs +1 -1
  156. package/dist/locale/mn.js +1 -1
  157. package/dist/locale/mn.min.js +1 -1
  158. package/dist/locale/mn.min.mjs +1 -1
  159. package/dist/locale/mn.mjs +1 -1
  160. package/dist/locale/ms.js +1 -1
  161. package/dist/locale/ms.min.js +1 -1
  162. package/dist/locale/ms.min.mjs +1 -1
  163. package/dist/locale/ms.mjs +1 -1
  164. package/dist/locale/my.js +1 -1
  165. package/dist/locale/my.min.js +1 -1
  166. package/dist/locale/my.min.mjs +1 -1
  167. package/dist/locale/my.mjs +1 -1
  168. package/dist/locale/nb-no.js +1 -1
  169. package/dist/locale/nb-no.min.js +1 -1
  170. package/dist/locale/nb-no.min.mjs +1 -1
  171. package/dist/locale/nb-no.mjs +1 -1
  172. package/dist/locale/nl.js +1 -1
  173. package/dist/locale/nl.min.js +1 -1
  174. package/dist/locale/nl.min.mjs +1 -1
  175. package/dist/locale/nl.mjs +1 -1
  176. package/dist/locale/no.js +1 -1
  177. package/dist/locale/no.min.js +1 -1
  178. package/dist/locale/no.min.mjs +1 -1
  179. package/dist/locale/no.mjs +1 -1
  180. package/dist/locale/pa.js +1 -1
  181. package/dist/locale/pa.min.js +1 -1
  182. package/dist/locale/pa.min.mjs +1 -1
  183. package/dist/locale/pa.mjs +1 -1
  184. package/dist/locale/pl.js +1 -1
  185. package/dist/locale/pl.min.js +1 -1
  186. package/dist/locale/pl.min.mjs +1 -1
  187. package/dist/locale/pl.mjs +1 -1
  188. package/dist/locale/pt-br.js +1 -1
  189. package/dist/locale/pt-br.min.js +1 -1
  190. package/dist/locale/pt-br.min.mjs +1 -1
  191. package/dist/locale/pt-br.mjs +1 -1
  192. package/dist/locale/pt.js +1 -1
  193. package/dist/locale/pt.min.js +1 -1
  194. package/dist/locale/pt.min.mjs +1 -1
  195. package/dist/locale/pt.mjs +1 -1
  196. package/dist/locale/ro.js +1 -1
  197. package/dist/locale/ro.min.js +1 -1
  198. package/dist/locale/ro.min.mjs +1 -1
  199. package/dist/locale/ro.mjs +1 -1
  200. package/dist/locale/ru.js +1 -1
  201. package/dist/locale/ru.min.js +1 -1
  202. package/dist/locale/ru.min.mjs +1 -1
  203. package/dist/locale/ru.mjs +1 -1
  204. package/dist/locale/sk.js +1 -1
  205. package/dist/locale/sk.min.js +1 -1
  206. package/dist/locale/sk.min.mjs +1 -1
  207. package/dist/locale/sk.mjs +1 -1
  208. package/dist/locale/sl.js +1 -1
  209. package/dist/locale/sl.min.js +1 -1
  210. package/dist/locale/sl.min.mjs +1 -1
  211. package/dist/locale/sl.mjs +1 -1
  212. package/dist/locale/sr.js +1 -1
  213. package/dist/locale/sr.min.js +1 -1
  214. package/dist/locale/sr.min.mjs +1 -1
  215. package/dist/locale/sr.mjs +1 -1
  216. package/dist/locale/sv.js +1 -1
  217. package/dist/locale/sv.min.js +1 -1
  218. package/dist/locale/sv.min.mjs +1 -1
  219. package/dist/locale/sv.mjs +1 -1
  220. package/dist/locale/sw.js +1 -1
  221. package/dist/locale/sw.min.js +1 -1
  222. package/dist/locale/sw.min.mjs +1 -1
  223. package/dist/locale/sw.mjs +1 -1
  224. package/dist/locale/ta.js +1 -1
  225. package/dist/locale/ta.min.js +1 -1
  226. package/dist/locale/ta.min.mjs +1 -1
  227. package/dist/locale/ta.mjs +1 -1
  228. package/dist/locale/te.js +1 -1
  229. package/dist/locale/te.min.js +1 -1
  230. package/dist/locale/te.min.mjs +1 -1
  231. package/dist/locale/te.mjs +1 -1
  232. package/dist/locale/th.js +1 -1
  233. package/dist/locale/th.min.js +1 -1
  234. package/dist/locale/th.min.mjs +1 -1
  235. package/dist/locale/th.mjs +1 -1
  236. package/dist/locale/tk.js +1 -1
  237. package/dist/locale/tk.min.js +1 -1
  238. package/dist/locale/tk.min.mjs +1 -1
  239. package/dist/locale/tk.mjs +1 -1
  240. package/dist/locale/tr.js +1 -1
  241. package/dist/locale/tr.min.js +1 -1
  242. package/dist/locale/tr.min.mjs +1 -1
  243. package/dist/locale/tr.mjs +1 -1
  244. package/dist/locale/ug-cn.js +1 -1
  245. package/dist/locale/ug-cn.min.js +1 -1
  246. package/dist/locale/ug-cn.min.mjs +1 -1
  247. package/dist/locale/ug-cn.mjs +1 -1
  248. package/dist/locale/uk.js +1 -1
  249. package/dist/locale/uk.min.js +1 -1
  250. package/dist/locale/uk.min.mjs +1 -1
  251. package/dist/locale/uk.mjs +1 -1
  252. package/dist/locale/uz-uz.js +1 -1
  253. package/dist/locale/uz-uz.min.js +1 -1
  254. package/dist/locale/uz-uz.min.mjs +1 -1
  255. package/dist/locale/uz-uz.mjs +1 -1
  256. package/dist/locale/vi.js +1 -1
  257. package/dist/locale/vi.min.js +1 -1
  258. package/dist/locale/vi.min.mjs +1 -1
  259. package/dist/locale/vi.mjs +1 -1
  260. package/dist/locale/zh-cn.js +1 -1
  261. package/dist/locale/zh-cn.min.js +1 -1
  262. package/dist/locale/zh-cn.min.mjs +1 -1
  263. package/dist/locale/zh-cn.mjs +1 -1
  264. package/dist/locale/zh-hk.js +1 -1
  265. package/dist/locale/zh-hk.min.js +1 -1
  266. package/dist/locale/zh-hk.min.mjs +1 -1
  267. package/dist/locale/zh-hk.mjs +1 -1
  268. package/dist/locale/zh-mo.js +1 -1
  269. package/dist/locale/zh-mo.min.js +1 -1
  270. package/dist/locale/zh-mo.min.mjs +1 -1
  271. package/dist/locale/zh-mo.mjs +1 -1
  272. package/dist/locale/zh-tw.js +1 -1
  273. package/dist/locale/zh-tw.min.js +1 -1
  274. package/dist/locale/zh-tw.min.mjs +1 -1
  275. package/dist/locale/zh-tw.mjs +1 -1
  276. package/es/components/anchor/index.mjs +2 -2
  277. package/es/components/anchor/src/anchor.mjs +207 -40
  278. package/es/components/anchor/src/anchor.mjs.map +1 -1
  279. package/es/components/anchor/src/anchor2.mjs +40 -207
  280. package/es/components/anchor/src/anchor2.mjs.map +1 -1
  281. package/es/components/avatar/index.mjs +2 -2
  282. package/es/components/avatar/src/avatar.mjs +31 -65
  283. package/es/components/avatar/src/avatar.mjs.map +1 -1
  284. package/es/components/avatar/src/avatar2.mjs +65 -31
  285. package/es/components/avatar/src/avatar2.mjs.map +1 -1
  286. package/es/components/button/src/button.vue.d.ts +1 -1
  287. package/es/components/calendar/src/calendar2.mjs +1 -1
  288. package/es/components/calendar/src/date-table.mjs +31 -89
  289. package/es/components/calendar/src/date-table.mjs.map +1 -1
  290. package/es/components/calendar/src/date-table2.mjs +89 -31
  291. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  292. package/es/components/calendar/src/use-date-table.mjs +1 -1
  293. package/es/components/card/index.mjs +1 -1
  294. package/es/components/card/src/card.d.ts +6 -2
  295. package/es/components/card/src/card.mjs +3 -2
  296. package/es/components/card/src/card.mjs.map +1 -1
  297. package/es/components/card/src/card.vue.d.ts +2 -2
  298. package/es/components/card/src/card2.mjs +7 -1
  299. package/es/components/card/src/card2.mjs.map +1 -1
  300. package/es/components/carousel/index.mjs +2 -2
  301. package/es/components/carousel/src/carousel-item.mjs +69 -7
  302. package/es/components/carousel/src/carousel-item.mjs.map +1 -1
  303. package/es/components/carousel/src/carousel-item2.mjs +7 -69
  304. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  305. package/es/components/cascader/src/cascader.d.ts +2 -1
  306. package/es/components/cascader/src/cascader.mjs +4 -0
  307. package/es/components/cascader/src/cascader.mjs.map +1 -1
  308. package/es/components/cascader/src/cascader.vue.d.ts +3 -0
  309. package/es/components/cascader/src/cascader2.mjs +4 -4
  310. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  311. package/es/components/config-provider/src/config-provider-props.d.ts +7 -0
  312. package/es/components/config-provider/src/config-provider-props.mjs +3 -0
  313. package/es/components/config-provider/src/config-provider-props.mjs.map +1 -1
  314. package/es/components/config-provider/src/config-provider.d.ts +12 -0
  315. package/es/components/date-picker/src/composables/use-range-picker.mjs +5 -1
  316. package/es/components/date-picker/src/composables/use-range-picker.mjs.map +1 -1
  317. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs +2 -2
  318. package/es/components/date-picker/src/date-picker-com/basic-date-table.mjs.map +1 -1
  319. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +3 -8
  320. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
  321. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -0
  322. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +10 -5
  323. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
  324. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -0
  325. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -0
  326. package/es/components/date-picker/src/date-picker-com/panel-year-range.vue.d.ts +3 -0
  327. package/es/components/date-picker/src/date-picker.d.ts +3 -0
  328. package/es/components/date-picker/src/panel-utils.d.ts +24 -3
  329. package/es/components/date-picker/src/props/date-picker.d.ts +1 -0
  330. package/es/components/date-picker/src/props/panel-date-pick.d.ts +1 -0
  331. package/es/components/date-picker/src/props/panel-date-range.d.ts +1 -0
  332. package/es/components/date-picker/src/props/panel-month-range.d.ts +1 -0
  333. package/es/components/date-picker/src/props/panel-year-range.d.ts +1 -0
  334. package/es/components/date-picker/src/props/shared.d.ts +2 -0
  335. package/es/components/date-picker/src/props/shared.mjs +8 -0
  336. package/es/components/date-picker/src/props/shared.mjs.map +1 -1
  337. package/es/components/descriptions/index.mjs +2 -2
  338. package/es/components/descriptions/src/description.mjs +26 -127
  339. package/es/components/descriptions/src/description.mjs.map +1 -1
  340. package/es/components/descriptions/src/description2.mjs +127 -26
  341. package/es/components/descriptions/src/description2.mjs.map +1 -1
  342. package/es/components/dialog/src/dialog-content.mjs +29 -88
  343. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  344. package/es/components/dialog/src/dialog-content2.mjs +88 -29
  345. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  346. package/es/components/dialog/src/dialog.mjs +2 -2
  347. package/es/components/dialog/src/dialog2.mjs +1 -1
  348. package/es/components/index.mjs +18 -18
  349. package/es/components/link/index.mjs +2 -2
  350. package/es/components/link/src/link.mjs +71 -25
  351. package/es/components/link/src/link.mjs.map +1 -1
  352. package/es/components/link/src/link2.mjs +25 -71
  353. package/es/components/link/src/link2.mjs.map +1 -1
  354. package/es/components/mention/index.mjs +2 -2
  355. package/es/components/mention/src/mention.mjs +65 -285
  356. package/es/components/mention/src/mention.mjs.map +1 -1
  357. package/es/components/mention/src/mention2.mjs +285 -65
  358. package/es/components/mention/src/mention2.mjs.map +1 -1
  359. package/es/components/page-header/index.mjs +2 -2
  360. package/es/components/page-header/src/page-header.mjs +97 -16
  361. package/es/components/page-header/src/page-header.mjs.map +1 -1
  362. package/es/components/page-header/src/page-header2.mjs +16 -97
  363. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  364. package/es/components/pagination/src/components/pager.mjs +210 -16
  365. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  366. package/es/components/pagination/src/components/pager2.mjs +16 -210
  367. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  368. package/es/components/pagination/src/components/prev.mjs +35 -17
  369. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  370. package/es/components/pagination/src/components/prev2.mjs +17 -35
  371. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  372. package/es/components/pagination/src/components/sizes.mjs +23 -71
  373. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  374. package/es/components/pagination/src/components/sizes2.mjs +71 -23
  375. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  376. package/es/components/pagination/src/pagination.mjs +3 -3
  377. package/es/components/rate/index.mjs +2 -2
  378. package/es/components/rate/src/rate.mjs +258 -83
  379. package/es/components/rate/src/rate.mjs.map +1 -1
  380. package/es/components/rate/src/rate2.mjs +83 -258
  381. package/es/components/rate/src/rate2.mjs.map +1 -1
  382. package/es/components/result/index.mjs +2 -2
  383. package/es/components/result/src/result.mjs +62 -30
  384. package/es/components/result/src/result.mjs.map +1 -1
  385. package/es/components/result/src/result2.mjs +30 -62
  386. package/es/components/result/src/result2.mjs.map +1 -1
  387. package/es/components/row/index.mjs +2 -2
  388. package/es/components/row/src/row.mjs +28 -44
  389. package/es/components/row/src/row.mjs.map +1 -1
  390. package/es/components/row/src/row2.mjs +44 -28
  391. package/es/components/row/src/row2.mjs.map +1 -1
  392. package/es/components/slider/src/button.mjs +91 -19
  393. package/es/components/slider/src/button.mjs.map +1 -1
  394. package/es/components/slider/src/button2.mjs +19 -91
  395. package/es/components/slider/src/button2.mjs.map +1 -1
  396. package/es/components/slider/src/slider2.mjs +1 -1
  397. package/es/components/splitter/src/split-bar.mjs +5 -4
  398. package/es/components/splitter/src/split-bar.mjs.map +1 -1
  399. package/es/components/statistic/index.mjs +2 -2
  400. package/es/components/statistic/src/statistic.mjs +25 -69
  401. package/es/components/statistic/src/statistic.mjs.map +1 -1
  402. package/es/components/statistic/src/statistic2.mjs +69 -25
  403. package/es/components/statistic/src/statistic2.mjs.map +1 -1
  404. package/es/components/steps/index.mjs +2 -2
  405. package/es/components/steps/src/steps.mjs +35 -41
  406. package/es/components/steps/src/steps.mjs.map +1 -1
  407. package/es/components/steps/src/steps2.mjs +41 -35
  408. package/es/components/steps/src/steps2.mjs.map +1 -1
  409. package/es/components/teleport/index.mjs +2 -2
  410. package/es/components/teleport/src/teleport.mjs +18 -8
  411. package/es/components/teleport/src/teleport.mjs.map +1 -1
  412. package/es/components/teleport/src/teleport2.mjs +8 -18
  413. package/es/components/teleport/src/teleport2.mjs.map +1 -1
  414. package/es/components/text/index.mjs +2 -2
  415. package/es/components/text/src/text.mjs +67 -21
  416. package/es/components/text/src/text.mjs.map +1 -1
  417. package/es/components/text/src/text2.mjs +21 -67
  418. package/es/components/text/src/text2.mjs.map +1 -1
  419. package/es/components/time-picker/src/common/picker.mjs +1 -0
  420. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  421. package/es/components/time-picker/src/common/picker.vue.d.ts +4 -0
  422. package/es/components/time-picker/src/common/props.d.ts +1 -0
  423. package/es/components/time-picker/src/common/props.mjs +4 -0
  424. package/es/components/time-picker/src/common/props.mjs.map +1 -1
  425. package/es/components/time-picker/src/time-picker.d.ts +3 -0
  426. package/es/components/time-select/index.mjs +2 -2
  427. package/es/components/time-select/src/time-select.mjs +132 -51
  428. package/es/components/time-select/src/time-select.mjs.map +1 -1
  429. package/es/components/time-select/src/time-select2.mjs +51 -132
  430. package/es/components/time-select/src/time-select2.mjs.map +1 -1
  431. package/es/components/tooltip/src/content.mjs +1 -1
  432. package/es/components/tour/index.mjs +3 -3
  433. package/es/components/tour/src/content.mjs +43 -67
  434. package/es/components/tour/src/content.mjs.map +1 -1
  435. package/es/components/tour/src/content2.mjs +67 -43
  436. package/es/components/tour/src/content2.mjs.map +1 -1
  437. package/es/components/tour/src/step.mjs +1 -1
  438. package/es/components/tour/src/tour.mjs +154 -69
  439. package/es/components/tour/src/tour.mjs.map +1 -1
  440. package/es/components/tour/src/tour2.mjs +69 -154
  441. package/es/components/tour/src/tour2.mjs.map +1 -1
  442. package/es/components/tree/src/tree.mjs +4 -1
  443. package/es/components/tree/src/tree.mjs.map +1 -1
  444. package/es/components/upload/index.mjs +1 -1
  445. package/es/components/upload/src/upload-content2.mjs +1 -1
  446. package/es/components/upload/src/upload-dragger.mjs +8 -61
  447. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  448. package/es/components/upload/src/upload-dragger2.mjs +61 -8
  449. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  450. package/es/index.d.ts +42 -4
  451. package/es/index.mjs +18 -18
  452. package/es/version.d.ts +1 -1
  453. package/es/version.mjs +1 -1
  454. package/es/version.mjs.map +1 -1
  455. package/lib/components/anchor/index.js +2 -2
  456. package/lib/components/anchor/src/anchor.js +206 -40
  457. package/lib/components/anchor/src/anchor.js.map +1 -1
  458. package/lib/components/anchor/src/anchor2.js +40 -206
  459. package/lib/components/anchor/src/anchor2.js.map +1 -1
  460. package/lib/components/avatar/index.js +2 -2
  461. package/lib/components/avatar/src/avatar.js +32 -65
  462. package/lib/components/avatar/src/avatar.js.map +1 -1
  463. package/lib/components/avatar/src/avatar2.js +65 -32
  464. package/lib/components/avatar/src/avatar2.js.map +1 -1
  465. package/lib/components/button/src/button.vue.d.ts +1 -1
  466. package/lib/components/calendar/src/calendar2.js +1 -1
  467. package/lib/components/calendar/src/date-table.js +35 -89
  468. package/lib/components/calendar/src/date-table.js.map +1 -1
  469. package/lib/components/calendar/src/date-table2.js +89 -35
  470. package/lib/components/calendar/src/date-table2.js.map +1 -1
  471. package/lib/components/calendar/src/use-date-table.js +1 -1
  472. package/lib/components/card/index.js +1 -0
  473. package/lib/components/card/index.js.map +1 -1
  474. package/lib/components/card/src/card.d.ts +6 -2
  475. package/lib/components/card/src/card.js +3 -1
  476. package/lib/components/card/src/card.js.map +1 -1
  477. package/lib/components/card/src/card.vue.d.ts +2 -2
  478. package/lib/components/card/src/card2.js +7 -1
  479. package/lib/components/card/src/card2.js.map +1 -1
  480. package/lib/components/carousel/index.js +2 -2
  481. package/lib/components/carousel/src/carousel-item.js +69 -7
  482. package/lib/components/carousel/src/carousel-item.js.map +1 -1
  483. package/lib/components/carousel/src/carousel-item2.js +7 -69
  484. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  485. package/lib/components/cascader/src/cascader.d.ts +2 -1
  486. package/lib/components/cascader/src/cascader.js +4 -0
  487. package/lib/components/cascader/src/cascader.js.map +1 -1
  488. package/lib/components/cascader/src/cascader.vue.d.ts +3 -0
  489. package/lib/components/cascader/src/cascader2.js +4 -4
  490. package/lib/components/cascader/src/cascader2.js.map +1 -1
  491. package/lib/components/config-provider/src/config-provider-props.d.ts +7 -0
  492. package/lib/components/config-provider/src/config-provider-props.js +3 -0
  493. package/lib/components/config-provider/src/config-provider-props.js.map +1 -1
  494. package/lib/components/config-provider/src/config-provider.d.ts +12 -0
  495. package/lib/components/date-picker/src/composables/use-range-picker.js +5 -1
  496. package/lib/components/date-picker/src/composables/use-range-picker.js.map +1 -1
  497. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js +1 -1
  498. package/lib/components/date-picker/src/date-picker-com/basic-date-table.js.map +1 -1
  499. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +3 -8
  500. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
  501. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +3 -0
  502. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +9 -4
  503. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
  504. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +3 -0
  505. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -0
  506. package/lib/components/date-picker/src/date-picker-com/panel-year-range.vue.d.ts +3 -0
  507. package/lib/components/date-picker/src/date-picker.d.ts +3 -0
  508. package/lib/components/date-picker/src/panel-utils.d.ts +24 -3
  509. package/lib/components/date-picker/src/props/date-picker.d.ts +1 -0
  510. package/lib/components/date-picker/src/props/panel-date-pick.d.ts +1 -0
  511. package/lib/components/date-picker/src/props/panel-date-range.d.ts +1 -0
  512. package/lib/components/date-picker/src/props/panel-month-range.d.ts +1 -0
  513. package/lib/components/date-picker/src/props/panel-year-range.d.ts +1 -0
  514. package/lib/components/date-picker/src/props/shared.d.ts +2 -0
  515. package/lib/components/date-picker/src/props/shared.js +8 -0
  516. package/lib/components/date-picker/src/props/shared.js.map +1 -1
  517. package/lib/components/descriptions/index.js +2 -2
  518. package/lib/components/descriptions/src/description.js +26 -127
  519. package/lib/components/descriptions/src/description.js.map +1 -1
  520. package/lib/components/descriptions/src/description2.js +127 -26
  521. package/lib/components/descriptions/src/description2.js.map +1 -1
  522. package/lib/components/dialog/src/dialog-content.js +29 -87
  523. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  524. package/lib/components/dialog/src/dialog-content2.js +87 -29
  525. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  526. package/lib/components/dialog/src/dialog.js +2 -2
  527. package/lib/components/dialog/src/dialog2.js +1 -1
  528. package/lib/components/index.js +18 -17
  529. package/lib/components/index.js.map +1 -1
  530. package/lib/components/link/index.js +2 -2
  531. package/lib/components/link/src/link.js +71 -26
  532. package/lib/components/link/src/link.js.map +1 -1
  533. package/lib/components/link/src/link2.js +26 -71
  534. package/lib/components/link/src/link2.js.map +1 -1
  535. package/lib/components/mention/index.js +2 -2
  536. package/lib/components/mention/src/mention.js +64 -283
  537. package/lib/components/mention/src/mention.js.map +1 -1
  538. package/lib/components/mention/src/mention2.js +283 -64
  539. package/lib/components/mention/src/mention2.js.map +1 -1
  540. package/lib/components/page-header/index.js +2 -2
  541. package/lib/components/page-header/src/page-header.js +97 -17
  542. package/lib/components/page-header/src/page-header.js.map +1 -1
  543. package/lib/components/page-header/src/page-header2.js +17 -97
  544. package/lib/components/page-header/src/page-header2.js.map +1 -1
  545. package/lib/components/pagination/src/components/pager.js +210 -16
  546. package/lib/components/pagination/src/components/pager.js.map +1 -1
  547. package/lib/components/pagination/src/components/pager2.js +16 -210
  548. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  549. package/lib/components/pagination/src/components/prev.js +35 -18
  550. package/lib/components/pagination/src/components/prev.js.map +1 -1
  551. package/lib/components/pagination/src/components/prev2.js +18 -35
  552. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  553. package/lib/components/pagination/src/components/sizes.js +23 -71
  554. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  555. package/lib/components/pagination/src/components/sizes2.js +71 -23
  556. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  557. package/lib/components/pagination/src/pagination.js +3 -3
  558. package/lib/components/rate/index.js +2 -2
  559. package/lib/components/rate/src/rate.js +257 -83
  560. package/lib/components/rate/src/rate.js.map +1 -1
  561. package/lib/components/rate/src/rate2.js +83 -257
  562. package/lib/components/rate/src/rate2.js.map +1 -1
  563. package/lib/components/result/index.js +2 -2
  564. package/lib/components/result/src/result.js +62 -32
  565. package/lib/components/result/src/result.js.map +1 -1
  566. package/lib/components/result/src/result2.js +32 -62
  567. package/lib/components/result/src/result2.js.map +1 -1
  568. package/lib/components/row/index.js +2 -2
  569. package/lib/components/row/src/row.js +30 -44
  570. package/lib/components/row/src/row.js.map +1 -1
  571. package/lib/components/row/src/row2.js +44 -30
  572. package/lib/components/row/src/row2.js.map +1 -1
  573. package/lib/components/slider/src/button.js +91 -20
  574. package/lib/components/slider/src/button.js.map +1 -1
  575. package/lib/components/slider/src/button2.js +20 -91
  576. package/lib/components/slider/src/button2.js.map +1 -1
  577. package/lib/components/slider/src/slider2.js +1 -1
  578. package/lib/components/splitter/src/split-bar.js +5 -4
  579. package/lib/components/splitter/src/split-bar.js.map +1 -1
  580. package/lib/components/statistic/index.js +2 -2
  581. package/lib/components/statistic/src/statistic.js +25 -69
  582. package/lib/components/statistic/src/statistic.js.map +1 -1
  583. package/lib/components/statistic/src/statistic2.js +69 -25
  584. package/lib/components/statistic/src/statistic2.js.map +1 -1
  585. package/lib/components/steps/index.js +2 -2
  586. package/lib/components/steps/src/steps.js +36 -41
  587. package/lib/components/steps/src/steps.js.map +1 -1
  588. package/lib/components/steps/src/steps2.js +41 -36
  589. package/lib/components/steps/src/steps2.js.map +1 -1
  590. package/lib/components/teleport/index.js +2 -2
  591. package/lib/components/teleport/src/teleport.js +18 -8
  592. package/lib/components/teleport/src/teleport.js.map +1 -1
  593. package/lib/components/teleport/src/teleport2.js +8 -18
  594. package/lib/components/teleport/src/teleport2.js.map +1 -1
  595. package/lib/components/text/index.js +2 -2
  596. package/lib/components/text/src/text.js +67 -21
  597. package/lib/components/text/src/text.js.map +1 -1
  598. package/lib/components/text/src/text2.js +21 -67
  599. package/lib/components/text/src/text2.js.map +1 -1
  600. package/lib/components/time-picker/src/common/picker.js +1 -0
  601. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  602. package/lib/components/time-picker/src/common/picker.vue.d.ts +4 -0
  603. package/lib/components/time-picker/src/common/props.d.ts +1 -0
  604. package/lib/components/time-picker/src/common/props.js +4 -0
  605. package/lib/components/time-picker/src/common/props.js.map +1 -1
  606. package/lib/components/time-picker/src/time-picker.d.ts +3 -0
  607. package/lib/components/time-select/index.js +2 -2
  608. package/lib/components/time-select/src/time-select.js +137 -51
  609. package/lib/components/time-select/src/time-select.js.map +1 -1
  610. package/lib/components/time-select/src/time-select2.js +51 -137
  611. package/lib/components/time-select/src/time-select2.js.map +1 -1
  612. package/lib/components/tooltip/src/content.js +1 -1
  613. package/lib/components/tour/index.js +3 -3
  614. package/lib/components/tour/src/content.js +46 -67
  615. package/lib/components/tour/src/content.js.map +1 -1
  616. package/lib/components/tour/src/content2.js +67 -46
  617. package/lib/components/tour/src/content2.js.map +1 -1
  618. package/lib/components/tour/src/step.js +1 -1
  619. package/lib/components/tour/src/tour.js +152 -68
  620. package/lib/components/tour/src/tour.js.map +1 -1
  621. package/lib/components/tour/src/tour2.js +68 -152
  622. package/lib/components/tour/src/tour2.js.map +1 -1
  623. package/lib/components/tree/src/tree.js +4 -1
  624. package/lib/components/tree/src/tree.js.map +1 -1
  625. package/lib/components/upload/index.js +1 -1
  626. package/lib/components/upload/src/upload-content2.js +1 -1
  627. package/lib/components/upload/src/upload-dragger.js +9 -61
  628. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  629. package/lib/components/upload/src/upload-dragger2.js +61 -9
  630. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  631. package/lib/index.d.ts +42 -4
  632. package/lib/index.js +18 -17
  633. package/lib/index.js.map +1 -1
  634. package/lib/version.d.ts +1 -1
  635. package/lib/version.js +1 -1
  636. package/lib/version.js.map +1 -1
  637. package/package.json +2 -2
  638. package/tags.json +1 -1
  639. package/web-types.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.ts"],"sourcesContent":["import { buildProps, isArray } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type UploadDragger from './upload-dragger.vue'\n\nexport const uploadDraggerProps = buildProps({\n disabled: Boolean,\n} as const)\nexport type UploadDraggerProps = ExtractPropTypes<typeof uploadDraggerProps>\nexport type UploadDraggerPropsPublic = __ExtractPublicPropTypes<\n typeof uploadDraggerProps\n>\n\nexport const uploadDraggerEmits = {\n file: (file: File[]) => isArray(file),\n}\nexport type UploadDraggerEmits = typeof uploadDraggerEmits\n\nexport type UploadDraggerInstance = InstanceType<typeof UploadDragger> & unknown\n"],"names":[],"mappings":";;;AACY,MAAC,kBAAkB,GAAG,UAAU,CAAC;AAC7C,EAAE,QAAQ,EAAE,OAAO;AACnB,CAAC,EAAE;AACS,MAAC,kBAAkB,GAAG;AAClC,EAAE,IAAI,EAAE,CAAC,IAAI,KAAK,OAAO,CAAC,IAAI,CAAC;AAC/B;;;;"}
1
+ {"version":3,"file":"upload-dragger2.mjs","sources":["../../../../../../packages/components/upload/src/upload-dragger.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b('dragger'), ns.is('dragover', dragover)]\"\n @drop.prevent=\"onDrop\"\n @dragover.prevent=\"onDragover\"\n @dragleave.prevent=\"onDragleave\"\n >\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject, ref } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { useFormDisabled } from '@element-plus/components/form'\nimport { throwError } from '@element-plus/utils/error'\nimport { uploadContextKey } from './constants'\nimport { uploadDraggerEmits, uploadDraggerProps } from './upload-dragger'\n\nimport type { UploadRawFile } from './upload'\n\nconst COMPONENT_NAME = 'ElUploadDrag'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\ndefineProps(uploadDraggerProps)\nconst emit = defineEmits(uploadDraggerEmits)\n\nconst uploaderContext = inject(uploadContextKey)\nif (!uploaderContext) {\n throwError(\n COMPONENT_NAME,\n 'usage: <el-upload><el-upload-dragger /></el-upload>'\n )\n}\n\nconst ns = useNamespace('upload')\nconst dragover = ref(false)\nconst disabled = useFormDisabled()\n\nconst onDrop = (e: DragEvent) => {\n if (disabled.value) return\n dragover.value = false\n\n e.stopPropagation()\n\n const files = Array.from(e.dataTransfer!.files) as UploadRawFile[]\n const items = e.dataTransfer!.items || []\n files.forEach((file, index) => {\n const item = items[index]\n const entry = item?.webkitGetAsEntry?.()\n if (entry) {\n file.isDirectory = entry.isDirectory\n }\n })\n emit('file', files)\n}\n\nconst onDragover = () => {\n if (!disabled.value) dragover.value = true\n}\n\nconst onDragleave = (e: DragEvent) => {\n if (!(e.currentTarget as Element).contains(e.relatedTarget as Element))\n dragover.value = false\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAuBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAKA,IAAM,MAAA,eAAA,GAAkB,OAAO,gBAAgB,CAAA,CAAA;AAC/C,IAAA,IAAI,CAAC,eAAiB,EAAA;AACpB,MAAA,UAAA,CAAA,cAAA,EAAA,qDAAA,CAAA,CAAA;AAAA,KACE;AAAA,IACA,MAAA,EAAA,GAAA,YAAA,CAAA,QAAA,CAAA,CAAA;AAAA,IACF,MAAA,QAAA,GAAA,GAAA,CAAA,KAAA,CAAA,CAAA;AAAA,IACF,MAAA,QAAA,GAAA,eAAA,EAAA,CAAA;AAEA,IAAM,MAAA;AACN,MAAM,IAAA,QAAA,CAAA;AACN,QAAA;AAEA,MAAM,QAAA,CAAA,KAAU,GAAiB,KAAA,CAAA;AAC/B,MAAA,CAAA,CAAA,eAAoB,EAAA,CAAA;AACpB,MAAA,MAAA,KAAiB,GAAA,KAAA,CAAA,IAAA,CAAA,CAAA,CAAA,YAAA,CAAA,KAAA,CAAA,CAAA;AAEjB,MAAA,MAAkB,KAAA,GAAA,CAAA,CAAA,YAAA,CAAA,KAAA,IAAA,EAAA,CAAA;AAElB,MAAA,KAAA,CAAM,OAAQ,CAAA,CAAA,IAAA,EAAW,KAAA;AACzB,QAAA,IAAM,EAAQ,CAAA;AACd,QAAM,MAAA,IAAA,GAAS,KAAA,CAAM,KAAU,CAAA,CAAA;AAC7B,QAAM,MAAA,KAAA,SAAkB,IAAA,IAAA,IAAA,GAAA,KAAA,CAAA,GAAA,IAAA,CAAA,gBAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,IAAA,CAAA,CAAA;AACxB,QAAM,IAAA,KAAA,EAAA;AACN,UAAA,IAAW,CAAA,WAAA,GAAA,KAAA,CAAA,WAAA,CAAA;AACT,SAAA;AAAyB,OAC3B,CAAA,CAAA;AAAA,MACF,IAAC,CAAA,MAAA,EAAA,KAAA,CAAA,CAAA;AACD,KAAA,CAAA;AAAkB,IACpB,MAAA,UAAA,GAAA,MAAA;AAEA,MAAA,IAAM,eAAmB;AACvB,QAAA,QAAK,CAAA,KAAgB,GAAA,IAAA,CAAA;AAAiB,KACxC,CAAA;AAEA,IAAM,MAAA,WAAA,GAAc,CAAC,CAAiB,KAAA;AACpC,MAAA,IAAI,CAAE,CAAA,CAAE,aAA0B,CAAA,QAAA,CAAS,EAAE,aAAwB,CAAA;AACnE,QAAA,QAAA,CAAS,KAAQ,GAAA,KAAA,CAAA;AAAA,KACrB,CAAA;;;;;;;;;;;;;;;;;"}
package/es/index.d.ts CHANGED
@@ -381,9 +381,9 @@ declare const __VLS_component_14: DefineComponent<{
381
381
  readonly autofocus: boolean;
382
382
  readonly tag: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
383
383
  readonly plain: EpPropMergeType<BooleanConstructor, unknown, unknown>;
384
+ readonly autoInsertSpace: EpPropMergeType<BooleanConstructor, unknown, unknown>;
384
385
  readonly nativeType: EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
385
386
  readonly loadingIcon: EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | ((new (...args: any[]) => (string | Component) & {}) | (() => string | Component))[], unknown, unknown>;
386
- readonly autoInsertSpace: EpPropMergeType<BooleanConstructor, unknown, unknown>;
387
387
  }>;
388
388
  declare const __VLS_component_15: DefineComponent<{
389
389
  readonly size: {
@@ -526,7 +526,7 @@ declare const __VLS_component_18: DefineComponent<{
526
526
  readonly headerClass: StringConstructor;
527
527
  readonly bodyClass: StringConstructor;
528
528
  readonly footerClass: StringConstructor;
529
- readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "always", boolean>;
529
+ readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
530
530
  }, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, Record<string, any>, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
531
531
  readonly header: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
532
532
  readonly footer: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -534,7 +534,7 @@ declare const __VLS_component_18: DefineComponent<{
534
534
  readonly headerClass: StringConstructor;
535
535
  readonly bodyClass: StringConstructor;
536
536
  readonly footerClass: StringConstructor;
537
- readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "always", boolean>;
537
+ readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
538
538
  }>>, {
539
539
  readonly footer: string;
540
540
  readonly header: string;
@@ -711,6 +711,7 @@ declare const __VLS_component_21: DefineComponent<{
711
711
  fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
712
712
  popperClass: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
713
713
  teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
714
+ effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
714
715
  tagType: {
715
716
  default: string;
716
717
  type: PropType<EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
@@ -820,6 +821,7 @@ declare const __VLS_component_21: DefineComponent<{
820
821
  fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
821
822
  popperClass: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
822
823
  teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
824
+ effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
823
825
  tagType: {
824
826
  default: string;
825
827
  type: PropType<EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
@@ -862,6 +864,7 @@ declare const __VLS_component_21: DefineComponent<{
862
864
  props: CascaderProps;
863
865
  placement: EpPropMergeType<(new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | ((new (...args: any[]) => "top" | "bottom" | "left" | "right" | "auto" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement))[], Placement, unknown>;
864
866
  options: CascaderOption[];
867
+ effect: EpPropMergeType<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown>;
865
868
  valueOnClear: EpPropMergeType<readonly [
866
869
  StringConstructor,
867
870
  NumberConstructor,
@@ -6321,6 +6324,7 @@ declare const __VLS_component_70: DefineComponent<{
6321
6324
  }>;
6322
6325
  declare const __VLS_component_71: DefineComponent<{
6323
6326
  readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
6327
+ readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
6324
6328
  readonly showWeekNumber: BooleanConstructor;
6325
6329
  readonly ariaLabel: StringConstructor;
6326
6330
  readonly emptyValues: ArrayConstructor;
@@ -6489,6 +6493,7 @@ declare const __VLS_component_71: DefineComponent<{
6489
6493
  "visible-change": (...args: any[]) => void;
6490
6494
  }, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
6491
6495
  readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
6496
+ readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
6492
6497
  readonly showWeekNumber: BooleanConstructor;
6493
6498
  readonly ariaLabel: StringConstructor;
6494
6499
  readonly emptyValues: ArrayConstructor;
@@ -6664,6 +6669,7 @@ declare const __VLS_component_71: DefineComponent<{
6664
6669
  readonly rangeSeparator: string;
6665
6670
  readonly shortcuts: unknown[];
6666
6671
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
6672
+ readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
6667
6673
  readonly showWeekNumber: boolean;
6668
6674
  readonly arrowControl: boolean;
6669
6675
  readonly unlinkPanels: boolean;
@@ -9900,6 +9906,7 @@ declare function __VLS_template_71(): {
9900
9906
  Date
9901
9907
  ]) | (() => SingleOrRange<Date>))[], unknown, unknown> | undefined;
9902
9908
  showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
9909
+ showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
9903
9910
  showWeekNumber: boolean;
9904
9911
  onMousedown: any;
9905
9912
  onPanelChange: any;
@@ -10996,6 +11003,10 @@ export declare const calendarProps: {
10996
11003
  };
10997
11004
  export declare type CalendarPropsPublic = __ExtractPublicPropTypes<typeof calendarProps>;
10998
11005
  export declare type Callback = ((value: string, action: Action) => any) | ((action: Action) => any);
11006
+ export declare interface CardConfigContext {
11007
+ shadow?: string;
11008
+ }
11009
+ export declare const cardContextKey: InjectionKey<CardConfigContext>;
10999
11010
  export declare type CardInstance = InstanceType<typeof _default_18> & unknown;
11000
11011
  export declare type CardProps = ExtractPropTypes<typeof cardProps>;
11001
11012
  export declare const cardProps: {
@@ -11005,7 +11016,7 @@ export declare const cardProps: {
11005
11016
  readonly headerClass: StringConstructor;
11006
11017
  readonly bodyClass: StringConstructor;
11007
11018
  readonly footerClass: StringConstructor;
11008
- readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, "always", boolean>;
11019
+ readonly shadow: EpPropFinalized<StringConstructor, "always" | "never" | "hover", unknown, undefined, boolean>;
11009
11020
  };
11010
11021
  export declare type CardPropsPublic = __ExtractPublicPropTypes<typeof cardProps>;
11011
11022
  export declare const CAROUSEL_ITEM_NAME = "ElCarouselItem";
@@ -11241,6 +11252,7 @@ export declare const cascaderProps: {
11241
11252
  fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
11242
11253
  popperClass: EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
11243
11254
  teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
11255
+ effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
11244
11256
  tagType: {
11245
11257
  default: string;
11246
11258
  type: PropType<EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
@@ -11739,6 +11751,12 @@ declare const ConfigProvider: DefineComponent<{
11739
11751
  readonly validator: ((val: unknown) => boolean) | undefined;
11740
11752
  __epPropKey: true;
11741
11753
  };
11754
+ readonly card: {
11755
+ readonly type: PropType<CardConfigContext>;
11756
+ readonly required: false;
11757
+ readonly validator: ((val: unknown) => boolean) | undefined;
11758
+ __epPropKey: true;
11759
+ };
11742
11760
  readonly link: {
11743
11761
  readonly type: PropType<LinkConfigContext>;
11744
11762
  readonly required: false;
@@ -11789,6 +11807,12 @@ declare const ConfigProvider: DefineComponent<{
11789
11807
  readonly validator: ((val: unknown) => boolean) | undefined;
11790
11808
  __epPropKey: true;
11791
11809
  };
11810
+ readonly card: {
11811
+ readonly type: PropType<CardConfigContext>;
11812
+ readonly required: false;
11813
+ readonly validator: ((val: unknown) => boolean) | undefined;
11814
+ __epPropKey: true;
11815
+ };
11792
11816
  readonly link: {
11793
11817
  readonly type: PropType<LinkConfigContext>;
11794
11818
  readonly required: false;
@@ -11852,6 +11876,12 @@ export declare const configProviderProps: {
11852
11876
  readonly validator: ((val: unknown) => boolean) | undefined;
11853
11877
  __epPropKey: true;
11854
11878
  };
11879
+ readonly card: {
11880
+ readonly type: PropType<CardConfigContext>;
11881
+ readonly required: false;
11882
+ readonly validator: ((val: unknown) => boolean) | undefined;
11883
+ __epPropKey: true;
11884
+ };
11855
11885
  readonly link: {
11856
11886
  readonly type: PropType<LinkConfigContext>;
11857
11887
  readonly required: false;
@@ -12174,6 +12204,7 @@ export declare type DatePickerProps = ExtractPropTypes<typeof datePickerProps>;
12174
12204
  export declare const datePickerProps: {
12175
12205
  readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
12176
12206
  readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
12207
+ readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
12177
12208
  readonly showWeekNumber: BooleanConstructor;
12178
12209
  readonly ariaLabel: StringConstructor;
12179
12210
  readonly emptyValues: ArrayConstructor;
@@ -12513,6 +12544,7 @@ declare const _default_38: __VLS_WithTemplateSlots_37<typeof __VLS_component_37,
12513
12544
  declare const _default_39: DefineComponent<{
12514
12545
  readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
12515
12546
  readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
12547
+ readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
12516
12548
  readonly showWeekNumber: BooleanConstructor;
12517
12549
  readonly ariaLabel: StringConstructor;
12518
12550
  readonly emptyValues: ArrayConstructor;
@@ -12650,6 +12682,7 @@ declare const _default_39: DefineComponent<{
12650
12682
  }, () => JSX.Element, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
12651
12683
  readonly type: EpPropFinalized<(new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType) | ((new (...args: any[]) => "year" | "years" | "month" | "months" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => IDatePickerType))[], unknown, unknown, "date", boolean>;
12652
12684
  readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
12685
+ readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
12653
12686
  readonly showWeekNumber: BooleanConstructor;
12654
12687
  readonly ariaLabel: StringConstructor;
12655
12688
  readonly emptyValues: ArrayConstructor;
@@ -12816,6 +12849,7 @@ declare const _default_39: DefineComponent<{
12816
12849
  readonly rangeSeparator: string;
12817
12850
  readonly shortcuts: unknown[];
12818
12851
  readonly showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
12852
+ readonly showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
12819
12853
  readonly showWeekNumber: boolean;
12820
12854
  readonly arrowControl: boolean;
12821
12855
  readonly unlinkPanels: boolean;
@@ -15811,6 +15845,7 @@ declare const _default_89: DefineComponent<{
15811
15845
  */
15812
15846
  isRange: BooleanConstructor;
15813
15847
  showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
15848
+ showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
15814
15849
  showWeekNumber: BooleanConstructor;
15815
15850
  ariaLabel: StringConstructor;
15816
15851
  emptyValues: ArrayConstructor;
@@ -15951,6 +15986,7 @@ declare const _default_89: DefineComponent<{
15951
15986
  */
15952
15987
  isRange: BooleanConstructor;
15953
15988
  showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
15989
+ showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
15954
15990
  showWeekNumber: BooleanConstructor;
15955
15991
  ariaLabel: StringConstructor;
15956
15992
  emptyValues: ArrayConstructor;
@@ -16117,6 +16153,7 @@ declare const _default_89: DefineComponent<{
16117
16153
  rangeSeparator: string;
16118
16154
  shortcuts: unknown[];
16119
16155
  showNow: EpPropMergeType<BooleanConstructor, unknown, unknown>;
16156
+ showFooter: EpPropMergeType<BooleanConstructor, unknown, unknown>;
16120
16157
  showWeekNumber: boolean;
16121
16158
  arrowControl: boolean;
16122
16159
  unlinkPanels: boolean;
@@ -24326,6 +24363,7 @@ export declare type TimeList = [
24326
24363
  export declare type TimePickerDefaultProps = ExtractPropTypes<typeof timePickerDefaultProps>;
24327
24364
  export declare const timePickerDefaultProps: {
24328
24365
  readonly showNow: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
24366
+ readonly showFooter: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
24329
24367
  readonly showWeekNumber: BooleanConstructor;
24330
24368
  readonly ariaLabel: StringConstructor;
24331
24369
  readonly emptyValues: ArrayConstructor;
package/es/index.mjs CHANGED
@@ -8,7 +8,7 @@ export { alertEffects, alertEmits, alertProps } from './components/alert/src/ale
8
8
  export { ElAlert } from './components/alert/index.mjs';
9
9
  export { autocompleteEmits, autocompleteProps } from './components/autocomplete/src/autocomplete.mjs';
10
10
  export { ElAutocomplete } from './components/autocomplete/index.mjs';
11
- export { avatarEmits, avatarProps } from './components/avatar/src/avatar2.mjs';
11
+ export { avatarEmits, avatarProps } from './components/avatar/src/avatar.mjs';
12
12
  export { ElAvatar } from './components/avatar/index.mjs';
13
13
  export { backtopEmits, backtopProps } from './components/backtop/src/backtop.mjs';
14
14
  export { ElBacktop } from './components/backtop/index.mjs';
@@ -23,10 +23,10 @@ export { buttonGroupContextKey } from './components/button/src/constants.mjs';
23
23
  export { ElButton, ElButtonGroup } from './components/button/index.mjs';
24
24
  export { calendarEmits, calendarProps } from './components/calendar/src/calendar.mjs';
25
25
  export { ElCalendar } from './components/calendar/index.mjs';
26
- export { cardProps } from './components/card/src/card.mjs';
26
+ export { cardContextKey, cardProps } from './components/card/src/card.mjs';
27
27
  export { ElCard } from './components/card/index.mjs';
28
28
  export { carouselEmits, carouselProps } from './components/carousel/src/carousel.mjs';
29
- export { carouselItemProps } from './components/carousel/src/carousel-item.mjs';
29
+ export { carouselItemProps } from './components/carousel/src/carousel-item2.mjs';
30
30
  export { CAROUSEL_ITEM_NAME, carouselContextKey } from './components/carousel/src/constants.mjs';
31
31
  export { ElCarousel, ElCarouselItem } from './components/carousel/index.mjs';
32
32
  export { cascaderEmits, cascaderProps } from './components/cascader/src/cascader.mjs';
@@ -60,7 +60,7 @@ export { ElCountdown } from './components/countdown/index.mjs';
60
60
  export { ROOT_PICKER_INJECTION_KEY, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY } from './components/date-picker/src/constants.mjs';
61
61
  export { datePickerProps } from './components/date-picker/src/props/date-picker.mjs';
62
62
  export { ElDatePicker } from './components/date-picker/index.mjs';
63
- export { descriptionProps } from './components/descriptions/src/description2.mjs';
63
+ export { descriptionProps } from './components/descriptions/src/description.mjs';
64
64
  export { descriptionItemProps } from './components/descriptions/src/description-item.mjs';
65
65
  export { ElDescriptions, ElDescriptionsItem } from './components/descriptions/index.mjs';
66
66
  export { useDialog } from './components/dialog/src/use-dialog.mjs';
@@ -94,7 +94,7 @@ export { inputNumberEmits, inputNumberProps } from './components/input-number/sr
94
94
  export { ElInputNumber } from './components/input-number/index.mjs';
95
95
  export { inputTagEmits, inputTagProps } from './components/input-tag/src/input-tag.mjs';
96
96
  export { ElInputTag } from './components/input-tag/index.mjs';
97
- export { linkEmits, linkProps } from './components/link/src/link.mjs';
97
+ export { linkEmits, linkProps } from './components/link/src/link2.mjs';
98
98
  export { ElLink } from './components/link/index.mjs';
99
99
  export { menuEmits, menuProps } from './components/menu/src/menu.mjs';
100
100
  export { menuItemEmits, menuItemProps } from './components/menu/src/menu-item.mjs';
@@ -104,7 +104,7 @@ export { MENU_INJECTION_KEY, SUB_MENU_INJECTION_KEY } from './components/menu/sr
104
104
  export { ElMenu, ElMenuItem, ElMenuItemGroup, ElSubMenu } from './components/menu/index.mjs';
105
105
  export { overlayEmits, overlayProps } from './components/overlay/src/overlay.mjs';
106
106
  export { ElOverlay } from './components/overlay/index.mjs';
107
- export { pageHeaderEmits, pageHeaderProps } from './components/page-header/src/page-header.mjs';
107
+ export { pageHeaderEmits, pageHeaderProps } from './components/page-header/src/page-header2.mjs';
108
108
  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';
@@ -127,11 +127,11 @@ export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-g
127
127
  export { radioButtonProps } from './components/radio/src/radio-button.mjs';
128
128
  export { radioGroupKey } from './components/radio/src/constants.mjs';
129
129
  export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index.mjs';
130
- export { rateEmits, rateProps } from './components/rate/src/rate.mjs';
130
+ export { rateEmits, rateProps } from './components/rate/src/rate2.mjs';
131
131
  export { ElRate } from './components/rate/index.mjs';
132
- export { IconComponentMap, IconMap, resultProps } from './components/result/src/result.mjs';
132
+ export { IconComponentMap, IconMap, resultProps } from './components/result/src/result2.mjs';
133
133
  export { ElResult } from './components/result/index.mjs';
134
- export { RowAlign, RowJustify, rowProps } from './components/row/src/row2.mjs';
134
+ export { RowAlign, RowJustify, rowProps } from './components/row/src/row.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';
@@ -154,10 +154,10 @@ export { spaceProps } from './components/space/src/space.mjs';
154
154
  export { spaceItemProps } from './components/space/src/item.mjs';
155
155
  export { useSpace } from './components/space/src/use-space.mjs';
156
156
  export { ElSpace } from './components/space/index.mjs';
157
- export { statisticProps } from './components/statistic/src/statistic2.mjs';
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/steps2.mjs';
160
+ export { stepsEmits, stepsProps } from './components/steps/src/steps.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';
@@ -178,7 +178,7 @@ export { tabsRootContextKey } from './components/tabs/src/constants.mjs';
178
178
  export { ElTabPane, ElTabs } from './components/tabs/index.mjs';
179
179
  export { tagEmits, tagProps } from './components/tag/src/tag.mjs';
180
180
  export { ElTag } from './components/tag/index.mjs';
181
- export { textProps } from './components/text/src/text.mjs';
181
+ export { textProps } from './components/text/src/text2.mjs';
182
182
  export { ElText } from './components/text/index.mjs';
183
183
  export { buildTimeList, dateEquals, dayOrDaysToDate, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals } from './components/time-picker/src/utils.mjs';
184
184
  export { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, PICKER_BASE_INJECTION_KEY, PICKER_POPPER_OPTIONS_INJECTION_KEY, timeUnits } from './components/time-picker/src/constants.mjs';
@@ -186,7 +186,7 @@ export { timePickerDefaultProps, timePickerRangeTriggerProps, timePickerRngeTrig
186
186
  export { ElTimePicker } from './components/time-picker/index.mjs';
187
187
  export { default as CommonPicker } from './components/time-picker/src/common/picker.mjs';
188
188
  export { default as TimePickPanel } from './components/time-picker/src/time-picker-com/panel-time-pick.mjs';
189
- export { timeSelectProps } from './components/time-select/src/time-select.mjs';
189
+ export { timeSelectProps } from './components/time-select/src/time-select2.mjs';
190
190
  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';
@@ -205,7 +205,7 @@ export { ElTreeV2 } from './components/tree-v2/index.mjs';
205
205
  export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './components/upload/src/upload.mjs';
206
206
  export { uploadContentProps } from './components/upload/src/upload-content.mjs';
207
207
  export { uploadListEmits, uploadListProps } from './components/upload/src/upload-list.mjs';
208
- export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger2.mjs';
208
+ export { uploadDraggerEmits, uploadDraggerProps } from './components/upload/src/upload-dragger.mjs';
209
209
  export { uploadContextKey } from './components/upload/src/constants.mjs';
210
210
  export { ElUpload } from './components/upload/index.mjs';
211
211
  export { default as FixedSizeList } from './components/virtual-list/src/components/fixed-size-list.mjs';
@@ -215,15 +215,15 @@ export { default as DynamicSizeGrid } from './components/virtual-list/src/compon
215
215
  export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps } from './components/virtual-list/src/props.mjs';
216
216
  export { watermarkProps } from './components/watermark/src/watermark.mjs';
217
217
  export { ElWatermark } from './components/watermark/index.mjs';
218
- export { tourEmits, tourProps } from './components/tour/src/tour.mjs';
218
+ export { tourEmits, tourProps } from './components/tour/src/tour2.mjs';
219
219
  export { tourStepEmits, tourStepProps } from './components/tour/src/step.mjs';
220
- export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content2.mjs';
220
+ export { tourContentEmits, tourContentProps, tourPlacements, tourStrategies } from './components/tour/src/content.mjs';
221
221
  export { ElTour, ElTourStep } from './components/tour/index.mjs';
222
- export { anchorEmits, anchorProps } from './components/anchor/src/anchor.mjs';
222
+ export { anchorEmits, anchorProps } from './components/anchor/src/anchor2.mjs';
223
223
  export { ElAnchor, ElAnchorLink } from './components/anchor/index.mjs';
224
224
  export { defaultProps, segmentedEmits, segmentedProps } from './components/segmented/src/segmented.mjs';
225
225
  export { ElSegmented } from './components/segmented/index.mjs';
226
- export { mentionEmits, mentionProps } from './components/mention/src/mention2.mjs';
226
+ export { mentionEmits, mentionProps } from './components/mention/src/mention.mjs';
227
227
  export { ElMention } from './components/mention/index.mjs';
228
228
  export { splitterProps } from './components/splitter/src/splitter.mjs';
229
229
  export { splitterPanelProps } from './components/splitter/src/split-panel.mjs';
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20250725";
1
+ export declare const version = "0.0.20250728";
package/es/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20250725";
1
+ const version = "0.0.20250728";
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.20250725'\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.20250728'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var anchor$1 = require('./src/anchor2.js');
5
+ var anchor$1 = require('./src/anchor.js');
6
6
  var anchorLink = require('./src/anchor-link2.js');
7
- var anchor = require('./src/anchor.js');
7
+ var anchor = require('./src/anchor2.js');
8
8
  var install = require('../../utils/vue/install.js');
9
9
 
10
10
  const ElAnchor = install.withInstall(anchor$1["default"], {
@@ -2,48 +2,214 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var runtime = require('../../../utils/vue/props/runtime.js');
6
- var shared = require('@vue/shared');
5
+ var vue = require('vue');
6
+ var core = require('@vueuse/core');
7
+ var anchor = require('./anchor2.js');
8
+ var constants = require('./constants.js');
9
+ var pluginVue_exportHelper = require('../../../_virtual/plugin-vue_export-helper.js');
10
+ var element = require('../../../utils/dom/element.js');
11
+ var throttleByRaf = require('../../../utils/throttleByRaf.js');
7
12
  var types = require('../../../utils/types.js');
13
+ var scroll = require('../../../utils/dom/scroll.js');
14
+ var position = require('../../../utils/dom/position.js');
15
+ var index = require('../../../hooks/use-namespace/index.js');
16
+ var event = require('../../../constants/event.js');
8
17
 
9
- const anchorProps = runtime.buildProps({
10
- container: {
11
- type: runtime.definePropType([
12
- String,
13
- Object
14
- ])
15
- },
16
- offset: {
17
- type: Number,
18
- default: 0
19
- },
20
- bound: {
21
- type: Number,
22
- default: 15
23
- },
24
- duration: {
25
- type: Number,
26
- default: 300
27
- },
28
- marker: {
29
- type: Boolean,
30
- default: true
31
- },
32
- type: {
33
- type: runtime.definePropType(String),
34
- default: "default"
35
- },
36
- direction: {
37
- type: runtime.definePropType(String),
38
- default: "vertical"
39
- },
40
- selectScrollTop: Boolean
18
+ const __default__ = vue.defineComponent({
19
+ name: "ElAnchor"
41
20
  });
42
- const anchorEmits = {
43
- change: (href) => shared.isString(href),
44
- click: (e, href) => e instanceof MouseEvent && (shared.isString(href) || types.isUndefined(href))
45
- };
21
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
22
+ ...__default__,
23
+ props: anchor.anchorProps,
24
+ emits: anchor.anchorEmits,
25
+ setup(__props, { expose, emit }) {
26
+ const props = __props;
27
+ const slots = vue.useSlots();
28
+ const currentAnchor = vue.ref("");
29
+ const markerStyle = vue.ref({});
30
+ const anchorRef = vue.ref(null);
31
+ const markerRef = vue.ref(null);
32
+ const containerEl = vue.ref();
33
+ const links = {};
34
+ let isScrolling = false;
35
+ let currentScrollTop = 0;
36
+ const ns = index.useNamespace("anchor");
37
+ const cls = vue.computed(() => [
38
+ ns.b(),
39
+ props.type === "underline" ? ns.m("underline") : "",
40
+ ns.m(props.direction)
41
+ ]);
42
+ const addLink = (state) => {
43
+ links[state.href] = state.el;
44
+ };
45
+ const removeLink = (href) => {
46
+ delete links[href];
47
+ };
48
+ const setCurrentAnchor = (href) => {
49
+ const activeHref = currentAnchor.value;
50
+ if (activeHref !== href) {
51
+ currentAnchor.value = href;
52
+ emit(event.CHANGE_EVENT, href);
53
+ }
54
+ };
55
+ let clearAnimate = null;
56
+ const scrollToAnchor = (href) => {
57
+ if (!containerEl.value)
58
+ return;
59
+ const target = element.getElement(href);
60
+ if (!target)
61
+ return;
62
+ if (clearAnimate)
63
+ clearAnimate();
64
+ isScrolling = true;
65
+ const scrollEle = scroll.getScrollElement(target, containerEl.value);
66
+ const distance = position.getOffsetTopDistance(target, scrollEle);
67
+ const max = scrollEle.scrollHeight - scrollEle.clientHeight;
68
+ const to = Math.min(distance - props.offset, max);
69
+ clearAnimate = scroll.animateScrollTo(containerEl.value, currentScrollTop, to, props.duration, () => {
70
+ setTimeout(() => {
71
+ isScrolling = false;
72
+ }, 20);
73
+ });
74
+ };
75
+ const scrollTo = (href) => {
76
+ if (href) {
77
+ setCurrentAnchor(href);
78
+ scrollToAnchor(href);
79
+ }
80
+ };
81
+ const handleClick = (e, href) => {
82
+ emit("click", e, href);
83
+ scrollTo(href);
84
+ };
85
+ const handleScroll = throttleByRaf.throttleByRaf(() => {
86
+ if (containerEl.value) {
87
+ currentScrollTop = scroll.getScrollTop(containerEl.value);
88
+ }
89
+ const currentHref = getCurrentHref();
90
+ if (isScrolling || types.isUndefined(currentHref))
91
+ return;
92
+ setCurrentAnchor(currentHref);
93
+ });
94
+ const getCurrentHref = () => {
95
+ if (!containerEl.value)
96
+ return;
97
+ const scrollTop = scroll.getScrollTop(containerEl.value);
98
+ const anchorTopList = [];
99
+ for (const href of Object.keys(links)) {
100
+ const target = element.getElement(href);
101
+ if (!target)
102
+ continue;
103
+ const scrollEle = scroll.getScrollElement(target, containerEl.value);
104
+ const distance = position.getOffsetTopDistance(target, scrollEle);
105
+ anchorTopList.push({
106
+ top: distance - props.offset - props.bound,
107
+ href
108
+ });
109
+ }
110
+ anchorTopList.sort((prev, next) => prev.top - next.top);
111
+ for (let i = 0; i < anchorTopList.length; i++) {
112
+ const item = anchorTopList[i];
113
+ const next = anchorTopList[i + 1];
114
+ if (i === 0 && scrollTop === 0) {
115
+ return props.selectScrollTop ? item.href : "";
116
+ }
117
+ if (item.top <= scrollTop && (!next || next.top > scrollTop)) {
118
+ return item.href;
119
+ }
120
+ }
121
+ };
122
+ const getContainer = () => {
123
+ const el = element.getElement(props.container);
124
+ if (!el || types.isWindow(el)) {
125
+ containerEl.value = window;
126
+ } else {
127
+ containerEl.value = el;
128
+ }
129
+ };
130
+ core.useEventListener(containerEl, "scroll", handleScroll);
131
+ const updateMarkerStyle = () => {
132
+ vue.nextTick(() => {
133
+ if (!anchorRef.value || !markerRef.value || !currentAnchor.value) {
134
+ markerStyle.value = {};
135
+ return;
136
+ }
137
+ const currentLinkEl = links[currentAnchor.value];
138
+ if (!currentLinkEl) {
139
+ markerStyle.value = {};
140
+ return;
141
+ }
142
+ const anchorRect = anchorRef.value.getBoundingClientRect();
143
+ const markerRect = markerRef.value.getBoundingClientRect();
144
+ const linkRect = currentLinkEl.getBoundingClientRect();
145
+ if (props.direction === "horizontal") {
146
+ const left = linkRect.left - anchorRect.left;
147
+ markerStyle.value = {
148
+ left: `${left}px`,
149
+ width: `${linkRect.width}px`,
150
+ opacity: 1
151
+ };
152
+ } else {
153
+ const top = linkRect.top - anchorRect.top + (linkRect.height - markerRect.height) / 2;
154
+ markerStyle.value = {
155
+ top: `${top}px`,
156
+ opacity: 1
157
+ };
158
+ }
159
+ });
160
+ };
161
+ vue.watch(currentAnchor, updateMarkerStyle);
162
+ vue.watch(() => {
163
+ var _a;
164
+ return (_a = slots.default) == null ? void 0 : _a.call(slots);
165
+ }, updateMarkerStyle);
166
+ vue.onMounted(() => {
167
+ getContainer();
168
+ const hash = decodeURIComponent(window.location.hash);
169
+ const target = element.getElement(hash);
170
+ if (target) {
171
+ scrollTo(hash);
172
+ } else {
173
+ handleScroll();
174
+ }
175
+ });
176
+ vue.watch(() => props.container, () => {
177
+ getContainer();
178
+ });
179
+ vue.provide(constants.anchorKey, {
180
+ ns,
181
+ direction: props.direction,
182
+ currentAnchor,
183
+ addLink,
184
+ removeLink,
185
+ handleClick
186
+ });
187
+ expose({
188
+ scrollTo
189
+ });
190
+ return (_ctx, _cache) => {
191
+ return vue.openBlock(), vue.createElementBlock("div", {
192
+ ref_key: "anchorRef",
193
+ ref: anchorRef,
194
+ class: vue.normalizeClass(vue.unref(cls))
195
+ }, [
196
+ _ctx.marker ? (vue.openBlock(), vue.createElementBlock("div", {
197
+ key: 0,
198
+ ref_key: "markerRef",
199
+ ref: markerRef,
200
+ class: vue.normalizeClass(vue.unref(ns).e("marker")),
201
+ style: vue.normalizeStyle(markerStyle.value)
202
+ }, null, 6)) : vue.createCommentVNode("v-if", true),
203
+ vue.createElementVNode("div", {
204
+ class: vue.normalizeClass(vue.unref(ns).e("list"))
205
+ }, [
206
+ vue.renderSlot(_ctx.$slots, "default")
207
+ ], 2)
208
+ ], 2);
209
+ };
210
+ }
211
+ });
212
+ var Anchor = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "anchor.vue"]]);
46
213
 
47
- exports.anchorEmits = anchorEmits;
48
- exports.anchorProps = anchorProps;
214
+ exports["default"] = Anchor;
49
215
  //# sourceMappingURL=anchor.js.map