@element-plus/nightly 0.0.20240115 → 0.0.20240116

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 (542) hide show
  1. package/dist/index.full.js +61 -19
  2. package/dist/index.full.min.js +12 -12
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +13 -13
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +61 -19
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hr.js +1 -1
  92. package/dist/locale/hr.min.js +1 -1
  93. package/dist/locale/hr.min.mjs +1 -1
  94. package/dist/locale/hr.mjs +1 -1
  95. package/dist/locale/hu.js +1 -1
  96. package/dist/locale/hu.min.js +1 -1
  97. package/dist/locale/hu.min.mjs +1 -1
  98. package/dist/locale/hu.mjs +1 -1
  99. package/dist/locale/hy-am.js +1 -1
  100. package/dist/locale/hy-am.min.js +1 -1
  101. package/dist/locale/hy-am.min.mjs +1 -1
  102. package/dist/locale/hy-am.mjs +1 -1
  103. package/dist/locale/id.js +1 -1
  104. package/dist/locale/id.min.js +1 -1
  105. package/dist/locale/id.min.mjs +1 -1
  106. package/dist/locale/id.mjs +1 -1
  107. package/dist/locale/it.js +1 -1
  108. package/dist/locale/it.min.js +1 -1
  109. package/dist/locale/it.min.mjs +1 -1
  110. package/dist/locale/it.mjs +1 -1
  111. package/dist/locale/ja.js +1 -1
  112. package/dist/locale/ja.min.js +1 -1
  113. package/dist/locale/ja.min.mjs +1 -1
  114. package/dist/locale/ja.mjs +1 -1
  115. package/dist/locale/kk.js +1 -1
  116. package/dist/locale/kk.min.js +1 -1
  117. package/dist/locale/kk.min.mjs +1 -1
  118. package/dist/locale/kk.mjs +1 -1
  119. package/dist/locale/km.js +1 -1
  120. package/dist/locale/km.min.js +1 -1
  121. package/dist/locale/km.min.mjs +1 -1
  122. package/dist/locale/km.mjs +1 -1
  123. package/dist/locale/ko.js +1 -1
  124. package/dist/locale/ko.min.js +1 -1
  125. package/dist/locale/ko.min.mjs +1 -1
  126. package/dist/locale/ko.mjs +1 -1
  127. package/dist/locale/ku.js +1 -1
  128. package/dist/locale/ku.min.js +1 -1
  129. package/dist/locale/ku.min.mjs +1 -1
  130. package/dist/locale/ku.mjs +1 -1
  131. package/dist/locale/ky.js +1 -1
  132. package/dist/locale/ky.min.js +1 -1
  133. package/dist/locale/ky.min.mjs +1 -1
  134. package/dist/locale/ky.mjs +1 -1
  135. package/dist/locale/lt.js +1 -1
  136. package/dist/locale/lt.min.js +1 -1
  137. package/dist/locale/lt.min.mjs +1 -1
  138. package/dist/locale/lt.mjs +1 -1
  139. package/dist/locale/lv.js +1 -1
  140. package/dist/locale/lv.min.js +1 -1
  141. package/dist/locale/lv.min.mjs +1 -1
  142. package/dist/locale/lv.mjs +1 -1
  143. package/dist/locale/mg.js +1 -1
  144. package/dist/locale/mg.min.js +1 -1
  145. package/dist/locale/mg.min.mjs +1 -1
  146. package/dist/locale/mg.mjs +1 -1
  147. package/dist/locale/mn.js +1 -1
  148. package/dist/locale/mn.min.js +1 -1
  149. package/dist/locale/mn.min.mjs +1 -1
  150. package/dist/locale/mn.mjs +1 -1
  151. package/dist/locale/nb-no.js +1 -1
  152. package/dist/locale/nb-no.min.js +1 -1
  153. package/dist/locale/nb-no.min.mjs +1 -1
  154. package/dist/locale/nb-no.mjs +1 -1
  155. package/dist/locale/nl.js +1 -1
  156. package/dist/locale/nl.min.js +1 -1
  157. package/dist/locale/nl.min.mjs +1 -1
  158. package/dist/locale/nl.mjs +1 -1
  159. package/dist/locale/pa.js +1 -1
  160. package/dist/locale/pa.min.js +1 -1
  161. package/dist/locale/pa.min.mjs +1 -1
  162. package/dist/locale/pa.mjs +1 -1
  163. package/dist/locale/pl.js +1 -1
  164. package/dist/locale/pl.min.js +1 -1
  165. package/dist/locale/pl.min.mjs +1 -1
  166. package/dist/locale/pl.mjs +1 -1
  167. package/dist/locale/pt-br.js +1 -1
  168. package/dist/locale/pt-br.min.js +1 -1
  169. package/dist/locale/pt-br.min.mjs +1 -1
  170. package/dist/locale/pt-br.mjs +1 -1
  171. package/dist/locale/pt.js +1 -1
  172. package/dist/locale/pt.min.js +1 -1
  173. package/dist/locale/pt.min.mjs +1 -1
  174. package/dist/locale/pt.mjs +1 -1
  175. package/dist/locale/ro.js +1 -1
  176. package/dist/locale/ro.min.js +1 -1
  177. package/dist/locale/ro.min.mjs +1 -1
  178. package/dist/locale/ro.mjs +1 -1
  179. package/dist/locale/ru.js +1 -1
  180. package/dist/locale/ru.min.js +1 -1
  181. package/dist/locale/ru.min.mjs +1 -1
  182. package/dist/locale/ru.mjs +1 -1
  183. package/dist/locale/sk.js +1 -1
  184. package/dist/locale/sk.min.js +1 -1
  185. package/dist/locale/sk.min.mjs +1 -1
  186. package/dist/locale/sk.mjs +1 -1
  187. package/dist/locale/sl.js +1 -1
  188. package/dist/locale/sl.min.js +1 -1
  189. package/dist/locale/sl.min.mjs +1 -1
  190. package/dist/locale/sl.mjs +1 -1
  191. package/dist/locale/sr.js +1 -1
  192. package/dist/locale/sr.min.js +1 -1
  193. package/dist/locale/sr.min.mjs +1 -1
  194. package/dist/locale/sr.mjs +1 -1
  195. package/dist/locale/sv.js +1 -1
  196. package/dist/locale/sv.min.js +1 -1
  197. package/dist/locale/sv.min.mjs +1 -1
  198. package/dist/locale/sv.mjs +1 -1
  199. package/dist/locale/sw.js +1 -1
  200. package/dist/locale/sw.min.js +1 -1
  201. package/dist/locale/sw.min.mjs +1 -1
  202. package/dist/locale/sw.mjs +1 -1
  203. package/dist/locale/ta.js +1 -1
  204. package/dist/locale/ta.min.js +1 -1
  205. package/dist/locale/ta.min.mjs +1 -1
  206. package/dist/locale/ta.mjs +1 -1
  207. package/dist/locale/th.js +1 -1
  208. package/dist/locale/th.min.js +1 -1
  209. package/dist/locale/th.min.mjs +1 -1
  210. package/dist/locale/th.mjs +1 -1
  211. package/dist/locale/tk.js +1 -1
  212. package/dist/locale/tk.min.js +1 -1
  213. package/dist/locale/tk.min.mjs +1 -1
  214. package/dist/locale/tk.mjs +1 -1
  215. package/dist/locale/tr.js +1 -1
  216. package/dist/locale/tr.min.js +1 -1
  217. package/dist/locale/tr.min.mjs +1 -1
  218. package/dist/locale/tr.mjs +1 -1
  219. package/dist/locale/ug-cn.js +1 -1
  220. package/dist/locale/ug-cn.min.js +1 -1
  221. package/dist/locale/ug-cn.min.mjs +1 -1
  222. package/dist/locale/ug-cn.mjs +1 -1
  223. package/dist/locale/uk.js +1 -1
  224. package/dist/locale/uk.min.js +1 -1
  225. package/dist/locale/uk.min.mjs +1 -1
  226. package/dist/locale/uk.mjs +1 -1
  227. package/dist/locale/uz-uz.js +1 -1
  228. package/dist/locale/uz-uz.min.js +1 -1
  229. package/dist/locale/uz-uz.min.mjs +1 -1
  230. package/dist/locale/uz-uz.mjs +1 -1
  231. package/dist/locale/vi.js +1 -1
  232. package/dist/locale/vi.min.js +1 -1
  233. package/dist/locale/vi.min.mjs +1 -1
  234. package/dist/locale/vi.mjs +1 -1
  235. package/dist/locale/zh-cn.js +1 -1
  236. package/dist/locale/zh-cn.min.js +1 -1
  237. package/dist/locale/zh-cn.min.mjs +1 -1
  238. package/dist/locale/zh-cn.mjs +1 -1
  239. package/dist/locale/zh-tw.js +1 -1
  240. package/dist/locale/zh-tw.min.js +1 -1
  241. package/dist/locale/zh-tw.min.mjs +1 -1
  242. package/dist/locale/zh-tw.mjs +1 -1
  243. package/es/components/alert/index.d.ts +4 -4
  244. package/es/components/alert/src/alert.d.ts +1 -1
  245. package/es/components/alert/src/alert.vue.d.ts +4 -4
  246. package/es/components/autocomplete/index.d.ts +66 -66
  247. package/es/components/autocomplete/src/autocomplete.vue.d.ts +66 -66
  248. package/es/components/autocomplete/src/autocomplete2.mjs +2 -2
  249. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  250. package/es/components/button/index.d.ts +5 -5
  251. package/es/components/button/src/button.d.ts +1 -1
  252. package/es/components/button/src/button.vue.d.ts +5 -5
  253. package/es/components/button/src/use-button.d.ts +1 -1
  254. package/es/components/calendar/index.d.ts +5 -5
  255. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  256. package/es/components/carousel/index.d.ts +5 -5
  257. package/es/components/carousel/src/carousel.d.ts +1 -1
  258. package/es/components/carousel/src/carousel.vue.d.ts +5 -5
  259. package/es/components/cascader/index.d.ts +128 -128
  260. package/es/components/cascader/index.mjs +2 -2
  261. package/es/components/cascader/src/cascader.mjs +626 -65
  262. package/es/components/cascader/src/cascader.mjs.map +1 -1
  263. package/es/components/cascader/src/cascader.vue.d.ts +64 -64
  264. package/es/components/cascader/src/cascader2.mjs +65 -626
  265. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  266. package/es/components/cascader-panel/src/menu.mjs +3 -4
  267. package/es/components/cascader-panel/src/menu.mjs.map +1 -1
  268. package/es/components/checkbox/src/composables/use-checkbox-model.mjs +1 -1
  269. package/es/components/checkbox/src/composables/use-checkbox-model.mjs.map +1 -1
  270. package/es/components/color-picker/index.d.ts +38 -38
  271. package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
  272. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  273. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  274. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  275. package/es/components/descriptions/src/description2.mjs +1 -1
  276. package/es/components/descriptions/src/descriptions-row.mjs +7 -64
  277. package/es/components/descriptions/src/descriptions-row.mjs.map +1 -1
  278. package/es/components/descriptions/src/descriptions-row2.mjs +64 -7
  279. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  280. package/es/components/dialog/index.d.ts +1 -1
  281. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  282. package/es/components/dropdown/index.d.ts +14 -14
  283. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  284. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  285. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  286. package/es/components/dropdown/src/useDropdown.mjs +2 -2
  287. package/es/components/dropdown/src/useDropdown.mjs.map +1 -1
  288. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  289. package/es/components/form/index.d.ts +12 -12
  290. package/es/components/form/src/form-item.d.ts +1 -1
  291. package/es/components/form/src/form-item.vue.d.ts +5 -5
  292. package/es/components/icon/index.mjs +2 -2
  293. package/es/components/icon/src/icon.mjs +36 -8
  294. package/es/components/icon/src/icon.mjs.map +1 -1
  295. package/es/components/icon/src/icon2.mjs +8 -36
  296. package/es/components/icon/src/icon2.mjs.map +1 -1
  297. package/es/components/image/index.d.ts +1 -1
  298. package/es/components/image/src/image.vue.d.ts +1 -1
  299. package/es/components/index.mjs +5 -5
  300. package/es/components/input/index.d.ts +12 -12
  301. package/es/components/input/src/input.vue.d.ts +12 -12
  302. package/es/components/input-number/index.d.ts +45 -45
  303. package/es/components/input-number/src/input-number.vue.d.ts +45 -45
  304. package/es/components/menu/index.d.ts +3 -3
  305. package/es/components/menu/src/menu.d.ts +4 -4
  306. package/es/components/message/src/message.d.ts +1 -1
  307. package/es/components/message/src/message.vue.d.ts +4 -4
  308. package/es/components/notification/src/notification.d.ts +1 -1
  309. package/es/components/notification/src/notification.vue.d.ts +4 -4
  310. package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
  311. package/es/components/pagination/src/components/sizes.vue.d.ts +27 -27
  312. package/es/components/popconfirm/index.d.ts +23 -23
  313. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  314. package/es/components/popover/index.d.ts +18 -18
  315. package/es/components/popover/src/popover.vue.d.ts +18 -18
  316. package/es/components/popper/src/content.vue.d.ts +6 -6
  317. package/es/components/progress/index.mjs +2 -2
  318. package/es/components/progress/src/progress.mjs +59 -205
  319. package/es/components/progress/src/progress.mjs.map +1 -1
  320. package/es/components/progress/src/progress2.mjs +205 -59
  321. package/es/components/progress/src/progress2.mjs.map +1 -1
  322. package/es/components/result/index.d.ts +4 -4
  323. package/es/components/result/src/result.d.ts +1 -1
  324. package/es/components/result/src/result.vue.d.ts +4 -4
  325. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  326. package/es/components/select/index.d.ts +27 -27
  327. package/es/components/select/src/select.vue.d.ts +27 -27
  328. package/es/components/select/src/useSelect.d.ts +25 -25
  329. package/es/components/select-v2/index.d.ts +54 -54
  330. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  331. package/es/components/select-v2/src/select-dropdown.mjs +3 -3
  332. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  333. package/es/components/select-v2/src/select.mjs +25 -4
  334. package/es/components/select-v2/src/select.mjs.map +1 -1
  335. package/es/components/select-v2/src/select.vue.d.ts +27 -27
  336. package/es/components/select-v2/src/useSelect.d.ts +25 -25
  337. package/es/components/select-v2/src/useSelect.mjs +17 -0
  338. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  339. package/es/components/skeleton/index.mjs +2 -2
  340. package/es/components/skeleton/src/skeleton-item.mjs +23 -18
  341. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  342. package/es/components/skeleton/src/skeleton-item2.mjs +18 -23
  343. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  344. package/es/components/skeleton/src/skeleton2.mjs +1 -1
  345. package/es/components/slider/index.d.ts +75 -75
  346. package/es/components/slider/src/button.vue.d.ts +6 -6
  347. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  348. package/es/components/slider/src/slider.vue.d.ts +75 -75
  349. package/es/components/steps/index.d.ts +16 -16
  350. package/es/components/steps/src/item.d.ts +1 -1
  351. package/es/components/steps/src/item.vue.d.ts +4 -4
  352. package/es/components/steps/src/steps.d.ts +2 -2
  353. package/es/components/steps/src/steps.vue.d.ts +8 -8
  354. package/es/components/table/index.d.ts +1 -1
  355. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  356. package/es/components/table/src/table.vue.d.ts +1 -1
  357. package/es/components/tag/index.d.ts +1 -1
  358. package/es/components/tag/src/tag.vue.d.ts +1 -1
  359. package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
  360. package/es/components/time-select/index.d.ts +114 -114
  361. package/es/components/time-select/src/time-select.vue.d.ts +57 -57
  362. package/es/components/tooltip/index.d.ts +6 -6
  363. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  364. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  365. package/es/components/tooltip-v2/index.d.ts +4 -4
  366. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  367. package/es/components/tour/index.d.ts +11 -11
  368. package/es/components/tour/src/content.vue.d.ts +1 -1
  369. package/es/components/tour/src/step.vue.d.ts +5 -5
  370. package/es/components/tour/src/tour.vue.d.ts +1 -1
  371. package/es/components/transfer/index.d.ts +65 -65
  372. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  373. package/es/components/transfer/src/transfer.vue.d.ts +65 -65
  374. package/es/components/tree/src/model/tree-store.mjs +12 -5
  375. package/es/components/tree/src/model/tree-store.mjs.map +1 -1
  376. package/es/components/tree-v2/index.d.ts +1 -1
  377. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  378. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  379. package/es/components/upload/index.d.ts +5 -5
  380. package/es/components/upload/index.mjs +1 -1
  381. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  382. package/es/components/upload/src/upload-content2.mjs +1 -1
  383. package/es/components/upload/src/upload-dragger.mjs +72 -11
  384. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  385. package/es/components/upload/src/upload-dragger2.mjs +11 -72
  386. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  387. package/es/components/upload/src/upload.vue.d.ts +5 -5
  388. package/es/index.mjs +5 -5
  389. package/es/version.d.ts +1 -1
  390. package/es/version.mjs +1 -1
  391. package/es/version.mjs.map +1 -1
  392. package/lib/components/alert/index.d.ts +4 -4
  393. package/lib/components/alert/src/alert.d.ts +1 -1
  394. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  395. package/lib/components/autocomplete/index.d.ts +66 -66
  396. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +66 -66
  397. package/lib/components/autocomplete/src/autocomplete2.js +10 -10
  398. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  399. package/lib/components/button/index.d.ts +5 -5
  400. package/lib/components/button/src/button.d.ts +1 -1
  401. package/lib/components/button/src/button.vue.d.ts +5 -5
  402. package/lib/components/button/src/use-button.d.ts +1 -1
  403. package/lib/components/calendar/index.d.ts +5 -5
  404. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  405. package/lib/components/carousel/index.d.ts +5 -5
  406. package/lib/components/carousel/src/carousel.d.ts +1 -1
  407. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  408. package/lib/components/cascader/index.d.ts +128 -128
  409. package/lib/components/cascader/index.js +2 -2
  410. package/lib/components/cascader/src/cascader.js +626 -66
  411. package/lib/components/cascader/src/cascader.js.map +1 -1
  412. package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
  413. package/lib/components/cascader/src/cascader2.js +66 -626
  414. package/lib/components/cascader/src/cascader2.js.map +1 -1
  415. package/lib/components/cascader-panel/src/menu.js +3 -4
  416. package/lib/components/cascader-panel/src/menu.js.map +1 -1
  417. package/lib/components/checkbox/src/composables/use-checkbox-model.js +1 -1
  418. package/lib/components/checkbox/src/composables/use-checkbox-model.js.map +1 -1
  419. package/lib/components/color-picker/index.d.ts +38 -38
  420. package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
  421. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  422. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  423. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  424. package/lib/components/descriptions/src/description2.js +1 -1
  425. package/lib/components/descriptions/src/descriptions-row.js +7 -64
  426. package/lib/components/descriptions/src/descriptions-row.js.map +1 -1
  427. package/lib/components/descriptions/src/descriptions-row2.js +64 -7
  428. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  429. package/lib/components/dialog/index.d.ts +1 -1
  430. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  431. package/lib/components/dropdown/index.d.ts +14 -14
  432. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  433. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  434. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  435. package/lib/components/dropdown/src/useDropdown.js +2 -2
  436. package/lib/components/dropdown/src/useDropdown.js.map +1 -1
  437. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  438. package/lib/components/form/index.d.ts +12 -12
  439. package/lib/components/form/src/form-item.d.ts +1 -1
  440. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  441. package/lib/components/icon/index.js +2 -2
  442. package/lib/components/icon/src/icon.js +36 -8
  443. package/lib/components/icon/src/icon.js.map +1 -1
  444. package/lib/components/icon/src/icon2.js +8 -36
  445. package/lib/components/icon/src/icon2.js.map +1 -1
  446. package/lib/components/image/index.d.ts +1 -1
  447. package/lib/components/image/src/image.vue.d.ts +1 -1
  448. package/lib/components/index.js +5 -5
  449. package/lib/components/input/index.d.ts +12 -12
  450. package/lib/components/input/src/input.vue.d.ts +12 -12
  451. package/lib/components/input-number/index.d.ts +45 -45
  452. package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
  453. package/lib/components/menu/index.d.ts +3 -3
  454. package/lib/components/menu/src/menu.d.ts +4 -4
  455. package/lib/components/message/src/message.d.ts +1 -1
  456. package/lib/components/message/src/message.vue.d.ts +4 -4
  457. package/lib/components/notification/src/notification.d.ts +1 -1
  458. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  459. package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
  460. package/lib/components/pagination/src/components/sizes.vue.d.ts +27 -27
  461. package/lib/components/popconfirm/index.d.ts +23 -23
  462. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  463. package/lib/components/popover/index.d.ts +18 -18
  464. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  465. package/lib/components/popper/src/content.vue.d.ts +6 -6
  466. package/lib/components/progress/index.js +2 -2
  467. package/lib/components/progress/src/progress.js +59 -205
  468. package/lib/components/progress/src/progress.js.map +1 -1
  469. package/lib/components/progress/src/progress2.js +205 -59
  470. package/lib/components/progress/src/progress2.js.map +1 -1
  471. package/lib/components/result/index.d.ts +4 -4
  472. package/lib/components/result/src/result.d.ts +1 -1
  473. package/lib/components/result/src/result.vue.d.ts +4 -4
  474. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  475. package/lib/components/select/index.d.ts +27 -27
  476. package/lib/components/select/src/select.vue.d.ts +27 -27
  477. package/lib/components/select/src/useSelect.d.ts +25 -25
  478. package/lib/components/select-v2/index.d.ts +54 -54
  479. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  480. package/lib/components/select-v2/src/select-dropdown.js +3 -3
  481. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  482. package/lib/components/select-v2/src/select.js +24 -3
  483. package/lib/components/select-v2/src/select.js.map +1 -1
  484. package/lib/components/select-v2/src/select.vue.d.ts +27 -27
  485. package/lib/components/select-v2/src/useSelect.d.ts +25 -25
  486. package/lib/components/select-v2/src/useSelect.js +17 -0
  487. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  488. package/lib/components/skeleton/index.js +2 -2
  489. package/lib/components/skeleton/src/skeleton-item.js +23 -18
  490. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  491. package/lib/components/skeleton/src/skeleton-item2.js +18 -23
  492. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  493. package/lib/components/skeleton/src/skeleton2.js +1 -1
  494. package/lib/components/slider/index.d.ts +75 -75
  495. package/lib/components/slider/src/button.vue.d.ts +6 -6
  496. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  497. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  498. package/lib/components/steps/index.d.ts +16 -16
  499. package/lib/components/steps/src/item.d.ts +1 -1
  500. package/lib/components/steps/src/item.vue.d.ts +4 -4
  501. package/lib/components/steps/src/steps.d.ts +2 -2
  502. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  503. package/lib/components/table/index.d.ts +1 -1
  504. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  505. package/lib/components/table/src/table.vue.d.ts +1 -1
  506. package/lib/components/tag/index.d.ts +1 -1
  507. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  508. package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
  509. package/lib/components/time-select/index.d.ts +114 -114
  510. package/lib/components/time-select/src/time-select.vue.d.ts +57 -57
  511. package/lib/components/tooltip/index.d.ts +6 -6
  512. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  513. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  514. package/lib/components/tooltip-v2/index.d.ts +4 -4
  515. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  516. package/lib/components/tour/index.d.ts +11 -11
  517. package/lib/components/tour/src/content.vue.d.ts +1 -1
  518. package/lib/components/tour/src/step.vue.d.ts +5 -5
  519. package/lib/components/tour/src/tour.vue.d.ts +1 -1
  520. package/lib/components/transfer/index.d.ts +65 -65
  521. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  522. package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
  523. package/lib/components/tree/src/model/tree-store.js +12 -5
  524. package/lib/components/tree/src/model/tree-store.js.map +1 -1
  525. package/lib/components/tree-v2/index.d.ts +1 -1
  526. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  527. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  528. package/lib/components/upload/index.d.ts +5 -5
  529. package/lib/components/upload/index.js +1 -1
  530. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  531. package/lib/components/upload/src/upload-content2.js +1 -1
  532. package/lib/components/upload/src/upload-dragger.js +72 -12
  533. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  534. package/lib/components/upload/src/upload-dragger2.js +12 -72
  535. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  536. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  537. package/lib/index.js +5 -5
  538. package/lib/version.d.ts +1 -1
  539. package/lib/version.js +1 -1
  540. package/lib/version.js.map +1 -1
  541. package/package.json +2 -2
  542. package/web-types.json +1 -1
