@element-plus/nightly 0.0.20220515 → 0.0.20220519

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 (611) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +1292 -1141
  4. package/dist/index.full.min.js +16 -16
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +20 -20
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +1292 -1141
  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.js +1 -1
  14. package/dist/locale/ar.min.js +1 -1
  15. package/dist/locale/ar.min.mjs +1 -1
  16. package/dist/locale/ar.mjs +1 -1
  17. package/dist/locale/az.js +1 -1
  18. package/dist/locale/az.min.js +1 -1
  19. package/dist/locale/az.min.mjs +1 -1
  20. package/dist/locale/az.mjs +1 -1
  21. package/dist/locale/bg.js +1 -1
  22. package/dist/locale/bg.min.js +1 -1
  23. package/dist/locale/bg.min.mjs +1 -1
  24. package/dist/locale/bg.mjs +1 -1
  25. package/dist/locale/bn.js +1 -1
  26. package/dist/locale/bn.min.js +1 -1
  27. package/dist/locale/bn.min.mjs +1 -1
  28. package/dist/locale/bn.mjs +1 -1
  29. package/dist/locale/ca.js +1 -1
  30. package/dist/locale/ca.min.js +1 -1
  31. package/dist/locale/ca.min.mjs +1 -1
  32. package/dist/locale/ca.mjs +1 -1
  33. package/dist/locale/cs.js +1 -1
  34. package/dist/locale/cs.min.js +1 -1
  35. package/dist/locale/cs.min.mjs +1 -1
  36. package/dist/locale/cs.mjs +1 -1
  37. package/dist/locale/da.js +1 -1
  38. package/dist/locale/da.min.js +1 -1
  39. package/dist/locale/da.min.mjs +1 -1
  40. package/dist/locale/da.mjs +1 -1
  41. package/dist/locale/de.js +1 -1
  42. package/dist/locale/de.min.js +1 -1
  43. package/dist/locale/de.min.mjs +1 -1
  44. package/dist/locale/de.mjs +1 -1
  45. package/dist/locale/el.js +1 -1
  46. package/dist/locale/el.min.js +1 -1
  47. package/dist/locale/el.min.mjs +1 -1
  48. package/dist/locale/el.mjs +1 -1
  49. package/dist/locale/en.js +1 -1
  50. package/dist/locale/en.min.js +1 -1
  51. package/dist/locale/en.min.mjs +1 -1
  52. package/dist/locale/en.mjs +1 -1
  53. package/dist/locale/eo.js +1 -1
  54. package/dist/locale/eo.min.js +1 -1
  55. package/dist/locale/eo.min.mjs +1 -1
  56. package/dist/locale/eo.mjs +1 -1
  57. package/dist/locale/es.js +1 -1
  58. package/dist/locale/es.min.js +1 -1
  59. package/dist/locale/es.min.mjs +1 -1
  60. package/dist/locale/es.mjs +1 -1
  61. package/dist/locale/et.js +1 -1
  62. package/dist/locale/et.min.js +1 -1
  63. package/dist/locale/et.min.mjs +1 -1
  64. package/dist/locale/et.mjs +1 -1
  65. package/dist/locale/eu.js +1 -1
  66. package/dist/locale/eu.min.js +1 -1
  67. package/dist/locale/eu.min.mjs +1 -1
  68. package/dist/locale/eu.mjs +1 -1
  69. package/dist/locale/fa.js +1 -1
  70. package/dist/locale/fa.min.js +1 -1
  71. package/dist/locale/fa.min.mjs +1 -1
  72. package/dist/locale/fa.mjs +1 -1
  73. package/dist/locale/fi.js +1 -1
  74. package/dist/locale/fi.min.js +1 -1
  75. package/dist/locale/fi.min.mjs +1 -1
  76. package/dist/locale/fi.mjs +1 -1
  77. package/dist/locale/fr.js +1 -1
  78. package/dist/locale/fr.min.js +1 -1
  79. package/dist/locale/fr.min.mjs +1 -1
  80. package/dist/locale/fr.mjs +1 -1
  81. package/dist/locale/he.js +1 -1
  82. package/dist/locale/he.min.js +1 -1
  83. package/dist/locale/he.min.mjs +1 -1
  84. package/dist/locale/he.mjs +1 -1
  85. package/dist/locale/hr.js +1 -1
  86. package/dist/locale/hr.min.js +1 -1
  87. package/dist/locale/hr.min.mjs +1 -1
  88. package/dist/locale/hr.mjs +1 -1
  89. package/dist/locale/hu.js +1 -1
  90. package/dist/locale/hu.min.js +1 -1
  91. package/dist/locale/hu.min.mjs +1 -1
  92. package/dist/locale/hu.mjs +1 -1
  93. package/dist/locale/hy-am.js +1 -1
  94. package/dist/locale/hy-am.min.js +1 -1
  95. package/dist/locale/hy-am.min.mjs +1 -1
  96. package/dist/locale/hy-am.mjs +1 -1
  97. package/dist/locale/id.js +1 -1
  98. package/dist/locale/id.min.js +1 -1
  99. package/dist/locale/id.min.mjs +1 -1
  100. package/dist/locale/id.mjs +1 -1
  101. package/dist/locale/it.js +1 -1
  102. package/dist/locale/it.min.js +1 -1
  103. package/dist/locale/it.min.mjs +1 -1
  104. package/dist/locale/it.mjs +1 -1
  105. package/dist/locale/ja.js +1 -1
  106. package/dist/locale/ja.min.js +1 -1
  107. package/dist/locale/ja.min.mjs +1 -1
  108. package/dist/locale/ja.mjs +1 -1
  109. package/dist/locale/kk.js +1 -1
  110. package/dist/locale/kk.min.js +1 -1
  111. package/dist/locale/kk.min.mjs +1 -1
  112. package/dist/locale/kk.mjs +1 -1
  113. package/dist/locale/km.js +1 -1
  114. package/dist/locale/km.min.js +1 -1
  115. package/dist/locale/km.min.mjs +1 -1
  116. package/dist/locale/km.mjs +1 -1
  117. package/dist/locale/ko.js +1 -1
  118. package/dist/locale/ko.min.js +1 -1
  119. package/dist/locale/ko.min.mjs +1 -1
  120. package/dist/locale/ko.mjs +1 -1
  121. package/dist/locale/ku.js +1 -1
  122. package/dist/locale/ku.min.js +1 -1
  123. package/dist/locale/ku.min.mjs +1 -1
  124. package/dist/locale/ku.mjs +1 -1
  125. package/dist/locale/ky.js +1 -1
  126. package/dist/locale/ky.min.js +1 -1
  127. package/dist/locale/ky.min.mjs +1 -1
  128. package/dist/locale/ky.mjs +1 -1
  129. package/dist/locale/lt.js +1 -1
  130. package/dist/locale/lt.min.js +1 -1
  131. package/dist/locale/lt.min.mjs +1 -1
  132. package/dist/locale/lt.mjs +1 -1
  133. package/dist/locale/lv.js +1 -1
  134. package/dist/locale/lv.min.js +1 -1
  135. package/dist/locale/lv.min.mjs +1 -1
  136. package/dist/locale/lv.mjs +1 -1
  137. package/dist/locale/mg.js +1 -1
  138. package/dist/locale/mg.min.js +1 -1
  139. package/dist/locale/mg.min.mjs +1 -1
  140. package/dist/locale/mg.mjs +1 -1
  141. package/dist/locale/mn.js +1 -1
  142. package/dist/locale/mn.min.js +1 -1
  143. package/dist/locale/mn.min.mjs +1 -1
  144. package/dist/locale/mn.mjs +1 -1
  145. package/dist/locale/nb-no.js +1 -1
  146. package/dist/locale/nb-no.min.js +1 -1
  147. package/dist/locale/nb-no.min.mjs +1 -1
  148. package/dist/locale/nb-no.mjs +1 -1
  149. package/dist/locale/nl.js +1 -1
  150. package/dist/locale/nl.min.js +1 -1
  151. package/dist/locale/nl.min.mjs +1 -1
  152. package/dist/locale/nl.mjs +1 -1
  153. package/dist/locale/pa.js +1 -1
  154. package/dist/locale/pa.min.js +1 -1
  155. package/dist/locale/pa.min.mjs +1 -1
  156. package/dist/locale/pa.mjs +1 -1
  157. package/dist/locale/pl.js +1 -1
  158. package/dist/locale/pl.min.js +1 -1
  159. package/dist/locale/pl.min.mjs +1 -1
  160. package/dist/locale/pl.mjs +1 -1
  161. package/dist/locale/pt-br.js +1 -1
  162. package/dist/locale/pt-br.min.js +1 -1
  163. package/dist/locale/pt-br.min.mjs +1 -1
  164. package/dist/locale/pt-br.mjs +1 -1
  165. package/dist/locale/pt.js +1 -1
  166. package/dist/locale/pt.min.js +1 -1
  167. package/dist/locale/pt.min.mjs +1 -1
  168. package/dist/locale/pt.mjs +1 -1
  169. package/dist/locale/ro.js +1 -1
  170. package/dist/locale/ro.min.js +1 -1
  171. package/dist/locale/ro.min.mjs +1 -1
  172. package/dist/locale/ro.mjs +1 -1
  173. package/dist/locale/ru.js +1 -1
  174. package/dist/locale/ru.min.js +1 -1
  175. package/dist/locale/ru.min.mjs +1 -1
  176. package/dist/locale/ru.mjs +1 -1
  177. package/dist/locale/sk.js +1 -1
  178. package/dist/locale/sk.min.js +1 -1
  179. package/dist/locale/sk.min.mjs +1 -1
  180. package/dist/locale/sk.mjs +1 -1
  181. package/dist/locale/sl.js +1 -1
  182. package/dist/locale/sl.min.js +1 -1
  183. package/dist/locale/sl.min.mjs +1 -1
  184. package/dist/locale/sl.mjs +1 -1
  185. package/dist/locale/sr.js +1 -1
  186. package/dist/locale/sr.min.js +1 -1
  187. package/dist/locale/sr.min.mjs +1 -1
  188. package/dist/locale/sr.mjs +1 -1
  189. package/dist/locale/sv.js +1 -1
  190. package/dist/locale/sv.min.js +1 -1
  191. package/dist/locale/sv.min.mjs +1 -1
  192. package/dist/locale/sv.mjs +1 -1
  193. package/dist/locale/ta.js +1 -1
  194. package/dist/locale/ta.min.js +1 -1
  195. package/dist/locale/ta.min.mjs +1 -1
  196. package/dist/locale/ta.mjs +1 -1
  197. package/dist/locale/th.js +1 -1
  198. package/dist/locale/th.min.js +1 -1
  199. package/dist/locale/th.min.mjs +1 -1
  200. package/dist/locale/th.mjs +1 -1
  201. package/dist/locale/tk.js +1 -1
  202. package/dist/locale/tk.min.js +1 -1
  203. package/dist/locale/tk.min.mjs +1 -1
  204. package/dist/locale/tk.mjs +1 -1
  205. package/dist/locale/tr.js +1 -1
  206. package/dist/locale/tr.min.js +1 -1
  207. package/dist/locale/tr.min.mjs +1 -1
  208. package/dist/locale/tr.mjs +1 -1
  209. package/dist/locale/ug-cn.js +1 -1
  210. package/dist/locale/ug-cn.min.js +1 -1
  211. package/dist/locale/ug-cn.min.mjs +1 -1
  212. package/dist/locale/ug-cn.mjs +1 -1
  213. package/dist/locale/uk.js +1 -1
  214. package/dist/locale/uk.min.js +1 -1
  215. package/dist/locale/uk.min.mjs +1 -1
  216. package/dist/locale/uk.mjs +1 -1
  217. package/dist/locale/uz-uz.js +1 -1
  218. package/dist/locale/uz-uz.min.js +1 -1
  219. package/dist/locale/uz-uz.min.mjs +1 -1
  220. package/dist/locale/uz-uz.mjs +1 -1
  221. package/dist/locale/vi.js +1 -1
  222. package/dist/locale/vi.min.js +1 -1
  223. package/dist/locale/vi.min.mjs +1 -1
  224. package/dist/locale/vi.mjs +1 -1
  225. package/dist/locale/zh-cn.js +1 -1
  226. package/dist/locale/zh-cn.min.js +1 -1
  227. package/dist/locale/zh-cn.min.mjs +1 -1
  228. package/dist/locale/zh-cn.mjs +1 -1
  229. package/dist/locale/zh-tw.js +1 -1
  230. package/dist/locale/zh-tw.min.js +1 -1
  231. package/dist/locale/zh-tw.min.mjs +1 -1
  232. package/dist/locale/zh-tw.mjs +1 -1
  233. package/es/components/button/index.d.ts +14 -14
  234. package/es/components/button/src/button-group.d.ts +1 -1
  235. package/es/components/button/src/button-group.vue.d.ts +4 -4
  236. package/es/components/button/src/button.d.ts +2 -2
  237. package/es/components/button/src/button.vue.d.ts +6 -6
  238. package/es/components/button/src/button3.mjs +1 -0
  239. package/es/components/button/src/button3.mjs.map +1 -1
  240. package/es/components/button/src/button4.mjs +9 -1
  241. package/es/components/button/src/button4.mjs.map +1 -1
  242. package/es/components/calendar/index.d.ts +14 -14
  243. package/es/components/calendar/src/calendar.vue.d.ts +14 -14
  244. package/es/components/cascader-panel/src/node3.mjs +1 -1
  245. package/es/components/cascader-panel/src/node3.mjs.map +1 -1
  246. package/es/components/checkbox/src/checkbox2.mjs +4 -4
  247. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  248. package/es/components/col/src/col.mjs.map +1 -1
  249. package/es/components/collection/src/collection-item2.mjs +3 -3
  250. package/es/components/collection/src/collection-item2.mjs.map +1 -1
  251. package/es/components/collection/src/collection.d.ts +2 -3
  252. package/es/components/collection/src/collection3.mjs +1 -2
  253. package/es/components/collection/src/collection3.mjs.map +1 -1
  254. package/es/components/collection/src/collection4.mjs +3 -3
  255. package/es/components/collection/src/collection4.mjs.map +1 -1
  256. package/es/components/container/index.d.ts +76 -12
  257. package/es/components/container/index2.mjs.map +1 -1
  258. package/es/components/container/src/aside.vue.d.ts +9 -1
  259. package/es/components/container/src/aside2.mjs +17 -18
  260. package/es/components/container/src/aside2.mjs.map +1 -1
  261. package/es/components/container/src/container.vue.d.ts +12 -6
  262. package/es/components/container/src/container2.mjs +17 -17
  263. package/es/components/container/src/container2.mjs.map +1 -1
  264. package/es/components/container/src/footer.vue.d.ts +9 -1
  265. package/es/components/container/src/footer2.mjs +17 -16
  266. package/es/components/container/src/footer2.mjs.map +1 -1
  267. package/es/components/container/src/header.vue.d.ts +9 -1
  268. package/es/components/container/src/header2.mjs +20 -17
  269. package/es/components/container/src/header2.mjs.map +1 -1
  270. package/es/components/container/src/main2.mjs +14 -14
  271. package/es/components/container/src/main2.mjs.map +1 -1
  272. package/es/components/date-picker/src/date-picker-com/basic-cell-render2.mjs +5 -2
  273. package/es/components/date-picker/src/date-picker-com/basic-cell-render2.mjs.map +1 -1
  274. package/es/components/dropdown/index.d.ts +3 -3
  275. package/es/components/dropdown/src/dropdown.d.ts +2 -4
  276. package/es/components/dropdown/src/dropdown.vue.d.ts +3 -3
  277. package/es/components/form/src/form-label-wrap.mjs.map +1 -1
  278. package/es/components/index.mjs +1 -1
  279. package/es/components/input-number/index.d.ts +6 -3
  280. package/es/components/input-number/src/input-number.d.ts +2 -1
  281. package/es/components/input-number/src/input-number.vue.d.ts +6 -3
  282. package/es/components/input-number/src/input-number3.mjs +8 -2
  283. package/es/components/input-number/src/input-number3.mjs.map +1 -1
  284. package/es/components/input-number/src/input-number4.mjs +35 -31
  285. package/es/components/input-number/src/input-number4.mjs.map +1 -1
  286. package/es/components/pagination/src/components/jumper.vue.d.ts +277 -1
  287. package/es/components/pagination/src/components/jumper2.mjs +28 -38
  288. package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
  289. package/es/components/pagination/src/components/next.d.ts +10 -0
  290. package/es/components/pagination/src/components/next.mjs +1 -6
  291. package/es/components/pagination/src/components/next.mjs.map +1 -1
  292. package/es/components/pagination/src/components/next.vue.d.ts +51 -24
  293. package/es/components/pagination/src/components/next2.mjs +3 -55
  294. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  295. package/es/components/pagination/src/components/next3.mjs +20 -0
  296. package/es/components/pagination/src/components/next3.mjs.map +1 -0
  297. package/es/components/pagination/src/components/next4.mjs +40 -0
  298. package/es/components/pagination/src/components/next4.mjs.map +1 -0
  299. package/es/components/pagination/src/components/pager.d.ts +10 -0
  300. package/es/components/pagination/src/components/pager.mjs +1 -6
  301. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  302. package/es/components/pagination/src/components/pager.vue.d.ts +24 -30
  303. package/es/components/pagination/src/components/pager2.mjs +3 -216
  304. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  305. package/es/components/pagination/src/components/pager3.mjs +21 -0
  306. package/es/components/pagination/src/components/pager3.mjs.map +1 -0
  307. package/es/components/pagination/src/components/pager4.mjs +191 -0
  308. package/es/components/pagination/src/components/pager4.mjs.map +1 -0
  309. package/es/components/pagination/src/components/prev.d.ts +12 -0
  310. package/es/components/pagination/src/components/prev.mjs +1 -6
  311. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  312. package/es/components/pagination/src/components/prev.vue.d.ts +52 -18
  313. package/es/components/pagination/src/components/prev2.mjs +3 -51
  314. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  315. package/es/components/pagination/src/components/prev3.mjs +19 -0
  316. package/es/components/pagination/src/components/prev3.mjs.map +1 -0
  317. package/es/components/pagination/src/components/prev4.mjs +40 -0
  318. package/es/components/pagination/src/components/prev4.mjs.map +1 -0
  319. package/es/components/pagination/src/components/total.d.ts +7 -0
  320. package/es/components/pagination/src/components/total.mjs +1 -6
  321. package/es/components/pagination/src/components/total.mjs.map +1 -1
  322. package/es/components/pagination/src/components/total.vue.d.ts +3 -17
  323. package/es/components/pagination/src/components/total2.mjs +3 -36
  324. package/es/components/pagination/src/components/total2.mjs.map +1 -1
  325. package/es/components/pagination/src/components/total3.mjs +12 -0
  326. package/es/components/pagination/src/components/total3.mjs.map +1 -0
  327. package/es/components/pagination/src/components/total4.mjs +33 -0
  328. package/es/components/pagination/src/components/total4.mjs.map +1 -0
  329. package/es/components/pagination/src/pagination2.mjs +4 -4
  330. package/es/components/popconfirm/index.d.ts +10 -10
  331. package/es/components/popconfirm/src/popconfirm.vue.d.ts +10 -10
  332. package/es/components/radio/index.d.ts +73 -14
  333. package/es/components/radio/index.mjs +1 -1
  334. package/es/components/radio/index2.mjs +2 -2
  335. package/es/components/radio/src/radio-button.d.ts +2 -0
  336. package/es/components/radio/src/radio-button.vue.d.ts +11 -4
  337. package/es/components/radio/src/radio-button3.mjs +1 -1
  338. package/es/components/radio/src/radio-button3.mjs.map +1 -1
  339. package/es/components/radio/src/radio-button4.mjs +48 -69
  340. package/es/components/radio/src/radio-button4.mjs.map +1 -1
  341. package/es/components/radio/src/radio-group.d.ts +3 -0
  342. package/es/components/radio/src/radio-group.vue.d.ts +19 -1
  343. package/es/components/radio/src/radio-group3.mjs +5 -1
  344. package/es/components/radio/src/radio-group3.mjs.map +1 -1
  345. package/es/components/radio/src/radio-group4.mjs +24 -60
  346. package/es/components/radio/src/radio-group4.mjs.map +1 -1
  347. package/es/components/radio/src/radio.d.ts +6 -4
  348. package/es/components/radio/src/radio.mjs +1 -1
  349. package/es/components/radio/src/radio.vue.d.ts +15 -4
  350. package/es/components/radio/src/radio3.mjs +67 -77
  351. package/es/components/radio/src/radio3.mjs.map +1 -1
  352. package/es/components/radio/src/radio4.mjs +70 -67
  353. package/es/components/radio/src/radio4.mjs.map +1 -1
  354. package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -3
  355. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  356. package/es/components/row/src/row.mjs.map +1 -1
  357. package/es/components/select-v2/src/select2.mjs.map +1 -1
  358. package/es/components/skeleton/index.d.ts +9 -9
  359. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  360. package/es/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  361. package/es/components/skeleton/src/skeleton.vue.d.ts +3 -3
  362. package/es/components/slot/src/only-child.mjs.map +1 -1
  363. package/es/components/table-v2/src/components/auto-resizer.mjs.map +1 -1
  364. package/es/components/table-v2/src/components/cell.mjs.map +1 -1
  365. package/es/components/table-v2/src/components/expand-icon.mjs.map +1 -1
  366. package/es/components/table-v2/src/components/header-cell.mjs.map +1 -1
  367. package/es/components/table-v2/src/components/header-row.mjs.map +1 -1
  368. package/es/components/table-v2/src/components/header.mjs.map +1 -1
  369. package/es/components/table-v2/src/components/row.mjs.map +1 -1
  370. package/es/components/table-v2/src/components/sort-icon.mjs.map +1 -1
  371. package/es/components/table-v2/src/renderers/cell.mjs.map +1 -1
  372. package/es/components/table-v2/src/renderers/empty.mjs.map +1 -1
  373. package/es/components/table-v2/src/renderers/footer.mjs.map +1 -1
  374. package/es/components/table-v2/src/renderers/header-cell.mjs +1 -1
  375. package/es/components/table-v2/src/renderers/header-cell.mjs.map +1 -1
  376. package/es/components/table-v2/src/renderers/header.mjs.map +1 -1
  377. package/es/components/table-v2/src/renderers/left-table.mjs.map +1 -1
  378. package/es/components/table-v2/src/renderers/main-table.mjs.map +1 -1
  379. package/es/components/table-v2/src/renderers/overlay.mjs.map +1 -1
  380. package/es/components/table-v2/src/renderers/right-table.mjs.map +1 -1
  381. package/es/components/table-v2/src/renderers/row.mjs.map +1 -1
  382. package/es/components/table-v2/src/table-grid.mjs.map +1 -1
  383. package/es/components/table-v2/src/table-v2.mjs.map +1 -1
  384. package/es/components/tabs/src/tab-nav.mjs.map +1 -1
  385. package/es/components/tabs/src/tabs.mjs.map +1 -1
  386. package/es/components/teleport/index.mjs +1 -1
  387. package/es/components/teleport/index2.mjs +2 -2
  388. package/es/components/teleport/src/teleport.mjs +1 -1
  389. package/es/components/teleport/src/teleport3.mjs +18 -43
  390. package/es/components/teleport/src/teleport3.mjs.map +1 -1
  391. package/es/components/teleport/src/teleport4.mjs +43 -18
  392. package/es/components/teleport/src/teleport4.mjs.map +1 -1
  393. package/es/components/time-picker/src/common/picker.vue.d.ts +2 -1
  394. package/es/components/time-picker/src/common/picker2.mjs +7 -2
  395. package/es/components/time-picker/src/common/picker2.mjs.map +1 -1
  396. package/es/components/timeline/index.d.ts +72 -0
  397. package/es/components/timeline/src/timeline-item.vue.d.ts +36 -0
  398. package/es/components/timeline/src/timeline-item4.mjs +61 -65
  399. package/es/components/timeline/src/timeline-item4.mjs.map +1 -1
  400. package/es/components/tooltip-v2/src/forward-ref.mjs.map +1 -1
  401. package/es/components/upload/index.d.ts +0 -1
  402. package/es/components/upload/src/upload-list.vue.d.ts +0 -1
  403. package/es/components/upload/src/upload-list4.mjs +1 -5
  404. package/es/components/upload/src/upload-list4.mjs.map +1 -1
  405. package/es/components/upload/src/upload.vue.d.ts +0 -1
  406. package/es/index.mjs +1 -1
  407. package/es/utils/dom/scroll2.mjs.map +1 -1
  408. package/es/version.d.ts +1 -1
  409. package/es/version2.mjs +1 -1
  410. package/es/version2.mjs.map +1 -1
  411. package/lib/components/button/index.d.ts +14 -14
  412. package/lib/components/button/src/button-group.d.ts +1 -1
  413. package/lib/components/button/src/button-group.vue.d.ts +4 -4
  414. package/lib/components/button/src/button.d.ts +2 -2
  415. package/lib/components/button/src/button.vue.d.ts +6 -6
  416. package/lib/components/button/src/button3.js +1 -0
  417. package/lib/components/button/src/button3.js.map +1 -1
  418. package/lib/components/button/src/button4.js +20 -12
  419. package/lib/components/button/src/button4.js.map +1 -1
  420. package/lib/components/calendar/index.d.ts +14 -14
  421. package/lib/components/calendar/src/calendar.vue.d.ts +14 -14
  422. package/lib/components/cascader-panel/src/node3.js +1 -1
  423. package/lib/components/cascader-panel/src/node3.js.map +1 -1
  424. package/lib/components/checkbox/src/checkbox2.js +4 -4
  425. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  426. package/lib/components/col/src/col.js.map +1 -1
  427. package/lib/components/collection/src/collection-item2.js +2 -2
  428. package/lib/components/collection/src/collection-item2.js.map +1 -1
  429. package/lib/components/collection/src/collection.d.ts +2 -3
  430. package/lib/components/collection/src/collection3.js +1 -2
  431. package/lib/components/collection/src/collection3.js.map +1 -1
  432. package/lib/components/collection/src/collection4.js +2 -2
  433. package/lib/components/collection/src/collection4.js.map +1 -1
  434. package/lib/components/container/index.d.ts +76 -12
  435. package/lib/components/container/index2.js.map +1 -1
  436. package/lib/components/container/src/aside.vue.d.ts +9 -1
  437. package/lib/components/container/src/aside2.js +16 -17
  438. package/lib/components/container/src/aside2.js.map +1 -1
  439. package/lib/components/container/src/container.vue.d.ts +12 -6
  440. package/lib/components/container/src/container2.js +16 -16
  441. package/lib/components/container/src/container2.js.map +1 -1
  442. package/lib/components/container/src/footer.vue.d.ts +9 -1
  443. package/lib/components/container/src/footer2.js +16 -15
  444. package/lib/components/container/src/footer2.js.map +1 -1
  445. package/lib/components/container/src/header.vue.d.ts +9 -1
  446. package/lib/components/container/src/header2.js +19 -16
  447. package/lib/components/container/src/header2.js.map +1 -1
  448. package/lib/components/container/src/main2.js +13 -13
  449. package/lib/components/container/src/main2.js.map +1 -1
  450. package/lib/components/date-picker/src/date-picker-com/basic-cell-render2.js +5 -2
  451. package/lib/components/date-picker/src/date-picker-com/basic-cell-render2.js.map +1 -1
  452. package/lib/components/dropdown/index.d.ts +3 -3
  453. package/lib/components/dropdown/src/dropdown.d.ts +2 -4
  454. package/lib/components/dropdown/src/dropdown.vue.d.ts +3 -3
  455. package/lib/components/form/src/form-label-wrap.js.map +1 -1
  456. package/lib/components/index.js +1 -1
  457. package/lib/components/input-number/index.d.ts +6 -3
  458. package/lib/components/input-number/src/input-number.d.ts +2 -1
  459. package/lib/components/input-number/src/input-number.vue.d.ts +6 -3
  460. package/lib/components/input-number/src/input-number3.js +8 -2
  461. package/lib/components/input-number/src/input-number3.js.map +1 -1
  462. package/lib/components/input-number/src/input-number4.js +35 -31
  463. package/lib/components/input-number/src/input-number4.js.map +1 -1
  464. package/lib/components/pagination/src/components/jumper.vue.d.ts +277 -1
  465. package/lib/components/pagination/src/components/jumper2.js +32 -42
  466. package/lib/components/pagination/src/components/jumper2.js.map +1 -1
  467. package/lib/components/pagination/src/components/next.d.ts +10 -0
  468. package/lib/components/pagination/src/components/next.js +3 -4
  469. package/lib/components/pagination/src/components/next.js.map +1 -1
  470. package/lib/components/pagination/src/components/next.vue.d.ts +51 -24
  471. package/lib/components/pagination/src/components/next2.js +3 -55
  472. package/lib/components/pagination/src/components/next2.js.map +1 -1
  473. package/lib/components/pagination/src/components/next3.js +24 -0
  474. package/lib/components/pagination/src/components/next3.js.map +1 -0
  475. package/lib/components/pagination/src/components/next4.js +44 -0
  476. package/lib/components/pagination/src/components/next4.js.map +1 -0
  477. package/lib/components/pagination/src/components/pager.d.ts +10 -0
  478. package/lib/components/pagination/src/components/pager.js +3 -4
  479. package/lib/components/pagination/src/components/pager.js.map +1 -1
  480. package/lib/components/pagination/src/components/pager.vue.d.ts +24 -30
  481. package/lib/components/pagination/src/components/pager2.js +3 -216
  482. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  483. package/lib/components/pagination/src/components/pager3.js +25 -0
  484. package/lib/components/pagination/src/components/pager3.js.map +1 -0
  485. package/lib/components/pagination/src/components/pager4.js +195 -0
  486. package/lib/components/pagination/src/components/pager4.js.map +1 -0
  487. package/lib/components/pagination/src/components/prev.d.ts +12 -0
  488. package/lib/components/pagination/src/components/prev.js +4 -4
  489. package/lib/components/pagination/src/components/prev.js.map +1 -1
  490. package/lib/components/pagination/src/components/prev.vue.d.ts +52 -18
  491. package/lib/components/pagination/src/components/prev2.js +3 -51
  492. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  493. package/lib/components/pagination/src/components/prev3.js +24 -0
  494. package/lib/components/pagination/src/components/prev3.js.map +1 -0
  495. package/lib/components/pagination/src/components/prev4.js +44 -0
  496. package/lib/components/pagination/src/components/prev4.js.map +1 -0
  497. package/lib/components/pagination/src/components/total.d.ts +7 -0
  498. package/lib/components/pagination/src/components/total.js +3 -4
  499. package/lib/components/pagination/src/components/total.js.map +1 -1
  500. package/lib/components/pagination/src/components/total.vue.d.ts +3 -17
  501. package/lib/components/pagination/src/components/total2.js +3 -36
  502. package/lib/components/pagination/src/components/total2.js.map +1 -1
  503. package/lib/components/pagination/src/components/total3.js +16 -0
  504. package/lib/components/pagination/src/components/total3.js.map +1 -0
  505. package/lib/components/pagination/src/components/total4.js +37 -0
  506. package/lib/components/pagination/src/components/total4.js.map +1 -0
  507. package/lib/components/pagination/src/pagination2.js +4 -4
  508. package/lib/components/popconfirm/index.d.ts +10 -10
  509. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +10 -10
  510. package/lib/components/radio/index.d.ts +73 -14
  511. package/lib/components/radio/index.js +1 -1
  512. package/lib/components/radio/index2.js +2 -2
  513. package/lib/components/radio/src/radio-button.d.ts +2 -0
  514. package/lib/components/radio/src/radio-button.vue.d.ts +11 -4
  515. package/lib/components/radio/src/radio-button3.js +1 -1
  516. package/lib/components/radio/src/radio-button3.js.map +1 -1
  517. package/lib/components/radio/src/radio-button4.js +47 -68
  518. package/lib/components/radio/src/radio-button4.js.map +1 -1
  519. package/lib/components/radio/src/radio-group.d.ts +3 -0
  520. package/lib/components/radio/src/radio-group.vue.d.ts +19 -1
  521. package/lib/components/radio/src/radio-group3.js +5 -1
  522. package/lib/components/radio/src/radio-group3.js.map +1 -1
  523. package/lib/components/radio/src/radio-group4.js +23 -59
  524. package/lib/components/radio/src/radio-group4.js.map +1 -1
  525. package/lib/components/radio/src/radio.d.ts +6 -4
  526. package/lib/components/radio/src/radio.js +1 -1
  527. package/lib/components/radio/src/radio.vue.d.ts +15 -4
  528. package/lib/components/radio/src/radio3.js +69 -76
  529. package/lib/components/radio/src/radio3.js.map +1 -1
  530. package/lib/components/radio/src/radio4.js +69 -69
  531. package/lib/components/radio/src/radio4.js.map +1 -1
  532. package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -3
  533. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  534. package/lib/components/row/src/row.js.map +1 -1
  535. package/lib/components/select-v2/src/select2.js.map +1 -1
  536. package/lib/components/skeleton/index.d.ts +9 -9
  537. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  538. package/lib/components/skeleton/src/skeleton-item.vue.d.ts +3 -3
  539. package/lib/components/skeleton/src/skeleton.vue.d.ts +3 -3
  540. package/lib/components/slot/src/only-child.js.map +1 -1
  541. package/lib/components/table-v2/src/components/auto-resizer.js.map +1 -1
  542. package/lib/components/table-v2/src/components/cell.js.map +1 -1
  543. package/lib/components/table-v2/src/components/expand-icon.js.map +1 -1
  544. package/lib/components/table-v2/src/components/header-cell.js.map +1 -1
  545. package/lib/components/table-v2/src/components/header-row.js.map +1 -1
  546. package/lib/components/table-v2/src/components/header.js.map +1 -1
  547. package/lib/components/table-v2/src/components/row.js.map +1 -1
  548. package/lib/components/table-v2/src/components/sort-icon.js.map +1 -1
  549. package/lib/components/table-v2/src/renderers/cell.js.map +1 -1
  550. package/lib/components/table-v2/src/renderers/empty.js.map +1 -1
  551. package/lib/components/table-v2/src/renderers/footer.js.map +1 -1
  552. package/lib/components/table-v2/src/renderers/header-cell.js +1 -1
  553. package/lib/components/table-v2/src/renderers/header-cell.js.map +1 -1
  554. package/lib/components/table-v2/src/renderers/header.js.map +1 -1
  555. package/lib/components/table-v2/src/renderers/left-table.js.map +1 -1
  556. package/lib/components/table-v2/src/renderers/main-table.js.map +1 -1
  557. package/lib/components/table-v2/src/renderers/overlay.js.map +1 -1
  558. package/lib/components/table-v2/src/renderers/right-table.js.map +1 -1
  559. package/lib/components/table-v2/src/renderers/row.js.map +1 -1
  560. package/lib/components/table-v2/src/table-grid.js.map +1 -1
  561. package/lib/components/table-v2/src/table-v2.js.map +1 -1
  562. package/lib/components/tabs/src/tab-nav.js.map +1 -1
  563. package/lib/components/tabs/src/tabs.js.map +1 -1
  564. package/lib/components/teleport/index.js +1 -1
  565. package/lib/components/teleport/index2.js +2 -2
  566. package/lib/components/teleport/src/teleport.js +1 -1
  567. package/lib/components/teleport/src/teleport3.js +18 -43
  568. package/lib/components/teleport/src/teleport3.js.map +1 -1
  569. package/lib/components/teleport/src/teleport4.js +43 -18
  570. package/lib/components/teleport/src/teleport4.js.map +1 -1
  571. package/lib/components/time-picker/src/common/picker.vue.d.ts +2 -1
  572. package/lib/components/time-picker/src/common/picker2.js +7 -2
  573. package/lib/components/time-picker/src/common/picker2.js.map +1 -1
  574. package/lib/components/timeline/index.d.ts +72 -0
  575. package/lib/components/timeline/src/timeline-item.vue.d.ts +36 -0
  576. package/lib/components/timeline/src/timeline-item4.js +63 -67
  577. package/lib/components/timeline/src/timeline-item4.js.map +1 -1
  578. package/lib/components/tooltip-v2/src/forward-ref.js.map +1 -1
  579. package/lib/components/upload/index.d.ts +0 -1
  580. package/lib/components/upload/src/upload-list.vue.d.ts +0 -1
  581. package/lib/components/upload/src/upload-list4.js +1 -5
  582. package/lib/components/upload/src/upload-list4.js.map +1 -1
  583. package/lib/components/upload/src/upload.vue.d.ts +0 -1
  584. package/lib/index.js +1 -1
  585. package/lib/utils/dom/scroll2.js.map +1 -1
  586. package/lib/version.d.ts +1 -1
  587. package/lib/version2.js +1 -1
  588. package/lib/version2.js.map +1 -1
  589. package/package.json +8 -8
  590. package/tags.json +1 -1
  591. package/theme-chalk/el-button.css +1 -1
  592. package/theme-chalk/el-checkbox.css +1 -1
  593. package/theme-chalk/el-date-picker.css +1 -1
  594. package/theme-chalk/el-form.css +1 -1
  595. package/theme-chalk/el-radio-button.css +1 -1
  596. package/theme-chalk/el-radio.css +1 -1
  597. package/theme-chalk/el-switch.css +1 -1
  598. package/theme-chalk/el-time-picker.css +1 -1
  599. package/theme-chalk/el-time-select.css +1 -1
  600. package/theme-chalk/el-upload.css +1 -1
  601. package/theme-chalk/index.css +1 -1
  602. package/theme-chalk/src/button.scss +41 -1
  603. package/theme-chalk/src/checkbox.scss +14 -3
  604. package/theme-chalk/src/date-picker/picker.scss +20 -24
  605. package/theme-chalk/src/form.scss +1 -0
  606. package/theme-chalk/src/main.scss +0 -1
  607. package/theme-chalk/src/radio-button.scss +15 -5
  608. package/theme-chalk/src/radio.scss +9 -1
  609. package/theme-chalk/src/switch.scss +8 -0
  610. package/theme-chalk/src/upload.scss +6 -4
  611. package/web-types.json +1 -1
