@element-plus/nightly 0.0.20221020 → 0.0.20221022

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 (427) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +527 -528
  3. package/dist/index.full.min.js +20 -20
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +21 -21
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +527 -528
  8. package/dist/locale/af.js +1 -1
  9. package/dist/locale/af.min.js +1 -1
  10. package/dist/locale/af.min.mjs +1 -1
  11. package/dist/locale/af.mjs +1 -1
  12. package/dist/locale/ar.js +1 -1
  13. package/dist/locale/ar.min.js +1 -1
  14. package/dist/locale/ar.min.mjs +1 -1
  15. package/dist/locale/ar.mjs +1 -1
  16. package/dist/locale/az.js +1 -1
  17. package/dist/locale/az.min.js +1 -1
  18. package/dist/locale/az.min.mjs +1 -1
  19. package/dist/locale/az.mjs +1 -1
  20. package/dist/locale/bg.js +1 -1
  21. package/dist/locale/bg.min.js +1 -1
  22. package/dist/locale/bg.min.mjs +1 -1
  23. package/dist/locale/bg.mjs +1 -1
  24. package/dist/locale/bn.js +1 -1
  25. package/dist/locale/bn.min.js +1 -1
  26. package/dist/locale/bn.min.mjs +1 -1
  27. package/dist/locale/bn.mjs +1 -1
  28. package/dist/locale/ca.js +1 -1
  29. package/dist/locale/ca.min.js +1 -1
  30. package/dist/locale/ca.min.mjs +1 -1
  31. package/dist/locale/ca.mjs +1 -1
  32. package/dist/locale/cs.js +1 -1
  33. package/dist/locale/cs.min.js +1 -1
  34. package/dist/locale/cs.min.mjs +1 -1
  35. package/dist/locale/cs.mjs +1 -1
  36. package/dist/locale/da.js +1 -1
  37. package/dist/locale/da.min.js +1 -1
  38. package/dist/locale/da.min.mjs +1 -1
  39. package/dist/locale/da.mjs +1 -1
  40. package/dist/locale/de.js +1 -1
  41. package/dist/locale/de.min.js +1 -1
  42. package/dist/locale/de.min.mjs +1 -1
  43. package/dist/locale/de.mjs +1 -1
  44. package/dist/locale/el.js +1 -1
  45. package/dist/locale/el.min.js +1 -1
  46. package/dist/locale/el.min.mjs +1 -1
  47. package/dist/locale/el.mjs +1 -1
  48. package/dist/locale/en.js +1 -1
  49. package/dist/locale/en.min.js +1 -1
  50. package/dist/locale/en.min.mjs +1 -1
  51. package/dist/locale/en.mjs +1 -1
  52. package/dist/locale/eo.js +1 -1
  53. package/dist/locale/eo.min.js +1 -1
  54. package/dist/locale/eo.min.mjs +1 -1
  55. package/dist/locale/eo.mjs +1 -1
  56. package/dist/locale/es.js +1 -1
  57. package/dist/locale/es.min.js +1 -1
  58. package/dist/locale/es.min.mjs +1 -1
  59. package/dist/locale/es.mjs +1 -1
  60. package/dist/locale/et.js +1 -1
  61. package/dist/locale/et.min.js +1 -1
  62. package/dist/locale/et.min.mjs +1 -1
  63. package/dist/locale/et.mjs +1 -1
  64. package/dist/locale/eu.js +1 -1
  65. package/dist/locale/eu.min.js +1 -1
  66. package/dist/locale/eu.min.mjs +1 -1
  67. package/dist/locale/eu.mjs +1 -1
  68. package/dist/locale/fa.js +1 -1
  69. package/dist/locale/fa.min.js +1 -1
  70. package/dist/locale/fa.min.mjs +1 -1
  71. package/dist/locale/fa.mjs +1 -1
  72. package/dist/locale/fi.js +1 -1
  73. package/dist/locale/fi.min.js +1 -1
  74. package/dist/locale/fi.min.mjs +1 -1
  75. package/dist/locale/fi.mjs +1 -1
  76. package/dist/locale/fr.js +1 -1
  77. package/dist/locale/fr.min.js +1 -1
  78. package/dist/locale/fr.min.mjs +1 -1
  79. package/dist/locale/fr.mjs +1 -1
  80. package/dist/locale/he.js +1 -1
  81. package/dist/locale/he.min.js +1 -1
  82. package/dist/locale/he.min.mjs +1 -1
  83. package/dist/locale/he.mjs +1 -1
  84. package/dist/locale/hr.js +1 -1
  85. package/dist/locale/hr.min.js +1 -1
  86. package/dist/locale/hr.min.mjs +1 -1
  87. package/dist/locale/hr.mjs +1 -1
  88. package/dist/locale/hu.js +1 -1
  89. package/dist/locale/hu.min.js +1 -1
  90. package/dist/locale/hu.min.mjs +1 -1
  91. package/dist/locale/hu.mjs +1 -1
  92. package/dist/locale/hy-am.js +1 -1
  93. package/dist/locale/hy-am.min.js +1 -1
  94. package/dist/locale/hy-am.min.mjs +1 -1
  95. package/dist/locale/hy-am.mjs +1 -1
  96. package/dist/locale/id.js +1 -1
  97. package/dist/locale/id.min.js +1 -1
  98. package/dist/locale/id.min.mjs +1 -1
  99. package/dist/locale/id.mjs +1 -1
  100. package/dist/locale/it.js +1 -1
  101. package/dist/locale/it.min.js +1 -1
  102. package/dist/locale/it.min.mjs +1 -1
  103. package/dist/locale/it.mjs +1 -1
  104. package/dist/locale/ja.js +1 -1
  105. package/dist/locale/ja.min.js +1 -1
  106. package/dist/locale/ja.min.mjs +1 -1
  107. package/dist/locale/ja.mjs +1 -1
  108. package/dist/locale/kk.js +1 -1
  109. package/dist/locale/kk.min.js +1 -1
  110. package/dist/locale/kk.min.mjs +1 -1
  111. package/dist/locale/kk.mjs +1 -1
  112. package/dist/locale/km.js +1 -1
  113. package/dist/locale/km.min.js +1 -1
  114. package/dist/locale/km.min.mjs +1 -1
  115. package/dist/locale/km.mjs +1 -1
  116. package/dist/locale/ko.js +1 -1
  117. package/dist/locale/ko.min.js +1 -1
  118. package/dist/locale/ko.min.mjs +1 -1
  119. package/dist/locale/ko.mjs +1 -1
  120. package/dist/locale/ku.js +1 -1
  121. package/dist/locale/ku.min.js +1 -1
  122. package/dist/locale/ku.min.mjs +1 -1
  123. package/dist/locale/ku.mjs +1 -1
  124. package/dist/locale/ky.js +1 -1
  125. package/dist/locale/ky.min.js +1 -1
  126. package/dist/locale/ky.min.mjs +1 -1
  127. package/dist/locale/ky.mjs +1 -1
  128. package/dist/locale/lt.js +1 -1
  129. package/dist/locale/lt.min.js +1 -1
  130. package/dist/locale/lt.min.mjs +1 -1
  131. package/dist/locale/lt.mjs +1 -1
  132. package/dist/locale/lv.js +1 -1
  133. package/dist/locale/lv.min.js +1 -1
  134. package/dist/locale/lv.min.mjs +1 -1
  135. package/dist/locale/lv.mjs +1 -1
  136. package/dist/locale/mg.js +1 -1
  137. package/dist/locale/mg.min.js +1 -1
  138. package/dist/locale/mg.min.mjs +1 -1
  139. package/dist/locale/mg.mjs +1 -1
  140. package/dist/locale/mn.js +1 -1
  141. package/dist/locale/mn.min.js +1 -1
  142. package/dist/locale/mn.min.mjs +1 -1
  143. package/dist/locale/mn.mjs +1 -1
  144. package/dist/locale/nb-no.js +1 -1
  145. package/dist/locale/nb-no.min.js +1 -1
  146. package/dist/locale/nb-no.min.mjs +1 -1
  147. package/dist/locale/nb-no.mjs +1 -1
  148. package/dist/locale/nl.js +1 -1
  149. package/dist/locale/nl.min.js +1 -1
  150. package/dist/locale/nl.min.mjs +1 -1
  151. package/dist/locale/nl.mjs +1 -1
  152. package/dist/locale/pa.js +1 -1
  153. package/dist/locale/pa.min.js +1 -1
  154. package/dist/locale/pa.min.mjs +1 -1
  155. package/dist/locale/pa.mjs +1 -1
  156. package/dist/locale/pl.js +1 -1
  157. package/dist/locale/pl.min.js +1 -1
  158. package/dist/locale/pl.min.mjs +1 -1
  159. package/dist/locale/pl.mjs +1 -1
  160. package/dist/locale/pt-br.js +1 -1
  161. package/dist/locale/pt-br.min.js +1 -1
  162. package/dist/locale/pt-br.min.mjs +1 -1
  163. package/dist/locale/pt-br.mjs +1 -1
  164. package/dist/locale/pt.js +1 -1
  165. package/dist/locale/pt.min.js +1 -1
  166. package/dist/locale/pt.min.mjs +1 -1
  167. package/dist/locale/pt.mjs +1 -1
  168. package/dist/locale/ro.js +1 -1
  169. package/dist/locale/ro.min.js +1 -1
  170. package/dist/locale/ro.min.mjs +1 -1
  171. package/dist/locale/ro.mjs +1 -1
  172. package/dist/locale/ru.js +1 -1
  173. package/dist/locale/ru.min.js +1 -1
  174. package/dist/locale/ru.min.mjs +1 -1
  175. package/dist/locale/ru.mjs +1 -1
  176. package/dist/locale/sk.js +1 -1
  177. package/dist/locale/sk.min.js +1 -1
  178. package/dist/locale/sk.min.mjs +1 -1
  179. package/dist/locale/sk.mjs +1 -1
  180. package/dist/locale/sl.js +1 -1
  181. package/dist/locale/sl.min.js +1 -1
  182. package/dist/locale/sl.min.mjs +1 -1
  183. package/dist/locale/sl.mjs +1 -1
  184. package/dist/locale/sr.js +1 -1
  185. package/dist/locale/sr.min.js +1 -1
  186. package/dist/locale/sr.min.mjs +1 -1
  187. package/dist/locale/sr.mjs +1 -1
  188. package/dist/locale/sv.js +1 -1
  189. package/dist/locale/sv.min.js +1 -1
  190. package/dist/locale/sv.min.mjs +1 -1
  191. package/dist/locale/sv.mjs +1 -1
  192. package/dist/locale/ta.js +1 -1
  193. package/dist/locale/ta.min.js +1 -1
  194. package/dist/locale/ta.min.mjs +1 -1
  195. package/dist/locale/ta.mjs +1 -1
  196. package/dist/locale/th.js +1 -1
  197. package/dist/locale/th.min.js +1 -1
  198. package/dist/locale/th.min.mjs +1 -1
  199. package/dist/locale/th.mjs +1 -1
  200. package/dist/locale/tk.js +1 -1
  201. package/dist/locale/tk.min.js +1 -1
  202. package/dist/locale/tk.min.mjs +1 -1
  203. package/dist/locale/tk.mjs +1 -1
  204. package/dist/locale/tr.js +1 -1
  205. package/dist/locale/tr.min.js +1 -1
  206. package/dist/locale/tr.min.mjs +1 -1
  207. package/dist/locale/tr.mjs +1 -1
  208. package/dist/locale/ug-cn.js +1 -1
  209. package/dist/locale/ug-cn.min.js +1 -1
  210. package/dist/locale/ug-cn.min.mjs +1 -1
  211. package/dist/locale/ug-cn.mjs +1 -1
  212. package/dist/locale/uk.js +1 -1
  213. package/dist/locale/uk.min.js +1 -1
  214. package/dist/locale/uk.min.mjs +1 -1
  215. package/dist/locale/uk.mjs +1 -1
  216. package/dist/locale/uz-uz.js +1 -1
  217. package/dist/locale/uz-uz.min.js +1 -1
  218. package/dist/locale/uz-uz.min.mjs +1 -1
  219. package/dist/locale/uz-uz.mjs +1 -1
  220. package/dist/locale/vi.js +1 -1
  221. package/dist/locale/vi.min.js +1 -1
  222. package/dist/locale/vi.min.mjs +1 -1
  223. package/dist/locale/vi.mjs +1 -1
  224. package/dist/locale/zh-cn.js +1 -1
  225. package/dist/locale/zh-cn.min.js +1 -1
  226. package/dist/locale/zh-cn.min.mjs +1 -1
  227. package/dist/locale/zh-cn.mjs +1 -1
  228. package/dist/locale/zh-tw.js +1 -1
  229. package/dist/locale/zh-tw.min.js +1 -1
  230. package/dist/locale/zh-tw.min.mjs +1 -1
  231. package/dist/locale/zh-tw.mjs +1 -1
  232. package/es/components/calendar/index.d.ts +23 -33
  233. package/es/components/calendar/src/calendar.d.ts +0 -2
  234. package/es/components/calendar/src/calendar.mjs.map +1 -1
  235. package/es/components/calendar/src/calendar.vue.d.ts +94 -108
  236. package/es/components/calendar/src/calendar2.mjs +18 -129
  237. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  238. package/es/components/calendar/src/instance.d.ts +2 -0
  239. package/es/components/calendar/src/use-calendar.d.ts +12 -0
  240. package/es/components/calendar/src/use-calendar.mjs +135 -0
  241. package/es/components/calendar/src/use-calendar.mjs.map +1 -0
  242. package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  243. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  244. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +24 -24
  245. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +26 -26
  246. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  247. package/es/components/date-picker/src/panel-utils.d.ts +53 -53
  248. package/es/components/dialog/index.d.ts +1 -0
  249. package/es/components/dialog/src/dialog.vue.d.ts +1 -0
  250. package/es/components/dialog/src/dialog2.mjs +4 -2
  251. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  252. package/es/components/dialog/src/use-dialog.d.ts +1 -0
  253. package/es/components/dialog/src/use-dialog.mjs +7 -0
  254. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  255. package/es/components/drawer/index.d.ts +1 -0
  256. package/es/components/drawer/src/drawer.vue.d.ts +1 -0
  257. package/es/components/index.mjs +6 -6
  258. package/es/components/menu/src/menu-item2.mjs +1 -1
  259. package/es/components/message/index.mjs +1 -1
  260. package/es/components/message/src/message.mjs +86 -146
  261. package/es/components/message/src/message.mjs.map +1 -1
  262. package/es/components/message/src/message2.mjs +146 -86
  263. package/es/components/message/src/message2.mjs.map +1 -1
  264. package/es/components/message/src/method.mjs +2 -2
  265. package/es/components/popover/style/css.d.ts +1 -1
  266. package/es/components/popover/style/css.mjs +1 -1
  267. package/es/components/popover/style/index.d.ts +1 -1
  268. package/es/components/popover/style/index.mjs +1 -1
  269. package/es/components/popper/index.mjs +4 -4
  270. package/es/components/popper/src/arrow.mjs +8 -37
  271. package/es/components/popper/src/arrow.mjs.map +1 -1
  272. package/es/components/popper/src/arrow2.mjs +37 -8
  273. package/es/components/popper/src/arrow2.mjs.map +1 -1
  274. package/es/components/popper/src/popper.mjs +25 -33
  275. package/es/components/popper/src/popper.mjs.map +1 -1
  276. package/es/components/popper/src/popper2.mjs +33 -25
  277. package/es/components/popper/src/popper2.mjs.map +1 -1
  278. package/es/components/select-v2/index.d.ts +2 -2
  279. package/es/components/select-v2/src/select.vue.d.ts +1 -1
  280. package/es/components/select-v2/src/useSelect.d.ts +1 -1
  281. package/es/components/select-v2/src/useSelect.mjs +5 -5
  282. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  283. package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  284. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
  285. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
  286. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  287. package/es/components/tooltip/src/tooltip.mjs +2 -2
  288. package/es/components/tooltip/src/tooltip2.mjs +1 -1
  289. package/es/components/transfer/src/composables/use-check.mjs +1 -1
  290. package/es/components/transfer/src/transfer-panel.mjs +131 -19
  291. package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
  292. package/es/components/transfer/src/transfer-panel2.mjs +19 -131
  293. package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
  294. package/es/components/transfer/src/transfer2.mjs +1 -1
  295. package/es/components/tree-v2/index.d.ts +868 -3
  296. package/es/components/tree-v2/src/composables/useCheck.d.ts +2 -1
  297. package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
  298. package/es/components/tree-v2/src/composables/useTree.d.ts +6 -3
  299. package/es/components/tree-v2/src/composables/useTree.mjs +1 -1
  300. package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
  301. package/es/components/tree-v2/src/tree-node.mjs +63 -78
  302. package/es/components/tree-v2/src/tree-node.mjs.map +1 -1
  303. package/es/components/tree-v2/src/tree-node.vue.d.ts +566 -3
  304. package/es/components/tree-v2/src/tree.mjs +62 -75
  305. package/es/components/tree-v2/src/tree.mjs.map +1 -1
  306. package/es/components/tree-v2/src/tree.vue.d.ts +868 -3
  307. package/es/components/tree-v2/src/types.d.ts +1 -1
  308. package/es/components/tree-v2/src/virtual-tree.d.ts +3 -2
  309. package/es/components/tree-v2/src/virtual-tree.mjs.map +1 -1
  310. package/es/components/upload/index.mjs +3 -3
  311. package/es/components/upload/src/upload-content.mjs +1 -1
  312. package/es/components/upload/src/upload-content2.mjs +2 -2
  313. package/es/components/upload/src/upload-dragger.mjs +70 -11
  314. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  315. package/es/components/upload/src/upload-dragger2.mjs +11 -70
  316. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  317. package/es/components/upload/src/upload-list.mjs +1 -1
  318. package/es/components/upload/src/upload.mjs +120 -105
  319. package/es/components/upload/src/upload.mjs.map +1 -1
  320. package/es/components/upload/src/upload2.mjs +105 -120
  321. package/es/components/upload/src/upload2.mjs.map +1 -1
  322. package/es/components/upload/src/use-handlers.mjs +1 -1
  323. package/es/index.mjs +6 -6
  324. package/es/version.d.ts +1 -1
  325. package/es/version.mjs +1 -1
  326. package/es/version.mjs.map +1 -1
  327. package/lib/components/calendar/index.d.ts +23 -33
  328. package/lib/components/calendar/src/calendar.d.ts +0 -2
  329. package/lib/components/calendar/src/calendar.js.map +1 -1
  330. package/lib/components/calendar/src/calendar.vue.d.ts +94 -108
  331. package/lib/components/calendar/src/calendar2.js +22 -137
  332. package/lib/components/calendar/src/calendar2.js.map +1 -1
  333. package/lib/components/calendar/src/instance.d.ts +2 -0
  334. package/lib/components/calendar/src/use-calendar.d.ts +12 -0
  335. package/lib/components/calendar/src/use-calendar.js +143 -0
  336. package/lib/components/calendar/src/use-calendar.js.map +1 -0
  337. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  338. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  339. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +24 -24
  340. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +26 -26
  341. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  342. package/lib/components/date-picker/src/panel-utils.d.ts +53 -53
  343. package/lib/components/dialog/index.d.ts +1 -0
  344. package/lib/components/dialog/src/dialog.vue.d.ts +1 -0
  345. package/lib/components/dialog/src/dialog2.js +4 -2
  346. package/lib/components/dialog/src/dialog2.js.map +1 -1
  347. package/lib/components/dialog/src/use-dialog.d.ts +1 -0
  348. package/lib/components/dialog/src/use-dialog.js +7 -0
  349. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  350. package/lib/components/drawer/index.d.ts +1 -0
  351. package/lib/components/drawer/src/drawer.vue.d.ts +1 -0
  352. package/lib/components/index.js +6 -6
  353. package/lib/components/menu/src/menu-item2.js +1 -1
  354. package/lib/components/message/index.js +1 -1
  355. package/lib/components/message/src/message.js +87 -144
  356. package/lib/components/message/src/message.js.map +1 -1
  357. package/lib/components/message/src/message2.js +144 -87
  358. package/lib/components/message/src/message2.js.map +1 -1
  359. package/lib/components/message/src/method.js +2 -2
  360. package/lib/components/popover/style/css.d.ts +1 -1
  361. package/lib/components/popover/style/css.js +1 -1
  362. package/lib/components/popover/style/index.d.ts +1 -1
  363. package/lib/components/popover/style/index.js +1 -1
  364. package/lib/components/popper/index.js +4 -4
  365. package/lib/components/popper/src/arrow.js +9 -37
  366. package/lib/components/popper/src/arrow.js.map +1 -1
  367. package/lib/components/popper/src/arrow2.js +37 -9
  368. package/lib/components/popper/src/arrow2.js.map +1 -1
  369. package/lib/components/popper/src/popper.js +28 -33
  370. package/lib/components/popper/src/popper.js.map +1 -1
  371. package/lib/components/popper/src/popper2.js +33 -28
  372. package/lib/components/popper/src/popper2.js.map +1 -1
  373. package/lib/components/select-v2/index.d.ts +2 -2
  374. package/lib/components/select-v2/src/select.vue.d.ts +1 -1
  375. package/lib/components/select-v2/src/useSelect.d.ts +1 -1
  376. package/lib/components/select-v2/src/useSelect.js +5 -5
  377. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  378. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  379. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
  380. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
  381. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  382. package/lib/components/tooltip/src/tooltip.js +2 -2
  383. package/lib/components/tooltip/src/tooltip2.js +1 -1
  384. package/lib/components/transfer/src/composables/use-check.js +1 -1
  385. package/lib/components/transfer/src/transfer-panel.js +131 -21
  386. package/lib/components/transfer/src/transfer-panel.js.map +1 -1
  387. package/lib/components/transfer/src/transfer-panel2.js +21 -131
  388. package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
  389. package/lib/components/transfer/src/transfer2.js +1 -1
  390. package/lib/components/tree-v2/index.d.ts +868 -3
  391. package/lib/components/tree-v2/src/composables/useCheck.d.ts +2 -1
  392. package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
  393. package/lib/components/tree-v2/src/composables/useTree.d.ts +6 -3
  394. package/lib/components/tree-v2/src/composables/useTree.js +1 -1
  395. package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
  396. package/lib/components/tree-v2/src/tree-node.js +66 -81
  397. package/lib/components/tree-v2/src/tree-node.js.map +1 -1
  398. package/lib/components/tree-v2/src/tree-node.vue.d.ts +566 -3
  399. package/lib/components/tree-v2/src/tree.js +61 -74
  400. package/lib/components/tree-v2/src/tree.js.map +1 -1
  401. package/lib/components/tree-v2/src/tree.vue.d.ts +868 -3
  402. package/lib/components/tree-v2/src/types.d.ts +1 -1
  403. package/lib/components/tree-v2/src/virtual-tree.d.ts +3 -2
  404. package/lib/components/tree-v2/src/virtual-tree.js.map +1 -1
  405. package/lib/components/upload/index.js +3 -3
  406. package/lib/components/upload/src/upload-content.js +1 -1
  407. package/lib/components/upload/src/upload-content2.js +2 -2
  408. package/lib/components/upload/src/upload-dragger.js +70 -12
  409. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  410. package/lib/components/upload/src/upload-dragger2.js +12 -70
  411. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  412. package/lib/components/upload/src/upload-list.js +1 -1
  413. package/lib/components/upload/src/upload.js +120 -108
  414. package/lib/components/upload/src/upload.js.map +1 -1
  415. package/lib/components/upload/src/upload2.js +108 -120
  416. package/lib/components/upload/src/upload2.js.map +1 -1
  417. package/lib/components/upload/src/use-handlers.js +1 -1
  418. package/lib/index.js +6 -6
  419. package/lib/version.d.ts +1 -1
  420. package/lib/version.js +1 -1
  421. package/lib/version.js.map +1 -1
  422. package/package.json +2 -2
  423. package/tags.json +1 -1
  424. package/theme-chalk/el-popover.css +1 -1
  425. package/theme-chalk/index.css +1 -1
  426. package/theme-chalk/src/popover.scss +10 -1
  427. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20221020 */
