element-plus 2.2.12 → 2.2.15

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 (561) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +926 -725
  4. package/dist/index.full.min.js +16 -16
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +17 -17
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +927 -726
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar.js +1 -1
  14. package/dist/locale/ar.min.js +1 -1
  15. package/dist/locale/ar.min.mjs +1 -1
  16. package/dist/locale/ar.mjs +1 -1
  17. package/dist/locale/az.js +1 -1
  18. package/dist/locale/az.min.js +1 -1
  19. package/dist/locale/az.min.mjs +1 -1
  20. package/dist/locale/az.mjs +1 -1
  21. package/dist/locale/bg.js +1 -1
  22. package/dist/locale/bg.min.js +1 -1
  23. package/dist/locale/bg.min.mjs +1 -1
  24. package/dist/locale/bg.mjs +1 -1
  25. package/dist/locale/bn.js +1 -1
  26. package/dist/locale/bn.min.js +1 -1
  27. package/dist/locale/bn.min.mjs +1 -1
  28. package/dist/locale/bn.mjs +1 -1
  29. package/dist/locale/ca.js +1 -1
  30. package/dist/locale/ca.min.js +1 -1
  31. package/dist/locale/ca.min.mjs +1 -1
  32. package/dist/locale/ca.mjs +1 -1
  33. package/dist/locale/cs.js +1 -1
  34. package/dist/locale/cs.min.js +1 -1
  35. package/dist/locale/cs.min.mjs +1 -1
  36. package/dist/locale/cs.mjs +1 -1
  37. package/dist/locale/da.js +1 -1
  38. package/dist/locale/da.min.js +1 -1
  39. package/dist/locale/da.min.mjs +1 -1
  40. package/dist/locale/da.mjs +1 -1
  41. package/dist/locale/de.js +1 -1
  42. package/dist/locale/de.min.js +1 -1
  43. package/dist/locale/de.min.mjs +1 -1
  44. package/dist/locale/de.mjs +1 -1
  45. package/dist/locale/el.js +1 -1
  46. package/dist/locale/el.min.js +1 -1
  47. package/dist/locale/el.min.mjs +1 -1
  48. package/dist/locale/el.mjs +1 -1
  49. package/dist/locale/en.js +1 -1
  50. package/dist/locale/en.min.js +1 -1
  51. package/dist/locale/en.min.mjs +1 -1
  52. package/dist/locale/en.mjs +1 -1
  53. package/dist/locale/eo.js +1 -1
  54. package/dist/locale/eo.min.js +1 -1
  55. package/dist/locale/eo.min.mjs +1 -1
  56. package/dist/locale/eo.mjs +1 -1
  57. package/dist/locale/es.js +1 -1
  58. package/dist/locale/es.min.js +1 -1
  59. package/dist/locale/es.min.mjs +1 -1
  60. package/dist/locale/es.mjs +1 -1
  61. package/dist/locale/et.js +1 -1
  62. package/dist/locale/et.min.js +1 -1
  63. package/dist/locale/et.min.mjs +1 -1
  64. package/dist/locale/et.mjs +1 -1
  65. package/dist/locale/eu.js +1 -1
  66. package/dist/locale/eu.min.js +1 -1
  67. package/dist/locale/eu.min.mjs +1 -1
  68. package/dist/locale/eu.mjs +1 -1
  69. package/dist/locale/fa.js +1 -1
  70. package/dist/locale/fa.min.js +1 -1
  71. package/dist/locale/fa.min.mjs +1 -1
  72. package/dist/locale/fa.mjs +1 -1
  73. package/dist/locale/fi.js +1 -1
  74. package/dist/locale/fi.min.js +1 -1
  75. package/dist/locale/fi.min.mjs +1 -1
  76. package/dist/locale/fi.mjs +1 -1
  77. package/dist/locale/fr.js +1 -1
  78. package/dist/locale/fr.min.js +1 -1
  79. package/dist/locale/fr.min.mjs +1 -1
  80. package/dist/locale/fr.mjs +1 -1
  81. package/dist/locale/he.js +1 -1
  82. package/dist/locale/he.min.js +1 -1
  83. package/dist/locale/he.min.mjs +1 -1
  84. package/dist/locale/he.mjs +1 -1
  85. package/dist/locale/hr.js +1 -1
  86. package/dist/locale/hr.min.js +1 -1
  87. package/dist/locale/hr.min.mjs +1 -1
  88. package/dist/locale/hr.mjs +1 -1
  89. package/dist/locale/hu.js +1 -1
  90. package/dist/locale/hu.min.js +1 -1
  91. package/dist/locale/hu.min.mjs +1 -1
  92. package/dist/locale/hu.mjs +1 -1
  93. package/dist/locale/hy-am.js +1 -1
  94. package/dist/locale/hy-am.min.js +1 -1
  95. package/dist/locale/hy-am.min.mjs +1 -1
  96. package/dist/locale/hy-am.mjs +1 -1
  97. package/dist/locale/id.js +1 -1
  98. package/dist/locale/id.min.js +1 -1
  99. package/dist/locale/id.min.mjs +1 -1
  100. package/dist/locale/id.mjs +1 -1
  101. package/dist/locale/it.js +1 -1
  102. package/dist/locale/it.min.js +1 -1
  103. package/dist/locale/it.min.mjs +1 -1
  104. package/dist/locale/it.mjs +1 -1
  105. package/dist/locale/ja.js +1 -1
  106. package/dist/locale/ja.min.js +1 -1
  107. package/dist/locale/ja.min.mjs +1 -1
  108. package/dist/locale/ja.mjs +1 -1
  109. package/dist/locale/kk.js +1 -1
  110. package/dist/locale/kk.min.js +1 -1
  111. package/dist/locale/kk.min.mjs +1 -1
  112. package/dist/locale/kk.mjs +1 -1
  113. package/dist/locale/km.js +1 -1
  114. package/dist/locale/km.min.js +1 -1
  115. package/dist/locale/km.min.mjs +1 -1
  116. package/dist/locale/km.mjs +1 -1
  117. package/dist/locale/ko.js +1 -1
  118. package/dist/locale/ko.min.js +1 -1
  119. package/dist/locale/ko.min.mjs +1 -1
  120. package/dist/locale/ko.mjs +1 -1
  121. package/dist/locale/ku.js +1 -1
  122. package/dist/locale/ku.min.js +1 -1
  123. package/dist/locale/ku.min.mjs +1 -1
  124. package/dist/locale/ku.mjs +1 -1
  125. package/dist/locale/ky.js +1 -1
  126. package/dist/locale/ky.min.js +1 -1
  127. package/dist/locale/ky.min.mjs +1 -1
  128. package/dist/locale/ky.mjs +1 -1
  129. package/dist/locale/lt.js +1 -1
  130. package/dist/locale/lt.min.js +1 -1
  131. package/dist/locale/lt.min.mjs +1 -1
  132. package/dist/locale/lt.mjs +1 -1
  133. package/dist/locale/lv.js +1 -1
  134. package/dist/locale/lv.min.js +1 -1
  135. package/dist/locale/lv.min.mjs +1 -1
  136. package/dist/locale/lv.mjs +1 -1
  137. package/dist/locale/mg.js +1 -1
  138. package/dist/locale/mg.min.js +1 -1
  139. package/dist/locale/mg.min.mjs +1 -1
  140. package/dist/locale/mg.mjs +1 -1
  141. package/dist/locale/mn.js +1 -1
  142. package/dist/locale/mn.min.js +1 -1
  143. package/dist/locale/mn.min.mjs +1 -1
  144. package/dist/locale/mn.mjs +1 -1
  145. package/dist/locale/nb-no.js +1 -1
  146. package/dist/locale/nb-no.min.js +1 -1
  147. package/dist/locale/nb-no.min.mjs +1 -1
  148. package/dist/locale/nb-no.mjs +1 -1
  149. package/dist/locale/nl.js +1 -1
  150. package/dist/locale/nl.min.js +1 -1
  151. package/dist/locale/nl.min.mjs +1 -1
  152. package/dist/locale/nl.mjs +1 -1
  153. package/dist/locale/pa.js +1 -1
  154. package/dist/locale/pa.min.js +1 -1
  155. package/dist/locale/pa.min.mjs +1 -1
  156. package/dist/locale/pa.mjs +1 -1
  157. package/dist/locale/pl.js +1 -1
  158. package/dist/locale/pl.min.js +1 -1
  159. package/dist/locale/pl.min.mjs +1 -1
  160. package/dist/locale/pl.mjs +1 -1
  161. package/dist/locale/pt-br.js +1 -1
  162. package/dist/locale/pt-br.min.js +1 -1
  163. package/dist/locale/pt-br.min.mjs +1 -1
  164. package/dist/locale/pt-br.mjs +1 -1
  165. package/dist/locale/pt.js +1 -1
  166. package/dist/locale/pt.min.js +1 -1
  167. package/dist/locale/pt.min.mjs +1 -1
  168. package/dist/locale/pt.mjs +1 -1
  169. package/dist/locale/ro.js +1 -1
  170. package/dist/locale/ro.min.js +1 -1
  171. package/dist/locale/ro.min.mjs +1 -1
  172. package/dist/locale/ro.mjs +1 -1
  173. package/dist/locale/ru.js +1 -1
  174. package/dist/locale/ru.min.js +1 -1
  175. package/dist/locale/ru.min.mjs +1 -1
  176. package/dist/locale/ru.mjs +1 -1
  177. package/dist/locale/sk.js +1 -1
  178. package/dist/locale/sk.min.js +1 -1
  179. package/dist/locale/sk.min.mjs +1 -1
  180. package/dist/locale/sk.mjs +1 -1
  181. package/dist/locale/sl.js +1 -1
  182. package/dist/locale/sl.min.js +1 -1
  183. package/dist/locale/sl.min.mjs +1 -1
  184. package/dist/locale/sl.mjs +1 -1
  185. package/dist/locale/sr.js +1 -1
  186. package/dist/locale/sr.min.js +1 -1
  187. package/dist/locale/sr.min.mjs +1 -1
  188. package/dist/locale/sr.mjs +1 -1
  189. package/dist/locale/sv.js +1 -1
  190. package/dist/locale/sv.min.js +1 -1
  191. package/dist/locale/sv.min.mjs +1 -1
  192. package/dist/locale/sv.mjs +1 -1
  193. package/dist/locale/ta.js +1 -1
  194. package/dist/locale/ta.min.js +1 -1
  195. package/dist/locale/ta.min.mjs +1 -1
  196. package/dist/locale/ta.mjs +1 -1
  197. package/dist/locale/th.js +1 -1
  198. package/dist/locale/th.min.js +1 -1
  199. package/dist/locale/th.min.mjs +1 -1
  200. package/dist/locale/th.mjs +1 -1
  201. package/dist/locale/tk.js +1 -1
  202. package/dist/locale/tk.min.js +1 -1
  203. package/dist/locale/tk.min.mjs +1 -1
  204. package/dist/locale/tk.mjs +1 -1
  205. package/dist/locale/tr.js +1 -1
  206. package/dist/locale/tr.min.js +1 -1
  207. package/dist/locale/tr.min.mjs +1 -1
  208. package/dist/locale/tr.mjs +1 -1
  209. package/dist/locale/ug-cn.js +1 -1
  210. package/dist/locale/ug-cn.min.js +1 -1
  211. package/dist/locale/ug-cn.min.mjs +1 -1
  212. package/dist/locale/ug-cn.mjs +1 -1
  213. package/dist/locale/uk.js +1 -1
  214. package/dist/locale/uk.min.js +1 -1
  215. package/dist/locale/uk.min.mjs +1 -1
  216. package/dist/locale/uk.mjs +1 -1
  217. package/dist/locale/uz-uz.js +1 -1
  218. package/dist/locale/uz-uz.min.js +1 -1
  219. package/dist/locale/uz-uz.min.mjs +1 -1
  220. package/dist/locale/uz-uz.mjs +1 -1
  221. package/dist/locale/vi.js +1 -1
  222. package/dist/locale/vi.min.js +1 -1
  223. package/dist/locale/vi.min.mjs +1 -1
  224. package/dist/locale/vi.mjs +1 -1
  225. package/dist/locale/zh-cn.js +1 -1
  226. package/dist/locale/zh-cn.min.js +1 -1
  227. package/dist/locale/zh-cn.min.mjs +1 -1
  228. package/dist/locale/zh-cn.mjs +1 -1
  229. package/dist/locale/zh-tw.js +47 -12
  230. package/dist/locale/zh-tw.min.js +1 -1
  231. package/dist/locale/zh-tw.min.js.map +1 -1
  232. package/dist/locale/zh-tw.min.mjs +1 -1
  233. package/dist/locale/zh-tw.min.mjs.map +1 -1
  234. package/dist/locale/zh-tw.mjs +47 -12
  235. package/es/components/carousel/index.d.ts +1 -1
  236. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  237. package/es/components/cascader/index.d.ts +2 -2
  238. package/es/components/cascader/src/index.mjs +15 -12
  239. package/es/components/cascader/src/index.mjs.map +1 -1
  240. package/es/components/cascader/src/index.vue.d.ts +42 -43
  241. package/es/components/checkbox/index.d.ts +2 -2
  242. package/es/components/checkbox/src/checkbox-group.mjs +3 -3
  243. package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
  244. package/es/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
  245. package/es/components/checkbox/src/checkbox.d.ts +4 -5
  246. package/es/components/checkbox/src/checkbox.mjs +6 -10
  247. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  248. package/es/components/color-picker/src/index.mjs +10 -15
  249. package/es/components/color-picker/src/index.mjs.map +1 -1
  250. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -0
  251. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -0
  252. package/es/components/date-picker/src/panel-utils.d.ts +2 -0
  253. package/es/components/dialog/src/use-dialog.mjs +1 -1
  254. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  255. package/es/components/form/index.d.ts +4 -0
  256. package/es/components/form/src/form-item2.mjs +1 -0
  257. package/es/components/form/src/form-item2.mjs.map +1 -1
  258. package/es/components/form/src/form.d.ts +1 -0
  259. package/es/components/form/src/form.mjs +5 -0
  260. package/es/components/form/src/form.mjs.map +1 -1
  261. package/es/components/form/src/form.vue.d.ts +4 -0
  262. package/es/components/index.mjs +1 -1
  263. package/es/components/menu/index.d.ts +224 -0
  264. package/es/components/menu/src/menu.mjs +39 -17
  265. package/es/components/menu/src/menu.mjs.map +1 -1
  266. package/es/components/menu/src/sub-menu.d.ts +138 -2
  267. package/es/components/menu/src/sub-menu.mjs +18 -3
  268. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  269. package/es/components/message/src/instance.mjs +1 -1
  270. package/es/components/message/src/instance.mjs.map +1 -1
  271. package/es/components/message/src/method.mjs +1 -1
  272. package/es/components/message/src/method.mjs.map +1 -1
  273. package/es/components/message-box/src/message-box.type.d.ts +1 -1
  274. package/es/components/message-box/src/messageBox.mjs +10 -9
  275. package/es/components/message-box/src/messageBox.mjs.map +1 -1
  276. package/es/components/notification/src/notification.d.ts +2 -0
  277. package/es/components/notification/src/notification.mjs.map +1 -1
  278. package/es/components/notification/src/notification.vue.d.ts +111 -5
  279. package/es/components/notification/src/notification2.mjs +84 -91
  280. package/es/components/notification/src/notification2.mjs.map +1 -1
  281. package/es/components/notification/src/notify.mjs +2 -2
  282. package/es/components/notification/src/notify.mjs.map +1 -1
  283. package/es/components/page-header/index.d.ts +46 -0
  284. package/es/components/page-header/src/page-header.vue.d.ts +46 -0
  285. package/es/components/page-header/src/page-header2.mjs +70 -28
  286. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  287. package/es/components/pagination/index.d.ts +6 -0
  288. package/es/components/pagination/src/components/next.d.ts +6 -0
  289. package/es/components/pagination/src/components/next.mjs +4 -0
  290. package/es/components/pagination/src/components/next.mjs.map +1 -1
  291. package/es/components/pagination/src/components/next.vue.d.ts +18 -1
  292. package/es/components/pagination/src/components/next2.mjs +2 -3
  293. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  294. package/es/components/pagination/src/components/prev.d.ts +6 -0
  295. package/es/components/pagination/src/components/prev.mjs +4 -0
  296. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  297. package/es/components/pagination/src/components/prev.vue.d.ts +18 -1
  298. package/es/components/pagination/src/components/prev2.mjs +2 -3
  299. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  300. package/es/components/pagination/src/pagination.d.ts +8 -0
  301. package/es/components/pagination/src/pagination.mjs +12 -0
  302. package/es/components/pagination/src/pagination.mjs.map +1 -1
  303. package/es/components/popconfirm/index.d.ts +7 -0
  304. package/es/components/popconfirm/src/popconfirm.d.ts +1 -0
  305. package/es/components/popconfirm/src/popconfirm.mjs +5 -1
  306. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  307. package/es/components/popconfirm/src/popconfirm.vue.d.ts +454 -447
  308. package/es/components/popconfirm/src/popconfirm2.mjs +14 -5
  309. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  310. package/es/components/popover/src/popover2.mjs +1 -1
  311. package/es/components/popover/src/popover2.mjs.map +1 -1
  312. package/es/components/scrollbar/index.mjs +2 -2
  313. package/es/components/scrollbar/src/scrollbar.mjs +169 -44
  314. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  315. package/es/components/scrollbar/src/scrollbar2.mjs +44 -169
  316. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  317. package/es/components/select/src/useOption.mjs +2 -2
  318. package/es/components/select/src/useOption.mjs.map +1 -1
  319. package/es/components/select/src/useSelect.d.ts +31 -32
  320. package/es/components/select/src/useSelect.mjs +8 -11
  321. package/es/components/select/src/useSelect.mjs.map +1 -1
  322. package/es/components/slider/src/composables/use-marks.mjs +1 -1
  323. package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
  324. package/es/components/slot/src/only-child.mjs +3 -1
  325. package/es/components/slot/src/only-child.mjs.map +1 -1
  326. package/es/components/space/index.d.ts +3 -3
  327. package/es/components/space/src/space.d.ts +5 -4
  328. package/es/components/space/src/space.mjs.map +1 -1
  329. package/es/components/space/src/use-space.d.ts +1 -1
  330. package/es/components/switch/src/switch2.mjs +2 -1
  331. package/es/components/switch/src/switch2.mjs.map +1 -1
  332. package/es/components/table/src/table/style-helper.mjs +11 -9
  333. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  334. package/es/components/table/src/table-body/events-helper.d.ts +1 -3
  335. package/es/components/table/src/table-body/events-helper.mjs +2 -2
  336. package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
  337. package/es/components/table/src/table-body/index.mjs +1 -5
  338. package/es/components/table/src/table-body/index.mjs.map +1 -1
  339. package/es/components/table/src/table-body/render-helper.mjs +2 -2
  340. package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
  341. package/es/components/table/src/table-header/index.mjs +1 -2
  342. package/es/components/table/src/table-header/index.mjs.map +1 -1
  343. package/es/components/table/src/util.mjs +1 -0
  344. package/es/components/table/src/util.mjs.map +1 -1
  345. package/es/components/time-picker/src/common/picker.mjs +6 -9
  346. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  347. package/es/components/time-picker/src/common/picker.vue.d.ts +21 -22
  348. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +12 -4
  349. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
  350. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -0
  351. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -0
  352. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -0
  353. package/es/components/transfer/index.d.ts +10 -10
  354. package/es/components/transfer/src/transfer-panel.vue.d.ts +2 -2
  355. package/es/components/transfer/src/transfer.vue.d.ts +10 -10
  356. package/es/components/tree/src/model/node.mjs +3 -3
  357. package/es/components/tree/src/model/node.mjs.map +1 -1
  358. package/es/components/tree/src/model/tree-store.mjs +2 -2
  359. package/es/components/tree/src/model/tree-store.mjs.map +1 -1
  360. package/es/components/tree-v2/src/composables/useTree.d.ts +4 -0
  361. package/es/components/tree-v2/src/composables/useTree.mjs +21 -7
  362. package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
  363. package/es/components/tree-v2/src/tree.mjs +10 -2
  364. package/es/components/tree-v2/src/tree.mjs.map +1 -1
  365. package/es/components/virtual-list/src/builders/build-list.mjs +3 -3
  366. package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
  367. package/es/hooks/use-id/index.mjs +4 -1
  368. package/es/hooks/use-id/index.mjs.map +1 -1
  369. package/es/hooks/use-lockscreen/index.mjs +4 -6
  370. package/es/hooks/use-lockscreen/index.mjs.map +1 -1
  371. package/es/index.mjs +1 -1
  372. package/es/locale/lang/zh-tw.d.ts +35 -0
  373. package/es/locale/lang/zh-tw.mjs +46 -11
  374. package/es/locale/lang/zh-tw.mjs.map +1 -1
  375. package/es/utils/dom/index.d.ts +0 -1
  376. package/es/utils/dom/index.mjs +0 -1
  377. package/es/utils/dom/index.mjs.map +1 -1
  378. package/es/utils/index.mjs +0 -1
  379. package/es/utils/index.mjs.map +1 -1
  380. package/es/version.d.ts +1 -1
  381. package/es/version.mjs +1 -1
  382. package/es/version.mjs.map +1 -1
  383. package/lib/components/carousel/index.d.ts +1 -1
  384. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  385. package/lib/components/cascader/index.d.ts +2 -2
  386. package/lib/components/cascader/src/index.js +16 -13
  387. package/lib/components/cascader/src/index.js.map +1 -1
  388. package/lib/components/cascader/src/index.vue.d.ts +42 -43
  389. package/lib/components/checkbox/index.d.ts +2 -2
  390. package/lib/components/checkbox/src/checkbox-group.js +3 -3
  391. package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
  392. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
  393. package/lib/components/checkbox/src/checkbox.d.ts +4 -5
  394. package/lib/components/checkbox/src/checkbox.js +4 -8
  395. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  396. package/lib/components/color-picker/src/index.js +8 -13
  397. package/lib/components/color-picker/src/index.js.map +1 -1
  398. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -0
  399. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -0
  400. package/lib/components/date-picker/src/panel-utils.d.ts +2 -0
  401. package/lib/components/dialog/src/use-dialog.js +1 -1
  402. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  403. package/lib/components/form/index.d.ts +4 -0
  404. package/lib/components/form/src/form-item2.js +1 -0
  405. package/lib/components/form/src/form-item2.js.map +1 -1
  406. package/lib/components/form/src/form.d.ts +1 -0
  407. package/lib/components/form/src/form.js +5 -0
  408. package/lib/components/form/src/form.js.map +1 -1
  409. package/lib/components/form/src/form.vue.d.ts +4 -0
  410. package/lib/components/index.js +1 -1
  411. package/lib/components/menu/index.d.ts +224 -0
  412. package/lib/components/menu/src/menu.js +39 -17
  413. package/lib/components/menu/src/menu.js.map +1 -1
  414. package/lib/components/menu/src/sub-menu.d.ts +138 -2
  415. package/lib/components/menu/src/sub-menu.js +17 -2
  416. package/lib/components/menu/src/sub-menu.js.map +1 -1
  417. package/lib/components/message/src/instance.js +1 -1
  418. package/lib/components/message/src/instance.js.map +1 -1
  419. package/lib/components/message/src/method.js +1 -1
  420. package/lib/components/message/src/method.js.map +1 -1
  421. package/lib/components/message-box/src/message-box.type.d.ts +1 -1
  422. package/lib/components/message-box/src/messageBox.js +10 -9
  423. package/lib/components/message-box/src/messageBox.js.map +1 -1
  424. package/lib/components/notification/src/notification.d.ts +2 -0
  425. package/lib/components/notification/src/notification.js.map +1 -1
  426. package/lib/components/notification/src/notification.vue.d.ts +111 -5
  427. package/lib/components/notification/src/notification2.js +85 -92
  428. package/lib/components/notification/src/notification2.js.map +1 -1
  429. package/lib/components/notification/src/notify.js +2 -2
  430. package/lib/components/notification/src/notify.js.map +1 -1
  431. package/lib/components/page-header/index.d.ts +46 -0
  432. package/lib/components/page-header/src/page-header.vue.d.ts +46 -0
  433. package/lib/components/page-header/src/page-header2.js +69 -27
  434. package/lib/components/page-header/src/page-header2.js.map +1 -1
  435. package/lib/components/pagination/index.d.ts +6 -0
  436. package/lib/components/pagination/src/components/next.d.ts +6 -0
  437. package/lib/components/pagination/src/components/next.js +4 -0
  438. package/lib/components/pagination/src/components/next.js.map +1 -1
  439. package/lib/components/pagination/src/components/next.vue.d.ts +18 -1
  440. package/lib/components/pagination/src/components/next2.js +1 -2
  441. package/lib/components/pagination/src/components/next2.js.map +1 -1
  442. package/lib/components/pagination/src/components/prev.d.ts +6 -0
  443. package/lib/components/pagination/src/components/prev.js +4 -0
  444. package/lib/components/pagination/src/components/prev.js.map +1 -1
  445. package/lib/components/pagination/src/components/prev.vue.d.ts +18 -1
  446. package/lib/components/pagination/src/components/prev2.js +1 -2
  447. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  448. package/lib/components/pagination/src/pagination.d.ts +8 -0
  449. package/lib/components/pagination/src/pagination.js +12 -0
  450. package/lib/components/pagination/src/pagination.js.map +1 -1
  451. package/lib/components/popconfirm/index.d.ts +7 -0
  452. package/lib/components/popconfirm/src/popconfirm.d.ts +1 -0
  453. package/lib/components/popconfirm/src/popconfirm.js +5 -1
  454. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  455. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +454 -447
  456. package/lib/components/popconfirm/src/popconfirm2.js +13 -4
  457. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  458. package/lib/components/popover/src/popover2.js +1 -1
  459. package/lib/components/popover/src/popover2.js.map +1 -1
  460. package/lib/components/scrollbar/index.js +2 -2
  461. package/lib/components/scrollbar/src/scrollbar.js +169 -45
  462. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  463. package/lib/components/scrollbar/src/scrollbar2.js +45 -169
  464. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  465. package/lib/components/select/src/useOption.js +1 -1
  466. package/lib/components/select/src/useOption.js.map +1 -1
  467. package/lib/components/select/src/useSelect.d.ts +31 -32
  468. package/lib/components/select/src/useSelect.js +9 -12
  469. package/lib/components/select/src/useSelect.js.map +1 -1
  470. package/lib/components/slider/src/composables/use-marks.js +1 -1
  471. package/lib/components/slider/src/composables/use-marks.js.map +1 -1
  472. package/lib/components/slot/src/only-child.js +3 -1
  473. package/lib/components/slot/src/only-child.js.map +1 -1
  474. package/lib/components/space/index.d.ts +3 -3
  475. package/lib/components/space/src/space.d.ts +5 -4
  476. package/lib/components/space/src/space.js.map +1 -1
  477. package/lib/components/space/src/use-space.d.ts +1 -1
  478. package/lib/components/switch/src/switch2.js +2 -1
  479. package/lib/components/switch/src/switch2.js.map +1 -1
  480. package/lib/components/table/src/table/style-helper.js +11 -9
  481. package/lib/components/table/src/table/style-helper.js.map +1 -1
  482. package/lib/components/table/src/table-body/events-helper.d.ts +1 -3
  483. package/lib/components/table/src/table-body/events-helper.js +2 -2
  484. package/lib/components/table/src/table-body/events-helper.js.map +1 -1
  485. package/lib/components/table/src/table-body/index.js +0 -4
  486. package/lib/components/table/src/table-body/index.js.map +1 -1
  487. package/lib/components/table/src/table-body/render-helper.js +2 -2
  488. package/lib/components/table/src/table-body/render-helper.js.map +1 -1
  489. package/lib/components/table/src/table-header/index.js +1 -2
  490. package/lib/components/table/src/table-header/index.js.map +1 -1
  491. package/lib/components/table/src/util.js +1 -0
  492. package/lib/components/table/src/util.js.map +1 -1
  493. package/lib/components/time-picker/src/common/picker.js +17 -20
  494. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  495. package/lib/components/time-picker/src/common/picker.vue.d.ts +21 -22
  496. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +12 -4
  497. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
  498. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -0
  499. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -0
  500. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -0
  501. package/lib/components/transfer/index.d.ts +10 -10
  502. package/lib/components/transfer/src/transfer-panel.vue.d.ts +2 -2
  503. package/lib/components/transfer/src/transfer.vue.d.ts +10 -10
  504. package/lib/components/tree/src/model/node.js +3 -3
  505. package/lib/components/tree/src/model/node.js.map +1 -1
  506. package/lib/components/tree/src/model/tree-store.js +1 -1
  507. package/lib/components/tree/src/model/tree-store.js.map +1 -1
  508. package/lib/components/tree-v2/src/composables/useTree.d.ts +4 -0
  509. package/lib/components/tree-v2/src/composables/useTree.js +21 -7
  510. package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
  511. package/lib/components/tree-v2/src/tree.js +10 -2
  512. package/lib/components/tree-v2/src/tree.js.map +1 -1
  513. package/lib/components/virtual-list/src/builders/build-list.js +2 -2
  514. package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
  515. package/lib/hooks/use-id/index.js +4 -1
  516. package/lib/hooks/use-id/index.js.map +1 -1
  517. package/lib/hooks/use-lockscreen/index.js +4 -6
  518. package/lib/hooks/use-lockscreen/index.js.map +1 -1
  519. package/lib/index.js +1 -1
  520. package/lib/locale/lang/zh-tw.d.ts +35 -0
  521. package/lib/locale/lang/zh-tw.js +46 -11
  522. package/lib/locale/lang/zh-tw.js.map +1 -1
  523. package/lib/utils/dom/index.d.ts +0 -1
  524. package/lib/utils/dom/index.js +0 -3
  525. package/lib/utils/dom/index.js.map +1 -1
  526. package/lib/utils/index.js +0 -3
  527. package/lib/utils/index.js.map +1 -1
  528. package/lib/version.d.ts +1 -1
  529. package/lib/version.js +1 -1
  530. package/lib/version.js.map +1 -1
  531. package/package.json +6 -4
  532. package/tags.json +1 -1
  533. package/theme-chalk/el-form.css +1 -1
  534. package/theme-chalk/el-input.css +1 -1
  535. package/theme-chalk/el-menu.css +1 -1
  536. package/theme-chalk/el-message.css +1 -1
  537. package/theme-chalk/el-page-header.css +1 -1
  538. package/theme-chalk/el-popover.css +1 -1
  539. package/theme-chalk/el-rate.css +1 -1
  540. package/theme-chalk/el-select-v2.css +1 -1
  541. package/theme-chalk/el-select.css +1 -1
  542. package/theme-chalk/el-table.css +1 -1
  543. package/theme-chalk/index.css +1 -1
  544. package/theme-chalk/src/common/var.scss +0 -2
  545. package/theme-chalk/src/form.scss +17 -6
  546. package/theme-chalk/src/input.scss +1 -0
  547. package/theme-chalk/src/menu.scss +0 -11
  548. package/theme-chalk/src/message.scss +1 -0
  549. package/theme-chalk/src/page-header.scss +40 -26
  550. package/theme-chalk/src/popover.scss +8 -0
  551. package/theme-chalk/src/rate.scss +1 -1
  552. package/theme-chalk/src/select/common.scss +3 -5
  553. package/theme-chalk/src/select.scss +1 -0
  554. package/theme-chalk/src/table.scss +15 -25
  555. package/web-types.json +1 -1
  556. package/es/utils/dom/resize-event.d.ts +0 -9
  557. package/es/utils/dom/resize-event.mjs +0 -34
  558. package/es/utils/dom/resize-event.mjs.map +0 -1
  559. package/lib/utils/dom/resize-event.d.ts +0 -9
  560. package/lib/utils/dom/resize-event.js +0 -39
  561. package/lib/utils/dom/resize-event.js.map +0 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v2.2.12 */