@@ -1,79 +1,75 @@
1
- import { defineComponent, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString } from 'vue';
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, normalizeStyle, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, renderSlot, toDisplayString } from 'vue';
2
2
  import { ElIcon } from '../../icon/index2.mjs';
3
3
  import '../../../hooks/index2.mjs';
4
4
  import { timelineItemProps } from './timeline-item3.mjs';
5
5
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
6
  import { useNamespace } from '../../../hooks/use-namespace/index2.mjs';
7
7
 
8
- const _sfc_main = defineComponent({
9
- name: "ElTimelineItem",
10
- components: {
11
- ElIcon
12
- },
8
+ const __default__ = {
9
+ name: "ElTimelineItem"
10
+ };
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ ...__default__,
13
13
  props: timelineItemProps,
14
- setup() {
14
+ setup(__props) {
15
15
  const ns = useNamespace("timeline-item");
16
- return {
17
- ns
16
+ return (_ctx, _cache) => {
17
+ return openBlock(), createElementBlock("li", {
18
+ class: normalizeClass([unref(ns).b(), { [unref(ns).e("center")]: _ctx.center }])
19
+ }, [
20
+ createElementVNode("div", {
21
+ class: normalizeClass(unref(ns).e("tail"))
22
+ }, null, 2),
23
+ !_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
24
+ key: 0,
25
+ class: normalizeClass([
26
+ unref(ns).e("node"),
27
+ unref(ns).em("node", _ctx.size || ""),
28
+ unref(ns).em("node", _ctx.type || ""),
29
+ unref(ns).is("hollow", _ctx.hollow)
30
+ ]),
31
+ style: normalizeStyle({
32
+ backgroundColor: _ctx.color
33
+ })
34
+ }, [
35
+ _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), {
36
+ key: 0,
37
+ class: normalizeClass(unref(ns).e("icon"))
38
+ }, {
39
+ default: withCtx(() => [
40
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
41
+ ]),
42
+ _: 1
43
+ }, 8, ["class"])) : createCommentVNode("v-if", true)
44
+ ], 6)) : createCommentVNode("v-if", true),
45
+ _ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
46
+ key: 1,
47
+ class: normalizeClass(unref(ns).e("dot"))
48
+ }, [
49
+ renderSlot(_ctx.$slots, "dot")
50
+ ], 2)) : createCommentVNode("v-if", true),
51
+ createElementVNode("div", {
52
+ class: normalizeClass(unref(ns).e("wrapper"))
53
+ }, [
54
+ !_ctx.hideTimestamp && _ctx.placement === "top" ? (openBlock(), createElementBlock("div", {
55
+ key: 0,
56
+ class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("top")])
57
+ }, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true),
58
+ createElementVNode("div", {
59
+ class: normalizeClass(unref(ns).e("content"))
60
+ }, [
61
+ renderSlot(_ctx.$slots, "default")
62
+ ], 2),
63
+ !_ctx.hideTimestamp && _ctx.placement === "bottom" ? (openBlock(), createElementBlock("div", {
64
+ key: 1,
65
+ class: normalizeClass([unref(ns).e("timestamp"), unref(ns).is("bottom")])
66
+ }, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true)
67
+ ], 2)
68
+ ], 2);
18
69
  };
