@element-plus/nightly 0.0.20250724 → 0.0.20250727

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 (526) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +36 -12
  4. package/dist/index.full.min.js +10 -10
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +10 -10
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +36 -12
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hi.js +1 -1
  94. package/dist/locale/hi.min.js +1 -1
  95. package/dist/locale/hi.min.mjs +1 -1
  96. package/dist/locale/hi.mjs +1 -1
  97. package/dist/locale/hr.js +1 -1
  98. package/dist/locale/hr.min.js +1 -1
  99. package/dist/locale/hr.min.mjs +1 -1
  100. package/dist/locale/hr.mjs +1 -1
  101. package/dist/locale/hu.js +1 -1
  102. package/dist/locale/hu.min.js +1 -1
  103. package/dist/locale/hu.min.mjs +1 -1
  104. package/dist/locale/hu.mjs +1 -1
  105. package/dist/locale/hy-am.js +1 -1
  106. package/dist/locale/hy-am.min.js +1 -1
  107. package/dist/locale/hy-am.min.mjs +1 -1
  108. package/dist/locale/hy-am.mjs +1 -1
  109. package/dist/locale/id.js +1 -1
  110. package/dist/locale/id.min.js +1 -1
  111. package/dist/locale/id.min.mjs +1 -1
  112. package/dist/locale/id.mjs +1 -1
  113. package/dist/locale/it.js +1 -1
  114. package/dist/locale/it.min.js +1 -1
  115. package/dist/locale/it.min.mjs +1 -1
  116. package/dist/locale/it.mjs +1 -1
  117. package/dist/locale/ja.js +1 -1
  118. package/dist/locale/ja.min.js +1 -1
  119. package/dist/locale/ja.min.mjs +1 -1
  120. package/dist/locale/ja.mjs +1 -1
  121. package/dist/locale/kk.js +1 -1
  122. package/dist/locale/kk.min.js +1 -1
  123. package/dist/locale/kk.min.mjs +1 -1
  124. package/dist/locale/kk.mjs +1 -1
  125. package/dist/locale/km.js +1 -1
  126. package/dist/locale/km.min.js +1 -1
  127. package/dist/locale/km.min.mjs +1 -1
  128. package/dist/locale/km.mjs +1 -1
  129. package/dist/locale/ko.js +1 -1
  130. package/dist/locale/ko.min.js +1 -1
  131. package/dist/locale/ko.min.mjs +1 -1
  132. package/dist/locale/ko.mjs +1 -1
  133. package/dist/locale/ku.js +1 -1
  134. package/dist/locale/ku.min.js +1 -1
  135. package/dist/locale/ku.min.mjs +1 -1
  136. package/dist/locale/ku.mjs +1 -1
  137. package/dist/locale/ky.js +1 -1
  138. package/dist/locale/ky.min.js +1 -1
  139. package/dist/locale/ky.min.mjs +1 -1
  140. package/dist/locale/ky.mjs +1 -1
  141. package/dist/locale/lo.js +1 -1
  142. package/dist/locale/lo.min.js +1 -1
  143. package/dist/locale/lo.min.mjs +1 -1
  144. package/dist/locale/lo.mjs +1 -1
  145. package/dist/locale/lt.js +1 -1
  146. package/dist/locale/lt.min.js +1 -1
  147. package/dist/locale/lt.min.mjs +1 -1
  148. package/dist/locale/lt.mjs +1 -1
  149. package/dist/locale/lv.js +1 -1
  150. package/dist/locale/lv.min.js +1 -1
  151. package/dist/locale/lv.min.mjs +1 -1
  152. package/dist/locale/lv.mjs +1 -1
  153. package/dist/locale/mg.js +1 -1
  154. package/dist/locale/mg.min.js +1 -1
  155. package/dist/locale/mg.min.mjs +1 -1
  156. package/dist/locale/mg.mjs +1 -1
  157. package/dist/locale/mn.js +1 -1
  158. package/dist/locale/mn.min.js +1 -1
  159. package/dist/locale/mn.min.mjs +1 -1
  160. package/dist/locale/mn.mjs +1 -1
  161. package/dist/locale/ms.js +1 -1
  162. package/dist/locale/ms.min.js +1 -1
  163. package/dist/locale/ms.min.mjs +1 -1
  164. package/dist/locale/ms.mjs +1 -1
  165. package/dist/locale/my.js +1 -1
  166. package/dist/locale/my.min.js +1 -1
  167. package/dist/locale/my.min.mjs +1 -1
  168. package/dist/locale/my.mjs +1 -1
  169. package/dist/locale/nb-no.js +1 -1
  170. package/dist/locale/nb-no.min.js +1 -1
  171. package/dist/locale/nb-no.min.mjs +1 -1
  172. package/dist/locale/nb-no.mjs +1 -1
  173. package/dist/locale/nl.js +1 -1
  174. package/dist/locale/nl.min.js +1 -1
  175. package/dist/locale/nl.min.mjs +1 -1
  176. package/dist/locale/nl.mjs +1 -1
  177. package/dist/locale/no.js +1 -1
  178. package/dist/locale/no.min.js +1 -1
  179. package/dist/locale/no.min.mjs +1 -1
  180. package/dist/locale/no.mjs +1 -1
  181. package/dist/locale/pa.js +1 -1
  182. package/dist/locale/pa.min.js +1 -1
  183. package/dist/locale/pa.min.mjs +1 -1
  184. package/dist/locale/pa.mjs +1 -1
  185. package/dist/locale/pl.js +1 -1
  186. package/dist/locale/pl.min.js +1 -1
  187. package/dist/locale/pl.min.mjs +1 -1
  188. package/dist/locale/pl.mjs +1 -1
  189. package/dist/locale/pt-br.js +1 -1
  190. package/dist/locale/pt-br.min.js +1 -1
  191. package/dist/locale/pt-br.min.mjs +1 -1
  192. package/dist/locale/pt-br.mjs +1 -1
  193. package/dist/locale/pt.js +1 -1
  194. package/dist/locale/pt.min.js +1 -1
  195. package/dist/locale/pt.min.mjs +1 -1
  196. package/dist/locale/pt.mjs +1 -1
  197. package/dist/locale/ro.js +1 -1
  198. package/dist/locale/ro.min.js +1 -1
  199. package/dist/locale/ro.min.mjs +1 -1
  200. package/dist/locale/ro.mjs +1 -1
  201. package/dist/locale/ru.js +1 -1
  202. package/dist/locale/ru.min.js +1 -1
  203. package/dist/locale/ru.min.mjs +1 -1
  204. package/dist/locale/ru.mjs +1 -1
  205. package/dist/locale/sk.js +1 -1
  206. package/dist/locale/sk.min.js +1 -1
  207. package/dist/locale/sk.min.mjs +1 -1
  208. package/dist/locale/sk.mjs +1 -1
  209. package/dist/locale/sl.js +1 -1
  210. package/dist/locale/sl.min.js +1 -1
  211. package/dist/locale/sl.min.mjs +1 -1
  212. package/dist/locale/sl.mjs +1 -1
  213. package/dist/locale/sr.js +1 -1
  214. package/dist/locale/sr.min.js +1 -1
  215. package/dist/locale/sr.min.mjs +1 -1
  216. package/dist/locale/sr.mjs +1 -1
  217. package/dist/locale/sv.js +1 -1
  218. package/dist/locale/sv.min.js +1 -1
  219. package/dist/locale/sv.min.mjs +1 -1
  220. package/dist/locale/sv.mjs +1 -1
  221. package/dist/locale/sw.js +1 -1
  222. package/dist/locale/sw.min.js +1 -1
  223. package/dist/locale/sw.min.mjs +1 -1
  224. package/dist/locale/sw.mjs +1 -1
  225. package/dist/locale/ta.js +1 -1
  226. package/dist/locale/ta.min.js +1 -1
  227. package/dist/locale/ta.min.mjs +1 -1
  228. package/dist/locale/ta.mjs +1 -1
  229. package/dist/locale/te.js +1 -1
  230. package/dist/locale/te.min.js +1 -1
  231. package/dist/locale/te.min.mjs +1 -1
  232. package/dist/locale/te.mjs +1 -1
  233. package/dist/locale/th.js +1 -1
  234. package/dist/locale/th.min.js +1 -1
  235. package/dist/locale/th.min.mjs +1 -1
  236. package/dist/locale/th.mjs +1 -1
  237. package/dist/locale/tk.js +1 -1
  238. package/dist/locale/tk.min.js +1 -1
  239. package/dist/locale/tk.min.mjs +1 -1
  240. package/dist/locale/tk.mjs +1 -1
  241. package/dist/locale/tr.js +1 -1
  242. package/dist/locale/tr.min.js +1 -1
  243. package/dist/locale/tr.min.mjs +1 -1
  244. package/dist/locale/tr.mjs +1 -1
  245. package/dist/locale/ug-cn.js +1 -1
  246. package/dist/locale/ug-cn.min.js +1 -1
  247. package/dist/locale/ug-cn.min.mjs +1 -1
  248. package/dist/locale/ug-cn.mjs +1 -1
  249. package/dist/locale/uk.js +1 -1
  250. package/dist/locale/uk.min.js +1 -1
  251. package/dist/locale/uk.min.mjs +1 -1
  252. package/dist/locale/uk.mjs +1 -1
  253. package/dist/locale/uz-uz.js +1 -1
  254. package/dist/locale/uz-uz.min.js +1 -1
  255. package/dist/locale/uz-uz.min.mjs +1 -1
  256. package/dist/locale/uz-uz.mjs +1 -1
  257. package/dist/locale/vi.js +1 -1
  258. package/dist/locale/vi.min.js +1 -1
  259. package/dist/locale/vi.min.mjs +1 -1
  260. package/dist/locale/vi.mjs +1 -1
  261. package/dist/locale/zh-cn.js +1 -1
  262. package/dist/locale/zh-cn.min.js +1 -1
  263. package/dist/locale/zh-cn.min.mjs +1 -1
  264. package/dist/locale/zh-cn.mjs +1 -1
  265. package/dist/locale/zh-hk.js +1 -1
  266. package/dist/locale/zh-hk.min.js +1 -1
  267. package/dist/locale/zh-hk.min.mjs +1 -1
  268. package/dist/locale/zh-hk.mjs +1 -1
  269. package/dist/locale/zh-mo.js +1 -1
  270. package/dist/locale/zh-mo.min.js +1 -1
  271. package/dist/locale/zh-mo.min.mjs +1 -1
  272. package/dist/locale/zh-mo.mjs +1 -1
  273. package/dist/locale/zh-tw.js +1 -1
  274. package/dist/locale/zh-tw.min.js +1 -1
  275. package/dist/locale/zh-tw.min.mjs +1 -1
  276. package/dist/locale/zh-tw.mjs +1 -1
  277. package/es/components/anchor/index.mjs +1 -1
  278. package/es/components/anchor/src/anchor-link.mjs +81 -5
  279. package/es/components/anchor/src/anchor-link.mjs.map +1 -1
  280. package/es/components/anchor/src/anchor-link2.mjs +5 -81
  281. package/es/components/anchor/src/anchor-link2.mjs.map +1 -1
  282. package/es/components/backtop/index.mjs +2 -2
  283. package/es/components/backtop/src/backtop.mjs +53 -21
  284. package/es/components/backtop/src/backtop.mjs.map +1 -1
  285. package/es/components/backtop/src/backtop2.mjs +21 -53
  286. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  287. package/es/components/breadcrumb/index.mjs +2 -2
  288. package/es/components/breadcrumb/src/breadcrumb.mjs +10 -37
  289. package/es/components/breadcrumb/src/breadcrumb.mjs.map +1 -1
  290. package/es/components/breadcrumb/src/breadcrumb2.mjs +37 -10
  291. package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
  292. package/es/components/card/index.mjs +2 -2
  293. package/es/components/card/src/card.mjs +22 -42
  294. package/es/components/card/src/card.mjs.map +1 -1
  295. package/es/components/card/src/card2.mjs +42 -22
  296. package/es/components/card/src/card2.mjs.map +1 -1
  297. package/es/components/cascader/index.mjs +2 -2
  298. package/es/components/cascader/src/cascader.d.ts +3 -1
  299. package/es/components/cascader/src/cascader.mjs +95 -668
  300. package/es/components/cascader/src/cascader.mjs.map +1 -1
  301. package/es/components/cascader/src/cascader.vue.d.ts +6 -0
  302. package/es/components/cascader/src/cascader2.mjs +682 -86
  303. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  304. package/es/components/col/index.mjs +2 -2
  305. package/es/components/col/src/col.mjs +43 -64
  306. package/es/components/col/src/col.mjs.map +1 -1
  307. package/es/components/col/src/col2.mjs +64 -43
  308. package/es/components/col/src/col2.mjs.map +1 -1
  309. package/es/components/collapse/index.mjs +4 -4
  310. package/es/components/collapse/src/collapse-item.mjs +95 -18
  311. package/es/components/collapse/src/collapse-item.mjs.map +1 -1
  312. package/es/components/collapse/src/collapse-item2.mjs +18 -95
  313. package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
  314. package/es/components/collapse/src/collapse.mjs +23 -28
  315. package/es/components/collapse/src/collapse.mjs.map +1 -1
  316. package/es/components/collapse/src/collapse2.mjs +28 -23
  317. package/es/components/collapse/src/collapse2.mjs.map +1 -1
  318. package/es/components/color-picker/index.mjs +2 -2
  319. package/es/components/color-picker/src/color-picker.mjs +49 -400
  320. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  321. package/es/components/color-picker/src/color-picker2.mjs +400 -49
  322. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  323. package/es/components/color-picker/src/components/predefine.mjs +1 -1
  324. package/es/components/form/index.mjs +2 -2
  325. package/es/components/form/src/form-item.mjs +47 -322
  326. package/es/components/form/src/form-item.mjs.map +1 -1
  327. package/es/components/form/src/form-item2.mjs +322 -47
  328. package/es/components/form/src/form-item2.mjs.map +1 -1
  329. package/es/components/index.mjs +18 -18
  330. package/es/components/input-tag/index.mjs +2 -2
  331. package/es/components/input-tag/src/input-tag.mjs +215 -70
  332. package/es/components/input-tag/src/input-tag.mjs.map +1 -1
  333. package/es/components/input-tag/src/input-tag2.mjs +70 -215
  334. package/es/components/input-tag/src/input-tag2.mjs.map +1 -1
  335. package/es/components/mention/index.mjs +2 -2
  336. package/es/components/mention/src/mention.mjs +285 -65
  337. package/es/components/mention/src/mention.mjs.map +1 -1
  338. package/es/components/mention/src/mention2.mjs +65 -285
  339. package/es/components/mention/src/mention2.mjs.map +1 -1
  340. package/es/components/page-header/index.mjs +2 -2
  341. package/es/components/page-header/src/page-header.mjs +97 -16
  342. package/es/components/page-header/src/page-header.mjs.map +1 -1
  343. package/es/components/page-header/src/page-header2.mjs +16 -97
  344. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  345. package/es/components/pagination/src/components/sizes.mjs +23 -71
  346. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  347. package/es/components/pagination/src/components/sizes2.mjs +71 -23
  348. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  349. package/es/components/pagination/src/components/total.mjs +6 -26
  350. package/es/components/pagination/src/components/total.mjs.map +1 -1
  351. package/es/components/pagination/src/components/total2.mjs +26 -6
  352. package/es/components/pagination/src/components/total2.mjs.map +1 -1
  353. package/es/components/pagination/src/pagination.mjs +2 -2
  354. package/es/components/radio/index.mjs +2 -2
  355. package/es/components/radio/src/radio-group.mjs +34 -65
  356. package/es/components/radio/src/radio-group.mjs.map +1 -1
  357. package/es/components/radio/src/radio-group2.mjs +65 -34
  358. package/es/components/radio/src/radio-group2.mjs.map +1 -1
  359. package/es/components/scrollbar/index.mjs +1 -1
  360. package/es/components/scrollbar/src/bar2.mjs +1 -1
  361. package/es/components/scrollbar/src/thumb.mjs +11 -139
  362. package/es/components/scrollbar/src/thumb.mjs.map +1 -1
  363. package/es/components/scrollbar/src/thumb2.mjs +139 -11
  364. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  365. package/es/components/splitter/index.mjs +2 -2
  366. package/es/components/splitter/src/split-bar.mjs +5 -4
  367. package/es/components/splitter/src/split-bar.mjs.map +1 -1
  368. package/es/components/splitter/src/splitter.mjs +7 -80
  369. package/es/components/splitter/src/splitter.mjs.map +1 -1
  370. package/es/components/splitter/src/splitter2.mjs +80 -7
  371. package/es/components/splitter/src/splitter2.mjs.map +1 -1
  372. package/es/components/table/src/table-header/index.mjs +1 -1
  373. package/es/components/table/src/table-header/index.mjs.map +1 -1
  374. package/es/components/tooltip-v2/src/content2.mjs +1 -1
  375. package/es/components/upload/index.mjs +4 -4
  376. package/es/components/upload/src/upload-content.mjs +196 -33
  377. package/es/components/upload/src/upload-content.mjs.map +1 -1
  378. package/es/components/upload/src/upload-content2.mjs +33 -196
  379. package/es/components/upload/src/upload-content2.mjs.map +1 -1
  380. package/es/components/upload/src/upload-list.mjs +173 -25
  381. package/es/components/upload/src/upload-list.mjs.map +1 -1
  382. package/es/components/upload/src/upload-list2.mjs +25 -173
  383. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  384. package/es/components/upload/src/upload.mjs +125 -97
  385. package/es/components/upload/src/upload.mjs.map +1 -1
  386. package/es/components/upload/src/upload2.mjs +97 -125
  387. package/es/components/upload/src/upload2.mjs.map +1 -1
  388. package/es/components/upload/src/use-handlers.mjs +1 -1
  389. package/es/components/visual-hidden/index.mjs +3 -3
  390. package/es/components/visual-hidden/src/visual-hidden.mjs +35 -6
  391. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -1
  392. package/es/components/visual-hidden/src/visual-hidden2.mjs +6 -35
  393. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  394. package/es/index.d.ts +8 -0
  395. package/es/index.mjs +18 -18
  396. package/es/version.d.ts +1 -1
  397. package/es/version.mjs +1 -1
  398. package/es/version.mjs.map +1 -1
  399. package/lib/components/anchor/index.js +1 -1
  400. package/lib/components/anchor/src/anchor-link.js +81 -5
  401. package/lib/components/anchor/src/anchor-link.js.map +1 -1
  402. package/lib/components/anchor/src/anchor-link2.js +5 -81
  403. package/lib/components/anchor/src/anchor-link2.js.map +1 -1
  404. package/lib/components/backtop/index.js +2 -2
  405. package/lib/components/backtop/src/backtop.js +53 -22
  406. package/lib/components/backtop/src/backtop.js.map +1 -1
  407. package/lib/components/backtop/src/backtop2.js +22 -53
  408. package/lib/components/backtop/src/backtop2.js.map +1 -1
  409. package/lib/components/breadcrumb/index.js +2 -2
  410. package/lib/components/breadcrumb/src/breadcrumb.js +10 -37
  411. package/lib/components/breadcrumb/src/breadcrumb.js.map +1 -1
  412. package/lib/components/breadcrumb/src/breadcrumb2.js +37 -10
  413. package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
  414. package/lib/components/card/index.js +2 -2
  415. package/lib/components/card/src/card.js +22 -42
  416. package/lib/components/card/src/card.js.map +1 -1
  417. package/lib/components/card/src/card2.js +42 -22
  418. package/lib/components/card/src/card2.js.map +1 -1
  419. package/lib/components/cascader/index.js +2 -2
  420. package/lib/components/cascader/src/cascader.d.ts +3 -1
  421. package/lib/components/cascader/src/cascader.js +96 -668
  422. package/lib/components/cascader/src/cascader.js.map +1 -1
  423. package/lib/components/cascader/src/cascader.vue.d.ts +6 -0
  424. package/lib/components/cascader/src/cascader2.js +682 -87
  425. package/lib/components/cascader/src/cascader2.js.map +1 -1
  426. package/lib/components/col/index.js +2 -2
  427. package/lib/components/col/src/col.js +43 -64
  428. package/lib/components/col/src/col.js.map +1 -1
  429. package/lib/components/col/src/col2.js +64 -43
  430. package/lib/components/col/src/col2.js.map +1 -1
  431. package/lib/components/collapse/index.js +4 -4
  432. package/lib/components/collapse/src/collapse-item.js +95 -18
  433. package/lib/components/collapse/src/collapse-item.js.map +1 -1
  434. package/lib/components/collapse/src/collapse-item2.js +18 -95
  435. package/lib/components/collapse/src/collapse-item2.js.map +1 -1
  436. package/lib/components/collapse/src/collapse.js +25 -28
  437. package/lib/components/collapse/src/collapse.js.map +1 -1
  438. package/lib/components/collapse/src/collapse2.js +28 -25
  439. package/lib/components/collapse/src/collapse2.js.map +1 -1
  440. package/lib/components/color-picker/index.js +2 -2
  441. package/lib/components/color-picker/src/color-picker.js +50 -399
  442. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  443. package/lib/components/color-picker/src/color-picker2.js +399 -50
  444. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  445. package/lib/components/color-picker/src/components/predefine.js +1 -1
  446. package/lib/components/form/index.js +2 -2
  447. package/lib/components/form/src/form-item.js +48 -326
  448. package/lib/components/form/src/form-item.js.map +1 -1
  449. package/lib/components/form/src/form-item2.js +326 -48
  450. package/lib/components/form/src/form-item2.js.map +1 -1
  451. package/lib/components/index.js +18 -18
  452. package/lib/components/input-tag/index.js +2 -2
  453. package/lib/components/input-tag/src/input-tag.js +214 -70
  454. package/lib/components/input-tag/src/input-tag.js.map +1 -1
  455. package/lib/components/input-tag/src/input-tag2.js +70 -214
  456. package/lib/components/input-tag/src/input-tag2.js.map +1 -1
  457. package/lib/components/mention/index.js +2 -2
  458. package/lib/components/mention/src/mention.js +283 -64
  459. package/lib/components/mention/src/mention.js.map +1 -1
  460. package/lib/components/mention/src/mention2.js +64 -283
  461. package/lib/components/mention/src/mention2.js.map +1 -1
  462. package/lib/components/page-header/index.js +2 -2
  463. package/lib/components/page-header/src/page-header.js +97 -17
  464. package/lib/components/page-header/src/page-header.js.map +1 -1
  465. package/lib/components/page-header/src/page-header2.js +17 -97
  466. package/lib/components/page-header/src/page-header2.js.map +1 -1
  467. package/lib/components/pagination/src/components/sizes.js +23 -71
  468. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  469. package/lib/components/pagination/src/components/sizes2.js +71 -23
  470. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  471. package/lib/components/pagination/src/components/total.js +6 -26
  472. package/lib/components/pagination/src/components/total.js.map +1 -1
  473. package/lib/components/pagination/src/components/total2.js +26 -6
  474. package/lib/components/pagination/src/components/total2.js.map +1 -1
  475. package/lib/components/pagination/src/pagination.js +2 -2
  476. package/lib/components/radio/index.js +2 -2
  477. package/lib/components/radio/src/radio-group.js +35 -65
  478. package/lib/components/radio/src/radio-group.js.map +1 -1
  479. package/lib/components/radio/src/radio-group2.js +65 -35
  480. package/lib/components/radio/src/radio-group2.js.map +1 -1
  481. package/lib/components/scrollbar/index.js +1 -1
  482. package/lib/components/scrollbar/src/bar2.js +1 -1
  483. package/lib/components/scrollbar/src/thumb.js +11 -139
  484. package/lib/components/scrollbar/src/thumb.js.map +1 -1
  485. package/lib/components/scrollbar/src/thumb2.js +139 -11
  486. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  487. package/lib/components/splitter/index.js +2 -2
  488. package/lib/components/splitter/src/split-bar.js +5 -4
  489. package/lib/components/splitter/src/split-bar.js.map +1 -1
  490. package/lib/components/splitter/src/splitter.js +7 -80
  491. package/lib/components/splitter/src/splitter.js.map +1 -1
  492. package/lib/components/splitter/src/splitter2.js +80 -7
  493. package/lib/components/splitter/src/splitter2.js.map +1 -1
  494. package/lib/components/table/src/table-header/index.js +1 -1
  495. package/lib/components/table/src/table-header/index.js.map +1 -1
  496. package/lib/components/tooltip-v2/src/content2.js +1 -1
  497. package/lib/components/upload/index.js +4 -4
  498. package/lib/components/upload/src/upload-content.js +195 -32
  499. package/lib/components/upload/src/upload-content.js.map +1 -1
  500. package/lib/components/upload/src/upload-content2.js +32 -195
  501. package/lib/components/upload/src/upload-content2.js.map +1 -1
  502. package/lib/components/upload/src/upload-list.js +173 -26
  503. package/lib/components/upload/src/upload-list.js.map +1 -1
  504. package/lib/components/upload/src/upload-list2.js +26 -173
  505. package/lib/components/upload/src/upload-list2.js.map +1 -1
  506. package/lib/components/upload/src/upload.js +125 -100
  507. package/lib/components/upload/src/upload.js.map +1 -1
  508. package/lib/components/upload/src/upload2.js +100 -125
  509. package/lib/components/upload/src/upload2.js.map +1 -1
  510. package/lib/components/upload/src/use-handlers.js +1 -1
  511. package/lib/components/visual-hidden/index.js +2 -2
  512. package/lib/components/visual-hidden/src/visual-hidden.js +35 -6
  513. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -1
  514. package/lib/components/visual-hidden/src/visual-hidden2.js +6 -35
  515. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  516. package/lib/index.d.ts +8 -0
  517. package/lib/index.js +18 -18
  518. package/lib/version.d.ts +1 -1
  519. package/lib/version.js +1 -1
  520. package/lib/version.js.map +1 -1
  521. package/package.json +2 -2
  522. package/tags.json +1 -1
  523. package/theme-chalk/el-tabs.css +1 -1
  524. package/theme-chalk/index.css +1 -1
  525. package/theme-chalk/src/tabs.scss +2 -5
  526. package/web-types.json +1 -1