1
+ /*! Element Plus v2.2.15 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -202,7 +202,7 @@
202
202
  };
203
203
  }
204
204
 
205
- function identity(value) {
205
+ function identity$1(value) {
206
206
  return value;
207
207
  }
208
208
 
@@ -272,7 +272,7 @@
272
272
 
273
273
  var metaMap = WeakMap && new WeakMap();
274
274
 
275
- var baseSetData = !metaMap ? identity : function(func, data) {
275
+ var baseSetData = !metaMap ? identity$1 : function(func, data) {
276
276
  metaMap.set(func, data);
277
277
  return func;
278
278
  };
@@ -541,7 +541,7 @@
541
541
  }
542
542
  }();
543
543
 
544
- var baseSetToString = !defineProperty ? identity : function(func, string) {
544
+ var baseSetToString = !defineProperty ? identity$1 : function(func, string) {
545
545
  return defineProperty(func, "toString", {
546
546
  "configurable": true,
547
547
  "enumerable": false,
@@ -957,7 +957,7 @@
957
957
  }
958
958
 
959
959
  function baseRest(func, start) {
960
- return setToString(overRest(func, start, identity), func + "");
960
+ return setToString(overRest(func, start, identity$1), func + "");
961
961
  }
962
962
 
963
963
  var MAX_SAFE_INTEGER$4 = 9007199254740991;
@@ -2867,7 +2867,7 @@
2867
2867
  return value;
2868
2868
  }
2869
2869
  if (value == null) {
2870
- return identity;
2870
+ return identity$1;
2871
2871
  }
2872
2872
  if (typeof value == "object") {
2873
2873
  return isArray$1(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
@@ -3372,7 +3372,7 @@
3372
3372
  }
3373
3373
 
3374
3374
  function castFunction(value) {
3375
- return typeof value == "function" ? value : identity;
3375
+ return typeof value == "function" ? value : identity$1;
3376
3376
  }
3377
3377
 
3378
3378
  function forEach(collection, iteratee) {
@@ -3935,7 +3935,7 @@
3935
3935
  value = nativeObjectToString$1.call(value);
3936
3936
  }
3937
3937
  result[value] = key;
3938
- }, constant(identity));
3938
+ }, constant(identity$1));
3939
3939
 
3940
3940
  var objectProto$4 = Object.prototype;
3941
3941
  var hasOwnProperty$5 = objectProto$4.hasOwnProperty;
@@ -4205,7 +4205,7 @@
4205
4205
  }
4206
4206
 
4207
4207
  function max$3(array) {
4208
- return array && array.length ? baseExtremum(array, identity, baseGt) : void 0;
4208
+ return array && array.length ? baseExtremum(array, identity$1, baseGt) : void 0;
4209
4209
  }
4210
4210
 
4211
4211
  function maxBy(array, iteratee) {
@@ -4230,7 +4230,7 @@
4230
4230
  }
4231
4231
 
4232
4232
  function mean(array) {
4233
- return baseMean(array, identity);
4233
+ return baseMean(array, identity$1);
4234
4234
  }
4235
4235
 
4236
4236
  function meanBy(array, iteratee) {
@@ -4254,7 +4254,7 @@
4254
4254
  });
4255
4255
 
4256
4256
  function min$3(array) {
4257
- return array && array.length ? baseExtremum(array, identity, baseLt) : void 0;
4257
+ return array && array.length ? baseExtremum(array, identity$1, baseLt) : void 0;
4258
4258
  }
4259
4259
 
4260
4260
  function minBy(array, iteratee) {
@@ -4501,7 +4501,7 @@
4501
4501
  return iteratee;
4502
4502
  });
4503
4503
  } else {
4504
- iteratees = [identity];
4504
+ iteratees = [identity$1];
4505
4505
  }
4506
4506
  var index = -1;
4507
4507
  iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
@@ -5156,7 +5156,7 @@
5156
5156
  }
5157
5157
  return high;
5158
5158
  }
5159
- return baseSortedIndexBy(array, value, identity, retHighest);
5159
+ return baseSortedIndexBy(array, value, identity$1, retHighest);
5160
5160
  }
5161
5161
 
5162
5162
  function sortedIndex(array, value) {
@@ -5280,7 +5280,7 @@
5280
5280
  }, 0);
5281
5281
 
5282
5282
  function sum$1(array) {
5283
- return array && array.length ? baseSum(array, identity) : 0;
5283
+ return array && array.length ? baseSum(array, identity$1) : 0;
5284
5284
  }
5285
5285
 
5286
5286
  function sumBy(array, iteratee) {
@@ -6207,7 +6207,7 @@
6207
6207
  defaultTo,
6208
6208
  flow,
6209
6209
  flowRight,
6210
- identity,
6210
+ identity: identity$1,
6211
6211
  iteratee,
6212
6212
  matches,
6213
6213
  matchesProperty,
@@ -6526,7 +6526,7 @@
6526
6526
  lodash.has = object.has;
6527
6527
  lodash.hasIn = object.hasIn;
6528
6528
  lodash.head = array.head;
6529
- lodash.identity = identity;
6529
+ lodash.identity = identity$1;
6530
6530
  lodash.includes = collection.includes;
6531
6531
  lodash.indexOf = array.indexOf;
6532
6532
  lodash.inRange = number.inRange;
@@ -6695,7 +6695,7 @@
6695
6695
  };
6696
6696
  });
6697
6697
  LazyWrapper.prototype.compact = function() {
6698
- return this.filter(identity);
6698
+ return this.filter(identity$1);
6699
6699
  };
6700
6700
  LazyWrapper.prototype.find = function(predicate) {
6701
6701
  return this.filter(predicate).head();
@@ -6891,44 +6891,36 @@
6891
6891
  return (e) => e.pointerType === "mouse" ? handler(e) : void 0;
6892
6892
  };
6893
6893
 
6894
- var __defProp$8 = Object.defineProperty;
6895
- var __defProps$5 = Object.defineProperties;
6896
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
6897
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
6898
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
6899
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
6900
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6901
- var __spreadValues$8 = (a, b) => {
6894
+ var __defProp$9 = Object.defineProperty;
6895
+ var __defProps$6 = Object.defineProperties;
6896
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
6897
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
6898
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
6899
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
6900
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6901
+ var __spreadValues$9 = (a, b) => {
6902
6902
  for (var prop in b || (b = {}))
6903
- if (__hasOwnProp$a.call(b, prop))
6904
- __defNormalProp$8(a, prop, b[prop]);
6905
- if (__getOwnPropSymbols$a)
6906
- for (var prop of __getOwnPropSymbols$a(b)) {
6907
- if (__propIsEnum$a.call(b, prop))
6908
- __defNormalProp$8(a, prop, b[prop]);
6903
+ if (__hasOwnProp$b.call(b, prop))
6904
+ __defNormalProp$9(a, prop, b[prop]);
6905
+ if (__getOwnPropSymbols$b)
6906
+ for (var prop of __getOwnPropSymbols$b(b)) {
6907
+ if (__propIsEnum$b.call(b, prop))
6908
+ __defNormalProp$9(a, prop, b[prop]);
6909
6909
  }
6910
6910
  return a;
6911
6911
  };
6912
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
6912
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
6913
6913
  function computedEager(fn, options) {
6914
6914
  var _a;
6915
6915
  const result = vue.shallowRef();
6916
6916
  vue.watchEffect(() => {
6917
6917
  result.value = fn();
6918
- }, __spreadProps$5(__spreadValues$8({}, options), {
6918
+ }, __spreadProps$6(__spreadValues$9({}, options), {
6919
6919
  flush: (_a = options == null ? void 0 : options.flush) != null ? _a : "sync"
6920
6920
  }));
6921
6921
  return vue.readonly(result);
6922
6922
  }
6923
6923
 
6924
- function tryOnScopeDispose(fn) {
6925
- if (vue.getCurrentScope()) {
6926
- vue.onScopeDispose(fn);
6927
- return true;
6928
- }
6929
- return false;
6930
- }
6931
-
6932
6924
  var _a;
6933
6925
  const isClient = typeof window !== "undefined";
6934
6926
  const isDef = (val) => typeof val !== "undefined";
@@ -6939,6 +6931,10 @@
6939
6931
  };
6940
6932
  isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
6941
6933
 
6934
+ function resolveUnref(r) {
6935
+ return typeof r === "function" ? r() : vue.unref(r);
6936
+ }
6937
+
6942
6938
  function createFilterWrapper(filter, fn) {
6943
6939
  function wrapper(...args) {
6944
6940
  filter(() => fn.apply(this, args), { fn, thisArg: this, args });
@@ -6949,8 +6945,8 @@
6949
6945
  let timer;
6950
6946
  let maxTimer;
6951
6947
  const filter = (invoke) => {
6952
- const duration = vue.unref(ms);
6953
- const maxDuration = vue.unref(options.maxWait);
6948
+ const duration = resolveUnref(ms);
6949
+ const maxDuration = resolveUnref(options.maxWait);
6954
6950
  if (timer)
6955
6951
  clearTimeout(timer);
6956
6952
  if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
@@ -6988,7 +6984,7 @@
6988
6984
  }
6989
6985
  };
6990
6986
  const filter = (invoke) => {
6991
- const duration = vue.unref(ms);
6987
+ const duration = resolveUnref(ms);
6992
6988
  const elapsed = Date.now() - lastExec;
6993
6989
  clear();
6994
6990
  if (duration <= 0) {
@@ -7012,6 +7008,17 @@
7012
7008
  };
7013
7009
  return filter;
7014
7010
  }
7011
+ function identity(arg) {
7012
+ return arg;
7013
+ }
7014
+
7015
+ function tryOnScopeDispose(fn) {
7016
+ if (vue.getCurrentScope()) {
7017
+ vue.onScopeDispose(fn);
7018
+ return true;
7019
+ }
7020
+ return false;
7021
+ }
7015
7022
 
7016
7023
  function useDebounceFn(fn, ms = 200, options = {}) {
7017
7024
  return createFilterWrapper(debounceFilter(ms, options), fn);
@@ -7028,7 +7035,7 @@
7028
7035
  return debounced;
7029
7036
  }
7030
7037
 
7031
- function useThrottleFn(fn, ms = 200, trailing = true, leading = true) {
7038
+ function useThrottleFn(fn, ms = 200, trailing = false, leading = true) {
7032
7039
  return createFilterWrapper(throttleFilter(ms, trailing, leading), fn);
7033
7040
  }
7034
7041
 
@@ -7064,7 +7071,7 @@
7064
7071
  isPending.value = false;
7065
7072
  timer = null;
7066
7073
  cb(...args);
7067
- }, vue.unref(interval));
7074
+ }, resolveUnref(interval));
7068
7075
  }
7069
7076
  if (immediate) {
7070
7077
  isPending.value = true;
@@ -7081,7 +7088,7 @@
7081
7088
 
7082
7089
  function unrefElement(elRef) {
7083
7090
  var _a;
7084
- const plain = vue.unref(elRef);
7091
+ const plain = resolveUnref(elRef);
7085
7092
  return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
7086
7093
  }
7087
7094
 
@@ -7121,7 +7128,7 @@
7121
7128
  }
7122
7129
 
7123
7130
  function onClickOutside(target, handler, options = {}) {
7124
- const { window = defaultWindow, ignore, capture = true } = options;
7131
+ const { window = defaultWindow, ignore, capture = true, detectIframe = false } = options;
7125
7132
  if (!window)
7126
7133
  return;
7127
7134
  const shouldListen = vue.ref(true);
@@ -7153,12 +7160,26 @@
7153
7160
  e.composedPath = () => path;
7154
7161
  fallback = window.setTimeout(() => listener(e), 50);
7155
7162
  }
7156
- }, { passive: true })
7157
- ];
7163
+ }, { passive: true }),
7164
+ detectIframe && useEventListener(window, "blur", (event) => {
7165
+ var _a;
7166
+ const el = unrefElement(target);
7167
+ if (((_a = document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(document.activeElement)))
7168
+ handler(event);
7169
+ })
7170
+ ].filter(Boolean);
7158
7171
  const stop = () => cleanup.forEach((fn) => fn());
7159
7172
  return stop;
7160
7173
  }
7161
7174
 
7175
+ function useSupported(callback, sync = false) {
7176
+ const isSupported = vue.ref();
7177
+ const update = () => isSupported.value = Boolean(callback());
7178
+ update();
7179
+ tryOnMounted(update, sync);
7180
+ return isSupported;
7181
+ }
7182
+
7162
7183
  const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
7163
7184
  const globalKey = "__vueuse_ssr_handlers__";
7164
7185
  _global[globalKey] = _global[globalKey] || {};
@@ -7174,17 +7195,17 @@
7174
7195
  return visibility;
7175
7196
  }
7176
7197
 
7177
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
7178
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
7179
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
7198
+ var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7199
+ var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7200
+ var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7180
7201
  var __objRest$2 = (source, exclude) => {
7181
7202
  var target = {};
7182
7203
  for (var prop in source)
7183
- if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
7204
+ if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
7184
7205
  target[prop] = source[prop];
7185
- if (source != null && __getOwnPropSymbols$d)
7186
- for (var prop of __getOwnPropSymbols$d(source)) {
7187
- if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
7206
+ if (source != null && __getOwnPropSymbols$f)
7207
+ for (var prop of __getOwnPropSymbols$f(source)) {
7208
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
7188
7209
  target[prop] = source[prop];
7189
7210
  }
7190
7211
  return target;
@@ -7192,7 +7213,7 @@
7192
7213
  function useResizeObserver(target, callback, options = {}) {
7193
7214
  const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, ["window"]);
7194
7215
  let observer;
7195
- const isSupported = window && "ResizeObserver" in window;
7216
+ const isSupported = useSupported(() => window && "ResizeObserver" in window);
7196
7217
  const cleanup = () => {
7197
7218
  if (observer) {
7198
7219
  observer.disconnect();
@@ -7201,7 +7222,7 @@
7201
7222
  };
7202
7223
  const stopWatch = vue.watch(() => unrefElement(target), (el) => {
7203
7224
  cleanup();
7204
- if (isSupported && window && el) {
7225
+ if (isSupported.value && window && el) {
7205
7226
  observer = new ResizeObserver(callback);
7206
7227
  observer.observe(el, observerOptions);
7207
7228
  }
@@ -7289,8 +7310,54 @@
7289
7310
  SwipeDirection2["NONE"] = "NONE";
7290
7311
  })(SwipeDirection || (SwipeDirection = {}));
7291
7312
 
7313
+ var __defProp = Object.defineProperty;
7314
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7315
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7316
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7317
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7318
+ var __spreadValues = (a, b) => {
7319
+ for (var prop in b || (b = {}))
7320
+ if (__hasOwnProp.call(b, prop))
7321
+ __defNormalProp(a, prop, b[prop]);
7322
+ if (__getOwnPropSymbols)
7323
+ for (var prop of __getOwnPropSymbols(b)) {
7324
+ if (__propIsEnum.call(b, prop))
7325
+ __defNormalProp(a, prop, b[prop]);
7326
+ }
7327
+ return a;
7328
+ };
7329
+ const _TransitionPresets = {
7330
+ easeInSine: [0.12, 0, 0.39, 0],
7331
+ easeOutSine: [0.61, 1, 0.88, 1],
7332
+ easeInOutSine: [0.37, 0, 0.63, 1],
7333
+ easeInQuad: [0.11, 0, 0.5, 0],
7334
+ easeOutQuad: [0.5, 1, 0.89, 1],
7335
+ easeInOutQuad: [0.45, 0, 0.55, 1],
7336
+ easeInCubic: [0.32, 0, 0.67, 0],
7337
+ easeOutCubic: [0.33, 1, 0.68, 1],
7338
+ easeInOutCubic: [0.65, 0, 0.35, 1],
7339
+ easeInQuart: [0.5, 0, 0.75, 0],
7340
+ easeOutQuart: [0.25, 1, 0.5, 1],
7341
+ easeInOutQuart: [0.76, 0, 0.24, 1],
7342
+ easeInQuint: [0.64, 0, 0.78, 0],
7343
+ easeOutQuint: [0.22, 1, 0.36, 1],
7344
+ easeInOutQuint: [0.83, 0, 0.17, 1],
7345
+ easeInExpo: [0.7, 0, 0.84, 0],
7346
+ easeOutExpo: [0.16, 1, 0.3, 1],
7347
+ easeInOutExpo: [0.87, 0, 0.13, 1],
7348
+ easeInCirc: [0.55, 0, 1, 0.45],
7349
+ easeOutCirc: [0, 0.55, 0.45, 1],
7350
+ easeInOutCirc: [0.85, 0, 0.15, 1],
7351
+ easeInBack: [0.36, 0, 0.66, -0.56],
7352
+ easeOutBack: [0.34, 1.56, 0.64, 1],
7353
+ easeInOutBack: [0.68, -0.6, 0.32, 1.6]
7354
+ };
7355
+ __spreadValues({
7356
+ linear: identity
7357
+ }, _TransitionPresets);
7358
+
7292
7359
  function useVModel(props, key, emit, options = {}) {
7293
- var _a;
7360
+ var _a, _b, _c;
7294
7361
  const {
7295
7362
  passive = false,
7296
7363
  eventName,
@@ -7298,7 +7365,7 @@
7298
7365
  defaultValue
7299
7366
  } = options;
7300
7367
  const vm = vue.getCurrentInstance();
7301
- const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm));
7368
+ const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));
7302
7369
  let event = eventName;
7303
7370
  if (!key) {
7304
7371
  {
@@ -7342,7 +7409,13 @@
7342
7409
  return focused;
7343
7410
  }
7344
7411
 
7345
- function useWindowSize({ window = defaultWindow, initialWidth = Infinity, initialHeight = Infinity } = {}) {
7412
+ function useWindowSize(options = {}) {
7413
+ const {
7414
+ window = defaultWindow,
7415
+ initialWidth = Infinity,
7416
+ initialHeight = Infinity,
7417
+ listenOrientation = true
7418
+ } = options;
7346
7419
  const width = vue.ref(initialWidth);
7347
7420
  const height = vue.ref(initialHeight);
7348
7421
  const update = () => {
@@ -7354,6 +7427,8 @@
7354
7427
  update();
7355
7428
  tryOnMounted(update);
7356
7429
  useEventListener("resize", update, { passive: true });
7430
+ if (listenOrientation)
7431
+ useEventListener("orientationchange", update, { passive: true });
7357
7432
  return { width, height };
7358
7433
  }
7359
7434
 
@@ -8839,6 +8914,72 @@
8839
8914
  };
8840
8915
  };
8841
8916
 
8917
+ const defaultNamespace = "el";
8918
+ const statePrefix = "is-";
8919
+ const _bem = (namespace, block, blockSuffix, element, modifier) => {
8920
+ let cls = `${namespace}-${block}`;
8921
+ if (blockSuffix) {
8922
+ cls += `-${blockSuffix}`;
8923
+ }
8924
+ if (element) {
8925
+ cls += `__${element}`;
8926
+ }
8927
+ if (modifier) {
8928
+ cls += `--${modifier}`;
8929
+ }
8930
+ return cls;
8931
+ };
8932
+ const useNamespace = (block) => {
8933
+ const globalConfig = useGlobalConfig("namespace");
8934
+ const namespace = vue.computed(() => globalConfig.value || defaultNamespace);
8935
+ const b = (blockSuffix = "") => _bem(vue.unref(namespace), block, blockSuffix, "", "");
8936
+ const e = (element) => element ? _bem(vue.unref(namespace), block, "", element, "") : "";
8937
+ const m = (modifier) => modifier ? _bem(vue.unref(namespace), block, "", "", modifier) : "";
8938
+ const be = (blockSuffix, element) => blockSuffix && element ? _bem(vue.unref(namespace), block, blockSuffix, element, "") : "";
8939
+ const em = (element, modifier) => element && modifier ? _bem(vue.unref(namespace), block, "", element, modifier) : "";
8940
+ const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(vue.unref(namespace), block, blockSuffix, "", modifier) : "";
8941
+ const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(vue.unref(namespace), block, blockSuffix, element, modifier) : "";
8942
+ const is = (name, ...args) => {
8943
+ const state = args.length >= 1 ? args[0] : true;
8944
+ return name && state ? `${statePrefix}${name}` : "";
8945
+ };
8946
+ const cssVar = (object) => {
8947
+ const styles = {};
8948
+ for (const key in object) {
8949
+ if (object[key]) {
8950
+ styles[`--${namespace.value}-${key}`] = object[key];
8951
+ }
8952
+ }
8953
+ return styles;
8954
+ };
8955
+ const cssVarBlock = (object) => {
8956
+ const styles = {};
8957
+ for (const key in object) {
8958
+ if (object[key]) {
8959
+ styles[`--${namespace.value}-${block}-${key}`] = object[key];
8960
+ }
8961
+ }
8962
+ return styles;
8963
+ };
8964
+ const cssVarName = (name) => `--${namespace.value}-${name}`;
8965
+ const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
8966
+ return {
8967
+ namespace,
8968
+ b,
8969
+ e,
8970
+ m,
8971
+ be,
8972
+ em,
8973
+ bm,
8974
+ bem,
8975
+ is,
8976
+ cssVar,
8977
+ cssVarName,
8978
+ cssVarBlock,
8979
+ cssVarBlockName
8980
+ };
8981
+ };
8982
+
8842
8983
  const defaultIdInjection = {
8843
8984
  prefix: Math.floor(Math.random() * 1e4),
8844
8985
  current: 0
@@ -8846,7 +8987,8 @@
8846
8987
  const ID_INJECTION_KEY = Symbol("elIdInjection");
8847
8988
  const useId = (deterministicId) => {
8848
8989
  const idInjection = vue.inject(ID_INJECTION_KEY, defaultIdInjection);
8849
- const idRef = vue.computed(() => vue.unref(deterministicId) || `el-id-${idInjection.prefix}-${idInjection.current++}`);
8990
+ const namespace = useGlobalConfig("namespace", defaultNamespace);
8991
+ const idRef = vue.computed(() => vue.unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
8850
8992
  return idRef;
8851
8993
  };
8852
8994
 
@@ -9287,72 +9429,6 @@
9287
9429
  return cRef;
9288
9430
  }
9289
9431
 
9290
- const defaultNamespace = "el";
9291
- const statePrefix = "is-";
9292
- const _bem = (namespace, block, blockSuffix, element, modifier) => {
9293
- let cls = `${namespace}-${block}`;
9294
- if (blockSuffix) {
9295
- cls += `-${blockSuffix}`;
9296
- }
9297
- if (element) {
9298
- cls += `__${element}`;
9299
- }
9300
- if (modifier) {
9301
- cls += `--${modifier}`;
9302
- }
9303
- return cls;
9304
- };
9305
- const useNamespace = (block) => {
9306
- const globalConfig = useGlobalConfig("namespace");
9307
- const namespace = vue.computed(() => globalConfig.value || defaultNamespace);
9308
- const b = (blockSuffix = "") => _bem(vue.unref(namespace), block, blockSuffix, "", "");
9309
- const e = (element) => element ? _bem(vue.unref(namespace), block, "", element, "") : "";
9310
- const m = (modifier) => modifier ? _bem(vue.unref(namespace), block, "", "", modifier) : "";
9311
- const be = (blockSuffix, element) => blockSuffix && element ? _bem(vue.unref(namespace), block, blockSuffix, element, "") : "";
9312
- const em = (element, modifier) => element && modifier ? _bem(vue.unref(namespace), block, "", element, modifier) : "";
9313
- const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(vue.unref(namespace), block, blockSuffix, "", modifier) : "";
9314
- const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(vue.unref(namespace), block, blockSuffix, element, modifier) : "";
9315
- const is = (name, ...args) => {
9316
- const state = args.length >= 1 ? args[0] : true;
9317
- return name && state ? `${statePrefix}${name}` : "";
9318
- };
9319
- const cssVar = (object) => {
9320
- const styles = {};
9321
- for (const key in object) {
9322
- if (object[key]) {
9323
- styles[`--${namespace.value}-${key}`] = object[key];
9324
- }
9325
- }
9326
- return styles;
9327
- };
9328
- const cssVarBlock = (object) => {
9329
- const styles = {};
9330
- for (const key in object) {
9331
- if (object[key]) {
9332
- styles[`--${namespace.value}-${block}-${key}`] = object[key];
9333
- }
9334
- }
9335
- return styles;
9336
- };
9337
- const cssVarName = (name) => `--${namespace.value}-${name}`;
9338
- const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
9339
- return {
9340
- namespace,
9341
- b,
9342
- e,
9343
- m,
9344
- be,
9345
- em,
9346
- bm,
9347
- bem,
9348
- is,
9349
- cssVar,
9350
- cssVarName,
9351
- cssVarBlock,
9352
- cssVarBlockName
9353
- };
9354
- };
9355
-
9356
9432
  const useLockscreen = (trigger) => {
9357
9433
  if (!vue.isRef(trigger)) {
9358
9434
  throwError("[useLockscreen]", "You need to pass a ref param to this function");
@@ -9364,12 +9440,11 @@
9364
9440
  }
9365
9441
  let scrollBarWidth = 0;
9366
9442
  let withoutHiddenClass = false;
9367
- let bodyPaddingRight = "0";
9368
- let computedBodyPaddingRight = 0;
9443
+ let bodyWidth = "0";
9369
9444
  const cleanup = () => {
9370
9445
  removeClass(document.body, hiddenCls.value);
9371
9446
  if (withoutHiddenClass) {
9372
- document.body.style.paddingRight = bodyPaddingRight;
9447
+ document.body.style.width = bodyWidth;
9373
9448
  }
9374
9449
  };
9375
9450
  vue.watch(trigger, (val) => {
@@ -9379,14 +9454,13 @@
9379
9454
  }
9380
9455
  withoutHiddenClass = !hasClass(document.body, hiddenCls.value);
9381
9456
  if (withoutHiddenClass) {
9382
- bodyPaddingRight = document.body.style.paddingRight;
9383
- computedBodyPaddingRight = Number.parseInt(getStyle(document.body, "paddingRight"), 10);
9457
+ bodyWidth = document.body.style.width;
9384
9458
  }
9385
9459
  scrollBarWidth = getScrollBarWidth(ns.namespace.value);
9386
9460
  const bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;
9387
9461
  const bodyOverflowY = getStyle(document.body, "overflowY");
9388
9462
  if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === "scroll") && withoutHiddenClass) {
9389
- document.body.style.paddingRight = `${computedBodyPaddingRight + scrollBarWidth}px`;
9463
+ document.body.style.width = `calc(100% - ${scrollBarWidth}px)`;
9390
9464
  }
9391
9465
  addClass(document.body, hiddenCls.value);
9392
9466
  });
@@ -10902,7 +10976,7 @@
10902
10976
  return [recordCursor, setCursor];
10903
10977
  }
10904
10978
 
10905
- const version$1 = "2.2.12";
10979
+ const version$1 = "2.2.15";
10906
10980
 
10907
10981
  const makeInstaller = (components = []) => {
10908
10982
  const install = (app, options) => {
@@ -10951,11 +11025,11 @@
10951
11025
  return target;
10952
11026
  };
10953
11027
 
10954
- const __default__$1p = {
11028
+ const __default__$1q = {
10955
11029
  name: "ElAffix"
10956
11030
  };
10957
11031
  const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
10958
- ...__default__$1p,
11032
+ ...__default__$1q,
10959
11033
  props: affixProps,
10960
11034
  emits: affixEmits,
10961
11035
  setup(__props, { expose, emit }) {
@@ -11070,12 +11144,12 @@
11070
11144
  }
11071
11145
  });
11072
11146
 
11073
- const __default__$1o = {
11147
+ const __default__$1p = {
11074
11148
  name: "ElIcon",
11075
11149
  inheritAttrs: false
11076
11150
  };
11077
11151
  const _sfc_main$2e = /* @__PURE__ */ vue.defineComponent({
11078
- ...__default__$1o,
11152
+ ...__default__$1p,
11079
11153
  props: iconProps,
11080
11154
  setup(__props) {
11081
11155
  const props = __props;
@@ -11137,11 +11211,11 @@
11137
11211
  close: (evt) => evt instanceof MouseEvent
11138
11212
  };
11139
11213
 
11140
- const __default__$1n = {
11214
+ const __default__$1o = {
11141
11215
  name: "ElAlert"
11142
11216
  };
11143
11217
  const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
11144
- ...__default__$1n,
11218
+ ...__default__$1o,
11145
11219
  props: alertProps,
11146
11220
  emits: alertEmits,
11147
11221
  setup(__props, { emit }) {
@@ -11406,15 +11480,15 @@
11406
11480
  compositionend: (evt) => evt instanceof CompositionEvent
11407
11481
  };
11408
11482
 
11409
- const _hoisted_1$13 = ["role"];
11483
+ const _hoisted_1$14 = ["role"];
11410
11484
  const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
11411
11485
  const _hoisted_3$m = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
11412
- const __default__$1m = {
11486
+ const __default__$1n = {
11413
11487
  name: "ElInput",
11414
11488
  inheritAttrs: false
11415
11489
  };
11416
11490
  const _sfc_main$2c = /* @__PURE__ */ vue.defineComponent({
11417
- ...__default__$1m,
11491
+ ...__default__$1n,
11418
11492
  props: inputProps,
11419
11493
  emits: inputEmits,
11420
11494
  setup(__props, { expose, emit }) {
@@ -11833,7 +11907,7 @@
11833
11907
  class: vue.normalizeClass(vue.unref(nsInput).e("count"))
11834
11908
  }, vue.toDisplayString(vue.unref(textLength)) + " / " + vue.toDisplayString(vue.unref(attrs).maxlength), 7)) : vue.createCommentVNode("v-if", true)
11835
11909
  ], 64))
11836
- ], 16, _hoisted_1$13)), [
11910
+ ], 16, _hoisted_1$14)), [
11837
11911
  [vue.vShow, _ctx.type !== "hidden"]
11838
11912
  ]);
