@element-plus/nightly 0.0.20231122 → 0.0.20231124

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 (516) hide show
  1. package/dist/index.full.js +2 -2
  2. package/dist/index.full.min.js +2 -2
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +2 -2
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +2 -2
  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.js +1 -1
  12. package/dist/locale/ar.min.js +1 -1
  13. package/dist/locale/ar.min.mjs +1 -1
  14. package/dist/locale/ar.mjs +1 -1
  15. package/dist/locale/az.js +1 -1
  16. package/dist/locale/az.min.js +1 -1
  17. package/dist/locale/az.min.mjs +1 -1
  18. package/dist/locale/az.mjs +1 -1
  19. package/dist/locale/bg.js +1 -1
  20. package/dist/locale/bg.min.js +1 -1
  21. package/dist/locale/bg.min.mjs +1 -1
  22. package/dist/locale/bg.mjs +1 -1
  23. package/dist/locale/bn.js +1 -1
  24. package/dist/locale/bn.min.js +1 -1
  25. package/dist/locale/bn.min.mjs +1 -1
  26. package/dist/locale/bn.mjs +1 -1
  27. package/dist/locale/ca.js +1 -1
  28. package/dist/locale/ca.min.js +1 -1
  29. package/dist/locale/ca.min.mjs +1 -1
  30. package/dist/locale/ca.mjs +1 -1
  31. package/dist/locale/ckb.js +1 -1
  32. package/dist/locale/ckb.min.js +1 -1
  33. package/dist/locale/ckb.min.mjs +1 -1
  34. package/dist/locale/ckb.mjs +1 -1
  35. package/dist/locale/cs.js +1 -1
  36. package/dist/locale/cs.min.js +1 -1
  37. package/dist/locale/cs.min.mjs +1 -1
  38. package/dist/locale/cs.mjs +1 -1
  39. package/dist/locale/da.js +1 -1
  40. package/dist/locale/da.min.js +1 -1
  41. package/dist/locale/da.min.mjs +1 -1
  42. package/dist/locale/da.mjs +1 -1
  43. package/dist/locale/de.js +1 -1
  44. package/dist/locale/de.min.js +1 -1
  45. package/dist/locale/de.min.mjs +1 -1
  46. package/dist/locale/de.mjs +1 -1
  47. package/dist/locale/el.js +1 -1
  48. package/dist/locale/el.min.js +1 -1
  49. package/dist/locale/el.min.mjs +1 -1
  50. package/dist/locale/el.mjs +1 -1
  51. package/dist/locale/en.js +1 -1
  52. package/dist/locale/en.min.js +1 -1
  53. package/dist/locale/en.min.mjs +1 -1
  54. package/dist/locale/en.mjs +1 -1
  55. package/dist/locale/eo.js +1 -1
  56. package/dist/locale/eo.min.js +1 -1
  57. package/dist/locale/eo.min.mjs +1 -1
  58. package/dist/locale/eo.mjs +1 -1
  59. package/dist/locale/es.js +1 -1
  60. package/dist/locale/es.min.js +1 -1
  61. package/dist/locale/es.min.mjs +1 -1
  62. package/dist/locale/es.mjs +1 -1
  63. package/dist/locale/et.js +1 -1
  64. package/dist/locale/et.min.js +1 -1
  65. package/dist/locale/et.min.mjs +1 -1
  66. package/dist/locale/et.mjs +1 -1
  67. package/dist/locale/eu.js +1 -1
  68. package/dist/locale/eu.min.js +1 -1
  69. package/dist/locale/eu.min.mjs +1 -1
  70. package/dist/locale/eu.mjs +1 -1
  71. package/dist/locale/fa.js +1 -1
  72. package/dist/locale/fa.min.js +1 -1
  73. package/dist/locale/fa.min.mjs +1 -1
  74. package/dist/locale/fa.mjs +1 -1
  75. package/dist/locale/fi.js +1 -1
  76. package/dist/locale/fi.min.js +1 -1
  77. package/dist/locale/fi.min.mjs +1 -1
  78. package/dist/locale/fi.mjs +1 -1
  79. package/dist/locale/fr.js +1 -1
  80. package/dist/locale/fr.min.js +1 -1
  81. package/dist/locale/fr.min.mjs +1 -1
  82. package/dist/locale/fr.mjs +1 -1
  83. package/dist/locale/he.js +1 -1
  84. package/dist/locale/he.min.js +1 -1
  85. package/dist/locale/he.min.mjs +1 -1
  86. package/dist/locale/he.mjs +1 -1
  87. package/dist/locale/hr.js +1 -1
  88. package/dist/locale/hr.min.js +1 -1
  89. package/dist/locale/hr.min.mjs +1 -1
  90. package/dist/locale/hr.mjs +1 -1
  91. package/dist/locale/hu.js +1 -1
  92. package/dist/locale/hu.min.js +1 -1
  93. package/dist/locale/hu.min.mjs +1 -1
  94. package/dist/locale/hu.mjs +1 -1
  95. package/dist/locale/hy-am.js +1 -1
  96. package/dist/locale/hy-am.min.js +1 -1
  97. package/dist/locale/hy-am.min.mjs +1 -1
  98. package/dist/locale/hy-am.mjs +1 -1
  99. package/dist/locale/id.js +1 -1
  100. package/dist/locale/id.min.js +1 -1
  101. package/dist/locale/id.min.mjs +1 -1
  102. package/dist/locale/id.mjs +1 -1
  103. package/dist/locale/it.js +1 -1
  104. package/dist/locale/it.min.js +1 -1
  105. package/dist/locale/it.min.mjs +1 -1
  106. package/dist/locale/it.mjs +1 -1
  107. package/dist/locale/ja.js +1 -1
  108. package/dist/locale/ja.min.js +1 -1
  109. package/dist/locale/ja.min.mjs +1 -1
  110. package/dist/locale/ja.mjs +1 -1
  111. package/dist/locale/kk.js +1 -1
  112. package/dist/locale/kk.min.js +1 -1
  113. package/dist/locale/kk.min.mjs +1 -1
  114. package/dist/locale/kk.mjs +1 -1
  115. package/dist/locale/km.js +1 -1
  116. package/dist/locale/km.min.js +1 -1
  117. package/dist/locale/km.min.mjs +1 -1
  118. package/dist/locale/km.mjs +1 -1
  119. package/dist/locale/ko.js +1 -1
  120. package/dist/locale/ko.min.js +1 -1
  121. package/dist/locale/ko.min.mjs +1 -1
  122. package/dist/locale/ko.mjs +1 -1
  123. package/dist/locale/ku.js +1 -1
  124. package/dist/locale/ku.min.js +1 -1
  125. package/dist/locale/ku.min.mjs +1 -1
  126. package/dist/locale/ku.mjs +1 -1
  127. package/dist/locale/ky.js +1 -1
  128. package/dist/locale/ky.min.js +1 -1
  129. package/dist/locale/ky.min.mjs +1 -1
  130. package/dist/locale/ky.mjs +1 -1
  131. package/dist/locale/lt.js +1 -1
  132. package/dist/locale/lt.min.js +1 -1
  133. package/dist/locale/lt.min.mjs +1 -1
  134. package/dist/locale/lt.mjs +1 -1
  135. package/dist/locale/lv.js +1 -1
  136. package/dist/locale/lv.min.js +1 -1
  137. package/dist/locale/lv.min.mjs +1 -1
  138. package/dist/locale/lv.mjs +1 -1
  139. package/dist/locale/mg.js +1 -1
  140. package/dist/locale/mg.min.js +1 -1
  141. package/dist/locale/mg.min.mjs +1 -1
  142. package/dist/locale/mg.mjs +1 -1
  143. package/dist/locale/mn.js +1 -1
  144. package/dist/locale/mn.min.js +1 -1
  145. package/dist/locale/mn.min.mjs +1 -1
  146. package/dist/locale/mn.mjs +1 -1
  147. package/dist/locale/nb-no.js +1 -1
  148. package/dist/locale/nb-no.min.js +1 -1
  149. package/dist/locale/nb-no.min.mjs +1 -1
  150. package/dist/locale/nb-no.mjs +1 -1
  151. package/dist/locale/nl.js +1 -1
  152. package/dist/locale/nl.min.js +1 -1
  153. package/dist/locale/nl.min.mjs +1 -1
  154. package/dist/locale/nl.mjs +1 -1
  155. package/dist/locale/pa.js +1 -1
  156. package/dist/locale/pa.min.js +1 -1
  157. package/dist/locale/pa.min.mjs +1 -1
  158. package/dist/locale/pa.mjs +1 -1
  159. package/dist/locale/pl.js +1 -1
  160. package/dist/locale/pl.min.js +1 -1
  161. package/dist/locale/pl.min.mjs +1 -1
  162. package/dist/locale/pl.mjs +1 -1
  163. package/dist/locale/pt-br.js +1 -1
  164. package/dist/locale/pt-br.min.js +1 -1
  165. package/dist/locale/pt-br.min.mjs +1 -1
  166. package/dist/locale/pt-br.mjs +1 -1
  167. package/dist/locale/pt.js +1 -1
  168. package/dist/locale/pt.min.js +1 -1
  169. package/dist/locale/pt.min.mjs +1 -1
  170. package/dist/locale/pt.mjs +1 -1
  171. package/dist/locale/ro.js +1 -1
  172. package/dist/locale/ro.min.js +1 -1
  173. package/dist/locale/ro.min.mjs +1 -1
  174. package/dist/locale/ro.mjs +1 -1
  175. package/dist/locale/ru.js +1 -1
  176. package/dist/locale/ru.min.js +1 -1
  177. package/dist/locale/ru.min.mjs +1 -1
  178. package/dist/locale/ru.mjs +1 -1
  179. package/dist/locale/sk.js +1 -1
  180. package/dist/locale/sk.min.js +1 -1
  181. package/dist/locale/sk.min.mjs +1 -1
  182. package/dist/locale/sk.mjs +1 -1
  183. package/dist/locale/sl.js +1 -1
  184. package/dist/locale/sl.min.js +1 -1
  185. package/dist/locale/sl.min.mjs +1 -1
  186. package/dist/locale/sl.mjs +1 -1
  187. package/dist/locale/sr.js +1 -1
  188. package/dist/locale/sr.min.js +1 -1
  189. package/dist/locale/sr.min.mjs +1 -1
  190. package/dist/locale/sr.mjs +1 -1
  191. package/dist/locale/sv.js +1 -1
  192. package/dist/locale/sv.min.js +1 -1
  193. package/dist/locale/sv.min.mjs +1 -1
  194. package/dist/locale/sv.mjs +1 -1
  195. package/dist/locale/sw.js +1 -1
  196. package/dist/locale/sw.min.js +1 -1
  197. package/dist/locale/sw.min.mjs +1 -1
  198. package/dist/locale/sw.mjs +1 -1
  199. package/dist/locale/ta.js +1 -1
  200. package/dist/locale/ta.min.js +1 -1
  201. package/dist/locale/ta.min.mjs +1 -1
  202. package/dist/locale/ta.mjs +1 -1
  203. package/dist/locale/th.js +1 -1
  204. package/dist/locale/th.min.js +1 -1
  205. package/dist/locale/th.min.mjs +1 -1
  206. package/dist/locale/th.mjs +1 -1
  207. package/dist/locale/tk.js +1 -1
  208. package/dist/locale/tk.min.js +1 -1
  209. package/dist/locale/tk.min.mjs +1 -1
  210. package/dist/locale/tk.mjs +1 -1
  211. package/dist/locale/tr.js +1 -1
  212. package/dist/locale/tr.min.js +1 -1
  213. package/dist/locale/tr.min.mjs +1 -1
  214. package/dist/locale/tr.mjs +1 -1
  215. package/dist/locale/ug-cn.js +1 -1
  216. package/dist/locale/ug-cn.min.js +1 -1
  217. package/dist/locale/ug-cn.min.mjs +1 -1
  218. package/dist/locale/ug-cn.mjs +1 -1
  219. package/dist/locale/uk.js +1 -1
  220. package/dist/locale/uk.min.js +1 -1
  221. package/dist/locale/uk.min.mjs +1 -1
  222. package/dist/locale/uk.mjs +1 -1
  223. package/dist/locale/uz-uz.js +1 -1
  224. package/dist/locale/uz-uz.min.js +1 -1
  225. package/dist/locale/uz-uz.min.mjs +1 -1
  226. package/dist/locale/uz-uz.mjs +1 -1
  227. package/dist/locale/vi.js +1 -1
  228. package/dist/locale/vi.min.js +1 -1
  229. package/dist/locale/vi.min.mjs +1 -1
  230. package/dist/locale/vi.mjs +1 -1
  231. package/dist/locale/zh-cn.js +1 -1
  232. package/dist/locale/zh-cn.min.js +1 -1
  233. package/dist/locale/zh-cn.min.mjs +1 -1
  234. package/dist/locale/zh-cn.mjs +1 -1
  235. package/dist/locale/zh-tw.js +1 -1
  236. package/dist/locale/zh-tw.min.js +1 -1
  237. package/dist/locale/zh-tw.min.mjs +1 -1
  238. package/dist/locale/zh-tw.mjs +1 -1
  239. package/es/components/alert/index.d.ts +4 -4
  240. package/es/components/alert/src/alert.d.ts +1 -1
  241. package/es/components/alert/src/alert.vue.d.ts +4 -4
  242. package/es/components/autocomplete/index.d.ts +65 -65
  243. package/es/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  244. package/es/components/button/index.d.ts +5 -5
  245. package/es/components/button/src/button.d.ts +1 -1
  246. package/es/components/button/src/button.vue.d.ts +5 -5
  247. package/es/components/button/src/use-button.d.ts +1 -1
  248. package/es/components/calendar/index.d.ts +5 -5
  249. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  250. package/es/components/calendar/src/calendar2.mjs +1 -1
  251. package/es/components/calendar/src/date-table.mjs +87 -33
  252. package/es/components/calendar/src/date-table.mjs.map +1 -1
  253. package/es/components/calendar/src/date-table2.mjs +33 -87
  254. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  255. package/es/components/calendar/src/use-date-table.mjs +1 -1
  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/src/cascader.vue.d.ts +64 -64
  261. package/es/components/checkbox/index.mjs +2 -2
  262. package/es/components/checkbox/src/checkbox-button.mjs +1 -1
  263. package/es/components/checkbox/src/checkbox.mjs +50 -117
  264. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  265. package/es/components/checkbox/src/checkbox2.mjs +117 -50
  266. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  267. package/es/components/color-picker/index.d.ts +38 -38
  268. package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
  269. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  270. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  271. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  272. package/es/components/descriptions/index.mjs +2 -2
  273. package/es/components/descriptions/src/description.mjs +112 -25
  274. package/es/components/descriptions/src/description.mjs.map +1 -1
  275. package/es/components/descriptions/src/description2.mjs +25 -112
  276. package/es/components/descriptions/src/description2.mjs.map +1 -1
  277. package/es/components/dialog/index.d.ts +1 -1
  278. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  279. package/es/components/dropdown/index.d.ts +14 -14
  280. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  281. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  282. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  283. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  284. package/es/components/form/index.d.ts +12 -12
  285. package/es/components/form/src/form-item.d.ts +1 -1
  286. package/es/components/form/src/form-item.vue.d.ts +5 -5
  287. package/es/components/image/index.d.ts +1 -1
  288. package/es/components/image/src/image.vue.d.ts +1 -1
  289. package/es/components/index.mjs +5 -5
  290. package/es/components/input/index.d.ts +12 -12
  291. package/es/components/input/src/input.vue.d.ts +12 -12
  292. package/es/components/input-number/index.d.ts +45 -45
  293. package/es/components/input-number/src/input-number.vue.d.ts +45 -45
  294. package/es/components/menu/index.d.ts +3 -3
  295. package/es/components/menu/src/menu.d.ts +4 -4
  296. package/es/components/message/src/message.d.ts +1 -1
  297. package/es/components/message/src/message.vue.d.ts +4 -4
  298. package/es/components/notification/src/notification.d.ts +1 -1
  299. package/es/components/notification/src/notification.vue.d.ts +4 -4
  300. package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
  301. package/es/components/pagination/src/components/sizes.vue.d.ts +26 -26
  302. package/es/components/popconfirm/index.d.ts +23 -23
  303. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  304. package/es/components/popover/index.d.ts +18 -18
  305. package/es/components/popover/src/popover.vue.d.ts +18 -18
  306. package/es/components/popper/src/content.vue.d.ts +6 -6
  307. package/es/components/result/index.d.ts +4 -4
  308. package/es/components/result/src/result.d.ts +1 -1
  309. package/es/components/result/src/result.vue.d.ts +4 -4
  310. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  311. package/es/components/select/index.d.ts +26 -26
  312. package/es/components/select/src/select.vue.d.ts +26 -26
  313. package/es/components/select/src/useSelect.d.ts +24 -24
  314. package/es/components/select-v2/index.d.ts +30 -30
  315. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  316. package/es/components/select-v2/src/select.vue.d.ts +15 -15
  317. package/es/components/select-v2/src/useSelect.d.ts +13 -13
  318. package/es/components/skeleton/index.mjs +2 -2
  319. package/es/components/skeleton/src/skeleton.mjs +49 -22
  320. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  321. package/es/components/skeleton/src/skeleton2.mjs +22 -49
  322. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  323. package/es/components/slider/index.d.ts +75 -75
  324. package/es/components/slider/src/button.vue.d.ts +6 -6
  325. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  326. package/es/components/slider/src/slider.vue.d.ts +75 -75
  327. package/es/components/statistic/index.mjs +2 -2
  328. package/es/components/statistic/src/statistic.mjs +70 -25
  329. package/es/components/statistic/src/statistic.mjs.map +1 -1
  330. package/es/components/statistic/src/statistic2.mjs +25 -70
  331. package/es/components/statistic/src/statistic2.mjs.map +1 -1
  332. package/es/components/steps/index.d.ts +16 -16
  333. package/es/components/steps/src/item.d.ts +1 -1
  334. package/es/components/steps/src/item.vue.d.ts +4 -4
  335. package/es/components/steps/src/steps.d.ts +2 -2
  336. package/es/components/steps/src/steps.vue.d.ts +8 -8
  337. package/es/components/table/index.d.ts +1 -1
  338. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  339. package/es/components/table/src/table.vue.d.ts +1 -1
  340. package/es/components/tabs/index.mjs +2 -2
  341. package/es/components/tabs/src/tab-pane.mjs +72 -13
  342. package/es/components/tabs/src/tab-pane.mjs.map +1 -1
  343. package/es/components/tabs/src/tab-pane2.mjs +13 -72
  344. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  345. package/es/components/tag/index.d.ts +1 -1
  346. package/es/components/tag/src/tag.vue.d.ts +1 -1
  347. package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
  348. package/es/components/time-select/index.d.ts +110 -110
  349. package/es/components/time-select/src/time-select.vue.d.ts +55 -55
  350. package/es/components/tooltip/index.d.ts +6 -6
  351. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  352. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  353. package/es/components/tooltip-v2/index.d.ts +4 -4
  354. package/es/components/tooltip-v2/index.mjs +3 -3
  355. package/es/components/tooltip-v2/src/arrow.mjs +22 -37
  356. package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
  357. package/es/components/tooltip-v2/src/arrow2.mjs +37 -22
  358. package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
  359. package/es/components/tooltip-v2/src/tooltip.mjs +73 -20
  360. package/es/components/tooltip-v2/src/tooltip.mjs.map +1 -1
  361. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  362. package/es/components/tooltip-v2/src/tooltip2.mjs +20 -73
  363. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  364. package/es/components/transfer/index.d.ts +65 -65
  365. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  366. package/es/components/transfer/src/transfer.vue.d.ts +65 -65
  367. package/es/components/tree-v2/index.d.ts +1 -1
  368. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  369. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  370. package/es/components/upload/index.d.ts +5 -5
  371. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  372. package/es/components/upload/src/upload.vue.d.ts +5 -5
  373. package/es/index.mjs +5 -5
  374. package/es/version.d.ts +1 -1
  375. package/es/version.mjs +1 -1
  376. package/es/version.mjs.map +1 -1
  377. package/lib/components/alert/index.d.ts +4 -4
  378. package/lib/components/alert/src/alert.d.ts +1 -1
  379. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  380. package/lib/components/autocomplete/index.d.ts +65 -65
  381. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  382. package/lib/components/button/index.d.ts +5 -5
  383. package/lib/components/button/src/button.d.ts +1 -1
  384. package/lib/components/button/src/button.vue.d.ts +5 -5
  385. package/lib/components/button/src/use-button.d.ts +1 -1
  386. package/lib/components/calendar/index.d.ts +5 -5
  387. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  388. package/lib/components/calendar/src/calendar2.js +1 -1
  389. package/lib/components/calendar/src/date-table.js +87 -37
  390. package/lib/components/calendar/src/date-table.js.map +1 -1
  391. package/lib/components/calendar/src/date-table2.js +37 -87
  392. package/lib/components/calendar/src/date-table2.js.map +1 -1
  393. package/lib/components/calendar/src/use-date-table.js +1 -1
  394. package/lib/components/carousel/index.d.ts +5 -5
  395. package/lib/components/carousel/src/carousel.d.ts +1 -1
  396. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  397. package/lib/components/cascader/index.d.ts +128 -128
  398. package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
  399. package/lib/components/checkbox/index.js +2 -2
  400. package/lib/components/checkbox/src/checkbox-button.js +1 -1
  401. package/lib/components/checkbox/src/checkbox.js +51 -117
  402. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  403. package/lib/components/checkbox/src/checkbox2.js +117 -51
  404. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  405. package/lib/components/color-picker/index.d.ts +38 -38
  406. package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
  407. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  408. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  409. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  410. package/lib/components/descriptions/index.js +2 -2
  411. package/lib/components/descriptions/src/description.js +112 -25
  412. package/lib/components/descriptions/src/description.js.map +1 -1
  413. package/lib/components/descriptions/src/description2.js +25 -112
  414. package/lib/components/descriptions/src/description2.js.map +1 -1
  415. package/lib/components/dialog/index.d.ts +1 -1
  416. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  417. package/lib/components/dropdown/index.d.ts +14 -14
  418. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  419. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  420. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  421. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  422. package/lib/components/form/index.d.ts +12 -12
  423. package/lib/components/form/src/form-item.d.ts +1 -1
  424. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  425. package/lib/components/image/index.d.ts +1 -1
  426. package/lib/components/image/src/image.vue.d.ts +1 -1
  427. package/lib/components/index.js +5 -5
  428. package/lib/components/input/index.d.ts +12 -12
  429. package/lib/components/input/src/input.vue.d.ts +12 -12
  430. package/lib/components/input-number/index.d.ts +45 -45
  431. package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
  432. package/lib/components/menu/index.d.ts +3 -3
  433. package/lib/components/menu/src/menu.d.ts +4 -4
  434. package/lib/components/message/src/message.d.ts +1 -1
  435. package/lib/components/message/src/message.vue.d.ts +4 -4
  436. package/lib/components/notification/src/notification.d.ts +1 -1
  437. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  438. package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
  439. package/lib/components/pagination/src/components/sizes.vue.d.ts +26 -26
  440. package/lib/components/popconfirm/index.d.ts +23 -23
  441. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  442. package/lib/components/popover/index.d.ts +18 -18
  443. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  444. package/lib/components/popper/src/content.vue.d.ts +6 -6
  445. package/lib/components/result/index.d.ts +4 -4
  446. package/lib/components/result/src/result.d.ts +1 -1
  447. package/lib/components/result/src/result.vue.d.ts +4 -4
  448. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  449. package/lib/components/select/index.d.ts +26 -26
  450. package/lib/components/select/src/select.vue.d.ts +26 -26
  451. package/lib/components/select/src/useSelect.d.ts +24 -24
  452. package/lib/components/select-v2/index.d.ts +30 -30
  453. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  454. package/lib/components/select-v2/src/select.vue.d.ts +15 -15
  455. package/lib/components/select-v2/src/useSelect.d.ts +13 -13
  456. package/lib/components/skeleton/index.js +2 -2
  457. package/lib/components/skeleton/src/skeleton.js +49 -22
  458. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  459. package/lib/components/skeleton/src/skeleton2.js +22 -49
  460. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  461. package/lib/components/slider/index.d.ts +75 -75
  462. package/lib/components/slider/src/button.vue.d.ts +6 -6
  463. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  464. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  465. package/lib/components/statistic/index.js +2 -2
  466. package/lib/components/statistic/src/statistic.js +70 -25
  467. package/lib/components/statistic/src/statistic.js.map +1 -1
  468. package/lib/components/statistic/src/statistic2.js +25 -70
  469. package/lib/components/statistic/src/statistic2.js.map +1 -1
  470. package/lib/components/steps/index.d.ts +16 -16
  471. package/lib/components/steps/src/item.d.ts +1 -1
  472. package/lib/components/steps/src/item.vue.d.ts +4 -4
  473. package/lib/components/steps/src/steps.d.ts +2 -2
  474. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  475. package/lib/components/table/index.d.ts +1 -1
  476. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  477. package/lib/components/table/src/table.vue.d.ts +1 -1
  478. package/lib/components/tabs/index.js +2 -2
  479. package/lib/components/tabs/src/tab-pane.js +72 -13
  480. package/lib/components/tabs/src/tab-pane.js.map +1 -1
  481. package/lib/components/tabs/src/tab-pane2.js +13 -72
  482. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  483. package/lib/components/tag/index.d.ts +1 -1
  484. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  485. package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
  486. package/lib/components/time-select/index.d.ts +110 -110
  487. package/lib/components/time-select/src/time-select.vue.d.ts +55 -55
  488. package/lib/components/tooltip/index.d.ts +6 -6
  489. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  490. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  491. package/lib/components/tooltip-v2/index.d.ts +4 -4
  492. package/lib/components/tooltip-v2/index.js +3 -3
  493. package/lib/components/tooltip-v2/src/arrow.js +23 -37
  494. package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
  495. package/lib/components/tooltip-v2/src/arrow2.js +37 -23
  496. package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
  497. package/lib/components/tooltip-v2/src/tooltip.js +73 -20
  498. package/lib/components/tooltip-v2/src/tooltip.js.map +1 -1
  499. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  500. package/lib/components/tooltip-v2/src/tooltip2.js +20 -73
  501. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  502. package/lib/components/transfer/index.d.ts +65 -65
  503. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  504. package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
  505. package/lib/components/tree-v2/index.d.ts +1 -1
  506. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  507. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  508. package/lib/components/upload/index.d.ts +5 -5
  509. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  510. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  511. package/lib/index.js +5 -5
  512. package/lib/version.d.ts +1 -1
  513. package/lib/version.js +1 -1
  514. package/lib/version.js.map +1 -1
  515. package/package.json +2 -2
  516. package/web-types.json +1 -1