@@ -1,24 +1,56 @@
1
- const backtopProps = {
2
- visibilityHeight: {
3
- type: Number,
4
- default: 200
5
- },
6
- target: {
7
- type: String,
8
- default: ""
9
- },
10
- right: {
11
- type: Number,
12
- default: 40
13
- },
14
- bottom: {
15
- type: Number,
16
- default: 40
1
+ import { defineComponent, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeStyle, normalizeClass, withModifiers, renderSlot, createVNode, createCommentVNode } from 'vue';
2
+ import { ElIcon } from '../../icon/index.mjs';
3
+ import { CaretTop } from '@element-plus/icons-vue';
4
+ import { backtopProps, backtopEmits } from './backtop2.mjs';
5
+ import { useBackTop } from './use-backtop.mjs';
6
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
7
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
8
+
9
+ const COMPONENT_NAME = "ElBacktop";
10
+ const __default__ = defineComponent({
11
+ name: COMPONENT_NAME
12
+ });
13
+ const _sfc_main = /* @__PURE__ */ defineComponent({
14
+ ...__default__,
15
+ props: backtopProps,
16
+ emits: backtopEmits,
17
+ setup(__props, { emit }) {
18
+ const props = __props;
19
+ const ns = useNamespace("backtop");
20
+ const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME);
21
+ const backTopStyle = computed(() => ({
22
+ right: `${props.right}px`,
23
+ bottom: `${props.bottom}px`
24
+ }));
25
+ return (_ctx, _cache) => {
26
+ return openBlock(), createBlock(Transition, {
27
+ name: `${unref(ns).namespace.value}-fade-in`
28
+ }, {
29
+ default: withCtx(() => [
30
+ unref(visible) ? (openBlock(), createElementBlock("div", {
31
+ key: 0,
32
+ style: normalizeStyle(unref(backTopStyle)),
33
+ class: normalizeClass(unref(ns).b()),
34
+ onClick: withModifiers(unref(handleClick), ["stop"])
35
+ }, [
36
+ renderSlot(_ctx.$slots, "default", {}, () => [
37
+ createVNode(unref(ElIcon), {
38
+ class: normalizeClass(unref(ns).e("icon"))
39
+ }, {
40
+ default: withCtx(() => [
41
+ createVNode(unref(CaretTop))
42
+ ]),
43
+ _: 1
44
+ }, 8, ["class"])
45
+ ])
46
+ ], 14, ["onClick"])) : createCommentVNode("v-if", true)
47
+ ]),
48
+ _: 3
49
+ }, 8, ["name"]);
50
+ };
17
51
  }
18
- };
19
- const backtopEmits = {
20
- click: (evt) => evt instanceof MouseEvent
21
- };
52
+ });
53
+ var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "backtop.vue"]]);
22
54
 