11839
11913
  };
@@ -12108,11 +12182,11 @@
12108
12182
  }) => [scrollTop, scrollLeft].every(isNumber)
12109
12183
  };
12110
12184
 
12111
- const __default__$1l = {
12185
+ const __default__$1m = {
12112
12186
  name: "ElScrollbar"
12113
12187
  };
12114
12188
  const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
12115
- ...__default__$1l,
12189
+ ...__default__$1m,
12116
12190
  props: scrollbarProps,
12117
12191
  emits: scrollbarEmits,
12118
12192
  setup(__props, { expose, emit }) {
@@ -12275,12 +12349,12 @@
12275
12349
  }
12276
12350
  });
12277
12351
 
12278
- const __default__$1k = {
12352
+ const __default__$1l = {
12279
12353
  name: "ElPopperRoot",
12280
12354
  inheritAttrs: false
12281
12355
  };
12282
12356
  const _sfc_main$28 = /* @__PURE__ */ vue.defineComponent({
12283
- ...__default__$1k,
12357
+ ...__default__$1l,
12284
12358
  props: usePopperProps,
12285
12359
  setup(__props, { expose }) {
12286
12360
  const props = __props;
@@ -12312,12 +12386,12 @@
12312
12386
  }
12313
12387
  });
12314
12388
 
12315
- const __default__$1j = {
12389
+ const __default__$1k = {
12316
12390
  name: "ElPopperArrow",
12317
12391
  inheritAttrs: false
12318
12392
  };
12319
12393
  const _sfc_main$27 = /* @__PURE__ */ vue.defineComponent({
12320
- ...__default__$1j,
12394
+ ...__default__$1k,
12321
12395
  props: usePopperArrowProps,
12322
12396
  setup(__props, { expose }) {
12323
12397
  const props = __props;
@@ -12393,8 +12467,9 @@
12393
12467
  return null;
12394
12468
  }
12395
12469
  function wrapTextContent(s) {
12470
+ const ns = useNamespace("only-child");
12396
12471
  return vue.createVNode("span", {
12397
- "class": "el-only-child__content"
12472
+ "class": ns.e("content")
12398
12473
  }, [s]);
12399
12474
  }
12400
12475
 
@@ -12414,12 +12489,12 @@
12414
12489
  open: Boolean
12415
12490
  });
12416
12491
 
12417
- const __default__$1i = {
12492
+ const __default__$1j = {
12418
12493
  name: "ElPopperTrigger",
12419
12494
  inheritAttrs: false
12420
12495
  };
12421
12496
  const _sfc_main$26 = /* @__PURE__ */ vue.defineComponent({
12422
- ...__default__$1i,
12497
+ ...__default__$1j,
12423
12498
  props: usePopperTriggerProps,
12424
12499
  setup(__props, { expose }) {
12425
12500
  const props = __props;
@@ -12821,10 +12896,10 @@
12821
12896
  };
12822
12897
  }
12823
12898
  });
12824
- function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
12899
+ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
12825
12900
  return vue.renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
12826
12901
  }
12827
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$F], ["__file", "focus-trap.vue"]]);
12902
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$E], ["__file", "focus-trap.vue"]]);
12828
12903
 
12829
12904
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
12830
12905
  const usePopperCoreConfigProps = buildProps({
@@ -12981,11 +13056,11 @@
12981
13056
  }
12982
13057
  }
12983
13058
 
12984
- const __default__$1h = {
13059
+ const __default__$1i = {
12985
13060
  name: "ElPopperContent"
12986
13061
  };
12987
13062
  const _sfc_main$24 = /* @__PURE__ */ vue.defineComponent({
12988
- ...__default__$1h,
13063
+ ...__default__$1i,
12989
13064
  props: usePopperContentProps,
12990
13065
  emits: usePopperContentEmits,
12991
13066
  setup(__props, { expose, emit }) {
@@ -13356,7 +13431,7 @@
13356
13431
  };
13357
13432
  }
13358
13433
  });
13359
- function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
13434
+ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13360
13435
  const _component_el_popper_content = vue.resolveComponent("el-popper-content");
13361
13436
  return vue.openBlock(), vue.createBlock(vue.Teleport, {
13362
13437
  disabled: !_ctx.teleported,
@@ -13411,7 +13486,7 @@
13411
13486
  }, 8, ["name", "onAfterLeave", "onBeforeEnter", "onAfterEnter", "onBeforeLeave"])
13412
13487
  ], 8, ["disabled", "to"]);
13413
13488
  }
13414
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$E], ["__file", "content.vue"]]);
13489
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$D], ["__file", "content.vue"]]);
13415
13490
 
13416
13491
  const isTriggerType = (trigger, type) => {
13417
13492
  if (isArray(trigger)) {
@@ -13476,7 +13551,7 @@
13476
13551
  };
13477
13552
  }
13478
13553
  });
13479
- function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13554
+ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13480
13555
  const _component_el_popper_trigger = vue.resolveComponent("el-popper-trigger");
13481
13556
  return vue.openBlock(), vue.createBlock(_component_el_popper_trigger, {
13482
13557
  id: _ctx.id,
@@ -13498,7 +13573,7 @@
13498
13573
  _: 3
13499
13574
  }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]);
13500
13575
  }
13501
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$D], ["__file", "trigger.vue"]]);
13576
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$C], ["__file", "trigger.vue"]]);
13502
13577
 
13503
13578
  const { useModelToggleProps, useModelToggle, useModelToggleEmits } = createModelToggleComposable("visible");
13504
13579
  const _sfc_main$21 = vue.defineComponent({
@@ -13616,9 +13691,9 @@
13616
13691
  };
13617
13692
  }
13618
13693
  });
13619
- const _hoisted_1$12 = ["innerHTML"];
13694
+ const _hoisted_1$13 = ["innerHTML"];
13620
13695
  const _hoisted_2$F = { key: 1 };
13621
- function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13696
+ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13622
13697
  const _component_el_tooltip_trigger = vue.resolveComponent("el-tooltip-trigger");
13623
13698
  const _component_el_popper_arrow = vue.resolveComponent("el-popper-arrow");
13624
13699
  const _component_el_tooltip_content = vue.resolveComponent("el-tooltip-content");
@@ -13674,7 +13749,7 @@
13674
13749
  _ctx.rawContent ? (vue.openBlock(), vue.createElementBlock("span", {
13675
13750
  key: 0,
13676
13751
  innerHTML: _ctx.content
13677
- }, null, 8, _hoisted_1$12)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$F, vue.toDisplayString(_ctx.content), 1))
13752
+ }, null, 8, _hoisted_1$13)) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$F, vue.toDisplayString(_ctx.content), 1))
13678
13753
  ]),
13679
13754
  _ctx.compatShowArrow ? (vue.openBlock(), vue.createBlock(_component_el_popper_arrow, {
13680
13755
  key: 0,
@@ -13687,7 +13762,7 @@
13687
13762
  _: 3
13688
13763
  }, 8, ["role"]);
13689
13764
  }
13690
- var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$C], ["__file", "tooltip.vue"]]);
13765
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$B], ["__file", "tooltip.vue"]]);
13691
13766
 
13692
13767
  const ElTooltip = withInstall(Tooltip);
13693
13768
 
@@ -13759,15 +13834,15 @@
13759
13834
  select: (item) => isObject$1(item)
13760
13835
  };
13761
13836
 
13762
- const _hoisted_1$11 = ["aria-expanded", "aria-owns"];
13837
+ const _hoisted_1$12 = ["aria-expanded", "aria-owns"];
13763
13838
  const _hoisted_2$E = { key: 0 };
13764
13839
  const _hoisted_3$l = ["id", "aria-selected", "onClick"];
13765
- const __default__$1g = {
13840
+ const __default__$1h = {
13766
13841
  name: "ElAutocomplete",
13767
13842
  inheritAttrs: false
13768
13843
  };
13769
13844
  const _sfc_main$20 = /* @__PURE__ */ vue.defineComponent({
13770
- ...__default__$1g,
13845
+ ...__default__$1h,
13771
13846
  props: autocompleteProps,
13772
13847
  emits: autocompleteEmits,
13773
13848
  setup(__props, { expose, emit }) {
@@ -14084,7 +14159,7 @@
14084
14159
  ])
14085
14160
  } : void 0
14086
14161
  ]), 1040, ["model-value", "onKeydown"])
14087
- ], 14, _hoisted_1$11)
14162
+ ], 14, _hoisted_1$12)
14088
14163
  ]),
14089
14164
  _: 3
14090
14165
  }, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
@@ -14125,12 +14200,12 @@
14125
14200
  error: (evt) => evt instanceof Event
14126
14201
  };
14127
14202
 
14128
- const _hoisted_1$10 = ["src", "alt", "srcset"];
14129
- const __default__$1f = {
14203
+ const _hoisted_1$11 = ["src", "alt", "srcset"];
14204
+ const __default__$1g = {
14130
14205
  name: "ElAvatar"
14131
14206
  };
14132
14207
  const _sfc_main$1$ = /* @__PURE__ */ vue.defineComponent({
14133
- ...__default__$1f,
14208
+ ...__default__$1g,
14134
14209
  props: avatarProps,
14135
14210
  emits: avatarEmits,
14136
14211
  setup(__props, { emit }) {
@@ -14174,7 +14249,7 @@
14174
14249
  srcset: _ctx.srcSet,
14175
14250
  style: vue.normalizeStyle(vue.unref(fitStyle)),
14176
14251
  onError: handleError
14177
- }, null, 44, _hoisted_1$10)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
14252
+ }, null, 44, _hoisted_1$11)) : _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
14178
14253
  default: vue.withCtx(() => [
14179
14254
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
14180
14255
  ]),
@@ -14210,12 +14285,12 @@
14210
14285
  click: (evt) => evt instanceof MouseEvent
14211
14286
  };
14212
14287
 
14213
- const _hoisted_1$$ = ["onClick"];
14214
- const __default__$1e = {
14288
+ const _hoisted_1$10 = ["onClick"];
14289
+ const __default__$1f = {
14215
14290
  name: "ElBacktop"
14216
14291
  };
14217
14292
  const _sfc_main$1_ = /* @__PURE__ */ vue.defineComponent({
14218
- ...__default__$1e,
14293
+ ...__default__$1f,
14219
14294
  props: backtopProps,
14220
14295
  emits: backtopEmits,
14221
14296
  setup(__props, { emit }) {
@@ -14290,7 +14365,7 @@
14290
14365
  _: 1
14291
14366
  }, 8, ["class"])
14292
14367
  ])
14293
- ], 14, _hoisted_1$$)) : vue.createCommentVNode("v-if", true)
14368
+ ], 14, _hoisted_1$10)) : vue.createCommentVNode("v-if", true)
14294
14369
  ]),
14295
14370
  _: 3
14296
14371
  }, 8, ["name"]);
@@ -14319,12 +14394,12 @@
14319
14394
  }
14320
14395
  });
14321
14396
 
14322
- const _hoisted_1$_ = ["textContent"];
14323
- const __default__$1d = {
14397
+ const _hoisted_1$$ = ["textContent"];
14398
+ const __default__$1e = {
14324
14399
  name: "ElBadge"
14325
14400
  };
14326
14401
  const _sfc_main$1Z = /* @__PURE__ */ vue.defineComponent({
14327
- ...__default__$1d,
14402
+ ...__default__$1e,
14328
14403
  props: badgeProps,
14329
14404
  setup(__props, { expose }) {
14330
14405
  const props = __props;
@@ -14358,7 +14433,7 @@
14358
14433
  vue.unref(ns).is("dot", _ctx.isDot)
14359
14434
  ]),
14360
14435
  textContent: vue.toDisplayString(vue.unref(content))
14361
- }, null, 10, _hoisted_1$_), [
14436
+ }, null, 10, _hoisted_1$$), [
14362
14437
  [vue.vShow, !_ctx.hidden && (vue.unref(content) || _ctx.isDot)]
14363
14438
  ])
14364
14439
  ]),
@@ -14383,11 +14458,11 @@
14383
14458
  }
14384
14459
  });
14385
14460
 
14386
- const __default__$1c = {
14461
+ const __default__$1d = {
14387
14462
  name: "ElBreadcrumb"
14388
14463
  };
14389
14464
  const _sfc_main$1Y = /* @__PURE__ */ vue.defineComponent({
14390
- ...__default__$1c,
14465
+ ...__default__$1d,
14391
14466
  props: breadcrumbProps,
14392
14467
  setup(__props) {
14393
14468
  const props = __props;
@@ -14426,11 +14501,11 @@
14426
14501
  }
14427
14502
  });
14428
14503
 
14429
- const __default__$1b = {
14504
+ const __default__$1c = {
14430
14505
  name: "ElBreadcrumbItem"
14431
14506
  };
14432
14507
  const _sfc_main$1X = /* @__PURE__ */ vue.defineComponent({
14433
- ...__default__$1b,
14508
+ ...__default__$1c,
14434
14509
  props: breadcrumbItemProps,
14435
14510
  setup(__props) {
14436
14511
  const props = __props;
@@ -15460,12 +15535,12 @@
15460
15535
  });
15461
15536
  }
15462
15537
 
15463
- const _hoisted_1$Z = ["aria-disabled", "disabled", "autofocus", "type"];
15464
- const __default__$1a = {
15538
+ const _hoisted_1$_ = ["aria-disabled", "disabled", "autofocus", "type"];
15539
+ const __default__$1b = {
15465
15540
  name: "ElButton"
15466
15541
  };
15467
15542
  const _sfc_main$1W = /* @__PURE__ */ vue.defineComponent({
15468
- ...__default__$1a,
15543
+ ...__default__$1b,
15469
15544
  props: buttonProps,
15470
15545
  emits: buttonEmits,
15471
15546
  setup(__props, { expose, emit }) {
@@ -15562,7 +15637,7 @@
15562
15637
  }, [
15563
15638
  vue.renderSlot(_ctx.$slots, "default")
15564
15639
  ], 2)) : vue.createCommentVNode("v-if", true)
15565
- ], 14, _hoisted_1$Z);
15640
+ ], 14, _hoisted_1$_);
15566
15641
  };
15567
15642
  }
15568
15643
  });
@@ -15573,11 +15648,11 @@
15573
15648
  type: buttonProps.type
15574
15649
  };
15575
15650
 
15576
- const __default__$19 = {
15651
+ const __default__$1a = {
15577
15652
  name: "ElButtonGroup"
15578
15653
  };
15579
15654
  const _sfc_main$1V = /* @__PURE__ */ vue.defineComponent({
15580
- ...__default__$19,
15655
+ ...__default__$1a,
15581
15656
  props: buttonGroupProps,
15582
15657
  setup(__props) {
15583
15658
  const props = __props;
@@ -16227,13 +16302,13 @@
16227
16302
  unlinkPanels: Boolean
16228
16303
  });
16229
16304
 
16230
- const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16305
+ const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16231
16306
  const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16232
- const __default__$18 = {
16307
+ const __default__$19 = {
16233
16308
  name: "Picker"
16234
16309
  };
16235
16310
  const _sfc_main$1U = /* @__PURE__ */ vue.defineComponent({
16236
- ...__default__$18,
16311
+ ...__default__$19,
16237
16312
  props: timePickerDefaultProps,
16238
16313
  emits: [
16239
16314
  "update:modelValue",
@@ -16251,8 +16326,7 @@
16251
16326
  const nsDate = useNamespace("date");
16252
16327
  const nsInput = useNamespace("input");
16253
16328
  const nsRange = useNamespace("range");
16254
- const elForm = vue.inject(formContextKey, {});
16255
- const elFormItem = vue.inject(formItemContextKey, {});
16329
+ const { form, formItem } = useFormItem();
16256
16330
  const elPopperOptions = vue.inject("ElPopperOptions", {});
16257
16331
  const refPopper = vue.ref();
16258
16332
  const inputRef = vue.ref();
@@ -16272,10 +16346,9 @@
16272
16346
  }
16273
16347
  });
16274
16348
  const emitChange = (val, isClear) => {
16275
- var _a;
16276
16349
  if (isClear || !valueEquals(val, valueOnOpen.value)) {
16277
16350
  emit("change", val);
16278
- props.validateEvent && ((_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn()));
16351
+ props.validateEvent && (formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn()));
16279
16352
  }
16280
16353
  };
16281
16354
  const emitInput = (input) => {
@@ -16369,7 +16442,7 @@
16369
16442
  const handleBlurInput = (e) => {
16370
16443
  const handleBlurDefer = async () => {
16371
16444
  setTimeout(() => {
16372
- var _a, _b;
16445
+ var _a;
16373
16446
  if (currentHandleBlurDeferCallback === handleBlurDefer) {
16374
16447
  if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter((input) => {
16375
16448
  return input.contains(document.activeElement);
@@ -16377,7 +16450,7 @@
16377
16450
  handleChange();
16378
16451
  pickerVisible.value = false;
16379
16452
  emit("blur", e);
16380
- props.validateEvent && ((_b = elFormItem.validate) == null ? void 0 : _b.call(elFormItem, "blur").catch((err) => debugWarn()));
16453
+ props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn()));
16381
16454
  }
16382
16455
  hasJustTabExitedInput = false;
16383
16456
  }
@@ -16387,7 +16460,7 @@
16387
16460
  handleBlurDefer();
16388
16461
  };
16389
16462
  const pickerDisabled = vue.computed(() => {
16390
- return props.disabled || elForm.disabled;
16463
+ return props.disabled || (form == null ? void 0 : form.disabled);
16391
16464
  });
16392
16465
  const parsedValue = vue.computed(() => {
16393
16466
  let dayOrDays;
@@ -16781,7 +16854,7 @@
16781
16854
  onChange: handleStartChange,
16782
16855
  onFocus: handleFocusInput,
16783
16856
  onBlur: handleBlurInput
16784
- }, null, 42, _hoisted_1$Y),
16857
+ }, null, 42, _hoisted_1$Z),
16785
16858
  vue.renderSlot(_ctx.$slots, "range-separator", {}, () => [
16786
16859
  vue.createElementVNode("span", {
16787
16860
  class: vue.normalizeClass(vue.unref(nsRange).b("separator"))
@@ -17142,7 +17215,7 @@
17142
17215
  ...disabledTimeListsProps
17143
17216
  });
17144
17217
 
17145
- const _hoisted_1$X = ["onClick"];
17218
+ const _hoisted_1$Y = ["onClick"];
17146
17219
  const _hoisted_2$C = ["onMouseenter"];
17147
17220
  const _sfc_main$1T = /* @__PURE__ */ vue.defineComponent({
17148
17221
  __name: "basic-time-spinner",
@@ -17251,13 +17324,21 @@
17251
17324
  emitSelectRange("hours");
17252
17325
  }
17253
17326
  const label = currentScrollbar.value;
17254
- let now = vue.unref(timePartials)[label];
17327
+ const now = vue.unref(timePartials)[label];
17255
17328
  const total = currentScrollbar.value === "hours" ? 24 : 60;
17256
- now = (now + step + total) % total;
17257
- modifyDateField(label, now);
17258
- adjustSpinner(label, now);
17329
+ const next = findNextUnDisabled(label, now, step, total);
17330
+ modifyDateField(label, next);
17331
+ adjustSpinner(label, next);
17259
17332
  vue.nextTick(() => emitSelectRange(label));
17260
17333
  };
17334
+ const findNextUnDisabled = (type, now, step, total) => {
17335
+ let next = (now + step + total) % total;
17336
+ const list = vue.unref(timeList)[type];
17337
+ while (list[next] && next !== now) {
17338
+ next = (next + step + total) % total;
17339
+ }
17340
+ return next;
17341
+ };
17261
17342
  const modifyDateField = (type, value) => {
17262
17343
  const list = vue.unref(timeList)[type];
17263
17344
  const isDisabled = list[value];
@@ -17358,7 +17439,7 @@
17358
17439
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
17359
17440
  vue.createTextVNode(vue.toDisplayString(("0" + key).slice(-2)), 1)
17360
17441
  ], 64))
17361
- ], 10, _hoisted_1$X);
17442
+ ], 10, _hoisted_1$Y);
17362
17443
  }), 128))
17363
17444
  ]),
17364
17445
  _: 2
@@ -17581,7 +17662,7 @@
17581
17662
  }
17582
17663
  });
17583
17664
 
17584
- const _hoisted_1$W = ["disabled"];
17665
+ const _hoisted_1$X = ["disabled"];
17585
17666
  const _sfc_main$1R = /* @__PURE__ */ vue.defineComponent({
17586
17667
  __name: "panel-time-range",
17587
17668
  props: panelTimeRangeProps,
@@ -17842,7 +17923,7 @@
17842
17923
  class: vue.normalizeClass([vue.unref(nsTime).be("panel", "btn"), "confirm"]),
17843
17924
  disabled: vue.unref(btnConfirmDisabled),
17844
17925
  onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
17845
- }, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$W)
17926
+ }, vue.toDisplayString(vue.unref(t)("el.datepicker.confirm")), 11, _hoisted_1$X)
17846
17927
  ], 2)
17847
17928
  ], 2)) : vue.createCommentVNode("v-if", true);
17848
17929
  };
@@ -17929,13 +18010,13 @@
17929
18010
  pick: (value) => isObject$1(value)
17930
18011
  };
17931
18012
 
17932
- const _hoisted_1$V = { key: 0 };
18013
+ const _hoisted_1$W = { key: 0 };
17933
18014
  const _hoisted_2$B = ["onClick"];