19
70
  }
20
71
  });
21
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
22
- const _component_el_icon = resolveComponent("el-icon");
23
- return openBlock(), createElementBlock("li", {
24
- class: normalizeClass([_ctx.ns.b(), { [_ctx.ns.e("center")]: _ctx.center }])
25
- }, [
26
- createElementVNode("div", {
27
- class: normalizeClass(_ctx.ns.e("tail"))
28
- }, null, 2),
29
- !_ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
30
- key: 0,
31
- class: normalizeClass([
32
- _ctx.ns.e("node"),
33
- _ctx.ns.em("node", _ctx.size || ""),
34
- _ctx.ns.em("node", _ctx.type || ""),
35
- _ctx.ns.is("hollow", _ctx.hollow)
36
- ]),
37
- style: normalizeStyle({
38
- backgroundColor: _ctx.color
39
- })
40
- }, [
41
- _ctx.icon ? (openBlock(), createBlock(_component_el_icon, {
42
- key: 0,
43
- class: normalizeClass(_ctx.ns.e("icon"))
44
- }, {
45
- default: withCtx(() => [
46
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
47
- ]),
48
- _: 1
49
- }, 8, ["class"])) : createCommentVNode("v-if", true)
50
- ], 6)) : createCommentVNode("v-if", true),
51
- _ctx.$slots.dot ? (openBlock(), createElementBlock("div", {
52
- key: 1,
53
- class: normalizeClass(_ctx.ns.e("dot"))
54
- }, [
55
- renderSlot(_ctx.$slots, "dot")
56
- ], 2)) : createCommentVNode("v-if", true),
57
- createElementVNode("div", {
58
- class: normalizeClass(_ctx.ns.e("wrapper"))
59
- }, [
60
- !_ctx.hideTimestamp && _ctx.placement === "top" ? (openBlock(), createElementBlock("div", {
61
- key: 0,
62
- class: normalizeClass([_ctx.ns.e("timestamp"), _ctx.ns.is("top")])
63
- }, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true),
64
- createElementVNode("div", {
65
- class: normalizeClass(_ctx.ns.e("content"))
66
- }, [
67
- renderSlot(_ctx.$slots, "default")
68
- ], 2),
69
- !_ctx.hideTimestamp && _ctx.placement === "bottom" ? (openBlock(), createElementBlock("div", {
70
- key: 1,
71
- class: normalizeClass([_ctx.ns.e("timestamp"), _ctx.ns.is("bottom")])
72
- }, toDisplayString(_ctx.timestamp), 3)) : createCommentVNode("v-if", true)
73
- ], 2)
74
- ], 2);
75
- }
76
- var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);
72
+ var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);
77
73
 