23
- export { backtopEmits, backtopProps };
55
+ export { Backtop as default };
24
56
  //# sourceMappingURL=backtop.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"backtop.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\nexport type BacktopPropsPublic = __ExtractPublicPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":"AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;"}
1
+ {"version":3,"file":"backtop.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.vue"],"sourcesContent":["<template>\n <transition :name=\"`${ns.namespace.value}-fade-in`\">\n <div\n v-if=\"visible\"\n :style=\"backTopStyle\"\n :class=\"ns.b()\"\n @click.stop=\"handleClick\"\n >\n <slot>\n <el-icon :class=\"ns.e('icon')\"><caret-top /></el-icon>\n </slot>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { CaretTop } from '@element-plus/icons-vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { backtopEmits, backtopProps } from './backtop'\nimport { useBackTop } from './use-backtop'\n\nconst COMPONENT_NAME = 'ElBacktop'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(backtopProps)\nconst emit = defineEmits(backtopEmits)\n\nconst ns = useNamespace('backtop')\n\nconst { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME)\n\nconst backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`,\n}))\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAyBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAK,aAAa,SAAS,CAAA,CAAA;AAEjC,IAAA,MAAM,EAAE,WAAa,EAAA,OAAA,KAAY,UAAW,CAAA,KAAA,EAAO,MAAM,cAAc,CAAA,CAAA;AAEvE,IAAM,MAAA,YAAA,GAAe,SAAS,OAAO;AAAA,MACnC,KAAA,EAAO,CAAG,EAAA,KAAA,CAAM,KAAK,CAAA,EAAA,CAAA;AAAA,MACrB,MAAA,EAAQ,CAAG,EAAA,KAAA,CAAM,MAAM,CAAA,EAAA,CAAA;AAAA,KACvB,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,56 +1,24 @@
1
- import { defineComponent, computed, openBlock, createBlock, Transition, unref, withCtx, createElementBlock, normalizeStyle, normalizeClass, withModifiers, renderSlot, createVNode, createCommentVNode } from 'vue';
2
- import { ElIcon } from '../../icon/index.mjs';
3
- import { CaretTop } from '@element-plus/icons-vue';
4
- import { backtopProps, backtopEmits } from './backtop.mjs';
5
- import { useBackTop } from './use-backtop.mjs';
6
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
7
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
8
-
9
- const COMPONENT_NAME = "ElBacktop";
10
- const __default__ = defineComponent({
11
- name: COMPONENT_NAME
12
- });
13
- const _sfc_main = /* @__PURE__ */ defineComponent({
14
- ...__default__,
15
- props: backtopProps,
16
- emits: backtopEmits,
17
- setup(__props, { emit }) {
18
- const props = __props;
19
- const ns = useNamespace("backtop");
20
- const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME);
21
- const backTopStyle = computed(() => ({
22
- right: `${props.right}px`,
23
- bottom: `${props.bottom}px`
24
- }));
25
- return (_ctx, _cache) => {
26
- return openBlock(), createBlock(Transition, {
27
- name: `${unref(ns).namespace.value}-fade-in`
28
- }, {
29
- default: withCtx(() => [
30
- unref(visible) ? (openBlock(), createElementBlock("div", {
31
- key: 0,
32
- style: normalizeStyle(unref(backTopStyle)),
33
- class: normalizeClass(unref(ns).b()),
34
- onClick: withModifiers(unref(handleClick), ["stop"])
35
- }, [
36
- renderSlot(_ctx.$slots, "default", {}, () => [
37
- createVNode(unref(ElIcon), {
38
- class: normalizeClass(unref(ns).e("icon"))
39
- }, {
40
- default: withCtx(() => [
41
- createVNode(unref(CaretTop))
42
- ]),
43
- _: 1
44
- }, 8, ["class"])
45
- ])
46
- ], 14, ["onClick"])) : createCommentVNode("v-if", true)
47
- ]),
48
- _: 3
49
- }, 8, ["name"]);
50
- };
1
+ const backtopProps = {
2
+ visibilityHeight: {
3
+ type: Number,
4
+ default: 200
5
+ },
6
+ target: {
7
+ type: String,
8
+ default: ""
9
+ },
10
+ right: {
11
+ type: Number,
12
+ default: 40
13
+ },
14
+ bottom: {
15
+ type: Number,
16
+ default: 40
51
17
  }
52
- });
53
- var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "backtop.vue"]]);
18
+ };
19
+ const backtopEmits = {
20
+ click: (evt) => evt instanceof MouseEvent
21
+ };
54
22
 