17934
- const __default__$17 = {
18015
+ const __default__$18 = {
17935
18016
  name: "DateTable"
17936
18017
  };
17937
18018
  const _sfc_main$1Q = /* @__PURE__ */ vue.defineComponent({
17938
- ...__default__$17,
18019
+ ...__default__$18,
17939
18020
  props: dateTableProps,
17940
18021
  emits: dateTableEmits,
17941
18022
  setup(__props, { expose, emit }) {
@@ -18035,7 +18116,7 @@
18035
18116
  cellspacing: "0",
18036
18117
  cellpadding: "0"
18037
18118
  }, [
18038
- !_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$V, [
18119
+ !_ctx.hideHeader ? (vue.openBlock(), vue.createElementBlock("thead", _hoisted_1$W, [
18039
18120
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(weekDays), (day) => {
18040
18121
  return vue.openBlock(), vue.createElementBlock("th", { key: day }, vue.toDisplayString(day), 1);
18041
18122
  }), 128))
@@ -18090,11 +18171,11 @@
18090
18171
  [INPUT_EVENT]: (value) => isDate(value)
18091
18172
  };
18092
18173
 
18093
- const __default__$16 = {
18174
+ const __default__$17 = {
18094
18175
  name: "ElCalendar"
18095
18176
  };
18096
18177
  const _sfc_main$1P = /* @__PURE__ */ vue.defineComponent({
18097
- ...__default__$16,
18178
+ ...__default__$17,
18098
18179
  props: calendarProps,
18099
18180
  emits: calendarEmits,
18100
18181
  setup(__props, { expose, emit }) {
@@ -18325,11 +18406,11 @@
18325
18406
  }
18326
18407
  });
18327
18408
 
18328
- const __default__$15 = {
18409
+ const __default__$16 = {
18329
18410
  name: "ElCard"
18330
18411
  };
18331
18412
  const _sfc_main$1O = /* @__PURE__ */ vue.defineComponent({
18332
- ...__default__$15,
18413
+ ...__default__$16,
18333
18414
  props: cardProps,
18334
18415
  setup(__props) {
18335
18416
  const ns = useNamespace("card");
@@ -18418,14 +18499,14 @@
18418
18499
  change: (current, prev) => [current, prev].every(isNumber)
18419
18500
  };
18420
18501
 
18421
- const _hoisted_1$U = ["onMouseenter", "onMouseleave"];
18502
+ const _hoisted_1$V = ["onMouseenter", "onMouseleave"];
18422
18503
  const _hoisted_2$A = ["onMouseenter", "onClick"];
18423
18504
  const _hoisted_3$k = { key: 0 };
18424
- const __default__$14 = {
18505
+ const __default__$15 = {
18425
18506
  name: "ElCarousel"
18426
18507
  };
18427
18508
  const _sfc_main$1N = /* @__PURE__ */ vue.defineComponent({
18428
- ...__default__$14,
18509
+ ...__default__$15,
18429
18510
  props: carouselProps,
18430
18511
  emits: carouselEmits,
18431
18512
  setup(__props, { expose, emit }) {
@@ -18728,7 +18809,7 @@
18728
18809
  ], 42, _hoisted_2$A);
18729
18810
  }), 128))
18730
18811
  ], 2)) : vue.createCommentVNode("v-if", true)
18731
- ], 42, _hoisted_1$U);
18812
+ ], 42, _hoisted_1$V);
18732
18813
  };
18733
18814
  }
18734
18815
  });
@@ -18742,11 +18823,11 @@
18742
18823
  }
18743
18824
  });
18744
18825
 
18745
- const __default__$13 = {
18826
+ const __default__$14 = {
18746
18827
  name: "ElCarouselItem"
18747
18828
  };
18748
18829
  const _sfc_main$1M = /* @__PURE__ */ vue.defineComponent({
18749
- ...__default__$13,
18830
+ ...__default__$14,
18750
18831
  props: carouselItemProps,
18751
18832
  setup(__props) {
18752
18833
  const props = __props;
@@ -18965,12 +19046,11 @@
18965
19046
  }
18966
19047
  };
18967
19048
  const useCheckboxGroup = () => {
18968
- const elForm = vue.inject(formContextKey, {});
18969
- const elFormItem = vue.inject(formItemContextKey, {});
19049
+ const { form: elForm, formItem: elFormItem } = useFormItem();
18970
19050
  const checkboxGroup = vue.inject("CheckboxGroup", {});
18971
19051
  const isGroup = vue.computed(() => checkboxGroup && (checkboxGroup == null ? void 0 : checkboxGroup.name) === "ElCheckboxGroup");
18972
19052
  const elFormItemSize = vue.computed(() => {
18973
- return elFormItem.size;
19053
+ return elFormItem == null ? void 0 : elFormItem.size;
18974
19054
  });
18975
19055
  return {
18976
19056
  isGroup,
@@ -19026,7 +19106,7 @@
19026
19106
  if (toTypeString(value) === "[object Boolean]") {
19027
19107
  return value;
19028
19108
  } else if (Array.isArray(value)) {
19029
- return value.includes(props.label);
19109
+ return value.map(vue.toRaw).includes(props.label);
19030
19110
  } else if (value !== null && value !== void 0) {
19031
19111
  return value === props.trueLabel;
19032
19112
  } else {
@@ -19115,9 +19195,8 @@
19115
19195
  return ((_a = checkboxGroup.validateEvent) == null ? void 0 : _a.value) || props.validateEvent;
19116
19196
  });
19117
19197
  vue.watch(() => props.modelValue, () => {
19118
- var _a;
19119
19198
  if (validateEvent.value) {
19120
- (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
19199
+ elFormItem == null ? void 0 : elFormItem.validate("change").catch((err) => debugWarn());
19121
19200
  }
19122
19201
  });
19123
19202
  return {
@@ -19169,14 +19248,14 @@
19169
19248
  };
19170
19249
  };
19171
19250
 
19172
- const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
19251
+ const _hoisted_1$U = ["tabindex", "role", "aria-checked"];
19173
19252
  const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
19174
19253
  const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
19175
- const __default__$12 = {
19254
+ const __default__$13 = {
19176
19255
  name: "ElCheckbox"
19177
19256
  };
19178
19257
  const _sfc_main$1L = /* @__PURE__ */ vue.defineComponent({
19179
- ...__default__$12,
19258
+ ...__default__$13,
19180
19259
  props: checkboxProps,
19181
19260
  emits: checkboxEmits,
19182
19261
  setup(__props) {
@@ -19257,7 +19336,7 @@
19257
19336
  vue.createElementVNode("span", {
19258
19337
  class: vue.normalizeClass(vue.unref(ns).e("inner"))
19259
19338
  }, null, 2)
19260
- ], 10, _hoisted_1$T),
19339
+ ], 10, _hoisted_1$U),
19261
19340
  vue.unref(hasOwnLabel) ? (vue.openBlock(), vue.createElementBlock("span", {
19262
19341
  key: 0,
19263
19342
  class: vue.normalizeClass(vue.unref(ns).e("label"))
@@ -19275,13 +19354,13 @@
19275
19354
  });
19276
19355
  var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox.vue"]]);
19277
19356
 
19278
- const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
19357
+ const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
19279
19358
  const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
19280
- const __default__$11 = {
19359
+ const __default__$12 = {
19281
19360
  name: "ElCheckboxButton"
19282
19361
  };
19283
19362
  const _sfc_main$1K = /* @__PURE__ */ vue.defineComponent({
19284
- ...__default__$11,
19363
+ ...__default__$12,
19285
19364
  props: checkboxProps,
19286
19365
  emits: checkboxEmits,
19287
19366
  setup(__props) {
@@ -19323,7 +19402,7 @@
19323
19402
  onChange: _cache[1] || (_cache[1] = (...args) => vue.unref(handleChange) && vue.unref(handleChange)(...args)),
19324
19403
  onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
19325
19404
  onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
19326
- }, null, 42, _hoisted_1$S)), [
19405
+ }, null, 42, _hoisted_1$T)), [
19327
19406
  [vue.vModelCheckbox, vue.unref(model)]
19328
19407
  ]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
19329
19408
  key: 1,
@@ -19355,11 +19434,11 @@
19355
19434
  });
19356
19435
  var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "checkbox-button.vue"]]);
19357
19436
 
19358
- const __default__$10 = {
19437
+ const __default__$11 = {
19359
19438
  name: "ElCheckboxGroup"
19360
19439
  };
19361
19440
  const _sfc_main$1J = /* @__PURE__ */ vue.defineComponent({
19362
- ...__default__$10,
19441
+ ...__default__$11,
19363
19442
  props: useCheckboxGroupProps,
19364
19443
  emits: checkboxGroupEmits,
19365
19444
  setup(__props, { emit }) {
@@ -19392,18 +19471,18 @@
19392
19471
  changeEvent
19393
19472
  });
19394
19473
  vue.watch(() => props.modelValue, () => {
19395
- var _a;
19396
19474
  if (props.validateEvent) {
19397
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
19475
+ elFormItem == null ? void 0 : elFormItem.validate("change").catch((err) => debugWarn());
19398
19476
  }
19399
19477
  });
19400
19478
  return (_ctx, _cache) => {
19479
+ var _a;
19401
19480
  return vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
19402
19481
  id: vue.unref(groupId),
19403
19482
  class: vue.normalizeClass(vue.unref(ns).b("group")),
19404
19483
  role: "group",
19405
19484
  "aria-label": !vue.unref(isLabeledByFormItem) ? _ctx.label || "checkbox-group" : void 0,
19406
- "aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(elFormItem).labelId : void 0
19485
+ "aria-labelledby": vue.unref(isLabeledByFormItem) ? (_a = vue.unref(elFormItem)) == null ? void 0 : _a.labelId : void 0
19407
19486
  }, {
19408
19487
  default: vue.withCtx(() => [
19409
19488
  vue.renderSlot(_ctx.$slots, "default")
@@ -19482,12 +19561,12 @@
19482
19561
  };
19483
19562
  };
19484
19563
 
19485
- const _hoisted_1$R = ["value", "name", "disabled"];
19486
- const __default__$$ = {
19564
+ const _hoisted_1$S = ["value", "name", "disabled"];
19565
+ const __default__$10 = {
19487
19566
  name: "ElRadio"
19488
19567
  };
19489
19568
  const _sfc_main$1I = /* @__PURE__ */ vue.defineComponent({
19490
- ...__default__$$,
19569
+ ...__default__$10,
19491
19570
  props: radioProps,
19492
19571
  emits: radioEmits,
19493
19572
  setup(__props, { emit }) {
@@ -19528,7 +19607,7 @@
19528
19607
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19529
19608
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
19530
19609
  onChange: handleChange
19531
- }, null, 42, _hoisted_1$R), [
19610
+ }, null, 42, _hoisted_1$S), [
19532
19611
  [vue.vModelRadio, vue.unref(modelValue)]
19533
19612
  ]),
19534
19613
  vue.createElementVNode("span", {
@@ -19558,12 +19637,12 @@
19558
19637
  }
19559
19638
  });
19560
19639
 
19561
- const _hoisted_1$Q = ["value", "name", "disabled"];
19562
- const __default__$_ = {
19640
+ const _hoisted_1$R = ["value", "name", "disabled"];
19641
+ const __default__$$ = {
19563
19642
  name: "ElRadioButton"
19564
19643
  };
19565
19644
  const _sfc_main$1H = /* @__PURE__ */ vue.defineComponent({
19566
- ...__default__$_,
19645
+ ...__default__$$,
19567
19646
  props: radioButtonProps,
19568
19647
  setup(__props) {
19569
19648
  const props = __props;
@@ -19599,7 +19678,7 @@
19599
19678
  disabled: vue.unref(disabled),
19600
19679
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19601
19680
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false)
19602
- }, null, 42, _hoisted_1$Q), [
19681
+ }, null, 42, _hoisted_1$R), [
19603
19682
  [vue.vModelRadio, vue.unref(modelValue)]
19604
19683
  ]),
19605
19684
  vue.createElementVNode("span", {
@@ -19652,12 +19731,12 @@
19652
19731
  });
19653
19732
  const radioGroupEmits = radioEmits;
19654
19733
 
19655
- const _hoisted_1$P = ["id", "aria-label", "aria-labelledby"];
19656
- const __default__$Z = {
19734
+ const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
19735
+ const __default__$_ = {
19657
19736
  name: "ElRadioGroup"
19658
19737
  };
19659
19738
  const _sfc_main$1G = /* @__PURE__ */ vue.defineComponent({
19660
- ...__default__$Z,
19739
+ ...__default__$_,
19661
19740
  props: radioGroupProps,
19662
19741
  emits: radioGroupEmits,
19663
19742
  setup(__props, { emit }) {
@@ -19704,7 +19783,7 @@
19704
19783
  "aria-labelledby": vue.unref(isLabeledByFormItem) ? vue.unref(formItem).labelId : void 0
19705
19784
  }, [
19706
19785
  vue.renderSlot(_ctx.$slots, "default")
19707
- ], 10, _hoisted_1$P);
19786
+ ], 10, _hoisted_1$Q);
19708
19787
  };
19709
19788
  }
19710
19789
  });
@@ -19856,9 +19935,9 @@
19856
19935
  };
19857
19936
  }
19858
19937
  });
19859
- const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19938
+ const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19860
19939
  const _hoisted_2$x = /* @__PURE__ */ vue.createElementVNode("span", null, null, -1);
19861
- function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
19940
+ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
19862
19941
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
19863
19942
  const _component_el_radio = vue.resolveComponent("el-radio");
19864
19943
  const _component_check = vue.resolveComponent("check");
@@ -19939,9 +20018,9 @@
19939
20018
  _: 1
19940
20019
  }, 8, ["class"]))
19941
20020
  ], 64)) : vue.createCommentVNode("v-if", true)
19942
- ], 42, _hoisted_1$O);
20021
+ ], 42, _hoisted_1$P);
19943
20022
  }
19944
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$B], ["__file", "node.vue"]]);
20023
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$A], ["__file", "node.vue"]]);
19945
20024
 
19946
20025
  const _sfc_main$1E = vue.defineComponent({
19947
20026
  name: "ElCascaderMenu",
@@ -20021,7 +20100,7 @@
20021
20100
  };
20022
20101
  }
20023
20102
  });
20024
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
20103
+ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20025
20104
  const _component_el_cascader_node = vue.resolveComponent("el-cascader-node");
20026
20105
  const _component_loading = vue.resolveComponent("loading");
20027
20106
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -20074,7 +20153,7 @@
20074
20153
  _: 1
20075
20154
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
20076
20155
  }
20077
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$A], ["__file", "menu.vue"]]);
20156
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$z], ["__file", "menu.vue"]]);
20078
20157
 
20079
20158
  var ExpandTrigger = /* @__PURE__ */ ((ExpandTrigger2) => {
20080
20159
  ExpandTrigger2["CLICK"] = "click";
@@ -20549,7 +20628,7 @@
20549
20628
  };
20550
20629
  }
20551
20630
  });
20552
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20631
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20553
20632
  const _component_el_cascader_menu = vue.resolveComponent("el-cascader-menu");
20554
20633
  return vue.openBlock(), vue.createElementBlock("div", {
20555
20634
  class: vue.normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
@@ -20566,7 +20645,7 @@
20566
20645
  }), 128))
20567
20646
  ], 34);
20568
20647
  }
20569
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$z], ["__file", "index.vue"]]);
20648
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$y], ["__file", "index.vue"]]);
20570
20649
 
20571
20650
  CascaderPanel.install = (app) => {
20572
20651
  app.component(CascaderPanel.name, CascaderPanel);
@@ -20604,11 +20683,11 @@
20604
20683
  click: (evt) => evt instanceof MouseEvent
20605
20684
  };
20606
20685
 
20607
- const __default__$Y = {
20686
+ const __default__$Z = {
20608
20687
  name: "ElTag"
20609
20688
  };
20610
20689
  const _sfc_main$1C = /* @__PURE__ */ vue.defineComponent({
20611
- ...__default__$Y,
20690
+ ...__default__$Z,
20612
20691
  props: tagProps,
20613
20692
  emits: tagEmits,
20614
20693
  setup(__props, { emit }) {
@@ -20794,8 +20873,7 @@
20794
20873
  const nsCascader = useNamespace("cascader");
20795
20874
  const nsInput = useNamespace("input");
20796
20875
  const { t } = useLocale();
20797
- const elForm = vue.inject(formContextKey, {});
20798
- const elFormItem = vue.inject(formItemContextKey, {});
20876
+ const { form, formItem } = useFormItem();
20799
20877
  const tooltipRef = vue.ref(null);
20800
20878
  const input = vue.ref(null);
20801
20879
  const tagWrapper = vue.ref(null);
@@ -20810,7 +20888,7 @@
20810
20888
  const allPresentTags = vue.ref([]);
20811
20889
  const suggestions = vue.ref([]);
20812
20890
  const isOnComposition = vue.ref(false);
20813
- const isDisabled = vue.computed(() => props.disabled || elForm.disabled);
20891
+ const isDisabled = vue.computed(() => props.disabled || (form == null ? void 0 : form.disabled));
20814
20892
  const inputPlaceholder = vue.computed(() => props.placeholder || t("el.cascader.placeholder"));
20815
20893
  const realSize = useSize();
20816
20894
  const tagSize = vue.computed(() => ["small"].includes(realSize.value) ? "small" : "default");
@@ -20836,11 +20914,10 @@
20836
20914
  return props.modelValue;
20837
20915
  },
20838
20916
  set(val) {
20839
- var _a;
20840
20917
  emit(UPDATE_MODEL_EVENT, val);
20841
20918
  emit(CHANGE_EVENT, val);
20842
20919
  if (props.validateEvent) {
20843
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
20920
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
20844
20921
  }
20845
20922
  }
20846
20923
  });
@@ -20860,9 +20937,7 @@
20860
20937
  updatePopperPosition();
20861
20938
  vue.nextTick((_c = panel.value) == null ? void 0 : _c.scrollToExpandingNode);
20862
20939
  } else if (props.filterable) {
20863
- const { value } = presentText;
20864
- inputValue.value = value;
20865
- searchInputValue.value = value;
20940
+ syncPresentTextValue();
20866
20941
  }
20867
20942
  emit("visible-change", visible);
20868
20943
  }
@@ -21019,8 +21094,16 @@
21019
21094
  const handleClear = () => {
21020
21095
  var _a;
21021
21096
  (_a = panel.value) == null ? void 0 : _a.clearCheckedNodes();
21097
+ if (!popperVisible.value && props.filterable) {
21098
+ syncPresentTextValue();
21099
+ }
21022
21100
  togglePopperVisible(false);
21023
21101
  };
21102
+ const syncPresentTextValue = () => {
21103
+ const { value } = presentText;
21104
+ inputValue.value = value;
21105
+ searchInputValue.value = value;
21106
+ };
21024
21107
  const handleSuggestionClick = (node) => {
21025
21108
  var _a, _b;
21026
21109
  const { checked } = node;
@@ -21050,7 +21133,7 @@
21050
21133
  const tags = presentTags.value;
21051
21134
  const lastTag = tags[tags.length - 1];
21052
21135
  pressDeleteCount = searchInputValue.value ? 0 : pressDeleteCount + 1;
21053
- if (!lastTag || !pressDeleteCount)
21136
+ if (!lastTag || !pressDeleteCount || props.collapseTags && tags.length > 1)
21054
21137
  return;
21055
21138
  if (lastTag.hitState) {
21056
21139
  deleteTag(lastTag);
@@ -21135,10 +21218,10 @@
21135
21218
  };
21136
21219
  }
21137
21220
  });
21138
- const _hoisted_1$N = { key: 0 };
21221
+ const _hoisted_1$O = { key: 0 };
21139
21222
  const _hoisted_2$w = ["placeholder"];
21140
21223
  const _hoisted_3$i = ["onClick"];
21141
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
21224
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
21142
21225
  const _component_circle_close = vue.resolveComponent("circle-close");
21143
21226
  const _component_el_icon = vue.resolveComponent("el-icon");
21144
21227
  const _component_arrow_down = vue.resolveComponent("arrow-down");
@@ -21246,7 +21329,7 @@
21246
21329
  onClose: ($event) => _ctx.deleteTag(tag)
21247
21330
  }, {
21248
21331
  default: vue.withCtx(() => [
21249
- tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$N, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
21332
+ tag.isCollapseTag === false ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_1$O, vue.toDisplayString(tag.text), 1)) : (vue.openBlock(), vue.createBlock(_component_el_tooltip, {
21250
21333
  key: 1,
21251
21334
  teleported: false,
21252
21335
  disabled: _ctx.popperVisible || !_ctx.collapseTagsTooltip,
@@ -21366,7 +21449,7 @@
21366
21449
  _: 3
21367
21450
  }, 8, ["visible", "teleported", "popper-class", "popper-options", "transition", "onHide"]);
21368
21451
  }
21369
- var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$y], ["__file", "index.vue"]]);
21452
+ var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$x], ["__file", "index.vue"]]);
21370
21453
 
21371
21454
  Cascader.install = (app) => {
21372
21455
  app.component(Cascader.name, Cascader);
@@ -21385,11 +21468,11 @@
21385
21468
  [CHANGE_EVENT]: (value) => isBoolean(value)
21386
21469
  };
21387
21470
 
21388
- const __default__$X = {
21471
+ const __default__$Y = {
21389
21472
  name: "ElCheckTag"
21390
21473
  };
21391
21474
  const _sfc_main$1A = /* @__PURE__ */ vue.defineComponent({
21392
- ...__default__$X,
21475
+ ...__default__$Y,
21393
21476
  props: checkTagProps,
21394
21477
  emits: checkTagEmits,
21395
21478
  setup(__props, { emit }) {
@@ -21457,11 +21540,11 @@
21457
21540
  }
21458
21541
  });
21459
21542
 
21460
- const __default__$W = {
21543
+ const __default__$X = {
21461
21544
  name: "ElCol"
21462
21545
  };
21463
21546
  const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
21464
- ...__default__$W,
21547
+ ...__default__$X,
21465
21548
  props: colProps,
21466
21549
  setup(__props) {
21467
21550
  const props = __props;
@@ -21531,11 +21614,11 @@
21531
21614
  [CHANGE_EVENT]: emitChangeFn
21532
21615
  };
21533
21616
 
21534
- const __default__$V = {
21617
+ const __default__$W = {
21535
21618
  name: "ElCollapse"
21536
21619
  };
21537
21620
  const _sfc_main$1y = /* @__PURE__ */ vue.defineComponent({
21538
- ...__default__$V,
21621
+ ...__default__$W,
21539
21622
  props: collapseProps,
21540
21623
  emits: collapseEmits,
21541
21624
  setup(__props, { expose, emit }) {
@@ -21586,11 +21669,11 @@
21586
21669
  });
21587
21670
  var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
21588
21671
 
21589
- const __default__$U = {
21672
+ const __default__$V = {
21590
21673
  name: "ElCollapseTransition"
21591
21674
  };
21592
21675
  const _sfc_main$1x = /* @__PURE__ */ vue.defineComponent({
21593
- ...__default__$U,
21676
+ ...__default__$V,
21594
21677
  setup(__props) {
21595
21678
  const ns = useNamespace("collapse-transition");
21596
21679
  const on = {
@@ -21675,14 +21758,14 @@
21675
21758
  disabled: Boolean
21676
21759
  });
21677
21760
 
21678
- const _hoisted_1$M = ["aria-expanded", "aria-controls", "aria-describedby"];
21761
+ const _hoisted_1$N = ["aria-expanded", "aria-controls", "aria-describedby"];
21679
21762
  const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
21680
21763
  const _hoisted_3$h = ["id", "aria-hidden", "aria-labelledby"];
21681
- const __default__$T = {
21764
+ const __default__$U = {
21682
21765
  name: "ElCollapseItem"
21683
21766
  };
21684
21767
  const _sfc_main$1w = /* @__PURE__ */ vue.defineComponent({
21685
- ...__default__$T,
21768
+ ...__default__$U,
21686
21769
  props: collapseItemProps,
21687
21770
  setup(__props, { expose }) {
21688
21771
  const props = __props;
@@ -21754,7 +21837,7 @@
21754
21837
  _: 1
21755
21838
  }, 8, ["class"])
21756
21839
  ], 42, _hoisted_2$v)
21757
- ], 8, _hoisted_1$M),
21840
+ ], 8, _hoisted_1$N),
21758
21841
  vue.createVNode(vue.unref(_CollapseTransition), null, {
21759
21842
  default: vue.withCtx(() => [
21760
21843
  vue.withDirectives(vue.createElementVNode("div", {
@@ -21926,7 +22009,7 @@
21926
22009
  };
21927
22010
  }
21928
22011
  });
21929
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
22012
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
21930
22013
  return vue.openBlock(), vue.createElementBlock("div", {
21931
22014
  class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
21932
22015
  }, [
@@ -21948,7 +22031,7 @@
21948
22031
  }, null, 6)
21949
22032
  ], 2);
21950
22033
  }
21951
- var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$x], ["__file", "alpha-slider.vue"]]);
22034
+ var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$w], ["__file", "alpha-slider.vue"]]);
21952
22035
 
21953
22036
  const _sfc_main$1u = vue.defineComponent({
21954
22037
  name: "ElColorHueSlider",
@@ -22043,7 +22126,7 @@
22043
22126
  };
22044
22127
  }
22045
22128
  });
22046
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
22129
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22047
22130
  return vue.openBlock(), vue.createElementBlock("div", {
22048
22131
  class: vue.normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
22049
22132
  }, [
@@ -22062,7 +22145,7 @@
22062
22145
  }, null, 6)
22063
22146
  ], 2);
22064
22147
  }
22065
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$w], ["__file", "hue-slider.vue"]]);
22148
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$v], ["__file", "hue-slider.vue"]]);
22066
22149
 
22067
22150
  const OPTIONS_KEY = Symbol();
22068
22151
  const useOptions = () => {
@@ -22382,8 +22465,8 @@
22382
22465
  };
22383
22466
  }
22384
22467
  });
22385
- const _hoisted_1$L = ["onClick"];
22386
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22468
+ const _hoisted_1$M = ["onClick"];
22469
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22387
22470
  return vue.openBlock(), vue.createElementBlock("div", {
22388
22471
  class: vue.normalizeClass(_ctx.ns.b())
22389
22472
  }, [
@@ -22403,12 +22486,12 @@
22403
22486
  vue.createElementVNode("div", {
22404
22487
  style: vue.normalizeStyle({ backgroundColor: item.value })
22405
22488
  }, null, 4)
22406
- ], 10, _hoisted_1$L);
22489
+ ], 10, _hoisted_1$M);
22407
22490
  }), 128))
22408
22491
  ], 2)
22409
22492
  ], 2);
22410
22493
  }
22411
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$v], ["__file", "predefine.vue"]]);
22494
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$u], ["__file", "predefine.vue"]]);
22412
22495
 
22413
22496
  const _sfc_main$1s = vue.defineComponent({
22414
22497
  name: "ElSlPanel",
@@ -22480,11 +22563,11 @@
22480
22563
  };
22481
22564
  }
22482
22565
  });
22483
- const _hoisted_1$K = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
22566
+ const _hoisted_1$L = /* @__PURE__ */ vue.createElementVNode("div", null, null, -1);
22484
22567
  const _hoisted_2$u = [
22485
- _hoisted_1$K
22568
+ _hoisted_1$L
22486
22569
  ];
22487
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22570
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22488
22571
  return vue.openBlock(), vue.createElementBlock("div", {
22489
22572
  class: vue.normalizeClass(_ctx.ns.b()),
22490
22573
  style: vue.normalizeStyle({
@@ -22506,7 +22589,7 @@
22506
22589
  }, _hoisted_2$u, 6)
22507
22590
  ], 6);
22508
22591
  }
22509
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$u], ["__file", "sv-panel.vue"]]);
22592
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$t], ["__file", "sv-panel.vue"]]);
22510
22593
 
