@element-plus/nightly 0.0.20260103 → 0.0.20260105

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 +170 -24
  4. package/dist/index.full.min.js +14 -14
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +14 -14
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +168 -25
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hi.js +1 -1
  94. package/dist/locale/hi.min.js +1 -1
  95. package/dist/locale/hi.min.mjs +1 -1
  96. package/dist/locale/hi.mjs +1 -1
  97. package/dist/locale/hr.js +1 -1
  98. package/dist/locale/hr.min.js +1 -1
  99. package/dist/locale/hr.min.mjs +1 -1
  100. package/dist/locale/hr.mjs +1 -1
  101. package/dist/locale/hu.js +1 -1
  102. package/dist/locale/hu.min.js +1 -1
  103. package/dist/locale/hu.min.mjs +1 -1
  104. package/dist/locale/hu.mjs +1 -1
  105. package/dist/locale/hy-am.js +1 -1
  106. package/dist/locale/hy-am.min.js +1 -1
  107. package/dist/locale/hy-am.min.mjs +1 -1
  108. package/dist/locale/hy-am.mjs +1 -1
  109. package/dist/locale/id.js +1 -1
  110. package/dist/locale/id.min.js +1 -1
  111. package/dist/locale/id.min.mjs +1 -1
  112. package/dist/locale/id.mjs +1 -1
  113. package/dist/locale/it.js +1 -1
  114. package/dist/locale/it.min.js +1 -1
  115. package/dist/locale/it.min.mjs +1 -1
  116. package/dist/locale/it.mjs +1 -1
  117. package/dist/locale/ja.js +1 -1
  118. package/dist/locale/ja.min.js +1 -1
  119. package/dist/locale/ja.min.mjs +1 -1
  120. package/dist/locale/ja.mjs +1 -1
  121. package/dist/locale/kk.js +1 -1
  122. package/dist/locale/kk.min.js +1 -1
  123. package/dist/locale/kk.min.mjs +1 -1
  124. package/dist/locale/kk.mjs +1 -1
  125. package/dist/locale/km.js +1 -1
  126. package/dist/locale/km.min.js +1 -1
  127. package/dist/locale/km.min.mjs +1 -1
  128. package/dist/locale/km.mjs +1 -1
  129. package/dist/locale/ko.js +1 -1
  130. package/dist/locale/ko.min.js +1 -1
  131. package/dist/locale/ko.min.mjs +1 -1
  132. package/dist/locale/ko.mjs +1 -1
  133. package/dist/locale/ku.js +1 -1
  134. package/dist/locale/ku.min.js +1 -1
  135. package/dist/locale/ku.min.mjs +1 -1
  136. package/dist/locale/ku.mjs +1 -1
  137. package/dist/locale/ky.js +1 -1
  138. package/dist/locale/ky.min.js +1 -1
  139. package/dist/locale/ky.min.mjs +1 -1
  140. package/dist/locale/ky.mjs +1 -1
  141. package/dist/locale/lo.js +1 -1
  142. package/dist/locale/lo.min.js +1 -1
  143. package/dist/locale/lo.min.mjs +1 -1
  144. package/dist/locale/lo.mjs +1 -1
  145. package/dist/locale/lt.js +1 -1
  146. package/dist/locale/lt.min.js +1 -1
  147. package/dist/locale/lt.min.mjs +1 -1
  148. package/dist/locale/lt.mjs +1 -1
  149. package/dist/locale/lv.js +1 -1
  150. package/dist/locale/lv.min.js +1 -1
  151. package/dist/locale/lv.min.mjs +1 -1
  152. package/dist/locale/lv.mjs +1 -1
  153. package/dist/locale/mg.js +1 -1
  154. package/dist/locale/mg.min.js +1 -1
  155. package/dist/locale/mg.min.mjs +1 -1
  156. package/dist/locale/mg.mjs +1 -1
  157. package/dist/locale/mn.js +1 -1
  158. package/dist/locale/mn.min.js +1 -1
  159. package/dist/locale/mn.min.mjs +1 -1
  160. package/dist/locale/mn.mjs +1 -1
  161. package/dist/locale/ms.js +1 -1
  162. package/dist/locale/ms.min.js +1 -1
  163. package/dist/locale/ms.min.mjs +1 -1
  164. package/dist/locale/ms.mjs +1 -1
  165. package/dist/locale/my.js +1 -1
  166. package/dist/locale/my.min.js +1 -1
  167. package/dist/locale/my.min.mjs +1 -1
  168. package/dist/locale/my.mjs +1 -1
  169. package/dist/locale/nb-no.js +1 -1
  170. package/dist/locale/nb-no.min.js +1 -1
  171. package/dist/locale/nb-no.min.mjs +1 -1
  172. package/dist/locale/nb-no.mjs +1 -1
  173. package/dist/locale/nl.js +1 -1
  174. package/dist/locale/nl.min.js +1 -1
  175. package/dist/locale/nl.min.mjs +1 -1
  176. package/dist/locale/nl.mjs +1 -1
  177. package/dist/locale/no.js +1 -1
  178. package/dist/locale/no.min.js +1 -1
  179. package/dist/locale/no.min.mjs +1 -1
  180. package/dist/locale/no.mjs +1 -1
  181. package/dist/locale/pa.js +1 -1
  182. package/dist/locale/pa.min.js +1 -1
  183. package/dist/locale/pa.min.mjs +1 -1
  184. package/dist/locale/pa.mjs +1 -1
  185. package/dist/locale/pl.js +1 -1
  186. package/dist/locale/pl.min.js +1 -1
  187. package/dist/locale/pl.min.mjs +1 -1
  188. package/dist/locale/pl.mjs +1 -1
  189. package/dist/locale/pt-br.js +1 -1
  190. package/dist/locale/pt-br.min.js +1 -1
  191. package/dist/locale/pt-br.min.mjs +1 -1
  192. package/dist/locale/pt-br.mjs +1 -1
  193. package/dist/locale/pt.js +1 -1
  194. package/dist/locale/pt.min.js +1 -1
  195. package/dist/locale/pt.min.mjs +1 -1
  196. package/dist/locale/pt.mjs +1 -1
  197. package/dist/locale/ro.js +1 -1
  198. package/dist/locale/ro.min.js +1 -1
  199. package/dist/locale/ro.min.mjs +1 -1
  200. package/dist/locale/ro.mjs +1 -1
  201. package/dist/locale/ru.js +1 -1
  202. package/dist/locale/ru.min.js +1 -1
  203. package/dist/locale/ru.min.mjs +1 -1
  204. package/dist/locale/ru.mjs +1 -1
  205. package/dist/locale/sk.js +1 -1
  206. package/dist/locale/sk.min.js +1 -1
  207. package/dist/locale/sk.min.mjs +1 -1
  208. package/dist/locale/sk.mjs +1 -1
  209. package/dist/locale/sl.js +1 -1
  210. package/dist/locale/sl.min.js +1 -1
  211. package/dist/locale/sl.min.mjs +1 -1
  212. package/dist/locale/sl.mjs +1 -1
  213. package/dist/locale/sr.js +1 -1
  214. package/dist/locale/sr.min.js +1 -1
  215. package/dist/locale/sr.min.mjs +1 -1
  216. package/dist/locale/sr.mjs +1 -1
  217. package/dist/locale/sv.js +1 -1
  218. package/dist/locale/sv.min.js +1 -1
  219. package/dist/locale/sv.min.mjs +1 -1
  220. package/dist/locale/sv.mjs +1 -1
  221. package/dist/locale/sw.js +1 -1
  222. package/dist/locale/sw.min.js +1 -1
  223. package/dist/locale/sw.min.mjs +1 -1
  224. package/dist/locale/sw.mjs +1 -1
  225. package/dist/locale/ta.js +1 -1
  226. package/dist/locale/ta.min.js +1 -1
  227. package/dist/locale/ta.min.mjs +1 -1
  228. package/dist/locale/ta.mjs +1 -1
  229. package/dist/locale/te.js +1 -1
  230. package/dist/locale/te.min.js +1 -1
  231. package/dist/locale/te.min.mjs +1 -1
  232. package/dist/locale/te.mjs +1 -1
  233. package/dist/locale/th.js +1 -1
  234. package/dist/locale/th.min.js +1 -1
  235. package/dist/locale/th.min.mjs +1 -1
  236. package/dist/locale/th.mjs +1 -1
  237. package/dist/locale/tk.js +1 -1
  238. package/dist/locale/tk.min.js +1 -1
  239. package/dist/locale/tk.min.mjs +1 -1
  240. package/dist/locale/tk.mjs +1 -1
  241. package/dist/locale/tr.js +1 -1
  242. package/dist/locale/tr.min.js +1 -1
  243. package/dist/locale/tr.min.mjs +1 -1
  244. package/dist/locale/tr.mjs +1 -1
  245. package/dist/locale/ug-cn.js +1 -1
  246. package/dist/locale/ug-cn.min.js +1 -1
  247. package/dist/locale/ug-cn.min.mjs +1 -1
  248. package/dist/locale/ug-cn.mjs +1 -1
  249. package/dist/locale/uk.js +1 -1
  250. package/dist/locale/uk.min.js +1 -1
  251. package/dist/locale/uk.min.mjs +1 -1
  252. package/dist/locale/uk.mjs +1 -1
  253. package/dist/locale/uz-uz.js +1 -1
  254. package/dist/locale/uz-uz.min.js +1 -1
  255. package/dist/locale/uz-uz.min.mjs +1 -1
  256. package/dist/locale/uz-uz.mjs +1 -1
  257. package/dist/locale/vi.js +1 -1
  258. package/dist/locale/vi.min.js +1 -1
  259. package/dist/locale/vi.min.mjs +1 -1
  260. package/dist/locale/vi.mjs +1 -1
  261. package/dist/locale/zh-cn.js +1 -1
  262. package/dist/locale/zh-cn.min.js +1 -1
  263. package/dist/locale/zh-cn.min.mjs +1 -1
  264. package/dist/locale/zh-cn.mjs +1 -1
  265. package/dist/locale/zh-hk.js +1 -1
  266. package/dist/locale/zh-hk.min.js +1 -1
  267. package/dist/locale/zh-hk.min.mjs +1 -1
  268. package/dist/locale/zh-hk.mjs +1 -1
  269. package/dist/locale/zh-mo.js +1 -1
  270. package/dist/locale/zh-mo.min.js +1 -1
  271. package/dist/locale/zh-mo.min.mjs +1 -1
  272. package/dist/locale/zh-mo.mjs +1 -1
  273. package/dist/locale/zh-tw.js +1 -1
  274. package/dist/locale/zh-tw.min.js +1 -1
  275. package/dist/locale/zh-tw.min.mjs +1 -1
  276. package/dist/locale/zh-tw.mjs +1 -1
  277. package/es/component.mjs +2 -1
  278. package/es/component.mjs.map +1 -1
  279. package/es/components/alert/index.mjs +2 -2
  280. package/es/components/alert/src/alert.mjs +135 -39
  281. package/es/components/alert/src/alert.mjs.map +1 -1
  282. package/es/components/alert/src/alert2.mjs +39 -135
  283. package/es/components/alert/src/alert2.mjs.map +1 -1
  284. package/es/components/autocomplete/index.mjs +2 -2
  285. package/es/components/autocomplete/src/autocomplete.mjs +485 -59
  286. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  287. package/es/components/autocomplete/src/autocomplete2.mjs +59 -485
  288. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  289. package/es/components/avatar/index.d.ts +8 -2
  290. package/es/components/avatar/index.mjs +11 -5
  291. package/es/components/avatar/index.mjs.map +1 -1
  292. package/es/components/avatar/src/avatar-group-props.d.ts +138 -0
  293. package/es/components/avatar/src/avatar-group-props.mjs +33 -0
  294. package/es/components/avatar/src/avatar-group-props.mjs.map +1 -0
  295. package/es/components/avatar/src/avatar-group.d.ts +274 -0
  296. package/es/components/avatar/src/avatar-group.mjs +61 -0
  297. package/es/components/avatar/src/avatar-group.mjs.map +1 -0
  298. package/es/components/avatar/src/avatar.d.ts +12 -2
  299. package/es/components/avatar/src/avatar.mjs +28 -74
  300. package/es/components/avatar/src/avatar.mjs.map +1 -1
  301. package/es/components/avatar/src/avatar.vue.d.ts +24 -6
  302. package/es/components/avatar/src/avatar2.mjs +85 -30
  303. package/es/components/avatar/src/avatar2.mjs.map +1 -1
  304. package/es/components/avatar/src/constants.d.ts +7 -0
  305. package/es/components/avatar/src/constants.mjs +6 -0
  306. package/es/components/avatar/src/constants.mjs.map +1 -0
  307. package/es/components/avatar/src/instance.d.ts +2 -0
  308. package/es/components/avatar-group/style/css.d.ts +3 -0
  309. package/es/components/avatar-group/style/css.mjs +4 -0
  310. package/es/components/avatar-group/style/css.mjs.map +1 -0
  311. package/es/components/avatar-group/style/index.d.ts +3 -0
  312. package/es/components/avatar-group/style/index.mjs +4 -0
  313. package/es/components/avatar-group/style/index.mjs.map +1 -0
  314. package/es/components/cascader-panel/src/index.mjs +1 -1
  315. package/es/components/cascader-panel/src/menu.mjs +1 -1
  316. package/es/components/cascader-panel/src/node.mjs +116 -192
  317. package/es/components/cascader-panel/src/node.mjs.map +1 -1
  318. package/es/components/cascader-panel/src/node2.mjs +192 -116
  319. package/es/components/cascader-panel/src/node2.mjs.map +1 -1
  320. package/es/components/cascader-panel/src/store.mjs +1 -1
  321. package/es/components/checkbox/index.mjs +2 -2
  322. package/es/components/checkbox/src/checkbox-button.mjs +1 -1
  323. package/es/components/checkbox/src/checkbox-group2.mjs +1 -1
  324. package/es/components/checkbox/src/checkbox.mjs +62 -134
  325. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  326. package/es/components/checkbox/src/checkbox2.mjs +134 -62
  327. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  328. package/es/components/collection/index.mjs +1 -1
  329. package/es/components/collection/src/collection.mjs +64 -10
  330. package/es/components/collection/src/collection.mjs.map +1 -1
  331. package/es/components/collection/src/collection2.mjs +10 -64
  332. package/es/components/collection/src/collection2.mjs.map +1 -1
  333. package/es/components/descriptions/src/description2.mjs +1 -1
  334. package/es/components/descriptions/src/descriptions-row.mjs +6 -94
  335. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  336. package/es/components/descriptions/src/descriptions-row2.mjs +94 -6
  337. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  338. package/es/components/dialog/src/dialog-content.mjs +112 -38
  339. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  340. package/es/components/dialog/src/dialog-content2.mjs +38 -112
  341. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  342. package/es/components/dialog/src/dialog.mjs +1 -1
  343. package/es/components/dialog/src/dialog2.mjs +1 -1
  344. package/es/components/divider/index.mjs +2 -2
  345. package/es/components/divider/src/divider.mjs +15 -43
  346. package/es/components/divider/src/divider.mjs.map +1 -1
  347. package/es/components/divider/src/divider2.mjs +43 -15
  348. package/es/components/divider/src/divider2.mjs.map +1 -1
  349. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
  350. package/es/components/empty/index.mjs +2 -2
  351. package/es/components/empty/src/empty.mjs +10 -80
  352. package/es/components/empty/src/empty.mjs.map +1 -1
  353. package/es/components/empty/src/empty2.mjs +80 -10
  354. package/es/components/empty/src/empty2.mjs.map +1 -1
  355. package/es/components/form/index.mjs +2 -2
  356. package/es/components/form/src/form.mjs +54 -174
  357. package/es/components/form/src/form.mjs.map +1 -1
  358. package/es/components/form/src/form2.mjs +174 -54
  359. package/es/components/form/src/form2.mjs.map +1 -1
  360. package/es/components/image/index.mjs +2 -2
  361. package/es/components/image/src/image.mjs +68 -279
  362. package/es/components/image/src/image.mjs.map +1 -1
  363. package/es/components/image/src/image2.mjs +279 -68
  364. package/es/components/image/src/image2.mjs.map +1 -1
  365. package/es/components/index.mjs +18 -16
  366. package/es/components/index.mjs.map +1 -1
  367. package/es/components/input-tag/index.mjs +2 -2
  368. package/es/components/input-tag/src/input-tag.mjs +82 -344
  369. package/es/components/input-tag/src/input-tag.mjs.map +1 -1
  370. package/es/components/input-tag/src/input-tag2.mjs +344 -82
  371. package/es/components/input-tag/src/input-tag2.mjs.map +1 -1
  372. package/es/components/mention/index.mjs +2 -2
  373. package/es/components/mention/src/mention.mjs +74 -326
  374. package/es/components/mention/src/mention.mjs.map +1 -1
  375. package/es/components/mention/src/mention2.mjs +326 -74
  376. package/es/components/mention/src/mention2.mjs.map +1 -1
  377. package/es/components/message/index.mjs +1 -1
  378. package/es/components/message/src/message.mjs +107 -190
  379. package/es/components/message/src/message.mjs.map +1 -1
  380. package/es/components/message/src/message2.mjs +190 -107
  381. package/es/components/message/src/message2.mjs.map +1 -1
  382. package/es/components/message/src/method.mjs +2 -2
  383. package/es/components/pagination/src/components/jumper.mjs +7 -69
  384. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  385. package/es/components/pagination/src/components/jumper2.mjs +69 -7
  386. package/es/components/pagination/src/components/jumper2.mjs.map +1 -1
  387. package/es/components/pagination/src/components/next.mjs +17 -43
  388. package/es/components/pagination/src/components/next.mjs.map +1 -1
  389. package/es/components/pagination/src/components/next2.mjs +43 -17
  390. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  391. package/es/components/pagination/src/pagination.mjs +2 -2
  392. package/es/components/progress/index.mjs +2 -2
  393. package/es/components/progress/src/progress.mjs +52 -256
  394. package/es/components/progress/src/progress.mjs.map +1 -1
  395. package/es/components/progress/src/progress2.mjs +256 -52
  396. package/es/components/progress/src/progress2.mjs.map +1 -1
  397. package/es/components/roving-focus-group/src/roving-focus-group.mjs +1 -1
  398. package/es/components/splitter/index.mjs +2 -2
  399. package/es/components/splitter/src/splitter.mjs +114 -14
  400. package/es/components/splitter/src/splitter.mjs.map +1 -1
  401. package/es/components/splitter/src/splitter2.mjs +14 -114
  402. package/es/components/splitter/src/splitter2.mjs.map +1 -1
  403. package/es/components/tour/index.mjs +1 -1
  404. package/es/components/tour/src/content.mjs +42 -85
  405. package/es/components/tour/src/content.mjs.map +1 -1
  406. package/es/components/tour/src/content2.mjs +85 -42
  407. package/es/components/tour/src/content2.mjs.map +1 -1
  408. package/es/components/tour/src/step.mjs +1 -1
  409. package/es/components/tour/src/tour.mjs +1 -1
  410. package/es/components/tour/src/tour2.mjs +1 -1
  411. package/es/components/upload/index.mjs +2 -2
  412. package/es/components/upload/src/upload-content.d.ts +1 -0
  413. package/es/components/upload/src/upload-content.mjs +1 -1
  414. package/es/components/upload/src/upload-content.vue.d.ts +3 -0
  415. package/es/components/upload/src/upload-content2.mjs +5 -3
  416. package/es/components/upload/src/upload-content2.mjs.map +1 -1
  417. package/es/components/upload/src/upload-dragger.d.ts +1 -0
  418. package/es/components/upload/src/upload-dragger.mjs +2 -1
  419. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  420. package/es/components/upload/src/upload-dragger.vue.d.ts +3 -0
  421. package/es/components/upload/src/upload-dragger2.mjs +48 -1
  422. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  423. package/es/components/upload/src/upload-list.mjs +1 -1
  424. package/es/components/upload/src/upload.d.ts +2 -0
  425. package/es/components/upload/src/upload.mjs +102 -138
  426. package/es/components/upload/src/upload.mjs.map +1 -1
  427. package/es/components/upload/src/upload.vue.d.ts +3 -0
  428. package/es/components/upload/src/upload2.mjs +138 -101
  429. package/es/components/upload/src/upload2.mjs.map +1 -1
  430. package/es/components/upload/src/use-handlers.mjs +1 -1
  431. package/es/components/virtual-list/src/hooks/use-grid-wheel.mjs +4 -4
  432. package/es/components/virtual-list/src/hooks/use-grid-wheel.mjs.map +1 -1
  433. package/es/components/virtual-list/src/hooks/use-wheel.mjs +1 -1
  434. package/es/components/virtual-list/src/hooks/use-wheel.mjs.map +1 -1
  435. package/es/index.mjs +18 -16
  436. package/es/index.mjs.map +1 -1
  437. package/es/version.d.ts +1 -1
  438. package/es/version.mjs +1 -1
  439. package/es/version.mjs.map +1 -1
  440. package/global.d.ts +1 -0
  441. package/lib/component.js +1 -0
  442. package/lib/component.js.map +1 -1
  443. package/lib/components/alert/index.js +2 -2
  444. package/lib/components/alert/src/alert.js +134 -40
  445. package/lib/components/alert/src/alert.js.map +1 -1
  446. package/lib/components/alert/src/alert2.js +40 -134
  447. package/lib/components/alert/src/alert2.js.map +1 -1
  448. package/lib/components/autocomplete/index.js +2 -2
  449. package/lib/components/autocomplete/src/autocomplete.js +483 -58
  450. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  451. package/lib/components/autocomplete/src/autocomplete2.js +58 -483
  452. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  453. package/lib/components/avatar/index.d.ts +8 -2
  454. package/lib/components/avatar/index.js +12 -3
  455. package/lib/components/avatar/index.js.map +1 -1
  456. package/lib/components/avatar/src/avatar-group-props.d.ts +138 -0
  457. package/lib/components/avatar/src/avatar-group-props.js +37 -0
  458. package/lib/components/avatar/src/avatar-group-props.js.map +1 -0
  459. package/lib/components/avatar/src/avatar-group.d.ts +274 -0
  460. package/lib/components/avatar/src/avatar-group.js +65 -0
  461. package/lib/components/avatar/src/avatar-group.js.map +1 -0
  462. package/lib/components/avatar/src/avatar.d.ts +12 -2
  463. package/lib/components/avatar/src/avatar.js +29 -74
  464. package/lib/components/avatar/src/avatar.js.map +1 -1
  465. package/lib/components/avatar/src/avatar.vue.d.ts +24 -6
  466. package/lib/components/avatar/src/avatar2.js +85 -31
  467. package/lib/components/avatar/src/avatar2.js.map +1 -1
  468. package/lib/components/avatar/src/constants.d.ts +7 -0
  469. package/lib/components/avatar/src/constants.js +10 -0
  470. package/lib/components/avatar/src/constants.js.map +1 -0
  471. package/lib/components/avatar/src/instance.d.ts +2 -0
  472. package/lib/components/avatar-group/style/css.d.ts +3 -0
  473. package/lib/components/avatar-group/style/css.js +7 -0
  474. package/lib/components/avatar-group/style/css.js.map +1 -0
  475. package/lib/components/avatar-group/style/index.d.ts +3 -0
  476. package/lib/components/avatar-group/style/index.js +7 -0
  477. package/lib/components/avatar-group/style/index.js.map +1 -0
  478. package/lib/components/cascader-panel/src/index.js +1 -1
  479. package/lib/components/cascader-panel/src/menu.js +1 -1
  480. package/lib/components/cascader-panel/src/node.js +116 -192
  481. package/lib/components/cascader-panel/src/node.js.map +1 -1
  482. package/lib/components/cascader-panel/src/node2.js +192 -116
  483. package/lib/components/cascader-panel/src/node2.js.map +1 -1
  484. package/lib/components/cascader-panel/src/store.js +1 -1
  485. package/lib/components/checkbox/index.js +2 -2
  486. package/lib/components/checkbox/src/checkbox-button.js +1 -1
  487. package/lib/components/checkbox/src/checkbox-group2.js +1 -1
  488. package/lib/components/checkbox/src/checkbox.js +63 -134
  489. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  490. package/lib/components/checkbox/src/checkbox2.js +134 -63
  491. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  492. package/lib/components/collection/index.js +1 -1
  493. package/lib/components/collection/src/collection.js +64 -9
  494. package/lib/components/collection/src/collection.js.map +1 -1
  495. package/lib/components/collection/src/collection2.js +9 -64
  496. package/lib/components/collection/src/collection2.js.map +1 -1
  497. package/lib/components/descriptions/src/description2.js +1 -1
  498. package/lib/components/descriptions/src/descriptions-row.js +6 -94
  499. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  500. package/lib/components/descriptions/src/descriptions-row2.js +94 -6
  501. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  502. package/lib/components/dialog/src/dialog-content.js +111 -38
  503. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  504. package/lib/components/dialog/src/dialog-content2.js +38 -111
  505. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  506. package/lib/components/dialog/src/dialog.js +1 -1
  507. package/lib/components/dialog/src/dialog2.js +1 -1
  508. package/lib/components/divider/index.js +2 -2
  509. package/lib/components/divider/src/divider.js +15 -43
  510. package/lib/components/divider/src/divider.js.map +1 -1
  511. package/lib/components/divider/src/divider2.js +43 -15
  512. package/lib/components/divider/src/divider2.js.map +1 -1
  513. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
  514. package/lib/components/empty/index.js +2 -2
  515. package/lib/components/empty/src/empty.js +10 -80
  516. package/lib/components/empty/src/empty.js.map +1 -1
  517. package/lib/components/empty/src/empty2.js +80 -10
  518. package/lib/components/empty/src/empty2.js.map +1 -1
  519. package/lib/components/form/index.js +2 -2
  520. package/lib/components/form/src/form.js +55 -173
  521. package/lib/components/form/src/form.js.map +1 -1
  522. package/lib/components/form/src/form2.js +173 -55
  523. package/lib/components/form/src/form2.js.map +1 -1
  524. package/lib/components/image/index.js +2 -2
  525. package/lib/components/image/src/image.js +68 -278
  526. package/lib/components/image/src/image.js.map +1 -1
  527. package/lib/components/image/src/image2.js +278 -68
  528. package/lib/components/image/src/image2.js.map +1 -1
  529. package/lib/components/index.js +73 -68
  530. package/lib/components/index.js.map +1 -1
  531. package/lib/components/input-tag/index.js +2 -2
  532. package/lib/components/input-tag/src/input-tag.js +81 -342
  533. package/lib/components/input-tag/src/input-tag.js.map +1 -1
  534. package/lib/components/input-tag/src/input-tag2.js +342 -81
  535. package/lib/components/input-tag/src/input-tag2.js.map +1 -1
  536. package/lib/components/mention/index.js +2 -2
  537. package/lib/components/mention/src/mention.js +74 -324
  538. package/lib/components/mention/src/mention.js.map +1 -1
  539. package/lib/components/mention/src/mention2.js +324 -74
  540. package/lib/components/mention/src/mention2.js.map +1 -1
  541. package/lib/components/message/index.js +1 -1
  542. package/lib/components/message/src/message.js +111 -189
  543. package/lib/components/message/src/message.js.map +1 -1
  544. package/lib/components/message/src/message2.js +189 -111
  545. package/lib/components/message/src/message2.js.map +1 -1
  546. package/lib/components/message/src/method.js +2 -2
  547. package/lib/components/pagination/src/components/jumper.js +7 -69
  548. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  549. package/lib/components/pagination/src/components/jumper2.js +69 -7
  550. package/lib/components/pagination/src/components/jumper2.js.map +1 -1
  551. package/lib/components/pagination/src/components/next.js +17 -43
  552. package/lib/components/pagination/src/components/next.js.map +1 -1
  553. package/lib/components/pagination/src/components/next2.js +43 -17
  554. package/lib/components/pagination/src/components/next2.js.map +1 -1
  555. package/lib/components/pagination/src/pagination.js +2 -2
  556. package/lib/components/progress/index.js +2 -2
  557. package/lib/components/progress/src/progress.js +52 -256
  558. package/lib/components/progress/src/progress.js.map +1 -1
  559. package/lib/components/progress/src/progress2.js +256 -52
  560. package/lib/components/progress/src/progress2.js.map +1 -1
  561. package/lib/components/roving-focus-group/src/roving-focus-group.js +1 -1
  562. package/lib/components/splitter/index.js +2 -2
  563. package/lib/components/splitter/src/splitter.js +114 -15
  564. package/lib/components/splitter/src/splitter.js.map +1 -1
  565. package/lib/components/splitter/src/splitter2.js +15 -114
  566. package/lib/components/splitter/src/splitter2.js.map +1 -1
  567. package/lib/components/tour/index.js +1 -1
  568. package/lib/components/tour/src/content.js +45 -85
  569. package/lib/components/tour/src/content.js.map +1 -1
  570. package/lib/components/tour/src/content2.js +85 -45
  571. package/lib/components/tour/src/content2.js.map +1 -1
  572. package/lib/components/tour/src/step.js +1 -1
  573. package/lib/components/tour/src/tour.js +1 -1
  574. package/lib/components/tour/src/tour2.js +1 -1
  575. package/lib/components/upload/index.js +2 -2
  576. package/lib/components/upload/src/upload-content.d.ts +1 -0
  577. package/lib/components/upload/src/upload-content.js +1 -1
  578. package/lib/components/upload/src/upload-content.vue.d.ts +3 -0
  579. package/lib/components/upload/src/upload-content2.js +5 -3
  580. package/lib/components/upload/src/upload-content2.js.map +1 -1
  581. package/lib/components/upload/src/upload-dragger.d.ts +1 -0
  582. package/lib/components/upload/src/upload-dragger.js +2 -1
  583. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  584. package/lib/components/upload/src/upload-dragger.vue.d.ts +3 -0
  585. package/lib/components/upload/src/upload-dragger2.js +48 -1
  586. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  587. package/lib/components/upload/src/upload-list.js +1 -1
  588. package/lib/components/upload/src/upload.d.ts +2 -0
  589. package/lib/components/upload/src/upload.js +105 -138
  590. package/lib/components/upload/src/upload.js.map +1 -1
  591. package/lib/components/upload/src/upload.vue.d.ts +3 -0
  592. package/lib/components/upload/src/upload2.js +138 -104
  593. package/lib/components/upload/src/upload2.js.map +1 -1
  594. package/lib/components/upload/src/use-handlers.js +1 -1
  595. package/lib/components/virtual-list/src/hooks/use-grid-wheel.js +4 -4
  596. package/lib/components/virtual-list/src/hooks/use-grid-wheel.js.map +1 -1
  597. package/lib/components/virtual-list/src/hooks/use-wheel.js +1 -1
  598. package/lib/components/virtual-list/src/hooks/use-wheel.js.map +1 -1
  599. package/lib/index.js +73 -68
  600. package/lib/index.js.map +1 -1
  601. package/lib/version.d.ts +1 -1
  602. package/lib/version.js +1 -1
  603. package/lib/version.js.map +1 -1
  604. package/package.json +2 -2
  605. package/tags.json +1 -1
  606. package/theme-chalk/el-avatar-group.css +1 -0
  607. package/theme-chalk/index.css +1 -1
  608. package/theme-chalk/src/avatar-group.scss +25 -0
  609. package/theme-chalk/src/common/var.scss +9 -0
  610. package/theme-chalk/src/index.scss +1 -0
  611. package/web-types.json +1 -1