55
- export { Backtop as default };
23
+ export { backtopEmits, backtopProps };
56
24
  //# sourceMappingURL=backtop2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"backtop2.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.vue"],"sourcesContent":["<template>\n <transition :name=\"`${ns.namespace.value}-fade-in`\">\n <div\n v-if=\"visible\"\n :style=\"backTopStyle\"\n :class=\"ns.b()\"\n @click.stop=\"handleClick\"\n >\n <slot>\n <el-icon :class=\"ns.e('icon')\"><caret-top /></el-icon>\n </slot>\n </div>\n </transition>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { CaretTop } from '@element-plus/icons-vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { backtopEmits, backtopProps } from './backtop'\nimport { useBackTop } from './use-backtop'\n\nconst COMPONENT_NAME = 'ElBacktop'\n\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(backtopProps)\nconst emit = defineEmits(backtopEmits)\n\nconst ns = useNamespace('backtop')\n\nconst { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME)\n\nconst backTopStyle = computed(() => ({\n right: `${props.right}px`,\n bottom: `${props.bottom}px`,\n}))\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAyBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAM,MAAA,EAAA,GAAK,aAAa,SAAS,CAAA,CAAA;AAEjC,IAAA,MAAM,EAAE,WAAa,EAAA,OAAA,KAAY,UAAW,CAAA,KAAA,EAAO,MAAM,cAAc,CAAA,CAAA;AAEvE,IAAM,MAAA,YAAA,GAAe,SAAS,OAAO;AAAA,MACnC,KAAA,EAAO,CAAG,EAAA,KAAA,CAAM,KAAK,CAAA,EAAA,CAAA;AAAA,MACrB,MAAA,EAAQ,CAAG,EAAA,KAAA,CAAM,MAAM,CAAA,EAAA,CAAA;AAAA,KACvB,CAAA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"backtop2.mjs","sources":["../../../../../../packages/components/backtop/src/backtop.ts"],"sourcesContent":["import type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const backtopProps = {\n /**\n * @description the button will not show until the scroll height reaches this value.\n */\n visibilityHeight: {\n type: Number,\n default: 200,\n },\n /**\n * @description the target to trigger scroll.\n */\n target: {\n type: String,\n default: '',\n },\n /**\n * @description right distance.\n */\n right: {\n type: Number,\n default: 40,\n },\n /**\n * @description bottom distance.\n */\n bottom: {\n type: Number,\n default: 40,\n },\n} as const\nexport type BacktopProps = ExtractPropTypes<typeof backtopProps>\nexport type BacktopPropsPublic = __ExtractPublicPropTypes<typeof backtopProps>\n\nexport const backtopEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\nexport type BacktopEmits = typeof backtopEmits\n"],"names":[],"mappings":"AAAY,MAAC,YAAY,GAAG;AAC5B,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE;AACU,MAAC,YAAY,GAAG;AAC5B,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;"}