78
74
  export { TimelineItem as default };
79
75
  //# sourceMappingURL=timeline-item4.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"timeline-item4.mjs","sources":["../../../../../../packages/components/timeline/src/timeline-item.vue"],"sourcesContent":["<template>\n <li :class=\"[ns.b(), { [ns.e('center')]: center }]\">\n <div :class=\"ns.e('tail')\" />\n <div\n v-if=\"!$slots.dot\"\n :class=\"[\n ns.e('node'),\n ns.em('node', size || ''),\n ns.em('node', type || ''),\n ns.is('hollow', hollow),\n ]\"\n :style=\"{\n backgroundColor: color,\n }\"\n >\n <el-icon v-if=\"icon\" :class=\"ns.e('icon')\">\n <component :is=\"icon\" />\n </el-icon>\n </div>\n <div v-if=\"$slots.dot\" :class=\"ns.e('dot')\">\n <slot name=\"dot\" />\n </div>\n\n <div :class=\"ns.e('wrapper')\">\n <div\n v-if=\"!hideTimestamp && placement === 'top'\"\n :class=\"[ns.e('timestamp'), ns.is('top')]\"\n >\n {{ timestamp }}\n </div>\n\n <div :class=\"ns.e('content')\">\n <slot />\n </div>\n\n <div\n v-if=\"!hideTimestamp && placement === 'bottom'\"\n :class=\"[ns.e('timestamp'), ns.is('bottom')]\"\n >\n {{ timestamp }}\n </div>\n </div>\n </li>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { useNamespace } from '@element-plus/hooks'\nimport { timelineItemProps } from './timeline-item'\n\nexport default defineComponent({\n name: 'ElTimelineItem',\n components: {\n ElIcon,\n },\n props: timelineItemProps,\n setup() {\n const ns = useNamespace('timeline-item')\n return {\n ns,\n }\n },\n})\n</script>\n"],"names":["_createElementBlock","_normalizeClass","_createElementVNode","_normalizeStyle","_openBlock","_createBlock","_resolve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AA,CAAA;MAGdN,kBAEM,CAAA,KAAA,EAAA;AAAA,QAFA,KAAA,EAAKD,cAAE,CAAA,IAAA,CAAA,EAAA,CAAG,CAAC,CAAA,SAAA,CAAA,CAAA;AAAA,OAAA,EAAA;QACfM,UAAQ,CAAA,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,OAAA,EAAA,CAAA,CAAA;OAID,IAAiB,CAAA,aAAA,IAAA,IAAA,CAAA,SAAA,KAAS,yBADnCP,kBAKM,CAAA,KAAA,EAAA;AAAA,QAAA,GAAA,EAAA,CAAA;AAHH,QAAA,KAAA,EAAKC,cAAG,CAAA,CAAA,IAAA,CAAA,EAAA,CAAG,CAAC,CAAA,WAAA,CAAA,EAAe,QAAG,EAAE,CAAA,QAAA,CAAA,CAAA,CAAA;AAAA,OAAA,EAAAQ,eAAA,CAE9B,IAAS,CAAA,SAAA,CAAA,EAAA,CAAA,CAAA,IAAAD,kBAAA,CAAA,MAAA,EAAA,IAAA,CAAA;;;;;;;;"}