@@ -2439,7 +2439,7 @@ declare const _default: import("vue").DefineComponent<{
2439
2439
  readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
2440
2440
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2441
2441
  }, {
2442
- emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
2442
+ emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
2443
2443
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2444
2444
  readonly id: StringConstructor;
2445
2445
  readonly style: {
@@ -2689,10 +2689,10 @@ declare const _default: import("vue").DefineComponent<{
2689
2689
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2690
2690
  }>> & {
2691
2691
  onClose?: (() => any) | undefined;
2692
- onBlur?: (() => any) | undefined;
2693
2692
  onFocus?: (() => any) | undefined;
2694
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2693
+ onBlur?: (() => any) | undefined;
2695
2694
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2695
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2696
2696
  }>>;
2697
2697
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
2698
2698
  trapped: import("vue").Ref<boolean>;
@@ -2761,7 +2761,7 @@ declare const _default: import("vue").DefineComponent<{
2761
2761
  };
2762
2762
  }, {
2763
2763
  onKeydown: (e: KeyboardEvent) => void;
2764
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2764
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2765
2765
  loop: BooleanConstructor;
2766
2766
  trapped: BooleanConstructor;
2767
2767
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -3036,10 +3036,10 @@ declare const _default: import("vue").DefineComponent<{
3036
3036
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
3037
3037
  }>> & {
3038
3038
  onClose?: (() => any) | undefined;
3039
- onBlur?: (() => any) | undefined;
3040
3039
  onFocus?: (() => any) | undefined;
3041
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3040
+ onBlur?: (() => any) | undefined;
3042
3041
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3042
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3043
3043
  }, {
3044
3044
  readonly offset: number;
3045
3045
  readonly effect: string;
@@ -5392,7 +5392,7 @@ declare const _default: import("vue").DefineComponent<{
5392
5392
  readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>) | ((new (...args: any[]) => Partial<import("@popperjs/core").Options>) | (() => Partial<import("@popperjs/core").Options>))[], unknown, unknown, () => {}, boolean>;
5393
5393
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5394
5394
  }, {
5395
- emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
5395
+ emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
5396
5396
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
5397
5397
  readonly id: StringConstructor;
5398
5398
  readonly style: {
@@ -5642,10 +5642,10 @@ declare const _default: import("vue").DefineComponent<{
5642
5642
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5643
5643
  }>> & {
5644
5644
  onClose?: (() => any) | undefined;
5645
- onBlur?: (() => any) | undefined;
5646
5645
  onFocus?: (() => any) | undefined;
5647
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5646
+ onBlur?: (() => any) | undefined;
5648
5647
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5648
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5649
5649
  }>>;
5650
5650
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
5651
5651
  trapped: import("vue").Ref<boolean>;
@@ -5714,7 +5714,7 @@ declare const _default: import("vue").DefineComponent<{
5714
5714
  };
5715
5715
  }, {
5716
5716
  onKeydown: (e: KeyboardEvent) => void;
5717
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5717
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5718
5718
  loop: BooleanConstructor;
5719
5719
  trapped: BooleanConstructor;
5720
5720
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -5989,10 +5989,10 @@ declare const _default: import("vue").DefineComponent<{
5989
5989
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5990
5990
  }>> & {
5991
5991
  onClose?: (() => any) | undefined;
5992
- onBlur?: (() => any) | undefined;
5993
5992
  onFocus?: (() => any) | undefined;
5994
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5993
+ onBlur?: (() => any) | undefined;
5995
5994
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5995
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5996
5996
  }, {
5997
5997
  readonly offset: number;
5998
5998
  readonly effect: string;
@@ -3,7 +3,7 @@ import '../../../utils/index.mjs';
3
3
  import '../../../constants/index.mjs';
4
4
  import '../../../hooks/index.mjs';
5
5
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
6
- import { generateId } from '../../../utils/rand.mjs';
6
+ import { useId } from '../../../hooks/use-id/index.mjs';
7
7
  import { EVENT_CODE } from '../../../constants/aria.mjs';
8
8
  import { addClass } from '../../../utils/dom/style.mjs';
9
9
 
@@ -20,7 +20,7 @@ const initDropdownDomEvent = (dropdownChildren, triggerElm, _instance) => {
20
20
  const menuItems = ref(null);
21
21
  const menuItemsArray = ref(null);
22
22
  const dropdownElm = ref(null);
23
- const listId = ref(`dropdown-menu-${generateId()}`);
23
+ const listId = useId();
24
24
  dropdownElm.value = dropdownChildren == null ? void 0 : dropdownChildren.subTree.el;
25
25
  function removeTabindex() {
26
26
  var _a;
@@ -1 +1 @@
1
- {"version":3,"file":"useDropdown.mjs","sources":["../../../../../../packages/components/dropdown/src/useDropdown.ts"],"sourcesContent":["// @ts-nocheck\nimport { computed, inject, ref } from 'vue'\nimport { addClass, generateId } from '@element-plus/utils'\nimport { EVENT_CODE } from '@element-plus/constants'\nimport { useNamespace } from '@element-plus/hooks'\nimport type { Nullable } from '@element-plus/utils'\nimport type { IElDropdownInstance } from './dropdown'\n\nexport const useDropdown = () => {\n const elDropdown = inject<IElDropdownInstance>('elDropdown', {})\n const _elDropdownSize = computed(() => elDropdown?.dropdownSize)\n\n return {\n elDropdown,\n _elDropdownSize,\n }\n}\n\nexport const initDropdownDomEvent = (\n dropdownChildren,\n triggerElm,\n _instance\n) => {\n const ns = useNamespace('dropdown')\n const menuItems = ref<Nullable<HTMLButtonElement[]>>(null)\n const menuItemsArray = ref<Nullable<HTMLElement[]>>(null)\n const dropdownElm = ref<Nullable<HTMLElement>>(null)\n const listId = ref(`dropdown-menu-${generateId()}`)\n dropdownElm.value = dropdownChildren?.subTree.el\n\n function removeTabindex() {\n triggerElm.setAttribute('tabindex', '-1')\n menuItemsArray.value?.forEach((item) => {\n item.setAttribute('tabindex', '-1')\n })\n }\n\n function resetTabindex(ele) {\n removeTabindex()\n ele?.setAttribute('tabindex', '0')\n }\n\n function handleTriggerKeyDown(ev: KeyboardEvent) {\n const code = ev.code\n if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n removeTabindex()\n resetTabindex(menuItems.value[0])\n menuItems.value[0].focus()\n ev.preventDefault()\n ev.stopPropagation()\n } else if (code === EVENT_CODE.enter) {\n _instance.handleClick()\n } else if ([EVENT_CODE.tab, EVENT_CODE.esc].includes(code)) {\n _instance.hide()\n }\n }\n\n function handleItemKeyDown(ev) {\n const code = ev.code\n const target = ev.target\n const currentIndex = menuItemsArray.value.indexOf(target)\n const max = menuItemsArray.value.length - 1\n let nextIndex\n if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n if (code === EVENT_CODE.up) {\n nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0\n } else {\n nextIndex = currentIndex < max ? currentIndex + 1 : max\n }\n removeTabindex()\n resetTabindex(menuItems.value[nextIndex])\n menuItems.value[nextIndex].focus()\n ev.preventDefault()\n ev.stopPropagation()\n } else if (code === EVENT_CODE.enter) {\n triggerElmFocus()\n target.click()\n if (_instance.props.hideOnClick) {\n _instance.hide()\n }\n } else if ([EVENT_CODE.tab, EVENT_CODE.esc].includes(code)) {\n _instance.hide()\n triggerElmFocus()\n }\n }\n\n function initAria() {\n dropdownElm.value.setAttribute('id', listId.value)\n triggerElm.setAttribute('aria-haspopup', 'list')\n triggerElm.setAttribute('aria-controls', listId.value)\n if (!_instance.props.splitButton) {\n triggerElm.setAttribute('role', 'button')\n triggerElm.setAttribute('tabindex', _instance.props.tabindex)\n addClass(triggerElm, ns.b('selfdefine'))\n }\n }\n\n function initEvent() {\n triggerElm?.addEventListener('keydown', handleTriggerKeyDown)\n dropdownElm.value?.addEventListener('keydown', handleItemKeyDown, true)\n }\n\n function initDomOperation() {\n menuItems.value = dropdownElm.value.querySelectorAll(\n \"[tabindex='-1']\"\n ) as unknown as HTMLButtonElement[]\n menuItemsArray.value = Array.from(menuItems.value)\n\n initEvent()\n initAria()\n }\n\n function triggerElmFocus() {\n triggerElm.focus()\n }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AgB,EAAE,CAAC;AACrB;;;;"}
1
+ {"version":3,"file":"useDropdown.mjs","sources":["../../../../../../packages/components/dropdown/src/useDropdown.ts"],"sourcesContent":["// @ts-nocheck\nimport { computed, inject, ref } from 'vue'\nimport { addClass } from '@element-plus/utils'\nimport { EVENT_CODE } from '@element-plus/constants'\nimport { useId, useNamespace } from '@element-plus/hooks'\nimport type { Nullable } from '@element-plus/utils'\nimport type { IElDropdownInstance } from './dropdown'\n\nexport const useDropdown = () => {\n const elDropdown = inject<IElDropdownInstance>('elDropdown', {})\n const _elDropdownSize = computed(() => elDropdown?.dropdownSize)\n\n return {\n elDropdown,\n _elDropdownSize,\n }\n}\n\nexport const initDropdownDomEvent = (\n dropdownChildren,\n triggerElm,\n _instance\n) => {\n const ns = useNamespace('dropdown')\n const menuItems = ref<Nullable<HTMLButtonElement[]>>(null)\n const menuItemsArray = ref<Nullable<HTMLElement[]>>(null)\n const dropdownElm = ref<Nullable<HTMLElement>>(null)\n const listId = useId()\n dropdownElm.value = dropdownChildren?.subTree.el\n\n function removeTabindex() {\n triggerElm.setAttribute('tabindex', '-1')\n menuItemsArray.value?.forEach((item) => {\n item.setAttribute('tabindex', '-1')\n })\n }\n\n function resetTabindex(ele) {\n removeTabindex()\n ele?.setAttribute('tabindex', '0')\n }\n\n function handleTriggerKeyDown(ev: KeyboardEvent) {\n const code = ev.code\n if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n removeTabindex()\n resetTabindex(menuItems.value[0])\n menuItems.value[0].focus()\n ev.preventDefault()\n ev.stopPropagation()\n } else if (code === EVENT_CODE.enter) {\n _instance.handleClick()\n } else if ([EVENT_CODE.tab, EVENT_CODE.esc].includes(code)) {\n _instance.hide()\n }\n }\n\n function handleItemKeyDown(ev) {\n const code = ev.code\n const target = ev.target\n const currentIndex = menuItemsArray.value.indexOf(target)\n const max = menuItemsArray.value.length - 1\n let nextIndex\n if ([EVENT_CODE.up, EVENT_CODE.down].includes(code)) {\n if (code === EVENT_CODE.up) {\n nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0\n } else {\n nextIndex = currentIndex < max ? currentIndex + 1 : max\n }\n removeTabindex()\n resetTabindex(menuItems.value[nextIndex])\n menuItems.value[nextIndex].focus()\n ev.preventDefault()\n ev.stopPropagation()\n } else if (code === EVENT_CODE.enter) {\n triggerElmFocus()\n target.click()\n if (_instance.props.hideOnClick) {\n _instance.hide()\n }\n } else if ([EVENT_CODE.tab, EVENT_CODE.esc].includes(code)) {\n _instance.hide()\n triggerElmFocus()\n }\n }\n\n function initAria() {\n dropdownElm.value.setAttribute('id', listId.value)\n triggerElm.setAttribute('aria-haspopup', 'list')\n triggerElm.setAttribute('aria-controls', listId.value)\n if (!_instance.props.splitButton) {\n triggerElm.setAttribute('role', 'button')\n triggerElm.setAttribute('tabindex', _instance.props.tabindex)\n addClass(triggerElm, ns.b('selfdefine'))\n }\n }\n\n function initEvent() {\n triggerElm?.addEventListener('keydown', handleTriggerKeyDown)\n dropdownElm.value?.addEventListener('keydown', handleItemKeyDown, true)\n }\n\n function initDomOperation() {\n menuItems.value = dropdownElm.value.querySelectorAll(\n \"[tabindex='-1']\"\n ) as unknown as HTMLButtonElement[]\n menuItemsArray.value = Array.from(menuItems.value)\n\n initEvent()\n initAria()\n }\n\n function triggerElmFocus() {\n triggerElm.focus()\n }\n\n initDomOperation()\n}\n"],"names":[],"mappings":";;;;;;;;;AAIY,MAAC,WAAW,GAAG,MAAM;AACjC,EAAE,MAAM,UAAU,GAAG,MAAM,CAAC,YAAY,EAAE,EAAE,CAAC,CAAC;AAC9C,EAAE,MAAM,eAAe,GAAG,QAAQ,CAAC,MAAM,UAAU,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,UAAU,CAAC,YAAY,CAAC,CAAC;AAChG,EAAE,OAAO;AACT,IAAI,UAAU;AACd,IAAI,eAAe;AACnB,GAAG,CAAC;AACJ,EAAE;AACU,MAAC,oBAAoB,GAAG,CAAC,gBAAgB,EAAE,UAAU,EAAE,S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Y,CAAC,CAAC,CAAC;AAC/C,KAAK;AACL,GAAG;AACH,EAAE,SAAS,SAAS,GAAG;AACvB,IAAI,IAAI,EAAE,CAAC;AACX,IAAI,UAAU,IAAI,IAAI,GAAG,KAAK,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC,SAAS,EAAE,oBAAoB,CAAC,CAAC;AAC/F,IAAI,CAAC,EAAE,GAAG,WAAW,CAAC,KAAK,KAAK,IAAI,GAAG,KAAK,CAAC,GAAG,EAAE,CAAC,gBAAgB,CAAC,SAAS,EAAE,iBAAiB,EAAE,IAAI,CAAC,CAAC;AACxG,GAAG;AACH,EAAE,SAAS,gBAAgB,GAAG;AAC9B,IAAI,SAAS,CAAC,KAAK,GAAG,WAAW,CAAC,KAAK,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,CAAC;AAC5E,IAAI,cAAc,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,CAAC;AACvD,IAAI,SAAS,EAAE,CAAC;AAChB,IAAI,QAAQ,EAAE,CAAC;AACf,GAAG;AACH,EAAE,SAAS,eAAe,GAAG;AAC7B,IAAI,UAAU,CAAC,KAAK,EAAE,CAAC;AACvB,GAAG;AACH,EAAE,gBAAgB,EAAE,CAAC;AACrB;;;;"}
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
9
9
  };
10
10
  }, {
11
11
  onKeydown: (e: KeyboardEvent) => void;
12
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
13
13
  loop: BooleanConstructor;
14
14
  trapped: BooleanConstructor;
15
15
  focusTrapEl: PropType<HTMLElement>;
@@ -172,7 +172,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
172
172
  };
173
173
  readonly error: StringConstructor;
174
174
  readonly validateStatus: {
175
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
175
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
176
176
  readonly required: false;
177
177
  readonly validator: ((val: unknown) => boolean) | undefined;
178
178
  __epPropKey: true;
@@ -205,7 +205,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
205
205
  };
206
206
  readonly error: StringConstructor;
207
207
  readonly validateStatus: {
208
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
208
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
209
209
  readonly required: false;
210
210
  readonly validator: ((val: unknown) => boolean) | undefined;
211
211
  __epPropKey: true;
@@ -248,8 +248,8 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
248
248
  };
249
249
  labelId: string;
250
250
  inputIds: import("vue").Ref<string[]>;
251
- validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
252
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
251
+ validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
252
+ validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
253
253
  validateMessage: import("vue").Ref<string>;
254
254
  formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
255
255
  initialValue: any;
@@ -275,7 +275,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
275
275
  isRequired: import("vue").ComputedRef<boolean>;
276
276
  shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
277
277
  currentLabel: import("vue").ComputedRef<string>;
278
- setValidationState: (state: "" | "error" | "success" | "validating") => void;
278
+ setValidationState: (state: "" | "success" | "error" | "validating") => void;
279
279
  onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
280
280
  onValidationSucceeded: () => void;
281
281
  doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
@@ -313,7 +313,7 @@ export declare const ElForm: import("@element-plus/nightly/es/utils").SFCWithIns
313
313
  };
314
314
  readonly error: StringConstructor;
315
315
  readonly validateStatus: {
316
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
316
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
317
317
  readonly required: false;
318
318
  readonly validator: ((val: unknown) => boolean) | undefined;
319
319
  __epPropKey: true;
@@ -353,7 +353,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
353
353
  };
354
354
  readonly error: StringConstructor;
355
355
  readonly validateStatus: {
356
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
356
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
357
357
  readonly required: false;
358
358
  readonly validator: ((val: unknown) => boolean) | undefined;
359
359
  __epPropKey: true;
@@ -386,7 +386,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
386
386
  };
387
387
  readonly error: StringConstructor;
388
388
  readonly validateStatus: {
389
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
389
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
390
390
  readonly required: false;
391
391
  readonly validator: ((val: unknown) => boolean) | undefined;
392
392
  __epPropKey: true;
@@ -429,8 +429,8 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
429
429
  };
430
430
  labelId: string;
431
431
  inputIds: import("vue").Ref<string[]>;
432
- validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
433
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
432
+ validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
433
+ validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
434
434
  validateMessage: import("vue").Ref<string>;
435
435
  formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
436
436
  initialValue: any;
@@ -456,7 +456,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
456
456
  isRequired: import("vue").ComputedRef<boolean>;
457
457
  shouldShowError: import("vue").ComputedRef<import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
458
458
  currentLabel: import("vue").ComputedRef<string>;
459
- setValidationState: (state: "" | "error" | "success" | "validating") => void;
459
+ setValidationState: (state: "" | "success" | "error" | "validating") => void;
460
460
  onValidationFailed: (error: import("./src/types").FormValidateFailure) => void;
461
461
  onValidationSucceeded: () => void;
462
462
  doValidate: (rules: import("async-validator").RuleItem[]) => Promise<true>;
@@ -494,7 +494,7 @@ export declare const ElFormItem: import("@element-plus/nightly/es/utils").SFCWit
494
494
  };
495
495
  readonly error: StringConstructor;
496
496
  readonly validateStatus: {
497
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
497
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
498
498
  readonly required: false;
499
499
  readonly validator: ((val: unknown) => boolean) | undefined;
500
500
  __epPropKey: true;
@@ -22,7 +22,7 @@ export declare const formItemProps: {
22
22
  };
23
23
  readonly error: StringConstructor;
24
24
  readonly validateStatus: {
25
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
25
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
26
26
  readonly required: false;
27
27
  readonly validator: ((val: unknown) => boolean) | undefined;
28
28
  __epPropKey: true;
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  };
22
22
  readonly error: StringConstructor;
23
23
  readonly validateStatus: {
24
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
24
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
25
25
  readonly required: false;
26
26
  readonly validator: ((val: unknown) => boolean) | undefined;
27
27
  __epPropKey: true;
@@ -54,7 +54,7 @@ declare const _default: import("vue").DefineComponent<{
54
54
  };
55
55
  readonly error: StringConstructor;
56
56
  readonly validateStatus: {
57
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
57
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
58
58
  readonly required: false;
59
59
  readonly validator: ((val: unknown) => boolean) | undefined;
60
60
  __epPropKey: true;
@@ -97,8 +97,8 @@ declare const _default: import("vue").DefineComponent<{
97
97
  };
98
98
  labelId: string;
99
99
  inputIds: import("vue").Ref<string[]>;
100
- validateState: import("vue").Ref<"" | "error" | "success" | "validating">;
101
- validateStateDebounced: Readonly<import("vue").Ref<"" | "error" | "success" | "validating">>;
100
+ validateState: import("vue").Ref<"" | "success" | "error" | "validating">;
101
+ validateStateDebounced: Readonly<import("vue").Ref<"" | "success" | "error" | "validating">>;
102
102
  validateMessage: import("vue").Ref<string>;
103
103
  formItemRef: import("vue").Ref<HTMLDivElement | undefined>;
104
104
  initialValue: any;
@@ -162,7 +162,7 @@ declare const _default: import("vue").DefineComponent<{
162
162
  };
163
163
  readonly error: StringConstructor;
164
164
  readonly validateStatus: {
165
- readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
165
+ readonly type: import("vue").PropType<import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown>>;
166
166
  readonly required: false;
167
167
  readonly validator: ((val: unknown) => boolean) | undefined;
168
168
  __epPropKey: true;
@@ -1,6 +1,6 @@
1
1
  import '../../utils/index.mjs';
2
- import Icon from './src/icon2.mjs';
3
- export { iconProps } from './src/icon.mjs';
2
+ import Icon from './src/icon.mjs';
3
+ export { iconProps } from './src/icon2.mjs';
4
4
  import { withInstall } from '../../utils/vue/install.mjs';
5
5
 
6
6
  const ElIcon = withInstall(Icon);
@@ -1,14 +1,42 @@
1
+ import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from 'vue';
1
2
  import '../../../utils/index.mjs';
2
- import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
3
+ import '../../../hooks/index.mjs';
4
+ import { iconProps } from './icon2.mjs';
5
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
+ import { isUndefined } from '../../../utils/types.mjs';
8
+ import { addUnit } from '../../../utils/dom/style.mjs';
3
9
 
4
- const iconProps = buildProps({
5
- size: {
6
- type: definePropType([Number, String])
7
- },
8
- color: {
9
- type: String
10
+ const __default__ = defineComponent({
11
+ name: "ElIcon",
12
+ inheritAttrs: false
13
+ });
14
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15
+ ...__default__,
16
+ props: iconProps,
17
+ setup(__props) {
18
+ const props = __props;
19
+ const ns = useNamespace("icon");
20
+ const style = computed(() => {
21
+ const { size, color } = props;
22
+ if (!size && !color)
23
+ return {};
24
+ return {
25
+ fontSize: isUndefined(size) ? void 0 : addUnit(size),
26
+ "--color": color
27
+ };
28
+ });
29
+ return (_ctx, _cache) => {
30
+ return openBlock(), createElementBlock("i", mergeProps({
31
+ class: unref(ns).b(),
32
+ style: unref(style)
33
+ }, _ctx.$attrs), [
34
+ renderSlot(_ctx.$slots, "default")
35
+ ], 16);
36
+ };
10
37
  }
11
38
  });
39
+ var Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "icon.vue"]]);
12
40
 
13
- export { iconProps };
41
+ export { Icon as default };
14
42
  //# sourceMappingURL=icon.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon.mjs","sources":["../../../../../../packages/components/icon/src/icon.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Icon from './icon.vue'\n\nexport const iconProps = buildProps({\n /**\n * @description SVG icon size, size x size\n */\n size: {\n type: definePropType<number | string>([Number, String]),\n },\n /**\n * @description SVG tag's fill attribute\n */\n color: {\n type: String,\n },\n} as const)\nexport type IconProps = ExtractPropTypes<typeof iconProps>\nexport type IconInstance = InstanceType<typeof Icon>\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"icon.mjs","sources":["../../../../../../packages/components/icon/src/icon.vue"],"sourcesContent":["<template>\n <i :class=\"ns.b()\" :style=\"style\" v-bind=\"$attrs\">\n <slot />\n </i>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { addUnit, isUndefined } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { iconProps } from './icon'\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElIcon',\n inheritAttrs: false,\n})\nconst props = defineProps(iconProps)\nconst ns = useNamespace('icon')\n\nconst style = computed<CSSProperties>(() => {\n const { size, color } = props\n if (!size && !color) return {}\n\n return {\n fontSize: isUndefined(size) ? undefined : addUnit(size),\n '--color': color,\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAac,CAAA;AAAA,EACZ,IAAM,EAAA,QAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;AAEA,IAAM,MAAA,EAAA,GAAK,aAAa,MAAM,CAAA,CAAA;AAE9B,IAAM,MAAA,KAAA,GAAQ,SAAwB,MAAM;AAC1C,MAAM,MAAA,EAAE,MAAM,KAAU,EAAA,GAAA,KAAA,CAAA;AACxB,MAAI,IAAA,CAAC,QAAQ,CAAC,KAAA;AAAO,QAAA,OAAO,EAAC,CAAA;AAE7B,MAAO,OAAA;AAAA,QACL,UAAU,WAAY,CAAA,IAAI,CAAI,GAAA,KAAA,CAAA,GAAY,QAAQ,IAAI,CAAA;AAAA,QACtD,SAAW,EAAA,KAAA;AAAA,OACb,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;"}
@@ -1,42 +1,14 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, mergeProps, unref, renderSlot } from 'vue';
2
1
  import '../../../utils/index.mjs';
3
- import '../../../hooks/index.mjs';
4
- import { iconProps } from './icon.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
- import { isUndefined } from '../../../utils/types.mjs';
8
- import { addUnit } from '../../../utils/dom/style.mjs';
2
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
9
3
 
10
- const __default__ = defineComponent({
11
- name: "ElIcon",
12
- inheritAttrs: false
13
- });
14
- const _sfc_main = /* @__PURE__ */ defineComponent({
15
- ...__default__,
16
- props: iconProps,
17
- setup(__props) {
18
- const props = __props;
19
- const ns = useNamespace("icon");
20
- const style = computed(() => {
21
- const { size, color } = props;
22
- if (!size && !color)
23
- return {};
24
- return {
25
- fontSize: isUndefined(size) ? void 0 : addUnit(size),
26
- "--color": color
27
- };
28
- });
29
- return (_ctx, _cache) => {
30
- return openBlock(), createElementBlock("i", mergeProps({
31
- class: unref(ns).b(),
32
- style: unref(style)
33
- }, _ctx.$attrs), [
34
- renderSlot(_ctx.$slots, "default")
35
- ], 16);
36
- };
4
+ const iconProps = buildProps({
5
+ size: {
6
+ type: definePropType([Number, String])
7
+ },
8
+ color: {
9
+ type: String
37
10
  }
38
11
  });
39
- var Icon = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "icon.vue"]]);
40
12
 
41
- export { Icon as default };
13
+ export { iconProps };
42
14
  //# sourceMappingURL=icon2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"icon2.mjs","sources":["../../../../../../packages/components/icon/src/icon.vue"],"sourcesContent":["<template>\n <i :class=\"ns.b()\" :style=\"style\" v-bind=\"$attrs\">\n <slot />\n </i>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { addUnit, isUndefined } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { iconProps } from './icon'\nimport type { CSSProperties } from 'vue'\n\ndefineOptions({\n name: 'ElIcon',\n inheritAttrs: false,\n})\nconst props = defineProps(iconProps)\nconst ns = useNamespace('icon')\n\nconst style = computed<CSSProperties>(() => {\n const { size, color } = props\n if (!size && !color) return {}\n\n return {\n fontSize: isUndefined(size) ? undefined : addUnit(size),\n '--color': color,\n }\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCAac,CAAA;AAAA,EACZ,IAAM,EAAA,QAAA;AAAA,EACN,YAAc,EAAA,KAAA;AAChB,CAAA,CAAA,CAAA;;;;;;AAEA,IAAM,MAAA,EAAA,GAAK,aAAa,MAAM,CAAA,CAAA;AAE9B,IAAM,MAAA,KAAA,GAAQ,SAAwB,MAAM;AAC1C,MAAM,MAAA,EAAE,MAAM,KAAU,EAAA,GAAA,KAAA,CAAA;AACxB,MAAI,IAAA,CAAC,QAAQ,CAAC,KAAA;AAAO,QAAA,OAAO,EAAC,CAAA;AAE7B,MAAO,OAAA;AAAA,QACL,UAAU,WAAY,CAAA,IAAI,CAAI,GAAA,KAAA,CAAA,GAAY,QAAQ,IAAI,CAAA;AAAA,QACtD,SAAW,EAAA,KAAA;AAAA,OACb,CAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"icon2.mjs","sources":["../../../../../../packages/components/icon/src/icon.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Icon from './icon.vue'\n\nexport const iconProps = buildProps({\n /**\n * @description SVG icon size, size x size\n */\n size: {\n type: definePropType<number | string>([Number, String]),\n },\n /**\n * @description SVG tag's fill attribute\n */\n color: {\n type: String,\n },\n} as const)\nexport type IconProps = ExtractPropTypes<typeof iconProps>\nexport type IconInstance = InstanceType<typeof Icon>\n"],"names":[],"mappings":";;;AACY,MAAC,SAAS,GAAG,UAAU,CAAC;AACpC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,GAAG;AACH,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC;;;;"}
@@ -80,7 +80,7 @@ export declare const ElImage: import("@element-plus/nightly/es/utils").SFCWithIn
80
80
  onLoad?: ((evt: Event) => any) | undefined;
81
81
  onSwitch?: ((val: number) => any) | undefined;
82
82
  }>>;
83
- emit: ((event: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
83
+ emit: ((event: "error", evt: Event) => void) & ((event: "close") => void) & ((event: "show") => void) & ((event: "load", evt: Event) => void) & ((event: "switch", val: number) => void);
84
84
  prevOverflow: string;
85
85
  t: import("../..").Translator;
86
86
  ns: {
@@ -81,7 +81,7 @@ declare const _default: import("vue").DefineComponent<{
81
81
  onLoad?: ((evt: Event) => any) | undefined;
82
82
  onSwitch?: ((val: number) => any) | undefined;
83
83
  }>>;
84
- emit: ((event: "close") => void) & ((event: "error", evt: Event) => void) & ((event: "load", evt: Event) => void) & ((event: "show") => void) & ((event: "switch", val: number) => void);
84
+ emit: ((event: "error", evt: Event) => void) & ((event: "close") => void) & ((event: "show") => void) & ((event: "load", evt: Event) => void) & ((event: "switch", val: number) => void);
85
85
  prevOverflow: string;
86
86
  t: import("@element-plus/nightly/es/hooks").Translator;
87
87
  ns: {
@@ -93,7 +93,7 @@ export { cardProps } from './card/src/card.mjs';
93
93
  export { carouselEmits, carouselProps } from './carousel/src/carousel.mjs';
94
94
  export { carouselItemProps } from './carousel/src/carousel-item.mjs';
95
95
  export { carouselContextKey } from './carousel/src/constants.mjs';
96
- export { cascaderEmits, cascaderProps } from './cascader/src/cascader.mjs';
96
+ export { cascaderEmits, cascaderProps } from './cascader/src/cascader2.mjs';
97
97
  export { CASCADER_PANEL_INJECTION_KEY } from './cascader-panel/src/types.mjs';
98
98
  export { CommonProps, DefaultProps, useCascaderConfig } from './cascader-panel/src/config.mjs';
99
99
  export { checkTagEmits, checkTagProps } from './check-tag/src/check-tag.mjs';
@@ -126,7 +126,7 @@ export { formItemProps, formItemValidateStates } from './form/src/form-item.mjs'
126
126
  export { formContextKey, formItemContextKey } from './form/src/constants.mjs';
127
127
  export { useDisabled, useFormDisabled, useFormSize, useSize } from './form/src/hooks/use-form-common-props.mjs';
128
128
  export { useFormItem, useFormItemInputId } from './form/src/hooks/use-form-item.mjs';
129
- export { iconProps } from './icon/src/icon.mjs';
129
+ export { iconProps } from './icon/src/icon2.mjs';
130
130
  export { imageEmits, imageProps } from './image/src/image.mjs';
131
131
  export { imageViewerEmits, imageViewerProps } from './image-viewer/src/image-viewer.mjs';
132
132
  export { inputEmits, inputProps } from './input/src/input.mjs';
@@ -149,7 +149,7 @@ export { POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY } from './popper/src
149
149
  export { default as ElPopperArrow } from './popper/src/arrow2.mjs';
150
150
  export { default as ElPopperTrigger } from './popper/src/trigger2.mjs';
151
151
  export { default as ElPopperContent } from './popper/src/content2.mjs';
152
- export { progressProps } from './progress/src/progress2.mjs';
152
+ export { progressProps } from './progress/src/progress.mjs';
153
153
  export { radioEmits, radioProps, radioPropsBase } from './radio/src/radio.mjs';
154
154
  export { radioGroupEmits, radioGroupProps } from './radio/src/radio-group.mjs';
155
155
  export { radioButtonProps } from './radio/src/radio-button.mjs';
@@ -165,7 +165,7 @@ export { scrollbarContextKey } from './scrollbar/src/constants.mjs';
165
165
  export { selectGroupKey, selectKey } from './select/src/token.mjs';
166
166
  export { selectV2InjectionKey } from './select-v2/src/token.mjs';
167
167
  export { skeletonProps } from './skeleton/src/skeleton.mjs';
168
- export { skeletonItemProps } from './skeleton/src/skeleton-item.mjs';
168
+ export { skeletonItemProps } from './skeleton/src/skeleton-item2.mjs';
169
169
  export { sliderEmits, sliderProps } from './slider/src/slider.mjs';
170
170
  export { sliderContextKey } from './slider/src/constants.mjs';
171
171
  export { spaceProps } from './space/src/space.mjs';
@@ -201,7 +201,7 @@ export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChang
201
201
  export { genFileId, uploadBaseProps, uploadListTypes, uploadProps } from './upload/src/upload.mjs';
202
202
  export { uploadContentProps } from './upload/src/upload-content.mjs';
203
203
  export { uploadListEmits, uploadListProps } from './upload/src/upload-list.mjs';
204
- export { uploadDraggerEmits, uploadDraggerProps } from './upload/src/upload-dragger.mjs';
204
+ export { uploadDraggerEmits, uploadDraggerProps } from './upload/src/upload-dragger2.mjs';
205
205
  export { uploadContextKey } from './upload/src/constants.mjs';
206
206
  export { default as FixedSizeList } from './virtual-list/src/components/fixed-size-list.mjs';
207
207
  export { default as DynamicSizeList } from './virtual-list/src/components/dynamic-size-list.mjs';
@@ -157,17 +157,17 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
157
157
  onChange?: ((value: string) => any) | undefined;
158
158
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
159
159
  onInput?: ((value: string) => any) | undefined;
160
- onBlur?: ((evt: FocusEvent) => any) | undefined;
161
160
  onFocus?: ((evt: FocusEvent) => any) | undefined;
161
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
162
162
  onClear?: (() => any) | undefined;
163
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
163
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
164
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
165
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
164
166
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
165
167
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
166
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
167
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
168
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
168
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
169
169
  }>>;
170
- emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void);
170
+ emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
171
171
  rawAttrs: {
172
172
  [x: string]: unknown;
173
173
  };
@@ -232,7 +232,7 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
232
232
  handleFocus: (event: FocusEvent) => void;
233
233
  handleBlur: (event: FocusEvent) => void;
234
234
  needStatusIcon: import("vue").ComputedRef<boolean>;
235
- validateState: import("vue").ComputedRef<"" | "error" | "success" | "validating">;
235
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
236
236
  validateIcon: import("vue").ComputedRef<any>;
237
237
  passwordIcon: import("vue").ComputedRef<any>;
238
238
  containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
@@ -422,15 +422,15 @@ export declare const ElInput: import("@element-plus/nightly/es/utils").SFCWithIn
422
422
  onChange?: ((value: string) => any) | undefined;
423
423
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
424
424
  onInput?: ((value: string) => any) | undefined;
425
- onBlur?: ((evt: FocusEvent) => any) | undefined;
426
425
  onFocus?: ((evt: FocusEvent) => any) | undefined;
426
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
427
427
  onClear?: (() => any) | undefined;
428
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
428
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
429
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
430
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
429
431
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
430
432
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
431
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
432
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
433
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
433
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
434
434
  }, {
435
435
  readonly type: string;
436
436
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;