@@ -1,6 +1,6 @@
1
- import Breadcrumb from './src/breadcrumb.mjs';
1
+ import Breadcrumb from './src/breadcrumb2.mjs';
2
2
  import BreadcrumbItem from './src/breadcrumb-item2.mjs';
3
- export { breadcrumbProps } from './src/breadcrumb2.mjs';
3
+ export { breadcrumbProps } from './src/breadcrumb.mjs';
4
4
  export { breadcrumbItemProps } from './src/breadcrumb-item.mjs';
5
5
  export { breadcrumbKey } from './src/constants.mjs';
6
6
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
@@ -1,42 +1,15 @@
1
- import { defineComponent, ref, provide, onMounted, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';
2
- import { breadcrumbKey } from './constants.mjs';
3
- import { breadcrumbProps } from './breadcrumb2.mjs';
4
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
5
- import { useLocale } from '../../../hooks/use-locale/index.mjs';
6
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
1
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
2
+ import { iconPropType } from '../../../utils/vue/icon.mjs';
7
3
 
8
- const __default__ = defineComponent({
9
- name: "ElBreadcrumb"
10
- });
11
- const _sfc_main = /* @__PURE__ */ defineComponent({
12
- ...__default__,
13
- props: breadcrumbProps,
14
- setup(__props) {
15
- const props = __props;
16
- const { t } = useLocale();
17
- const ns = useNamespace("breadcrumb");
18
- const breadcrumb = ref();
19
- provide(breadcrumbKey, props);
20
- onMounted(() => {
21
- const items = breadcrumb.value.querySelectorAll(`.${ns.e("item")}`);
22
- if (items.length) {
23
- items[items.length - 1].setAttribute("aria-current", "page");
24
- }
25
- });
26
- return (_ctx, _cache) => {
27
- return openBlock(), createElementBlock("div", {
28
- ref_key: "breadcrumb",
29
- ref: breadcrumb,
30
- class: normalizeClass(unref(ns).b()),
31
- "aria-label": unref(t)("el.breadcrumb.label"),
32
- role: "navigation"
33
- }, [
34
- renderSlot(_ctx.$slots, "default")
35
- ], 10, ["aria-label"]);
36
- };
4
+ const breadcrumbProps = buildProps({
5
+ separator: {
6
+ type: String,
7
+ default: "/"
8
+ },
9
+ separatorIcon: {
10
+ type: iconPropType
37
11
  }
38
12
  });
39
- var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "breadcrumb.vue"]]);
40
13
 
41
- export { Breadcrumb as default };
14
+ export { breadcrumbProps };
42
15
  //# sourceMappingURL=breadcrumb.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb.mjs","sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb.vue"],"sourcesContent":["<template>\n <div\n ref=\"breadcrumb\"\n :class=\"ns.b()\"\n :aria-label=\"t('el.breadcrumb.label')\"\n role=\"navigation\"\n >\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { onMounted, provide, ref } from 'vue'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { breadcrumbKey } from './constants'\nimport { breadcrumbProps } from './breadcrumb'\n\ndefineOptions({\n name: 'ElBreadcrumb',\n})\n\nconst { t } = useLocale()\nconst props = defineProps(breadcrumbProps)\n\nconst ns = useNamespace('breadcrumb')\nconst breadcrumb = ref<HTMLDivElement>()\n\nprovide(breadcrumbKey, props)\n\nonMounted(() => {\n const items = breadcrumb.value!.querySelectorAll(`.${ns.e('item')}`)\n if (items.length) {\n items[items.length - 1].setAttribute('aria-current', 'page')\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;mCAiBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAEA,IAAM,MAAA,EAAE,CAAE,EAAA,GAAI,SAAU,EAAA,CAAA;AAGxB,IAAM,MAAA,EAAA,GAAK,aAAa,YAAY,CAAA,CAAA;AACpC,IAAA,MAAM,aAAa,GAAoB,EAAA,CAAA;AAEvC,IAAA,OAAA,CAAQ,eAAe,KAAK,CAAA,CAAA;AAE5B,IAAA,SAAA,CAAU,MAAM;AACd,MAAM,MAAA,KAAA,GAAQ,WAAW,KAAO,CAAA,gBAAA,CAAiB,IAAI,EAAG,CAAA,CAAA,CAAE,MAAM,CAAC,CAAE,CAAA,CAAA,CAAA;AACnE,MAAA,IAAI,MAAM,MAAQ,EAAA;AAChB,QAAA,KAAA,CAAM,MAAM,MAAS,GAAA,CAAC,CAAE,CAAA,YAAA,CAAa,gBAAgB,MAAM,CAAA,CAAA;AAAA,OAC7D;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"breadcrumb.mjs","sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const breadcrumbProps = buildProps({\n /**\n * @description separator character\n */\n separator: {\n type: String,\n default: '/',\n },\n /**\n * @description icon component of icon separator\n */\n separatorIcon: {\n type: iconPropType,\n },\n} as const)\nexport type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>\nexport type BreadcrumbPropsPublic = __ExtractPublicPropTypes<\n typeof breadcrumbProps\n>\n"],"names":[],"mappings":";;;AACY,MAAC,eAAe,GAAG,UAAU,CAAC;AAC1C,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,CAAC;;;;"}
@@ -1,15 +1,42 @@
1
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
2
- import { iconPropType } from '../../../utils/vue/icon.mjs';
1
+ import { defineComponent, ref, provide, onMounted, openBlock, createElementBlock, normalizeClass, unref, renderSlot } from 'vue';
2
+ import { breadcrumbKey } from './constants.mjs';
3
+ import { breadcrumbProps } from './breadcrumb.mjs';
4
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
5
+ import { useLocale } from '../../../hooks/use-locale/index.mjs';
6
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
3
7
 
4
- const breadcrumbProps = buildProps({
5
- separator: {
6
- type: String,
7
- default: "/"
8
- },
9
- separatorIcon: {
10
- type: iconPropType
8
+ const __default__ = defineComponent({
9
+ name: "ElBreadcrumb"
10
+ });
11
+ const _sfc_main = /* @__PURE__ */ defineComponent({
12
+ ...__default__,
13
+ props: breadcrumbProps,
14
+ setup(__props) {
15
+ const props = __props;
16
+ const { t } = useLocale();
17
+ const ns = useNamespace("breadcrumb");
18
+ const breadcrumb = ref();
19
+ provide(breadcrumbKey, props);
20
+ onMounted(() => {
21
+ const items = breadcrumb.value.querySelectorAll(`.${ns.e("item")}`);
22
+ if (items.length) {
23
+ items[items.length - 1].setAttribute("aria-current", "page");
24
+ }
25
+ });
26
+ return (_ctx, _cache) => {
27
+ return openBlock(), createElementBlock("div", {
28
+ ref_key: "breadcrumb",
29
+ ref: breadcrumb,
30
+ class: normalizeClass(unref(ns).b()),
31
+ "aria-label": unref(t)("el.breadcrumb.label"),
32
+ role: "navigation"
33
+ }, [
34
+ renderSlot(_ctx.$slots, "default")
35
+ ], 10, ["aria-label"]);
36
+ };
11
37
  }
12
38
  });
39
+ var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "breadcrumb.vue"]]);
13
40
 
14
- export { breadcrumbProps };
41
+ export { Breadcrumb as default };
15
42
  //# sourceMappingURL=breadcrumb2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"breadcrumb2.mjs","sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\n\nexport const breadcrumbProps = buildProps({\n /**\n * @description separator character\n */\n separator: {\n type: String,\n default: '/',\n },\n /**\n * @description icon component of icon separator\n */\n separatorIcon: {\n type: iconPropType,\n },\n} as const)\nexport type BreadcrumbProps = ExtractPropTypes<typeof breadcrumbProps>\nexport type BreadcrumbPropsPublic = __ExtractPublicPropTypes<\n typeof breadcrumbProps\n>\n"],"names":[],"mappings":";;;AACY,MAAC,eAAe,GAAG,UAAU,CAAC;AAC1C,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,aAAa,EAAE;AACjB,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"breadcrumb2.mjs","sources":["../../../../../../packages/components/breadcrumb/src/breadcrumb.vue"],"sourcesContent":["<template>\n <div\n ref=\"breadcrumb\"\n :class=\"ns.b()\"\n :aria-label=\"t('el.breadcrumb.label')\"\n role=\"navigation\"\n >\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { onMounted, provide, ref } from 'vue'\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { breadcrumbKey } from './constants'\nimport { breadcrumbProps } from './breadcrumb'\n\ndefineOptions({\n name: 'ElBreadcrumb',\n})\n\nconst { t } = useLocale()\nconst props = defineProps(breadcrumbProps)\n\nconst ns = useNamespace('breadcrumb')\nconst breadcrumb = ref<HTMLDivElement>()\n\nprovide(breadcrumbKey, props)\n\nonMounted(() => {\n const items = breadcrumb.value!.querySelectorAll(`.${ns.e('item')}`)\n if (items.length) {\n items[items.length - 1].setAttribute('aria-current', 'page')\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;mCAiBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAEA,IAAM,MAAA,EAAE,CAAE,EAAA,GAAI,SAAU,EAAA,CAAA;AAGxB,IAAM,MAAA,EAAA,GAAK,aAAa,YAAY,CAAA,CAAA;AACpC,IAAA,MAAM,aAAa,GAAoB,EAAA,CAAA;AAEvC,IAAA,OAAA,CAAQ,eAAe,KAAK,CAAA,CAAA;AAE5B,IAAA,SAAA,CAAU,MAAM;AACd,MAAM,MAAA,KAAA,GAAQ,WAAW,KAAO,CAAA,gBAAA,CAAiB,IAAI,EAAG,CAAA,CAAA,CAAE,MAAM,CAAC,CAAE,CAAA,CAAA,CAAA;AACnE,MAAA,IAAI,MAAM,MAAQ,EAAA;AAChB,QAAA,KAAA,CAAM,MAAM,MAAS,GAAA,CAAC,CAAE,CAAA,YAAA,CAAa,gBAAgB,MAAM,CAAA,CAAA;AAAA,OAC7D;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import Card from './src/card.mjs';
2
- export { cardProps } from './src/card2.mjs';
1
+ import Card from './src/card2.mjs';
2
+ export { cardProps } from './src/card.mjs';
3
3
  import { withInstall } from '../../utils/vue/install.mjs';
4
4
 
5
5
  const ElCard = withInstall(Card);
@@ -1,47 +1,27 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
2
- import { cardProps } from './card2.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 __default__ = defineComponent({
7
- name: "ElCard"
8
- });
9
- const _sfc_main = /* @__PURE__ */ defineComponent({
10
- ...__default__,
11
- props: cardProps,
12
- setup(__props) {
13
- const ns = useNamespace("card");
14
- return (_ctx, _cache) => {
15
- return openBlock(), createElementBlock("div", {
16
- class: normalizeClass([unref(ns).b(), unref(ns).is(`${_ctx.shadow}-shadow`)])
17
- }, [
18
- _ctx.$slots.header || _ctx.header ? (openBlock(), createElementBlock("div", {
19
- key: 0,
20
- class: normalizeClass([unref(ns).e("header"), _ctx.headerClass])
21
- }, [
22
- renderSlot(_ctx.$slots, "header", {}, () => [
23
- createTextVNode(toDisplayString(_ctx.header), 1)
24
- ])
25
- ], 2)) : createCommentVNode("v-if", true),
26
- createElementVNode("div", {
27
- class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass]),
28
- style: normalizeStyle(_ctx.bodyStyle)
29
- }, [
30
- renderSlot(_ctx.$slots, "default")
31
- ], 6),
32
- _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", {
33
- key: 1,
34
- class: normalizeClass([unref(ns).e("footer"), _ctx.footerClass])
35
- }, [
36
- renderSlot(_ctx.$slots, "footer", {}, () => [
37
- createTextVNode(toDisplayString(_ctx.footer), 1)
38
- ])
39
- ], 2)) : createCommentVNode("v-if", true)
40
- ], 2);
41
- };
3
+ const cardProps = buildProps({
4
+ header: {
5
+ type: String,
6
+ default: ""
7
+ },
8
+ footer: {
9
+ type: String,
10
+ default: ""
11
+ },
12
+ bodyStyle: {
13
+ type: definePropType([String, Object, Array]),
14
+ default: ""
15
+ },
16
+ headerClass: String,
17
+ bodyClass: String,
18
+ footerClass: String,
19
+ shadow: {
20
+ type: String,
21
+ values: ["always", "hover", "never"],
22
+ default: "always"
42
23
  }
43
24
  });