@@ -1,11 +1,99 @@
1
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
1
+ import { defineComponent, inject, unref, openBlock, createElementBlock, Fragment, createElementVNode, renderList, createBlock, createVNode } from 'vue';
2
+ import ElDescriptionsCell from './descriptions-cell.mjs';
3
+ import { descriptionsKey } from './token.mjs';
4
+ import { descriptionsRowProps } from './descriptions-row.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
2
6
 
3
- const descriptionsRowProps = buildProps({
4
- row: {
5
- type: definePropType(Array),
6
- default: () => []
7
+ const _hoisted_1 = { key: 1 };
8
+ const _sfc_main = defineComponent({
9
+ ...{
10
+ name: "ElDescriptionsRow"
11
+ },
12
+ __name: "descriptions-row",
13
+ props: descriptionsRowProps,
14
+ setup(__props) {
15
+ const descriptions = inject(descriptionsKey, {});
16
+ return (_ctx, _cache) => {
17
+ return unref(descriptions).direction === "vertical" ? (openBlock(), createElementBlock(
18
+ Fragment,
19
+ { key: 0 },
20
+ [
21
+ createElementVNode("tr", null, [
22
+ (openBlock(true), createElementBlock(
23
+ Fragment,
24
+ null,
25
+ renderList(_ctx.row, (cell, _index) => {
26
+ return openBlock(), createBlock(unref(ElDescriptionsCell), {
27
+ key: `tr1-${_index}`,
28
+ cell,
29
+ tag: "th",
30
+ type: "label"
31
+ }, null, 8, ["cell"]);
32
+ }),
33
+ 128
34
+ ))
35
+ ]),
36
+ createElementVNode("tr", null, [
37
+ (openBlock(true), createElementBlock(
38
+ Fragment,
39
+ null,
40
+ renderList(_ctx.row, (cell, _index) => {
41
+ return openBlock(), createBlock(unref(ElDescriptionsCell), {
42
+ key: `tr2-${_index}`,
43
+ cell,
44
+ tag: "td",
45
+ type: "content"
46
+ }, null, 8, ["cell"]);
47
+ }),
48
+ 128
49
+ ))
50
+ ])
51
+ ],
52
+ 64
53
+ )) : (openBlock(), createElementBlock("tr", _hoisted_1, [
54
+ (openBlock(true), createElementBlock(
55
+ Fragment,
56
+ null,
57
+ renderList(_ctx.row, (cell, _index) => {
58
+ return openBlock(), createElementBlock(
59
+ Fragment,
60
+ {
61
+ key: `tr3-${_index}`
62
+ },
63
+ [
64
+ unref(descriptions).border ? (openBlock(), createElementBlock(
65
+ Fragment,
66
+ { key: 0 },
67
+ [
68
+ createVNode(unref(ElDescriptionsCell), {
69
+ cell,
70
+ tag: "td",
71
+ type: "label"
72
+ }, null, 8, ["cell"]),
73
+ createVNode(unref(ElDescriptionsCell), {
74
+ cell,
75
+ tag: "td",
76
+ type: "content"
77
+ }, null, 8, ["cell"])
78
+ ],
79
+ 64
80
+ )) : (openBlock(), createBlock(unref(ElDescriptionsCell), {
81
+ key: 1,
82
+ cell,
83
+ tag: "td",
84
+ type: "both"
85
+ }, null, 8, ["cell"]))
86
+ ],
87
+ 64
88
+ );
89
+ }),
90
+ 128
91
+ ))
92
+ ]));
93
+ };
7
94
  }
8
95
  });
96
+ var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);
9
97
 
10
- export { descriptionsRowProps };
98
+ export { ElDescriptionsRow as default };
11
99
  //# sourceMappingURL=descriptions-row2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"descriptions-row2.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { DescriptionItemVNode } from './description-item'\n\nexport const descriptionsRowProps = buildProps({\n row: {\n type: definePropType<DescriptionItemVNode[]>(Array),\n default: () => [],\n },\n} as const)\n"],"names":[],"mappings":";;AAIO,MAAM,uBAAuB,UAAW,CAAA;AAAA,EAC7C,GAAK,EAAA;AAAA,IACH,IAAA,EAAM,eAAuC,KAAK,CAAA;AAAA,IAClD,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AACF,CAAU;;;;"}
1
+ {"version":3,"file":"descriptions-row2.mjs","sources":["../../../../../../packages/components/descriptions/src/descriptions-row.vue"],"sourcesContent":["<template>\n <template v-if=\"descriptions.direction === 'vertical'\">\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr1-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"th\" type=\"label\" />\n </template>\n </tr>\n <tr>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr2-${_index}`\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n </tr>\n </template>\n <tr v-else>\n <template v-for=\"(cell, _index) in row\" :key=\"`tr3-${_index}`\">\n <template v-if=\"descriptions.border\">\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"label\" />\n <el-descriptions-cell :cell=\"cell\" tag=\"td\" type=\"content\" />\n </template>\n <el-descriptions-cell v-else :cell=\"cell\" tag=\"td\" type=\"both\" />\n </template>\n </tr>\n</template>\n\n<script lang=\"ts\" setup>\nimport { inject } from 'vue'\nimport ElDescriptionsCell from './descriptions-cell'\nimport { descriptionsKey } from './token'\nimport { descriptionsRowProps } from './descriptions-row'\n\nimport type { IDescriptionsInject } from './descriptions.type'\n\ndefineOptions({\n name: 'ElDescriptionsRow',\n})\n\ndefineProps(descriptionsRowProps)\n\nconst descriptions = inject(descriptionsKey, {} as IDescriptionsInject)\n</script>\n"],"names":["_unref","_openBlock","_createElementBlock","_Fragment","_createElementVNode","row","_createBlock","_createVNode"],"mappings":";;;;;;;;;;;;;;AAsCA,IAAA,MAAM,YAAe,GAAA,MAAA,CAAO,eAAiB,EAAA,EAAyB,CAAA,CAAA;;AArCpD,MAAA,OAAAA,MAAA,YAAA,CAAA,CAAa,SAAS,KAAA,UAAA,IAAtCC,WAAA,EAAAC,kBAAA;AAAA,QAWWC,QAAA;AAAA,QAAA,EAAA,KAAA,CAAA,EAAA;AAAA,QAAA;AAAA,UAVTC,kBAAA,CAIK,MAAA,IAAA,EAAA;AAAA,aAHHH,SAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA;AAAA,cAEWC,QAAA;AAAA,cAAA,IAAA;AAAA,cAFwBE,UAAAA,CAAAA,IAAAA,CAAAA,GAAG,EAAA,CAApB,MAAM,MAAM,KAAA;oCAC5BC,WAA2D,CAAAN,KAAA,CAAA,kBAAA,CAAA,EAAA;AAAA,kBAAA,KAAA,CADR,IAAA,EAAA,MAAA,CAAA,CAAA;AAAA,kBAC5B,IAAA;AAAA,kBAAY,GAAI,EAAA,IAAA;AAAA,kBAAK,IAAK,EAAA,OAAA;AAAA,iBAAA,EAAA,IAAA,EAAA,CAAA,EAAA,CAAA,MAAA,CAAA,CAAA,CAAA;AAAA;;;;UAGrDI,kBAAA,CAIK,MAAA,IAAA,EAAA;AAAA,aAHHH,SAAA,CAAA,IAAA,CAAA,EAAAC,kBAAA;AAAA,cAEWC,QAAA;AAAA,cAAA,IAAA;AAAA,cAFwBE,UAAAA,CAAAA,IAAAA,CAAAA,GAAG,EAAA,CAApB,MAAM,MAAM,KAAA;oCAC5BC,WAA6D,CAAAN,KAAA,CAAA,kBAAA,CAAA,EAAA;AAAA,kBAAA,KAAA,CADV,IAAA,EAAA,MAAA,CAAA,CAAA;AAAA,kBAC5B,IAAA;AAAA,kBAAY,GAAI,EAA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;;;"}
@@ -1,43 +1,117 @@
1
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
2
- import { iconPropType } from '../../../utils/vue/icon.mjs';
1
+ import { defineComponent, inject, computed, openBlock, createElementBlock, unref, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx, createBlock, resolveDynamicComponent, createCommentVNode } from 'vue';
2
+ import { ElIcon } from '../../icon/index.mjs';
3
+ import { dialogInjectionKey } from './constants.mjs';
4
+ import { dialogContentProps, dialogContentEmits } from './dialog-content2.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
+ import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
7
+ import { useDraggable } from '../../../hooks/use-draggable/index.mjs';
8
+ import { CloseComponents } from '../../../utils/vue/icon.mjs';
9
+ import { composeRefs } from '../../../utils/vue/refs.mjs';
10
+ import { useLocale } from '../../../hooks/use-locale/index.mjs';
3
11
 
4
- const dialogContentProps = buildProps({
5
- center: Boolean,
6
- alignCenter: {
7
- type: Boolean,
8
- default: void 0
9
- },
10
- closeIcon: {
11
- type: iconPropType
12
- },
13
- draggable: {
14
- type: Boolean,
15
- default: void 0
16
- },
17
- overflow: {
18
- type: Boolean,
19
- default: void 0
20
- },
21
- fullscreen: Boolean,
22
- headerClass: String,
23
- bodyClass: String,
24
- footerClass: String,
25
- showClose: {
26
- type: Boolean,
27
- default: true
28
- },
29
- title: {
30
- type: String,
31
- default: ""
32
- },
33
- ariaLevel: {
34
- type: String,
35
- default: "2"
12
+ const _hoisted_1 = ["aria-level"];
13
+ const _hoisted_2 = ["aria-label"];
14
+ const _hoisted_3 = ["id"];
15
+ const _sfc_main = defineComponent({
16
+ ...{ name: "ElDialogContent" },
17
+ __name: "dialog-content",
18
+ props: dialogContentProps,
19
+ emits: dialogContentEmits,
20
+ setup(__props, { expose: __expose }) {
21
+ const { t } = useLocale();
22
+ const { Close } = CloseComponents;
23
+ const props = __props;
24
+ const { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey);
25
+ const { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY);
26
+ const composedDialogRef = composeRefs(focusTrapRef, dialogRef);
27
+ const draggable = computed(() => !!props.draggable);
28
+ const overflow = computed(() => !!props.overflow);
29
+ const { resetPosition, updatePosition, isDragging } = useDraggable(
30
+ dialogRef,
31
+ headerRef,
32
+ draggable,
33
+ overflow
34
+ );
35
+ const dialogKls = computed(() => [
36
+ ns.b(),
37
+ ns.is("fullscreen", props.fullscreen),
38
+ ns.is("draggable", draggable.value),
39
+ ns.is("dragging", isDragging.value),
40
+ ns.is("align-center", !!props.alignCenter),
41
+ { [ns.m("center")]: props.center }
42
+ ]);
43
+ __expose({
44
+ resetPosition,
45
+ updatePosition
46
+ });
47
+ return (_ctx, _cache) => {
48
+ return openBlock(), createElementBlock(
49
+ "div",
50
+ {
51
+ ref: unref(composedDialogRef),
52
+ class: normalizeClass(dialogKls.value),
53
+ style: normalizeStyle(unref(style)),
54
+ tabindex: "-1"
55
+ },
56
+ [
57
+ createElementVNode(
58
+ "header",
59
+ {
60
+ ref_key: "headerRef",
61
+ ref: headerRef,
62
+ class: normalizeClass([unref(ns).e("header"), _ctx.headerClass, { "show-close": _ctx.showClose }])
63
+ },
64
+ [
65
+ renderSlot(_ctx.$slots, "header", {}, () => [
66
+ createElementVNode("span", {
67
+ role: "heading",
68
+ "aria-level": _ctx.ariaLevel,
69
+ class: normalizeClass(unref(ns).e("title"))
70
+ }, toDisplayString(_ctx.title), 11, _hoisted_1)
71
+ ]),
72
+ _ctx.showClose ? (openBlock(), createElementBlock("button", {
73
+ key: 0,
74
+ "aria-label": unref(t)("el.dialog.close"),
75
+ class: normalizeClass(unref(ns).e("headerbtn")),
76
+ type: "button",
77
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
78
+ }, [
79
+ createVNode(unref(ElIcon), {
80
+ class: normalizeClass(unref(ns).e("close"))
81
+ }, {
82
+ default: withCtx(() => [
83
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon || unref(Close))))
84
+ ]),
85
+ _: 1
86
+ }, 8, ["class"])
87
+ ], 10, _hoisted_2)) : createCommentVNode("v-if", true)
88
+ ],
89
+ 2
90
+ ),
91
+ createElementVNode("div", {
92
+ id: unref(bodyId),
93
+ class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass])
94
+ }, [
95
+ renderSlot(_ctx.$slots, "default")
96
+ ], 10, _hoisted_3),
97
+ _ctx.$slots.footer ? (openBlock(), createElementBlock(
98
+ "footer",
99
+ {
100
+ key: 0,
101
+ class: normalizeClass([unref(ns).e("footer"), _ctx.footerClass])
102
+ },
103
+ [
104
+ renderSlot(_ctx.$slots, "footer")
105
+ ],
106
+ 2
107
+ )) : createCommentVNode("v-if", true)
108
+ ],
109
+ 6
110
+ );
111
+ };
36
112
  }
37
113
  });