@@ -1,76 +1,31 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, renderSlot, createTextVNode, toDisplayString, createCommentVNode, createElementVNode, normalizeStyle } from 'vue';
2
- import '../../../hooks/index.mjs';
3
1
  import '../../../utils/index.mjs';
4
- import { statisticProps } from './statistic.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
7
- import { isFunction } from '@vue/shared';
8
- import { isNumber } from '../../../utils/types.mjs';
2
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
9
3
 
10
- const __default__ = defineComponent({
11
- name: "ElStatistic"
12
- });
13
- const _sfc_main = /* @__PURE__ */ defineComponent({
14
- ...__default__,
15
- props: statisticProps,
16
- setup(__props, { expose }) {
17
- const props = __props;
18
- const ns = useNamespace("statistic");
19
- const displayValue = computed(() => {
20
- const { value, formatter, precision, decimalSeparator, groupSeparator } = props;
21
- if (isFunction(formatter))
22
- return formatter(value);
23
- if (!isNumber(value))
24
- return value;
25
- let [integer, decimal = ""] = String(value).split(".");
26
- decimal = decimal.padEnd(precision, "0").slice(0, precision > 0 ? precision : 0);
27
- integer = integer.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator);
28
- return [integer, decimal].join(decimal ? decimalSeparator : "");
29
- });
30
- expose({
31
- displayValue
32
- });
33
- return (_ctx, _cache) => {
34
- return openBlock(), createElementBlock("div", {
35
- class: normalizeClass(unref(ns).b())
36
- }, [
37
- _ctx.$slots.title || _ctx.title ? (openBlock(), createElementBlock("div", {
38
- key: 0,
39
- class: normalizeClass(unref(ns).e("head"))
40
- }, [
41
- renderSlot(_ctx.$slots, "title", {}, () => [
42
- createTextVNode(toDisplayString(_ctx.title), 1)
43
- ])
44
- ], 2)) : createCommentVNode("v-if", true),
45
- createElementVNode("div", {
46
- class: normalizeClass(unref(ns).e("content"))
47
- }, [
48
- _ctx.$slots.prefix || _ctx.prefix ? (openBlock(), createElementBlock("div", {
49
- key: 0,
50
- class: normalizeClass(unref(ns).e("prefix"))
51
- }, [
52
- renderSlot(_ctx.$slots, "prefix", {}, () => [
53
- createElementVNode("span", null, toDisplayString(_ctx.prefix), 1)
54
- ])
55
- ], 2)) : createCommentVNode("v-if", true),
56
- createElementVNode("span", {
57
- class: normalizeClass(unref(ns).e("number")),
58
- style: normalizeStyle(_ctx.valueStyle)
59
- }, toDisplayString(unref(displayValue)), 7),
60
- _ctx.$slots.suffix || _ctx.suffix ? (openBlock(), createElementBlock("div", {
61
- key: 1,
62
- class: normalizeClass(unref(ns).e("suffix"))
63
- }, [
64
- renderSlot(_ctx.$slots, "suffix", {}, () => [
65
- createElementVNode("span", null, toDisplayString(_ctx.suffix), 1)
66
- ])
67
- ], 2)) : createCommentVNode("v-if", true)
68
- ], 2)
69
- ], 2);
70
- };
4
+ const statisticProps = buildProps({
5
+ decimalSeparator: {
6
+ type: String,
7
+ default: "."
8
+ },
9
+ groupSeparator: {
10
+ type: String,
11
+ default: ","
12
+ },
13
+ precision: {
14
+ type: Number,
15
+ default: 0
16
+ },
17
+ formatter: Function,
18
+ value: {
19
+ type: definePropType([Number, Object]),
20
+ default: 0
21
+ },
22
+ prefix: String,
23
+ suffix: String,
24
+ title: String,
25
+ valueStyle: {
26
+ type: definePropType([String, Object, Array])
71
27
  }
72
28
  });
73
- var Statistic = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);
74
29
 
75
- export { Statistic as default };
30
+ export { statisticProps };
76
31
  //# sourceMappingURL=statistic2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"statistic2.mjs","sources":["../../../../../../packages/components/statistic/src/statistic.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div v-if=\"$slots.title || title\" :class=\"ns.e('head')\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </div>\n <div :class=\"ns.e('content')\">\n <div v-if=\"$slots.prefix || prefix\" :class=\"ns.e('prefix')\">\n <slot name=\"prefix\">\n <span>{{ prefix }}</span>\n </slot>\n </div>\n <span :class=\"ns.e('number')\" :style=\"valueStyle\">\n {{ displayValue }}\n </span>\n <div v-if=\"$slots.suffix || suffix\" :class=\"ns.e('suffix')\">\n <slot name=\"suffix\">\n <span>{{ suffix }}</span>\n </slot>\n </div>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { useNamespace } from '@element-plus/hooks'\nimport { isFunction, isNumber } from '@element-plus/utils'\nimport { statisticProps } from './statistic'\n\ndefineOptions({\n name: 'ElStatistic',\n})\n\nconst props = defineProps(statisticProps)\nconst ns = useNamespace('statistic')\n\nconst displayValue = computed(() => {\n const { value, formatter, precision, decimalSeparator, groupSeparator } =\n props\n\n if (isFunction(formatter)) return formatter(value)\n\n if (!isNumber(value)) return value\n\n let [integer, decimal = ''] = String(value).split('.')\n decimal = decimal\n .padEnd(precision, '0')\n .slice(0, precision > 0 ? precision : 0)\n integer = integer.replace(/\\B(?=(\\d{3})+(?!\\d))/g, groupSeparator)\n return [integer, decimal].join(decimal ? decimalSeparator : '')\n})\n\ndefineExpose({\n /**\n * @description current display value\n */\n displayValue,\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;mCA8Bc,CAAA;AAAA,EACZ,IAAM,EAAA,aAAA;AACR,CAAA,CAAA,CAAA;;;;;;AAGA,IAAM,MAAA,EAAA,GAAK,aAAa,WAAW,CAAA,CAAA;AAEnC,IAAM,MAAA,YAAA,GAAe,SAAS,MAAM;AAClC,MAAA,MAAM,EAAE,KAAA,EAAO,SAAW,EAAA,SAAA,EAAW,kBAAkB,cACrD,EAAA,GAAA,KAAA,CAAA;AAEF,MAAA,IAAI,WAAW,SAAS,CAAA;AAAG,QAAA,OAAO,UAAU,KAAK,CAAA,CAAA;AAEjD,MAAI,IAAA,CAAC,SAAS,KAAK,CAAA;AAAG,QAAO,OAAA,KAAA,CAAA;AAE7B,MAAI,IAAA,CAAC,SAAS,OAAU,GAAA,EAAA,CAAA,GAAM,OAAO,KAAK,CAAA,CAAE,MAAM,GAAG,CAAA,CAAA;AACrD,MAAU,OAAA,GAAA,OAAA,CACP,MAAO,CAAA,SAAA,EAAW,GAAG,CAAA,CACrB,MAAM,CAAG,EAAA,SAAA,GAAY,CAAI,GAAA,SAAA,GAAY,CAAC,CAAA,CAAA;AACzC,MAAU,OAAA,GAAA,OAAA,CAAQ,OAAQ,CAAA,uBAAA,EAAyB,cAAc,CAAA,CAAA;AACjE,MAAA,OAAO,CAAC,OAAS,EAAA,OAAO,EAAE,IAAK,CAAA,OAAA,GAAU,mBAAmB,EAAE,CAAA,CAAA;AAAA,KAC/D,CAAA,CAAA;AAED,IAAa,MAAA,CAAA;AAAA,MAIX,YAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"statistic2.mjs","sources":["../../../../../../packages/components/statistic/src/statistic.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, StyleValue } from 'vue'\nimport type { Dayjs } from 'dayjs'\nimport type Statistic from './statistic.vue'\n\nexport const statisticProps = buildProps({\n /**\n * @description Setting the decimal point\n */\n decimalSeparator: {\n type: String,\n default: '.',\n },\n /**\n * @description Sets the thousandth identifier\n */\n groupSeparator: {\n type: String,\n default: ',',\n },\n /**\n * @description numerical precision\n */\n precision: {\n type: Number,\n default: 0,\n },\n /**\n * @description Custom numerical presentation\n */\n formatter: Function,\n /**\n * @description Numerical content\n */\n value: {\n type: definePropType<number | Dayjs>([Number, Object]),\n default: 0,\n },\n /**\n * @description Sets the prefix of a number\n */\n prefix: String,\n\n /**\n * @description Sets the suffix of a number\n */\n suffix: String,\n /**\n * @description Numeric titles\n */\n title: String,\n /**\n * @description Styles numeric values\n */\n valueStyle: {\n type: definePropType<StyleValue>([String, Object, Array]),\n },\n} as const)\nexport type StatisticProps = ExtractPropTypes<typeof statisticProps>\n\nexport type StatisticInstance = InstanceType<typeof Statistic>\n"],"names":[],"mappings":";;;AACY,MAAC,cAAc,GAAG,UAAU,CAAC;AACzC,EAAE,gBAAgB,EAAE;AACpB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,cAAc,EAAE;AAClB,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,GAAG;AAChB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE,QAAQ;AACrB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC1C,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,MAAM,EAAE,MAAM;AAChB,EAAE,KAAK,EAAE,MAAM;AACf,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC,CAAC;AACjD,GAAG;AACH,CAAC;;;;"}
@@ -14,8 +14,8 @@ export declare const ElSteps: import("@element-plus/nightly/es/utils").SFCWithIn
14
14
  readonly validator: ((val: unknown) => boolean) | undefined;
15
15
  __epPropKey: true;
16
16
  };