44
- var Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "card.vue"]]);
45
25
 
46
- export { Card as default };
26
+ export { cardProps };
47
27
  //# sourceMappingURL=card.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"card.mjs","sources":["../../../../../../packages/components/card/src/card.vue"],"sourcesContent":["<template>\n <div :class=\"[ns.b(), ns.is(`${shadow}-shadow`)]\">\n <div v-if=\"$slots.header || header\" :class=\"[ns.e('header'), headerClass]\">\n <slot name=\"header\">{{ header }}</slot>\n </div>\n <div :class=\"[ns.e('body'), bodyClass]\" :style=\"bodyStyle\">\n <slot />\n </div>\n <div v-if=\"$slots.footer || footer\" :class=\"[ns.e('footer'), footerClass]\">\n <slot name=\"footer\">{{ footer }}</slot>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@element-plus/hooks'\nimport { cardProps } from './card'\n\ndefineOptions({\n name: 'ElCard',\n})\n\ndefineProps(cardProps)\n\nconst ns = useNamespace('card')\n</script>\n"],"names":[],"mappings":";;;;;mCAkBc,CAAA;AAAA,EACZ,IAAM,EAAA,QAAA;AACR,CAAA,CAAA,CAAA;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,MAAM,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"card.mjs","sources":["../../../../../../packages/components/card/src/card.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type {\n ExtractPropTypes,\n StyleValue,\n __ExtractPublicPropTypes,\n} from 'vue'\n\nexport const cardProps = buildProps({\n /**\n * @description title of the card. Also accepts a DOM passed by `slot#header`\n */\n header: {\n type: String,\n default: '',\n },\n footer: {\n type: String,\n default: '',\n },\n /**\n * @description CSS style of card body\n */\n bodyStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n default: '',\n },\n /**\n * @description custom class name of card footer\n */\n headerClass: String,\n /**\n * @description custom class name of card body\n */\n bodyClass: String,\n /**\n * @description custom class name of card footer\n */\n footerClass: String,\n /**\n * @description when to show card shadows\n */\n shadow: {\n type: String,\n values: ['always', 'hover', 'never'],\n default: 'always',\n },\n} as const)\nexport type CardProps = ExtractPropTypes<typeof cardProps>\nexport type CardPropsPublic = __ExtractPublicPropTypes<typeof cardProps>\n"],"names":[],"mappings":";;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC;AACxC,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,CAAC;;;;"}