38
- const dialogContentEmits = {
39
- close: () => true
40
- };
114
+ var ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);
41
115
 
42
- export { dialogContentEmits, dialogContentProps };
116
+ export { ElDialogContent as default };
43
117
  //# sourceMappingURL=dialog-content.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description custom class names for header wrapper\n */\n headerClass: String,\n /**\n * @description custom class names for body wrapper\n */\n bodyClass: String,\n /**\n * @description custom class names for footer wrapper\n */\n footerClass: String,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description header's aria-level attribute\n */\n ariaLevel: {\n type: String,\n default: '2',\n },\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":[],"mappings":";;;AAEO,MAAM,qBAAqB,UAAW,CAAA;AAAA,EAI3C,MAAQ,EAAA,OAAA;AAAA,EAIR,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EAIA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,YAAA;AAAA,GACR;AAAA,EAIA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EAIA,UAAY,EAAA,OAAA;AAAA,EAIZ,WAAa,EAAA,MAAA;AAAA,EAIb,SAAW,EAAA,MAAA;AAAA,EAIX,WAAa,EAAA,MAAA;AAAA,EAIb,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EAIA,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EAIA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,GAAA;AAAA,GACX;AACF,CAAU,EAAA;AAEH,MAAM,kBAAqB,GAAA;AAAA,EAChC,OAAO,MAAM,IAAA;AACf;;;;"}