1
+ {"version":3,"file":"timeline-item4.mjs","sources":["../../../../../../packages/components/timeline/src/timeline-item.vue"],"sourcesContent":["<template>\n <li :class=\"[ns.b(), { [ns.e('center')]: center }]\">\n <div :class=\"ns.e('tail')\" />\n <div\n v-if=\"!$slots.dot\"\n :class=\"[\n ns.e('node'),\n ns.em('node', size || ''),\n ns.em('node', type || ''),\n ns.is('hollow', hollow),\n ]\"\n :style=\"{\n backgroundColor: color,\n }\"\n >\n <el-icon v-if=\"icon\" :class=\"ns.e('icon')\">\n <component :is=\"icon\" />\n </el-icon>\n </div>\n <div v-if=\"$slots.dot\" :class=\"ns.e('dot')\">\n <slot name=\"dot\" />\n </div>\n\n <div :class=\"ns.e('wrapper')\">\n <div\n v-if=\"!hideTimestamp && placement === 'top'\"\n :class=\"[ns.e('timestamp'), ns.is('top')]\"\n >\n {{ timestamp }}\n </div>\n\n <div :class=\"ns.e('content')\">\n <slot />\n </div>\n\n <div\n v-if=\"!hideTimestamp && placement === 'bottom'\"\n :class=\"[ns.e('timestamp'), ns.is('bottom')]\"\n >\n {{ timestamp }}\n </div>\n </div>\n </li>\n</template>\n\n<script lang=\"ts\" setup>\nimport { ElIcon } from '@element-plus/components/icon'\nimport { useNamespace } from '@element-plus/hooks'\nimport { timelineItemProps } from './timeline-item'\n\ndefineOptions({\n name: 'ElTimelineItem',\n})\n\ndefineProps(timelineItemProps)\n\nconst ns = useNamespace('timeline-item')\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAwDA,IAAA,MAAA,EAAA,GAAA,aAAA,eAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"forward-ref.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/forward-ref.tsx"],"sourcesContent":["import { Fragment, defineComponent, ref } from 'vue'\nimport {\n buildProps,\n composeRefs,\n definePropType,\n ensureOnlyChild,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes, VNodeArrayChildren } from 'vue'\n\nexport type RefSetter = (el: HTMLElement | null) => void\n\nexport const forwardRefProps = buildProps({\n setRef: { type: definePropType<RefSetter>(Function), required: true },\n onlyChild: Boolean,\n} as const)\n\nexport type ForwardRefProps = ExtractPropTypes<typeof forwardRefProps>\n\n// TODO: consider make this component a reusable component without the only child feature.\nexport default defineComponent({\n props: forwardRefProps,\n setup(props, { slots }) {\n const fragmentRef = ref()\n const setRef = composeRefs(fragmentRef, (el) => {\n // vue fragments is represented as a text element.\n // The first element sibling should be the first element children of fragment.\n // This is how we get the element.\n if (el) {\n props.setRef(\n (el as HTMLElement).nextElementSibling as HTMLElement | null\n )\n } else {\n props.setRef(null)\n }\n })\n return () => {\n const [firstChild] = slots.default?.() || []\n const child = props.onlyChild\n ? ensureOnlyChild(firstChild.children as VNodeArrayChildren)\n : firstChild.children\n // Dunno why the ref for jsx complains about the typing issue which was not\n // in template\n return <Fragment ref={setRef as any}>{child}</Fragment>\n }\n },\n})\n"],"names":["forwardRefProps","buildProps","setRef","type","definePropType","Function","required","onlyChild","Boolean","props","setup","slots","fragmentRef","composeRefs","el","_createVNode","_Fragment"],"mappings":";;;;;;AAYaA,MAAAA,eAAe,GAAGC,UAAU,CAAC;AACxCC,EAAAA,MAAM,EAAE;AAAEC,IAAAA,IAAI,EAAEC,cAAc,CAAYC,QAAZ,CAAtB;AAA6CC,IAAAA,QAAQ,EAAE,IAAA;AAAvD,GADgC;AAExCC,EAAAA,SAAS,EAAEC,OAAAA;AAF6B,CAAD,EAAlC;AAOP,iBAAA,eAAA,CAAA;AACA,EAAA,KAAA,EAAA;AACEC,EAAAA,KAAK,MADwB,EAAA;;AAE7BC,GAAAA,EAAAA;AAAeC,IAAAA,MAAAA,WAAAA,GAAAA,GAAAA,EAAAA,CAAAA;AAAF,IAAW,MAAA,MAAA,GAAA,WAAA,CAAA,WAAA,EAAA,CAAA,EAAA,KAAA;AACtB,MAAMC,IAAAA,EAAAA,EAAAA;AACN,QAAA,YAAeC,CAAAA,EAAAA,CAAAA,kBAAW,CAAA,CAAeC;AACvC,OAAA,MAAA;AACA,QAAA,KAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAAA;AACA,OAAA;AACA,KAAA,CAAA,CAAA;AACEL,IAAAA,aAAMP;AAGP,MAAA,IAAM,EAAA,CAAA;AACLO,MAAAA,MAAK,CAAA,UAAL,CAAA,GAAA,CAAA,CAAA,EAAA,GAAA,KAAA,CAAA,OAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,EAAA,CAAA;AACD,MAAA,MAAA,KAAA,GAAA,KAAA,CAAA,SAAA,GAAA,eAAA,CAAA,UAAA,CAAA,QAAA,CAAA,GAAA,UAAA,CAAA,QAAA,CAAA;AACF,MAXD,OAAAM,WAAA,CAAAC,QAAA,EAAA;AAYA,QAAA,KAAa,EAAA,MAAA;AACX,OAAA,EAAA,CAAA,KAAM,CAAA,CAAA,CAAA;AACN,KAAA,CAAA;AAIA,GAAA;;;;;"}
1
+ {"version":3,"file":"forward-ref.mjs","sources":["../../../../../../packages/components/tooltip-v2/src/forward-ref.tsx"],"sourcesContent":["import { Fragment, defineComponent, ref } from 'vue'\nimport {\n buildProps,\n composeRefs,\n definePropType,\n ensureOnlyChild,\n} from '@element-plus/utils'\n\nimport type { ExtractPropTypes, VNodeArrayChildren } from 'vue'\n\nexport type RefSetter = (el: HTMLElement | null) => void\n\nexport const forwardRefProps = buildProps({\n setRef: { type: definePropType<RefSetter>(Function), required: true },\n onlyChild: Boolean,\n} as const)\n\nexport type ForwardRefProps = ExtractPropTypes<typeof forwardRefProps>\n\n// TODO: consider make this component a reusable component without the only child feature.\nexport default defineComponent({\n props: forwardRefProps,\n setup(props, { slots }) {\n const fragmentRef = ref()\n const setRef = composeRefs(fragmentRef, (el) => {\n // vue fragments is represented as a text element.\n // The first element sibling should be the first element children of fragment.\n // This is how we get the element.\n if (el) {\n props.setRef(\n (el as HTMLElement).nextElementSibling as HTMLElement | null\n )\n } else {\n props.setRef(null)\n }\n })\n return () => {\n const [firstChild] = slots.default?.() || []\n const child = props.onlyChild\n ? ensureOnlyChild(firstChild.children as VNodeArrayChildren)\n : firstChild.children\n // Dunno why the ref for jsx complains about the typing issue which was not\n // in template\n return <Fragment ref={setRef as any}>{child}</Fragment>\n }\n },\n})\n"],"names":["forwardRefProps","buildProps","setRef","type","definePropType","Function","required","onlyChild","Boolean","props","slots","fragmentRef","composeRefs","el","_createVNode","_Fragment"],"mappings":";;;;;;AAYaA,MAAAA,eAAe,GAAGC,UAAU,CAAC;AACxCC,EAAAA,MAAM,EAAE;AAAEC,IAAAA,IAAI,EAAEC,cAAc,CAAYC,QAAZ,CAAtB;AAA6CC,IAAAA,QAAQ,EAAE,IAAA;GADvB;AAExCC,EAAAA,SAAS,EAAEC,OAAAA;AAF6B,CAAD,EAAlC;AAOP,iBAAA,eAAA,CAAA;AACA,EAAA,KAAA,EAAA;AACEC,EAAAA,KAAK,MADwB,EAAA;;GAExB,EAAA;AAAUC,IAAAA,MAAAA,WAAAA,GAAAA,GAAAA,EAAAA,CAAAA;AAAF,IAAW,MAAA,MAAA,GAAA,WAAA,CAAA,WAAA,EAAA,CAAA,EAAA,KAAA;MAChBC,IAAAA,EAAAA,EAAAA;AACN,QAAA,YAAeC,CAAAA,EAAAA,CAAAA,kBAAW,CAAA,CAAeC;AACvC,OAAA,MAAA;AACA,QAAA,KAAA,CAAA,MAAA,CAAA,IAAA,CAAA,CAAA;AACA,OAAA;AACA,KAAA,CAAA,CAAA;AACEJ,IAAAA,OAAAA,MAAMP;AAGP,MAAA,IAAM,EAAA,CAAA;YACA,CAAA,UAAL,CAAA,GAAA,CAAA,CAAA,EAAA,GAAA,KAAA,CAAA,OAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,KAAA,CAAA,KAAA,EAAA,CAAA;AACD,MAAA,MAAA,KAAA,GAAA,KAAA,CAAA,SAAA,GAAA,eAAA,CAAA,UAAA,CAAA,QAAA,CAAA,GAAA,UAAA,CAAA,QAAA,CAAA;AACF,MAXD,OAAAY,WAAA,CAAAC,QAAA,EAAA;AAYA,QAAA,KAAa,EAAA,MAAA;AACX,OAAA,EAAA,CAAA,KAAM,CAAA,CAAA,CAAA;AACN,KAAA,CAAA;AAIA,GAAA;;;;;"}
@@ -531,7 +531,6 @@ export declare const ElUpload: import("element-plus/es/utils").SFCWithInstall<im
531
531
  };
532
532
  focusing: import("vue").Ref<boolean>;
533
533
  handleClick: (file: import("./src/upload").UploadFile) => void;
534
- onFileClicked: (e: Event) => void;
535
534
  handleRemove: (file: import("./src/upload").UploadFile) => void;
536
535
  ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
537
536
  readonly size: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>;
@@ -71,7 +71,6 @@ declare const _default: import("vue").DefineComponent<{
71
71
  };
72
72
  focusing: import("vue").Ref<boolean>;
73
73
  handleClick: (file: UploadFile) => void;
74
- onFileClicked: (e: Event) => void;
75
74
  handleRemove: (file: UploadFile) => void;
76
75
  ElIcon: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
77
76
  readonly size: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>;
@@ -30,10 +30,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
30
30
  const handleClick = (file) => {
31
31
  props.handlePreview(file);
32
32
  };
33
- const onFileClicked = (e) => {
34
- ;
35
- e.target.focus();
36
- };
37
33
  const handleRemove = (file) => {
38
34
  emit("remove", file);
39
35
  };
@@ -60,7 +56,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
60
56
  onKeydown: withKeys(($event) => !_ctx.disabled && handleRemove(file), ["delete"]),
61
57
  onFocus: _cache[0] || (_cache[0] = ($event) => focusing.value = true),
62
58
  onBlur: _cache[1] || (_cache[1] = ($event) => focusing.value = false),
63
- onClick: onFileClicked
59
+ onClick: _cache[2] || (_cache[2] = ($event) => focusing.value = false)
64
60
  }, [
65
61
  renderSlot(_ctx.$slots, "default", { file }, () => [
66
62
  _ctx.listType === "picture" || file.status !== "uploading" && _ctx.listType === "picture-card" ? (openBlock(), createElementBlock("img", {
@@ -1 +1 @@
1
- {"version":3,"file":"upload-list4.mjs","sources":["../../../../../../packages/components/upload/src/upload-list.vue"],"sourcesContent":["<template>\n <transition-group\n tag=\"ul\"\n :class=\"[\n nsUpload.b('list'),\n nsUpload.bm('list', listType),\n nsUpload.is('disabled', disabled),\n ]\"\n :name=\"nsList.b()\"\n >\n <li\n v-for=\"file in files\"\n :key=\"file.uid || file.name\"\n :class=\"[\n nsUpload.be('list', 'item'),\n nsUpload.is(file.status),\n { focusing },\n ]\"\n tabindex=\"0\"\n @keydown.delete=\"!disabled && handleRemove(file)\"\n @focus=\"focusing = true\"\n @blur=\"focusing = false\"\n @click=\"onFileClicked\"\n >\n <slot :file=\"file\">\n <img\n v-if=\"\n listType === 'picture' ||\n (file.status !== 'uploading' && listType === 'picture-card')\n \"\n :class=\"nsUpload.be('list', 'item-thumbnail')\"\n :src=\"file.url\"\n alt=\"\"\n />\n <div\n v-if=\"\n listType !== 'picture' &&\n (file.status === 'uploading' || listType !== 'picture-card')\n \"\n :class=\"nsUpload.be('list', 'item-info')\"\n >\n <a\n :class=\"nsUpload.be('list', 'item-name')\"\n @click.prevent=\"handleClick(file)\"\n >\n <el-icon :class=\"nsIcon.m('document')\"><Document /></el-icon>\n <span :class=\"nsUpload.be('list', 'item-file-name')\">\n {{ file.name }}\n </span>\n </a>\n <el-progress\n v-if=\"file.status === 'uploading'\"\n :type=\"listType === 'picture-card' ? 'circle' : 'line'\"\n :stroke-width=\"listType === 'picture-card' ? 6 : 2\"\n :percentage=\"Number(file.percentage)\"\n :style=\"listType === 'picture-card' ? '' : 'margin-top: 0.5rem'\"\n />\n </div>\n\n <label :class=\"nsUpload.be('list', 'item-status-label')\">\n <el-icon\n v-if=\"listType === 'text'\"\n :class=\"[nsIcon.m('upload-success'), nsIcon.m('circle-check')]\"\n >\n <circle-check />\n </el-icon>\n <el-icon\n v-else-if=\"['picture-card', 'picture'].includes(listType)\"\n :class=\"[nsIcon.m('upload-success'), nsIcon.m('check')]\"\n >\n <Check />\n </el-icon>\n </label>\n <el-icon\n v-if=\"!disabled\"\n :class=\"nsIcon.m('close')\"\n @click=\"handleRemove(file)\"\n >\n <Close />\n </el-icon>\n <!-- Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn-->\n <!-- This is a bug which needs to be fixed -->\n <!-- TODO: Fix the incorrect navigation interaction -->\n <i v-if=\"!disabled\" :class=\"nsIcon.m('close-tip')\">{{\n t('el.upload.deleteTip')\n }}</i>\n <span\n v-if=\"listType === 'picture-card'\"\n :class=\"nsUpload.be('list', 'item-actions')\"\n >\n <span\n :class=\"nsUpload.be('list', 'item-preview')\"\n @click=\"handlePreview(file)\"\n >\n <el-icon :class=\"nsIcon.m('zoom-in')\"><zoom-in /></el-icon>\n </span>\n <span\n v-if=\"!disabled\"\n :class=\"nsUpload.be('list', 'item-delete')\"\n @click=\"handleRemove(file)\"\n >\n <el-icon :class=\"nsIcon.m('delete')\"><Delete /></el-icon>\n </span>\n </span>\n </slot>\n </li>\n <slot name=\"append\" />\n </transition-group>\n</template>\n<script lang=\"ts\" setup>\nimport { ref } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n Check,\n CircleCheck,\n Close,\n Delete,\n Document,\n ZoomIn,\n} from '@element-plus/icons-vue'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport ElProgress from '@element-plus/components/progress'\n\nimport { uploadListEmits, uploadListProps } from './upload-list'\nimport type { UploadFile } from './upload'\n\ndefineOptions({\n name: 'ElUploadList',\n})\n\nconst props = defineProps(uploadListProps)\nconst emit = defineEmits(uploadListEmits)\n\nconst { t } = useLocale()\nconst nsUpload = useNamespace('upload')\nconst nsIcon = useNamespace('icon')\nconst nsList = useNamespace('list')\n\nconst focusing = ref(false)\n\nconst handleClick = (file: UploadFile) => {\n props.handlePreview(file)\n}\n\nconst onFileClicked = (e: Event) => {\n ;(e.target as HTMLElement).focus()\n}\n\nconst handleRemove = (file: UploadFile) => {\n emit('remove', file)\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAqIA,IAAA,MAAA,EAAA,MAAA,SAAA,EAAA,CAAA;AACA,IAAA,MAAA,QAAA,GAAA,aAAA,QAAA,CAAA,CAAA;AACA,IAAA,MAAA,MAAA,GAAA,aAAA,MAAA,CAAA,CAAA;AACA,IAAA,MAAA,MAAA,GAAA,aAAA,MAAA,CAAA,CAAA;AAEA,IAAA,MAAA,QAAA,GAAA,IAAA,KAAA,CAAA,CAAA;AAEA,IAAA,MAAA,WAAA,GAAA,CAAA,IAAA,KAAA;AACA,MAAA,KAAA,CAAA,cAAA,IAAA,CAAA,CAAA;AAAA,KACA,CAAA;AAEA,IAAA,MAAA,aAAA,GAAA,CAAA,CAAA,KAAA;AACA,MAAA,CAAA;AAAA,MAAA,CAAA,CAAA,OAAA,KAAA,EAAA,CAAA;AAAA,KACA,CAAA;AAEA,IAAA,MAAA,YAAA,GAAA,CAAA,IAAA,KAAA;AACA,MAAA,IAAA,CAAA,UAAA,IAAA,CAAA,CAAA;AAAA,KACA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"upload-list4.mjs","sources":["../../../../../../packages/components/upload/src/upload-list.vue"],"sourcesContent":["<template>\n <transition-group\n tag=\"ul\"\n :class=\"[\n nsUpload.b('list'),\n nsUpload.bm('list', listType),\n nsUpload.is('disabled', disabled),\n ]\"\n :name=\"nsList.b()\"\n >\n <li\n v-for=\"file in files\"\n :key=\"file.uid || file.name\"\n :class=\"[\n nsUpload.be('list', 'item'),\n nsUpload.is(file.status),\n { focusing },\n ]\"\n tabindex=\"0\"\n @keydown.delete=\"!disabled && handleRemove(file)\"\n @focus=\"focusing = true\"\n @blur=\"focusing = false\"\n @click=\"focusing = false\"\n >\n <slot :file=\"file\">\n <img\n v-if=\"\n listType === 'picture' ||\n (file.status !== 'uploading' && listType === 'picture-card')\n \"\n :class=\"nsUpload.be('list', 'item-thumbnail')\"\n :src=\"file.url\"\n alt=\"\"\n />\n <div\n v-if=\"\n listType !== 'picture' &&\n (file.status === 'uploading' || listType !== 'picture-card')\n \"\n :class=\"nsUpload.be('list', 'item-info')\"\n >\n <a\n :class=\"nsUpload.be('list', 'item-name')\"\n @click.prevent=\"handleClick(file)\"\n >\n <el-icon :class=\"nsIcon.m('document')\"><Document /></el-icon>\n <span :class=\"nsUpload.be('list', 'item-file-name')\">\n {{ file.name }}\n </span>\n </a>\n <el-progress\n v-if=\"file.status === 'uploading'\"\n :type=\"listType === 'picture-card' ? 'circle' : 'line'\"\n :stroke-width=\"listType === 'picture-card' ? 6 : 2\"\n :percentage=\"Number(file.percentage)\"\n :style=\"listType === 'picture-card' ? '' : 'margin-top: 0.5rem'\"\n />\n </div>\n\n <label :class=\"nsUpload.be('list', 'item-status-label')\">\n <el-icon\n v-if=\"listType === 'text'\"\n :class=\"[nsIcon.m('upload-success'), nsIcon.m('circle-check')]\"\n >\n <circle-check />\n </el-icon>\n <el-icon\n v-else-if=\"['picture-card', 'picture'].includes(listType)\"\n :class=\"[nsIcon.m('upload-success'), nsIcon.m('check')]\"\n >\n <Check />\n </el-icon>\n </label>\n <el-icon\n v-if=\"!disabled\"\n :class=\"nsIcon.m('close')\"\n @click=\"handleRemove(file)\"\n >\n <Close />\n </el-icon>\n <!-- Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn-->\n <!-- This is a bug which needs to be fixed -->\n <!-- TODO: Fix the incorrect navigation interaction -->\n <i v-if=\"!disabled\" :class=\"nsIcon.m('close-tip')\">{{\n t('el.upload.deleteTip')\n }}</i>\n <span\n v-if=\"listType === 'picture-card'\"\n :class=\"nsUpload.be('list', 'item-actions')\"\n >\n <span\n :class=\"nsUpload.be('list', 'item-preview')\"\n @click=\"handlePreview(file)\"\n >\n <el-icon :class=\"nsIcon.m('zoom-in')\"><zoom-in /></el-icon>\n </span>\n <span\n v-if=\"!disabled\"\n :class=\"nsUpload.be('list', 'item-delete')\"\n @click=\"handleRemove(file)\"\n >\n <el-icon :class=\"nsIcon.m('delete')\"><Delete /></el-icon>\n </span>\n </span>\n </slot>\n </li>\n <slot name=\"append\" />\n </transition-group>\n</template>\n<script lang=\"ts\" setup>\nimport { ref } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport {\n Check,\n CircleCheck,\n Close,\n Delete,\n Document,\n ZoomIn,\n} from '@element-plus/icons-vue'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport ElProgress from '@element-plus/components/progress'\n\nimport { uploadListEmits, uploadListProps } from './upload-list'\nimport type { UploadFile } from './upload'\n\ndefineOptions({\n name: 'ElUploadList',\n})\n\nconst props = defineProps(uploadListProps)\nconst emit = defineEmits(uploadListEmits)\n\nconst { t } = useLocale()\nconst nsUpload = useNamespace('upload')\nconst nsIcon = useNamespace('icon')\nconst nsList = useNamespace('list')\n\nconst focusing = ref(false)\n\nconst handleClick = (file: UploadFile) => {\n props.handlePreview(file)\n}\n\nconst handleRemove = (file: UploadFile) => {\n emit('remove', file)\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAqIA,IAAA,MAAA,EAAA,MAAA,SAAA,EAAA,CAAA;AACA,IAAA,MAAA,QAAA,GAAA,aAAA,QAAA,CAAA,CAAA;AACA,IAAA,MAAA,MAAA,GAAA,aAAA,MAAA,CAAA,CAAA;AACA,IAAA,MAAA,MAAA,GAAA,aAAA,MAAA,CAAA,CAAA;AAEA,IAAA,MAAA,QAAA,GAAA,IAAA,KAAA,CAAA,CAAA;AAEA,IAAA,MAAA,WAAA,GAAA,CAAA,IAAA,KAAA;AACA,MAAA,KAAA,CAAA,cAAA,IAAA,CAAA,CAAA;AAAA,KACA,CAAA;AAEA,IAAA,MAAA,YAAA,GAAA,CAAA,IAAA,KAAA;AACA,MAAA,IAAA,CAAA,UAAA,IAAA,CAAA,CAAA;AAAA,KACA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -532,7 +532,6 @@ declare const _default: import("vue").DefineComponent<{
532
532
  };
533
533
  focusing: import("vue").Ref<boolean>;
534
534
  handleClick: (file: import("./upload").UploadFile) => void;
535
- onFileClicked: (e: Event) => void;
536
535
  handleRemove: (file: import("./upload").UploadFile) => void;
537
536
  ElIcon: import("../../../utils").SFCWithInstall<import("vue").DefineComponent<{
538
537
  readonly size: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<string | number>, unknown, unknown, unknown, unknown>;
package/es/index.mjs CHANGED
@@ -95,7 +95,7 @@ export { default as ElPopperContent } from './components/popper/src/content4.mjs
95
95
  export { ElPopper } from './components/popper/index2.mjs';
96
96
  export { progressProps } from './components/progress/src/progress3.mjs';
97
97
  export { ElProgress } from './components/progress/index2.mjs';
98
- export { radioEmits, radioProps, radioPropsBase, useRadio } from './components/radio/src/radio4.mjs';
98
+ export { radioEmits, radioProps, radioPropsBase, useRadio } from './components/radio/src/radio3.mjs';
99
99
  export { radioGroupEmits, radioGroupProps } from './components/radio/src/radio-group3.mjs';
100
100
  export { radioButtonProps } from './components/radio/src/radio-button3.mjs';
101
101
  export { ElRadio, ElRadioButton, ElRadioGroup } from './components/radio/index2.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"scroll2.mjs","sources":["../../../../../packages/utils/dom/scroll.ts"],"sourcesContent":["import { isClient } from '@vueuse/core'\nimport { getStyle } from './style'\n\nexport const isScroll = (el: HTMLElement, isVertical?: boolean): boolean => {\n if (!isClient) return false\n\n const key = (\n {\n undefined: 'overflow',\n true: 'overflow-y',\n false: 'overflow-x',\n } as const\n )[String(isVertical)]!\n const overflow = getStyle(el, key)\n return ['scroll', 'auto', 'overlay'].some((s) => overflow.includes(s))\n}\n\nexport const getScrollContainer = (\n el: HTMLElement,\n isVertical?: boolean\n): Window | HTMLElement | undefined => {\n if (!isClient) return\n\n let parent: HTMLElement = el\n while (parent) {\n if ([window, document, document.documentElement].includes(parent))\n return window\n\n if (isScroll(parent, isVertical)) return parent\n\n parent = parent.parentNode as HTMLElement\n }\n\n return parent\n}\n\nlet scrollBarWidth: number\nexport const getScrollBarWidth = (): number => {\n if (!isClient) return 0\n if (scrollBarWidth !== undefined) return scrollBarWidth\n\n const outer = document.createElement('div')\n outer.className = 'el-scrollbar__wrap'\n outer.style.visibility = 'hidden'\n outer.style.width = '100px'\n outer.style.position = 'absolute'\n outer.style.top = '-9999px'\n document.body.appendChild(outer)\n\n const widthNoScroll = outer.offsetWidth\n outer.style.overflow = 'scroll'\n\n const inner = document.createElement('div')\n inner.style.width = '100%'\n outer.appendChild(inner)\n\n const widthWithScroll = inner.offsetWidth\n outer.parentNode?.removeChild(outer)\n scrollBarWidth = widthNoScroll - widthWithScroll\n\n return scrollBarWidth\n}\n\n/**\n * Scroll with in the container element, positioning the **selected** element at the top\n * of the container\n */\nexport function scrollIntoView(\n container: HTMLElement,\n selected: HTMLElement\n): void {\n if (!isClient) return\n\n if (!selected) {\n container.scrollTop = 0\n return\n }\n\n const offsetParents: HTMLElement[] = []\n let pointer = selected.offsetParent\n while (\n pointer !== null &&\n container !== pointer &&\n container.contains(pointer)\n ) {\n offsetParents.push(pointer as HTMLElement)\n pointer = (pointer as HTMLElement).offsetParent\n }\n const top =\n selected.offsetTop +\n offsetParents.reduce((prev, curr) => prev + curr.offsetTop, 0)\n const bottom = top + selected.offsetHeight\n const viewRectTop = container.scrollTop\n const viewRectBottom = viewRectTop + container.clientHeight\n\n if (top < viewRectTop) {\n container.scrollTop = top\n } else if (bottom > viewRectBottom) {\n container.scrollTop = bottom - container.clientHeight\n }\n}\n"],"names":[],"mappings":";;;AAEY,MAAC,QAAQ,GAAG,CAAC,EAAE,EAAE,UAAU,KAAK;AAC5C,EAAE,IAAI,CAAC,QAAQ;AACf,IAAI,OAAO,KAAK,CAAC;AACjB,EAAE,MAAM,GAAG,GAAG;AACd,IAAI,SAAS,EAAE,UAAU;AACzB,IAAI,IAAI,EAAE,YAAY;AACtB,IAAI,KAAK,EAAE,YAAY;AACvB,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AACxB,EAAE,MAAM,QAAQ,GAAG,QAAQ,CAAC,EAAE,EAAE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AG,GAAG,QAAQ,CAAC,SAAS,GAAG,aAAa,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;AAClG,EAAE,MAAM,MAAM,GAAG,GAAG,GAAG,QAAQ,CAAC,YAAY,CAAC;AAC7C,EAAE,MAAM,WAAW,GAAG,SAAS,CAAC,SAAS,CAAC;AAC1C,EAAE,MAAM,cAAc,GAAG,WAAW,GAAG,SAAS,CAAC,YAAY,CAAC;AAC9D,EAAE,IAAI,GAAG,GAAG,WAAW,EAAE;AACzB,IAAI,SAAS,CAAC,SAAS,GAAG,GAAG,CAAC;AAC9B,GAAG,MAAM,IAAI,MAAM,GAAG,cAAc,EAAE;AACtC,IAAI,SAAS,CAAC,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC,YAAY,CAAC;AAC1D,GAAG;AACH;;;;"}
1
+ {"version":3,"file":"scroll2.mjs","sources":["../../../../../packages/utils/dom/scroll.ts"],"sourcesContent":["import { isClient } from '@vueuse/core'\nimport { getStyle } from './style'\n\nexport const isScroll = (el: HTMLElement, isVertical?: boolean): boolean => {\n if (!isClient) return false\n\n const key = (\n {\n undefined: 'overflow',\n true: 'overflow-y',\n false: 'overflow-x',\n } as const\n )[String(isVertical)]!\n const overflow = getStyle(el, key)\n return ['scroll', 'auto', 'overlay'].some((s) => overflow.includes(s))\n}\n\nexport const getScrollContainer = (\n el: HTMLElement,\n isVertical?: boolean\n): Window | HTMLElement | undefined => {\n if (!isClient) return\n\n let parent: HTMLElement = el\n while (parent) {\n if ([window, document, document.documentElement].includes(parent))\n return window\n\n if (isScroll(parent, isVertical)) return parent\n\n parent = parent.parentNode as HTMLElement\n }\n\n return parent\n}\n\nlet scrollBarWidth: number\nexport const getScrollBarWidth = (): number => {\n if (!isClient) return 0\n if (scrollBarWidth !== undefined) return scrollBarWidth\n\n const outer = document.createElement('div')\n // Cannot access 'propKey' before initialization\n // need to be dynamic namespace\n outer.className = 'el-scrollbar__wrap'\n outer.style.visibility = 'hidden'\n outer.style.width = '100px'\n outer.style.position = 'absolute'\n outer.style.top = '-9999px'\n document.body.appendChild(outer)\n\n const widthNoScroll = outer.offsetWidth\n outer.style.overflow = 'scroll'\n\n const inner = document.createElement('div')\n inner.style.width = '100%'\n outer.appendChild(inner)\n\n const widthWithScroll = inner.offsetWidth\n outer.parentNode?.removeChild(outer)\n scrollBarWidth = widthNoScroll - widthWithScroll\n\n return scrollBarWidth\n}\n\n/**\n * Scroll with in the container element, positioning the **selected** element at the top\n * of the container\n */\nexport function scrollIntoView(\n container: HTMLElement,\n selected: HTMLElement\n): void {\n if (!isClient) return\n\n if (!selected) {\n container.scrollTop = 0\n return\n }\n\n const offsetParents: HTMLElement[] = []\n let pointer = selected.offsetParent\n while (\n pointer !== null &&\n container !== pointer &&\n container.contains(pointer)\n ) {\n offsetParents.push(pointer as HTMLElement)\n pointer = (pointer as HTMLElement).offsetParent\n }\n const top =\n selected.offsetTop +\n offsetParents.reduce((prev, curr) => prev + curr.offsetTop, 0)\n const bottom = top + selected.offsetHeight\n const viewRectTop = container.scrollTop\n const viewRectBottom = viewRectTop + container.clientHeight\n\n if (top < viewRectTop) {\n container.scrollTop = top\n } else if (bottom > viewRectBottom) {\n container.scrollTop = bottom - container.clientHeight\n }\n}\n"],"names":[],"mappings":";;;AAEY,MAAC,QAAQ,GAAG,CAAC,EAAE,EAAE,UAAU,KAAK;AAC5C,EAAE,IAAI,CAAC,QAAQ;AACf,IAAI,OAAO,KAAK,CAAC;AACjB,EAAE,MAAM,GAAG,GAAG;AACd,IAAI,SAAS,EAAE,UAAU;AACzB,IAAI,IAAI,EAAE,YAAY;AACtB,IAAI,KAAK,EAAE,YAAY;AACvB,GAAG,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AACxB,EAAE,MAAM,QAAQ,GAAG,QAAQ,CAAC,EAAE,EAAE,GAAG,CAAC,CAAC;AACrC,EAAE,OAAO,CAAC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AAC,MAAM,CAAC,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,GAAG,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,CAAC;AAClG,EAAE,MAAM,MAAM,GAAG,GAAG,GAAG,QAAQ,CAAC,YAAY,CAAC;AAC7C,EAAE,MAAM,WAAW,GAAG,SAAS,CAAC,SAAS,CAAC;AAC1C,EAAE,MAAM,cAAc,GAAG,WAAW,GAAG,SAAS,CAAC,YAAY,CAAC;AAC9D,EAAE,IAAI,GAAG,GAAG,WAAW,EAAE;AACzB,IAAI,SAAS,CAAC,SAAS,GAAG,GAAG,CAAC;AAC9B,GAAG,MAAM,IAAI,MAAM,GAAG,cAAc,EAAE;AACtC,IAAI,SAAS,CAAC,SAAS,GAAG,MAAM,GAAG,SAAS,CAAC,YAAY,CAAC;AAC1D,GAAG;AACH;;;;"}
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20220515";
1
+ export declare const version = "0.0.20220519";
package/es/version2.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20220515";
1
+ const version = "0.0.20220519";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version2.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220515'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
1
+ {"version":3,"file":"version2.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20220519'\n"],"names":[],"mappings":"AAAY,MAAC,OAAO,GAAG;;;;"}
@@ -1,7 +1,7 @@
1
1
  export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
2
2
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
3
3
  readonly disabled: BooleanConstructor;
4
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
4
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
5
5
  readonly icon: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
6
6
  readonly nativeType: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
7
7
  readonly loading: BooleanConstructor;
@@ -20,7 +20,7 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
20
20
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
21
21
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
22
22
  readonly disabled: BooleanConstructor;
23
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
23
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
24
24
  readonly icon: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
25
25
  readonly nativeType: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
26
26
  readonly loading: BooleanConstructor;
@@ -66,7 +66,7 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
66
66
  _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
67
67
  _disabled: import("vue").ComputedRef<boolean>;
68
68
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
69
- _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
69
+ _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
70
70
  autoInsertSpace: import("vue").ComputedRef<import("element-plus/es/utils").BuildPropType<BooleanConstructor, unknown, unknown>>;
71
71
  shouldAddSpace: import("vue").ComputedRef<boolean>;
72
72
  buttonStyle: import("vue").ComputedRef<Record<string, string>>;
@@ -112,7 +112,7 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
112
112
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
113
113
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
114
114
  readonly disabled: BooleanConstructor;
115
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
115
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
116
116
  readonly icon: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
117
117
  readonly nativeType: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
118
118
  readonly loading: BooleanConstructor;
@@ -130,7 +130,8 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
130
130
  }>> & {
131
131
  onClick?: ((evt: MouseEvent) => any) | undefined;
132
132
  }, {
133
- type: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
133
+ type: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
134
+ text: boolean;
134
135
  icon: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
135
136
  nativeType: import("element-plus/es/utils").BuildPropType<StringConstructor, "button" | "submit" | "reset", unknown>;
136
137
  loadingIcon: import("element-plus/es/utils").BuildPropType<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
@@ -139,7 +140,6 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
139
140
  disabled: boolean;
140
141
  loading: boolean;
141
142
  plain: boolean;
142
- text: boolean;
143
143
  link: boolean;
144
144
  bg: boolean;
145
145
  autofocus: boolean;
@@ -149,11 +149,11 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
149
149
  }>> & {
150
150
  ButtonGroup: import("vue").DefineComponent<{
151
151
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
152
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
152
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
153
153
  }, {
154
154
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
155
155
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
156
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
156
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
157
157
  }>> & {
158
158
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
159
159
  }>>;
@@ -177,19 +177,19 @@ export declare const ElButton: import("element-plus/es/utils").SFCWithInstall<im
177
177
  };
178
178
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
179
179
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
180
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
180
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
181
181
  }>>, {
182
- type: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
182
+ type: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
183
183
  size: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "small" | "large", never>;
184
184
  }>;
185
185
  };
186
186
  export declare const ElButtonGroup: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
187
187
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
188
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
188
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
189
189
  }, {
190
190
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
191
191
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
192
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
192
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
193
193
  }>> & {
194
194
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
195
195
  }>>;
@@ -213,9 +213,9 @@ export declare const ElButtonGroup: import("element-plus/es/utils").SFCWithInsta
213
213
  };
214
214
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
215
215
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
216
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
216
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
217
217
  }>>, {
218
- type: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
218
+ type: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
219
219
  size: import("element-plus/es/utils").BuildPropType<StringConstructor, "" | "default" | "small" | "large", never>;
220
220
  }>>;
221
221
  export default ElButton;
@@ -2,7 +2,7 @@ import type { ExtractPropTypes } from 'vue';
2
2
  import type buttonGroup from './button-group.vue';
3
3
  export declare const buttonGroupProps: {
4
4
  readonly size: import("../../../utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
5
- readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
5
+ readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
6
6
  };
7
7
  export declare type ButtonGroupProps = ExtractPropTypes<typeof buttonGroupProps>;
8
8
  export declare type ButtonGroupInstance = InstanceType<typeof buttonGroup>;
@@ -1,10 +1,10 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  readonly size: import("../../../utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
3
- readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
3
+ readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
4
4
  }, {
5
5
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
6
6
  readonly size: import("../../../utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
7
- readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
7
+ readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
8
8
  }>> & {
9
9
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
10
10
  }>>;
@@ -28,9 +28,9 @@ declare const _default: import("vue").DefineComponent<{
28
28
  };
29
29
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
30
  readonly size: import("../../../utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
31
- readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
31
+ readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
32
32
  }>>, {
33
- type: import("../../../utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
33
+ type: import("../../../utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
34
34
  size: import("../../../utils").BuildPropType<StringConstructor, "" | "default" | "small" | "large", never>;
35
35
  }>;
36
36
  export default _default;
@@ -1,11 +1,11 @@
1
1
  import type { ExtractPropTypes } from 'vue';
2
2
  import type button from './button.vue';
3
- export declare const buttonTypes: readonly ["default", "primary", "success", "warning", "info", "danger", ""];
3
+ export declare const buttonTypes: readonly ["default", "primary", "success", "warning", "info", "danger", "text", ""];
4
4
  export declare const buttonNativeTypes: readonly ["button", "submit", "reset"];
5
5
  export declare const buttonProps: {
6
6
  readonly size: import("element-plus/es/utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
7
7
  readonly disabled: BooleanConstructor;
8
- readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
8
+ readonly type: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
9
9
  readonly icon: import("element-plus/es/utils").BuildPropReturn<import("element-plus/es/utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
10
10
  readonly nativeType: import("element-plus/es/utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
11
11
  readonly loading: BooleanConstructor;
@@ -1,7 +1,7 @@
1
1
  declare const _default: import("vue").DefineComponent<{
2
2
  readonly size: import("../../../utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
3
3
  readonly disabled: BooleanConstructor;
4
- readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
4
+ readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
5
5
  readonly icon: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
6
6
  readonly nativeType: import("../../../utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
7
7
  readonly loading: BooleanConstructor;
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<{
20
20
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
21
21
  readonly size: import("../../../utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
22
22
  readonly disabled: BooleanConstructor;
23
- readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
23
+ readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
24
24
  readonly icon: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
25
25
  readonly nativeType: import("../../../utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
26
26
  readonly loading: BooleanConstructor;
@@ -66,7 +66,7 @@ declare const _default: import("vue").DefineComponent<{
66
66
  _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
67
67
  _disabled: import("vue").ComputedRef<boolean>;
68
68
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
69
- _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger">;
69
+ _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
70
70
  autoInsertSpace: import("vue").ComputedRef<import("../../../utils").BuildPropType<BooleanConstructor, unknown, unknown>>;
71
71
  shouldAddSpace: import("vue").ComputedRef<boolean>;
72
72
  buttonStyle: import("vue").ComputedRef<Record<string, string>>;
@@ -112,7 +112,7 @@ declare const _default: import("vue").DefineComponent<{
112
112
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
113
113
  readonly size: import("../../../utils").BuildPropReturn<StringConstructor, never, false, "" | "default" | "small" | "large", never>;
114
114
  readonly disabled: BooleanConstructor;
115
- readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
115
+ readonly type: import("../../../utils").BuildPropReturn<StringConstructor, "", unknown, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
116
116
  readonly icon: import("../../../utils").BuildPropReturn<import("../../../utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, "", unknown, unknown, unknown>;
117
117
  readonly nativeType: import("../../../utils").BuildPropReturn<StringConstructor, "button", unknown, "button" | "submit" | "reset", unknown>;
118
118
  readonly loading: BooleanConstructor;
@@ -130,7 +130,8 @@ declare const _default: import("vue").DefineComponent<{
130
130
  }>> & {
131
131
  onClick?: ((evt: MouseEvent) => any) | undefined;
132
132
  }, {
133
- type: import("../../../utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger", unknown>;
133
+ type: import("../../../utils").BuildPropType<StringConstructor, "" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text", unknown>;
134
+ text: boolean;
134
135
  icon: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
135
136
  nativeType: import("../../../utils").BuildPropType<StringConstructor, "button" | "submit" | "reset", unknown>;
136
137
  loadingIcon: import("../../../utils").BuildPropType<import("../../../utils").PropWrapper<string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>>, unknown, unknown>;
@@ -139,7 +140,6 @@ declare const _default: import("vue").DefineComponent<{
139
140
  disabled: boolean;
140
141
  loading: boolean;
141
142
  plain: boolean;
142
- text: boolean;
143
143
  link: boolean;
144
144
  bg: boolean;
145
145
  autofocus: boolean;
@@ -16,6 +16,7 @@ const buttonTypes = [
16
16
  "warning",
17
17
  "info",
18
18
  "danger",
19
+ "text",
19
20
  ""
20
21
  ];
21
22
  const buttonNativeTypes = ["button", "submit", "reset"];
@@ -1 +1 @@
1
- {"version":3,"file":"button3.js","sources":["../../../../../../packages/components/button/src/button.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, iconPropType } from '@element-plus/utils'\nimport { Loading } from '@element-plus/icons-vue'\nimport type { ExtractPropTypes } from 'vue'\nimport type button from './button.vue'\n\nexport const buttonTypes = [\n 'default',\n 'primary',\n 'success',\n 'warning',\n 'info',\n 'danger',\n '',\n] as const\nexport const buttonNativeTypes = ['button', 'submit', 'reset'] as const\n\nexport const buttonProps = buildProps({\n size: useSizeProp,\n disabled: Boolean,\n type: {\n type: String,\n values: buttonTypes,\n default: '',\n },\n icon: {\n type: iconPropType,\n default: '',\n },\n nativeType: {\n type: String,\n values: buttonNativeTypes,\n default: 'button',\n },\n loading: Boolean,\n loadingIcon: {\n type: iconPropType,\n default: () => Loading,\n },\n plain: Boolean,\n text: Boolean,\n link: Boolean,\n bg: Boolean,\n autofocus: Boolean,\n round: Boolean,\n circle: Boolean,\n color: String,\n dark: Boolean,\n autoInsertSpace: {\n type: Boolean,\n default: undefined,\n },\n} as const)\nexport const buttonEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type ButtonProps = ExtractPropTypes<typeof buttonProps>\nexport type ButtonEmits = typeof buttonEmits\n\nexport type ButtonType = ButtonProps['type']\nexport type ButtonNativeType = ButtonProps['nativeType']\n\nexport type ButtonInstance = InstanceType<typeof button>\n\nexport interface ButtonConfigContext {\n autoInsertSpace?: boolean\n}\n"],"names":["buildProps","useSizeProp","iconPropType","Loading"],"mappings":";;;;;;;;;;;AAGY,MAAC,WAAW,GAAG;AAC3B,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,MAAM;AACR,EAAE,QAAQ;AACV,EAAE,EAAE;AACJ,EAAE;AACU,MAAC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE;AACnD,MAAC,WAAW,GAAGA,gBAAU,CAAC;AACtC,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,WAAW;AACvB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEC,iBAAY;AACtB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,iBAAiB;AAC7B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAEA,iBAAY;AACtB,IAAI,OAAO,EAAE,MAAMC,gBAAO;AAC1B,GAAG;AACH,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,EAAE,EAAE,OAAO;AACb,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,eAAe,EAAE;AACnB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,WAAW,GAAG;AAC3B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;;;;"}
1
+ {"version":3,"file":"button3.js","sources":["../../../../../../packages/components/button/src/button.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\nimport { buildProps, iconPropType } from '@element-plus/utils'\nimport { Loading } from '@element-plus/icons-vue'\nimport type { ExtractPropTypes } from 'vue'\nimport type button from './button.vue'\n\nexport const buttonTypes = [\n 'default',\n 'primary',\n 'success',\n 'warning',\n 'info',\n 'danger',\n /**\n * @deprecated\n * Text type will be deprecated in the next major version (3.0.0)\n */\n 'text',\n '',\n] as const\nexport const buttonNativeTypes = ['button', 'submit', 'reset'] as const\n\nexport const buttonProps = buildProps({\n size: useSizeProp,\n disabled: Boolean,\n type: {\n type: String,\n values: buttonTypes,\n default: '',\n },\n icon: {\n type: iconPropType,\n default: '',\n },\n nativeType: {\n type: String,\n values: buttonNativeTypes,\n default: 'button',\n },\n loading: Boolean,\n loadingIcon: {\n type: iconPropType,\n default: () => Loading,\n },\n plain: Boolean,\n text: Boolean,\n link: Boolean,\n bg: Boolean,\n autofocus: Boolean,\n round: Boolean,\n circle: Boolean,\n color: String,\n dark: Boolean,\n autoInsertSpace: {\n type: Boolean,\n default: undefined,\n },\n} as const)\nexport const buttonEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type ButtonProps = ExtractPropTypes<typeof buttonProps>\nexport type ButtonEmits = typeof buttonEmits\n\nexport type ButtonType = ButtonProps['type']\nexport type ButtonNativeType = ButtonProps['nativeType']\n\nexport type ButtonInstance = InstanceType<typeof button>\n\nexport interface ButtonConfigContext {\n autoInsertSpace?: boolean\n}\n"],"names":["buildProps","useSizeProp","iconPropType","Loading"],"mappings":";;;;;;;;;;;AAGY,MAAC,WAAW,GAAG;AAC3B,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,SAAS;AACX,EAAE,MAAM;AACR,EAAE,QAAQ;AACV,EAAE,MAAM;AACR,EAAE,EAAE;AACJ,EAAE;AACU,MAAC,iBAAiB,GAAG,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE;AACnD,MAAC,WAAW,GAAGA,gBAAU,CAAC;AACtC,EAAE,IAAI,EAAEC,iBAAW;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,WAAW;AACvB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAEC,iBAAY;AACtB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,iBAAiB;AAC7B,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,EAAE,OAAO,EAAE,OAAO;AAClB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAEA,iBAAY;AACtB,IAAI,OAAO,EAAE,MAAMC,gBAAO;AAC1B,GAAG;AACH,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,EAAE,EAAE,OAAO;AACb,EAAE,SAAS,EAAE,OAAO;AACpB,EAAE,KAAK,EAAE,OAAO;AAChB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,KAAK,EAAE,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