17
- readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
18
- readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
17
+ readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
18
+ readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
19
19
  }, {
20
20
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
21
21
  readonly space: import("@element-plus/nightly/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
@@ -33,8 +33,8 @@ export declare const ElSteps: import("@element-plus/nightly/es/utils").SFCWithIn
33
33
  readonly validator: ((val: unknown) => boolean) | undefined;
34
34
  __epPropKey: true;
35
35
  };
36
- readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
37
- readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
36
+ readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
37
+ readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
38
38
  }>> & {
39
39
  onChange?: ((newVal: number, oldVal: number) => any) | undefined;
40
40
  }>>;
@@ -78,16 +78,16 @@ export declare const ElSteps: import("@element-plus/nightly/es/utils").SFCWithIn
78
78
  readonly validator: ((val: unknown) => boolean) | undefined;
79
79
  __epPropKey: true;
80
80
  };
81
- readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
82
- readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
81
+ readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
82
+ readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
83
83
  }>> & {
84
84
  onChange?: ((newVal: number, oldVal: number) => any) | undefined;
85
85
  }, {
86
86
  readonly space: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
87
87
  readonly active: number;
88
88
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
89
- readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
90
- readonly processStatus: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
89
+ readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
90
+ readonly processStatus: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
91
91
  }>> & {
92
92
  Step: import("vue").DefineComponent<{
93
93
  readonly title: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -98,7 +98,7 @@ export declare const ElSteps: import("@element-plus/nightly/es/utils").SFCWithIn
98
98
  __epPropKey: true;
99
99
  };
100
100
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
101
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
101
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
102
102
  }, {
103
103
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
104
104
  readonly title: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -109,7 +109,7 @@ export declare const ElSteps: import("@element-plus/nightly/es/utils").SFCWithIn
109
109
  __epPropKey: true;
110
110
  };