1
+ {"version":3,"file":"dialog-content.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header\n ref=\"headerRef\"\n :class=\"[ns.e('header'), headerClass, { 'show-close': showClose }]\"\n >\n <slot name=\"header\">\n <span role=\"heading\" :aria-level=\"ariaLevel\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"[ns.e('body'), bodyClass]\">\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"[ns.e('footer'), footerClass]\">\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => !!props.draggable)\nconst overflow = computed(() => !!props.overflow)\nconst { resetPosition, updatePosition, isDragging } = useDraggable(\n dialogRef,\n headerRef,\n draggable,\n overflow\n)\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', draggable.value),\n ns.is('dragging', isDragging.value),\n ns.is('align-center', !!props.alignCenter),\n { [ns.m('center')]: props.center },\n])\n\ndefineExpose({\n resetPosition,\n updatePosition,\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_unref","_normalizeClass","_normalizeStyle","_createElementVNode","headerClass","showClose","_renderSlot","ariaLevel","_toDisplayString","title","$emit","_createVNode","_createBlock","_resolveDynamicComponent","closeIcon","bodyClass","$slots","footerClass"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyCM,IAAA,MAAA,EAAE,CAAE,EAAA,GAAI,SAAU,EAAA,CAAA;AAClB,IAAA,MAAA,EAAE,OAAU,GAAA,eAAA,CAAA;AAGlB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAGR,IAAA,MAAA,EAAE,WAAW,SAAW,EAAA,MAAA,EAAQ,IAAI,KAAM,EAAA,GAAI,OAAO,kBAAkB,CAAA,CAAA;AAC7E,IAAA,MAAM,EAAE,YAAA,EAAiB,GAAA,MAAA,CAAO,wBAAwB,CAAA,CAAA;AAElD,IAAA,MAAA,iBAAA,GAAoB,WAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,YAAY,QAAS,CAAA,MAAM,CAAC,CAAC,MAAM,SAAS,CAAA,CAAA;AAClD,IAAA,MAAM,WAAW,QAAS,CAAA,MAAM,CAAC,CAAC,MAAM,QAAQ,CAAA,CAAA;AAChD,IAAA,MAAM,EAAE,aAAA,EAAe,cAAgB,EAAA,UAAA,EAAe,GAAA,YAAA;AAAA,MACpD,SAAA;AAAA,MACA,SAAA;AAAA,MACA,SAAA;AAAA,MACA,QAAA;AAAA,KACF,CAAA;AAEM,IAAA,MAAA,SAAA,GAAY,SAAS,MAAM;AAAA,MAC/B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EIU,IAAAA,CAAAA,MAAAA,CAAO,MAArB,IAAAlB,SAAA,EAAA,EAAAC,kBAAA;AAAA,YAES,QAAA;AAAA,YAAA;AAAA,cAAA,GAAA,EAAA,CAAA;AAAA,cAFqB,KAAA,EAAKE,cAAG,CAAA,CAAAD,KAAA,CAAA,EAAA,CAAG,CAAA,CAAA,CAAC,QAAA,CAAA,EAAYiB,IAAW,CAAA,WAAA,CAAA,CAAA;AAAA,aAAA;AAAA;cAC/DX,UAAA,CAAsB,IAAA,CAAA,MAAA,EAAA,QAAA,CAAA;AAAA,aAAA;AAAA;;;;;;;;;;;;"}
@@ -1,117 +1,43 @@
1
- import { defineComponent, inject, computed, openBlock, createElementBlock, unref, normalizeClass, normalizeStyle, createElementVNode, renderSlot, toDisplayString, createVNode, withCtx, createBlock, resolveDynamicComponent, createCommentVNode } from 'vue';
2
- import { ElIcon } from '../../icon/index.mjs';
3
- import { dialogInjectionKey } from './constants.mjs';
4
- import { dialogContentProps, dialogContentEmits } from './dialog-content.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { FOCUS_TRAP_INJECTION_KEY } from '../../focus-trap/src/tokens.mjs';
7
- import { useDraggable } from '../../../hooks/use-draggable/index.mjs';
8
- import { CloseComponents } from '../../../utils/vue/icon.mjs';
9
- import { composeRefs } from '../../../utils/vue/refs.mjs';
10
- import { useLocale } from '../../../hooks/use-locale/index.mjs';
1
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
2
+ import { iconPropType } from '../../../utils/vue/icon.mjs';
11
3
 
12
- const _hoisted_1 = ["aria-level"];
13
- const _hoisted_2 = ["aria-label"];
14
- const _hoisted_3 = ["id"];
15
- const _sfc_main = defineComponent({
16
- ...{ name: "ElDialogContent" },
17
- __name: "dialog-content",
18
- props: dialogContentProps,
19
- emits: dialogContentEmits,
20
- setup(__props, { expose: __expose }) {
21
- const { t } = useLocale();
22
- const { Close } = CloseComponents;
23
- const props = __props;
24
- const { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey);
25
- const { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY);
26
- const composedDialogRef = composeRefs(focusTrapRef, dialogRef);
27
- const draggable = computed(() => !!props.draggable);
28
- const overflow = computed(() => !!props.overflow);
29
- const { resetPosition, updatePosition, isDragging } = useDraggable(
30
- dialogRef,
31
- headerRef,
32
- draggable,
33
- overflow
34
- );
35
- const dialogKls = computed(() => [
36
- ns.b(),
37
- ns.is("fullscreen", props.fullscreen),
38
- ns.is("draggable", draggable.value),
39
- ns.is("dragging", isDragging.value),
40
- ns.is("align-center", !!props.alignCenter),
41
- { [ns.m("center")]: props.center }
42
- ]);
43
- __expose({
44
- resetPosition,
45
- updatePosition
46
- });
47
- return (_ctx, _cache) => {
48
- return openBlock(), createElementBlock(
49
- "div",
50
- {
51
- ref: unref(composedDialogRef),
52
- class: normalizeClass(dialogKls.value),
53
- style: normalizeStyle(unref(style)),
54
- tabindex: "-1"
55
- },
56
- [
57
- createElementVNode(
58
- "header",
59
- {
60
- ref_key: "headerRef",
61
- ref: headerRef,
62
- class: normalizeClass([unref(ns).e("header"), _ctx.headerClass, { "show-close": _ctx.showClose }])
63
- },
64
- [
65
- renderSlot(_ctx.$slots, "header", {}, () => [
66
- createElementVNode("span", {
67
- role: "heading",
68
- "aria-level": _ctx.ariaLevel,
69
- class: normalizeClass(unref(ns).e("title"))
70
- }, toDisplayString(_ctx.title), 11, _hoisted_1)
71
- ]),
72
- _ctx.showClose ? (openBlock(), createElementBlock("button", {
73
- key: 0,
74
- "aria-label": unref(t)("el.dialog.close"),
75
- class: normalizeClass(unref(ns).e("headerbtn")),
76
- type: "button",
77
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
78
- }, [
79
- createVNode(unref(ElIcon), {
80
- class: normalizeClass(unref(ns).e("close"))
81
- }, {
82
- default: withCtx(() => [
83
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.closeIcon || unref(Close))))
84
- ]),
85
- _: 1
86
- }, 8, ["class"])
87
- ], 10, _hoisted_2)) : createCommentVNode("v-if", true)
88
- ],
89
- 2
90
- ),
91
- createElementVNode("div", {
92
- id: unref(bodyId),
93
- class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass])
94
- }, [
95
- renderSlot(_ctx.$slots, "default")
96
- ], 10, _hoisted_3),
97
- _ctx.$slots.footer ? (openBlock(), createElementBlock(
98
- "footer",
99
- {
100
- key: 0,
101
- class: normalizeClass([unref(ns).e("footer"), _ctx.footerClass])
102
- },
103
- [
104
- renderSlot(_ctx.$slots, "footer")
105
- ],
106
- 2
107
- )) : createCommentVNode("v-if", true)
108
- ],
109
- 6
110
- );
111
- };
4
+ const dialogContentProps = buildProps({
5
+ center: Boolean,
6
+ alignCenter: {
7
+ type: Boolean,
8
+ default: void 0
9
+ },
10
+ closeIcon: {
11
+ type: iconPropType
12
+ },
13
+ draggable: {
14
+ type: Boolean,
15
+ default: void 0
16
+ },
17
+ overflow: {
18
+ type: Boolean,
19
+ default: void 0
20
+ },
21
+ fullscreen: Boolean,
22
+ headerClass: String,
23
+ bodyClass: String,
24
+ footerClass: String,
25
+ showClose: {
26
+ type: Boolean,
27
+ default: true
28
+ },
29
+ title: {
30
+ type: String,
31
+ default: ""
32
+ },
33
+ ariaLevel: {
34
+ type: String,
35
+ default: "2"
112
36
  }
113
37
  });