@@ -1,27 +1,47 @@
1
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
1
+ import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
2
+ import { cardProps } from './card.mjs';
3
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
4
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
2
5
 
3
- const cardProps = buildProps({
4
- header: {
5
- type: String,
6
- default: ""
7
- },
8
- footer: {
9
- type: String,
10
- default: ""
11
- },
12
- bodyStyle: {
13
- type: definePropType([String, Object, Array]),
14
- default: ""
15
- },
16
- headerClass: String,
17
- bodyClass: String,
18
- footerClass: String,
19
- shadow: {
20
- type: String,
21
- values: ["always", "hover", "never"],
22
- default: "always"
6
+ const __default__ = defineComponent({
7
+ name: "ElCard"
8
+ });
9
+ const _sfc_main = /* @__PURE__ */ defineComponent({
10
+ ...__default__,
11
+ props: cardProps,
12
+ setup(__props) {
13
+ const ns = useNamespace("card");
14
+ return (_ctx, _cache) => {
15
+ return openBlock(), createElementBlock("div", {
16
+ class: normalizeClass([unref(ns).b(), unref(ns).is(`${_ctx.shadow}-shadow`)])
17
+ }, [
18
+ _ctx.$slots.header || _ctx.header ? (openBlock(), createElementBlock("div", {
19
+ key: 0,
20
+ class: normalizeClass([unref(ns).e("header"), _ctx.headerClass])
21
+ }, [
22
+ renderSlot(_ctx.$slots, "header", {}, () => [
23
+ createTextVNode(toDisplayString(_ctx.header), 1)
24
+ ])
25
+ ], 2)) : createCommentVNode("v-if", true),
26
+ createElementVNode("div", {
27
+ class: normalizeClass([unref(ns).e("body"), _ctx.bodyClass]),
28
+ style: normalizeStyle(_ctx.bodyStyle)
29
+ }, [
30
+ renderSlot(_ctx.$slots, "default")
31
+ ], 6),
32
+ _ctx.$slots.footer || _ctx.footer ? (openBlock(), createElementBlock("div", {
33
+ key: 1,
34
+ class: normalizeClass([unref(ns).e("footer"), _ctx.footerClass])
35
+ }, [
36
+ renderSlot(_ctx.$slots, "footer", {}, () => [
37
+ createTextVNode(toDisplayString(_ctx.footer), 1)
38
+ ])
39
+ ], 2)) : createCommentVNode("v-if", true)
40
+ ], 2);
41
+ };
23
42
  }
24
43
  });
44
+ var Card = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "card.vue"]]);
25
45
 