111
111
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
112
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
112
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
113
113
  }>> & {
114
114
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
115
115
  }>>;
@@ -229,11 +229,11 @@ export declare const ElSteps: import("@element-plus/nightly/es/utils").SFCWithIn
229
229
  __epPropKey: true;
230
230
  };
231
231
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
232
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
232
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
233
233
  }>>, {
234
234
  readonly title: string;
235
235
  readonly description: string;
236
- readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
236
+ readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown>;
237
237
  }>;
238
238
  };
239
239
  export default ElSteps;
@@ -246,7 +246,7 @@ export declare const ElStep: import("@element-plus/nightly/es/utils").SFCWithIns
246
246
  __epPropKey: true;
247
247
  };
248
248
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
249
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
249
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
250
250
  }, {
251
251
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
252
252
  readonly title: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -257,7 +257,7 @@ export declare const ElStep: import("@element-plus/nightly/es/utils").SFCWithIns
257
257
  __epPropKey: true;
258
258
  };
259
259
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
260
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
260
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
261
261
  }>> & {
262
262
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
263
263
  }>>;
@@ -377,11 +377,11 @@ export declare const ElStep: import("@element-plus/nightly/es/utils").SFCWithIns
377
377
  __epPropKey: true;
378
378
  };
379
379
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
380
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
380
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
381
381
  }>>, {
382
382
  readonly title: string;
383
383
  readonly description: string;
384
- readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
384
+ readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown>;
385
385
  }>>;