114
- var ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);
38
+ const dialogContentEmits = {
39
+ close: () => true
40
+ };
115
41
 
116
- export { ElDialogContent as default };
42
+ export { dialogContentEmits, dialogContentProps };
117
43
  //# sourceMappingURL=dialog-content2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.vue"],"sourcesContent":["<template>\n <div :ref=\"composedDialogRef\" :class=\"dialogKls\" :style=\"style\" tabindex=\"-1\">\n <header\n ref=\"headerRef\"\n :class=\"[ns.e('header'), headerClass, { 'show-close': showClose }]\"\n >\n <slot name=\"header\">\n <span role=\"heading\" :aria-level=\"ariaLevel\" :class=\"ns.e('title')\">\n {{ title }}\n </span>\n </slot>\n <button\n v-if=\"showClose\"\n :aria-label=\"t('el.dialog.close')\"\n :class=\"ns.e('headerbtn')\"\n type=\"button\"\n @click=\"$emit('close')\"\n >\n <el-icon :class=\"ns.e('close')\">\n <component :is=\"closeIcon || Close\" />\n </el-icon>\n </button>\n </header>\n <div :id=\"bodyId\" :class=\"[ns.e('body'), bodyClass]\">\n <slot />\n </div>\n <footer v-if=\"$slots.footer\" :class=\"[ns.e('footer'), footerClass]\">\n <slot name=\"footer\" />\n </footer>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { FOCUS_TRAP_INJECTION_KEY } from '@element-plus/components/focus-trap'\nimport { useDraggable, useLocale } from '@element-plus/hooks'\nimport { CloseComponents, composeRefs } from '@element-plus/utils'\nimport { dialogInjectionKey } from './constants'\nimport { dialogContentEmits, dialogContentProps } from './dialog-content'\n\nconst { t } = useLocale()\nconst { Close } = CloseComponents\n\ndefineOptions({ name: 'ElDialogContent' })\nconst props = defineProps(dialogContentProps)\ndefineEmits(dialogContentEmits)\n\nconst { dialogRef, headerRef, bodyId, ns, style } = inject(dialogInjectionKey)!\nconst { focusTrapRef } = inject(FOCUS_TRAP_INJECTION_KEY)!\n\nconst composedDialogRef = composeRefs(focusTrapRef, dialogRef)\n\nconst draggable = computed(() => !!props.draggable)\nconst overflow = computed(() => !!props.overflow)\nconst { resetPosition, updatePosition, isDragging } = useDraggable(\n dialogRef,\n headerRef,\n draggable,\n overflow\n)\n\nconst dialogKls = computed(() => [\n ns.b(),\n ns.is('fullscreen', props.fullscreen),\n ns.is('draggable', draggable.value),\n ns.is('dragging', isDragging.value),\n ns.is('align-center', !!props.alignCenter),\n { [ns.m('center')]: props.center },\n])\n\ndefineExpose({\n resetPosition,\n updatePosition,\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_unref","_normalizeClass","_normalizeStyle","_createElementVNode","headerClass","showClose","_renderSlot","ariaLevel","_toDisplayString","title","$emit","_createVNode","_createBlock","_resolveDynamicComponent","closeIcon","bodyClass","$slots","footerClass"],"mappings":";;;;;;;;;;;;;;;;;;;;AAyCM,IAAA,MAAA,EAAE,CAAE,EAAA,GAAI,SAAU,EAAA,CAAA;AAClB,IAAA,MAAA,EAAE,OAAU,GAAA,eAAA,CAAA;AAGlB,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAGR,IAAA,MAAA,EAAE,WAAW,SAAW,EAAA,MAAA,EAAQ,IAAI,KAAM,EAAA,GAAI,OAAO,kBAAkB,CAAA,CAAA;AAC7E,IAAA,MAAM,EAAE,YAAA,EAAiB,GAAA,MAAA,CAAO,wBAAwB,CAAA,CAAA;AAElD,IAAA,MAAA,iBAAA,GAAoB,WAAY,CAAA,YAAA,EAAc,SAAS,CAAA,CAAA;AAE7D,IAAA,MAAM,YAAY,QAAS,CAAA,MAAM,CAAC,CAAC,MAAM,SAAS,CAAA,CAAA;AAClD,IAAA,MAAM,WAAW,QAAS,CAAA,MAAM,CAAC,CAAC,MAAM,QAAQ,CAAA,CAAA;AAChD,IAAA,MAAM,EAAE,aAAA,EAAe,cAAgB,EAAA,UAAA,EAAe,GAAA,YAAA;AAAA,MACpD,SAAA;AAAA,MACA,SAAA;AAAA,MACA,SAAA;AAAA,MACA,QAAA;AAAA,KACF,CAAA;AAEM,IAAA,MAAA,SAAA,GAAY,SAAS,MAAM;AAAA,MAC/B,GAAG,CAAE,EAAA;AAAA,MACL,EAAG,CAAA,EAAA,CAAG,YAAc,EAAA,KAAA,CAAM,UAAU,CAAA;AAAA,MACpC,EAAG,CAAA,EAAA,CAAG,WAAa,EAAA,SAAA,CAAU,KAAK,CAAA;AAAA,MAClC,EAAG,CAAA,EAAA,CAAG,UAAY,EA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,CAAA,CAAC,QAAA,CAAA,EAAYiB,IAAW,CAAA,WAAA,CAAA,CAAA;AAAA,aAAA;AAAA;cAC/DX,UAAA,CAAsB,IAAA,CAAA,MAAA,EAAA,QAAA,CAAA;AAAA,aAAA;AAAA;;;;;;;;;;;;"}