22511
22594
  const _sfc_main$1r = vue.defineComponent({
22512
22595
  name: "ElColorPicker",
@@ -22554,10 +22637,9 @@
22554
22637
  setup(props, { emit }) {
22555
22638
  const { t } = useLocale();
22556
22639
  const ns = useNamespace("color");
22557
- const elForm = vue.inject(formContextKey, {});
22558
- const elFormItem = vue.inject(formItemContextKey, {});
22640
+ const { form, formItem } = useFormItem();
22559
22641
  const { inputId: buttonId, isLabeledByFormItem } = useFormItemInputId(props, {
22560
- formItemContext: elFormItem
22642
+ formItemContext: formItem
22561
22643
  });
22562
22644
  const hue = vue.ref();
22563
22645
  const svPanel = vue.ref();
@@ -22580,7 +22662,7 @@
22580
22662
  });
22581
22663
  const colorSize = useSize();
22582
22664
  const colorDisabled = vue.computed(() => {
22583
- return !!(props.disabled || elForm.disabled);
22665
+ return !!(props.disabled || (form == null ? void 0 : form.disabled));
22584
22666
  });
22585
22667
  const currentColor = vue.computed(() => {
22586
22668
  return !props.modelValue && !showPanelColor.value ? "" : color.value;
@@ -22589,7 +22671,7 @@
22589
22671
  return !isLabeledByFormItem.value ? props.label || t("el.colorpicker.defaultLabel") : void 0;
22590
22672
  });
22591
22673
  const buttonAriaLabelledby = vue.computed(() => {
22592
- return isLabeledByFormItem.value ? elFormItem.labelId : void 0;
22674
+ return isLabeledByFormItem.value ? formItem == null ? void 0 : formItem.labelId : void 0;
22593
22675
  });
22594
22676
  vue.watch(() => props.modelValue, (newVal) => {
22595
22677
  if (!newVal) {
@@ -22645,12 +22727,11 @@
22645
22727
  color.fromString(customInput.value);
22646
22728
  }
22647
22729
  function confirmValue() {
22648
- var _a;
22649
22730
  const value = color.value;
22650
22731
  emit(UPDATE_MODEL_EVENT, value);
22651
22732
  emit("change", value);
22652
22733
  if (props.validateEvent) {
22653
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
22734
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
22654
22735
  }
22655
22736
  debounceSetShowPicker(false);
22656
22737
  vue.nextTick(() => {
@@ -22665,12 +22746,11 @@
22665
22746
  });
22666
22747
  }
22667
22748
  function clear() {
22668
- var _a;
22669
22749
  debounceSetShowPicker(false);
22670
22750
  emit(UPDATE_MODEL_EVENT, null);
22671
22751
  emit("change", null);
22672
22752
  if (props.modelValue !== null && props.validateEvent) {
22673
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
22753
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
22674
22754
  }
22675
22755
  resetColor();
22676
22756
  }
@@ -22715,8 +22795,8 @@
22715
22795
  };
22716
22796
  }
22717
22797
  });
22718
- const _hoisted_1$J = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22719
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22798
+ const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22799
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22720
22800
  const _component_hue_slider = vue.resolveComponent("hue-slider");
22721
22801
  const _component_sv_panel = vue.resolveComponent("sv-panel");
22722
22802
  const _component_alpha_slider = vue.resolveComponent("alpha-slider");
@@ -22739,7 +22819,7 @@
22739
22819
  "stop-popper-mouse-event": false,
22740
22820
  effect: "light",
22741
22821
  trigger: "click",
22742
- transition: "el-zoom-in-top",
22822
+ transition: `${_ctx.ns.namespace.value}-zoom-in-top`,
22743
22823
  persistent: ""
22744
22824
  }, {
22745
22825
  content: vue.withCtx(() => [
@@ -22865,12 +22945,12 @@
22865
22945
  ], 6)
22866
22946
  ], 2)
22867
22947
  ], 2)
22868
- ], 42, _hoisted_1$J)
22948
+ ], 42, _hoisted_1$K)
22869
22949
  ]),
22870
22950
  _: 1
22871
- }, 8, ["visible", "popper-class"]);
22951
+ }, 8, ["visible", "popper-class", "transition"]);
22872
22952
  }
22873
- var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$t], ["__file", "index.vue"]]);
22953
+ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$s], ["__file", "index.vue"]]);
22874
22954
 
22875
22955
  ColorPicker.install = (app) => {
22876
22956
  app.component(ColorPicker.name, ColorPicker);
@@ -22921,11 +23001,11 @@
22921
23001
 
22922
23002
  const ElConfigProvider = withInstall(ConfigProvider);
22923
23003
 
22924
- const __default__$S = {
23004
+ const __default__$T = {
22925
23005
  name: "ElContainer"
22926
23006
  };
22927
23007
  const _sfc_main$1q = /* @__PURE__ */ vue.defineComponent({
22928
- ...__default__$S,
23008
+ ...__default__$T,
22929
23009
  props: {
22930
23010
  direction: {
22931
23011
  type: String
@@ -22962,11 +23042,11 @@
22962
23042
  });
22963
23043
  var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
22964
23044
 
22965
- const __default__$R = {
23045
+ const __default__$S = {
22966
23046
  name: "ElAside"
22967
23047
  };
22968
23048
  const _sfc_main$1p = /* @__PURE__ */ vue.defineComponent({
22969
- ...__default__$R,
23049
+ ...__default__$S,
22970
23050
  props: {
22971
23051
  width: {
22972
23052
  type: String,
@@ -22989,11 +23069,11 @@
22989
23069
  });
22990
23070
  var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
22991
23071
 
22992
- const __default__$Q = {
23072
+ const __default__$R = {
22993
23073
  name: "ElFooter"
22994
23074
  };
22995
23075
  const _sfc_main$1o = /* @__PURE__ */ vue.defineComponent({
22996
- ...__default__$Q,
23076
+ ...__default__$R,
22997
23077
  props: {
22998
23078
  height: {
22999
23079
  type: String,
@@ -23016,11 +23096,11 @@
23016
23096
  });
23017
23097
  var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
23018
23098
 
23019
- const __default__$P = {
23099
+ const __default__$Q = {
23020
23100
  name: "ElHeader"
23021
23101
  };
23022
23102
  const _sfc_main$1n = /* @__PURE__ */ vue.defineComponent({
23023
- ...__default__$P,
23103
+ ...__default__$Q,
23024
23104
  props: {
23025
23105
  height: {
23026
23106
  type: String,
@@ -23047,11 +23127,11 @@
23047
23127
  });
23048
23128
  var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
23049
23129
 
23050
- const __default__$O = {
23130
+ const __default__$P = {
23051
23131
  name: "ElMain"
23052
23132
  };
23053
23133
  const _sfc_main$1m = /* @__PURE__ */ vue.defineComponent({
23054
- ...__default__$O,
23134
+ ...__default__$P,
23055
23135
  setup(__props) {
23056
23136
  const ns = useNamespace("main");
23057
23137
  return (_ctx, _cache) => {
@@ -23404,7 +23484,7 @@
23404
23484
  }
23405
23485
  });
23406
23486
 
23407
- const _hoisted_1$I = ["aria-label"];
23487
+ const _hoisted_1$J = ["aria-label"];
23408
23488
  const _hoisted_2$t = {
23409
23489
  key: 0,
23410
23490
  scope: "col"
@@ -23752,7 +23832,7 @@
23752
23832
  ], 2);
23753
23833
  }), 128))
23754
23834
  ], 512)
23755
- ], 42, _hoisted_1$I);
23835
+ ], 42, _hoisted_1$J);
23756
23836
  };
23757
23837
  }
23758
23838
  });
@@ -23763,7 +23843,7 @@
23763
23843
  selectionMode: selectionModeWithDefault("month")
23764
23844
  });
23765
23845
 
23766
- const _hoisted_1$H = ["aria-label"];
23846
+ const _hoisted_1$I = ["aria-label"];
23767
23847
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
23768
23848
  const _hoisted_3$f = { class: "cell" };
23769
23849
  const _sfc_main$1k = /* @__PURE__ */ vue.defineComponent({
@@ -23955,7 +24035,7 @@
23955
24035
  ]);
23956
24036
  }), 128))
23957
24037
  ], 512)
23958
- ], 42, _hoisted_1$H);
24038
+ ], 42, _hoisted_1$I);
23959
24039
  };
23960
24040
  }
23961
24041
  });
@@ -23968,7 +24048,7 @@
23968
24048
  parsedValue
23969
24049
  });
23970
24050
 
23971
- const _hoisted_1$G = ["aria-label"];
24051
+ const _hoisted_1$H = ["aria-label"];
23972
24052
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
23973
24053
  const _hoisted_3$e = { class: "cell" };
23974
24054
  const _hoisted_4$a = { key: 1 };
@@ -24062,13 +24142,13 @@
24062
24142
  ]);
24063
24143
  }), 64))
24064
24144
  ], 512)
24065
- ], 10, _hoisted_1$G);
24145
+ ], 10, _hoisted_1$H);
24066
24146
  };
24067
24147
  }
24068
24148
  });
24069
24149
  var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "basic-year-table.vue"]]);
24070
24150
 
24071
- const _hoisted_1$F = ["onClick"];
24151
+ const _hoisted_1$G = ["onClick"];
24072
24152
  const _hoisted_2$q = ["aria-label"];
24073
24153
  const _hoisted_3$d = ["aria-label"];
24074
24154
  const _hoisted_4$9 = ["aria-label"];
@@ -24479,7 +24559,7 @@
24479
24559
  type: "button",
24480
24560
  class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
24481
24561
  onClick: ($event) => handleShortcutClick(shortcut)
24482
- }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$F);
24562
+ }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$G);
24483
24563
  }), 128))
24484
24564
  ], 2)) : vue.createCommentVNode("v-if", true),
24485
24565
  vue.createElementVNode("div", {
@@ -24793,7 +24873,7 @@
24793
24873
  };
24794
24874
  };
24795
24875
 
24796
- const _hoisted_1$E = ["onClick"];
24876
+ const _hoisted_1$F = ["onClick"];
24797
24877
  const _hoisted_2$p = ["disabled"];
24798
24878
  const _hoisted_3$c = ["disabled"];
24799
24879
  const _hoisted_4$8 = ["disabled"];
@@ -25144,7 +25224,7 @@
25144
25224
  type: "button",
25145
25225
  class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
25146
25226
  onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
25147
- }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$E);
25227
+ }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$F);
25148
25228
  }), 128))
25149
25229
  ], 2)) : vue.createCommentVNode("v-if", true),
25150
25230
  vue.createElementVNode("div", {
@@ -25489,14 +25569,14 @@
25489
25569
  };
25490
25570
  };
25491
25571
 
25492
- const _hoisted_1$D = ["onClick"];
25572
+ const _hoisted_1$E = ["onClick"];
25493
25573
  const _hoisted_2$o = ["disabled"];
25494
25574
  const _hoisted_3$b = ["disabled"];
25495
- const __default__$N = {
25575
+ const __default__$O = {
25496
25576
  name: "DatePickerMonthRange"
25497
25577
  };
25498
25578
  const _sfc_main$1g = /* @__PURE__ */ vue.defineComponent({
25499
- ...__default__$N,
25579
+ ...__default__$O,
25500
25580
  props: panelMonthRangeProps,
25501
25581
  emits: panelMonthRangeEmits,
25502
25582
  setup(__props, { emit }) {
@@ -25594,7 +25674,7 @@
25594
25674
  type: "button",
25595
25675
  class: vue.normalizeClass(vue.unref(ppNs).e("shortcut")),
25596
25676
  onClick: ($event) => vue.unref(handleShortcutClick)(shortcut)
25597
- }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$D);
25677
+ }, vue.toDisplayString(shortcut.text), 11, _hoisted_1$E);
25598
25678
  }), 128))
25599
25679
  ], 2)) : vue.createCommentVNode("v-if", true),
25600
25680
  vue.createElementVNode("div", {
@@ -25868,12 +25948,12 @@
25868
25948
  }
25869
25949
  });
25870
25950
 
25871
- const _hoisted_1$C = { key: 1 };
25872
- const __default__$M = {
25951
+ const _hoisted_1$D = { key: 1 };
25952
+ const __default__$N = {
25873
25953
  name: "ElDescriptionsRow"
25874
25954
  };
25875
25955
  const _sfc_main$1f = /* @__PURE__ */ vue.defineComponent({
25876
- ...__default__$M,
25956
+ ...__default__$N,
25877
25957
  props: descriptionsRowProps,
25878
25958
  setup(__props) {
25879
25959
  const descriptions = vue.inject(descriptionsKey, {});
@@ -25899,7 +25979,7 @@
25899
25979
  }, null, 8, ["cell"]);
25900
25980
  }), 128))
25901
25981
  ])
25902
- ], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$C, [
25982
+ ], 64)) : (vue.openBlock(), vue.createElementBlock("tr", _hoisted_1$D, [
25903
25983
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.row, (cell, index) => {
25904
25984
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
25905
25985
  key: `tr3-${index}`
@@ -25954,11 +26034,11 @@
25954
26034
  }
25955
26035
  });
25956
26036
 
25957
- const __default__$L = {
26037
+ const __default__$M = {
25958
26038
  name: "ElDescriptions"
25959
26039
  };
25960
26040
  const _sfc_main$1e = /* @__PURE__ */ vue.defineComponent({
25961
- ...__default__$L,
26041
+ ...__default__$M,
25962
26042
  props: descriptionProps,
25963
26043
  setup(__props) {
25964
26044
  const props = __props;
@@ -26206,11 +26286,11 @@
26206
26286
  close: () => true
26207
26287
  };
26208
26288
 
26209
- const _hoisted_1$B = ["aria-label"];
26289
+ const _hoisted_1$C = ["aria-label"];
26210
26290
  const _hoisted_2$n = ["id"];
26211
- const __default__$K = { name: "ElDialogContent" };
26291
+ const __default__$L = { name: "ElDialogContent" };
26212
26292
  const _sfc_main$1d = /* @__PURE__ */ vue.defineComponent({
26213
- ...__default__$K,
26293
+ ...__default__$L,
26214
26294
  props: dialogContentProps,
26215
26295
  emits: dialogContentEmits,
26216
26296
  setup(__props) {
@@ -26263,7 +26343,7 @@
26263
26343
  ]),
26264
26344
  _: 1
26265
26345
  }, 8, ["class"])
26266
- ], 10, _hoisted_1$B)) : vue.createCommentVNode("v-if", true)
26346
+ ], 10, _hoisted_1$C)) : vue.createCommentVNode("v-if", true)
26267
26347
  ], 2),
26268
26348
  vue.createElementVNode("div", {
26269
26349
  id: vue.unref(bodyId),
@@ -26452,9 +26532,9 @@
26452
26532
  closed.value = false;
26453
26533
  open();
26454
26534
  rendered.value = true;
26455
- emit("open");
26456
26535
  zIndex.value = props.zIndex ? zIndex.value++ : nextZIndex();
26457
26536
  vue.nextTick(() => {
26537
+ emit("open");
26458
26538
  if (targetRef.value) {
26459
26539
  targetRef.value.scrollTop = 0;
26460
26540
  }
@@ -26503,12 +26583,12 @@
26503
26583
  };
26504
26584
  };
26505
26585
 
26506
- const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
26507
- const __default__$J = {
26586
+ const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
26587
+ const __default__$K = {
26508
26588
  name: "ElDialog"
26509
26589
  };
26510
26590
  const _sfc_main$1c = /* @__PURE__ */ vue.defineComponent({
26511
- ...__default__$J,
26591
+ ...__default__$K,
26512
26592
  props: dialogProps,
26513
26593
  emits: dialogEmits,
26514
26594
  setup(__props, { expose }) {
@@ -26631,7 +26711,7 @@
26631
26711
  ]),
26632
26712
  _: 3
26633
26713
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onReleaseRequested"])
26634
- ], 42, _hoisted_1$A)
26714
+ ], 42, _hoisted_1$B)
26635
26715
  ]),
26636
26716
  _: 3
26637
26717
  }, 8, ["mask", "overlay-class", "z-index"]), [
@@ -26665,11 +26745,11 @@
26665
26745
  }
26666
26746
  });
26667
26747
 
26668
- const __default__$I = {
26748
+ const __default__$J = {
26669
26749
  name: "ElDivider"
26670
26750
  };
26671
26751
  const _sfc_main$1b = /* @__PURE__ */ vue.defineComponent({
26672
- ...__default__$I,
26752
+ ...__default__$J,
26673
26753
  props: dividerProps,
26674
26754
  setup(__props) {
26675
26755
  const props = __props;
@@ -26756,11 +26836,11 @@
26756
26836
  };
26757
26837
  }
26758
26838
  });
26759
- const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
26839
+ const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
26760
26840
  const _hoisted_2$m = ["id"];
26761
26841
  const _hoisted_3$a = ["aria-label"];
26762
26842
  const _hoisted_4$7 = ["id"];
26763
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
26843
+ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
26764
26844
  const _component_close = vue.resolveComponent("close");
26765
26845
  const _component_el_icon = vue.resolveComponent("el-icon");
26766
26846
  const _component_el_focus_trap = vue.resolveComponent("el-focus-trap");
@@ -26858,7 +26938,7 @@
26858
26938
  }, [
26859
26939
  vue.renderSlot(_ctx.$slots, "footer")
26860
26940
  ], 2)) : vue.createCommentVNode("v-if", true)
26861
- ], 14, _hoisted_1$z)
26941
+ ], 14, _hoisted_1$A)
26862
26942
  ]),
26863
26943
  _: 3
26864
26944
  }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
@@ -26872,26 +26952,26 @@
26872
26952
  }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
26873
26953
  ], 8, ["disabled"]);
26874
26954
  }
26875
- var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$s], ["__file", "drawer.vue"]]);
26955
+ var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$r], ["__file", "drawer.vue"]]);
26876
26956
 
26877
26957
  const ElDrawer = withInstall(Drawer);
26878
26958
 
26879
26959
  const _sfc_main$19 = {
26880
26960
  inheritAttrs: false
26881
26961
  };
26882
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
26962
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
26883
26963
  return vue.renderSlot(_ctx.$slots, "default");
26884
26964
  }
26885
- var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$r], ["__file", "collection.vue"]]);
26965
+ var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$q], ["__file", "collection.vue"]]);
26886
26966
 
26887
26967
  const _sfc_main$18 = {
26888
26968
  name: "ElCollectionItem",
26889
26969
  inheritAttrs: false
26890
26970
  };
26891
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
26971
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
26892
26972
  return vue.renderSlot(_ctx.$slots, "default");
26893
26973
  }
26894
- var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$q], ["__file", "collection-item.vue"]]);
26974
+ var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$p], ["__file", "collection-item.vue"]]);
26895
26975
 
26896
26976
  const COLLECTION_ITEM_SIGN = `data-el-collection-item`;
26897
26977
  const createCollectionWithScope = (name) => {
@@ -27111,10 +27191,10 @@
27111
27191
  useEventListener(rovingFocusGroupRef, ENTRY_FOCUS_EVT, handleEntryFocus);
27112
27192
  }
27113
27193
  });
27114
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
27194
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
27115
27195
  return vue.renderSlot(_ctx.$slots, "default");
27116
27196
  }
27117
- var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$p], ["__file", "roving-focus-group-impl.vue"]]);
27197
+ var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$o], ["__file", "roving-focus-group-impl.vue"]]);
27118
27198
 
27119
27199
  const _sfc_main$16 = vue.defineComponent({
27120
27200
  name: "ElRovingFocusGroup",
@@ -27123,7 +27203,7 @@
27123
27203
  ElRovingFocusGroupImpl
27124
27204
  }
27125
27205
  });
27126
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
27206
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27127
27207
  const _component_el_roving_focus_group_impl = vue.resolveComponent("el-roving-focus-group-impl");
27128
27208
  const _component_el_focus_group_collection = vue.resolveComponent("el-focus-group-collection");
27129
27209
  return vue.openBlock(), vue.createBlock(_component_el_focus_group_collection, null, {
@@ -27138,7 +27218,7 @@
27138
27218
  _: 3
27139
27219
  });
27140
27220
  }
27141
- var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$o], ["__file", "roving-focus-group.vue"]]);
27221
+ var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$n], ["__file", "roving-focus-group.vue"]]);
27142
27222
 
27143
27223
  const _sfc_main$15 = vue.defineComponent({
27144
27224
  components: {
@@ -27225,7 +27305,7 @@
27225
27305
  };
27226
27306
  }
27227
27307
  });
27228
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27308
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27229
27309
  const _component_el_roving_focus_collection_item = vue.resolveComponent("el-roving-focus-collection-item");
27230
27310
  return vue.openBlock(), vue.createBlock(_component_el_roving_focus_collection_item, {
27231
27311
  id: _ctx.id,
@@ -27238,7 +27318,7 @@
27238
27318
  _: 3
27239
27319
  }, 8, ["id", "focusable", "active"]);
27240
27320
  }
27241
- var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$n], ["__file", "roving-focus-item.vue"]]);
27321
+ var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$m], ["__file", "roving-focus-item.vue"]]);
27242
27322
 
27243
27323
  const dropdownProps = buildProps({
27244
27324
  trigger: useTooltipTriggerProps.trigger,
@@ -27464,7 +27544,7 @@
27464
27544
  };
27465
27545
  }
27466
27546
  });
27467
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27547
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27468
27548
  var _a;
27469
27549
  const _component_el_dropdown_collection = vue.resolveComponent("el-dropdown-collection");
27470
27550
  const _component_el_roving_focus_group = vue.resolveComponent("el-roving-focus-group");
@@ -27596,7 +27676,7 @@
27596
27676
  })) : vue.createCommentVNode("v-if", true)
27597
27677
  ], 2);
27598
27678
  }
27599
- var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$m], ["__file", "dropdown.vue"]]);
27679
+ var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$l], ["__file", "dropdown.vue"]]);
27600
27680
 
27601
27681
  const _sfc_main$13 = vue.defineComponent({
27602
27682
  name: "DropdownItemImpl",
@@ -27649,8 +27729,8 @@
27649
27729
  };
27650
27730
  }
27651
27731
  });
27652
- const _hoisted_1$y = ["aria-disabled", "tabindex", "role"];
27653
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27732
+ const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
27733
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27654
27734
  const _component_el_icon = vue.resolveComponent("el-icon");
27655
27735
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [
27656
27736
  _ctx.divided ? (vue.openBlock(), vue.createElementBlock("li", vue.mergeProps({
@@ -27677,10 +27757,10 @@
27677
27757
  _: 1
27678
27758
  })) : vue.createCommentVNode("v-if", true),
27679
27759
  vue.renderSlot(_ctx.$slots, "default")
27680
- ], 16, _hoisted_1$y)
27760
+ ], 16, _hoisted_1$z)
27681
27761
  ], 64);
27682
27762
  }
27683
- var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$l], ["__file", "dropdown-item-impl.vue"]]);
27763
+ var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$k], ["__file", "dropdown-item-impl.vue"]]);
27684
27764
 
27685
27765
  const useDropdown = () => {
27686
27766
  const elDropdown = vue.inject("elDropdown", {});
@@ -27756,7 +27836,7 @@
27756
27836
  };
27757
27837
  }
27758
27838
  });
27759
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27839
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
27760
27840
  var _a;
27761
27841
  const _component_el_dropdown_item_impl = vue.resolveComponent("el-dropdown-item-impl");
27762
27842
  const _component_el_roving_focus_item = vue.resolveComponent("el-roving-focus-item");
@@ -27787,7 +27867,7 @@
27787
27867
  _: 3
27788
27868
  }, 8, ["disabled", "text-value"]);
27789
27869
  }
27790
- var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$k], ["__file", "dropdown-item.vue"]]);
27870
+ var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$j], ["__file", "dropdown-item.vue"]]);
27791
27871
 
27792
27872
  const _sfc_main$11 = vue.defineComponent({
27793
27873
  name: "ElDropdownMenu",
@@ -27852,8 +27932,8 @@
27852
27932
  };
27853
27933
  }
27854
27934
  });
27855
- const _hoisted_1$x = ["role", "aria-labelledby"];
27856
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
27935
+ const _hoisted_1$y = ["role", "aria-labelledby"];
27936
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27857
27937
  return vue.openBlock(), vue.createElementBlock("ul", {
27858
27938
  ref: _ctx.dropdownListWrapperRef,
27859
27939
  class: vue.normalizeClass(_ctx.dropdownKls),
@@ -27867,9 +27947,9 @@
27867
27947
  onMousedown: _cache[3] || (_cache[3] = (...args) => _ctx.onMousedown && _ctx.onMousedown(...args))
27868
27948
  }, [
27869
27949
  vue.renderSlot(_ctx.$slots, "default")
27870
- ], 46, _hoisted_1$x);
27950
+ ], 46, _hoisted_1$y);
27871
27951
  }
27872
- var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$j], ["__file", "dropdown-menu.vue"]]);
27952
+ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$i], ["__file", "dropdown-menu.vue"]]);
27873
27953
 
27874
27954
  const ElDropdown = withInstall(Dropdown, {
27875
27955
  DropdownItem,
@@ -27889,7 +27969,7 @@
27889
27969
  };
27890
27970
  }
27891
27971
  });
27892
- const _hoisted_1$w = {
27972
+ const _hoisted_1$x = {
27893
27973
  viewBox: "0 0 79 86",
27894
27974
  version: "1.1",
27895
27975
  xmlns: "http://www.w3.org/2000/svg",
@@ -27935,8 +28015,8 @@
27935
28015
  const _hoisted_21 = ["fill", "xlink:href"];
27936
28016
  const _hoisted_22 = ["fill", "mask"];
27937
28017
  const _hoisted_23 = ["fill"];
27938
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27939
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$w, [
28018
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
28019
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$x, [
27940
28020
  vue.createElementVNode("defs", null, [
27941
28021
  vue.createElementVNode("linearGradient", {
27942
28022
  id: `linearGradient-1-${_ctx.id}`,
@@ -28054,7 +28134,7 @@
28054
28134
  ])
28055
28135
  ]);
28056
28136
  }
28057
- var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$i], ["__file", "img-empty.vue"]]);
28137
+ var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$h], ["__file", "img-empty.vue"]]);
28058
28138
 
28059
28139
  const emptyProps = {
28060
28140
  image: {
@@ -28068,13 +28148,13 @@
28068
28148
  }
28069
28149
  };
28070
28150
 
28071
- const _hoisted_1$v = ["src"];
28151
+ const _hoisted_1$w = ["src"];
28072
28152
  const _hoisted_2$k = { key: 1 };
28073
- const __default__$H = {
28153
+ const __default__$I = {
28074
28154
  name: "ElEmpty"
28075
28155
  };
28076
28156
  const _sfc_main$$ = /* @__PURE__ */ vue.defineComponent({
28077
- ...__default__$H,
28157
+ ...__default__$I,
28078
28158
  props: emptyProps,
28079
28159
  setup(__props) {
28080
28160
  const props = __props;
@@ -28096,7 +28176,7 @@
28096
28176
  key: 0,
28097
28177
  src: _ctx.image,
28098
28178
  ondragstart: "return false"
28099
- }, null, 8, _hoisted_1$v)) : vue.renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
28179
+ }, null, 8, _hoisted_1$w)) : vue.renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
28100
28180
  vue.createVNode(ImgEmpty)
28101
28181
  ])
28102
28182
  ], 6),
@@ -28129,6 +28209,11 @@
28129
28209
  values: ["left", "right", "top"],
28130
28210
  default: "right"
28131
28211
  },
28212
+ requireAsteriskPosition: {
28213
+ type: String,
28214
+ values: ["left", "right"],
28215
+ default: "left"
28216
+ },
28132
28217
  labelWidth: {
28133
28218
  type: [String, Number],
28134
28219
  default: ""
@@ -28200,11 +28285,11 @@
28200
28285
  return normalized.length > 0 ? fields.filter((field) => field.prop && normalized.includes(field.prop)) : fields;
28201
28286
  };
28202
28287
 
28203
- const __default__$G = {
28288
+ const __default__$H = {
28204
28289
  name: "ElForm"
28205
28290
  };
28206
28291
  const _sfc_main$_ = /* @__PURE__ */ vue.defineComponent({
28207
- ...__default__$G,
28292
+ ...__default__$H,
28208
28293
  props: formProps,
28209
28294
  emits: formEmits,
28210
28295
  setup(__props, { expose, emit }) {
@@ -29508,12 +29593,12 @@
29508
29593
  }
29509
29594
  });
29510
29595
 
29511
- const _hoisted_1$u = ["role", "aria-labelledby"];
29512
- const __default__$F = {
29596
+ const _hoisted_1$v = ["role", "aria-labelledby"];
29597
+ const __default__$G = {
29513
29598
  name: "ElFormItem"
29514
29599
  };
29515
29600
  const _sfc_main$Z = /* @__PURE__ */ vue.defineComponent({
29516
- ...__default__$F,
29601
+ ...__default__$G,
29517
29602
  props: formItemProps,
29518
29603
  setup(__props, { expose }) {
29519
29604
  const props = __props;
@@ -29560,6 +29645,7 @@
29560
29645
  ns.is("success", validateState.value === "success"),
29561
29646
  ns.is("required", isRequired.value || props.required),
29562
29647
  ns.is("no-asterisk", formContext == null ? void 0 : formContext.hideRequiredAsterisk),
29648
+ (formContext == null ? void 0 : formContext.requireAsteriskPosition) === "right" ? "asterisk-right" : "asterisk-left",
29563
29649
  { [ns.m("feedback")]: formContext == null ? void 0 : formContext.statusIcon }
29564
29650
  ]);
29565
29651
  const _inlineMessage = vue.computed(() => isBoolean(props.inlineMessage) ? props.inlineMessage : (formContext == null ? void 0 : formContext.inlineMessage) || false);
@@ -29790,7 +29876,7 @@
29790
29876
  _: 3
29791
29877
  }, 8, ["name"])
29792
29878
  ], 6)