26
- export { cardProps };
46
+ export { Card as default };
27
47
  //# sourceMappingURL=card2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"card2.mjs","sources":["../../../../../../packages/components/card/src/card.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type {\n ExtractPropTypes,\n StyleValue,\n __ExtractPublicPropTypes,\n} from 'vue'\n\nexport const cardProps = buildProps({\n /**\n * @description title of the card. Also accepts a DOM passed by `slot#header`\n */\n header: {\n type: String,\n default: '',\n },\n footer: {\n type: String,\n default: '',\n },\n /**\n * @description CSS style of card body\n */\n bodyStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n default: '',\n },\n /**\n * @description custom class name of card footer\n */\n headerClass: String,\n /**\n * @description custom class name of card body\n */\n bodyClass: String,\n /**\n * @description custom class name of card footer\n */\n footerClass: String,\n /**\n * @description when to show card shadows\n */\n shadow: {\n type: String,\n values: ['always', 'hover', 'never'],\n default: 'always',\n },\n} as const)\nexport type CardProps = ExtractPropTypes<typeof cardProps>\nexport type CardPropsPublic = __ExtractPublicPropTypes<typeof cardProps>\n"],"names":[],"mappings":";;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,SAAS,EAAE,MAAM;AACnB,EAAE,WAAW,EAAE,MAAM;AACrB,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,MAAM,EAAE,CAAC,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC;AACxC,IAAI,OAAO,EAAE,QAAQ;AACrB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"card2.mjs","sources":["../../../../../../packages/components/card/src/card.vue"],"sourcesContent":["<template>\n <div :class=\"[ns.b(), ns.is(`${shadow}-shadow`)]\">\n <div v-if=\"$slots.header || header\" :class=\"[ns.e('header'), headerClass]\">\n <slot name=\"header\">{{ header }}</slot>\n </div>\n <div :class=\"[ns.e('body'), bodyClass]\" :style=\"bodyStyle\">\n <slot />\n </div>\n <div v-if=\"$slots.footer || footer\" :class=\"[ns.e('footer'), footerClass]\">\n <slot name=\"footer\">{{ footer }}</slot>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useNamespace } from '@element-plus/hooks'\nimport { cardProps } from './card'\n\ndefineOptions({\n name: 'ElCard',\n})\n\ndefineProps(cardProps)\n\nconst ns = useNamespace('card')\n</script>\n"],"names":[],"mappings":";;;;;mCAkBc,CAAA;AAAA,EACZ,IAAM,EAAA,QAAA;AACR,CAAA,CAAA,CAAA;;;;;AAIA,IAAM,MAAA,EAAA,GAAK,aAAa,MAAM,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
- import Cascader from './src/cascader.mjs';
2
- export { cascaderEmits, cascaderProps } from './src/cascader2.mjs';
1
+ import Cascader from './src/cascader2.mjs';
2
+ export { cascaderEmits, cascaderProps } from './src/cascader.mjs';
3
3
  import { withInstall } from '../../utils/vue/install.mjs';
4
4
 
5
5
  const ElCascader = withInstall(Cascader);
@@ -1,5 +1,5 @@
1
1
  import type { CascaderNode, CascaderValue } from '@element-plus/nightly/es/components/cascader-panel';
2
- import type { Placement } from '@element-plus/nightly/es/components/popper';
2
+ import type { Placement, PopperEffect } from '@element-plus/nightly/es/components/popper';
3
3
  export declare const cascaderProps: {
4
4
  emptyValues: ArrayConstructor;
5
5
  valueOnClear: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, BooleanConstructor, FunctionConstructor], unknown, unknown, undefined, boolean>;
@@ -47,6 +47,7 @@ export declare const cascaderProps: {
47
47
  fallbackPlacements: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | ((new (...args: any[]) => Placement[]) | (() => Placement[]))[], unknown, unknown, string[], boolean>;
48
48
  popperClass: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
49
49
  teleported: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
50
+ effect: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | ((new (...args: any[]) => string) | (() => PopperEffect))[], unknown, unknown, string, boolean>;
50
51
  tagType: {
51
52
  default: string;
52
53
  type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
@@ -63,6 +64,7 @@ export declare const cascaderProps: {
63
64
  };
64
65
  validateEvent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
65
66
  persistent: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
67
+ showCheckedStrategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, string, unknown, string, boolean>;
66
68
  checkOnClickNode: BooleanConstructor;
67
69
  showPrefix: import("@element-plus/nightly/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
68
70
  modelValue: {