1
+ {"version":3,"file":"dialog-content2.mjs","sources":["../../../../../../packages/components/dialog/src/dialog-content.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nexport const dialogContentProps = buildProps({\n /**\n * @description whether to align the header and footer in center\n */\n center: Boolean,\n /**\n * @description whether to align the dialog both horizontally and vertically\n */\n alignCenter: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description custom close icon, default is Close\n */\n closeIcon: {\n type: iconPropType,\n },\n /**\n * @description enable dragging feature for Dialog\n */\n draggable: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description draggable Dialog can overflow the viewport\n */\n overflow: {\n type: Boolean,\n default: undefined,\n },\n /**\n * @description whether the Dialog takes up full screen\n */\n fullscreen: Boolean,\n /**\n * @description custom class names for header wrapper\n */\n headerClass: String,\n /**\n * @description custom class names for body wrapper\n */\n bodyClass: String,\n /**\n * @description custom class names for footer wrapper\n */\n footerClass: String,\n /**\n * @description whether to show a close button\n */\n showClose: {\n type: Boolean,\n default: true,\n },\n /**\n * @description title of Dialog. Can also be passed with a named slot (see the following table)\n */\n title: {\n type: String,\n default: '',\n },\n /**\n * @description header's aria-level attribute\n */\n ariaLevel: {\n type: String,\n default: '2',\n },\n} as const)\n\nexport const dialogContentEmits = {\n close: () => true,\n}\n"],"names":[],"mappings":";;;AAEO,MAAM,qBAAqB,UAAW,CAAA;AAAA,EAI3C,MAAQ,EAAA,OAAA;AAAA,EAIR,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EAIA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,YAAA;AAAA,GACR;AAAA,EAIA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA,CAAA;AAAA,GACX;AAAA,EAIA,UAAY,EAAA,OAAA;AAAA,EAIZ,WAAa,EAAA,MAAA;AAAA,EAIb,SAAW,EAAA,MAAA;AAAA,EAIX,WAAa,EAAA,MAAA;AAAA,EAIb,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA,EAIA,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EAIA,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,GAAA;AAAA,GACX;AACF,CAAU,EAAA;AAEH,MAAM,kBAAqB,GAAA;AAAA,EAChC,OAAO,MAAM,IAAA;AACf;;;;"}
@@ -1,4 +1,4 @@
1
- import { dialogContentProps } from './dialog-content.mjs';
1
+ import { dialogContentProps } from './dialog-content2.mjs';
2
2
  import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