29793
- ], 10, _hoisted_1$u);
29879
+ ], 10, _hoisted_1$v);
29794
29880
  };
29795
29881
  }
29796
29882
  });
@@ -29835,12 +29921,12 @@
29835
29921
  switch: (index) => isNumber(index)
29836
29922
  };
29837
29923
 
29838
- const _hoisted_1$t = ["src"];
29839
- const __default__$E = {
29924
+ const _hoisted_1$u = ["src"];
29925
+ const __default__$F = {
29840
29926
  name: "ElImageViewer"
29841
29927
  };
29842
29928
  const _sfc_main$Y = /* @__PURE__ */ vue.defineComponent({
29843
- ...__default__$E,
29929
+ ...__default__$F,
29844
29930
  props: imageViewerProps,
29845
29931
  emits: imageViewerEmits,
29846
29932
  setup(__props, { emit }) {
@@ -30203,7 +30289,7 @@
30203
30289
  onLoad: handleImgLoad,
30204
30290
  onError: handleImgError,
30205
30291
  onMousedown: handleMouseDown
30206
- }, null, 46, _hoisted_1$t)), [
30292
+ }, null, 46, _hoisted_1$u)), [
30207
30293
  [vue.vShow, i === index.value]
30208
30294
  ]);
30209
30295
  }), 128))
@@ -30278,14 +30364,14 @@
30278
30364
  show: () => true
30279
30365
  };
30280
30366
 
30281
- const _hoisted_1$s = ["src", "loading"];
30367
+ const _hoisted_1$t = ["src", "loading"];
30282
30368
  const _hoisted_2$j = { key: 0 };
30283
- const __default__$D = {
30369
+ const __default__$E = {
30284
30370
  name: "ElImage",
30285
30371
  inheritAttrs: false
30286
30372
  };
30287
30373
  const _sfc_main$X = /* @__PURE__ */ vue.defineComponent({
30288
- ...__default__$D,
30374
+ ...__default__$E,
30289
30375
  props: imageProps,
30290
30376
  emits: imageEmits,
30291
30377
  setup(__props, { emit }) {
@@ -30444,7 +30530,7 @@
30444
30530
  onClick: clickHandler,
30445
30531
  onLoad: handleLoad,
30446
30532
  onError: handleError
30447
- }), null, 16, _hoisted_1$s)) : vue.createCommentVNode("v-if", true),
30533
+ }), null, 16, _hoisted_1$t)) : vue.createCommentVNode("v-if", true),
30448
30534
  isLoading.value || hasLoadError.value ? (vue.openBlock(), vue.createElementBlock("div", {
30449
30535
  key: 1,
30450
30536
  class: vue.normalizeClass(vue.unref(ns).e("wrapper"))
@@ -30543,13 +30629,13 @@
30543
30629
  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
30544
30630
  };
30545
30631
 
30546
- const _hoisted_1$r = ["aria-label", "onKeydown"];
30632
+ const _hoisted_1$s = ["aria-label", "onKeydown"];
30547
30633
  const _hoisted_2$i = ["aria-label", "onKeydown"];
30548
- const __default__$C = {
30634
+ const __default__$D = {
30549
30635
  name: "ElInputNumber"
30550
30636
  };
30551
30637
  const _sfc_main$W = /* @__PURE__ */ vue.defineComponent({
30552
- ...__default__$C,
30638
+ ...__default__$D,
30553
30639
  props: inputNumberProps,
30554
30640
  emits: inputNumberEmits,
30555
30641
  setup(__props, { expose, emit }) {
@@ -30773,7 +30859,7 @@
30773
30859
  ]),
30774
30860
  _: 1
30775
30861
  })
30776
- ], 42, _hoisted_1$r)), [
30862
+ ], 42, _hoisted_1$s)), [
30777
30863
  [vue.unref(RepeatClick), decrease]
30778
30864
  ]) : vue.createCommentVNode("v-if", true),
30779
30865
  _ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
@@ -30845,12 +30931,12 @@
30845
30931
  click: (evt) => evt instanceof MouseEvent
30846
30932
  };
30847
30933
 
30848
- const _hoisted_1$q = ["href"];
30849
- const __default__$B = {
30934
+ const _hoisted_1$r = ["href"];
30935
+ const __default__$C = {
30850
30936
  name: "ElLink"
30851
30937
  };
30852
30938
  const _sfc_main$V = /* @__PURE__ */ vue.defineComponent({
30853
- ...__default__$B,
30939
+ ...__default__$C,
30854
30940
  props: linkProps,
30855
30941
  emits: linkEmits,
30856
30942
  setup(__props, { emit }) {
@@ -30884,7 +30970,7 @@
30884
30970
  vue.renderSlot(_ctx.$slots, "default")
30885
30971
  ], 2)) : vue.createCommentVNode("v-if", true),
30886
30972
  _ctx.$slots.icon ? vue.renderSlot(_ctx.$slots, "icon", { key: 2 }) : vue.createCommentVNode("v-if", true)
30887
- ], 10, _hoisted_1$q);
30973
+ ], 10, _hoisted_1$r);
30888
30974
  };
30889
30975
  }
30890
30976
  });
@@ -31060,7 +31146,7 @@
31060
31146
  };
31061
31147
  }
31062
31148
  });
31063
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
31149
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31064
31150
  return vue.openBlock(), vue.createBlock(vue.Transition, vue.mergeProps({ mode: "out-in" }, _ctx.listeners), {
31065
31151
  default: vue.withCtx(() => [
31066
31152
  vue.renderSlot(_ctx.$slots, "default")
@@ -31068,7 +31154,7 @@
31068
31154
  _: 3
31069
31155
  }, 16);
31070
31156
  }
31071
- var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$h], ["__file", "menu-collapse-transition.vue"]]);
31157
+ var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$g], ["__file", "menu-collapse-transition.vue"]]);
31072
31158
 
31073
31159
  function useMenu(instance, currentIndex) {
31074
31160
  const indexPath = vue.computed(() => {
@@ -31143,6 +31229,18 @@
31143
31229
  popperOffset: {
31144
31230
  type: Number,
31145
31231
  default: 6
31232
+ },
31233
+ expandCloseIcon: {
31234
+ type: definePropType([Object, Function])
31235
+ },
31236
+ expandOpenIcon: {
31237
+ type: definePropType([Object, Function])
31238
+ },
31239
+ collapseCloseIcon: {
31240
+ type: definePropType([Object, Function])
31241
+ },
31242
+ collapseOpenIcon: {
31243
+ type: definePropType([Object, Function])
31146
31244
  }
31147
31245
  });
31148
31246
  const COMPONENT_NAME$8 = "ElSubMenu";
@@ -31168,7 +31266,7 @@
31168
31266
  const vPopper = vue.ref(null);
31169
31267
  const currentPlacement = vue.computed(() => mode.value === "horizontal" && isFirstLevel.value ? "bottom-start" : "right-start");
31170
31268
  const subMenuTitleIcon = vue.computed(() => {
31171
- return mode.value === "horizontal" && isFirstLevel.value || mode.value === "vertical" && !rootMenu.props.collapse ? arrow_down_default : arrow_right_default;
31269
+ return mode.value === "horizontal" && isFirstLevel.value || mode.value === "vertical" && !rootMenu.props.collapse ? props.expandCloseIcon && props.expandOpenIcon ? opened.value ? props.expandOpenIcon : props.expandCloseIcon : arrow_down_default : props.collapseCloseIcon && props.collapseOpenIcon ? opened.value ? props.collapseOpenIcon : props.collapseCloseIcon : arrow_right_default;
31172
31270
  });
31173
31271
  const isFirstLevel = vue.computed(() => {
31174
31272
  return subMenu.level === 0;
@@ -31308,7 +31406,10 @@
31308
31406
  const titleTag = [
31309
31407
  (_a = slots.title) == null ? void 0 : _a.call(slots),
31310
31408
  vue.h(ElIcon, {
31311
- class: nsSubMenu.e("icon-arrow")
31409
+ class: nsSubMenu.e("icon-arrow"),
31410
+ style: {
31411
+ transform: opened.value ? props.expandCloseIcon && props.expandOpenIcon || props.collapseCloseIcon && props.collapseOpenIcon && rootMenu.props.collapse ? "none" : "rotateZ(180deg)" : "none"
31412
+ }
31312
31413
  }, { default: () => vue.h(subMenuTitleIcon.value) })
31313
31414
  ];
31314
31415
  const ulStyle = useMenuCssVar(rootMenu.props, subMenu.level + 1);
@@ -31446,6 +31547,7 @@
31446
31547
  const menu = vue.ref();
31447
31548
  const nsMenu = useNamespace("menu");
31448
31549
  const nsSubMenu = useNamespace("sub-menu");
31550
+ const sliceIndex = vue.ref(-1);
31449
31551
  const openedMenus = vue.ref(props.defaultOpeneds && !props.collapse ? props.defaultOpeneds.slice(0) : []);
31450
31552
  const activeIndex = vue.ref(props.defaultActive);
31451
31553
  const items = vue.ref({});
@@ -31519,8 +31621,42 @@
31519
31621
  activeIndex.value = val;
31520
31622
  }
31521
31623
  };
31624
+ const calcSliceIndex = () => {
31625
+ var _a, _b;
31626
+ const items2 = Array.from((_b = (_a = menu.value) == null ? void 0 : _a.childNodes) != null ? _b : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
31627
+ const moreItemWidth = 64;
31628
+ const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
31629
+ const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
31630
+ const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
31631
+ let calcWidth = 0;
31632
+ let sliceIndex2 = 0;
31633
+ items2.forEach((item, index) => {
31634
+ calcWidth += item.offsetWidth || 0;
31635
+ if (calcWidth <= menuWidth - moreItemWidth) {
31636
+ sliceIndex2 = index + 1;
31637
+ }
31638
+ });
31639
+ return sliceIndex2 === items2.length ? -1 : sliceIndex2;
31640
+ };
31641
+ const debounce = (fn, wait = 33.34) => {
31642
+ let timmer;
31643
+ return () => {
31644
+ timmer && clearTimeout(timmer);
31645
+ timmer = setTimeout(() => {
31646
+ fn();
31647
+ }, wait);
31648
+ };
31649
+ };
31650
+ let isFirstTimeRender = true;
31522
31651
  const handleResize = () => {
31523
- vue.nextTick(() => instance.proxy.$forceUpdate());
31652
+ const callback = () => {
31653
+ sliceIndex.value = -1;
31654
+ vue.nextTick(() => {
31655
+ sliceIndex.value = calcSliceIndex();
31656
+ });
31657
+ };
31658
+ isFirstTimeRender ? callback() : debounce(callback)();
31659
+ isFirstTimeRender = false;
31524
31660
  };
31525
31661
  vue.watch(() => props.defaultActive, (currentActive) => {
31526
31662
  if (!items.value[currentActive]) {
@@ -31605,26 +31741,13 @@
31605
31741
  return result;
31606
31742
  };
31607
31743
  return () => {
31608
- var _a, _b, _c, _d;
31744
+ var _a, _b;
31609
31745
  let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
31610
31746
  const vShowMore = [];
31611
31747
  if (props.mode === "horizontal" && menu.value) {
31612
- const items2 = Array.from((_d = (_c = menu.value) == null ? void 0 : _c.childNodes) != null ? _d : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
31613
31748
  const originalSlot = flattedChildren(slot);
31614
- const moreItemWidth = 64;
31615
- const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
31616
- const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
31617
- const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
31618
- let calcWidth = 0;
31619
- let sliceIndex = 0;
31620
- items2.forEach((item, index) => {
31621
- calcWidth += item.offsetWidth || 0;
31622
- if (calcWidth <= menuWidth - moreItemWidth) {
31623
- sliceIndex = index + 1;
31624
- }
31625
- });
31626
- const slotDefault = originalSlot.slice(0, sliceIndex);
31627
- const slotMore = originalSlot.slice(sliceIndex);
31749
+ const slotDefault = sliceIndex.value === -1 ? originalSlot : originalSlot.slice(0, sliceIndex.value);
31750
+ const slotMore = sliceIndex.value === -1 ? [] : originalSlot.slice(sliceIndex.value);
31628
31751
  if ((slotMore == null ? void 0 : slotMore.length) && props.ellipsis) {
31629
31752
  slot = slotDefault;
31630
31753
  vShowMore.push(vue.h(SubMenu, {
@@ -31726,7 +31849,7 @@
31726
31849
  };
31727
31850
  }
31728
31851
  });
31729
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31852
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31730
31853
  const _component_el_tooltip = vue.resolveComponent("el-tooltip");
31731
31854
  return vue.openBlock(), vue.createElementBlock("li", {
31732
31855
  class: vue.normalizeClass([
@@ -31762,7 +31885,7 @@
31762
31885
  ], 64))
31763
31886
  ], 2);
31764
31887
  }
31765
- var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$g], ["__file", "menu-item.vue"]]);
31888
+ var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$f], ["__file", "menu-item.vue"]]);
31766
31889
 
31767
31890
  const menuItemGroupProps = {
31768
31891
  title: String
@@ -31779,7 +31902,7 @@
31779
31902
  };
31780
31903
  }
31781
31904
  });
31782
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31905
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
31783
31906
  return vue.openBlock(), vue.createElementBlock("li", {
31784
31907
  class: vue.normalizeClass(_ctx.ns.b())
31785
31908
  }, [
@@ -31795,7 +31918,7 @@
31795
31918
  ])
31796
31919
  ], 2);
31797
31920
  }
31798
- var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$f], ["__file", "menu-item-group.vue"]]);
31921
+ var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$e], ["__file", "menu-item-group.vue"]]);
31799
31922
 
31800
31923
  const ElMenu = withInstall(Menu, {
31801
31924
  MenuItem,
@@ -31821,55 +31944,96 @@
31821
31944
  back: () => true
31822
31945
  };
31823
31946
 
31824
- const __default__$A = {
31947
+ const _hoisted_1$q = ["aria-label"];
31948
+ const __default__$B = {
31825
31949
  name: "ElPageHeader"
31826
31950
  };
31827
31951
  const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
31828
- ...__default__$A,
31952
+ ...__default__$B,
31829
31953
  props: pageHeaderProps,
31830
31954
  emits: pageHeaderEmits,
31831
31955
  setup(__props, { emit }) {
31956
+ const slots = vue.useSlots();
31832
31957
  const { t } = useLocale();
31833
31958
  const ns = useNamespace("page-header");
31959
+ const kls = vue.computed(() => {
31960
+ return [
31961
+ ns.b(),
31962
+ {
31963
+ [ns.m("has-breadcrumb")]: !!slots.breadcrumb,
31964
+ [ns.m("has-extra")]: !!slots.extra,
31965
+ [ns.is("contentful")]: !!slots.default
31966
+ }
31967
+ ];
31968
+ });
31834
31969
  function handleClick() {
31835
31970
  emit("back");
31836
31971
  }
31837
31972
  return (_ctx, _cache) => {
31838
31973
  return vue.openBlock(), vue.createElementBlock("div", {
31839
- class: vue.normalizeClass(vue.unref(ns).b())
31974
+ class: vue.normalizeClass(vue.unref(kls))
31840
31975
  }, [
31841
31976
  vue.createElementVNode("div", {
31842
- class: vue.normalizeClass(vue.unref(ns).e("left")),
31843
- onClick: handleClick
31977
+ class: vue.normalizeClass(vue.unref(ns).e("breadcrumb"))
31978
+ }, [
31979
+ vue.renderSlot(_ctx.$slots, "breadcrumb")
31980
+ ], 2),
31981
+ vue.createElementVNode("div", {
31982
+ class: vue.normalizeClass(vue.unref(ns).e("header"))
31844
31983
  }, [
31845
- _ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", {
31846
- key: 0,
31847
- class: vue.normalizeClass(vue.unref(ns).e("icon"))
31848
- }, [
31849
- vue.renderSlot(_ctx.$slots, "icon", {}, () => [
31850
- _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 0 }, {
31851
- default: vue.withCtx(() => [
31852
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
31853
- ]),
31854
- _: 1
31855
- })) : vue.createCommentVNode("v-if", true)
31856
- ])
31857
- ], 2)) : vue.createCommentVNode("v-if", true),
31858
31984
  vue.createElementVNode("div", {
31859
- class: vue.normalizeClass(vue.unref(ns).e("title"))
31985
+ class: vue.normalizeClass(vue.unref(ns).e("left"))
31860
31986
  }, [
31861
- vue.renderSlot(_ctx.$slots, "title", {}, () => [
31862
- vue.createTextVNode(vue.toDisplayString(_ctx.title || vue.unref(t)("el.pageHeader.title")), 1)
31863
- ])
31864
- ], 2)
31987
+ vue.createElementVNode("div", {
31988
+ class: vue.normalizeClass(vue.unref(ns).e("back")),
31989
+ role: "button",
31990
+ tabindex: "0",
31991
+ onClick: handleClick
31992
+ }, [
31993
+ _ctx.icon || _ctx.$slots.icon ? (vue.openBlock(), vue.createElementBlock("div", {
31994
+ key: 0,
31995
+ "aria-label": _ctx.title || vue.unref(t)("el.pageHeader.title"),
31996
+ class: vue.normalizeClass(vue.unref(ns).e("icon"))
31997
+ }, [
31998
+ vue.renderSlot(_ctx.$slots, "icon", {}, () => [
31999
+ _ctx.icon ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 0 }, {
32000
+ default: vue.withCtx(() => [
32001
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.icon)))
32002
+ ]),
32003
+ _: 1
32004
+ })) : vue.createCommentVNode("v-if", true)
32005
+ ])
32006
+ ], 10, _hoisted_1$q)) : vue.createCommentVNode("v-if", true),
32007
+ vue.createElementVNode("div", {
32008
+ class: vue.normalizeClass(vue.unref(ns).e("title"))
32009
+ }, [
32010
+ vue.renderSlot(_ctx.$slots, "title", {}, () => [
32011
+ vue.createTextVNode(vue.toDisplayString(_ctx.title || vue.unref(t)("el.pageHeader.title")), 1)
32012
+ ])
32013
+ ], 2)
32014
+ ], 2),
32015
+ vue.createVNode(vue.unref(ElDivider), { direction: "vertical" }),
32016
+ vue.createElementVNode("div", {
32017
+ class: vue.normalizeClass(vue.unref(ns).e("content"))
32018
+ }, [
32019
+ vue.renderSlot(_ctx.$slots, "content", {}, () => [
32020
+ vue.createTextVNode(vue.toDisplayString(_ctx.content), 1)
32021
+ ])
32022
+ ], 2)
32023
+ ], 2),
32024
+ _ctx.$slots.extra ? (vue.openBlock(), vue.createElementBlock("div", {
32025
+ key: 0,
32026
+ class: vue.normalizeClass(vue.unref(ns).e("extra"))
32027
+ }, [
32028
+ vue.renderSlot(_ctx.$slots, "extra")
32029
+ ], 2)) : vue.createCommentVNode("v-if", true)
31865
32030
  ], 2),
31866
- vue.createElementVNode("div", {
31867
- class: vue.normalizeClass(vue.unref(ns).e("content"))
32031
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("div", {
32032
+ key: 0,
32033
+ class: vue.normalizeClass(vue.unref(ns).e("main"))
31868
32034
  }, [
31869
- vue.renderSlot(_ctx.$slots, "content", {}, () => [
31870
- vue.createTextVNode(vue.toDisplayString(_ctx.content), 1)
31871
- ])
31872
- ], 2)
32035
+ vue.renderSlot(_ctx.$slots, "default")
32036
+ ], 2)) : vue.createCommentVNode("v-if", true)
31873
32037
  ], 2);
31874
32038
  };
31875
32039
  }
@@ -31886,6 +32050,9 @@
31886
32050
  },
31887
32051
  prevText: {
31888
32052
  type: String
32053
+ },
32054
+ prevIcon: {
32055
+ type: iconPropType
31889
32056
  }
31890
32057
  });
31891
32058
  const paginationPrevEmits = {
@@ -31894,11 +32061,11 @@
31894
32061
 
31895
32062
  const _hoisted_1$p = ["disabled", "aria-disabled"];
31896
32063
  const _hoisted_2$h = { key: 0 };
31897
- const __default__$z = {
32064
+ const __default__$A = {
31898
32065
  name: "ElPaginationPrev"
31899
32066
  };
31900
32067
  const _sfc_main$Q = /* @__PURE__ */ vue.defineComponent({
31901
- ...__default__$z,
32068
+ ...__default__$A,
31902
32069
  props: paginationPrevProps,
31903
32070
  emits: paginationPrevEmits,
31904
32071
  setup(__props) {
@@ -31914,7 +32081,7 @@
31914
32081
  }, [
31915
32082
  _ctx.prevText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$h, vue.toDisplayString(_ctx.prevText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
31916
32083
  default: vue.withCtx(() => [
31917
- vue.createVNode(vue.unref(arrow_left_default))
32084
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.prevIcon)))
31918
32085
  ]),
31919
32086
  _: 1
31920
32087
  }))
@@ -31936,16 +32103,19 @@
31936
32103
  },
31937
32104
  nextText: {
31938
32105
  type: String
32106
+ },
32107
+ nextIcon: {
32108
+ type: iconPropType
31939
32109
  }
31940
32110
  });
31941
32111
 
31942
32112
  const _hoisted_1$o = ["disabled", "aria-disabled"];
31943
32113
  const _hoisted_2$g = { key: 0 };
31944
- const __default__$y = {
32114
+ const __default__$z = {
31945
32115
  name: "ElPaginationNext"
31946
32116
  };
31947
32117
  const _sfc_main$P = /* @__PURE__ */ vue.defineComponent({
31948
- ...__default__$y,
32118
+ ...__default__$z,
31949
32119
  props: paginationNextProps,
31950
32120
  emits: ["click"],
31951
32121
  setup(__props) {
@@ -31961,7 +32131,7 @@
31961
32131
  }, [
31962
32132
  _ctx.nextText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2$g, vue.toDisplayString(_ctx.nextText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), { key: 1 }, {
31963
32133
  default: vue.withCtx(() => [
31964
- vue.createVNode(vue.unref(arrow_right_default))
32134
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.nextIcon)))
31965
32135
  ]),
31966
32136
  _: 1
31967
32137
  }))
@@ -32011,7 +32181,7 @@
32011
32181
  } else {
32012
32182
  const valueKey = select.props.valueKey;
32013
32183
  return arr && arr.some((item) => {
32014
- return get(item, valueKey) === get(target, valueKey);
32184
+ return vue.toRaw(get(item, valueKey)) === get(target, valueKey);
32015
32185
  });
32016
32186
  }
32017
32187
  };
@@ -32124,7 +32294,7 @@
32124
32294
  };
32125
32295
  }
32126
32296
  });
32127
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32297
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32128
32298
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("li", {
32129
32299
  class: vue.normalizeClass([
32130
32300
  _ctx.ns.be("dropdown", "item"),
@@ -32144,7 +32314,7 @@
32144
32314
  [vue.vShow, _ctx.visible]
32145
32315
  ]);
32146
32316
  }
32147
- var Option = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$e], ["__file", "option.vue"]]);
32317
+ var Option = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$d], ["__file", "option.vue"]]);
32148
32318
 
32149
32319
  const _sfc_main$N = vue.defineComponent({
32150
32320
  name: "ElSelectDropdown",
@@ -32173,7 +32343,7 @@
32173
32343
  };
32174
32344
  }
32175
32345
  });
32176
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32346
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32177
32347
  return vue.openBlock(), vue.createElementBlock("div", {
32178
32348
  class: vue.normalizeClass([_ctx.ns.b("dropdown"), _ctx.ns.is("multiple", _ctx.isMultiple), _ctx.popperClass]),
32179
32349
  style: vue.normalizeStyle({ [_ctx.isFitInputWidth ? "width" : "minWidth"]: _ctx.minWidth })
@@ -32181,7 +32351,7 @@
32181
32351
  vue.renderSlot(_ctx.$slots, "default")
32182
32352
  ], 6);
32183
32353
  }
32184
- var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$d], ["__file", "select-dropdown.vue"]]);
32354
+ var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$c], ["__file", "select-dropdown.vue"]]);
32185
32355
 
32186
32356
  function useSelectStates(props) {
32187
32357
  const { t } = useLocale();
@@ -32223,10 +32393,9 @@
32223
32393
  const hoverOption = vue.ref(-1);
32224
32394
  const queryChange = vue.shallowRef({ query: "" });
32225
32395
  const groupQueryChange = vue.shallowRef("");
32226
- const elForm = vue.inject(formContextKey, {});
32227
- const elFormItem = vue.inject(formItemContextKey, {});
32396
+ const { form, formItem } = useFormItem();
32228
32397
  const readonly = vue.computed(() => !props.filterable || props.multiple || !states.visible);
32229
- const selectDisabled = vue.computed(() => props.disabled || elForm.disabled);
32398
+ const selectDisabled = vue.computed(() => props.disabled || (form == null ? void 0 : form.disabled));
32230
32399
  const showClose = vue.computed(() => {
32231
32400
  const hasValue = props.multiple ? Array.isArray(props.modelValue) && props.modelValue.length > 0 : props.modelValue !== void 0 && props.modelValue !== null && props.modelValue !== "";
32232
32401
  const criteria = props.clearable && !selectDisabled.value && states.inputHovering && hasValue;
@@ -32270,7 +32439,7 @@
32270
32439
  states.visible = val;
32271
32440
  }
32272
32441
  });