386
386
  export * from './src/item';
387
387
  export * from './src/steps';
@@ -9,7 +9,7 @@ export declare const stepProps: {
9
9
  __epPropKey: true;
10
10
  };
11
11
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
12
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
12
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
13
13
  };
14
14
  export declare type StepProps = ExtractPropTypes<typeof stepProps>;
15
15
  export declare type StepInstance = InstanceType<typeof Step>;
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
29
29
  __epPropKey: true;
30
30
  };
31
31
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
32
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
32
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
33
33
  }, {
34
34
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
35
35
  readonly title: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  __epPropKey: true;
41
41
  };
42
42
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
43
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
43
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
44
44
  }>> & {
45
45
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
46
46
  }>>;
@@ -160,10 +160,10 @@ declare const _default: import("vue").DefineComponent<{
160
160
  __epPropKey: true;
161
161
  };
162
162
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
163
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
163
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
164
164
  }>>, {
165
165
  readonly title: string;
166
166
  readonly description: string;
167
- readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
167
+ readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown>;
168
168
  }>;
169
169
  export default _default;
@@ -16,8 +16,8 @@ export declare const stepsProps: {
16
16
  readonly validator: ((val: unknown) => boolean) | undefined;
17
17
  __epPropKey: true;
18
18
  };
19
- readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
20
- readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
19
+ readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
20
+ readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
21
21
  };