3
3
  import { teleportProps } from '../../teleport/src/teleport.mjs';
4
4
  import { UPDATE_MODEL_EVENT } from '../../../constants/event.mjs';
@@ -2,7 +2,7 @@ import { defineComponent, useSlots, computed, ref, provide, openBlock, createBlo
2
2
  import { ElOverlay } from '../../overlay/index.mjs';
3
3
  import ElFocusTrap from '../../focus-trap/src/focus-trap.mjs';
4
4
  import { ElTeleport } from '../../teleport/index.mjs';
5
- import ElDialogContent from './dialog-content2.mjs';
5
+ import ElDialogContent from './dialog-content.mjs';
6
6
  import { dialogInjectionKey } from './constants.mjs';
7
7
  import { dialogProps, dialogEmits } from './dialog.mjs';
8
8
  import { useDialog } from './use-dialog.mjs';
@@ -1,5 +1,5 @@
1
- import Divider from './src/divider.mjs';
2
- export { dividerProps } from './src/divider2.mjs';
1
+ import Divider from './src/divider2.mjs';
2
+ export { dividerProps } from './src/divider.mjs';
3
3
  import { withInstall } from '../../utils/vue/install.mjs';
4
4
 
5
5
  const ElDivider = withInstall(Divider);
@@ -1,49 +1,21 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, createCommentVNode } from 'vue';
2
- import { dividerProps } from './divider2.mjs';
3
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
4
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
1
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
5
2
 