32273
- vue.watch([() => selectDisabled.value, () => selectSize.value, () => elForm.size], () => {
32442
+ vue.watch([() => selectDisabled.value, () => selectSize.value, () => form == null ? void 0 : form.size], () => {
32274
32443
  vue.nextTick(() => {
32275
32444
  resetInputHeight();
32276
32445
  });
@@ -32279,7 +32448,6 @@
32279
32448
  states.cachedPlaceHolder = states.currentPlaceholder = val;
32280
32449
  });
32281
32450
  vue.watch(() => props.modelValue, (val, oldVal) => {
32282
- var _a;
32283
32451
  if (props.multiple) {
32284
32452
  resetInputHeight();
32285
32453
  if (val && val.length > 0 || input.value && states.query !== "") {
@@ -32297,7 +32465,7 @@
32297
32465
  states.inputLength = 20;
32298
32466
  }
32299
32467
  if (!isEqual$1(val, oldVal) && props.validateEvent) {
32300
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
32468
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
32301
32469
  }
32302
32470
  }, {
32303
32471
  flush: "post",
@@ -32390,7 +32558,7 @@
32390
32558
  return;
32391
32559
  const input2 = reference.value.$el.querySelector("input");
32392
32560
  const _tags = tags.value;
32393
- const sizeInMap = getComponentSize(selectSize.value || elForm.size);
32561
+ const sizeInMap = getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
32394
32562
  input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`;
32395
32563
  states.tagInMultiLine = Number.parseFloat(input2.style.height) >= sizeInMap;
32396
32564
  if (states.visible && emptyText.value !== false) {
@@ -32627,7 +32795,7 @@
32627
32795
  const valueKey = props.valueKey;
32628
32796
  let index = -1;
32629
32797
  arr.some((item, i) => {
32630
- if (get(item, valueKey) === get(value, valueKey)) {
32798
+ if (vue.toRaw(get(item, valueKey)) === get(value, valueKey)) {
32631
32799
  index = i;
32632
32800
  return true;
32633
32801
  }
@@ -33160,7 +33328,7 @@
33160
33328
  const _hoisted_1$n = { class: "select-trigger" };
33161
33329
  const _hoisted_2$f = ["disabled", "autocomplete"];
33162
33330
  const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
33163
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33331
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33164
33332
  const _component_el_tag = vue.resolveComponent("el-tag");
33165
33333
  const _component_el_tooltip = vue.resolveComponent("el-tooltip");
33166
33334
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -33461,7 +33629,7 @@
33461
33629
  [_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]
33462
33630
  ]);
33463
33631
  }
33464
- var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$c], ["__file", "select.vue"]]);
33632
+ var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$b], ["__file", "select.vue"]]);
33465
33633
 
33466
33634
  const _sfc_main$L = vue.defineComponent({
33467
33635
  name: "ElOptionGroup",
@@ -33509,7 +33677,7 @@
33509
33677
  };
33510
33678
  }
33511
33679
  });
33512
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33680
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
33513
33681
  return vue.withDirectives((vue.openBlock(), vue.createElementBlock("ul", {
33514
33682
  class: vue.normalizeClass(_ctx.ns.be("group", "wrap"))
33515
33683
  }, [
@@ -33527,7 +33695,7 @@
33527
33695
  [vue.vShow, _ctx.visible]
33528
33696
  ]);
33529
33697
  }
33530
- var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$b], ["__file", "option-group.vue"]]);
33698
+ var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$a], ["__file", "option-group.vue"]]);
33531
33699
 
33532
33700
  const ElSelect = withInstall(Select$1, {
33533
33701
  Option,
@@ -33557,11 +33725,11 @@
33557
33725
  }
33558
33726
  });
33559
33727
 
33560
- const __default__$x = {
33728
+ const __default__$y = {
33561
33729
  name: "ElPaginationSizes"
33562
33730
  };
33563
33731
  const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
33564
- ...__default__$x,
33732
+ ...__default__$y,
33565
33733
  props: paginationSizesProps,
33566
33734
  emits: ["page-size-change"],
33567
33735
  setup(__props, { emit }) {
@@ -33618,11 +33786,11 @@
33618
33786
  var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
33619
33787
 
33620
33788
  const _hoisted_1$m = ["disabled"];
33621
- const __default__$w = {
33789
+ const __default__$x = {
33622
33790
  name: "ElPaginationJumper"
33623
33791
  };
33624
33792
  const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
33625
- ...__default__$w,
33793
+ ...__default__$x,
33626
33794
  setup(__props) {
33627
33795
  const { t } = useLocale();
33628
33796
  const ns = useNamespace("pagination");
@@ -33672,11 +33840,11 @@
33672
33840
  });
33673
33841
 
33674
33842
  const _hoisted_1$l = ["disabled"];
33675
- const __default__$v = {
33843
+ const __default__$w = {
33676
33844
  name: "ElPaginationTotal"
33677
33845
  };
33678
33846
  const _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
33679
- ...__default__$v,
33847
+ ...__default__$w,
33680
33848
  props: paginationTotalProps,
33681
33849
  setup(__props) {
33682
33850
  const { t } = useLocale();
@@ -33716,11 +33884,11 @@
33716
33884
  const _hoisted_4$5 = ["aria-current", "tabindex"];
33717
33885
  const _hoisted_5$4 = ["tabindex"];
33718
33886
  const _hoisted_6$1 = ["aria-current", "tabindex"];
33719
- const __default__$u = {
33887
+ const __default__$v = {
33720
33888
  name: "ElPaginationPager"
33721
33889
  };
33722
33890
  const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
33723
- ...__default__$u,
33891
+ ...__default__$v,
33724
33892
  props: paginationPagerProps,
33725
33893
  emits: ["change"],
33726
33894
  setup(__props, { emit }) {
@@ -33943,10 +34111,18 @@
33943
34111
  type: String,
33944
34112
  default: ""
33945
34113
  },
34114
+ prevIcon: {
34115
+ type: iconPropType,
34116
+ default: () => arrow_left_default
34117
+ },
33946
34118
  nextText: {
33947
34119
  type: String,
33948
34120
  default: ""
33949
34121
  },
34122
+ nextIcon: {
34123
+ type: iconPropType,
34124
+ default: () => arrow_right_default
34125
+ },
33950
34126
  small: Boolean,
33951
34127
  background: Boolean,
33952
34128
  disabled: Boolean,
@@ -34094,6 +34270,7 @@
34094
34270
  disabled: props.disabled,
34095
34271
  currentPage: currentPageBridge.value,
34096
34272
  prevText: props.prevText,
34273
+ prevIcon: props.prevIcon,
34097
34274
  onClick: prev
34098
34275
  }),
34099
34276
  jumper: vue.h(Jumper),
@@ -34109,6 +34286,7 @@
34109
34286
  currentPage: currentPageBridge.value,
34110
34287
  pageCount: pageCountBridge.value,
34111
34288
  nextText: props.nextText,
34289
+ nextIcon: props.nextIcon,
34112
34290
  onClick: next
34113
34291
  }),
34114
34292
  sizes: vue.h(Sizes, {
@@ -34195,14 +34373,18 @@
34195
34373
  type: definePropType(Function)
34196
34374
  },
34197
34375
  teleported: useTooltipContentProps.teleported,
34198
- persistent: useTooltipContentProps.persistent
34376
+ persistent: useTooltipContentProps.persistent,
34377
+ width: {
34378
+ type: [String, Number],
34379
+ default: 150
34380
+ }
34199
34381
  });
34200
34382
 
34201
- const __default__$t = {
34383
+ const __default__$u = {
34202
34384
  name: "ElPopconfirm"
34203
34385
  };
34204
34386
  const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
34205
- ...__default__$t,
34387
+ ...__default__$u,
34206
34388
  props: popconfirmProps,
34207
34389
  setup(__props) {
34208
34390
  const props = __props;
@@ -34213,6 +34395,11 @@
34213
34395
  var _a, _b;
34214
34396
  (_b = (_a = tooltipRef.value) == null ? void 0 : _a.onClose) == null ? void 0 : _b.call(_a);
34215
34397
  };
34398
+ const style = vue.computed(() => {
34399
+ return {
34400
+ width: addUnit(props.width)
34401
+ };
34402
+ });
34216
34403
  const confirm = (e) => {
34217
34404
  var _a;
34218
34405
  (_a = props.onConfirm) == null ? void 0 : _a.call(props, e);
@@ -34226,17 +34413,19 @@
34226
34413
  const finalConfirmButtonText = vue.computed(() => props.confirmButtonText || t("el.popconfirm.confirmButtonText"));
34227
34414
  const finalCancelButtonText = vue.computed(() => props.cancelButtonText || t("el.popconfirm.cancelButtonText"));
34228
34415
  return (_ctx, _cache) => {
34229
- return vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), {
34416
+ return vue.openBlock(), vue.createBlock(vue.unref(ElTooltip), vue.mergeProps({
34230
34417
  ref_key: "tooltipRef",
34231
34418
  ref: tooltipRef,
34232
34419
  trigger: "click",
34233
- effect: "light",
34420
+ effect: "light"
34421
+ }, _ctx.$attrs, {
34234
34422
  "popper-class": `${vue.unref(ns).namespace.value}-popover`,
34423
+ "popper-style": vue.unref(style),
34235
34424
  teleported: _ctx.teleported,
34236
34425
  "fallback-placements": ["bottom", "top", "right", "left"],
34237
34426
  "hide-after": _ctx.hideAfter,
34238
34427
  persistent: _ctx.persistent
34239
- }, {
34428
+ }), {
34240
34429
  content: vue.withCtx(() => [
34241
34430
  vue.createElementVNode("div", {
34242
34431
  class: vue.normalizeClass(vue.unref(ns).b())
@@ -34288,7 +34477,7 @@
34288
34477
  _ctx.$slots.reference ? vue.renderSlot(_ctx.$slots, "reference", { key: 0 }) : vue.createCommentVNode("v-if", true)
34289
34478
  ]),
34290
34479
  _: 3
34291
- }, 8, ["popper-class", "teleported", "hide-after", "persistent"]);
34480
+ }, 16, ["popper-class", "popper-style", "teleported", "hide-after", "persistent"]);
34292
34481
  };
34293
34482
  }
34294
34483
  });
@@ -34357,11 +34546,11 @@
34357
34546
  "after-leave": () => true
34358
34547
  };
34359
34548
 
34360
- const __default__$s = {
34549
+ const __default__$t = {
34361
34550
  name: "ElPopover"
34362
34551
  };
34363
34552
  const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
34364
- ...__default__$s,
34553
+ ...__default__$t,
34365
34554
  props: popoverProps,
34366
34555
  emits: popoverEmits,
34367
34556
  setup(__props, { expose, emit }) {
@@ -34388,7 +34577,7 @@
34388
34577
  return [ns.b(), props.popperClass, { [ns.m("plain")]: !!props.content }];
34389
34578
  });
34390
34579
  const gpuAcceleration = vue.computed(() => {
34391
- return props.transition === "el-fade-in-linear";
34580
+ return props.transition === `${ns.namespace.value}-fade-in-linear`;
34392
34581
  });
34393
34582
  const hide = () => {
34394
34583
  var _a;
@@ -34548,11 +34737,11 @@
34548
34737
  const _hoisted_3$6 = ["d", "stroke", "stroke-width"];
34549
34738
  const _hoisted_4$4 = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"];
34550
34739
  const _hoisted_5$3 = { key: 0 };
34551
- const __default__$r = {
34740
+ const __default__$s = {
34552
34741
  name: "ElProgress"
34553
34742
  };
34554
34743
  const _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
34555
- ...__default__$r,
34744
+ ...__default__$s,
34556
34745
  props: progressProps,
34557
34746
  setup(__props) {
34558
34747
  const props = __props;
@@ -34832,11 +35021,11 @@
34832
35021
 
34833
35022
  const _hoisted_1$i = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
34834
35023
  const _hoisted_2$c = ["onMousemove", "onClick"];
34835
- const __default__$q = {
35024
+ const __default__$r = {
34836
35025
  name: "ElRate"
34837
35026
  };
34838
35027
  const _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
34839
- ...__default__$q,
35028
+ ...__default__$r,
34840
35029
  props: rateProps,
34841
35030
  emits: rateEmits,
34842
35031
  setup(__props, { expose, emit }) {
@@ -35097,11 +35286,11 @@
35097
35286
  }
35098
35287
  });
35099
35288
 
35100
- const __default__$p = {
35289
+ const __default__$q = {
35101
35290
  name: "ElResult"
35102
35291
  };
35103
35292
  const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
35104
- ...__default__$p,
35293
+ ...__default__$q,
35105
35294
  props: resultProps,
35106
35295
  setup(__props) {
35107
35296
  const props = __props;
@@ -35189,11 +35378,11 @@
35189
35378
  }
35190
35379
  });
35191
35380
 
35192
- const __default__$o = {
35381
+ const __default__$p = {
35193
35382
  name: "ElRow"
35194
35383
  };
35195
35384
  const _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
35196
- ...__default__$o,
35385
+ ...__default__$p,
35197
35386
  props: rowProps,
35198
35387
  setup(__props) {
35199
35388
  const props = __props;
@@ -35894,11 +36083,11 @@
35894
36083
  if (layout === HORIZONTAL) {
35895
36084
  if (direction === RTL) {
35896
36085
  switch (getRTLOffsetType()) {
35897
- case "negative": {
36086
+ case RTL_OFFSET_NAG: {
35898
36087
  windowElement.scrollLeft = -scrollOffset;
35899
36088
  break;
35900
36089
  }
35901
- case "positive-ascending": {
36090
+ case RTL_OFFSET_POS_ASC: {
35902
36091
  windowElement.scrollLeft = scrollOffset;
35903
36092
  break;
35904
36093
  }
@@ -37045,7 +37234,7 @@
37045
37234
  };
37046
37235
  }
37047
37236
  });
37048
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
37237
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37049
37238
  return _ctx.item.isTitle ? (vue.openBlock(), vue.createElementBlock("div", {
37050
37239
  key: 0,
37051
37240
  class: vue.normalizeClass(_ctx.ns.be("group", "title")),
@@ -37061,7 +37250,7 @@
37061
37250
  }, null, 6)
37062
37251
  ], 6));
37063
37252
  }
37064
- var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$a], ["__file", "group-item.vue"]]);
37253
+ var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$9], ["__file", "group-item.vue"]]);
37065
37254
 
37066
37255
  function useOption(props, { emit }) {
37067
37256
  return {
@@ -37196,7 +37385,7 @@
37196
37385
  }
37197
37386
  });
37198
37387
  const _hoisted_1$h = ["aria-selected"];
37199
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37388
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
37200
37389
  return vue.openBlock(), vue.createElementBlock("li", {
37201
37390
  "aria-selected": _ctx.selected,
37202
37391
  style: vue.normalizeStyle(_ctx.style),
@@ -37219,7 +37408,7 @@
37219
37408
  ])
37220
37409
  ], 46, _hoisted_1$h);
37221
37410
  }
37222
- var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$9], ["__file", "option-item.vue"]]);
37411
+ var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$8], ["__file", "option-item.vue"]]);
37223
37412
 
37224
37413
  const selectV2InjectionKey = "ElSelectV2Injection";
37225
37414
 
@@ -38226,7 +38415,7 @@
38226
38415
  const _hoisted_3$5 = ["textContent"];
38227
38416
  const _hoisted_4$3 = ["id", "aria-labelledby", "aria-expanded", "autocomplete", "disabled", "name", "readonly", "unselectable"];
38228
38417
  const _hoisted_5$2 = ["textContent"];
38229
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
38418
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
38230
38419
  const _component_el_tag = vue.resolveComponent("el-tag");
38231
38420
  const _component_el_tooltip = vue.resolveComponent("el-tooltip");
38232
38421
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -38567,7 +38756,7 @@
38567
38756
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
38568
38757
  ]);
38569
38758
  }
38570
- var Select = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$8], ["__file", "select.vue"]]);
38759
+ var Select = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$7], ["__file", "select.vue"]]);
38571
38760
 
38572
38761
  Select.install = (app) => {
38573
38762
  app.component(Select.name, Select);
@@ -38615,11 +38804,11 @@
38615
38804
  }
38616
38805
  });
38617
38806
 
38618
- const __default__$n = {
38807
+ const __default__$o = {
38619
38808
  name: "ElSkeletonItem"
38620
38809
  };
38621
38810
  const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
38622
- ...__default__$n,
38811
+ ...__default__$o,
38623
38812
  props: skeletonItemProps,
38624
38813
  setup(__props) {
38625
38814
  const ns = useNamespace("skeleton");
@@ -38634,11 +38823,11 @@
38634
38823
  });
38635
38824
  var SkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "skeleton-item.vue"]]);
38636
38825
 
38637
- const __default__$m = {
38826
+ const __default__$n = {
38638
38827
  name: "ElSkeleton"
38639
38828
  };
38640
38829
  const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
38641
- ...__default__$m,
38830
+ ...__default__$n,
38642
38831
  props: skeletonProps,
38643
38832
  setup(__props, { expose }) {
38644
38833
  const props = __props;
@@ -38803,7 +38992,7 @@
38803
38992
  return [];
38804
38993
  }
38805
38994
  const marksKeys = Object.keys(props.marks);
38806
- return marksKeys.map(parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
38995
+ return marksKeys.map(Number.parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
38807
38996
  point,
38808
38997
  position: (point - props.min) * 100 / (props.max - props.min),
38809
38998
  mark: props.marks[point]
@@ -39288,11 +39477,11 @@
39288
39477
  };
39289
39478
 
39290
39479
  const _hoisted_1$f = ["tabindex"];
39291
- const __default__$l = {
39480
+ const __default__$m = {
39292
39481
  name: "ElSliderButton"
39293
39482
  };
39294
39483
  const _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
39295
- ...__default__$l,
39484
+ ...__default__$m,
39296
39485
  props: sliderButtonProps,
39297
39486
  emits: sliderButtonEmits,
39298
39487
  setup(__props, { expose, emit }) {
@@ -39398,11 +39587,11 @@
39398
39587
 
39399
39588
  const _hoisted_1$e = ["id", "role", "aria-label", "aria-labelledby"];
39400
39589
  const _hoisted_2$a = { key: 1 };
39401
- const __default__$k = {
39590
+ const __default__$l = {
39402
39591
  name: "ElSlider"
39403
39592
  };
39404
39593
  const _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
39405
- ...__default__$k,
39594
+ ...__default__$l,
39406
39595
  props: sliderProps,
39407
39596
  emits: sliderEmits,
39408
39597
  setup(__props, { expose, emit }) {
@@ -39842,11 +40031,11 @@
39842
40031
  [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
39843
40032
  };
39844
40033
 
39845
- const __default__$j = {
40034
+ const __default__$k = {
39846
40035
  name: "ElSteps"
39847
40036
  };
39848
40037
  const _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
39849
- ...__default__$j,
40038
+ ...__default__$k,
39850
40039
  props: stepsProps,
39851
40040
  emits: stepsEmits,
39852
40041
  setup(__props, { emit }) {
@@ -39892,11 +40081,11 @@
39892
40081
  }
39893
40082
  });
39894
40083
 
39895
- const __default__$i = {
40084
+ const __default__$j = {
39896
40085
  name: "ElStep"
39897
40086
  };
39898
40087
  const _sfc_main$s = vue.defineComponent({
39899
- ...__default__$i,
40088
+ ...__default__$j,
39900
40089
  props: stepProps,
39901
40090
  setup(__props) {
39902
40091
  const props = __props;
@@ -40169,11 +40358,11 @@
40169
40358
  const _hoisted_4$2 = ["aria-hidden"];
40170
40359
  const _hoisted_5$1 = ["aria-hidden"];
40171
40360
  const _hoisted_6 = ["aria-hidden"];
40172
- const __default__$h = {
40361
+ const __default__$i = {
40173
40362
  name: "ElSwitch"
40174
40363
  };
40175
40364
  const _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
40176
- ...__default__$h,
40365
+ ...__default__$i,
40177
40366
  props: switchProps,
40178
40367
  emits: switchEmits,
40179
40368
  setup(__props, { expose, emit }) {
@@ -40283,7 +40472,8 @@
40283
40472
  input.value.checked = checked.value;
40284
40473
  });
40285
40474
  expose({
40286
- focus
40475
+ focus,
40476
+ checked
40287
40477
  });
40288
40478
  return (_ctx, _cache) => {
40289
40479
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -40708,6 +40898,7 @@
40708
40898
  function showPopper() {
40709
40899
  popperInstance && popperInstance.update();
40710
40900
  }
40901
+ removePopper == null ? void 0 : removePopper();
40711
40902
  removePopper = () => {
40712
40903
  try {
40713
40904
  popperInstance && popperInstance.destroy();
@@ -42126,7 +42317,7 @@
42126
42317
  const _hoisted_1$c = { key: 0 };
42127
42318
  const _hoisted_2$8 = ["disabled"];
42128
42319
  const _hoisted_3$3 = ["label", "onClick"];
42129
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
42320
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
42130
42321
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
42131
42322
  const _component_el_checkbox_group = vue.resolveComponent("el-checkbox-group");
42132
42323
  const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
@@ -42239,7 +42430,7 @@
42239
42430
  _: 1
42240
42431
  }, 8, ["visible", "placement", "popper-class"]);
42241
42432
  }
42242
- var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$7], ["__file", "filter-panel.vue"]]);
42433
+ var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$6], ["__file", "filter-panel.vue"]]);
42243
42434
 
42244
42435
  function useLayoutObserver(root) {
42245
42436
  const instance = vue.getCurrentInstance();
@@ -42741,8 +42932,7 @@
42741
42932
  vue.h("div", {
42742
42933
  class: [
42743
42934
  "cell",
42744
- column.filteredValue && column.filteredValue.length > 0 ? "highlight" : "",
42745
- column.labelClassName
42935
+ column.filteredValue && column.filteredValue.length > 0 ? "highlight" : ""
42746
42936
  ]
42747
42937
  }, [
42748
42938
  column.renderHeader ? column.renderHeader({
@@ -42814,7 +43004,7 @@
42814
43004
  const handleMouseLeave = debounce(() => {
42815
43005
  props.store.commit("setHoverRow", null);
42816
43006
  }, 30);
42817
- const handleCellMouseEnter = (event, row) => {
43007
+ const handleCellMouseEnter = (event, row, tooltipEffect) => {
42818
43008
  var _a;
42819
43009
  const table = parent;
42820
43010
  const cell = getCell(event);
@@ -42839,7 +43029,7 @@
42839
43029
  createTablePopper(parent == null ? void 0 : parent.refs.tableWrapper, cell, cell.innerText || cell.textContent, {
42840
43030
  placement: "top",
42841
43031
  strategy: "fixed"
42842
- }, row.tooltipEffect);
43032
+ }, tooltipEffect);
42843
43033
  }
42844
43034
  };
42845
43035
  const handleCellMouseLeave = (event) => {
@@ -43058,7 +43248,7 @@
43058
43248
  key: `${patchKey}${baseKey}`,
43059
43249
  rowspan,
43060
43250
  colspan,
43061
- onMouseenter: ($event) => handleCellMouseEnter($event, { ...row, tooltipEffect }),
43251
+ onMouseenter: ($event) => handleCellMouseEnter($event, row, tooltipEffect),
43062
43252
  onMouseleave: handleCellMouseLeave
43063
43253
  }, [tdChildren]);
43064
43254
  }));
@@ -43089,7 +43279,7 @@
43089
43279
  }, [
43090
43280
  vue.h("td", {
43091
43281
  colspan: columns.length,
43092
- class: "el-table__cell el-table__expanded-cell"
43282
+ class: `${ns.e("cell")} ${ns.e("expanded-cell")}`
43093
43283
  }, [renderExpanded({ row, $index, store, expanded })])
43094
43284
  ])
43095
43285
  ]
@@ -43223,10 +43413,6 @@
43223
43413
  var _a;
43224
43414
  (_a = removePopper) == null ? void 0 : _a();
43225
43415
  });
43226
- vue.onUpdated(() => {
43227
- var _a;
43228
- (_a = removePopper) == null ? void 0 : _a();
43229
- });
43230
43416
  return {
43231
43417
  ns,
43232
43418
  onColumnsChange,
@@ -43556,7 +43742,7 @@
43556
43742
  layout.updateElsHeight();
43557
43743
  }
43558
43744
  layout.updateColumnsWidth();
43559
- requestAnimationFrame(syncPostion);
43745
+ requestAnimationFrame(syncPosition);
43560
43746
  };
43561
43747
  vue.onMounted(async () => {
43562
43748
  await vue.nextTick();
@@ -43599,7 +43785,7 @@
43599
43785
  const { tableWrapper } = table.refs;
43600
43786
  return !!(tableWrapper && tableWrapper.classList.contains(className));
43601
43787
  };
43602
- const syncPostion = function() {
43788
+ const syncPosition = function() {
43603
43789
  if (!table.refs.scrollBarRef)
43604
43790
  return;
43605
43791
  if (!layout.scrollX.value) {
@@ -43631,7 +43817,7 @@
43631
43817
  if (!table.refs.scrollBarRef)
43632
43818
  return;
43633
43819
  if (table.refs.scrollBarRef.wrap$) {
43634
- useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPostion, {
43820
+ useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPosition, {
43635
43821
  passive: true
43636
43822
  });
43637
43823
  }
@@ -43640,6 +43826,11 @@
43640
43826
  } else {
43641
43827
  useEventListener(window, "resize", resizeListener);
43642
43828
  }
43829
+ useResizeObserver(table.refs.bodyWrapper, () => {
43830
+ var _a, _b;
43831
+ resizeListener();
43832
+ (_b = (_a = table.refs) == null ? void 0 : _a.scrollBarRef) == null ? void 0 : _b.update();
43833
+ });
43643
43834
  };
43644
43835
  const resizeListener = () => {
43645
43836
  var _a, _b, _c;
@@ -43666,7 +43857,7 @@
43666
43857
  }
43667
43858
  tableScrollHeight.value = ((_b = table.refs.tableWrapper) == null ? void 0 : _b.scrollHeight) || 0;
43668
43859
  headerScrollHeight.value = (tableHeader == null ? void 0 : tableHeader.scrollHeight) || 0;
43669
- footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.scrollHeight) || 0;
43860
+ footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.offsetHeight) || 0;
43670
43861
  bodyScrollHeight.value = tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value;
43671
43862
  if (shouldUpdateLayout) {
43672
43863
  resizeState.value = {
@@ -43691,7 +43882,7 @@
43691
43882
  if (props.data && props.data.length)
43692
43883
  return null;
43693
43884
  let height = "100%";
43694
- if (bodyScrollHeight.value) {
43885
+ if (props.height && bodyScrollHeight.value) {
43695
43886
  height = `${bodyScrollHeight.value}px`;
43696
43887
  }
43697
43888
  const width = tableWidth.value;
@@ -43714,7 +43905,6 @@
43714
43905
  return {};
43715
43906
  });
43716
43907
  const scrollbarStyle = vue.computed(() => {
43717
- var _a, _b;
43718
43908
  if (props.height) {
43719
43909
  return {
43720
43910
  height: "100%"
@@ -43722,13 +43912,11 @@
43722
43912
  }
43723
43913
  if (props.maxHeight) {
43724
43914
  if (!Number.isNaN(Number(props.maxHeight))) {
43725
- const headerHeight = ((_a = table.refs.headerWrapper) == null ? void 0 : _a.scrollHeight) || 0;
43726
- const footerHeight = ((_b = table.refs.footerWrapper) == null ? void 0 : _b.scrollHeight) || 0;
43727
43915
  const maxHeight = props.maxHeight;
43728
43916
  const reachMaxHeight = tableScrollHeight.value >= Number(maxHeight);
43729
43917
  if (reachMaxHeight) {
43730
43918
  return {
43731
- maxHeight: `${tableScrollHeight.value - headerHeight - footerHeight}px`
43919
+ maxHeight: `${tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value}px`
43732
43920
  };
43733
43921
  }
43734
43922
  } else {
@@ -44021,7 +44209,7 @@
44021
44209
  ref: "hiddenColumns",
44022
44210
  class: "hidden-columns"
44023
44211
  };
44024
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
44212
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
44025
44213
  const _component_hColgroup = vue.resolveComponent("hColgroup");
44026
44214
  const _component_table_header = vue.resolveComponent("table-header");
44027
44215
  const _component_table_body = vue.resolveComponent("table-body");
@@ -44187,7 +44375,7 @@
44187
44375
  ])
44188
44376
  ], 46, _hoisted_1$b);
44189
44377
  }
44190
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$6], ["__file", "table.vue"]]);
44378
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$5], ["__file", "table.vue"]]);
44191
44379
 
44192
44380
  const defaultClassNames = {
44193
44381
  selection: "table-column--selection",
@@ -46868,11 +47056,11 @@
46868
47056
  }
46869
47057
  });
46870
47058
 
46871
- const __default__$g = {
47059
+ const __default__$h = {
46872
47060
  name: "ElTabBar"
46873
47061
  };
46874
47062
  const _sfc_main$o = /* @__PURE__ */ vue.defineComponent({
46875
- ...__default__$g,
47063
+ ...__default__$h,
46876
47064
  props: tabBarProps,
46877
47065
  setup(__props, { expose }) {
46878
47066
  const props = __props;
@@ -47355,11 +47543,11 @@
47355
47543
  });
47356
47544
 
47357
47545
  const _hoisted_1$a = ["id", "aria-hidden", "aria-labelledby"];
47358
- const __default__$f = {
47546
+ const __default__$g = {
47359
47547
  name: "ElTabPane"
47360
47548
  };
47361
47549
  const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
47362
- ...__default__$f,
47550
+ ...__default__$g,
47363
47551
  props: tabPaneProps,
47364
47552
  setup(__props) {
47365
47553
  const props = __props;
@@ -47526,11 +47714,11 @@
47526
47714
  return formatTime(next);
47527
47715
  };
47528
47716
 
47529
- const __default__$e = {
47717
+ const __default__$f = {
47530
47718
  name: "ElTimeSelect"
47531
47719
  };
47532
47720
  const _sfc_main$m = /* @__PURE__ */ vue.defineComponent({
47533
- ...__default__$e,
47721
+ ...__default__$f,
47534
47722
  props: timeSelectProps,
47535
47723
  emits: ["change", "blur", "focus", "update:modelValue"],
47536
47724
  setup(__props, { expose }) {
@@ -47694,11 +47882,11 @@
47694
47882
  }
47695
47883
  });
47696
47884
 
47697
- const __default__$d = {
47885
+ const __default__$e = {
47698
47886
  name: "ElTimelineItem"
47699
47887
  };
47700
47888
  const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
47701
- ...__default__$d,
47889
+ ...__default__$e,
47702
47890
  props: timelineItemProps,
47703
47891
  setup(__props) {
47704
47892
  const ns = useNamespace("timeline-item");
@@ -47897,11 +48085,11 @@
47897
48085
  }
47898
48086
  });
47899
48087
 
47900
- const __default__$c = {
48088
+ const __default__$d = {
47901
48089
  name: "ElTooltipV2Root"
47902
48090
  };
47903
48091
  const _sfc_main$k = /* @__PURE__ */ vue.defineComponent({
47904
- ...__default__$c,
48092
+ ...__default__$d,
47905
48093
  props: tooltipV2RootProps,
47906
48094
  setup(__props, { expose }) {
47907
48095
  const props = __props;
@@ -47970,11 +48158,11 @@
47970
48158
  });
47971
48159
  var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "root.vue"]]);
47972
48160
 
47973
- const __default__$b = {
48161
+ const __default__$c = {
47974
48162
  name: "ElTooltipV2Arrow"
47975
48163
  };
47976
48164
  const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
47977
- ...__default__$b,
48165
+ ...__default__$c,
47978
48166
  props: {
47979
48167
  ...tooltipV2ArrowProps,
47980
48168
  ...tooltipV2ArrowSpecialProps
@@ -48013,11 +48201,11 @@
48013
48201
  }
48014
48202
  });
48015
48203
 
48016
- const __default__$a = {
48204
+ const __default__$b = {
48017
48205
  name: "ElVisuallyHidden"
48018
48206
  };
48019
48207
  const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
48020
- ...__default__$a,
48208
+ ...__default__$b,
48021
48209
  props: visualHiddenProps,
48022
48210
  setup(__props) {
48023
48211
  const props = __props;
@@ -48048,11 +48236,11 @@
48048
48236
  var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "visual-hidden.vue"]]);
48049
48237
 
48050
48238
  const _hoisted_1$9 = ["data-side"];
48051
- const __default__$9 = {
48239
+ const __default__$a = {
48052
48240
  name: "ElTooltipV2Content"
48053
48241
  };
48054
48242
  const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
48055
- ...__default__$9,
48243
+ ...__default__$a,
48056
48244
  props: { ...tooltipV2ContentProps, ...tooltipV2CommonProps },
48057
48245
  setup(__props) {
48058
48246
  const props = __props;
@@ -48180,11 +48368,11 @@
48180
48368
  }
48181
48369
  });
48182
48370
 
48183
- const __default__$8 = {
48371
+ const __default__$9 = {
48184
48372
  name: "ElTooltipV2Trigger"
48185
48373
  };
48186
48374
  const _sfc_main$g = /* @__PURE__ */ vue.defineComponent({
48187
- ...__default__$8,
48375
+ ...__default__$9,
48188
48376
  props: {
48189
48377
  ...tooltipV2CommonProps,
48190
48378
  ...tooltipV2TriggerProps
@@ -48263,11 +48451,11 @@
48263
48451
  });
48264
48452
  var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "trigger.vue"]]);
48265
48453
 
48266
- const __default__$7 = {
48454
+ const __default__$8 = {
48267
48455
  name: "ElTooltipV2"
48268
48456
  };
48269
48457
  const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
48270
- ...__default__$7,
48458
+ ...__default__$8,
48271
48459
  props: tooltipV2Props,
48272
48460
  setup(__props) {
48273
48461
  const props = __props;
@@ -48584,11 +48772,11 @@
48584
48772
  };
48585
48773
  };
48586
48774
 
48587
- const __default__$6 = {
48775
+ const __default__$7 = {
48588
48776
  name: "ElTransferPanel"
48589
48777
  };
48590
48778
  const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
48591
- ...__default__$6,
48779
+ ...__default__$7,
48592
48780
  props: transferPanelProps,
48593
48781
  emits: transferPanelEmits,
48594
48782
  setup(__props, { expose, emit }) {
@@ -48701,11 +48889,11 @@
48701
48889
 
48702
48890
  const _hoisted_1$8 = { key: 0 };
48703
48891
  const _hoisted_2$6 = { key: 0 };
48704
- const __default__$5 = {
48892
+ const __default__$6 = {
48705
48893
  name: "ElTransfer"
48706
48894
  };
48707
48895
  const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
48708
- ...__default__$5,
48896
+ ...__default__$6,
48709
48897
  props: transferProps,
48710
48898
  emits: transferEmits,
48711
48899
  setup(__props, { expose, emit }) {
@@ -48880,7 +49068,7 @@
48880
49068
  return { all, none, allWithoutDisable, half: !all && !none };
48881
49069
  };
48882
49070
  const reInitChecked = function(node) {
48883
- if (node.childNodes.length === 0)
49071
+ if (node.childNodes.length === 0 || node.loading)
48884
49072
  return;
48885
49073
  const { all, none, half } = getChildState(node.childNodes);
48886
49074
  if (all) {
@@ -49263,10 +49451,10 @@
49263
49451
  if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {
49264
49452
  this.loading = true;
49265
49453
  const resolve = (children) => {
49266
- this.loaded = true;
49267
- this.loading = false;
49268
49454
  this.childNodes = [];
49269
49455
  this.doCreateChildren(children, defaultProps);
49456
+ this.loaded = true;
49457
+ this.loading = false;
49270
49458
  this.updateLeafState();
49271
49459
  if (callback) {
49272
49460
  callback.call(this, children);
@@ -49346,7 +49534,7 @@
49346
49534
  getNode(data) {
49347
49535
  if (data instanceof Node$1)
49348
49536
  return data;
49349
- const key = typeof data !== "object" ? data : getNodeKey(this.key, data);
49537
+ const key = isObject$1(data) ? getNodeKey(this.key, data) : data;
49350
49538
  return this.nodesMap[key] || null;
49351
49539
  }
49352
49540
  insertBefore(data, refData) {
@@ -49957,7 +50145,7 @@
49957
50145
  });
49958
50146
  const _hoisted_1$7 = ["aria-expanded", "aria-disabled", "aria-checked", "draggable", "data-key"];
49959
50147
  const _hoisted_2$5 = ["aria-expanded"];
49960
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
50148
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
49961
50149
  const _component_el_icon = vue.resolveComponent("el-icon");
49962
50150
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
49963
50151
  const _component_loading = vue.resolveComponent("loading");
@@ -50062,7 +50250,7 @@
50062
50250
  [vue.vShow, _ctx.node.visible]
50063
50251
  ]);
50064
50252
  }
50065
- var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$5], ["__file", "tree-node.vue"]]);
50253
+ var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$4], ["__file", "tree-node.vue"]]);
50066
50254
 
50067
50255
  function useKeydown({ el$ }, store) {
50068
50256
  const ns = useNamespace("tree");
@@ -50411,7 +50599,7 @@
50411
50599
  };
50412
50600
  }
50413
50601
  });
50414
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
50602
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
50415
50603
  var _a;
50416
50604
  const _component_el_tree_node = vue.resolveComponent("el-tree-node");
50417
50605
  return vue.openBlock(), vue.createElementBlock("div", {
@@ -50453,7 +50641,7 @@
50453
50641
  ])
50454
50642
  ], 2);
50455
50643
  }
50456
- var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$4], ["__file", "tree.vue"]]);
50644
+ var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$3], ["__file", "tree.vue"]]);
50457
50645
 
50458
50646
  Tree.install = (app) => {
50459
50647
  app.component(Tree.name, Tree);
@@ -51228,11 +51416,14 @@
51228
51416
  function toggleExpand(node) {
51229
51417
  const expandedKeys = expandedKeySet.value;
51230
51418
  if (expandedKeys.has(node.key)) {
51231
- collapse(node);
51419
+ collapseNode(node);
51232
51420
  } else {
51233
- expand(node);
51421
+ expandNode(node);
51234
51422
  }
51235
51423
  }
51424
+ function setExpandedKeys(keys) {
51425
+ expandedKeySet.value = new Set(keys);
51426
+ }
51236
51427
  function handleNodeClick(node, e) {
51237
51428
  emit(NODE_CLICK, node.data, node, e);
51238
51429
  handleCurrentChange(node);
@@ -51252,9 +51443,9 @@
51252
51443
  function handleNodeCheck(node, checked) {
51253
51444
  toggleCheckbox(node, checked);
51254
51445
  }
51255
- function expand(node) {
51446
+ function expandNode(node) {
51256
51447
  const keySet = expandedKeySet.value;
51257
- if ((tree == null ? void 0 : tree.value) && props.accordion) {
51448
+ if (tree.value && props.accordion) {
51258
51449
  const { treeNodeMap } = tree.value;
51259
51450
  keySet.forEach((key) => {
51260
51451
  const node2 = treeNodeMap.get(key);
@@ -51266,7 +51457,7 @@
51266
51457
  keySet.add(node.key);
51267
51458
  emit(NODE_EXPAND, node.data, node);
51268
51459
  }
51269
- function collapse(node) {
51460
+ function collapseNode(node) {
51270
51461
  expandedKeySet.value.delete(node.key);
51271
51462
  emit(NODE_COLLAPSE, node.data, node);
51272
51463
  }
@@ -51284,7 +51475,7 @@
51284
51475
  var _a, _b;
51285
51476
  if (!currentKey.value)
51286
51477
  return void 0;
51287
- return (_b = (_a = tree == null ? void 0 : tree.value) == null ? void 0 : _a.treeNodeMap.get(currentKey.value)) == null ? void 0 : _b.data;
51478
+ return (_b = (_a = tree.value) == null ? void 0 : _a.treeNodeMap.get(currentKey.value)) == null ? void 0 : _b.data;
51288
51479
  }
51289
51480
  function getCurrentKey() {
51290
51481
  return currentKey.value;
@@ -51295,6 +51486,11 @@
51295
51486
  function setData(data) {
51296
51487
  vue.nextTick(() => tree.value = createTree(data));
51297
51488
  }
51489
+ function getNode(data) {
51490
+ var _a;
51491
+ const key = isObject$1(data) ? getKey(data) : data;
51492
+ return (_a = tree.value) == null ? void 0 : _a.treeNodeMap.get(key);
51493
+ }
51298
51494
  return {
51299
51495
  tree,
51300
51496
  flattenTree,
@@ -51321,7 +51517,11 @@
51321
51517
  setChecked,
51322
51518
  setCheckedKeys,
51323
51519
  filter,
51324
- setData
51520
+ setData,
51521
+ getNode,
51522
+ expandNode,
51523
+ collapseNode,
51524
+ setExpandedKeys
51325
51525
  };
51326
51526
  }
51327
51527
 
@@ -51390,7 +51590,7 @@
51390
51590
  }
51391
51591
  });
51392
51592
  const _hoisted_1$6 = ["aria-expanded", "aria-disabled", "aria-checked", "data-key"];
51393
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
51593
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
51394
51594
  var _a, _b, _c;
51395
51595
  const _component_el_icon = vue.resolveComponent("el-icon");
51396
51596
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
@@ -51447,7 +51647,7 @@
51447
51647
  ], 6)
51448
51648
  ], 42, _hoisted_1$6);
51449
51649
  }
51450
- var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$3], ["__file", "tree-node.vue"]]);
51650
+ var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$2], ["__file", "tree-node.vue"]]);
51451
51651
 
51452
51652
  const _sfc_main$7 = vue.defineComponent({
51453
51653
  name: "ElTreeV2",
@@ -51489,7 +51689,11 @@
51489
51689
  setChecked,
51490
51690
  setCheckedKeys,
51491
51691
  filter,
51492
- setData
51692
+ setData,
51693
+ getNode,
51694
+ expandNode,
51695
+ collapseNode,
51696
+ setExpandedKeys
51493
51697
  } = useTree(props, ctx.emit);
51494
51698
  ctx.expose({
51495
51699
  getCurrentNode,
@@ -51502,7 +51706,11 @@
51502
51706
  setChecked,
51503
51707
  setCheckedKeys,
51504
51708
  filter,
51505
- setData
51709
+ setData,
51710
+ getNode,
51711
+ expandNode,
51712
+ collapseNode,
51713
+ setExpandedKeys
51506
51714
  });
51507
51715
  return {
51508
51716
  t,
@@ -51523,7 +51731,7 @@
51523
51731
  };
51524
51732
  }
51525
51733
  });
51526
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
51734
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
51527
51735
  var _a;
51528
51736
  const _component_el_tree_node = vue.resolveComponent("el-tree-node");
51529
51737
  const _component_fixed_size_list = vue.resolveComponent("fixed-size-list");
@@ -51568,7 +51776,7 @@
51568
51776
  ], 2))
51569
51777
  ], 2);
51570
51778
  }
51571
- var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$2], ["__file", "tree.vue"]]);
51779
+ var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$1], ["__file", "tree.vue"]]);
51572
51780
 
51573
51781
  const ElTreeV2 = withInstall(TreeV2);
51574
51782
 
@@ -51784,11 +51992,11 @@
51784
51992
  const _hoisted_3$2 = ["onClick"];
51785
51993
  const _hoisted_4$1 = ["onClick"];
51786
51994
  const _hoisted_5 = ["onClick"];
51787
- const __default__$4 = {
51995
+ const __default__$5 = {
51788
51996
  name: "ElUploadList"
51789
51997
  };
51790
51998
  const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
51791
- ...__default__$4,
51999
+ ...__default__$5,
51792
52000
  props: uploadListProps,
51793
52001
  emits: uploadListEmits,
51794
52002
  setup(__props, { emit }) {
@@ -51957,11 +52165,11 @@
51957
52165
  };
51958
52166
 
51959
52167
  const _hoisted_1$4 = ["onDrop", "onDragover"];
51960
- const __default__$3 = {
52168
+ const __default__$4 = {
51961
52169
  name: "ElUploadDrag"
51962
52170
  };
51963
52171
  const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
51964
- ...__default__$3,
52172
+ ...__default__$4,
51965
52173
  props: uploadDraggerProps,
51966
52174
  emits: uploadDraggerEmits,
51967
52175
  setup(__props, { emit }) {
@@ -52054,12 +52262,12 @@
52054
52262
 
52055
52263
  const _hoisted_1$3 = ["onKeydown"];
52056
52264
  const _hoisted_2$3 = ["name", "multiple", "accept"];
52057
- const __default__$2 = {
52265
+ const __default__$3 = {
52058
52266
  name: "ElUploadContent",
52059
52267
  inheritAttrs: false
52060
52268
  };
52061
52269
  const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
52062
- ...__default__$2,
52270
+ ...__default__$3,
52063
52271
  props: uploadContentProps,
52064
52272
  setup(__props, { expose }) {
52065
52273
  const props = __props;
@@ -52340,11 +52548,11 @@
52340
52548
  };
52341
52549
  };
52342
52550
 
52343
- const __default__$1 = {
52551
+ const __default__$2 = {
52344
52552
  name: "ElUpload"
52345
52553
  };
52346
52554
  const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
52347
- ...__default__$1,
52555
+ ...__default__$2,
52348
52556
  props: uploadProps,
52349
52557
  setup(__props, { expose }) {
52350
52558
  const props = __props;
@@ -53055,16 +53263,16 @@
53055
53263
  const { prev } = getInstance(id);
53056
53264
  if (!prev)
53057
53265
  return 0;
53058
- return prev.vm.exposeProxy.bottom;
53266
+ return prev.vm.exposed.bottom.value;
53059
53267
  };
53060
53268
 
53061
53269
  const _hoisted_1$2 = ["id"];
53062
53270
  const _hoisted_2$2 = ["innerHTML"];
53063
- const __default__ = {
53271
+ const __default__$1 = {
53064
53272
  name: "ElMessage"
53065
53273
  };
53066
53274
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
53067
- ...__default__,
53275
+ ...__default__$1,
53068
53276
  props: messageProps,
53069
53277
  emits: messageEmits,
53070
53278
  setup(__props, { expose }) {
@@ -53245,7 +53453,7 @@
53245
53453
  const vm = vnode.component;
53246
53454
  const handler = {
53247
53455
  close: () => {
53248
- vm.exposeProxy.visible = false;
53456
+ vm.exposed.visible.value = false;
53249
53457
  }
53250
53458
  };
53251
53459
  const instance = {
@@ -53567,7 +53775,7 @@
53567
53775
  const _hoisted_1$1 = ["aria-label", "aria-describedby"];
53568
53776
  const _hoisted_2$1 = ["aria-label"];
53569
53777
  const _hoisted_3$1 = ["id"];
53570
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
53778
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
53571
53779
  const _component_el_icon = vue.resolveComponent("el-icon");
53572
53780
  const _component_close = vue.resolveComponent("close");
53573
53781
  const _component_el_input = vue.resolveComponent("el-input");
@@ -53765,7 +53973,7 @@
53765
53973
  _: 3
53766
53974
  });
53767
53975
  }
53768
- var MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "index.vue"]]);
53976
+ var MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "index.vue"]]);
53769
53977
 
53770
53978
  const messageInstance = /* @__PURE__ */ new Map();
53771
53979
  const initInstance = (props, container, appContext = null) => {
@@ -53856,18 +54064,18 @@
53856
54064
  MessageBox[boxType] = messageBoxFactory(boxType);
53857
54065
  });
53858
54066
  function messageBoxFactory(boxType) {
53859
- return (message, titleOrOpts, options, appContext) => {
53860
- let title;
53861
- if (isObject$1(titleOrOpts)) {
53862
- options = titleOrOpts;
53863
- title = "";
53864
- } else if (isUndefined(titleOrOpts)) {
53865
- title = "";
54067
+ return (message, title, options, appContext) => {
54068
+ let titleOrOpts = "";
54069
+ if (isObject$1(title)) {
54070
+ options = title;
54071
+ titleOrOpts = "";
54072
+ } else if (isUndefined(title)) {
54073
+ titleOrOpts = "";
53866
54074
  } else {
53867
- title = titleOrOpts;
54075
+ titleOrOpts = title;
53868
54076
  }
53869
54077
  return MessageBox(Object.assign({
53870
- title,
54078
+ title: titleOrOpts,
53871
54079
  message,
53872
54080
  type: "",
53873
54081
  ...MESSAGE_BOX_DEFAULT_OPTS[boxType]
@@ -53965,16 +54173,21 @@
53965
54173
  destroy: () => true
53966
54174
  };
53967
54175
 
53968
- const _sfc_main = vue.defineComponent({
53969
- name: "ElNotification",
53970
- components: {
53971
- ElIcon,
53972
- ...TypeComponents
53973
- },
54176
+ const _hoisted_1 = ["id"];
54177
+ const _hoisted_2 = ["textContent"];
54178
+ const _hoisted_3 = { key: 0 };
54179
+ const _hoisted_4 = ["innerHTML"];
54180
+ const __default__ = {
54181
+ name: "ElNotification"
54182
+ };
54183
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
54184
+ ...__default__,
53974
54185
  props: notificationProps,
53975
54186
  emits: notificationEmits,
53976
- setup(props) {
54187
+ setup(__props, { expose }) {
54188
+ const props = __props;
53977
54189
  const ns = useNamespace("notification");
54190
+ const { Close } = CloseComponents;
53978
54191
  const visible = vue.ref(false);
53979
54192
  let timer = void 0;
53980
54193
  const typeClass = vue.computed(() => {
@@ -53982,7 +54195,9 @@
53982
54195
  return type && TypeComponentsMap[props.type] ? ns.m(type) : "";
53983
54196
  });
53984
54197
  const iconComponent = vue.computed(() => {
53985
- return TypeComponentsMap[props.type] || props.icon || "";
54198
+ if (!props.type)
54199
+ return "";
54200
+ return TypeComponentsMap[props.type] || props.icon;
53986
54201
  });
53987
54202
  const horizontalClass = vue.computed(() => props.position.endsWith("right") ? "right" : "left");
53988
54203
  const verticalProperty = vue.computed(() => props.position.startsWith("top") ? "top" : "bottom");
@@ -54022,91 +54237,77 @@
54022
54237
  visible.value = true;
54023
54238
  });
54024
54239
  useEventListener(document, "keydown", onKeydown);
54025
- return {
54026
- ns,
54027
- horizontalClass,
54028
- typeClass,
54029
- iconComponent,
54030
- positionStyle,
54240
+ expose({
54031
54241
  visible,
54032
- close,
54033
- clearTimer,
54034
- startTimer
54242
+ close
54243
+ });
54244
+ return (_ctx, _cache) => {
54245
+ return vue.openBlock(), vue.createBlock(vue.Transition, {
54246
+ name: vue.unref(ns).b("fade"),
54247
+ onBeforeLeave: _ctx.onClose,
54248
+ onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("destroy")),
54249
+ persisted: ""
54250
+ }, {
54251
+ default: vue.withCtx(() => [
54252
+ vue.withDirectives(vue.createElementVNode("div", {
54253
+ id: _ctx.id,
54254
+ class: vue.normalizeClass([vue.unref(ns).b(), _ctx.customClass, vue.unref(horizontalClass)]),
54255
+ style: vue.normalizeStyle(vue.unref(positionStyle)),
54256
+ role: "alert",
54257
+ onMouseenter: clearTimer,
54258
+ onMouseleave: startTimer,
54259
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
54260
+ }, [
54261
+ vue.unref(iconComponent) ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
54262
+ key: 0,
54263
+ class: vue.normalizeClass([vue.unref(ns).e("icon"), vue.unref(typeClass)])
54264
+ }, {
54265
+ default: vue.withCtx(() => [
54266
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(vue.unref(iconComponent))))
54267
+ ]),
54268
+ _: 1
54269
+ }, 8, ["class"])) : vue.createCommentVNode("v-if", true),
54270
+ vue.createElementVNode("div", {
54271
+ class: vue.normalizeClass(vue.unref(ns).e("group"))
54272
+ }, [
54273
+ vue.createElementVNode("h2", {
54274
+ class: vue.normalizeClass(vue.unref(ns).e("title")),
54275
+ textContent: vue.toDisplayString(_ctx.title)
54276
+ }, null, 10, _hoisted_2),
54277
+ vue.withDirectives(vue.createElementVNode("div", {
54278
+ class: vue.normalizeClass(vue.unref(ns).e("content")),
54279
+ style: vue.normalizeStyle(!!_ctx.title ? void 0 : { margin: 0 })
54280
+ }, [
54281
+ vue.renderSlot(_ctx.$slots, "default", {}, () => [
54282
+ !_ctx.dangerouslyUseHTMLString ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3, vue.toDisplayString(_ctx.message), 1)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
54283
+ vue.createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),
54284
+ vue.createElementVNode("p", { innerHTML: _ctx.message }, null, 8, _hoisted_4)
54285
+ ], 2112))
54286
+ ])
54287
+ ], 6), [
54288
+ [vue.vShow, _ctx.message]
54289
+ ]),
54290
+ _ctx.showClose ? (vue.openBlock(), vue.createBlock(vue.unref(ElIcon), {
54291
+ key: 0,
54292
+ class: vue.normalizeClass(vue.unref(ns).e("closeBtn")),
54293
+ onClick: vue.withModifiers(close, ["stop"])
54294
+ }, {
54295
+ default: vue.withCtx(() => [
54296
+ vue.createVNode(vue.unref(Close))
54297
+ ]),
54298
+ _: 1
54299
+ }, 8, ["class", "onClick"])) : vue.createCommentVNode("v-if", true)
54300
+ ], 2)
54301
+ ], 46, _hoisted_1), [
54302
+ [vue.vShow, visible.value]
54303
+ ])
54304
+ ]),
54305
+ _: 3
54306
+ }, 8, ["name", "onBeforeLeave"]);
54035
54307
  };
54036
54308
  }
54037
54309
  });
54038
- const _hoisted_1 = ["id"];
54039
- const _hoisted_2 = ["textContent"];
54040
- const _hoisted_3 = { key: 0 };
54041
- const _hoisted_4 = ["innerHTML"];
54042
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
54043
- const _component_el_icon = vue.resolveComponent("el-icon");
54044
- const _component_close = vue.resolveComponent("close");
54045
- return vue.openBlock(), vue.createBlock(vue.Transition, {
54046
- name: _ctx.ns.b("fade"),
54047
- onBeforeLeave: _ctx.onClose,
54048
- onAfterLeave: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("destroy")),
54049
- persisted: ""
54050
- }, {
54051
- default: vue.withCtx(() => [
54052
- vue.withDirectives(vue.createElementVNode("div", {
54053
- id: _ctx.id,
54054
- class: vue.normalizeClass([_ctx.ns.b(), _ctx.customClass, _ctx.horizontalClass]),
54055
- style: vue.normalizeStyle(_ctx.positionStyle),
54056
- role: "alert",
54057
- onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.clearTimer && _ctx.clearTimer(...args)),
54058
- onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.startTimer && _ctx.startTimer(...args)),
54059
- onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onClick && _ctx.onClick(...args))
54060
- }, [
54061
- _ctx.iconComponent ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
54062
- key: 0,
54063
- class: vue.normalizeClass([_ctx.ns.e("icon"), _ctx.typeClass])
54064
- }, {
54065
- default: vue.withCtx(() => [
54066
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.iconComponent)))
54067
- ]),
54068
- _: 1
54069
- }, 8, ["class"])) : vue.createCommentVNode("v-if", true),
54070
- vue.createElementVNode("div", {
54071
- class: vue.normalizeClass(_ctx.ns.e("group"))
54072
- }, [
54073
- vue.createElementVNode("h2", {
54074
- class: vue.normalizeClass(_ctx.ns.e("title")),
54075
- textContent: vue.toDisplayString(_ctx.title)
54076
- }, null, 10, _hoisted_2),
54077
- vue.withDirectives(vue.createElementVNode("div", {
54078
- class: vue.normalizeClass(_ctx.ns.e("content")),
54079
- style: vue.normalizeStyle(!!_ctx.title ? void 0 : { margin: 0 })
54080
- }, [
54081
- vue.renderSlot(_ctx.$slots, "default", {}, () => [
54082
- !_ctx.dangerouslyUseHTMLString ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_3, vue.toDisplayString(_ctx.message), 1)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
54083
- vue.createCommentVNode(" Caution here, message could've been compromized, nerver use user's input as message "),
54084
- vue.createCommentVNode(" eslint-disable-next-line "),
54085
- vue.createElementVNode("p", { innerHTML: _ctx.message }, null, 8, _hoisted_4)
54086
- ], 2112))
54087
- ])
54088
- ], 6), [
54089
- [vue.vShow, _ctx.message]
54090
- ]),
54091
- _ctx.showClose ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
54092
- key: 0,
54093
- class: vue.normalizeClass(_ctx.ns.e("closeBtn")),
54094
- onClick: vue.withModifiers(_ctx.close, ["stop"])
54095
- }, {
54096
- default: vue.withCtx(() => [
54097
- vue.createVNode(_component_close)
54098
- ]),
54099
- _: 1
54100
- }, 8, ["class", "onClick"])) : vue.createCommentVNode("v-if", true)
54101
- ], 2)
54102
- ], 46, _hoisted_1), [
54103
- [vue.vShow, _ctx.visible]
54104
- ])
54105
- ]),
54106
- _: 3
54107
- }, 8, ["name", "onBeforeLeave"]);
54108
- }
54109
- var NotificationConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "notification.vue"]]);
54310
+ var NotificationConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "notification.vue"]]);
54110
54311
 
54111
54312
  const notifications = {
54112
54313
  "top-left": [],
@@ -54163,7 +54364,7 @@
54163
54364
  appendTo.appendChild(container.firstElementChild);
54164
54365
  return {
54165
54366
  close: () => {
54166
- vm.component.proxy.visible = false;
54367
+ vm.component.exposed.visible.value = false;
54167
54368
  }
54168
54369
  };
54169
54370
  };
@@ -54207,7 +54408,7 @@
54207
54408
  function closeAll() {
54208
54409
  for (const orientedNotifications of Object.values(notifications)) {
54209
54410
  orientedNotifications.forEach(({ vm }) => {
54210
- vm.component.proxy.visible = false;
54411
+ vm.component.exposed.visible.value = false;
54211
54412
  });
54212
54413
  }
54213
54414
  }