22
22
  export declare type StepsProps = ExtractPropTypes<typeof stepsProps>;
23
23
  export declare const stepsEmits: {
@@ -15,8 +15,8 @@ declare const _default: import("vue").DefineComponent<{
15
15
  readonly validator: ((val: unknown) => boolean) | undefined;
16
16
  __epPropKey: true;
17
17
  };
18
- readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
19
- readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
18
+ readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
19
+ readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
20
20
  }, {
21
21
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
22
22
  readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{
34
34
  readonly validator: ((val: unknown) => boolean) | undefined;
35
35
  __epPropKey: true;
36
36
  };
37
- readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
38
- readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
37
+ readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
38
+ readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
39
39
  }>> & {
40
40
  onChange?: ((newVal: number, oldVal: number) => any) | undefined;
41
41
  }>>;
@@ -79,15 +79,15 @@ declare const _default: import("vue").DefineComponent<{
79
79
  readonly validator: ((val: unknown) => boolean) | undefined;
80
80
  __epPropKey: true;
81
81
  };
82
- readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
83
- readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
82
+ readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
83
+ readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
84
84
  }>> & {
85
85
  onChange?: ((newVal: number, oldVal: number) => any) | undefined;
86
86
  }, {
87
87
  readonly space: import("../../../utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
88
88
  readonly active: number;
89
89
  readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
90
- readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
91
- readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
90
+ readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
91
+ readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
92
92
  }>;
93
93
  export default _default;
@@ -180,7 +180,7 @@ export declare const ElTable: import("@element-plus/nightly/es/utils").SFCWithIn
180
180
  scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
181
181
  setScrollLeft: (left?: number | undefined) => void;
182
182
  setScrollTop: (top?: number | undefined) => void;
183
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select-all" | "expand-change" | "current-change" | "select" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
183
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
184
184
  data: {
185
185
  type: import("vue").PropType<any[]>;
186
186
  default: () => never[];
@@ -2415,7 +2415,7 @@ declare const _default: import("vue").DefineComponent<{
2415
2415
  readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>) | ((new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>))[], unknown, unknown, () => {}, boolean>;
2416
2416
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2417
2417
  }, {
2418
- emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
2418
+ emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
2419
2419
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2420
2420
  readonly id: StringConstructor;
2421
2421
  readonly style: {
@@ -2665,10 +2665,10 @@ declare const _default: import("vue").DefineComponent<{
2665
2665
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2666
2666
  }>> & {
2667
2667
  onClose?: (() => any) | undefined;
2668
- onFocus?: (() => any) | undefined;
2669
2668
  onBlur?: (() => any) | undefined;
2670
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2669
+ onFocus?: (() => any) | undefined;
2671
2670
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2671
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2672
2672
  }>>;
2673
2673
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
2674
2674
  trapped: import("vue").Ref<boolean>;
@@ -2737,7 +2737,7 @@ declare const _default: import("vue").DefineComponent<{
2737
2737
  };
2738
2738
  }, {
2739
2739
  onKeydown: (e: KeyboardEvent) => void;
2740
- }, 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<{
2740
+ }, 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<{
2741
2741
  loop: BooleanConstructor;
2742
2742
  trapped: BooleanConstructor;
2743
2743
  focusTrapEl: PropType<HTMLElement>;
@@ -3012,10 +3012,10 @@ declare const _default: import("vue").DefineComponent<{
3012
3012
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
3013
3013
  }>> & {
3014
3014
  onClose?: (() => any) | undefined;
3015
- onFocus?: (() => any) | undefined;
3016
3015
  onBlur?: (() => any) | undefined;
3017
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3016
+ onFocus?: (() => any) | undefined;
3018
3017
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3018
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3019
3019
  }, {
3020
3020
  readonly offset: number;
3021
3021
  readonly effect: string;
@@ -5368,7 +5368,7 @@ declare const _default: import("vue").DefineComponent<{
5368
5368
  readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>) | ((new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>))[], unknown, unknown, () => {}, boolean>;
5369
5369
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5370
5370
  }, {
5371
- emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
5371
+ emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
5372
5372
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
5373
5373
  readonly id: StringConstructor;
5374
5374
  readonly style: {
@@ -5618,10 +5618,10 @@ declare const _default: import("vue").DefineComponent<{
5618
5618
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5619
5619
  }>> & {
5620
5620
  onClose?: (() => any) | undefined;
5621
- onFocus?: (() => any) | undefined;
5622
5621
  onBlur?: (() => any) | undefined;
5623
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5622
+ onFocus?: (() => any) | undefined;
5624
5623
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5624
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5625
5625
  }>>;
5626
5626
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
5627
5627
  trapped: import("vue").Ref<boolean>;
@@ -5690,7 +5690,7 @@ declare const _default: import("vue").DefineComponent<{
5690
5690
  };
5691
5691
  }, {
5692
5692
  onKeydown: (e: KeyboardEvent) => void;
5693
- }, 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<{
5693
+ }, 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<{
5694
5694
  loop: BooleanConstructor;
5695
5695
  trapped: BooleanConstructor;
5696
5696
  focusTrapEl: PropType<HTMLElement>;
@@ -5965,10 +5965,10 @@ declare const _default: import("vue").DefineComponent<{
5965
5965
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5966
5966
  }>> & {
5967
5967
  onClose?: (() => any) | undefined;
5968
- onFocus?: (() => any) | undefined;
5969
5968
  onBlur?: (() => any) | undefined;
5970
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5969
+ onFocus?: (() => any) | undefined;
5971
5970
  onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5971
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5972
5972
  }, {
5973
5973
  readonly offset: number;
5974
5974
  readonly effect: string;
@@ -180,7 +180,7 @@ declare const _default: import("vue").DefineComponent<{
180
180
  scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
181
181
  setScrollLeft: (left?: number | undefined) => void;
182
182
  setScrollTop: (top?: number | undefined) => void;
183
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select-all" | "expand-change" | "current-change" | "select" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
183
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
184
184
  data: {
185
185
  type: import("vue").PropType<any[]>;
186
186
  default: () => never[];
@@ -1,10 +1,10 @@
1
1
  import '../../utils/index.mjs';
2
2
  import Tabs from './src/tabs.mjs';
3
3
  export { tabsEmits, tabsProps } from './src/tabs.mjs';
4
- import TabPane from './src/tab-pane2.mjs';
4
+ import TabPane from './src/tab-pane.mjs';
5
5
  export { tabBarProps } from './src/tab-bar.mjs';
6
6
  export { tabNavEmits, tabNavProps } from './src/tab-nav.mjs';
7
- export { tabPaneProps } from './src/tab-pane.mjs';
7
+ export { tabPaneProps } from './src/tab-pane2.mjs';
8
8
  export { tabsRootContextKey } from './src/constants.mjs';
9
9
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
10
10
 
@@ -1,18 +1,77 @@
1
+ import { defineComponent, getCurrentInstance, useSlots, inject, ref, computed, watch, reactive, onMounted, onUnmounted, unref, withDirectives, openBlock, createElementBlock, normalizeClass, renderSlot, vShow, createCommentVNode } from 'vue';
2
+ import { eagerComputed } from '@vueuse/core';
1
3
  import '../../../utils/index.mjs';
2
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
4
+ import '../../../hooks/index.mjs';
5
+ import { tabsRootContextKey } from './constants.mjs';
6
+ import { tabPaneProps } from './tab-pane2.mjs';
7
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
8
+ import { throwError } from '../../../utils/error.mjs';
9
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
3
10
 
4
- const tabPaneProps = buildProps({
5
- label: {
6
- type: String,
7
- default: ""
8
- },
9
- name: {
10
- type: [String, Number]
11
- },
12
- closable: Boolean,
13
- disabled: Boolean,
14
- lazy: Boolean
11
+ const _hoisted_1 = ["id", "aria-hidden", "aria-labelledby"];
12
+ const COMPONENT_NAME = "ElTabPane";
13
+ const __default__ = defineComponent({
14
+ name: COMPONENT_NAME
15
15
  });
16
+ const _sfc_main = /* @__PURE__ */ defineComponent({
17
+ ...__default__,
18
+ props: tabPaneProps,
19
+ setup(__props) {
20
+ const props = __props;
21
+ const instance = getCurrentInstance();
22
+ const slots = useSlots();
23
+ const tabsRoot = inject(tabsRootContextKey);
24
+ if (!tabsRoot)
25
+ throwError(COMPONENT_NAME, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
26
+ const ns = useNamespace("tab-pane");
27
+ const index = ref();
28
+ const isClosable = computed(() => props.closable || tabsRoot.props.closable);
29
+ const active = eagerComputed(() => {
30
+ var _a;
31
+ return tabsRoot.currentName.value === ((_a = props.name) != null ? _a : index.value);
32
+ });
33
+ const loaded = ref(active.value);
34
+ const paneName = computed(() => {
35
+ var _a;
36
+ return (_a = props.name) != null ? _a : index.value;
37
+ });
38
+ const shouldBeRender = eagerComputed(() => !props.lazy || loaded.value || active.value);
39
+ watch(active, (val) => {
40
+ if (val)
41
+ loaded.value = true;
42
+ });
43
+ const pane = reactive({
44
+ uid: instance.uid,
45
+ slots,
46
+ props,
47
+ paneName,
48
+ active,
49
+ index,
50
+ isClosable
51
+ });
52
+ onMounted(() => {
53
+ tabsRoot.registerPane(pane);
54
+ });
55
+ onUnmounted(() => {
56
+ tabsRoot.unregisterPane(pane.uid);
57
+ });
58
+ return (_ctx, _cache) => {
59
+ return unref(shouldBeRender) ? withDirectives((openBlock(), createElementBlock("div", {
60
+ key: 0,
61
+ id: `pane-${unref(paneName)}`,
62
+ class: normalizeClass(unref(ns).b()),
63
+ role: "tabpanel",
64
+ "aria-hidden": !unref(active),
65
+ "aria-labelledby": `tab-${unref(paneName)}`
66
+ }, [
67
+ renderSlot(_ctx.$slots, "default")
68
+ ], 10, _hoisted_1)), [
69
+ [vShow, unref(active)]
70
+ ]) : createCommentVNode("v-if", true);
71
+ };
72
+ }
73
+ });
74
+ var TabPane = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);
16
75
 
17
- export { tabPaneProps };
76
+ export { TabPane as default };
18
77
  //# sourceMappingURL=tab-pane.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab-pane.mjs","sources":["../../../../../../packages/components/tabs/src/tab-pane.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type TabPane from './tab-pane.vue'\n\nexport const tabPaneProps = buildProps({\n label: {\n type: String,\n default: '',\n },\n name: {\n type: [String, Number],\n },\n closable: Boolean,\n disabled: Boolean,\n lazy: Boolean,\n} as const)\n\nexport type TabPaneProps = ExtractPropTypes<typeof tabPaneProps>\n\nexport type TabPaneInstance = InstanceType<typeof TabPane>\n"],"names":[],"mappings":";;;AACY,MAAC,YAAY,GAAG,UAAU,CAAC;AACvC,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,GAAG;AACH,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,IAAI,EAAE,OAAO;AACf,CAAC;;;;"}
1
+ {"version":3,"file":"tab-pane.mjs","sources":["../../../../../../packages/components/tabs/src/tab-pane.vue"],"sourcesContent":["<template>\n <div\n v-if=\"shouldBeRender\"\n v-show=\"active\"\n :id=\"`pane-${paneName}`\"\n :class=\"ns.b()\"\n role=\"tabpanel\"\n :aria-hidden=\"!active\"\n :aria-labelledby=\"`tab-${paneName}`\"\n >\n <slot />\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n inject,\n onMounted,\n onUnmounted,\n reactive,\n ref,\n useSlots,\n watch,\n} from 'vue'\nimport { eagerComputed } from '@vueuse/core'\nimport { throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { tabsRootContextKey } from './constants'\nimport { tabPaneProps } from './tab-pane'\n\nconst COMPONENT_NAME = 'ElTabPane'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = defineProps(tabPaneProps)\n\nconst instance = getCurrentInstance()!\nconst slots = useSlots()\n\nconst tabsRoot = inject(tabsRootContextKey)\nif (!tabsRoot)\n throwError(COMPONENT_NAME, 'usage: <el-tabs><el-tab-pane /></el-tabs/>')\n\nconst ns = useNamespace('tab-pane')\n\nconst index = ref<string>()\nconst isClosable = computed(() => props.closable || tabsRoot.props.closable)\nconst active = eagerComputed(\n () => tabsRoot.currentName.value === (props.name ?? index.value)\n)\nconst loaded = ref(active.value)\nconst paneName = computed(() => props.name ?? index.value)\nconst shouldBeRender = eagerComputed(\n () => !props.lazy || loaded.value || active.value\n)\n\nwatch(active, (val) => {\n if (val) loaded.value = true\n})\n\nconst pane = reactive({\n uid: instance.uid,\n slots,\n props,\n paneName,\n active,\n index,\n isClosable,\n})\n\nonMounted(() => {\n tabsRoot.registerPane(pane)\n})\n\nonUnmounted(() => {\n tabsRoot.unregisterPane(pane.uid)\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;mCAiCc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAGA,IAAA,MAAM,WAAW,kBAAmB,EAAA,CAAA;AACpC,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,QAAA,GAAW,OAAO,kBAAkB,CAAA,CAAA;AAC1C,IAAA,IAAI,CAAC,QAAA;AACH,MAAA,UAAA,CAAW,gBAAgB,4CAA4C,CAAA,CAAA;AAEzE,IAAM,MAAA,EAAA,GAAK,aAAa,UAAU,CAAA,CAAA;AAElC,IAAA,MAAM,QAAQ,GAAY,EAAA,CAAA;AAC1B,IAAA,MAAM,aAAa,QAAS,CAAA,MAAM,MAAM,QAAY,IAAA,QAAA,CAAS,MAAM,QAAQ,CAAA,CAAA;AAC3E,IAAM,MAAA,MAAA,GAAS,cACb,MAAM;AAER,MAAM,IAAA,EAAA,CAAA;AACN,MAAA,eAAiB,CAAS,WAAA,CAAA,KAAY,MAAA,CAAA,EAAA,QAAc,CAAK,IAAA,KAAA,IAAA,GAAA,EAAA,GAAA,KAAA,CAAA,KAAA,CAAA,CAAA;AACzD,KAAM,CAAA,CAAA;AAIN,IAAM,MAAA,MAAA,GAAS,GAAQ,CAAA,MAAA,CAAA,KAAA,CAAA,CAAA;AACrB,IAAI,MAAA,QAAA,GAAA,QAAA,CAAA,MAAA;AAAK,MAAA,IAAA,EAAA,CAAA;AAAe,MACzB,OAAA,CAAA,EAAA,GAAA,KAAA,CAAA,IAAA,KAAA,IAAA,GAAA,EAAA,GAAA,KAAA,CAAA,KAAA,CAAA;AAED,KAAA,CAAA,CAAA;AAAsB,IAAA,oBACN,GAAA,aAAA,CAAA,MAAA,CAAA,KAAA,CAAA,IAAA,IAAA,MAAA,CAAA,KAAA,IAAA,MAAA,CAAA,KAAA,CAAA,CAAA;AAAA,IACd,KAAA,CAAA,MAAA,EAAA,CAAA,GAAA,KAAA;AAAA,MACA,IAAA,GAAA;AAAA,QACA,MAAA,CAAA,KAAA,GAAA,IAAA,CAAA;AAAA,KACA,CAAA,CAAA;AAAA,IACA,MAAA,IAAA,GAAA,QAAA,CAAA;AAAA,MACA,GAAA,EAAA,QAAA,CAAA,GAAA;AAAA,MACD,KAAA;AAED,MAAA,KAAA;AACE,MAAA,QAAA;AAA0B,MAC3B,MAAA;AAED,MAAA,KAAA;AACE,MAAS,UAAA;AAAuB,KACjC,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;"}