1
+ /*! Element Plus v0.0.20221022 */
2
2
 
3
3
  import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, inject, provide, onBeforeUnmount, toRef, onUnmounted, isRef, h as h$1, Teleport, onBeforeMount, defineComponent, normalizeClass, normalizeStyle, renderSlot, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, useAttrs as useAttrs$1, withModifiers, reactive, onUpdated, cloneVNode, Text, onDeactivated, renderList, withKeys, createSlots, toRefs, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, resolveDirective, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, triggerRef, shallowReactive, TransitionGroup, createApp, render } from 'vue';
4
4
 
@@ -11068,7 +11068,7 @@ const useOrderedChildren = (vm, childComponentName) => {
11068
11068
  };
11069
11069
  };
11070
11070
 
11071
- const version$1 = "0.0.20221020";
11071
+ const version$1 = "0.0.20221022";
11072
11072
 
11073
11073
  const makeInstaller = (components = []) => {
11074
11074
  const install = (app, options) => {
@@ -11118,11 +11118,11 @@ var _export_sfc = (sfc, props) => {
11118
11118
  };
11119
11119
 
11120
11120
  const COMPONENT_NAME$k = "ElAffix";
11121
- const __default__$1u = defineComponent({
11121
+ const __default__$1w = defineComponent({
11122
11122
  name: COMPONENT_NAME$k
11123
11123
  });
11124
11124
  const _sfc_main$2f = /* @__PURE__ */ defineComponent({
11125
- ...__default__$1u,
11125
+ ...__default__$1w,
11126
11126
  props: affixProps,
11127
11127
  emits: affixEmits,
11128
11128
  setup(__props, { expose, emit }) {
@@ -11238,12 +11238,12 @@ const iconProps = buildProps({
11238
11238
  }
11239
11239
  });
11240
11240
 
11241
- const __default__$1t = defineComponent({
11241
+ const __default__$1v = defineComponent({
11242
11242
  name: "ElIcon",
11243
11243
  inheritAttrs: false
11244
11244
  });
11245
11245
  const _sfc_main$2e = /* @__PURE__ */ defineComponent({
11246
- ...__default__$1t,
11246
+ ...__default__$1v,
11247
11247
  props: iconProps,
11248
11248
  setup(__props) {
11249
11249
  const props = __props;
@@ -11306,11 +11306,11 @@ const alertEmits = {
11306
11306
  close: (evt) => evt instanceof MouseEvent
11307
11307
  };
11308
11308
 
11309
- const __default__$1s = defineComponent({
11309
+ const __default__$1u = defineComponent({
11310
11310
  name: "ElAlert"
11311
11311
  });
11312
11312
  const _sfc_main$2d = /* @__PURE__ */ defineComponent({
11313
- ...__default__$1s,
11313
+ ...__default__$1u,
11314
11314
  props: alertProps,
11315
11315
  emits: alertEmits,
11316
11316
  setup(__props, { emit }) {
@@ -11577,12 +11577,12 @@ const inputEmits = {
11577
11577
  const _hoisted_1$13 = ["role"];
11578
11578
  const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"];
11579
11579
  const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"];
11580
- const __default__$1r = defineComponent({
11580
+ const __default__$1t = defineComponent({
11581
11581
  name: "ElInput",
11582
11582
  inheritAttrs: false
11583
11583
  });
11584
11584
  const _sfc_main$2c = /* @__PURE__ */ defineComponent({
11585
- ...__default__$1r,
11585
+ ...__default__$1t,
11586
11586
  props: inputProps,
11587
11587
  emits: inputEmits,
11588
11588
  setup(__props, { expose, emit }) {
@@ -12249,11 +12249,11 @@ const scrollbarEmits = {
12249
12249
  }) => [scrollTop, scrollLeft].every(isNumber)
12250
12250
  };
12251
12251
 
12252
- const __default__$1q = defineComponent({
12252
+ const __default__$1s = defineComponent({
12253
12253
  name: "ElScrollbar"
12254
12254
  });
12255
12255
  const _sfc_main$29 = /* @__PURE__ */ defineComponent({
12256
- ...__default__$1q,
12256
+ ...__default__$1s,
12257
12257
  props: scrollbarProps,
12258
12258
  emits: scrollbarEmits,
12259
12259
  setup(__props, { expose, emit }) {
@@ -12428,12 +12428,12 @@ const popperProps = buildProps({
12428
12428
  });
12429
12429
  const usePopperProps = popperProps;
12430
12430
 
12431
- const __default__$1p = defineComponent({
12431
+ const __default__$1r = defineComponent({
12432
12432
  name: "ElPopperRoot",
12433
12433
  inheritAttrs: false
12434
12434
  });
12435
12435
  const _sfc_main$28 = /* @__PURE__ */ defineComponent({
12436
- ...__default__$1p,
12436
+ ...__default__$1r,
12437
12437
  props: popperProps,
12438
12438
  setup(__props, { expose }) {
12439
12439
  const props = __props;
@@ -12466,12 +12466,12 @@ const popperArrowProps = buildProps({
12466
12466
  });
12467
12467
  const usePopperArrowProps = popperArrowProps;
12468
12468
 
12469
- const __default__$1o = defineComponent({
12469
+ const __default__$1q = defineComponent({
12470
12470
  name: "ElPopperArrow",
12471
12471
  inheritAttrs: false
12472
12472
  });
12473
12473
  const _sfc_main$27 = /* @__PURE__ */ defineComponent({
12474
- ...__default__$1o,
12474
+ ...__default__$1q,
12475
12475
  props: popperArrowProps,
12476
12476
  setup(__props, { expose }) {
12477
12477
  const props = __props;
@@ -12584,12 +12584,12 @@ const popperTriggerProps = buildProps({
12584
12584
  });
12585
12585
  const usePopperTriggerProps = popperTriggerProps;
12586
12586
 
12587
- const __default__$1n = defineComponent({
12587
+ const __default__$1p = defineComponent({
12588
12588
  name: "ElPopperTrigger",
12589
12589
  inheritAttrs: false
12590
12590
  });
12591
12591
  const _sfc_main$26 = /* @__PURE__ */ defineComponent({
12592
- ...__default__$1n,
12592
+ ...__default__$1p,
12593
12593
  props: popperTriggerProps,
12594
12594
  setup(__props, { expose }) {
12595
12595
  const props = __props;
@@ -13075,10 +13075,10 @@ const _sfc_main$25 = defineComponent({
13075
13075
  };
13076
13076
  }
13077
13077
  });
13078
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
13078
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
13079
13079
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
13080
13080
  }
13081
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$A], ["__file", "focus-trap.vue"]]);
13081
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$y], ["__file", "focus-trap.vue"]]);
13082
13082
 
13083
13083
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
13084
13084
  const popperCoreConfigProps = buildProps({
@@ -13242,11 +13242,11 @@ function deriveExtraModifiers(options, modifiers) {
13242
13242
  }
13243
13243
  }
13244
13244
 
13245
- const __default__$1m = defineComponent({
13245
+ const __default__$1o = defineComponent({
13246
13246
  name: "ElPopperContent"
13247
13247
  });
13248
13248
  const _sfc_main$24 = /* @__PURE__ */ defineComponent({
13249
- ...__default__$1m,
13249
+ ...__default__$1o,
13250
13250
  props: popperContentProps,
13251
13251
  emits: popperContentEmits,
13252
13252
  setup(__props, { expose, emit }) {
@@ -13532,11 +13532,11 @@ const whenTrigger = (trigger, type, handler) => {
13532
13532
  };
13533
13533
  };
13534
13534
 
13535
- const __default__$1l = defineComponent({
13535
+ const __default__$1n = defineComponent({
13536
13536
  name: "ElTooltipTrigger"
13537
13537
  });
13538
13538
  const _sfc_main$23 = /* @__PURE__ */ defineComponent({
13539
- ...__default__$1l,
13539
+ ...__default__$1n,
13540
13540
  props: useTooltipTriggerProps,
13541
13541
  setup(__props, { expose }) {
13542
13542
  const props = __props;
@@ -13597,12 +13597,12 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
13597
13597
  });
13598
13598
  var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["__file", "trigger.vue"]]);
13599
13599
 
13600
- const __default__$1k = defineComponent({
13600
+ const __default__$1m = defineComponent({
13601
13601
  name: "ElTooltipContent",
13602
13602
  inheritAttrs: false
13603
13603
  });
13604
13604
  const _sfc_main$22 = /* @__PURE__ */ defineComponent({
13605
- ...__default__$1k,
13605
+ ...__default__$1m,
13606
13606
  props: useTooltipContentProps,
13607
13607
  setup(__props, { expose }) {
13608
13608
  const props = __props;
@@ -13757,11 +13757,11 @@ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["__file", "co
13757
13757
 
13758
13758
  const _hoisted_1$12 = ["innerHTML"];
13759
13759
  const _hoisted_2$F = { key: 1 };
13760
- const __default__$1j = defineComponent({
13760
+ const __default__$1l = defineComponent({
13761
13761
  name: "ElTooltip"
13762
13762
  });
13763
13763
  const _sfc_main$21 = /* @__PURE__ */ defineComponent({
13764
- ...__default__$1j,
13764
+ ...__default__$1l,
13765
13765
  props: useTooltipProps,
13766
13766
  emits: tooltipEmits,
13767
13767
  setup(__props, { expose, emit }) {
@@ -13995,12 +13995,12 @@ const _hoisted_1$11 = ["aria-expanded", "aria-owns"];
13995
13995
  const _hoisted_2$E = { key: 0 };
13996
13996
  const _hoisted_3$k = ["id", "aria-selected", "onClick"];
13997
13997
  const COMPONENT_NAME$i = "ElAutocomplete";
13998
- const __default__$1i = defineComponent({
13998
+ const __default__$1k = defineComponent({
13999
13999
  name: COMPONENT_NAME$i,
14000
14000
  inheritAttrs: false
14001
14001
  });
14002
14002
  const _sfc_main$20 = /* @__PURE__ */ defineComponent({
14003
- ...__default__$1i,
14003
+ ...__default__$1k,
14004
14004
  props: autocompleteProps,
14005
14005
  emits: autocompleteEmits,
14006
14006
  setup(__props, { expose, emit }) {
@@ -14360,11 +14360,11 @@ const avatarEmits = {
14360
14360
  };
14361
14361
 
14362
14362
  const _hoisted_1$10 = ["src", "alt", "srcset"];
14363
- const __default__$1h = defineComponent({
14363
+ const __default__$1j = defineComponent({
14364
14364
  name: "ElAvatar"
14365
14365
  });
14366
14366
  const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
14367
- ...__default__$1h,
14367
+ ...__default__$1j,
14368
14368
  props: avatarProps,
14369
14369
  emits: avatarEmits,
14370
14370
  setup(__props, { emit }) {
@@ -14495,11 +14495,11 @@ const useBackTop = (props, emit, componentName) => {
14495
14495
  };
14496
14496
 
14497
14497
  const COMPONENT_NAME$h = "ElBacktop";
14498
- const __default__$1g = defineComponent({
14498
+ const __default__$1i = defineComponent({
14499
14499
  name: COMPONENT_NAME$h
14500
14500
  });
14501
14501
  const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14502
- ...__default__$1g,
14502
+ ...__default__$1i,
14503
14503
  props: backtopProps,
14504
14504
  emits: backtopEmits,
14505
14505
  setup(__props, { emit }) {
@@ -14561,11 +14561,11 @@ const badgeProps = buildProps({
14561
14561
  });
14562
14562
 
14563
14563
  const _hoisted_1$$ = ["textContent"];
14564
- const __default__$1f = defineComponent({
14564
+ const __default__$1h = defineComponent({
14565
14565
  name: "ElBadge"
14566
14566
  });
14567
14567
  const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
14568
- ...__default__$1f,
14568
+ ...__default__$1h,
14569
14569
  props: badgeProps,
14570
14570
  setup(__props, { expose }) {
14571
14571
  const props = __props;
@@ -14623,11 +14623,11 @@ const breadcrumbProps = buildProps({
14623
14623
  }
14624
14624
  });
14625
14625
 
14626
- const __default__$1e = defineComponent({
14626
+ const __default__$1g = defineComponent({
14627
14627
  name: "ElBreadcrumb"
14628
14628
  });
14629
14629
  const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
14630
- ...__default__$1e,
14630
+ ...__default__$1g,
14631
14631
  props: breadcrumbProps,
14632
14632
  setup(__props) {
14633
14633
  const props = __props;
@@ -14666,11 +14666,11 @@ const breadcrumbItemProps = buildProps({
14666
14666
  }
14667
14667
  });
14668
14668
 
14669
- const __default__$1d = defineComponent({
14669
+ const __default__$1f = defineComponent({
14670
14670
  name: "ElBreadcrumbItem"
14671
14671
  });
14672
14672
  const _sfc_main$1X = /* @__PURE__ */ defineComponent({
14673
- ...__default__$1d,
14673
+ ...__default__$1f,
14674
14674
  props: breadcrumbItemProps,
14675
14675
  setup(__props) {
14676
14676
  const props = __props;
@@ -15748,11 +15748,11 @@ function useButtonCustomStyle(props) {
15748
15748
  }
15749
15749
 
15750
15750
  const _hoisted_1$_ = ["aria-disabled", "disabled", "autofocus", "type"];
15751
- const __default__$1c = defineComponent({
15751
+ const __default__$1e = defineComponent({
15752
15752
  name: "ElButton"
15753
15753
  });
15754
15754
  const _sfc_main$1W = /* @__PURE__ */ defineComponent({
15755
- ...__default__$1c,
15755
+ ...__default__$1e,
15756
15756
  props: buttonProps,
15757
15757
  emits: buttonEmits,
15758
15758
  setup(__props, { expose, emit }) {
@@ -15824,11 +15824,11 @@ const buttonGroupProps = {
15824
15824
  type: buttonProps.type
15825
15825
  };
15826
15826
 
15827
- const __default__$1b = defineComponent({
15827
+ const __default__$1d = defineComponent({
15828
15828
  name: "ElButtonGroup"
15829
15829
  });
15830
15830
  const _sfc_main$1V = /* @__PURE__ */ defineComponent({
15831
- ...__default__$1b,
15831
+ ...__default__$1d,
15832
15832
  props: buttonGroupProps,
15833
15833
  setup(__props) {
15834
15834
  const props = __props;
@@ -16400,11 +16400,11 @@ const timePickerDefaultProps = buildProps({
16400
16400
 
16401
16401
  const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16402
16402
  const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16403
- const __default__$1a = defineComponent({
16403
+ const __default__$1c = defineComponent({
16404
16404
  name: "Picker"
16405
16405
  });
16406
16406
  const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16407
- ...__default__$1a,
16407
+ ...__default__$1c,
16408
16408
  props: timePickerDefaultProps,
16409
16409
  emits: [
16410
16410
  "update:modelValue",
@@ -18304,11 +18304,11 @@ const useDateTable = (props, emit) => {
18304
18304
 
18305
18305
  const _hoisted_1$W = { key: 0 };
18306
18306
  const _hoisted_2$B = ["onClick"];
18307
- const __default__$19 = defineComponent({
18307
+ const __default__$1b = defineComponent({
18308
18308
  name: "DateTable"
18309
18309
  });
18310
18310
  const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
18311
- ...__default__$19,
18311
+ ...__default__$1b,
18312
18312
  props: dateTableProps,
18313
18313
  emits: dateTableEmits,
18314
18314
  setup(__props, { expose, emit }) {
@@ -18386,6 +18386,126 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
18386
18386
  });
18387
18387
  var DateTable$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["__file", "date-table.vue"]]);
18388
18388
 
18389
+ const adjacentMonth = (start, end) => {
18390
+ const firstMonthLastDay = start.endOf("month");
18391
+ const lastMonthFirstDay = end.startOf("month");
18392
+ const isSameWeek = firstMonthLastDay.isSame(lastMonthFirstDay, "week");
18393
+ const lastMonthStartDay = isSameWeek ? lastMonthFirstDay.add(1, "week") : lastMonthFirstDay;
18394
+ return [
18395
+ [start, firstMonthLastDay],
18396
+ [lastMonthStartDay.startOf("week"), end]
18397
+ ];
18398
+ };
18399
+ const threeConsecutiveMonth = (start, end) => {
18400
+ const firstMonthLastDay = start.endOf("month");
18401
+ const secondMonthFirstDay = start.add(1, "month").startOf("month");
18402
+ const secondMonthStartDay = firstMonthLastDay.isSame(secondMonthFirstDay, "week") ? secondMonthFirstDay.add(1, "week") : secondMonthFirstDay;
18403
+ const secondMonthLastDay = secondMonthStartDay.endOf("month");
18404
+ const lastMonthFirstDay = end.startOf("month");
18405
+ const lastMonthStartDay = secondMonthLastDay.isSame(lastMonthFirstDay, "week") ? lastMonthFirstDay.add(1, "week") : lastMonthFirstDay;
18406
+ return [
18407
+ [start, firstMonthLastDay],
18408
+ [secondMonthStartDay.startOf("week"), secondMonthLastDay],
18409
+ [lastMonthStartDay.startOf("week"), end]
18410
+ ];
18411
+ };
18412
+ const useCalendar = (props, emit, componentName) => {
18413
+ const slots = useSlots();
18414
+ const { lang } = useLocale();
18415
+ const selectedDay = ref();
18416
+ const now = dayjs().locale(lang.value);
18417
+ const realSelectedDay = computed$1({
18418
+ get() {
18419
+ if (!props.modelValue)
18420
+ return selectedDay.value;
18421
+ return date.value;
18422
+ },
18423
+ set(val) {
18424
+ if (!val)
18425
+ return;
18426
+ selectedDay.value = val;
18427
+ const result = val.toDate();
18428
+ emit(INPUT_EVENT, result);
18429
+ emit(UPDATE_MODEL_EVENT, result);
18430
+ }
18431
+ });
18432
+ const validatedRange = computed$1(() => {
18433
+ if (!props.range)
18434
+ return [];
18435
+ const rangeArrDayjs = props.range.map((_) => dayjs(_).locale(lang.value));
18436
+ const [startDayjs, endDayjs] = rangeArrDayjs;
18437
+ if (startDayjs.isAfter(endDayjs)) {
18438
+ return [];
18439
+ }
18440
+ if (startDayjs.isSame(endDayjs, "month")) {
18441
+ return calculateValidatedDateRange(startDayjs, endDayjs);
18442
+ } else {
18443
+ if (startDayjs.add(1, "month").month() !== endDayjs.month()) {
18444
+ return [];
18445
+ }
18446
+ return calculateValidatedDateRange(startDayjs, endDayjs);
18447
+ }
18448
+ });
18449
+ const date = computed$1(() => {
18450
+ if (!props.modelValue) {
18451
+ return realSelectedDay.value || (validatedRange.value.length ? validatedRange.value[0][0] : now);
18452
+ } else {
18453
+ return dayjs(props.modelValue).locale(lang.value);
18454
+ }
18455
+ });
18456
+ const prevMonthDayjs = computed$1(() => date.value.subtract(1, "month").date(1));
18457
+ const nextMonthDayjs = computed$1(() => date.value.add(1, "month").date(1));
18458
+ const prevYearDayjs = computed$1(() => date.value.subtract(1, "year").date(1));
18459
+ const nextYearDayjs = computed$1(() => date.value.add(1, "year").date(1));
18460
+ const calculateValidatedDateRange = (startDayjs, endDayjs) => {
18461
+ const firstDay = startDayjs.startOf("week");
18462
+ const lastDay = endDayjs.endOf("week");
18463
+ const firstMonth = firstDay.get("month");
18464
+ const lastMonth = lastDay.get("month");
18465
+ if (firstMonth === lastMonth) {
18466
+ return [[firstDay, lastDay]];
18467
+ } else if (firstMonth + 1 === lastMonth) {
18468
+ return adjacentMonth(firstDay, lastDay);
18469
+ } else if (firstMonth + 2 === lastMonth || (firstMonth + 1) % 11 === lastMonth) {
18470
+ return threeConsecutiveMonth(firstDay, lastDay);
18471
+ } else {
18472
+ return [];
18473
+ }
18474
+ };
18475
+ const pickDay = (day) => {
18476
+ realSelectedDay.value = day;
18477
+ };
18478
+ const selectDate = (type) => {
18479
+ const dateMap = {
18480
+ "prev-month": prevMonthDayjs.value,
18481
+ "next-month": nextMonthDayjs.value,
18482
+ "prev-year": prevYearDayjs.value,
18483
+ "next-year": nextYearDayjs.value,
18484
+ today: now
18485
+ };
18486
+ const day = dateMap[type];
18487
+ if (!day.isSame(date.value, "day")) {
18488
+ pickDay(day);
18489
+ }
18490
+ };
18491
+ useDeprecated({
18492
+ from: '"dateCell"',
18493
+ replacement: '"date-cell"',
18494
+ scope: "ElCalendar",
18495
+ version: "2.3.0",
18496
+ ref: "https://element-plus.org/en-US/component/calendar.html#slots",
18497
+ type: "Slot"
18498
+ }, computed$1(() => !!slots.dateCell));
18499
+ return {
18500
+ calculateValidatedDateRange,
18501
+ date,
18502
+ realSelectedDay,
18503
+ pickDay,
18504
+ selectDate,
18505
+ validatedRange
18506
+ };
18507
+ };
18508
+
18389
18509
  const isValidRange$1 = (range) => isArray(range) && range.length === 2 && range.every((item) => isDate(item));
18390
18510
  const calendarProps = buildProps({
18391
18511
  modelValue: {
@@ -18402,132 +18522,29 @@ const calendarEmits = {
18402
18522
  };
18403
18523
 
18404
18524
  const COMPONENT_NAME$g = "ElCalendar";
18405
- const __default__$18 = defineComponent({
18525
+ const __default__$1a = defineComponent({
18406
18526
  name: COMPONENT_NAME$g
18407
18527
  });
18408
18528
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18409
- ...__default__$18,
18529
+ ...__default__$1a,
18410
18530
  props: calendarProps,
18411
18531
  emits: calendarEmits,
18412
18532
  setup(__props, { expose, emit }) {
18413
18533
  const props = __props;
18414
- const solts = useSlots();
18415
18534
  const ns = useNamespace("calendar");
18416
- const { t, lang } = useLocale();
18417
- const selectedDay = ref();
18418
- const now = dayjs().locale(lang.value);
18419
- const realSelectedDay = computed$1({
18420
- get() {
18421
- if (!props.modelValue)
18422
- return selectedDay.value;
18423
- return date.value;
18424
- },
18425
- set(val) {
18426
- if (!val)
18427
- return;
18428
- selectedDay.value = val;
18429
- const result = val.toDate();
18430
- emit(INPUT_EVENT, result);
18431
- emit(UPDATE_MODEL_EVENT, result);
18432
- }
18433
- });
18434
- const validatedRange = computed$1(() => {
18435
- if (!props.range)
18436
- return [];
18437
- const rangeArrDayjs = props.range.map((_) => dayjs(_).locale(lang.value));
18438
- const [startDayjs, endDayjs] = rangeArrDayjs;
18439
- if (startDayjs.isAfter(endDayjs)) {
18440
- return [];
18441
- }
18442
- if (startDayjs.isSame(endDayjs, "month")) {
18443
- return calculateValidatedDateRange(startDayjs, endDayjs);
18444
- } else {
18445
- if (startDayjs.add(1, "month").month() !== endDayjs.month()) {
18446
- return [];
18447
- }
18448
- return calculateValidatedDateRange(startDayjs, endDayjs);
18449
- }
18450
- });
18451
- const date = computed$1(() => {
18452
- if (!props.modelValue) {
18453
- if (realSelectedDay.value) {
18454
- return realSelectedDay.value;
18455
- } else if (validatedRange.value.length) {
18456
- return validatedRange.value[0][0];
18457
- }
18458
- return now;
18459
- } else {
18460
- return dayjs(props.modelValue).locale(lang.value);
18461
- }
18462
- });
18463
- const prevMonthDayjs = computed$1(() => date.value.subtract(1, "month").date(1));
18464
- const nextMonthDayjs = computed$1(() => date.value.add(1, "month").date(1));
18465
- const prevYearDayjs = computed$1(() => date.value.subtract(1, "year").date(1));
18466
- const nextYearDayjs = computed$1(() => date.value.add(1, "year").date(1));
18535
+ const {
18536
+ calculateValidatedDateRange,
18537
+ date,
18538
+ pickDay,
18539
+ realSelectedDay,
18540
+ selectDate,
18541
+ validatedRange
18542
+ } = useCalendar(props, emit);
18543
+ const { t } = useLocale();
18467
18544
  const i18nDate = computed$1(() => {
18468
18545
  const pickedMonth = `el.datepicker.month${date.value.format("M")}`;
18469
18546
  return `${date.value.year()} ${t("el.datepicker.year")} ${t(pickedMonth)}`;
18470
18547
  });
18471
- const calculateValidatedDateRange = (startDayjs, endDayjs) => {
18472
- const firstDay = startDayjs.startOf("week");
18473
- const lastDay = endDayjs.endOf("week");
18474
- const firstMonth = firstDay.get("month");
18475
- const lastMonth = lastDay.get("month");
18476
- if (firstMonth === lastMonth) {
18477
- return [[firstDay, lastDay]];
18478
- } else if (firstMonth + 1 === lastMonth) {
18479
- const firstMonthLastDay = firstDay.endOf("month");
18480
- const lastMonthFirstDay = lastDay.startOf("month");
18481
- const isSameWeek = firstMonthLastDay.isSame(lastMonthFirstDay, "week");
18482
- const lastMonthStartDay = isSameWeek ? lastMonthFirstDay.add(1, "week") : lastMonthFirstDay;
18483
- return [
18484
- [firstDay, firstMonthLastDay],
18485
- [lastMonthStartDay.startOf("week"), lastDay]
18486
- ];
18487
- } else if (firstMonth + 2 === lastMonth || (firstMonth + 1) % 11 === lastMonth) {
18488
- const firstMonthLastDay = firstDay.endOf("month");
18489
- const secondMonthFirstDay = firstDay.add(1, "month").startOf("month");
18490
- const secondMonthStartDay = firstMonthLastDay.isSame(secondMonthFirstDay, "week") ? secondMonthFirstDay.add(1, "week") : secondMonthFirstDay;
18491
- const secondMonthLastDay = secondMonthStartDay.endOf("month");
18492
- const lastMonthFirstDay = lastDay.startOf("month");
18493
- const lastMonthStartDay = secondMonthLastDay.isSame(lastMonthFirstDay, "week") ? lastMonthFirstDay.add(1, "week") : lastMonthFirstDay;
18494
- return [
18495
- [firstDay, firstMonthLastDay],
18496
- [secondMonthStartDay.startOf("week"), secondMonthLastDay],
18497
- [lastMonthStartDay.startOf("week"), lastDay]
18498
- ];
18499
- } else {
18500
- return [];
18501
- }
18502
- };
18503
- const pickDay = (day) => {
18504
- realSelectedDay.value = day;
18505
- };
18506
- const selectDate = (type) => {
18507
- let day;
18508
- if (type === "prev-month") {
18509
- day = prevMonthDayjs.value;
18510
- } else if (type === "next-month") {
18511
- day = nextMonthDayjs.value;
18512
- } else if (type === "prev-year") {
18513
- day = prevYearDayjs.value;
18514
- } else if (type === "next-year") {
18515
- day = nextYearDayjs.value;
18516
- } else {
18517
- day = now;
18518
- }
18519
- if (day.isSame(date.value, "day"))
18520
- return;
18521
- pickDay(day);
18522
- };
18523
- useDeprecated({
18524
- from: '"dateCell"',
18525
- replacement: '"date-cell"',
18526
- scope: "ElCalendar",
18527
- version: "2.3.0",
18528
- ref: "https://element-plus.org/en-US/component/calendar.html#slots",
18529
- type: "Slot"
18530
- }, computed$1(() => !!solts.dateCell));
18531
18548
  expose({
18532
18549
  selectedDay: realSelectedDay,
18533
18550
  pickDay,
@@ -18553,7 +18570,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18553
18570
  default: withCtx(() => [
18554
18571
  createVNode(unref(ElButton), {
18555
18572
  size: "small",
18556
- onClick: _cache[0] || (_cache[0] = ($event) => selectDate("prev-month"))
18573
+ onClick: _cache[0] || (_cache[0] = ($event) => unref(selectDate)("prev-month"))
18557
18574
  }, {
18558
18575
  default: withCtx(() => [
18559
18576
  createTextVNode(toDisplayString(unref(t)("el.datepicker.prevMonth")), 1)
@@ -18562,7 +18579,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18562
18579
  }),
18563
18580
  createVNode(unref(ElButton), {
18564
18581
  size: "small",
18565
- onClick: _cache[1] || (_cache[1] = ($event) => selectDate("today"))
18582
+ onClick: _cache[1] || (_cache[1] = ($event) => unref(selectDate)("today"))
18566
18583
  }, {
18567
18584
  default: withCtx(() => [
18568
18585
  createTextVNode(toDisplayString(unref(t)("el.datepicker.today")), 1)
@@ -18571,7 +18588,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18571
18588
  }),
18572
18589
  createVNode(unref(ElButton), {
18573
18590
  size: "small",
18574
- onClick: _cache[2] || (_cache[2] = ($event) => selectDate("next-month"))
18591
+ onClick: _cache[2] || (_cache[2] = ($event) => unref(selectDate)("next-month"))
18575
18592
  }, {
18576
18593
  default: withCtx(() => [
18577
18594
  createTextVNode(toDisplayString(unref(t)("el.datepicker.nextMonth")), 1)
@@ -18591,7 +18608,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18591
18608
  createVNode(DateTable$1, {
18592
18609
  date: unref(date),
18593
18610
  "selected-day": unref(realSelectedDay),
18594
- onPick: pickDay
18611
+ onPick: unref(pickDay)
18595
18612
  }, createSlots({ _: 2 }, [
18596
18613
  _ctx.$slots["date-cell"] || _ctx.$slots.dateCell ? {
18597
18614
  name: "date-cell",
@@ -18599,7 +18616,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18599
18616
  _ctx.$slots["date-cell"] ? renderSlot(_ctx.$slots, "date-cell", normalizeProps(mergeProps({ key: 0 }, data))) : renderSlot(_ctx.$slots, "dateCell", normalizeProps(mergeProps({ key: 1 }, data)))
18600
18617
  ])
18601
18618
  } : void 0
18602
- ]), 1032, ["date", "selected-day"])
18619
+ ]), 1032, ["date", "selected-day", "onPick"])
18603
18620
  ], 2)) : (openBlock(), createElementBlock("div", {
18604
18621
  key: 1,
18605
18622
  class: normalizeClass(unref(ns).e("body"))
@@ -18611,7 +18628,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18611
18628
  "selected-day": unref(realSelectedDay),
18612
18629
  range: range_,
18613
18630
  "hide-header": index !== 0,
18614
- onPick: pickDay
18631
+ onPick: unref(pickDay)
18615
18632
  }, createSlots({ _: 2 }, [
18616
18633
  _ctx.$slots["date-cell"] || _ctx.$slots.dateCell ? {
18617
18634
  name: "date-cell",
@@ -18619,7 +18636,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18619
18636
  _ctx.$slots["date-cell"] ? renderSlot(_ctx.$slots, "date-cell", normalizeProps(mergeProps({ key: 0 }, data))) : renderSlot(_ctx.$slots, "dateCell", normalizeProps(mergeProps({ key: 1 }, data)))
18620
18637
  ])
18621
18638
  } : void 0
18622
- ]), 1032, ["date", "selected-day", "range", "hide-header"]);
18639
+ ]), 1032, ["date", "selected-day", "range", "hide-header", "onPick"]);
18623
18640
  }), 128))
18624
18641
  ], 2))
18625
18642
  ], 2);
@@ -18646,11 +18663,11 @@ const cardProps = buildProps({
18646
18663
  }
18647
18664
  });
18648
18665
 
18649
- const __default__$17 = defineComponent({
18666
+ const __default__$19 = defineComponent({
18650
18667
  name: "ElCard"
18651
18668
  });
18652
18669
  const _sfc_main$1O = /* @__PURE__ */ defineComponent({
18653
- ...__default__$17,
18670
+ ...__default__$19,
18654
18671
  props: cardProps,
18655
18672
  setup(__props) {
18656
18673
  const ns = useNamespace("card");
@@ -18743,11 +18760,11 @@ const _hoisted_1$V = ["onMouseenter", "onMouseleave"];
18743
18760
  const _hoisted_2$A = ["onMouseenter", "onClick"];
18744
18761
  const _hoisted_3$j = { key: 0 };
18745
18762
  const THROTTLE_TIME = 300;
18746
- const __default__$16 = defineComponent({
18763
+ const __default__$18 = defineComponent({
18747
18764
  name: "ElCarousel"
18748
18765
  });
18749
18766
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18750
- ...__default__$16,
18767
+ ...__default__$18,
18751
18768
  props: carouselProps,
18752
18769
  emits: carouselEmits,
18753
18770
  setup(__props, { expose, emit }) {
@@ -19057,11 +19074,11 @@ const carouselItemProps = buildProps({
19057
19074
  });
19058
19075
 
19059
19076
  const CARD_SCALE = 0.83;
19060
- const __default__$15 = defineComponent({
19077
+ const __default__$17 = defineComponent({
19061
19078
  name: "ElCarouselItem"
19062
19079
  });
19063
19080
  const _sfc_main$1M = /* @__PURE__ */ defineComponent({
19064
- ...__default__$15,
19081
+ ...__default__$17,
19065
19082
  props: carouselItemProps,
19066
19083
  setup(__props) {
19067
19084
  const props = __props;
@@ -19427,11 +19444,11 @@ const useCheckbox = (props, slots) => {
19427
19444
  const _hoisted_1$U = ["tabindex", "role", "aria-checked"];
19428
19445
  const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
19429
19446
  const _hoisted_3$i = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
19430
- const __default__$14 = defineComponent({
19447
+ const __default__$16 = defineComponent({
19431
19448
  name: "ElCheckbox"
19432
19449
  });
19433
19450
  const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19434
- ...__default__$14,
19451
+ ...__default__$16,
19435
19452
  props: checkboxProps,
19436
19453
  emits: checkboxEmits,
19437
19454
  setup(__props) {
@@ -19532,11 +19549,11 @@ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox.v
19532
19549
 
19533
19550
  const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
19534
19551
  const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
19535
- const __default__$13 = defineComponent({
19552
+ const __default__$15 = defineComponent({
19536
19553
  name: "ElCheckboxButton"
19537
19554
  });
19538
19555
  const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19539
- ...__default__$13,
19556
+ ...__default__$15,
19540
19557
  props: checkboxProps,
19541
19558
  emits: checkboxEmits,
19542
19559
  setup(__props) {
@@ -19643,11 +19660,11 @@ const checkboxGroupEmits = {
19643
19660
  change: (val) => isArray(val)
19644
19661
  };
19645
19662
 
19646
- const __default__$12 = defineComponent({
19663
+ const __default__$14 = defineComponent({
19647
19664
  name: "ElCheckboxGroup"
19648
19665
  });
19649
19666
  const _sfc_main$1J = /* @__PURE__ */ defineComponent({
19650
- ...__default__$12,
19667
+ ...__default__$14,
19651
19668
  props: checkboxGroupProps,
19652
19669
  emits: checkboxGroupEmits,
19653
19670
  setup(__props, { emit }) {
@@ -19775,11 +19792,11 @@ const useRadio = (props, emit) => {
19775
19792
  };
19776
19793
 
19777
19794
  const _hoisted_1$S = ["value", "name", "disabled"];
19778
- const __default__$11 = defineComponent({
19795
+ const __default__$13 = defineComponent({
19779
19796
  name: "ElRadio"
19780
19797
  });
19781
19798
  const _sfc_main$1I = /* @__PURE__ */ defineComponent({
19782
- ...__default__$11,
19799
+ ...__default__$13,
19783
19800
  props: radioProps,
19784
19801
  emits: radioEmits,
19785
19802
  setup(__props, { emit }) {
@@ -19851,11 +19868,11 @@ const radioButtonProps = buildProps({
19851
19868
  });
19852
19869
 
19853
19870
  const _hoisted_1$R = ["value", "name", "disabled"];
19854
- const __default__$10 = defineComponent({
19871
+ const __default__$12 = defineComponent({
19855
19872
  name: "ElRadioButton"
19856
19873
  });
19857
19874
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
19858
- ...__default__$10,
19875
+ ...__default__$12,
19859
19876
  props: radioButtonProps,
19860
19877
  setup(__props) {
19861
19878
  const props = __props;
@@ -19945,11 +19962,11 @@ const radioGroupProps = buildProps({
19945
19962
  const radioGroupEmits = radioEmits;
19946
19963
 
19947
19964
  const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
19948
- const __default__$$ = defineComponent({
19965
+ const __default__$11 = defineComponent({
19949
19966
  name: "ElRadioGroup"
19950
19967
  });
19951
19968
  const _sfc_main$1G = /* @__PURE__ */ defineComponent({
19952
- ...__default__$$,
19969
+ ...__default__$11,
19953
19970
  props: radioGroupProps,
19954
19971
  emits: radioGroupEmits,
19955
19972
  setup(__props, { emit }) {
@@ -20145,7 +20162,7 @@ const _sfc_main$1F = defineComponent({
20145
20162
  });
20146
20163
  const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
20147
20164
  const _hoisted_2$x = /* @__PURE__ */ createElementVNode("span", null, null, -1);
20148
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20165
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
20149
20166
  const _component_el_checkbox = resolveComponent("el-checkbox");
20150
20167
  const _component_el_radio = resolveComponent("el-radio");
20151
20168
  const _component_check = resolveComponent("check");
@@ -20228,7 +20245,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20228
20245
  ], 64)) : createCommentVNode("v-if", true)
20229
20246
  ], 42, _hoisted_1$P);
20230
20247
  }
20231
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$z], ["__file", "node.vue"]]);
20248
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$x], ["__file", "node.vue"]]);
20232
20249
 
20233
20250
  const _sfc_main$1E = defineComponent({
20234
20251
  name: "ElCascaderMenu",
@@ -20308,7 +20325,7 @@ const _sfc_main$1E = defineComponent({
20308
20325
  };
20309
20326
  }
20310
20327
  });
20311
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20328
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
20312
20329
  const _component_el_cascader_node = resolveComponent("el-cascader-node");
20313
20330
  const _component_loading = resolveComponent("loading");
20314
20331
  const _component_el_icon = resolveComponent("el-icon");
@@ -20361,7 +20378,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20361
20378
  _: 1
20362
20379
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
20363
20380
  }
20364
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$y], ["__file", "menu.vue"]]);
20381
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$w], ["__file", "menu.vue"]]);
20365
20382
 
20366
20383
  let uid = 0;
20367
20384
  const calculatePathNodes = (node) => {
@@ -20834,7 +20851,7 @@ const _sfc_main$1D = defineComponent({
20834
20851
  };
20835
20852
  }
20836
20853
  });
20837
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
20854
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
20838
20855
  const _component_el_cascader_menu = resolveComponent("el-cascader-menu");
20839
20856
  return openBlock(), createElementBlock("div", {
20840
20857
  class: normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
@@ -20851,7 +20868,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
20851
20868
  }), 128))
20852
20869
  ], 34);
20853
20870
  }
20854
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$x], ["__file", "index.vue"]]);
20871
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$v], ["__file", "index.vue"]]);
20855
20872
 
20856
20873
  CascaderPanel.install = (app) => {
20857
20874
  app.component(CascaderPanel.name, CascaderPanel);
@@ -20889,11 +20906,11 @@ const tagEmits = {
20889
20906
  click: (evt) => evt instanceof MouseEvent
20890
20907
  };
20891
20908
 
20892
- const __default__$_ = defineComponent({
20909
+ const __default__$10 = defineComponent({
20893
20910
  name: "ElTag"
20894
20911
  });
20895
20912
  const _sfc_main$1C = /* @__PURE__ */ defineComponent({
20896
- ...__default__$_,
20913
+ ...__default__$10,
20897
20914
  props: tagProps,
20898
20915
  emits: tagEmits,
20899
20916
  setup(__props, { emit }) {
@@ -21427,7 +21444,7 @@ const _sfc_main$1B = defineComponent({
21427
21444
  const _hoisted_1$O = { key: 0 };
21428
21445
  const _hoisted_2$w = ["placeholder"];
21429
21446
  const _hoisted_3$h = ["onClick"];
21430
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
21447
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
21431
21448
  const _component_circle_close = resolveComponent("circle-close");
21432
21449
  const _component_el_icon = resolveComponent("el-icon");
21433
21450
  const _component_arrow_down = resolveComponent("arrow-down");
@@ -21655,7 +21672,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
21655
21672
  _: 3
21656
21673
  }, 8, ["visible", "teleported", "popper-class", "popper-options", "transition", "onHide"]);
21657
21674
  }
21658
- var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$w], ["__file", "index.vue"]]);
21675
+ var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$u], ["__file", "index.vue"]]);
21659
21676
 
21660
21677
  Cascader.install = (app) => {
21661
21678
  app.component(Cascader.name, Cascader);
@@ -21674,11 +21691,11 @@ const checkTagEmits = {
21674
21691
  [CHANGE_EVENT]: (value) => isBoolean(value)
21675
21692
  };
21676
21693
 
21677
- const __default__$Z = defineComponent({
21694
+ const __default__$$ = defineComponent({
21678
21695
  name: "ElCheckTag"
21679
21696
  });
21680
21697
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
21681
- ...__default__$Z,
21698
+ ...__default__$$,
21682
21699
  props: checkTagProps,
21683
21700
  emits: checkTagEmits,
21684
21701
  setup(__props, { emit }) {
@@ -21746,11 +21763,11 @@ const colProps = buildProps({
21746
21763
  }
21747
21764
  });
21748
21765
 
21749
- const __default__$Y = defineComponent({
21766
+ const __default__$_ = defineComponent({
21750
21767
  name: "ElCol"
21751
21768
  });
21752
21769
  const _sfc_main$1z = /* @__PURE__ */ defineComponent({
21753
- ...__default__$Y,
21770
+ ...__default__$_,
21754
21771
  props: colProps,
21755
21772
  setup(__props) {
21756
21773
  const props = __props;
@@ -21820,11 +21837,11 @@ const collapseEmits = {
21820
21837
  [CHANGE_EVENT]: emitChangeFn
21821
21838
  };
21822
21839
 
21823
- const __default__$X = defineComponent({
21840
+ const __default__$Z = defineComponent({
21824
21841
  name: "ElCollapse"
21825
21842
  });
21826
21843
  const _sfc_main$1y = /* @__PURE__ */ defineComponent({
21827
- ...__default__$X,
21844
+ ...__default__$Z,
21828
21845
  props: collapseProps,
21829
21846
  emits: collapseEmits,
21830
21847
  setup(__props, { expose, emit }) {
@@ -21875,11 +21892,11 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
21875
21892
  });
21876
21893
  var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
21877
21894
 
21878
- const __default__$W = defineComponent({
21895
+ const __default__$Y = defineComponent({
21879
21896
  name: "ElCollapseTransition"
21880
21897
  });
21881
21898
  const _sfc_main$1x = /* @__PURE__ */ defineComponent({
21882
- ...__default__$W,
21899
+ ...__default__$Y,
21883
21900
  setup(__props) {
21884
21901
  const ns = useNamespace("collapse-transition");
21885
21902
  const on = {
@@ -21967,11 +21984,11 @@ const collapseItemProps = buildProps({
21967
21984
  const _hoisted_1$N = ["aria-expanded", "aria-controls", "aria-describedby"];
21968
21985
  const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
21969
21986
  const _hoisted_3$g = ["id", "aria-hidden", "aria-labelledby"];
21970
- const __default__$V = defineComponent({
21987
+ const __default__$X = defineComponent({
21971
21988
  name: "ElCollapseItem"
21972
21989
  });
21973
21990
  const _sfc_main$1w = /* @__PURE__ */ defineComponent({
21974
- ...__default__$V,
21991
+ ...__default__$X,
21975
21992
  props: collapseItemProps,
21976
21993
  setup(__props, { expose }) {
21977
21994
  const props = __props;
@@ -22223,7 +22240,7 @@ const _sfc_main$1v = defineComponent({
22223
22240
  };
22224
22241
  }
22225
22242
  });
22226
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22243
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22227
22244
  return openBlock(), createElementBlock("div", {
22228
22245
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
22229
22246
  }, [
@@ -22245,7 +22262,7 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22245
22262
  }, null, 6)
22246
22263
  ], 2);
22247
22264
  }
22248
- var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$v], ["__file", "alpha-slider.vue"]]);
22265
+ var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$t], ["__file", "alpha-slider.vue"]]);
22249
22266
 
22250
22267
  const _sfc_main$1u = defineComponent({
22251
22268
  name: "ElColorHueSlider",
@@ -22348,7 +22365,7 @@ const _sfc_main$1u = defineComponent({
22348
22365
  };
22349
22366
  }
22350
22367
  });
22351
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22368
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22352
22369
  return openBlock(), createElementBlock("div", {
22353
22370
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
22354
22371
  }, [
@@ -22367,7 +22384,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22367
22384
  }, null, 6)
22368
22385
  ], 2);
22369
22386
  }
22370
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$u], ["__file", "hue-slider.vue"]]);
22387
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$s], ["__file", "hue-slider.vue"]]);
22371
22388
 
22372
22389
  const colorPickerProps = buildProps({
22373
22390
  modelValue: String,
@@ -22733,7 +22750,7 @@ const _sfc_main$1t = defineComponent({
22733
22750
  }
22734
22751
  });
22735
22752
  const _hoisted_1$M = ["onClick"];
22736
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22753
+ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
22737
22754
  return openBlock(), createElementBlock("div", {
22738
22755
  class: normalizeClass(_ctx.ns.b())
22739
22756
  }, [
@@ -22758,7 +22775,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22758
22775
  ], 2)
22759
22776
  ], 2);
22760
22777
  }
22761
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$t], ["__file", "predefine.vue"]]);
22778
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$r], ["__file", "predefine.vue"]]);
22762
22779
 
22763
22780
  const _sfc_main$1s = defineComponent({
22764
22781
  name: "ElSlPanel",
@@ -22834,7 +22851,7 @@ const _hoisted_1$L = /* @__PURE__ */ createElementVNode("div", null, null, -1);
22834
22851
  const _hoisted_2$u = [
22835
22852
  _hoisted_1$L
22836
22853
  ];
22837
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22854
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
22838
22855
  return openBlock(), createElementBlock("div", {
22839
22856
  class: normalizeClass(_ctx.ns.b()),
22840
22857
  style: normalizeStyle({
@@ -22856,14 +22873,14 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22856
22873
  }, _hoisted_2$u, 6)
22857
22874
  ], 6);
22858
22875
  }
22859
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$s], ["__file", "sv-panel.vue"]]);
22876
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$q], ["__file", "sv-panel.vue"]]);
22860
22877
 
22861
22878
  const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex", "onKeydown"];
22862
- const __default__$U = defineComponent({
22879
+ const __default__$W = defineComponent({
22863
22880
  name: "ElColorPicker"
22864
22881
  });
22865
22882
  const _sfc_main$1r = /* @__PURE__ */ defineComponent({
22866
- ...__default__$U,
22883
+ ...__default__$W,
22867
22884
  props: colorPickerProps,
22868
22885
  emits: colorPickerEmits,
22869
22886
  setup(__props, { expose, emit }) {
@@ -23199,11 +23216,11 @@ const ConfigProvider = defineComponent({
23199
23216
 
23200
23217
  const ElConfigProvider = withInstall(ConfigProvider);
23201
23218
 
23202
- const __default__$T = defineComponent({
23219
+ const __default__$V = defineComponent({
23203
23220
  name: "ElContainer"
23204
23221
  });
23205
23222
  const _sfc_main$1q = /* @__PURE__ */ defineComponent({
23206
- ...__default__$T,
23223
+ ...__default__$V,
23207
23224
  props: {
23208
23225
  direction: {
23209
23226
  type: String
@@ -23240,11 +23257,11 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
23240
23257
  });
23241
23258
  var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
23242
23259
 
23243
- const __default__$S = defineComponent({
23260
+ const __default__$U = defineComponent({
23244
23261
  name: "ElAside"
23245
23262
  });
23246
23263
  const _sfc_main$1p = /* @__PURE__ */ defineComponent({
23247
- ...__default__$S,
23264
+ ...__default__$U,
23248
23265
  props: {
23249
23266
  width: {
23250
23267
  type: String,
@@ -23267,11 +23284,11 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
23267
23284
  });
23268
23285
  var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
23269
23286
 
23270
- const __default__$R = defineComponent({
23287
+ const __default__$T = defineComponent({
23271
23288
  name: "ElFooter"
23272
23289
  });
23273
23290
  const _sfc_main$1o = /* @__PURE__ */ defineComponent({
23274
- ...__default__$R,
23291
+ ...__default__$T,
23275
23292
  props: {
23276
23293
  height: {
23277
23294
  type: String,
@@ -23294,11 +23311,11 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
23294
23311
  });
23295
23312
  var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
23296
23313
 
23297
- const __default__$Q = defineComponent({
23314
+ const __default__$S = defineComponent({
23298
23315
  name: "ElHeader"
23299
23316
  });
23300
23317
  const _sfc_main$1n = /* @__PURE__ */ defineComponent({
23301
- ...__default__$Q,
23318
+ ...__default__$S,
23302
23319
  props: {
23303
23320
  height: {
23304
23321
  type: String,
@@ -23325,11 +23342,11 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
23325
23342
  });
23326
23343
  var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
23327
23344
 
23328
- const __default__$P = defineComponent({
23345
+ const __default__$R = defineComponent({
23329
23346
  name: "ElMain"
23330
23347
  });
23331
23348
  const _sfc_main$1m = /* @__PURE__ */ defineComponent({
23332
- ...__default__$P,
23349
+ ...__default__$R,
23333
23350
  setup(__props) {
23334
23351
  const ns = useNamespace("main");
23335
23352
  return (_ctx, _cache) => {
@@ -25777,11 +25794,11 @@ const _hoisted_1$E = ["onClick"];
25777
25794
  const _hoisted_2$o = ["disabled"];
25778
25795
  const _hoisted_3$a = ["disabled"];
25779
25796
  const unit = "year";
25780
- const __default__$O = defineComponent({
25797
+ const __default__$Q = defineComponent({
25781
25798
  name: "DatePickerMonthRange"
25782
25799
  });
25783
25800
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
25784
- ...__default__$O,
25801
+ ...__default__$Q,
25785
25802
  props: panelMonthRangeProps,
25786
25803
  emits: panelMonthRangeEmits,
25787
25804
  setup(__props, { emit }) {
@@ -26161,11 +26178,11 @@ const descriptionsRowProps = buildProps({
26161
26178
  });
26162
26179
 
26163
26180
  const _hoisted_1$D = { key: 1 };
26164
- const __default__$N = defineComponent({
26181
+ const __default__$P = defineComponent({
26165
26182
  name: "ElDescriptionsRow"
26166
26183
  });
26167
26184
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
26168
- ...__default__$N,
26185
+ ...__default__$P,
26169
26186
  props: descriptionsRowProps,
26170
26187
  setup(__props) {
26171
26188
  const descriptions = inject(descriptionsKey, {});
@@ -26246,11 +26263,11 @@ const descriptionProps = buildProps({
26246
26263
  }
26247
26264
  });
26248
26265
 
26249
- const __default__$M = defineComponent({
26266
+ const __default__$O = defineComponent({
26250
26267
  name: "ElDescriptions"
26251
26268
  });
26252
26269
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
26253
- ...__default__$M,
26270
+ ...__default__$O,
26254
26271
  props: descriptionProps,
26255
26272
  setup(__props) {
26256
26273
  const props = __props;
@@ -26491,9 +26508,9 @@ const dialogContentEmits = {
26491
26508
 
26492
26509
  const _hoisted_1$C = ["aria-label"];
26493
26510
  const _hoisted_2$n = ["id"];
26494
- const __default__$L = defineComponent({ name: "ElDialogContent" });
26511
+ const __default__$N = defineComponent({ name: "ElDialogContent" });
26495
26512
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
26496
- ...__default__$L,
26513
+ ...__default__$N,
26497
26514
  props: dialogContentProps,
26498
26515
  emits: dialogContentEmits,
26499
26516
  setup(__props) {
@@ -26727,6 +26744,12 @@ const useDialog = (props, targetRef) => {
26727
26744
  function onCloseAutoFocus() {
26728
26745
  emit("closeAutoFocus");
26729
26746
  }
26747
+ function onFocusoutPrevented(event) {
26748
+ var _a;
26749
+ if (((_a = event.detail) == null ? void 0 : _a.focusReason) === "pointer") {
26750
+ event.preventDefault();
26751
+ }
26752
+ }
26730
26753
  if (props.lockScroll) {
26731
26754
  useLockscreen(visible);
26732
26755
  }
@@ -26781,6 +26804,7 @@ const useDialog = (props, targetRef) => {
26781
26804
  onOpenAutoFocus,
26782
26805
  onCloseAutoFocus,
26783
26806
  onCloseRequested,
26807
+ onFocusoutPrevented,
26784
26808
  titleId,
26785
26809
  bodyId,
26786
26810
  closed,
@@ -26793,12 +26817,12 @@ const useDialog = (props, targetRef) => {
26793
26817
  };
26794
26818
 
26795
26819
  const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
26796
- const __default__$K = defineComponent({
26820
+ const __default__$M = defineComponent({
26797
26821
  name: "ElDialog",
26798
26822
  inheritAttrs: false
26799
26823
  });
26800
26824
  const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26801
- ...__default__$K,
26825
+ ...__default__$M,
26802
26826
  props: dialogProps,
26803
26827
  emits: dialogEmits,
26804
26828
  setup(__props, { expose }) {
@@ -26838,7 +26862,8 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26838
26862
  onModalClick,
26839
26863
  onOpenAutoFocus,
26840
26864
  onCloseAutoFocus,
26841
- onCloseRequested
26865
+ onCloseRequested,
26866
+ onFocusoutPrevented
26842
26867
  } = useDialog(props, dialogRef);
26843
26868
  provide(dialogInjectionKey, {
26844
26869
  dialogRef,
@@ -26892,6 +26917,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26892
26917
  "focus-start-el": "container",
26893
26918
  onFocusAfterTrapped: unref(onOpenAutoFocus),
26894
26919
  onFocusAfterReleased: unref(onCloseAutoFocus),
26920
+ onFocusoutPrevented: unref(onFocusoutPrevented),
26895
26921
  onReleaseRequested: unref(onCloseRequested)
26896
26922
  }, {
26897
26923
  default: withCtx(() => [
@@ -26932,7 +26958,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26932
26958
  ]), 1040, ["custom-class", "center", "align-center", "close-icon", "draggable", "fullscreen", "show-close", "title", "onClose"])) : createCommentVNode("v-if", true)
26933
26959
  ]),
26934
26960
  _: 3
26935
- }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onReleaseRequested"])
26961
+ }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
26936
26962
  ], 46, _hoisted_1$B)
26937
26963
  ]),
26938
26964
  _: 3
@@ -26967,11 +26993,11 @@ const dividerProps = buildProps({
26967
26993
  }
26968
26994
  });
26969
26995
 
26970
- const __default__$J = defineComponent({
26996
+ const __default__$L = defineComponent({
26971
26997
  name: "ElDivider"
26972
26998
  });
26973
26999
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
26974
- ...__default__$J,
27000
+ ...__default__$L,
26975
27001
  props: dividerProps,
26976
27002
  setup(__props) {
26977
27003
  const props = __props;
@@ -27062,7 +27088,7 @@ const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
27062
27088
  const _hoisted_2$m = ["id"];
27063
27089
  const _hoisted_3$9 = ["aria-label"];
27064
27090
  const _hoisted_4$7 = ["id"];
27065
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
27091
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
27066
27092
  const _component_close = resolveComponent("close");
27067
27093
  const _component_el_icon = resolveComponent("el-icon");
27068
27094
  const _component_el_focus_trap = resolveComponent("el-focus-trap");
@@ -27174,26 +27200,26 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
27174
27200
  }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
27175
27201
  ], 8, ["disabled"]);
27176
27202
  }
27177
- var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$r], ["__file", "drawer.vue"]]);
27203
+ var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$p], ["__file", "drawer.vue"]]);
27178
27204
 
27179
27205
  const ElDrawer = withInstall(Drawer);
27180
27206
 
27181
27207
  const _sfc_main$19 = /* @__PURE__ */ defineComponent({
27182
27208
  inheritAttrs: false
27183
27209
  });
27184
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
27210
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
27185
27211
  return renderSlot(_ctx.$slots, "default");
27186
27212
  }
27187
- var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$q], ["__file", "collection.vue"]]);
27213
+ var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$o], ["__file", "collection.vue"]]);
27188
27214
 
27189
27215
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
27190
27216
  name: "ElCollectionItem",
27191
27217
  inheritAttrs: false
27192
27218
  });
27193
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
27219
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27194
27220
  return renderSlot(_ctx.$slots, "default");
27195
27221
  }
27196
- var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$p], ["__file", "collection-item.vue"]]);
27222
+ var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$n], ["__file", "collection-item.vue"]]);
27197
27223
 
27198
27224
  const COLLECTION_ITEM_SIGN = `data-el-collection-item`;
27199
27225
  const createCollectionWithScope = (name) => {
@@ -27413,10 +27439,10 @@ const _sfc_main$17 = defineComponent({
27413
27439
  useEventListener(rovingFocusGroupRef, ENTRY_FOCUS_EVT, handleEntryFocus);
27414
27440
  }
27415
27441
  });
27416
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
27442
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27417
27443
  return renderSlot(_ctx.$slots, "default");
27418
27444
  }
27419
- var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$o], ["__file", "roving-focus-group-impl.vue"]]);
27445
+ var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$m], ["__file", "roving-focus-group-impl.vue"]]);
27420
27446
 
27421
27447
  const _sfc_main$16 = defineComponent({
27422
27448
  name: "ElRovingFocusGroup",
@@ -27425,7 +27451,7 @@ const _sfc_main$16 = defineComponent({
27425
27451
  ElRovingFocusGroupImpl
27426
27452
  }
27427
27453
  });
27428
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27454
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27429
27455
  const _component_el_roving_focus_group_impl = resolveComponent("el-roving-focus-group-impl");
27430
27456
  const _component_el_focus_group_collection = resolveComponent("el-focus-group-collection");
27431
27457
  return openBlock(), createBlock(_component_el_focus_group_collection, null, {
@@ -27440,7 +27466,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27440
27466
  _: 3
27441
27467
  });
27442
27468
  }
27443
- var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$n], ["__file", "roving-focus-group.vue"]]);
27469
+ var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$l], ["__file", "roving-focus-group.vue"]]);
27444
27470
 
27445
27471
  const _sfc_main$15 = defineComponent({
27446
27472
  components: {
@@ -27527,7 +27553,7 @@ const _sfc_main$15 = defineComponent({
27527
27553
  };
27528
27554
  }
27529
27555
  });
27530
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27556
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27531
27557
  const _component_el_roving_focus_collection_item = resolveComponent("el-roving-focus-collection-item");
27532
27558
  return openBlock(), createBlock(_component_el_roving_focus_collection_item, {
27533
27559
  id: _ctx.id,
@@ -27540,7 +27566,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27540
27566
  _: 3
27541
27567
  }, 8, ["id", "focusable", "active"]);
27542
27568
  }
27543
- var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$m], ["__file", "roving-focus-item.vue"]]);
27569
+ var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$k], ["__file", "roving-focus-item.vue"]]);
27544
27570
 
27545
27571
  const dropdownProps = buildProps({
27546
27572
  trigger: useTooltipTriggerProps.trigger,
@@ -27766,7 +27792,7 @@ const _sfc_main$14 = defineComponent({
27766
27792
  };
27767
27793
  }
27768
27794
  });
27769
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27795
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
27770
27796
  var _a;
27771
27797
  const _component_el_dropdown_collection = resolveComponent("el-dropdown-collection");
27772
27798
  const _component_el_roving_focus_group = resolveComponent("el-roving-focus-group");
@@ -27898,7 +27924,7 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27898
27924
  })) : createCommentVNode("v-if", true)
27899
27925
  ], 2);
27900
27926
  }
27901
- var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$l], ["__file", "dropdown.vue"]]);
27927
+ var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$j], ["__file", "dropdown.vue"]]);
27902
27928
 
27903
27929
  const _sfc_main$13 = defineComponent({
27904
27930
  name: "DropdownItemImpl",
@@ -27952,7 +27978,7 @@ const _sfc_main$13 = defineComponent({
27952
27978
  }
27953
27979
  });
27954
27980
  const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
27955
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27981
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27956
27982
  const _component_el_icon = resolveComponent("el-icon");
27957
27983
  return openBlock(), createElementBlock(Fragment, null, [
27958
27984
  _ctx.divided ? (openBlock(), createElementBlock("li", mergeProps({
@@ -27982,7 +28008,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27982
28008
  ], 16, _hoisted_1$z)
27983
28009
  ], 64);
27984
28010
  }
27985
- var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$k], ["__file", "dropdown-item-impl.vue"]]);
28011
+ var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$i], ["__file", "dropdown-item-impl.vue"]]);
27986
28012
 
27987
28013
  const useDropdown = () => {
27988
28014
  const elDropdown = inject("elDropdown", {});
@@ -28058,7 +28084,7 @@ const _sfc_main$12 = defineComponent({
28058
28084
  };
28059
28085
  }
28060
28086
  });
28061
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
28087
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
28062
28088
  var _a;
28063
28089
  const _component_el_dropdown_item_impl = resolveComponent("el-dropdown-item-impl");
28064
28090
  const _component_el_roving_focus_item = resolveComponent("el-roving-focus-item");
@@ -28089,7 +28115,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
28089
28115
  _: 3
28090
28116
  }, 8, ["disabled", "text-value"]);
28091
28117
  }
28092
- var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$j], ["__file", "dropdown-item.vue"]]);
28118
+ var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$h], ["__file", "dropdown-item.vue"]]);
28093
28119
 
28094
28120
  const _sfc_main$11 = defineComponent({
28095
28121
  name: "ElDropdownMenu",
@@ -28155,7 +28181,7 @@ const _sfc_main$11 = defineComponent({
28155
28181
  }
28156
28182
  });
28157
28183
  const _hoisted_1$y = ["role", "aria-labelledby"];
28158
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
28184
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
28159
28185
  return openBlock(), createElementBlock("ul", {
28160
28186
  ref: _ctx.dropdownListWrapperRef,
28161
28187
  class: normalizeClass(_ctx.dropdownKls),
@@ -28171,7 +28197,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
28171
28197
  renderSlot(_ctx.$slots, "default")
28172
28198
  ], 46, _hoisted_1$y);
28173
28199
  }
28174
- var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$i], ["__file", "dropdown-menu.vue"]]);
28200
+ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$g], ["__file", "dropdown-menu.vue"]]);
28175
28201
 
28176
28202
  const ElDropdown = withInstall(Dropdown, {
28177
28203
  DropdownItem,
@@ -28237,7 +28263,7 @@ const _hoisted_20 = {
28237
28263
  const _hoisted_21 = ["fill", "xlink:href"];
28238
28264
  const _hoisted_22 = ["fill", "mask"];
28239
28265
  const _hoisted_23 = ["fill"];
28240
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
28266
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
28241
28267
  return openBlock(), createElementBlock("svg", _hoisted_1$x, [
28242
28268
  createElementVNode("defs", null, [
28243
28269
  createElementVNode("linearGradient", {
@@ -28356,7 +28382,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
28356
28382
  ])
28357
28383
  ]);
28358
28384
  }
28359
- var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$h], ["__file", "img-empty.vue"]]);
28385
+ var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$f], ["__file", "img-empty.vue"]]);
28360
28386
 
28361
28387
  const emptyProps = {
28362
28388
  image: {
@@ -28372,11 +28398,11 @@ const emptyProps = {
28372
28398
 
28373
28399
  const _hoisted_1$w = ["src"];
28374
28400
  const _hoisted_2$k = { key: 1 };
28375
- const __default__$I = defineComponent({
28401
+ const __default__$K = defineComponent({
28376
28402
  name: "ElEmpty"
28377
28403
  });
28378
28404
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
28379
- ...__default__$I,
28405
+ ...__default__$K,
28380
28406
  props: emptyProps,
28381
28407
  setup(__props) {
28382
28408
  const props = __props;
@@ -28509,11 +28535,11 @@ const filterFields = (fields, props) => {
28509
28535
  };
28510
28536
 
28511
28537
  const COMPONENT_NAME$e = "ElForm";
28512
- const __default__$H = defineComponent({
28538
+ const __default__$J = defineComponent({
28513
28539
  name: COMPONENT_NAME$e
28514
28540
  });
28515
28541
  const _sfc_main$_ = /* @__PURE__ */ defineComponent({
28516
- ...__default__$H,
28542
+ ...__default__$J,
28517
28543
  props: formProps,
28518
28544
  emits: formEmits,
28519
28545
  setup(__props, { expose, emit }) {
@@ -29819,11 +29845,11 @@ var FormLabelWrap = defineComponent({
29819
29845
  });
29820
29846
 
29821
29847
  const _hoisted_1$v = ["role", "aria-labelledby"];
29822
- const __default__$G = defineComponent({
29848
+ const __default__$I = defineComponent({
29823
29849
  name: "ElFormItem"
29824
29850
  });
29825
29851
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
29826
- ...__default__$G,
29852
+ ...__default__$I,
29827
29853
  props: formItemProps,
29828
29854
  setup(__props, { expose }) {
29829
29855
  const props = __props;
@@ -30160,11 +30186,11 @@ const imageViewerEmits = {
30160
30186
  };
30161
30187
 
30162
30188
  const _hoisted_1$u = ["src"];
30163
- const __default__$F = defineComponent({
30189
+ const __default__$H = defineComponent({
30164
30190
  name: "ElImageViewer"
30165
30191
  });
30166
30192
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
30167
- ...__default__$F,
30193
+ ...__default__$H,
30168
30194
  props: imageViewerProps,
30169
30195
  emits: imageViewerEmits,
30170
30196
  setup(__props, { expose, emit }) {
@@ -30609,12 +30635,12 @@ const imageEmits = {
30609
30635
 
30610
30636
  const _hoisted_1$t = ["src", "loading"];
30611
30637
  const _hoisted_2$j = { key: 0 };
30612
- const __default__$E = defineComponent({
30638
+ const __default__$G = defineComponent({
30613
30639
  name: "ElImage",
30614
30640
  inheritAttrs: false
30615
30641
  });
30616
30642
  const _sfc_main$X = /* @__PURE__ */ defineComponent({
30617
- ...__default__$E,
30643
+ ...__default__$G,
30618
30644
  props: imageProps,
30619
30645
  emits: imageEmits,
30620
30646
  setup(__props, { emit }) {
@@ -30875,11 +30901,11 @@ const inputNumberEmits = {
30875
30901
 
30876
30902
  const _hoisted_1$s = ["aria-label", "onKeydown"];
30877
30903
  const _hoisted_2$i = ["aria-label", "onKeydown"];
30878
- const __default__$D = defineComponent({
30904
+ const __default__$F = defineComponent({
30879
30905
  name: "ElInputNumber"
30880
30906
  });
30881
30907
  const _sfc_main$W = /* @__PURE__ */ defineComponent({
30882
- ...__default__$D,
30908
+ ...__default__$F,
30883
30909
  props: inputNumberProps,
30884
30910
  emits: inputNumberEmits,
30885
30911
  setup(__props, { expose, emit }) {
@@ -31178,11 +31204,11 @@ const linkEmits = {
31178
31204
  };
31179
31205
 
31180
31206
  const _hoisted_1$r = ["href"];
31181
- const __default__$C = defineComponent({
31207
+ const __default__$E = defineComponent({
31182
31208
  name: "ElLink"
31183
31209
  });
31184
31210
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
31185
- ...__default__$C,
31211
+ ...__default__$E,
31186
31212
  props: linkProps,
31187
31213
  emits: linkEmits,
31188
31214
  setup(__props, { emit }) {
@@ -31392,7 +31418,7 @@ const _sfc_main$U = defineComponent({
31392
31418
  };
31393
31419
  }
31394
31420
  });
31395
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31421
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
31396
31422
  return openBlock(), createBlock(Transition, mergeProps({ mode: "out-in" }, _ctx.listeners), {
31397
31423
  default: withCtx(() => [
31398
31424
  renderSlot(_ctx.$slots, "default")
@@ -31400,7 +31426,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31400
31426
  _: 3
31401
31427
  }, 16);
31402
31428
  }
31403
- var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$g], ["__file", "menu-collapse-transition.vue"]]);
31429
+ var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$e], ["__file", "menu-collapse-transition.vue"]]);
31404
31430
 
31405
31431
  function useMenu(instance, currentIndex) {
31406
31432
  const indexPath = computed$1(() => {
@@ -32087,7 +32113,7 @@ const _sfc_main$T = defineComponent({
32087
32113
  };
32088
32114
  }
32089
32115
  });
32090
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
32116
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32091
32117
  const _component_el_tooltip = resolveComponent("el-tooltip");
32092
32118
  return openBlock(), createElementBlock("li", {
32093
32119
  class: normalizeClass([
@@ -32123,7 +32149,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
32123
32149
  ], 64))
32124
32150
  ], 2);
32125
32151
  }
32126
- var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$f], ["__file", "menu-item.vue"]]);
32152
+ var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$d], ["__file", "menu-item.vue"]]);
32127
32153
 
32128
32154
  const menuItemGroupProps = {
32129
32155
  title: String
@@ -32140,7 +32166,7 @@ const _sfc_main$S = defineComponent({
32140
32166
  };
32141
32167
  }
32142
32168
  });
32143
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32169
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32144
32170
  return openBlock(), createElementBlock("li", {
32145
32171
  class: normalizeClass(_ctx.ns.b())
32146
32172
  }, [
@@ -32156,7 +32182,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32156
32182
  ])
32157
32183
  ], 2);
32158
32184
  }
32159
- var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$e], ["__file", "menu-item-group.vue"]]);
32185
+ var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$c], ["__file", "menu-item-group.vue"]]);
32160
32186
 
32161
32187
  const ElMenu = withInstall(Menu, {
32162
32188
  MenuItem,
@@ -32183,11 +32209,11 @@ const pageHeaderEmits = {
32183
32209
  };
32184
32210
 
32185
32211
  const _hoisted_1$q = ["aria-label"];
32186
- const __default__$B = defineComponent({
32212
+ const __default__$D = defineComponent({
32187
32213
  name: "ElPageHeader"
32188
32214
  });
32189
32215
  const _sfc_main$R = /* @__PURE__ */ defineComponent({
32190
- ...__default__$B,
32216
+ ...__default__$D,
32191
32217
  props: pageHeaderProps,
32192
32218
  emits: pageHeaderEmits,
32193
32219
  setup(__props, { emit }) {
@@ -32299,11 +32325,11 @@ const paginationPrevEmits = {
32299
32325
 
32300
32326
  const _hoisted_1$p = ["disabled", "aria-disabled"];
32301
32327
  const _hoisted_2$h = { key: 0 };
32302
- const __default__$A = defineComponent({
32328
+ const __default__$C = defineComponent({
32303
32329
  name: "ElPaginationPrev"
32304
32330
  });
32305
32331
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
32306
- ...__default__$A,
32332
+ ...__default__$C,
32307
32333
  props: paginationPrevProps,
32308
32334
  emits: paginationPrevEmits,
32309
32335
  setup(__props) {
@@ -32349,11 +32375,11 @@ const paginationNextProps = buildProps({
32349
32375
 
32350
32376
  const _hoisted_1$o = ["disabled", "aria-disabled"];
32351
32377
  const _hoisted_2$g = { key: 0 };
32352
- const __default__$z = defineComponent({
32378
+ const __default__$B = defineComponent({
32353
32379
  name: "ElPaginationNext"
32354
32380
  });
32355
32381
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
32356
- ...__default__$z,
32382
+ ...__default__$B,
32357
32383
  props: paginationNextProps,
32358
32384
  emits: ["click"],
32359
32385
  setup(__props) {
@@ -32536,7 +32562,7 @@ const _sfc_main$O = defineComponent({
32536
32562
  };
32537
32563
  }
32538
32564
  });
32539
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32565
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
32540
32566
  return withDirectives((openBlock(), createElementBlock("li", {
32541
32567
  class: normalizeClass([
32542
32568
  _ctx.ns.be("dropdown", "item"),
@@ -32556,7 +32582,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32556
32582
  [vShow, _ctx.visible]
32557
32583
  ]);
32558
32584
  }
32559
- var Option = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$d], ["__file", "option.vue"]]);
32585
+ var Option = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$b], ["__file", "option.vue"]]);
32560
32586
 
32561
32587
  const _sfc_main$N = defineComponent({
32562
32588
  name: "ElSelectDropdown",
@@ -32585,7 +32611,7 @@ const _sfc_main$N = defineComponent({
32585
32611
  };
32586
32612
  }
32587
32613
  });
32588
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32614
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
32589
32615
  return openBlock(), createElementBlock("div", {
32590
32616
  class: normalizeClass([_ctx.ns.b("dropdown"), _ctx.ns.is("multiple", _ctx.isMultiple), _ctx.popperClass]),
32591
32617
  style: normalizeStyle({ [_ctx.isFitInputWidth ? "width" : "minWidth"]: _ctx.minWidth })
@@ -32593,7 +32619,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32593
32619
  renderSlot(_ctx.$slots, "default")
32594
32620
  ], 6);
32595
32621
  }
32596
- var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$c], ["__file", "select-dropdown.vue"]]);
32622
+ var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$a], ["__file", "select-dropdown.vue"]]);
32597
32623
 
32598
32624
  function useSelectStates(props) {
32599
32625
  const { t } = useLocale();
@@ -33624,7 +33650,7 @@ const _sfc_main$M = defineComponent({
33624
33650
  });
33625
33651
  const _hoisted_1$n = ["disabled", "autocomplete"];
33626
33652
  const _hoisted_2$f = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
33627
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33653
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
33628
33654
  const _component_el_tag = resolveComponent("el-tag");
33629
33655
  const _component_el_tooltip = resolveComponent("el-tooltip");
33630
33656
  const _component_el_icon = resolveComponent("el-icon");
@@ -33929,7 +33955,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33929
33955
  [_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]
33930
33956
  ]);
33931
33957
  }
33932
- var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$b], ["__file", "select.vue"]]);
33958
+ var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$9], ["__file", "select.vue"]]);
33933
33959
 
33934
33960
  const _sfc_main$L = defineComponent({
33935
33961
  name: "ElOptionGroup",
@@ -33977,7 +34003,7 @@ const _sfc_main$L = defineComponent({
33977
34003
  };
33978
34004
  }
33979
34005
  });
33980
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
34006
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
33981
34007
  return withDirectives((openBlock(), createElementBlock("ul", {
33982
34008
  class: normalizeClass(_ctx.ns.be("group", "wrap"))
33983
34009
  }, [
@@ -33995,7 +34021,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
33995
34021
  [vShow, _ctx.visible]
33996
34022
  ]);
33997
34023
  }
33998
- var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$a], ["__file", "option-group.vue"]]);
34024
+ var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$8], ["__file", "option-group.vue"]]);
33999
34025
 
34000
34026
  const ElSelect = withInstall(Select$1, {
34001
34027
  Option,
@@ -34025,11 +34051,11 @@ const paginationSizesProps = buildProps({
34025
34051
  }
34026
34052
  });
34027
34053
 
34028
- const __default__$y = defineComponent({
34054
+ const __default__$A = defineComponent({
34029
34055
  name: "ElPaginationSizes"
34030
34056
  });
34031
34057
  const _sfc_main$K = /* @__PURE__ */ defineComponent({
34032
- ...__default__$y,
34058
+ ...__default__$A,
34033
34059
  props: paginationSizesProps,
34034
34060
  emits: ["page-size-change"],
34035
34061
  setup(__props, { emit }) {
@@ -34087,11 +34113,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
34087
34113
  var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
34088
34114
 
34089
34115
  const _hoisted_1$m = ["disabled"];
34090
- const __default__$x = defineComponent({
34116
+ const __default__$z = defineComponent({
34091
34117
  name: "ElPaginationJumper"
34092
34118
  });
34093
34119
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
34094
- ...__default__$x,
34120
+ ...__default__$z,
34095
34121
  setup(__props) {
34096
34122
  const { t } = useLocale();
34097
34123
  const ns = useNamespace("pagination");
@@ -34142,11 +34168,11 @@ const paginationTotalProps = buildProps({
34142
34168
  });
34143
34169
 
34144
34170
  const _hoisted_1$l = ["disabled"];
34145
- const __default__$w = defineComponent({
34171
+ const __default__$y = defineComponent({
34146
34172
  name: "ElPaginationTotal"
34147
34173
  });
34148
34174
  const _sfc_main$I = /* @__PURE__ */ defineComponent({
34149
- ...__default__$w,
34175
+ ...__default__$y,
34150
34176
  props: paginationTotalProps,
34151
34177
  setup(__props) {
34152
34178
  const { t } = useLocale();
@@ -34186,11 +34212,11 @@ const _hoisted_3$7 = ["tabindex"];
34186
34212
  const _hoisted_4$5 = ["aria-current", "tabindex"];
34187
34213
  const _hoisted_5$4 = ["tabindex"];
34188
34214
  const _hoisted_6 = ["aria-current", "tabindex"];
34189
- const __default__$v = defineComponent({
34215
+ const __default__$x = defineComponent({
34190
34216
  name: "ElPaginationPager"
34191
34217
  });
34192
34218
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
34193
- ...__default__$v,
34219
+ ...__default__$x,
34194
34220
  props: paginationPagerProps,
34195
34221
  emits: ["change"],
34196
34222
  setup(__props, { emit }) {
@@ -34682,11 +34708,11 @@ const popconfirmProps = buildProps({
34682
34708
  }
34683
34709
  });
34684
34710
 
34685
- const __default__$u = defineComponent({
34711
+ const __default__$w = defineComponent({
34686
34712
  name: "ElPopconfirm"
34687
34713
  });
34688
34714
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
34689
- ...__default__$u,
34715
+ ...__default__$w,
34690
34716
  props: popconfirmProps,
34691
34717
  setup(__props) {
34692
34718
  const props = __props;
@@ -34849,11 +34875,11 @@ const popoverEmits = {
34849
34875
  };
34850
34876
 
34851
34877
  const updateEventKeyRaw = `onUpdate:visible`;
34852
- const __default__$t = defineComponent({
34878
+ const __default__$v = defineComponent({
34853
34879
  name: "ElPopover"
34854
34880
  });
34855
34881
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
34856
- ...__default__$t,
34882
+ ...__default__$v,
34857
34883
  props: popoverProps,
34858
34884
  emits: popoverEmits,
34859
34885
  setup(__props, { expose, emit }) {
@@ -35039,11 +35065,11 @@ const _hoisted_2$d = { viewBox: "0 0 100 100" };
35039
35065
  const _hoisted_3$6 = ["d", "stroke", "stroke-width"];
35040
35066
  const _hoisted_4$4 = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"];
35041
35067
  const _hoisted_5$3 = { key: 0 };
35042
- const __default__$s = defineComponent({
35068
+ const __default__$u = defineComponent({
35043
35069
  name: "ElProgress"
35044
35070
  });
35045
35071
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
35046
- ...__default__$s,
35072
+ ...__default__$u,
35047
35073
  props: progressProps,
35048
35074
  setup(__props) {
35049
35075
  const props = __props;
@@ -35327,11 +35353,11 @@ const rateEmits = {
35327
35353
 
35328
35354
  const _hoisted_1$i = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
35329
35355
  const _hoisted_2$c = ["onMousemove", "onClick"];
35330
- const __default__$r = defineComponent({
35356
+ const __default__$t = defineComponent({
35331
35357
  name: "ElRate"
35332
35358
  });
35333
35359
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
35334
- ...__default__$r,
35360
+ ...__default__$t,
35335
35361
  props: rateProps,
35336
35362
  emits: rateEmits,
35337
35363
  setup(__props, { expose, emit }) {
@@ -35599,11 +35625,11 @@ const resultProps = buildProps({
35599
35625
  }
35600
35626
  });
35601
35627
 
35602
- const __default__$q = defineComponent({
35628
+ const __default__$s = defineComponent({
35603
35629
  name: "ElResult"
35604
35630
  });
35605
35631
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
35606
- ...__default__$q,
35632
+ ...__default__$s,
35607
35633
  props: resultProps,
35608
35634
  setup(__props) {
35609
35635
  const props = __props;
@@ -35691,11 +35717,11 @@ const rowProps = buildProps({
35691
35717
  }
35692
35718
  });
35693
35719
 
35694
- const __default__$p = defineComponent({
35720
+ const __default__$r = defineComponent({
35695
35721
  name: "ElRow"
35696
35722
  });
35697
35723
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
35698
- ...__default__$p,
35724
+ ...__default__$r,
35699
35725
  props: rowProps,
35700
35726
  setup(__props) {
35701
35727
  const props = __props;
@@ -35847,7 +35873,7 @@ const useWheel = ({ atEndEdge, atStartEdge, layout }, onWheelDelta) => {
35847
35873
  };
35848
35874
  var useWheel$1 = useWheel;
35849
35875
 
35850
- const itemSize = buildProp({
35876
+ const itemSize$1 = buildProp({
35851
35877
  type: definePropType([Number, Function]),
35852
35878
  required: true
35853
35879
  });
@@ -35924,7 +35950,7 @@ const virtualizedListProps = buildProps({
35924
35950
  layout,
35925
35951
  initScrollOffset,
35926
35952
  total,
35927
- itemSize,
35953
+ itemSize: itemSize$1,
35928
35954
  ...virtualizedProps
35929
35955
  });
35930
35956
  const scrollbarSize = {
@@ -35935,7 +35961,7 @@ const startGap = { type: Number, default: 0 };
35935
35961
  const endGap = { type: Number, default: 2 };
35936
35962
  const virtualizedGridProps = buildProps({
35937
35963
  columnCache: cache,
35938
- columnWidth: itemSize,
35964
+ columnWidth: itemSize$1,
35939
35965
  estimatedColumnWidth: estimatedItemSize,
35940
35966
  estimatedRowHeight: estimatedItemSize,
35941
35967
  initScrollLeft: initScrollOffset,
@@ -35948,7 +35974,7 @@ const virtualizedGridProps = buildProps({
35948
35974
  }) => `${rowIndex}:${columnIndex}`
35949
35975
  },
35950
35976
  rowCache: cache,
35951
- rowHeight: itemSize,
35977
+ rowHeight: itemSize$1,
35952
35978
  totalColumn: total,
35953
35979
  totalRow: total,
35954
35980
  hScrollbarSize: scrollbarSize,
@@ -37550,7 +37576,7 @@ const _sfc_main$A = defineComponent({
37550
37576
  };
37551
37577
  }
37552
37578
  });
37553
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37579
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
37554
37580
  return _ctx.item.isTitle ? (openBlock(), createElementBlock("div", {
37555
37581
  key: 0,
37556
37582
  class: normalizeClass(_ctx.ns.be("group", "title")),
@@ -37566,7 +37592,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37566
37592
  }, null, 6)
37567
37593
  ], 6));
37568
37594
  }
37569
- var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$9], ["__file", "group-item.vue"]]);
37595
+ var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$7], ["__file", "group-item.vue"]]);
37570
37596
 
37571
37597
  function useOption(props, { emit }) {
37572
37598
  return {
@@ -37706,7 +37732,7 @@ const _sfc_main$z = defineComponent({
37706
37732
  }
37707
37733
  });
37708
37734
  const _hoisted_1$h = ["aria-selected"];
37709
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
37735
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
37710
37736
  return openBlock(), createElementBlock("li", {
37711
37737
  "aria-selected": _ctx.selected,
37712
37738
  style: normalizeStyle(_ctx.style),
@@ -37729,7 +37755,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
37729
37755
  ])
37730
37756
  ], 46, _hoisted_1$h);
37731
37757
  }
37732
- var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$8], ["__file", "option-item.vue"]]);
37758
+ var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$6], ["__file", "option-item.vue"]]);
37733
37759
 
37734
37760
  const selectV2InjectionKey = "ElSelectV2Injection";
37735
37761
 
@@ -38110,7 +38136,7 @@ const useSelect$1 = (props, emit) => {
38110
38136
  selectWidth: 200,
38111
38137
  initialInputHeight: 0,
38112
38138
  previousQuery: null,
38113
- previousValue: "",
38139
+ previousValue: void 0,
38114
38140
  query: "",
38115
38141
  selectedLabel: "",
38116
38142
  softFocus: false,
@@ -38299,7 +38325,7 @@ const useSelect$1 = (props, emit) => {
38299
38325
  const update = (val) => {
38300
38326
  emit(UPDATE_MODEL_EVENT, val);
38301
38327
  emitChange(val);
38302
- states.previousValue = val.toString();
38328
+ states.previousValue = val == null ? void 0 : val.toString();
38303
38329
  };
38304
38330
  const getValueIndex = (arr = [], value) => {
38305
38331
  if (!isObject$1(value)) {
@@ -38465,7 +38491,7 @@ const useSelect$1 = (props, emit) => {
38465
38491
  if (isArray(props.modelValue)) {
38466
38492
  emptyValue = [];
38467
38493
  } else {
38468
- emptyValue = "";
38494
+ emptyValue = void 0;
38469
38495
  }
38470
38496
  states.softFocus = true;
38471
38497
  if (props.multiple) {
@@ -38585,7 +38611,7 @@ const useSelect$1 = (props, emit) => {
38585
38611
  });
38586
38612
  } else {
38587
38613
  states.cachedOptions = [];
38588
- states.previousValue = "";
38614
+ states.previousValue = void 0;
38589
38615
  }
38590
38616
  } else {
38591
38617
  if (hasModelValue.value) {
@@ -38600,7 +38626,7 @@ const useSelect$1 = (props, emit) => {
38600
38626
  }
38601
38627
  } else {
38602
38628
  states.selectedLabel = "";
38603
- states.previousValue = "";
38629
+ states.previousValue = void 0;
38604
38630
  }
38605
38631
  }
38606
38632
  clearAllNewOption();
@@ -38742,7 +38768,7 @@ const _hoisted_2$b = ["id", "autocomplete", "aria-expanded", "aria-labelledby",
38742
38768
  const _hoisted_3$5 = ["textContent"];
38743
38769
  const _hoisted_4$3 = ["id", "aria-labelledby", "aria-expanded", "autocomplete", "disabled", "name", "readonly", "unselectable"];
38744
38770
  const _hoisted_5$2 = ["textContent"];
38745
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
38771
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
38746
38772
  const _component_el_tag = resolveComponent("el-tag");
38747
38773
  const _component_el_tooltip = resolveComponent("el-tooltip");
38748
38774
  const _component_el_icon = resolveComponent("el-icon");
@@ -39085,7 +39111,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
39085
39111
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
39086
39112
  ]);
39087
39113
  }
39088
- var Select = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$7], ["__file", "select.vue"]]);
39114
+ var Select = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$5], ["__file", "select.vue"]]);
39089
39115
 
39090
39116
  Select.install = (app) => {
39091
39117
  app.component(Select.name, Select);
@@ -39133,11 +39159,11 @@ const skeletonItemProps = buildProps({
39133
39159
  }
39134
39160
  });
39135
39161
 
39136
- const __default__$o = defineComponent({
39162
+ const __default__$q = defineComponent({
39137
39163
  name: "ElSkeletonItem"
39138
39164
  });
39139
39165
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
39140
- ...__default__$o,
39166
+ ...__default__$q,
39141
39167
  props: skeletonItemProps,
39142
39168
  setup(__props) {
39143
39169
  const ns = useNamespace("skeleton");
@@ -39152,11 +39178,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
39152
39178
  });
39153
39179
  var SkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "skeleton-item.vue"]]);
39154
39180
 
39155
- const __default__$n = defineComponent({
39181
+ const __default__$p = defineComponent({
39156
39182
  name: "ElSkeleton"
39157
39183
  });
39158
39184
  const _sfc_main$w = /* @__PURE__ */ defineComponent({
39159
- ...__default__$n,
39185
+ ...__default__$p,
39160
39186
  props: skeletonProps,
39161
39187
  setup(__props, { expose }) {
39162
39188
  const props = __props;
@@ -39806,11 +39832,11 @@ const sliderButtonEmits = {
39806
39832
  };
39807
39833
 
39808
39834
  const _hoisted_1$f = ["tabindex"];
39809
- const __default__$m = defineComponent({
39835
+ const __default__$o = defineComponent({
39810
39836
  name: "ElSliderButton"
39811
39837
  });
39812
39838
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
39813
- ...__default__$m,
39839
+ ...__default__$o,
39814
39840
  props: sliderButtonProps,
39815
39841
  emits: sliderButtonEmits,
39816
39842
  setup(__props, { expose, emit }) {
@@ -39916,11 +39942,11 @@ var SliderMarker = defineComponent({
39916
39942
 
39917
39943
  const _hoisted_1$e = ["id", "role", "aria-label", "aria-labelledby"];
39918
39944
  const _hoisted_2$a = { key: 1 };
39919
- const __default__$l = defineComponent({
39945
+ const __default__$n = defineComponent({
39920
39946
  name: "ElSlider"
39921
39947
  });
39922
39948
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
39923
- ...__default__$l,
39949
+ ...__default__$n,
39924
39950
  props: sliderProps,
39925
39951
  emits: sliderEmits,
39926
39952
  setup(__props, { expose, emit }) {
@@ -40360,11 +40386,11 @@ const stepsEmits = {
40360
40386
  [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
40361
40387
  };
40362
40388
 
40363
- const __default__$k = defineComponent({
40389
+ const __default__$m = defineComponent({
40364
40390
  name: "ElSteps"
40365
40391
  });
40366
40392
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
40367
- ...__default__$k,
40393
+ ...__default__$m,
40368
40394
  props: stepsProps,
40369
40395
  emits: stepsEmits,
40370
40396
  setup(__props, { emit }) {
@@ -40410,11 +40436,11 @@ const stepProps = buildProps({
40410
40436
  }
40411
40437
  });
40412
40438
 
40413
- const __default__$j = defineComponent({
40439
+ const __default__$l = defineComponent({
40414
40440
  name: "ElStep"
40415
40441
  });
40416
40442
  const _sfc_main$s = defineComponent({
40417
- ...__default__$j,
40443
+ ...__default__$l,
40418
40444
  props: stepProps,
40419
40445
  setup(__props) {
40420
40446
  const props = __props;
@@ -40692,11 +40718,11 @@ const _hoisted_3$4 = ["aria-hidden"];
40692
40718
  const _hoisted_4$2 = ["aria-hidden"];
40693
40719
  const _hoisted_5$1 = ["aria-hidden"];
40694
40720
  const COMPONENT_NAME$8 = "ElSwitch";
40695
- const __default__$i = defineComponent({
40721
+ const __default__$k = defineComponent({
40696
40722
  name: COMPONENT_NAME$8
40697
40723
  });
40698
40724
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
40699
- ...__default__$i,
40725
+ ...__default__$k,
40700
40726
  props: switchProps,
40701
40727
  emits: switchEmits,
40702
40728
  setup(__props, { expose, emit }) {
@@ -42635,7 +42661,7 @@ const _sfc_main$q = defineComponent({
42635
42661
  const _hoisted_1$c = { key: 0 };
42636
42662
  const _hoisted_2$8 = ["disabled"];
42637
42663
  const _hoisted_3$3 = ["label", "onClick"];
42638
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
42664
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
42639
42665
  const _component_el_checkbox = resolveComponent("el-checkbox");
42640
42666
  const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
42641
42667
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
@@ -42748,7 +42774,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
42748
42774
  _: 1
42749
42775
  }, 8, ["visible", "placement", "popper-class"]);
42750
42776
  }
42751
- var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$6], ["__file", "filter-panel.vue"]]);
42777
+ var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$4], ["__file", "filter-panel.vue"]]);
42752
42778
 
42753
42779
  function useLayoutObserver(root) {
42754
42780
  const instance = getCurrentInstance();
@@ -44527,7 +44553,7 @@ const _hoisted_2$7 = {
44527
44553
  ref: "hiddenColumns",
44528
44554
  class: "hidden-columns"
44529
44555
  };
44530
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
44556
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
44531
44557
  const _component_hColgroup = resolveComponent("hColgroup");
44532
44558
  const _component_table_header = resolveComponent("table-header");
44533
44559
  const _component_table_body = resolveComponent("table-body");
@@ -44693,7 +44719,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
44693
44719
  ])
44694
44720
  ], 46, _hoisted_1$b);
44695
44721
  }
44696
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$5], ["__file", "table.vue"]]);
44722
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$3], ["__file", "table.vue"]]);
44697
44723
 
44698
44724
  const defaultClassNames = {
44699
44725
  selection: "table-column--selection",
@@ -47388,11 +47414,11 @@ const tabBarProps = buildProps({
47388
47414
  });
47389
47415
 
47390
47416
  const COMPONENT_NAME$3 = "ElTabBar";
47391
- const __default__$h = defineComponent({
47417
+ const __default__$j = defineComponent({
47392
47418
  name: COMPONENT_NAME$3
47393
47419
  });
47394
47420
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
47395
- ...__default__$h,
47421
+ ...__default__$j,
47396
47422
  props: tabBarProps,
47397
47423
  setup(__props, { expose }) {
47398
47424
  const props = __props;
@@ -47902,11 +47928,11 @@ const tabPaneProps = buildProps({
47902
47928
 
47903
47929
  const _hoisted_1$a = ["id", "aria-hidden", "aria-labelledby"];
47904
47930
  const COMPONENT_NAME$1 = "ElTabPane";
47905
- const __default__$g = defineComponent({
47931
+ const __default__$i = defineComponent({
47906
47932
  name: COMPONENT_NAME$1
47907
47933
  });
47908
47934
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
47909
- ...__default__$g,
47935
+ ...__default__$i,
47910
47936
  props: tabPaneProps,
47911
47937
  setup(__props) {
47912
47938
  const props = __props;
@@ -48072,11 +48098,11 @@ const nextTime = (time, step) => {
48072
48098
  return formatTime(next);
48073
48099
  };
48074
48100
 
48075
- const __default__$f = defineComponent({
48101
+ const __default__$h = defineComponent({
48076
48102
  name: "ElTimeSelect"
48077
48103
  });
48078
48104
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
48079
- ...__default__$f,
48105
+ ...__default__$h,
48080
48106
  props: timeSelectProps,
48081
48107
  emits: ["change", "blur", "focus", "update:modelValue"],
48082
48108
  setup(__props, { expose }) {
@@ -48240,11 +48266,11 @@ const timelineItemProps = buildProps({
48240
48266
  }
48241
48267
  });
48242
48268
 
48243
- const __default__$e = defineComponent({
48269
+ const __default__$g = defineComponent({
48244
48270
  name: "ElTimelineItem"
48245
48271
  });
48246
48272
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
48247
- ...__default__$e,
48273
+ ...__default__$g,
48248
48274
  props: timelineItemProps,
48249
48275
  setup(__props) {
48250
48276
  const ns = useNamespace("timeline-item");
@@ -48443,11 +48469,11 @@ const tooltipV2Props = buildProps({
48443
48469
  }
48444
48470
  });
48445
48471
 
48446
- const __default__$d = defineComponent({
48472
+ const __default__$f = defineComponent({
48447
48473
  name: "ElTooltipV2Root"
48448
48474
  });
48449
48475
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
48450
- ...__default__$d,
48476
+ ...__default__$f,
48451
48477
  props: tooltipV2RootProps,
48452
48478
  setup(__props, { expose }) {
48453
48479
  const props = __props;
@@ -48516,11 +48542,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
48516
48542
  });
48517
48543
  var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "root.vue"]]);
48518
48544
 
48519
- const __default__$c = defineComponent({
48545
+ const __default__$e = defineComponent({
48520
48546
  name: "ElTooltipV2Arrow"
48521
48547
  });
48522
48548
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
48523
- ...__default__$c,
48549
+ ...__default__$e,
48524
48550
  props: {
48525
48551
  ...tooltipV2ArrowProps,
48526
48552
  ...tooltipV2ArrowSpecialProps
@@ -48559,11 +48585,11 @@ const visualHiddenProps = buildProps({
48559
48585
  }
48560
48586
  });
48561
48587
 
48562
- const __default__$b = defineComponent({
48588
+ const __default__$d = defineComponent({
48563
48589
  name: "ElVisuallyHidden"
48564
48590
  });
48565
48591
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
48566
- ...__default__$b,
48592
+ ...__default__$d,
48567
48593
  props: visualHiddenProps,
48568
48594
  setup(__props) {
48569
48595
  const props = __props;
@@ -48594,11 +48620,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
48594
48620
  var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "visual-hidden.vue"]]);
48595
48621
 
48596
48622
  const _hoisted_1$9 = ["data-side"];
48597
- const __default__$a = defineComponent({
48623
+ const __default__$c = defineComponent({
48598
48624
  name: "ElTooltipV2Content"
48599
48625
  });
48600
48626
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
48601
- ...__default__$a,
48627
+ ...__default__$c,
48602
48628
  props: { ...tooltipV2ContentProps, ...tooltipV2CommonProps },
48603
48629
  setup(__props) {
48604
48630
  const props = __props;
@@ -48726,11 +48752,11 @@ var ForwardRef = defineComponent({
48726
48752
  }
48727
48753
  });
48728
48754
 
48729
- const __default__$9 = defineComponent({
48755
+ const __default__$b = defineComponent({
48730
48756
  name: "ElTooltipV2Trigger"
48731
48757
  });
48732
48758
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
48733
- ...__default__$9,
48759
+ ...__default__$b,
48734
48760
  props: {
48735
48761
  ...tooltipV2CommonProps,
48736
48762
  ...tooltipV2TriggerProps
@@ -48809,11 +48835,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
48809
48835
  });
48810
48836
  var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "trigger.vue"]]);
48811
48837
 
48812
- const __default__$8 = defineComponent({
48838
+ const __default__$a = defineComponent({
48813
48839
  name: "ElTooltipV2"
48814
48840
  });
48815
48841
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
48816
- ...__default__$8,
48842
+ ...__default__$a,
48817
48843
  props: tooltipV2Props,
48818
48844
  setup(__props) {
48819
48845
  const props = __props;
@@ -49130,11 +49156,11 @@ const useMove = (props, checkedState, emit) => {
49130
49156
  };
49131
49157
  };
49132
49158
 
49133
- const __default__$7 = defineComponent({
49159
+ const __default__$9 = defineComponent({
49134
49160
  name: "ElTransferPanel"
49135
49161
  });
49136
49162
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
49137
- ...__default__$7,
49163
+ ...__default__$9,
49138
49164
  props: transferPanelProps,
49139
49165
  emits: transferPanelEmits,
49140
49166
  setup(__props, { expose, emit }) {
@@ -49251,11 +49277,11 @@ var TransferPanel = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "transf
49251
49277
 
49252
49278
  const _hoisted_1$8 = { key: 0 };
49253
49279
  const _hoisted_2$6 = { key: 0 };
49254
- const __default__$6 = defineComponent({
49280
+ const __default__$8 = defineComponent({
49255
49281
  name: "ElTransfer"
49256
49282
  });
49257
49283
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
49258
- ...__default__$6,
49284
+ ...__default__$8,
49259
49285
  props: transferProps,
49260
49286
  emits: transferEmits,
49261
49287
  setup(__props, { expose, emit }) {
@@ -50515,7 +50541,7 @@ const _sfc_main$b = defineComponent({
50515
50541
  });
50516
50542
  const _hoisted_1$7 = ["aria-expanded", "aria-disabled", "aria-checked", "draggable", "data-key"];
50517
50543
  const _hoisted_2$5 = ["aria-expanded"];
50518
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
50544
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
50519
50545
  const _component_el_icon = resolveComponent("el-icon");
50520
50546
  const _component_el_checkbox = resolveComponent("el-checkbox");
50521
50547
  const _component_loading = resolveComponent("loading");
@@ -50620,7 +50646,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
50620
50646
  [vShow, _ctx.node.visible]
50621
50647
  ]);
50622
50648
  }
50623
- var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$4], ["__file", "tree-node.vue"]]);
50649
+ var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$2], ["__file", "tree-node.vue"]]);
50624
50650
 
50625
50651
  function useKeydown({ el$ }, store) {
50626
50652
  const ns = useNamespace("tree");
@@ -50974,7 +51000,7 @@ const _sfc_main$a = defineComponent({
50974
51000
  };
50975
51001
  }
50976
51002
  });
50977
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
51003
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
50978
51004
  var _a;
50979
51005
  const _component_el_tree_node = resolveComponent("el-tree-node");
50980
51006
  return openBlock(), createElementBlock("div", {
@@ -51016,7 +51042,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
51016
51042
  ])
51017
51043
  ], 2);
51018
51044
  }
51019
- var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$3], ["__file", "tree.vue"]]);
51045
+ var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$1], ["__file", "tree.vue"]]);
51020
51046
 
51021
51047
  Tree.install = (app) => {
51022
51048
  app.component(Tree.name, Tree);
@@ -51824,7 +51850,7 @@ function useTree(props, emit) {
51824
51850
  const { treeNodeMap } = tree.value;
51825
51851
  keySet.forEach((key) => {
51826
51852
  const treeNode = treeNodeMap.get(key);
51827
- if (node && node.level === treeNode.level) {
51853
+ if (node && node.level === (treeNode == null ? void 0 : treeNode.level)) {
51828
51854
  keySet.delete(key);
51829
51855
  }
51830
51856
  });
@@ -51914,18 +51940,17 @@ var ElNodeContent = defineComponent({
51914
51940
  }
51915
51941
  });
51916
51942
 
51943
+ const _hoisted_1$6 = ["aria-expanded", "aria-disabled", "aria-checked", "data-key", "onClick"];
51917
51944
  const DEFAULT_ICON = "caret-right";
51918
- const _sfc_main$8 = defineComponent({
51919
- name: "ElTreeNode",
51920
- components: {
51921
- ElIcon,
51922
- CaretRight: caret_right_default,
51923
- ElCheckbox,
51924
- ElNodeContent
51925
- },
51945
+ const __default__$7 = defineComponent({
51946
+ name: "ElTreeNode"
51947
+ });
51948
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
51949
+ ...__default__$7,
51926
51950
  props: treeNodeProps,
51927
51951
  emits: treeNodeEmits,
51928
- setup(props, { emit }) {
51952
+ setup(__props, { emit }) {
51953
+ const props = __props;
51929
51954
  const tree = inject(ROOT_TREE_INJECTION_KEY);
51930
51955
  const ns = useNamespace("tree");
51931
51956
  const indent = computed$1(() => {
@@ -51953,88 +51978,80 @@ const _sfc_main$8 = defineComponent({
51953
51978
  }
51954
51979
  tree == null ? void 0 : tree.ctx.emit(NODE_CONTEXTMENU, event, (_d = props.node) == null ? void 0 : _d.data, props.node);
51955
51980
  };
51956
- return {
51957
- ns,
51958
- indent,
51959
- icon,
51960
- handleClick,
51961
- handleExpandIconClick,
51962
- handleCheckChange,
51963
- handleContextMenu
51981
+ return (_ctx, _cache) => {
51982
+ var _a, _b, _c;
51983
+ return openBlock(), createElementBlock("div", {
51984
+ ref: "node$",
51985
+ class: normalizeClass([
51986
+ unref(ns).b("node"),
51987
+ unref(ns).is("expanded", _ctx.expanded),
51988
+ unref(ns).is("current", _ctx.current),
51989
+ unref(ns).is("focusable", !_ctx.disabled),
51990
+ unref(ns).is("checked", !_ctx.disabled && _ctx.checked)
51991
+ ]),
51992
+ role: "treeitem",
51993
+ tabindex: "-1",
51994
+ "aria-expanded": _ctx.expanded,
51995
+ "aria-disabled": _ctx.disabled,
51996
+ "aria-checked": _ctx.checked,
51997
+ "data-key": (_a = _ctx.node) == null ? void 0 : _a.key,
51998
+ onClick: withModifiers(handleClick, ["stop"]),
51999
+ onContextmenu: handleContextMenu
52000
+ }, [
52001
+ createElementVNode("div", {
52002
+ class: normalizeClass(unref(ns).be("node", "content")),
52003
+ style: normalizeStyle({ paddingLeft: `${(_ctx.node.level - 1) * unref(indent)}px` })
52004
+ }, [
52005
+ unref(icon) ? (openBlock(), createBlock(unref(ElIcon), {
52006
+ key: 0,
52007
+ class: normalizeClass([
52008
+ unref(ns).is("leaf", !!((_b = _ctx.node) == null ? void 0 : _b.isLeaf)),
52009
+ unref(ns).is("hidden", _ctx.hiddenExpandIcon),
52010
+ {
52011
+ expanded: !((_c = _ctx.node) == null ? void 0 : _c.isLeaf) && _ctx.expanded
52012
+ },
52013
+ unref(ns).be("node", "expand-icon")
52014
+ ]),
52015
+ onClick: withModifiers(handleExpandIconClick, ["stop"])
52016
+ }, {
52017
+ default: withCtx(() => [
52018
+ (openBlock(), createBlock(resolveDynamicComponent(unref(icon))))
52019
+ ]),
52020
+ _: 1
52021
+ }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true),
52022
+ _ctx.showCheckbox ? (openBlock(), createBlock(unref(ElCheckbox), {
52023
+ key: 1,
52024
+ "model-value": _ctx.checked,
52025
+ indeterminate: _ctx.indeterminate,
52026
+ disabled: _ctx.disabled,
52027
+ onChange: handleCheckChange,
52028
+ onClick: _cache[0] || (_cache[0] = withModifiers(() => {
52029
+ }, ["stop"]))
52030
+ }, null, 8, ["model-value", "indeterminate", "disabled"])) : createCommentVNode("v-if", true),
52031
+ createVNode(unref(ElNodeContent), { node: _ctx.node }, null, 8, ["node"])
52032
+ ], 6)
52033
+ ], 42, _hoisted_1$6);
51964
52034
  };
51965
52035
  }
51966
52036
  });
51967
- const _hoisted_1$6 = ["aria-expanded", "aria-disabled", "aria-checked", "data-key"];
51968
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
51969
- var _a, _b, _c;
51970
- const _component_el_icon = resolveComponent("el-icon");
51971
- const _component_el_checkbox = resolveComponent("el-checkbox");
51972
- const _component_el_node_content = resolveComponent("el-node-content");
51973
- return openBlock(), createElementBlock("div", {
51974
- ref: "node$",
51975
- class: normalizeClass([
51976
- _ctx.ns.b("node"),
51977
- _ctx.ns.is("expanded", _ctx.expanded),
51978
- _ctx.ns.is("current", _ctx.current),
51979
- _ctx.ns.is("focusable", !_ctx.disabled),
51980
- _ctx.ns.is("checked", !_ctx.disabled && _ctx.checked)
51981
- ]),
51982
- role: "treeitem",
51983
- tabindex: "-1",
51984
- "aria-expanded": _ctx.expanded,
51985
- "aria-disabled": _ctx.disabled,
51986
- "aria-checked": _ctx.checked,
51987
- "data-key": (_a = _ctx.node) == null ? void 0 : _a.key,
51988
- onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.handleClick && _ctx.handleClick(...args), ["stop"])),
51989
- onContextmenu: _cache[2] || (_cache[2] = (...args) => _ctx.handleContextMenu && _ctx.handleContextMenu(...args))
51990
- }, [
51991
- createElementVNode("div", {
51992
- class: normalizeClass(_ctx.ns.be("node", "content")),
51993
- style: normalizeStyle({ paddingLeft: `${(_ctx.node.level - 1) * _ctx.indent}px` })
51994
- }, [
51995
- _ctx.icon ? (openBlock(), createBlock(_component_el_icon, {
51996
- key: 0,
51997
- class: normalizeClass([
51998
- _ctx.ns.is("leaf", !!((_b = _ctx.node) == null ? void 0 : _b.isLeaf)),
51999
- _ctx.ns.is("hidden", _ctx.hiddenExpandIcon),
52000
- {
52001
- expanded: !((_c = _ctx.node) == null ? void 0 : _c.isLeaf) && _ctx.expanded
52002
- },
52003
- _ctx.ns.be("node", "expand-icon")
52004
- ]),
52005
- onClick: withModifiers(_ctx.handleExpandIconClick, ["stop"])
52006
- }, {
52007
- default: withCtx(() => [
52008
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
52009
- ]),
52010
- _: 1
52011
- }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true),
52012
- _ctx.showCheckbox ? (openBlock(), createBlock(_component_el_checkbox, {
52013
- key: 1,
52014
- "model-value": _ctx.checked,
52015
- indeterminate: _ctx.indeterminate,
52016
- disabled: _ctx.disabled,
52017
- onChange: _ctx.handleCheckChange,
52018
- onClick: _cache[0] || (_cache[0] = withModifiers(() => {
52019
- }, ["stop"]))
52020
- }, null, 8, ["model-value", "indeterminate", "disabled", "onChange"])) : createCommentVNode("v-if", true),
52021
- createVNode(_component_el_node_content, { node: _ctx.node }, null, 8, ["node"])
52022
- ], 6)
52023
- ], 42, _hoisted_1$6);
52024
- }
52025
- var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$2], ["__file", "tree-node.vue"]]);
52037
+ var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "tree-node.vue"]]);
52026
52038
 
52027
- const _sfc_main$7 = defineComponent({
52028
- name: "ElTreeV2",
52029
- components: {
52030
- ElTreeNode,
52031
- FixedSizeList: FixedSizeList$1
52032
- },
52039
+ const itemSize = 26;
52040
+ const __default__$6 = defineComponent({
52041
+ name: "ElTreeV2"
52042
+ });
52043
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
52044
+ ...__default__$6,
52033
52045
  props: treeProps,
52034
52046
  emits: treeEmits,
52035
- setup(props, ctx) {
52047
+ setup(__props, { expose, emit }) {
52048
+ const props = __props;
52049
+ const slots = useSlots();
52036
52050
  provide(ROOT_TREE_INJECTION_KEY, {
52037
- ctx,
52051
+ ctx: {
52052
+ emit,
52053
+ slots
52054
+ },
52038
52055
  props,
52039
52056
  instance: getCurrentInstance()
52040
52057
  });
@@ -52051,9 +52068,9 @@ const _sfc_main$7 = defineComponent({
52051
52068
  isDisabled,
52052
52069
  isCurrent,
52053
52070
  isForceHiddenExpandIcon,
52054
- toggleCheckbox,
52055
52071
  handleNodeClick,
52056
52072
  handleNodeCheck,
52073
+ toggleCheckbox,
52057
52074
  getCurrentNode,
52058
52075
  getCurrentKey,
52059
52076
  setCurrentKey,
@@ -52069,8 +52086,9 @@ const _sfc_main$7 = defineComponent({
52069
52086
  expandNode,
52070
52087
  collapseNode,
52071
52088
  setExpandedKeys
52072
- } = useTree(props, ctx.emit);
52073
- ctx.expose({
52089
+ } = useTree(props, emit);
52090
+ expose({
52091
+ toggleCheckbox,
52074
52092
  getCurrentNode,
52075
52093
  getCurrentKey,
52076
52094
  setCurrentKey,
@@ -52087,71 +52105,52 @@ const _sfc_main$7 = defineComponent({
52087
52105
  collapseNode,
52088
52106
  setExpandedKeys
52089
52107
  });
52090
- return {
52091
- t,
52092
- ns,
52093
- flattenTree,
52094
- itemSize: 26,
52095
- isNotEmpty,
52096
- toggleExpand,
52097
- toggleCheckbox,
52098
- isExpanded,
52099
- isIndeterminate,
52100
- isChecked,
52101
- isDisabled,
52102
- isCurrent,
52103
- isForceHiddenExpandIcon,
52104
- handleNodeClick,
52105
- handleNodeCheck
52108
+ return (_ctx, _cache) => {
52109
+ var _a;
52110
+ return openBlock(), createElementBlock("div", {
52111
+ class: normalizeClass([unref(ns).b(), { [unref(ns).m("highlight-current")]: _ctx.highlightCurrent }]),
52112
+ role: "tree"
52113
+ }, [
52114
+ unref(isNotEmpty) ? (openBlock(), createBlock(unref(FixedSizeList$1), {
52115
+ key: 0,
52116
+ "class-name": unref(ns).b("virtual-list"),
52117
+ data: unref(flattenTree),
52118
+ total: unref(flattenTree).length,
52119
+ height: _ctx.height,
52120
+ "item-size": itemSize,
52121
+ "perf-mode": _ctx.perfMode
52122
+ }, {
52123
+ default: withCtx(({ data, index, style }) => [
52124
+ (openBlock(), createBlock(ElTreeNode, {
52125
+ key: data[index].key,
52126
+ style: normalizeStyle(style),
52127
+ node: data[index],
52128
+ expanded: unref(isExpanded)(data[index]),
52129
+ "show-checkbox": _ctx.showCheckbox,
52130
+ checked: unref(isChecked)(data[index]),
52131
+ indeterminate: unref(isIndeterminate)(data[index]),
52132
+ disabled: unref(isDisabled)(data[index]),
52133
+ current: unref(isCurrent)(data[index]),
52134
+ "hidden-expand-icon": unref(isForceHiddenExpandIcon)(data[index]),
52135
+ onClick: unref(handleNodeClick),
52136
+ onToggle: unref(toggleExpand),
52137
+ onCheck: unref(handleNodeCheck)
52138
+ }, null, 8, ["style", "node", "expanded", "show-checkbox", "checked", "indeterminate", "disabled", "current", "hidden-expand-icon", "onClick", "onToggle", "onCheck"]))
52139
+ ]),
52140
+ _: 1
52141
+ }, 8, ["class-name", "data", "total", "height", "perf-mode"])) : (openBlock(), createElementBlock("div", {
52142
+ key: 1,
52143
+ class: normalizeClass(unref(ns).e("empty-block"))
52144
+ }, [
52145
+ createElementVNode("span", {
52146
+ class: normalizeClass(unref(ns).e("empty-text"))
52147
+ }, toDisplayString((_a = _ctx.emptyText) != null ? _a : unref(t)("el.tree.emptyText")), 3)
52148
+ ], 2))
52149
+ ], 2);
52106
52150
  };
52107
52151
  }
52108
52152
  });
52109
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
52110
- var _a;
52111
- const _component_el_tree_node = resolveComponent("el-tree-node");
52112
- const _component_fixed_size_list = resolveComponent("fixed-size-list");
52113
- return openBlock(), createElementBlock("div", {
52114
- class: normalizeClass([_ctx.ns.b(), { [_ctx.ns.m("highlight-current")]: _ctx.highlightCurrent }]),
52115
- role: "tree"
52116
- }, [
52117
- _ctx.isNotEmpty ? (openBlock(), createBlock(_component_fixed_size_list, {
52118
- key: 0,
52119
- "class-name": _ctx.ns.b("virtual-list"),
52120
- data: _ctx.flattenTree,
52121
- total: _ctx.flattenTree.length,
52122
- height: _ctx.height,
52123
- "item-size": _ctx.itemSize,
52124
- "perf-mode": _ctx.perfMode
52125
- }, {
52126
- default: withCtx(({ data, index, style }) => [
52127
- (openBlock(), createBlock(_component_el_tree_node, {
52128
- key: data[index].key,
52129
- style: normalizeStyle(style),
52130
- node: data[index],
52131
- expanded: _ctx.isExpanded(data[index]),
52132
- "show-checkbox": _ctx.showCheckbox,
52133
- checked: _ctx.isChecked(data[index]),
52134
- indeterminate: _ctx.isIndeterminate(data[index]),
52135
- disabled: _ctx.isDisabled(data[index]),
52136
- current: _ctx.isCurrent(data[index]),
52137
- "hidden-expand-icon": _ctx.isForceHiddenExpandIcon(data[index]),
52138
- onClick: _ctx.handleNodeClick,
52139
- onToggle: _ctx.toggleExpand,
52140
- onCheck: _ctx.handleNodeCheck
52141
- }, null, 8, ["style", "node", "expanded", "show-checkbox", "checked", "indeterminate", "disabled", "current", "hidden-expand-icon", "onClick", "onToggle", "onCheck"]))
52142
- ]),
52143
- _: 1
52144
- }, 8, ["class-name", "data", "total", "height", "item-size", "perf-mode"])) : (openBlock(), createElementBlock("div", {
52145
- key: 1,
52146
- class: normalizeClass(_ctx.ns.e("empty-block"))
52147
- }, [
52148
- createElementVNode("span", {
52149
- class: normalizeClass(_ctx.ns.e("empty-text"))
52150
- }, toDisplayString((_a = _ctx.emptyText) != null ? _a : _ctx.t("el.tree.emptyText")), 3)
52151
- ], 2))
52152
- ], 2);
52153
- }
52154
- var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$1], ["__file", "tree.vue"]]);
52153
+ var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "tree.vue"]]);
52155
52154
 
52156
52155
  const ElTreeV2 = withInstall(TreeV2);
52157
52156