6
- const _sfc_main = defineComponent({
7
- ...{
8
- name: "ElDivider"
3
+ const dividerProps = buildProps({
4
+ direction: {
5
+ type: String,
6
+ values: ["horizontal", "vertical"],
7
+ default: "horizontal"
9
8
  },
10
- __name: "divider",
11
- props: dividerProps,
12
- setup(__props) {
13
- const props = __props;
14
- const ns = useNamespace("divider");
15
- const dividerStyle = computed(() => {
16
- return ns.cssVar({
17
- "border-style": props.borderStyle
18
- });
19
- });
20
- return (_ctx, _cache) => {
21
- return openBlock(), createElementBlock(
22
- "div",
23
- {
24
- class: normalizeClass([unref(ns).b(), unref(ns).m(_ctx.direction)]),
25
- style: normalizeStyle(dividerStyle.value),
26
- role: "separator"
27
- },
28
- [
29
- _ctx.$slots.default && _ctx.direction !== "vertical" ? (openBlock(), createElementBlock(
30
- "div",
31
- {
32
- key: 0,
33
- class: normalizeClass([unref(ns).e("text"), unref(ns).is(_ctx.contentPosition)])
34
- },
35
- [
36
- renderSlot(_ctx.$slots, "default")
37
- ],
38
- 2
39
- )) : createCommentVNode("v-if", true)
40
- ],
41
- 6
42
- );
43
- };
9
+ contentPosition: {
10
+ type: String,
11
+ values: ["left", "center", "right"],
12
+ default: "center"
13
+ },
14
+ borderStyle: {
15
+ type: definePropType(String),
16
+ default: "solid"
44
17
  }
45
18
  });
46
- var Divider = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
47
19
 
48
- export { Divider as default };
20
+ export { dividerProps };
49
21
  //# sourceMappingURL=divider.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"divider.mjs","sources":["../../../../../../packages/components/divider/src/divider.vue"],"sourcesContent":["<template>\n <div\n :class=\"[ns.b(), ns.m(direction)]\"\n :style=\"dividerStyle\"\n role=\"separator\"\n >\n <div\n v-if=\"$slots.default && direction !== 'vertical'\"\n :class=\"[ns.e('text'), ns.is(contentPosition)]\"\n >\n <slot />\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { dividerProps } from './divider'\n\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElDivider',\n})\nconst props = defineProps(dividerProps)\nconst ns = useNamespace('divider')\nconst dividerStyle = computed(() => {\n return ns.cssVar({\n 'border-style': props.borderStyle,\n }) as CSSProperties\n})\n</script>\n"],"names":["_openBlock","_createElementBlock","_normalizeClass","_unref","direction","_normalizeStyle","$slots","contentPosition","_renderSlot"],"mappings":";;;;;;;;;;;;AAyBA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACR,IAAA,MAAA,EAAA,GAAK,aAAa,SAAS,CAAA,CAAA;AAC3B,IAAA,MAAA,YAAA,GAAe,SAAS,MAAM;AAClC,MAAA,OAAO,GAAG,MAAO,CAAA;AAAA,QACf,gBAAgB,KAAM,CAAA,WAAA;AAAA,OACvB,CAAA,CAAA;AAAA,KACF,CAAA,CAAA;;AA9BC,MAAA,OAAAA,WAAA,EAAAC,kBAAA;AAAA,QAWM,KAAA;AAAA,QAAA;AAAA,UAVH,KAAK,EAAAC,cAAA,CAAG,CAAAC,KAAA,CAAA,EAAA,CAAG,CAAA,CAAA,EAAK,EAAAA,KAAA,CAAA,EAAA,CAAG,CAAA,CAAA,CAAEC,IAAS,CAAA,SAAA,CAAA,CAAA,CAAA;AAAA,UAC9B,KAAA,EAAKC,cAAE,CAAA,YAAA,CAAY,KAAA,CAAA;AAAA,UACpB,IAAK,EAAA,WAAA;AAAA,SAAA;AAAA;UAGGC,KAAO,MAAA,CAAA,OAAA,IAAWF,cAAS,KAAA,UAAA,IADnCJ,WAAA,EAAAC,kBAAA;AAAA,YAKM,KAAA;AAAA,YAAA;AAAA,cAAA,GAAA,EAAA,CAAA;AAAA,cAHH,OAAKC,gBAAGC,KAAG,CAAA,EAAA,EAAA,CAAC,CAAA,MAAU,CAAA,EAAAA,KAAA,CAAA,EAAA,CAAG,CAAA,EAAA,CAAGI,IAAe,CAAA,eAAA,CAAA,CAAA,CAAA;AAAA,aAAA;AAAA;cAE5CC,UAAA,CAAQ,IAAA,CAAA,MAAA,EAAA,SAAA,CAAA;AAAA,aAAA;AAAA;;;;;;;;;;;;"}
1
+ {"version":3,"file":"divider.mjs","sources":["../../../../../../packages/components/divider/src/divider.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type Divider from './divider.vue'\n\nexport type BorderStyle = CSSStyleDeclaration['borderStyle']\n\nexport const dividerProps = buildProps({\n /**\n * @description Set divider's direction\n */\n direction: {\n type: String,\n values: ['horizontal', 'vertical'],\n default: 'horizontal',\n },\n /**\n * @description Set the style of divider\n */\n contentPosition: {\n type: String,\n values: ['left', 'center', 'right'],\n default: 'center',\n },\n /**\n * @description the position of the customized content on the divider line\n */\n borderStyle: {\n type: definePropType<BorderStyle>(String),\n default: 'solid',\n },\n} as const)\nexport type DividerProps = ExtractPropTypes<typeof dividerProps>\nexport type DividerPropsPublic = ExtractPublicPropTypes<typeof dividerProps>\n\nexport type DividerInstance = InstanceType<typeof Divider> & unknown\n"],"names":[],"mappings":";;AAOO,MAAM,eAAe,UAAW,CAAA;AAAA,EAIrC,SAAW,EAAA;AAAA,IACT,IAAM,EAAA,MAAA;AAAA,IACN,MAAA,EAAQ,CAAC,YAAA,EAAc,UAAU,CAAA;AAAA,IACjC,OAAS,EAAA,YAAA;AAAA,GACX;AAAA,EAIA,eAAiB,EAAA;AAAA,IACf,IAAM,EAAA,MAAA;AAAA,IACN,MAAQ,EAAA,CAAC,MAAQ,EAAA,QAAA,EAAU,OAAO,CAAA;AAAA,IAClC,OAAS,EAAA,QAAA;AAAA,GACX;AAAA,EAIA,WAAa,EAAA;AAAA,IACX,IAAA,EAAM,eAA4B,MAAM,CAAA;AAAA,IACxC,OAAS,EAAA,OAAA;AAAA,GACX;AACF,CAAU;;;;"}