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,6 +1,6 @@
1
- /*! Element Plus v2.2.12 */
1
+ /*! Element Plus v2.2.15 */
2
2
 
3
- import { getCurrentScope, onScopeDispose, readonly, shallowRef, watchEffect, ref, watch, unref, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, inject, provide, onBeforeUnmount, toRef, onUnmounted, isRef, h as h$1, Teleport, onBeforeMount, defineComponent, normalizeClass, normalizeStyle, renderSlot, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, useAttrs as useAttrs$1, onUpdated, withModifiers, reactive, cloneVNode, Text, toRefs, resolveComponent, onDeactivated, renderList, withKeys, createSlots, normalizeProps, guardReactiveProps, vModelCheckbox, vModelRadio, onBeforeUpdate, resolveDirective, vModelText, toHandlers, markRaw, effectScope, toRaw as toRaw$1, triggerRef, TransitionGroup, createApp, shallowReactive, render } from 'vue';
3
+ import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, inject, provide, onBeforeUnmount, toRef, onUnmounted, isRef, h as h$1, Teleport, onBeforeMount, defineComponent, normalizeClass, normalizeStyle, renderSlot, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, useAttrs as useAttrs$1, onUpdated, withModifiers, reactive, cloneVNode, Text, toRefs, resolveComponent, onDeactivated, renderList, withKeys, createSlots, normalizeProps, guardReactiveProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, onBeforeUpdate, resolveDirective, vModelText, toHandlers, markRaw, effectScope, triggerRef, TransitionGroup, createApp, shallowReactive, render } from 'vue';
4
4
 
5
5
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
6
6
 
@@ -198,7 +198,7 @@ function after(n, func) {
198
198
  };
199
199
  }
200
200
 
201
- function identity(value) {
201
+ function identity$1(value) {
202
202
  return value;
203
203
  }
204
204
 
@@ -268,7 +268,7 @@ var WeakMap = getNative(root, "WeakMap");
268
268
 
269
269
  var metaMap = WeakMap && new WeakMap();
270
270
 
271
- var baseSetData = !metaMap ? identity : function(func, data) {
271
+ var baseSetData = !metaMap ? identity$1 : function(func, data) {
272
272
  metaMap.set(func, data);
273
273
  return func;
274
274
  };
@@ -537,7 +537,7 @@ var defineProperty = function() {
537
537
  }
538
538
  }();
539
539
 
540
- var baseSetToString = !defineProperty ? identity : function(func, string) {
540
+ var baseSetToString = !defineProperty ? identity$1 : function(func, string) {
541
541
  return defineProperty(func, "toString", {
542
542
  "configurable": true,
543
543
  "enumerable": false,
@@ -953,7 +953,7 @@ function overRest(func, start, transform) {
953
953
  }
954
954
 
955
955
  function baseRest(func, start) {
956
- return setToString(overRest(func, start, identity), func + "");
956
+ return setToString(overRest(func, start, identity$1), func + "");
957
957
  }
958
958
 
959
959
  var MAX_SAFE_INTEGER$4 = 9007199254740991;
@@ -2863,7 +2863,7 @@ function baseIteratee(value) {
2863
2863
  return value;
2864
2864
  }
2865
2865
  if (value == null) {
2866
- return identity;
2866
+ return identity$1;
2867
2867
  }
2868
2868
  if (typeof value == "object") {
2869
2869
  return isArray$1(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
@@ -3368,7 +3368,7 @@ function dropWhile(array, predicate) {
3368
3368
  }
3369
3369
 
3370
3370
  function castFunction(value) {
3371
- return typeof value == "function" ? value : identity;
3371
+ return typeof value == "function" ? value : identity$1;
3372
3372
  }
3373
3373
 
3374
3374
  function forEach(collection, iteratee) {
@@ -3931,7 +3931,7 @@ var invert = createInverter(function(result, value, key) {
3931
3931
  value = nativeObjectToString$1.call(value);
3932
3932
  }
3933
3933
  result[value] = key;
3934
- }, constant(identity));
3934
+ }, constant(identity$1));
3935
3935
 
3936
3936
  var objectProto$4 = Object.prototype;
3937
3937
  var hasOwnProperty$5 = objectProto$4.hasOwnProperty;
@@ -4201,7 +4201,7 @@ function baseExtremum(array, iteratee, comparator) {
4201
4201
  }
4202
4202
 
4203
4203
  function max$3(array) {
4204
- return array && array.length ? baseExtremum(array, identity, baseGt) : void 0;
4204
+ return array && array.length ? baseExtremum(array, identity$1, baseGt) : void 0;
4205
4205
  }
4206
4206
 
4207
4207
  function maxBy(array, iteratee) {
@@ -4226,7 +4226,7 @@ function baseMean(array, iteratee) {
4226
4226
  }
4227
4227
 
4228
4228
  function mean(array) {
4229
- return baseMean(array, identity);
4229
+ return baseMean(array, identity$1);
4230
4230
  }
4231
4231
 
4232
4232
  function meanBy(array, iteratee) {
@@ -4250,7 +4250,7 @@ var methodOf = baseRest(function(object, args) {
4250
4250
  });
4251
4251
 
4252
4252
  function min$3(array) {
4253
- return array && array.length ? baseExtremum(array, identity, baseLt) : void 0;
4253
+ return array && array.length ? baseExtremum(array, identity$1, baseLt) : void 0;
4254
4254
  }
4255
4255
 
4256
4256
  function minBy(array, iteratee) {
@@ -4497,7 +4497,7 @@ function baseOrderBy(collection, iteratees, orders) {
4497
4497
  return iteratee;
4498
4498
  });
4499
4499
  } else {
4500
- iteratees = [identity];
4500
+ iteratees = [identity$1];
4501
4501
  }
4502
4502
  var index = -1;
4503
4503
  iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
@@ -5152,7 +5152,7 @@ function baseSortedIndex(array, value, retHighest) {
5152
5152
  }
5153
5153
  return high;
5154
5154
  }
5155
- return baseSortedIndexBy(array, value, identity, retHighest);
5155
+ return baseSortedIndexBy(array, value, identity$1, retHighest);
5156
5156
  }
5157
5157
 
5158
5158
  function sortedIndex(array, value) {
@@ -5276,7 +5276,7 @@ var subtract = createMathOperation(function(minuend, subtrahend) {
5276
5276
  }, 0);
5277
5277
 
5278
5278
  function sum$1(array) {
5279
- return array && array.length ? baseSum(array, identity) : 0;
5279
+ return array && array.length ? baseSum(array, identity$1) : 0;
5280
5280
  }
5281
5281
 
5282
5282
  function sumBy(array, iteratee) {
@@ -6203,7 +6203,7 @@ var util = {
6203
6203
  defaultTo,
6204
6204
  flow,
6205
6205
  flowRight,
6206
- identity,
6206
+ identity: identity$1,
6207
6207
  iteratee,
6208
6208
  matches,
6209
6209
  matchesProperty,
@@ -6522,7 +6522,7 @@ lodash.gte = lang.gte;
6522
6522
  lodash.has = object.has;
6523
6523
  lodash.hasIn = object.hasIn;
6524
6524
  lodash.head = array.head;
6525
- lodash.identity = identity;
6525
+ lodash.identity = identity$1;
6526
6526
  lodash.includes = collection.includes;
6527
6527
  lodash.indexOf = array.indexOf;
6528
6528
  lodash.inRange = number.inRange;
@@ -6691,7 +6691,7 @@ arrayEach(["initial", "tail"], function(methodName, index) {
6691
6691
  };
6692
6692
  });
6693
6693
  LazyWrapper.prototype.compact = function() {
6694
- return this.filter(identity);
6694
+ return this.filter(identity$1);
6695
6695
  };
6696
6696
  LazyWrapper.prototype.find = function(predicate) {
6697
6697
  return this.filter(predicate).head();
@@ -6887,44 +6887,36 @@ const whenMouse = (handler) => {
6887
6887
  return (e) => e.pointerType === "mouse" ? handler(e) : void 0;
6888
6888
  };
6889
6889
 
6890
- var __defProp$8 = Object.defineProperty;
6891
- var __defProps$5 = Object.defineProperties;
6892
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
6893
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
6894
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
6895
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
6896
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6897
- var __spreadValues$8 = (a, b) => {
6890
+ var __defProp$9 = Object.defineProperty;
6891
+ var __defProps$6 = Object.defineProperties;
6892
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
6893
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
6894
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
6895
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
6896
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6897
+ var __spreadValues$9 = (a, b) => {
6898
6898
  for (var prop in b || (b = {}))
6899
- if (__hasOwnProp$a.call(b, prop))
6900
- __defNormalProp$8(a, prop, b[prop]);
6901
- if (__getOwnPropSymbols$a)
6902
- for (var prop of __getOwnPropSymbols$a(b)) {
6903
- if (__propIsEnum$a.call(b, prop))
6904
- __defNormalProp$8(a, prop, b[prop]);
6899
+ if (__hasOwnProp$b.call(b, prop))
6900
+ __defNormalProp$9(a, prop, b[prop]);
6901
+ if (__getOwnPropSymbols$b)
6902
+ for (var prop of __getOwnPropSymbols$b(b)) {
6903
+ if (__propIsEnum$b.call(b, prop))
6904
+ __defNormalProp$9(a, prop, b[prop]);
6905
6905
  }
6906
6906
  return a;
6907
6907
  };
6908
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
6908
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
6909
6909
  function computedEager(fn, options) {
6910
6910
  var _a;
6911
6911
  const result = shallowRef();
6912
6912
  watchEffect(() => {
6913
6913
  result.value = fn();
6914
- }, __spreadProps$5(__spreadValues$8({}, options), {
6914
+ }, __spreadProps$6(__spreadValues$9({}, options), {
6915
6915
  flush: (_a = options == null ? void 0 : options.flush) != null ? _a : "sync"
6916
6916
  }));
6917
6917
  return readonly(result);
6918
6918
  }
6919
6919
 
6920
- function tryOnScopeDispose(fn) {
6921
- if (getCurrentScope()) {
6922
- onScopeDispose(fn);
6923
- return true;
6924
- }
6925
- return false;
6926
- }
6927
-
6928
6920
  var _a;
6929
6921
  const isClient = typeof window !== "undefined";
6930
6922
  const isDef = (val) => typeof val !== "undefined";
@@ -6935,6 +6927,10 @@ const noop = () => {
6935
6927
  };
6936
6928
  isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
6937
6929
 
6930
+ function resolveUnref(r) {
6931
+ return typeof r === "function" ? r() : unref(r);
6932
+ }
6933
+
6938
6934
  function createFilterWrapper(filter, fn) {
6939
6935
  function wrapper(...args) {
6940
6936
  filter(() => fn.apply(this, args), { fn, thisArg: this, args });
@@ -6945,8 +6941,8 @@ function debounceFilter(ms, options = {}) {
6945
6941
  let timer;
6946
6942
  let maxTimer;
6947
6943
  const filter = (invoke) => {
6948
- const duration = unref(ms);
6949
- const maxDuration = unref(options.maxWait);
6944
+ const duration = resolveUnref(ms);
6945
+ const maxDuration = resolveUnref(options.maxWait);
6950
6946
  if (timer)
6951
6947
  clearTimeout(timer);
6952
6948
  if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
@@ -6984,7 +6980,7 @@ function throttleFilter(ms, trailing = true, leading = true) {
6984
6980
  }
6985
6981
  };
6986
6982
  const filter = (invoke) => {
6987
- const duration = unref(ms);
6983
+ const duration = resolveUnref(ms);
6988
6984
  const elapsed = Date.now() - lastExec;
6989
6985
  clear();
6990
6986
  if (duration <= 0) {
@@ -7008,6 +7004,17 @@ function throttleFilter(ms, trailing = true, leading = true) {
7008
7004
  };
7009
7005
  return filter;
7010
7006
  }
7007
+ function identity(arg) {
7008
+ return arg;
7009
+ }
7010
+
7011
+ function tryOnScopeDispose(fn) {
7012
+ if (getCurrentScope()) {
7013
+ onScopeDispose(fn);
7014
+ return true;
7015
+ }
7016
+ return false;
7017
+ }
7011
7018
 
7012
7019
  function useDebounceFn(fn, ms = 200, options = {}) {
7013
7020
  return createFilterWrapper(debounceFilter(ms, options), fn);
@@ -7024,7 +7031,7 @@ function refDebounced(value, ms = 200, options = {}) {
7024
7031
  return debounced;
7025
7032
  }
7026
7033
 
7027
- function useThrottleFn(fn, ms = 200, trailing = true, leading = true) {
7034
+ function useThrottleFn(fn, ms = 200, trailing = false, leading = true) {
7028
7035
  return createFilterWrapper(throttleFilter(ms, trailing, leading), fn);
7029
7036
  }
7030
7037
 
@@ -7060,7 +7067,7 @@ function useTimeoutFn(cb, interval, options = {}) {
7060
7067
  isPending.value = false;
7061
7068
  timer = null;
7062
7069
  cb(...args);
7063
- }, unref(interval));
7070
+ }, resolveUnref(interval));
7064
7071
  }
7065
7072
  if (immediate) {
7066
7073
  isPending.value = true;
@@ -7077,7 +7084,7 @@ function useTimeoutFn(cb, interval, options = {}) {
7077
7084
 
7078
7085
  function unrefElement(elRef) {
7079
7086
  var _a;
7080
- const plain = unref(elRef);
7087
+ const plain = resolveUnref(elRef);
7081
7088
  return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
7082
7089
  }
7083
7090
 
@@ -7117,7 +7124,7 @@ function useEventListener(...args) {
7117
7124
  }
7118
7125
 
7119
7126
  function onClickOutside(target, handler, options = {}) {
7120
- const { window = defaultWindow, ignore, capture = true } = options;
7127
+ const { window = defaultWindow, ignore, capture = true, detectIframe = false } = options;
7121
7128
  if (!window)
7122
7129
  return;
7123
7130
  const shouldListen = ref(true);
@@ -7149,12 +7156,26 @@ function onClickOutside(target, handler, options = {}) {
7149
7156
  e.composedPath = () => path;
7150
7157
  fallback = window.setTimeout(() => listener(e), 50);
7151
7158
  }
7152
- }, { passive: true })
7153
- ];
7159
+ }, { passive: true }),
7160
+ detectIframe && useEventListener(window, "blur", (event) => {
7161
+ var _a;
7162
+ const el = unrefElement(target);
7163
+ if (((_a = document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(document.activeElement)))
7164
+ handler(event);
7165
+ })
7166
+ ].filter(Boolean);
7154
7167
  const stop = () => cleanup.forEach((fn) => fn());
7155
7168
  return stop;
7156
7169
  }
7157
7170
 
7171
+ function useSupported(callback, sync = false) {
7172
+ const isSupported = ref();
7173
+ const update = () => isSupported.value = Boolean(callback());
7174
+ update();
7175
+ tryOnMounted(update, sync);
7176
+ return isSupported;
7177
+ }
7178
+
7158
7179
  const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
7159
7180
  const globalKey = "__vueuse_ssr_handlers__";
7160
7181
  _global[globalKey] = _global[globalKey] || {};
@@ -7170,17 +7191,17 @@ function useDocumentVisibility({ document = defaultDocument } = {}) {
7170
7191
  return visibility;
7171
7192
  }
7172
7193
 
7173
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
7174
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
7175
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
7194
+ var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7195
+ var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7196
+ var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7176
7197
  var __objRest$2 = (source, exclude) => {
7177
7198
  var target = {};
7178
7199
  for (var prop in source)
7179
- if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
7200
+ if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
7180
7201
  target[prop] = source[prop];
7181
- if (source != null && __getOwnPropSymbols$d)
7182
- for (var prop of __getOwnPropSymbols$d(source)) {
7183
- if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
7202
+ if (source != null && __getOwnPropSymbols$f)
7203
+ for (var prop of __getOwnPropSymbols$f(source)) {
7204
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
7184
7205
  target[prop] = source[prop];
7185
7206
  }
7186
7207
  return target;
@@ -7188,7 +7209,7 @@ var __objRest$2 = (source, exclude) => {
7188
7209
  function useResizeObserver(target, callback, options = {}) {
7189
7210
  const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, ["window"]);
7190
7211
  let observer;
7191
- const isSupported = window && "ResizeObserver" in window;
7212
+ const isSupported = useSupported(() => window && "ResizeObserver" in window);
7192
7213
  const cleanup = () => {
7193
7214
  if (observer) {
7194
7215
  observer.disconnect();
@@ -7197,7 +7218,7 @@ function useResizeObserver(target, callback, options = {}) {
7197
7218
  };
7198
7219
  const stopWatch = watch(() => unrefElement(target), (el) => {
7199
7220
  cleanup();
7200
- if (isSupported && window && el) {
7221
+ if (isSupported.value && window && el) {
7201
7222
  observer = new ResizeObserver(callback);
7202
7223
  observer.observe(el, observerOptions);
7203
7224
  }
@@ -7285,8 +7306,54 @@ var SwipeDirection;
7285
7306
  SwipeDirection2["NONE"] = "NONE";
7286
7307
  })(SwipeDirection || (SwipeDirection = {}));
7287
7308
 
7309
+ var __defProp = Object.defineProperty;
7310
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7311
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7312
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7313
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7314
+ var __spreadValues = (a, b) => {
7315
+ for (var prop in b || (b = {}))
7316
+ if (__hasOwnProp.call(b, prop))
7317
+ __defNormalProp(a, prop, b[prop]);
7318
+ if (__getOwnPropSymbols)
7319
+ for (var prop of __getOwnPropSymbols(b)) {
7320
+ if (__propIsEnum.call(b, prop))
7321
+ __defNormalProp(a, prop, b[prop]);
7322
+ }
7323
+ return a;
7324
+ };
7325
+ const _TransitionPresets = {
7326
+ easeInSine: [0.12, 0, 0.39, 0],
7327
+ easeOutSine: [0.61, 1, 0.88, 1],
7328
+ easeInOutSine: [0.37, 0, 0.63, 1],
7329
+ easeInQuad: [0.11, 0, 0.5, 0],
7330
+ easeOutQuad: [0.5, 1, 0.89, 1],
7331
+ easeInOutQuad: [0.45, 0, 0.55, 1],
7332
+ easeInCubic: [0.32, 0, 0.67, 0],
7333
+ easeOutCubic: [0.33, 1, 0.68, 1],
7334
+ easeInOutCubic: [0.65, 0, 0.35, 1],
7335
+ easeInQuart: [0.5, 0, 0.75, 0],
7336
+ easeOutQuart: [0.25, 1, 0.5, 1],
7337
+ easeInOutQuart: [0.76, 0, 0.24, 1],
7338
+ easeInQuint: [0.64, 0, 0.78, 0],
7339
+ easeOutQuint: [0.22, 1, 0.36, 1],
7340
+ easeInOutQuint: [0.83, 0, 0.17, 1],
7341
+ easeInExpo: [0.7, 0, 0.84, 0],
7342
+ easeOutExpo: [0.16, 1, 0.3, 1],
7343
+ easeInOutExpo: [0.87, 0, 0.13, 1],
7344
+ easeInCirc: [0.55, 0, 1, 0.45],
7345
+ easeOutCirc: [0, 0.55, 0.45, 1],
7346
+ easeInOutCirc: [0.85, 0, 0.15, 1],
7347
+ easeInBack: [0.36, 0, 0.66, -0.56],
7348
+ easeOutBack: [0.34, 1.56, 0.64, 1],
7349
+ easeInOutBack: [0.68, -0.6, 0.32, 1.6]
7350
+ };
7351
+ __spreadValues({
7352
+ linear: identity
7353
+ }, _TransitionPresets);
7354
+
7288
7355
  function useVModel(props, key, emit, options = {}) {
7289
- var _a;
7356
+ var _a, _b, _c;
7290
7357
  const {
7291
7358
  passive = false,
7292
7359
  eventName,
@@ -7294,7 +7361,7 @@ function useVModel(props, key, emit, options = {}) {
7294
7361
  defaultValue
7295
7362
  } = options;
7296
7363
  const vm = getCurrentInstance();
7297
- const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm));
7364
+ 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));
7298
7365
  let event = eventName;
7299
7366
  if (!key) {
7300
7367
  {
@@ -7338,7 +7405,13 @@ function useWindowFocus({ window = defaultWindow } = {}) {
7338
7405
  return focused;
7339
7406
  }
7340
7407
 
7341
- function useWindowSize({ window = defaultWindow, initialWidth = Infinity, initialHeight = Infinity } = {}) {
7408
+ function useWindowSize(options = {}) {
7409
+ const {
7410
+ window = defaultWindow,
7411
+ initialWidth = Infinity,
7412
+ initialHeight = Infinity,
7413
+ listenOrientation = true
7414
+ } = options;
7342
7415
  const width = ref(initialWidth);
7343
7416
  const height = ref(initialHeight);
7344
7417
  const update = () => {
@@ -7350,6 +7423,8 @@ function useWindowSize({ window = defaultWindow, initialWidth = Infinity, initia
7350
7423
  update();
7351
7424
  tryOnMounted(update);
7352
7425
  useEventListener("resize", update, { passive: true });
7426
+ if (listenOrientation)
7427
+ useEventListener("orientationchange", update, { passive: true });
7353
7428
  return { width, height };
7354
7429
  }
7355
7430
 
@@ -8835,6 +8910,72 @@ const useFocus = (el) => {
8835
8910
  };
8836
8911
  };
8837
8912
 
8913
+ const defaultNamespace = "el";
8914
+ const statePrefix = "is-";
8915
+ const _bem = (namespace, block, blockSuffix, element, modifier) => {
8916
+ let cls = `${namespace}-${block}`;
8917
+ if (blockSuffix) {
8918
+ cls += `-${blockSuffix}`;
8919
+ }
8920
+ if (element) {
8921
+ cls += `__${element}`;
8922
+ }
8923
+ if (modifier) {
8924
+ cls += `--${modifier}`;
8925
+ }
8926
+ return cls;
8927
+ };
8928
+ const useNamespace = (block) => {
8929
+ const globalConfig = useGlobalConfig("namespace");
8930
+ const namespace = computed$1(() => globalConfig.value || defaultNamespace);
8931
+ const b = (blockSuffix = "") => _bem(unref(namespace), block, blockSuffix, "", "");
8932
+ const e = (element) => element ? _bem(unref(namespace), block, "", element, "") : "";
8933
+ const m = (modifier) => modifier ? _bem(unref(namespace), block, "", "", modifier) : "";
8934
+ const be = (blockSuffix, element) => blockSuffix && element ? _bem(unref(namespace), block, blockSuffix, element, "") : "";
8935
+ const em = (element, modifier) => element && modifier ? _bem(unref(namespace), block, "", element, modifier) : "";
8936
+ const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(unref(namespace), block, blockSuffix, "", modifier) : "";
8937
+ const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(unref(namespace), block, blockSuffix, element, modifier) : "";
8938
+ const is = (name, ...args) => {
8939
+ const state = args.length >= 1 ? args[0] : true;
8940
+ return name && state ? `${statePrefix}${name}` : "";
8941
+ };
8942
+ const cssVar = (object) => {
8943
+ const styles = {};
8944
+ for (const key in object) {
8945
+ if (object[key]) {
8946
+ styles[`--${namespace.value}-${key}`] = object[key];
8947
+ }
8948
+ }
8949
+ return styles;
8950
+ };
8951
+ const cssVarBlock = (object) => {
8952
+ const styles = {};
8953
+ for (const key in object) {
8954
+ if (object[key]) {
8955
+ styles[`--${namespace.value}-${block}-${key}`] = object[key];
8956
+ }
8957
+ }
8958
+ return styles;
8959
+ };
8960
+ const cssVarName = (name) => `--${namespace.value}-${name}`;
8961
+ const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
8962
+ return {
8963
+ namespace,
8964
+ b,
8965
+ e,
8966
+ m,
8967
+ be,
8968
+ em,
8969
+ bm,
8970
+ bem,
8971
+ is,
8972
+ cssVar,
8973
+ cssVarName,
8974
+ cssVarBlock,
8975
+ cssVarBlockName
8976
+ };
8977
+ };
8978
+
8838
8979
  const defaultIdInjection = {
8839
8980
  prefix: Math.floor(Math.random() * 1e4),
8840
8981
  current: 0
@@ -8842,7 +8983,8 @@ const defaultIdInjection = {
8842
8983
  const ID_INJECTION_KEY = Symbol("elIdInjection");
8843
8984
  const useId = (deterministicId) => {
8844
8985
  const idInjection = inject(ID_INJECTION_KEY, defaultIdInjection);
8845
- const idRef = computed$1(() => unref(deterministicId) || `el-id-${idInjection.prefix}-${idInjection.current++}`);
8986
+ const namespace = useGlobalConfig("namespace", defaultNamespace);
8987
+ const idRef = computed$1(() => unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
8846
8988
  return idRef;
8847
8989
  };
8848
8990
 
@@ -9283,72 +9425,6 @@ function computed(getterOrOptions, debugOptions, isSSR = false) {
9283
9425
  return cRef;
9284
9426
  }
9285
9427
 
9286
- const defaultNamespace = "el";
9287
- const statePrefix = "is-";
9288
- const _bem = (namespace, block, blockSuffix, element, modifier) => {
9289
- let cls = `${namespace}-${block}`;
9290
- if (blockSuffix) {
9291
- cls += `-${blockSuffix}`;
9292
- }
9293
- if (element) {
9294
- cls += `__${element}`;
9295
- }
9296
- if (modifier) {
9297
- cls += `--${modifier}`;
9298
- }
9299
- return cls;
9300
- };
9301
- const useNamespace = (block) => {
9302
- const globalConfig = useGlobalConfig("namespace");
9303
- const namespace = computed$1(() => globalConfig.value || defaultNamespace);
9304
- const b = (blockSuffix = "") => _bem(unref(namespace), block, blockSuffix, "", "");
9305
- const e = (element) => element ? _bem(unref(namespace), block, "", element, "") : "";
9306
- const m = (modifier) => modifier ? _bem(unref(namespace), block, "", "", modifier) : "";
9307
- const be = (blockSuffix, element) => blockSuffix && element ? _bem(unref(namespace), block, blockSuffix, element, "") : "";
9308
- const em = (element, modifier) => element && modifier ? _bem(unref(namespace), block, "", element, modifier) : "";
9309
- const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(unref(namespace), block, blockSuffix, "", modifier) : "";
9310
- const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(unref(namespace), block, blockSuffix, element, modifier) : "";
9311
- const is = (name, ...args) => {
9312
- const state = args.length >= 1 ? args[0] : true;
9313
- return name && state ? `${statePrefix}${name}` : "";
9314
- };
9315
- const cssVar = (object) => {
9316
- const styles = {};
9317
- for (const key in object) {
9318
- if (object[key]) {
9319
- styles[`--${namespace.value}-${key}`] = object[key];
9320
- }
9321
- }
9322
- return styles;
9323
- };
9324
- const cssVarBlock = (object) => {
9325
- const styles = {};
9326
- for (const key in object) {
9327
- if (object[key]) {
9328
- styles[`--${namespace.value}-${block}-${key}`] = object[key];
9329
- }
9330
- }
9331
- return styles;
9332
- };
9333
- const cssVarName = (name) => `--${namespace.value}-${name}`;
9334
- const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
9335
- return {
9336
- namespace,
9337
- b,
9338
- e,
9339
- m,
9340
- be,
9341
- em,
9342
- bm,
9343
- bem,
9344
- is,
9345
- cssVar,
9346
- cssVarName,
9347
- cssVarBlock,
9348
- cssVarBlockName
9349
- };
9350
- };
9351
-
9352
9428
  const useLockscreen = (trigger) => {
9353
9429
  if (!isRef(trigger)) {
9354
9430
  throwError("[useLockscreen]", "You need to pass a ref param to this function");
@@ -9360,12 +9436,11 @@ const useLockscreen = (trigger) => {
9360
9436
  }
9361
9437
  let scrollBarWidth = 0;
9362
9438
  let withoutHiddenClass = false;
9363
- let bodyPaddingRight = "0";
9364
- let computedBodyPaddingRight = 0;
9439
+ let bodyWidth = "0";
9365
9440
  const cleanup = () => {
9366
9441
  removeClass(document.body, hiddenCls.value);
9367
9442
  if (withoutHiddenClass) {
9368
- document.body.style.paddingRight = bodyPaddingRight;
9443
+ document.body.style.width = bodyWidth;
9369
9444
  }
9370
9445
  };
9371
9446
  watch(trigger, (val) => {
@@ -9375,14 +9450,13 @@ const useLockscreen = (trigger) => {
9375
9450
  }
9376
9451
  withoutHiddenClass = !hasClass(document.body, hiddenCls.value);
9377
9452
  if (withoutHiddenClass) {
9378
- bodyPaddingRight = document.body.style.paddingRight;
9379
- computedBodyPaddingRight = Number.parseInt(getStyle(document.body, "paddingRight"), 10);
9453
+ bodyWidth = document.body.style.width;
9380
9454
  }
9381
9455
  scrollBarWidth = getScrollBarWidth(ns.namespace.value);
9382
9456
  const bodyHasOverflow = document.documentElement.clientHeight < document.body.scrollHeight;
9383
9457
  const bodyOverflowY = getStyle(document.body, "overflowY");
9384
9458
  if (scrollBarWidth > 0 && (bodyHasOverflow || bodyOverflowY === "scroll") && withoutHiddenClass) {
9385
- document.body.style.paddingRight = `${computedBodyPaddingRight + scrollBarWidth}px`;
9459
+ document.body.style.width = `calc(100% - ${scrollBarWidth}px)`;
9386
9460
  }
9387
9461
  addClass(document.body, hiddenCls.value);
9388
9462
  });
@@ -10898,7 +10972,7 @@ function useCursor(input) {
10898
10972
  return [recordCursor, setCursor];
10899
10973
  }
10900
10974
 
10901
- const version$1 = "2.2.12";
10975
+ const version$1 = "2.2.15";
10902
10976
 
10903
10977
  const makeInstaller = (components = []) => {
10904
10978
  const install = (app, options) => {
@@ -10947,11 +11021,11 @@ var _export_sfc = (sfc, props) => {
10947
11021
  return target;
10948
11022
  };
10949
11023
 
10950
- const __default__$1p = {
11024
+ const __default__$1q = {
10951
11025
  name: "ElAffix"
10952
11026
  };
10953
11027
  const _sfc_main$2f = /* @__PURE__ */ defineComponent({
10954
- ...__default__$1p,
11028
+ ...__default__$1q,
10955
11029
  props: affixProps,
10956
11030
  emits: affixEmits,
10957
11031
  setup(__props, { expose, emit }) {
@@ -11066,12 +11140,12 @@ const iconProps = buildProps({
11066
11140
  }
11067
11141
  });
11068
11142
 
11069
- const __default__$1o = {
11143
+ const __default__$1p = {
11070
11144
  name: "ElIcon",
11071
11145
  inheritAttrs: false
11072
11146
  };
11073
11147
  const _sfc_main$2e = /* @__PURE__ */ defineComponent({
11074
- ...__default__$1o,
11148
+ ...__default__$1p,
11075
11149
  props: iconProps,
11076
11150
  setup(__props) {
11077
11151
  const props = __props;
@@ -11133,11 +11207,11 @@ const alertEmits = {
11133
11207
  close: (evt) => evt instanceof MouseEvent
11134
11208
  };
11135
11209
 
11136
- const __default__$1n = {
11210
+ const __default__$1o = {
11137
11211
  name: "ElAlert"
11138
11212
  };
11139
11213
  const _sfc_main$2d = /* @__PURE__ */ defineComponent({
11140
- ...__default__$1n,
11214
+ ...__default__$1o,
11141
11215
  props: alertProps,
11142
11216
  emits: alertEmits,
11143
11217
  setup(__props, { emit }) {
@@ -11402,15 +11476,15 @@ const inputEmits = {
11402
11476
  compositionend: (evt) => evt instanceof CompositionEvent
11403
11477
  };
11404
11478
 
11405
- const _hoisted_1$13 = ["role"];
11479
+ const _hoisted_1$14 = ["role"];
11406
11480
  const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
11407
11481
  const _hoisted_3$m = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
11408
- const __default__$1m = {
11482
+ const __default__$1n = {
11409
11483
  name: "ElInput",
11410
11484
  inheritAttrs: false
11411
11485
  };
11412
11486
  const _sfc_main$2c = /* @__PURE__ */ defineComponent({
11413
- ...__default__$1m,
11487
+ ...__default__$1n,
11414
11488
  props: inputProps,
11415
11489
  emits: inputEmits,
11416
11490
  setup(__props, { expose, emit }) {
@@ -11829,7 +11903,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
11829
11903
  class: normalizeClass(unref(nsInput).e("count"))
11830
11904
  }, toDisplayString(unref(textLength)) + " / " + toDisplayString(unref(attrs).maxlength), 7)) : createCommentVNode("v-if", true)
11831
11905
  ], 64))
11832
- ], 16, _hoisted_1$13)), [
11906
+ ], 16, _hoisted_1$14)), [
11833
11907
  [vShow, _ctx.type !== "hidden"]
11834
11908
  ]);
11835
11909
  };
@@ -12104,11 +12178,11 @@ const scrollbarEmits = {
12104
12178
  }) => [scrollTop, scrollLeft].every(isNumber)
12105
12179
  };
12106
12180
 
12107
- const __default__$1l = {
12181
+ const __default__$1m = {
12108
12182
  name: "ElScrollbar"
12109
12183
  };
12110
12184
  const _sfc_main$29 = /* @__PURE__ */ defineComponent({
12111
- ...__default__$1l,
12185
+ ...__default__$1m,
12112
12186
  props: scrollbarProps,
12113
12187
  emits: scrollbarEmits,
12114
12188
  setup(__props, { expose, emit }) {
@@ -12271,12 +12345,12 @@ const usePopperProps = buildProps({
12271
12345
  }
12272
12346
  });
12273
12347
 
12274
- const __default__$1k = {
12348
+ const __default__$1l = {
12275
12349
  name: "ElPopperRoot",
12276
12350
  inheritAttrs: false
12277
12351
  };
12278
12352
  const _sfc_main$28 = /* @__PURE__ */ defineComponent({
12279
- ...__default__$1k,
12353
+ ...__default__$1l,
12280
12354
  props: usePopperProps,
12281
12355
  setup(__props, { expose }) {
12282
12356
  const props = __props;
@@ -12308,12 +12382,12 @@ const usePopperArrowProps = buildProps({
12308
12382
  }
12309
12383
  });
12310
12384
 
12311
- const __default__$1j = {
12385
+ const __default__$1k = {
12312
12386
  name: "ElPopperArrow",
12313
12387
  inheritAttrs: false
12314
12388
  };
12315
12389
  const _sfc_main$27 = /* @__PURE__ */ defineComponent({
12316
- ...__default__$1j,
12390
+ ...__default__$1k,
12317
12391
  props: usePopperArrowProps,
12318
12392
  setup(__props, { expose }) {
12319
12393
  const props = __props;
@@ -12389,8 +12463,9 @@ function findFirstLegitChild(node) {
12389
12463
  return null;
12390
12464
  }
12391
12465
  function wrapTextContent(s) {
12466
+ const ns = useNamespace("only-child");
12392
12467
  return createVNode("span", {
12393
- "class": "el-only-child__content"
12468
+ "class": ns.e("content")
12394
12469
  }, [s]);
12395
12470
  }
12396
12471
 
@@ -12410,12 +12485,12 @@ const usePopperTriggerProps = buildProps({
12410
12485
  open: Boolean
12411
12486
  });
12412
12487
 
12413
- const __default__$1i = {
12488
+ const __default__$1j = {
12414
12489
  name: "ElPopperTrigger",
12415
12490
  inheritAttrs: false
12416
12491
  };
12417
12492
  const _sfc_main$26 = /* @__PURE__ */ defineComponent({
12418
- ...__default__$1i,
12493
+ ...__default__$1j,
12419
12494
  props: usePopperTriggerProps,
12420
12495
  setup(__props, { expose }) {
12421
12496
  const props = __props;
@@ -12817,10 +12892,10 @@ const _sfc_main$25 = defineComponent({
12817
12892
  };
12818
12893
  }
12819
12894
  });
12820
- function _sfc_render$F(_ctx, _cache, $props, $setup, $data, $options) {
12895
+ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
12821
12896
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
12822
12897
  }
12823
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$F], ["__file", "focus-trap.vue"]]);
12898
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$E], ["__file", "focus-trap.vue"]]);
12824
12899
 
12825
12900
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
12826
12901
  const usePopperCoreConfigProps = buildProps({
@@ -12977,11 +13052,11 @@ function deriveExtraModifiers(options, modifiers) {
12977
13052
  }
12978
13053
  }
12979
13054
 
12980
- const __default__$1h = {
13055
+ const __default__$1i = {
12981
13056
  name: "ElPopperContent"
12982
13057
  };
12983
13058
  const _sfc_main$24 = /* @__PURE__ */ defineComponent({
12984
- ...__default__$1h,
13059
+ ...__default__$1i,
12985
13060
  props: usePopperContentProps,
12986
13061
  emits: usePopperContentEmits,
12987
13062
  setup(__props, { expose, emit }) {
@@ -13352,7 +13427,7 @@ const _sfc_main$23 = defineComponent({
13352
13427
  };
13353
13428
  }
13354
13429
  });
13355
- function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
13430
+ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13356
13431
  const _component_el_popper_content = resolveComponent("el-popper-content");
13357
13432
  return openBlock(), createBlock(Teleport, {
13358
13433
  disabled: !_ctx.teleported,
@@ -13407,7 +13482,7 @@ function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
13407
13482
  }, 8, ["name", "onAfterLeave", "onBeforeEnter", "onAfterEnter", "onBeforeLeave"])
13408
13483
  ], 8, ["disabled", "to"]);
13409
13484
  }
13410
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$E], ["__file", "content.vue"]]);
13485
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$D], ["__file", "content.vue"]]);
13411
13486
 
13412
13487
  const isTriggerType = (trigger, type) => {
13413
13488
  if (isArray(trigger)) {
@@ -13472,7 +13547,7 @@ const _sfc_main$22 = defineComponent({
13472
13547
  };
13473
13548
  }
13474
13549
  });
13475
- function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13550
+ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13476
13551
  const _component_el_popper_trigger = resolveComponent("el-popper-trigger");
13477
13552
  return openBlock(), createBlock(_component_el_popper_trigger, {
13478
13553
  id: _ctx.id,
@@ -13494,7 +13569,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13494
13569
  _: 3
13495
13570
  }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]);
13496
13571
  }
13497
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$D], ["__file", "trigger.vue"]]);
13572
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$C], ["__file", "trigger.vue"]]);
13498
13573
 
13499
13574
  const { useModelToggleProps, useModelToggle, useModelToggleEmits } = createModelToggleComposable("visible");
13500
13575
  const _sfc_main$21 = defineComponent({
@@ -13612,9 +13687,9 @@ const _sfc_main$21 = defineComponent({
13612
13687
  };
13613
13688
  }
13614
13689
  });
13615
- const _hoisted_1$12 = ["innerHTML"];
13690
+ const _hoisted_1$13 = ["innerHTML"];
13616
13691
  const _hoisted_2$F = { key: 1 };
13617
- function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13692
+ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13618
13693
  const _component_el_tooltip_trigger = resolveComponent("el-tooltip-trigger");
13619
13694
  const _component_el_popper_arrow = resolveComponent("el-popper-arrow");
13620
13695
  const _component_el_tooltip_content = resolveComponent("el-tooltip-content");
@@ -13670,7 +13745,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13670
13745
  _ctx.rawContent ? (openBlock(), createElementBlock("span", {
13671
13746
  key: 0,
13672
13747
  innerHTML: _ctx.content
13673
- }, null, 8, _hoisted_1$12)) : (openBlock(), createElementBlock("span", _hoisted_2$F, toDisplayString(_ctx.content), 1))
13748
+ }, null, 8, _hoisted_1$13)) : (openBlock(), createElementBlock("span", _hoisted_2$F, toDisplayString(_ctx.content), 1))
13674
13749
  ]),
13675
13750
  _ctx.compatShowArrow ? (openBlock(), createBlock(_component_el_popper_arrow, {
13676
13751
  key: 0,
@@ -13683,7 +13758,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13683
13758
  _: 3
13684
13759
  }, 8, ["role"]);
13685
13760
  }
13686
- var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$C], ["__file", "tooltip.vue"]]);
13761
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$B], ["__file", "tooltip.vue"]]);
13687
13762
 
13688
13763
  const ElTooltip = withInstall(Tooltip);
13689
13764
 
@@ -13755,15 +13830,15 @@ const autocompleteEmits = {
13755
13830
  select: (item) => isObject$1(item)
13756
13831
  };
13757
13832
 
13758
- const _hoisted_1$11 = ["aria-expanded", "aria-owns"];
13833
+ const _hoisted_1$12 = ["aria-expanded", "aria-owns"];
13759
13834
  const _hoisted_2$E = { key: 0 };
13760
13835
  const _hoisted_3$l = ["id", "aria-selected", "onClick"];
13761
- const __default__$1g = {
13836
+ const __default__$1h = {
13762
13837
  name: "ElAutocomplete",
13763
13838
  inheritAttrs: false
13764
13839
  };
13765
13840
  const _sfc_main$20 = /* @__PURE__ */ defineComponent({
13766
- ...__default__$1g,
13841
+ ...__default__$1h,
13767
13842
  props: autocompleteProps,
13768
13843
  emits: autocompleteEmits,
13769
13844
  setup(__props, { expose, emit }) {
@@ -14080,7 +14155,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
14080
14155
  ])
14081
14156
  } : void 0
14082
14157
  ]), 1040, ["model-value", "onKeydown"])
14083
- ], 14, _hoisted_1$11)
14158
+ ], 14, _hoisted_1$12)
14084
14159
  ]),
14085
14160
  _: 3
14086
14161
  }, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
@@ -14121,12 +14196,12 @@ const avatarEmits = {
14121
14196
  error: (evt) => evt instanceof Event
14122
14197
  };
14123
14198
 
14124
- const _hoisted_1$10 = ["src", "alt", "srcset"];
14125
- const __default__$1f = {
14199
+ const _hoisted_1$11 = ["src", "alt", "srcset"];
14200
+ const __default__$1g = {
14126
14201
  name: "ElAvatar"
14127
14202
  };
14128
14203
  const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
14129
- ...__default__$1f,
14204
+ ...__default__$1g,
14130
14205
  props: avatarProps,
14131
14206
  emits: avatarEmits,
14132
14207
  setup(__props, { emit }) {
@@ -14170,7 +14245,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
14170
14245
  srcset: _ctx.srcSet,
14171
14246
  style: normalizeStyle(unref(fitStyle)),
14172
14247
  onError: handleError
14173
- }, null, 44, _hoisted_1$10)) : _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
14248
+ }, null, 44, _hoisted_1$11)) : _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
14174
14249
  default: withCtx(() => [
14175
14250
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
14176
14251
  ]),
@@ -14206,12 +14281,12 @@ const backtopEmits = {
14206
14281
  click: (evt) => evt instanceof MouseEvent
14207
14282
  };
14208
14283
 
14209
- const _hoisted_1$$ = ["onClick"];
14210
- const __default__$1e = {
14284
+ const _hoisted_1$10 = ["onClick"];
14285
+ const __default__$1f = {
14211
14286
  name: "ElBacktop"
14212
14287
  };
14213
14288
  const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14214
- ...__default__$1e,
14289
+ ...__default__$1f,
14215
14290
  props: backtopProps,
14216
14291
  emits: backtopEmits,
14217
14292
  setup(__props, { emit }) {
@@ -14286,7 +14361,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14286
14361
  _: 1
14287
14362
  }, 8, ["class"])
14288
14363
  ])
14289
- ], 14, _hoisted_1$$)) : createCommentVNode("v-if", true)
14364
+ ], 14, _hoisted_1$10)) : createCommentVNode("v-if", true)
14290
14365
  ]),
14291
14366
  _: 3
14292
14367
  }, 8, ["name"]);
@@ -14315,12 +14390,12 @@ const badgeProps = buildProps({
14315
14390
  }
14316
14391
  });
14317
14392
 
14318
- const _hoisted_1$_ = ["textContent"];
14319
- const __default__$1d = {
14393
+ const _hoisted_1$$ = ["textContent"];
14394
+ const __default__$1e = {
14320
14395
  name: "ElBadge"
14321
14396
  };
14322
14397
  const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
14323
- ...__default__$1d,
14398
+ ...__default__$1e,
14324
14399
  props: badgeProps,
14325
14400
  setup(__props, { expose }) {
14326
14401
  const props = __props;
@@ -14354,7 +14429,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
14354
14429
  unref(ns).is("dot", _ctx.isDot)
14355
14430
  ]),
14356
14431
  textContent: toDisplayString(unref(content))
14357
- }, null, 10, _hoisted_1$_), [
14432
+ }, null, 10, _hoisted_1$$), [
14358
14433
  [vShow, !_ctx.hidden && (unref(content) || _ctx.isDot)]
14359
14434
  ])
14360
14435
  ]),
@@ -14379,11 +14454,11 @@ const breadcrumbProps = buildProps({
14379
14454
  }
14380
14455
  });
14381
14456
 
14382
- const __default__$1c = {
14457
+ const __default__$1d = {
14383
14458
  name: "ElBreadcrumb"
14384
14459
  };
14385
14460
  const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
14386
- ...__default__$1c,
14461
+ ...__default__$1d,
14387
14462
  props: breadcrumbProps,
14388
14463
  setup(__props) {
14389
14464
  const props = __props;
@@ -14422,11 +14497,11 @@ const breadcrumbItemProps = buildProps({
14422
14497
  }
14423
14498
  });
14424
14499
 
14425
- const __default__$1b = {
14500
+ const __default__$1c = {
14426
14501
  name: "ElBreadcrumbItem"
14427
14502
  };
14428
14503
  const _sfc_main$1X = /* @__PURE__ */ defineComponent({
14429
- ...__default__$1b,
14504
+ ...__default__$1c,
14430
14505
  props: breadcrumbItemProps,
14431
14506
  setup(__props) {
14432
14507
  const props = __props;
@@ -15456,12 +15531,12 @@ function useButtonCustomStyle(props) {
15456
15531
  });
15457
15532
  }
15458
15533
 
15459
- const _hoisted_1$Z = ["aria-disabled", "disabled", "autofocus", "type"];
15460
- const __default__$1a = {
15534
+ const _hoisted_1$_ = ["aria-disabled", "disabled", "autofocus", "type"];
15535
+ const __default__$1b = {
15461
15536
  name: "ElButton"
15462
15537
  };
15463
15538
  const _sfc_main$1W = /* @__PURE__ */ defineComponent({
15464
- ...__default__$1a,
15539
+ ...__default__$1b,
15465
15540
  props: buttonProps,
15466
15541
  emits: buttonEmits,
15467
15542
  setup(__props, { expose, emit }) {
@@ -15558,7 +15633,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
15558
15633
  }, [
15559
15634
  renderSlot(_ctx.$slots, "default")
15560
15635
  ], 2)) : createCommentVNode("v-if", true)
15561
- ], 14, _hoisted_1$Z);
15636
+ ], 14, _hoisted_1$_);
15562
15637
  };
15563
15638
  }
15564
15639
  });
@@ -15569,11 +15644,11 @@ const buttonGroupProps = {
15569
15644
  type: buttonProps.type
15570
15645
  };
15571
15646
 
15572
- const __default__$19 = {
15647
+ const __default__$1a = {
15573
15648
  name: "ElButtonGroup"
15574
15649
  };
15575
15650
  const _sfc_main$1V = /* @__PURE__ */ defineComponent({
15576
- ...__default__$19,
15651
+ ...__default__$1a,
15577
15652
  props: buttonGroupProps,
15578
15653
  setup(__props) {
15579
15654
  const props = __props;
@@ -16223,13 +16298,13 @@ const timePickerDefaultProps = buildProps({
16223
16298
  unlinkPanels: Boolean
16224
16299
  });
16225
16300
 
16226
- const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16301
+ const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16227
16302
  const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16228
- const __default__$18 = {
16303
+ const __default__$19 = {
16229
16304
  name: "Picker"
16230
16305
  };
16231
16306
  const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16232
- ...__default__$18,
16307
+ ...__default__$19,
16233
16308
  props: timePickerDefaultProps,
16234
16309
  emits: [
16235
16310
  "update:modelValue",
@@ -16247,8 +16322,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16247
16322
  const nsDate = useNamespace("date");
16248
16323
  const nsInput = useNamespace("input");
16249
16324
  const nsRange = useNamespace("range");
16250
- const elForm = inject(formContextKey, {});
16251
- const elFormItem = inject(formItemContextKey, {});
16325
+ const { form, formItem } = useFormItem();
16252
16326
  const elPopperOptions = inject("ElPopperOptions", {});
16253
16327
  const refPopper = ref();
16254
16328
  const inputRef = ref();
@@ -16268,10 +16342,9 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16268
16342
  }
16269
16343
  });
16270
16344
  const emitChange = (val, isClear) => {
16271
- var _a;
16272
16345
  if (isClear || !valueEquals(val, valueOnOpen.value)) {
16273
16346
  emit("change", val);
16274
- props.validateEvent && ((_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn()));
16347
+ props.validateEvent && (formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn()));
16275
16348
  }
16276
16349
  };
16277
16350
  const emitInput = (input) => {
@@ -16365,7 +16438,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16365
16438
  const handleBlurInput = (e) => {
16366
16439
  const handleBlurDefer = async () => {
16367
16440
  setTimeout(() => {
16368
- var _a, _b;
16441
+ var _a;
16369
16442
  if (currentHandleBlurDeferCallback === handleBlurDefer) {
16370
16443
  if (!(((_a = refPopper.value) == null ? void 0 : _a.isFocusInsideContent()) && !hasJustTabExitedInput) && refInput.value.filter((input) => {
16371
16444
  return input.contains(document.activeElement);
@@ -16373,7 +16446,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16373
16446
  handleChange();
16374
16447
  pickerVisible.value = false;
16375
16448
  emit("blur", e);
16376
- props.validateEvent && ((_b = elFormItem.validate) == null ? void 0 : _b.call(elFormItem, "blur").catch((err) => debugWarn()));
16449
+ props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn()));
16377
16450
  }
16378
16451
  hasJustTabExitedInput = false;
16379
16452
  }
@@ -16383,7 +16456,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16383
16456
  handleBlurDefer();
16384
16457
  };
16385
16458
  const pickerDisabled = computed$1(() => {
16386
- return props.disabled || elForm.disabled;
16459
+ return props.disabled || (form == null ? void 0 : form.disabled);
16387
16460
  });
16388
16461
  const parsedValue = computed$1(() => {
16389
16462
  let dayOrDays;
@@ -16777,7 +16850,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16777
16850
  onChange: handleStartChange,
16778
16851
  onFocus: handleFocusInput,
16779
16852
  onBlur: handleBlurInput
16780
- }, null, 42, _hoisted_1$Y),
16853
+ }, null, 42, _hoisted_1$Z),
16781
16854
  renderSlot(_ctx.$slots, "range-separator", {}, () => [
16782
16855
  createElementVNode("span", {
16783
16856
  class: normalizeClass(unref(nsRange).b("separator"))
@@ -17138,7 +17211,7 @@ const basicTimeSpinnerProps = buildProps({
17138
17211
  ...disabledTimeListsProps
17139
17212
  });
17140
17213
 
17141
- const _hoisted_1$X = ["onClick"];
17214
+ const _hoisted_1$Y = ["onClick"];
17142
17215
  const _hoisted_2$C = ["onMouseenter"];
17143
17216
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
17144
17217
  __name: "basic-time-spinner",
@@ -17247,13 +17320,21 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
17247
17320
  emitSelectRange("hours");
17248
17321
  }
17249
17322
  const label = currentScrollbar.value;
17250
- let now = unref(timePartials)[label];
17323
+ const now = unref(timePartials)[label];
17251
17324
  const total = currentScrollbar.value === "hours" ? 24 : 60;
17252
- now = (now + step + total) % total;
17253
- modifyDateField(label, now);
17254
- adjustSpinner(label, now);
17325
+ const next = findNextUnDisabled(label, now, step, total);
17326
+ modifyDateField(label, next);
17327
+ adjustSpinner(label, next);
17255
17328
  nextTick(() => emitSelectRange(label));
17256
17329
  };
17330
+ const findNextUnDisabled = (type, now, step, total) => {
17331
+ let next = (now + step + total) % total;
17332
+ const list = unref(timeList)[type];
17333
+ while (list[next] && next !== now) {
17334
+ next = (next + step + total) % total;
17335
+ }
17336
+ return next;
17337
+ };
17257
17338
  const modifyDateField = (type, value) => {
17258
17339
  const list = unref(timeList)[type];
17259
17340
  const isDisabled = list[value];
@@ -17354,7 +17435,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
17354
17435
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
17355
17436
  createTextVNode(toDisplayString(("0" + key).slice(-2)), 1)
17356
17437
  ], 64))
17357
- ], 10, _hoisted_1$X);
17438
+ ], 10, _hoisted_1$Y);
17358
17439
  }), 128))
17359
17440
  ]),
17360
17441
  _: 2
@@ -17577,7 +17658,7 @@ const panelTimeRangeProps = buildProps({
17577
17658
  }
17578
17659
  });
17579
17660
 
17580
- const _hoisted_1$W = ["disabled"];
17661
+ const _hoisted_1$X = ["disabled"];
17581
17662
  const _sfc_main$1R = /* @__PURE__ */ defineComponent({
17582
17663
  __name: "panel-time-range",
17583
17664
  props: panelTimeRangeProps,
@@ -17838,7 +17919,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
17838
17919
  class: normalizeClass([unref(nsTime).be("panel", "btn"), "confirm"]),
17839
17920
  disabled: unref(btnConfirmDisabled),
17840
17921
  onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
17841
- }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$W)
17922
+ }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$X)
17842
17923
  ], 2)
17843
17924
  ], 2)) : createCommentVNode("v-if", true);
17844
17925
  };
@@ -17925,13 +18006,13 @@ const dateTableEmits = {
17925
18006
  pick: (value) => isObject$1(value)
17926
18007
  };
17927
18008
 
17928
- const _hoisted_1$V = { key: 0 };
18009
+ const _hoisted_1$W = { key: 0 };
17929
18010
  const _hoisted_2$B = ["onClick"];
17930
- const __default__$17 = {
18011
+ const __default__$18 = {
17931
18012
  name: "DateTable"
17932
18013
  };
17933
18014
  const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
17934
- ...__default__$17,
18015
+ ...__default__$18,
17935
18016
  props: dateTableProps,
17936
18017
  emits: dateTableEmits,
17937
18018
  setup(__props, { expose, emit }) {
@@ -18031,7 +18112,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
18031
18112
  cellspacing: "0",
18032
18113
  cellpadding: "0"
18033
18114
  }, [
18034
- !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$V, [
18115
+ !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$W, [
18035
18116
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekDays), (day) => {
18036
18117
  return openBlock(), createElementBlock("th", { key: day }, toDisplayString(day), 1);
18037
18118
  }), 128))
@@ -18086,11 +18167,11 @@ const calendarEmits = {
18086
18167
  [INPUT_EVENT]: (value) => isDate(value)
18087
18168
  };
18088
18169
 
18089
- const __default__$16 = {
18170
+ const __default__$17 = {
18090
18171
  name: "ElCalendar"
18091
18172
  };
18092
18173
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18093
- ...__default__$16,
18174
+ ...__default__$17,
18094
18175
  props: calendarProps,
18095
18176
  emits: calendarEmits,
18096
18177
  setup(__props, { expose, emit }) {
@@ -18321,11 +18402,11 @@ const cardProps = buildProps({
18321
18402
  }
18322
18403
  });
18323
18404
 
18324
- const __default__$15 = {
18405
+ const __default__$16 = {
18325
18406
  name: "ElCard"
18326
18407
  };
18327
18408
  const _sfc_main$1O = /* @__PURE__ */ defineComponent({
18328
- ...__default__$15,
18409
+ ...__default__$16,
18329
18410
  props: cardProps,
18330
18411
  setup(__props) {
18331
18412
  const ns = useNamespace("card");
@@ -18414,14 +18495,14 @@ const carouselEmits = {
18414
18495
  change: (current, prev) => [current, prev].every(isNumber)
18415
18496
  };
18416
18497
 
18417
- const _hoisted_1$U = ["onMouseenter", "onMouseleave"];
18498
+ const _hoisted_1$V = ["onMouseenter", "onMouseleave"];
18418
18499
  const _hoisted_2$A = ["onMouseenter", "onClick"];
18419
18500
  const _hoisted_3$k = { key: 0 };
18420
- const __default__$14 = {
18501
+ const __default__$15 = {
18421
18502
  name: "ElCarousel"
18422
18503
  };
18423
18504
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18424
- ...__default__$14,
18505
+ ...__default__$15,
18425
18506
  props: carouselProps,
18426
18507
  emits: carouselEmits,
18427
18508
  setup(__props, { expose, emit }) {
@@ -18724,7 +18805,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18724
18805
  ], 42, _hoisted_2$A);
18725
18806
  }), 128))
18726
18807
  ], 2)) : createCommentVNode("v-if", true)
18727
- ], 42, _hoisted_1$U);
18808
+ ], 42, _hoisted_1$V);
18728
18809
  };
18729
18810
  }
18730
18811
  });
@@ -18738,11 +18819,11 @@ const carouselItemProps = buildProps({
18738
18819
  }
18739
18820
  });
18740
18821
 
18741
- const __default__$13 = {
18822
+ const __default__$14 = {
18742
18823
  name: "ElCarouselItem"
18743
18824
  };
18744
18825
  const _sfc_main$1M = /* @__PURE__ */ defineComponent({
18745
- ...__default__$13,
18826
+ ...__default__$14,
18746
18827
  props: carouselItemProps,
18747
18828
  setup(__props) {
18748
18829
  const props = __props;
@@ -18961,12 +19042,11 @@ const checkboxProps = {
18961
19042
  }
18962
19043
  };
18963
19044
  const useCheckboxGroup = () => {
18964
- const elForm = inject(formContextKey, {});
18965
- const elFormItem = inject(formItemContextKey, {});
19045
+ const { form: elForm, formItem: elFormItem } = useFormItem();
18966
19046
  const checkboxGroup = inject("CheckboxGroup", {});
18967
19047
  const isGroup = computed$1(() => checkboxGroup && (checkboxGroup == null ? void 0 : checkboxGroup.name) === "ElCheckboxGroup");
18968
19048
  const elFormItemSize = computed$1(() => {
18969
- return elFormItem.size;
19049
+ return elFormItem == null ? void 0 : elFormItem.size;
18970
19050
  });
18971
19051
  return {
18972
19052
  isGroup,
@@ -19022,7 +19102,7 @@ const useCheckboxStatus = (props, slots, { model }) => {
19022
19102
  if (toTypeString(value) === "[object Boolean]") {
19023
19103
  return value;
19024
19104
  } else if (Array.isArray(value)) {
19025
- return value.includes(props.label);
19105
+ return value.map(toRaw$1).includes(props.label);
19026
19106
  } else if (value !== null && value !== void 0) {
19027
19107
  return value === props.trueLabel;
19028
19108
  } else {
@@ -19111,9 +19191,8 @@ const useEvent$1 = (props, {
19111
19191
  return ((_a = checkboxGroup.validateEvent) == null ? void 0 : _a.value) || props.validateEvent;
19112
19192
  });
19113
19193
  watch(() => props.modelValue, () => {
19114
- var _a;
19115
19194
  if (validateEvent.value) {
19116
- (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
19195
+ elFormItem == null ? void 0 : elFormItem.validate("change").catch((err) => debugWarn());
19117
19196
  }
19118
19197
  });
19119
19198
  return {
@@ -19165,14 +19244,14 @@ const useCheckbox = (props, slots) => {
19165
19244
  };
19166
19245
  };
19167
19246
 
19168
- const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
19247
+ const _hoisted_1$U = ["tabindex", "role", "aria-checked"];
19169
19248
  const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
19170
19249
  const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
19171
- const __default__$12 = {
19250
+ const __default__$13 = {
19172
19251
  name: "ElCheckbox"
19173
19252
  };
19174
19253
  const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19175
- ...__default__$12,
19254
+ ...__default__$13,
19176
19255
  props: checkboxProps,
19177
19256
  emits: checkboxEmits,
19178
19257
  setup(__props) {
@@ -19253,7 +19332,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19253
19332
  createElementVNode("span", {
19254
19333
  class: normalizeClass(unref(ns).e("inner"))
19255
19334
  }, null, 2)
19256
- ], 10, _hoisted_1$T),
19335
+ ], 10, _hoisted_1$U),
19257
19336
  unref(hasOwnLabel) ? (openBlock(), createElementBlock("span", {
19258
19337
  key: 0,
19259
19338
  class: normalizeClass(unref(ns).e("label"))
@@ -19271,13 +19350,13 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19271
19350
  });
19272
19351
  var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox.vue"]]);
19273
19352
 
19274
- const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
19353
+ const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
19275
19354
  const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
19276
- const __default__$11 = {
19355
+ const __default__$12 = {
19277
19356
  name: "ElCheckboxButton"
19278
19357
  };
19279
19358
  const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19280
- ...__default__$11,
19359
+ ...__default__$12,
19281
19360
  props: checkboxProps,
19282
19361
  emits: checkboxEmits,
19283
19362
  setup(__props) {
@@ -19319,7 +19398,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19319
19398
  onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
19320
19399
  onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
19321
19400
  onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
19322
- }, null, 42, _hoisted_1$S)), [
19401
+ }, null, 42, _hoisted_1$T)), [
19323
19402
  [vModelCheckbox, unref(model)]
19324
19403
  ]) : withDirectives((openBlock(), createElementBlock("input", {
19325
19404
  key: 1,
@@ -19351,11 +19430,11 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19351
19430
  });
19352
19431
  var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "checkbox-button.vue"]]);
19353
19432
 
19354
- const __default__$10 = {
19433
+ const __default__$11 = {
19355
19434
  name: "ElCheckboxGroup"
19356
19435
  };
19357
19436
  const _sfc_main$1J = /* @__PURE__ */ defineComponent({
19358
- ...__default__$10,
19437
+ ...__default__$11,
19359
19438
  props: useCheckboxGroupProps,
19360
19439
  emits: checkboxGroupEmits,
19361
19440
  setup(__props, { emit }) {
@@ -19388,18 +19467,18 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
19388
19467
  changeEvent
19389
19468
  });
19390
19469
  watch(() => props.modelValue, () => {
19391
- var _a;
19392
19470
  if (props.validateEvent) {
19393
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
19471
+ elFormItem == null ? void 0 : elFormItem.validate("change").catch((err) => debugWarn());
19394
19472
  }
19395
19473
  });
19396
19474
  return (_ctx, _cache) => {
19475
+ var _a;
19397
19476
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
19398
19477
  id: unref(groupId),
19399
19478
  class: normalizeClass(unref(ns).b("group")),
19400
19479
  role: "group",
19401
19480
  "aria-label": !unref(isLabeledByFormItem) ? _ctx.label || "checkbox-group" : void 0,
19402
- "aria-labelledby": unref(isLabeledByFormItem) ? unref(elFormItem).labelId : void 0
19481
+ "aria-labelledby": unref(isLabeledByFormItem) ? (_a = unref(elFormItem)) == null ? void 0 : _a.labelId : void 0
19403
19482
  }, {
19404
19483
  default: withCtx(() => [
19405
19484
  renderSlot(_ctx.$slots, "default")
@@ -19478,12 +19557,12 @@ const useRadio = (props, emit) => {
19478
19557
  };
19479
19558
  };
19480
19559
 
19481
- const _hoisted_1$R = ["value", "name", "disabled"];
19482
- const __default__$$ = {
19560
+ const _hoisted_1$S = ["value", "name", "disabled"];
19561
+ const __default__$10 = {
19483
19562
  name: "ElRadio"
19484
19563
  };
19485
19564
  const _sfc_main$1I = /* @__PURE__ */ defineComponent({
19486
- ...__default__$$,
19565
+ ...__default__$10,
19487
19566
  props: radioProps,
19488
19567
  emits: radioEmits,
19489
19568
  setup(__props, { emit }) {
@@ -19524,7 +19603,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
19524
19603
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19525
19604
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
19526
19605
  onChange: handleChange
19527
- }, null, 42, _hoisted_1$R), [
19606
+ }, null, 42, _hoisted_1$S), [
19528
19607
  [vModelRadio, unref(modelValue)]
19529
19608
  ]),
19530
19609
  createElementVNode("span", {
@@ -19554,12 +19633,12 @@ const radioButtonProps = buildProps({
19554
19633
  }
19555
19634
  });
19556
19635
 
19557
- const _hoisted_1$Q = ["value", "name", "disabled"];
19558
- const __default__$_ = {
19636
+ const _hoisted_1$R = ["value", "name", "disabled"];
19637
+ const __default__$$ = {
19559
19638
  name: "ElRadioButton"
19560
19639
  };
19561
19640
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
19562
- ...__default__$_,
19641
+ ...__default__$$,
19563
19642
  props: radioButtonProps,
19564
19643
  setup(__props) {
19565
19644
  const props = __props;
@@ -19595,7 +19674,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
19595
19674
  disabled: unref(disabled),
19596
19675
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19597
19676
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false)
19598
- }, null, 42, _hoisted_1$Q), [
19677
+ }, null, 42, _hoisted_1$R), [
19599
19678
  [vModelRadio, unref(modelValue)]
19600
19679
  ]),
19601
19680
  createElementVNode("span", {
@@ -19648,12 +19727,12 @@ const radioGroupProps = buildProps({
19648
19727
  });
19649
19728
  const radioGroupEmits = radioEmits;
19650
19729
 
19651
- const _hoisted_1$P = ["id", "aria-label", "aria-labelledby"];
19652
- const __default__$Z = {
19730
+ const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
19731
+ const __default__$_ = {
19653
19732
  name: "ElRadioGroup"
19654
19733
  };
19655
19734
  const _sfc_main$1G = /* @__PURE__ */ defineComponent({
19656
- ...__default__$Z,
19735
+ ...__default__$_,
19657
19736
  props: radioGroupProps,
19658
19737
  emits: radioGroupEmits,
19659
19738
  setup(__props, { emit }) {
@@ -19700,7 +19779,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
19700
19779
  "aria-labelledby": unref(isLabeledByFormItem) ? unref(formItem).labelId : void 0
19701
19780
  }, [
19702
19781
  renderSlot(_ctx.$slots, "default")
19703
- ], 10, _hoisted_1$P);
19782
+ ], 10, _hoisted_1$Q);
19704
19783
  };
19705
19784
  }
19706
19785
  });
@@ -19852,9 +19931,9 @@ const _sfc_main$1F = defineComponent({
19852
19931
  };
19853
19932
  }
19854
19933
  });
19855
- const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19934
+ const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19856
19935
  const _hoisted_2$x = /* @__PURE__ */ createElementVNode("span", null, null, -1);
19857
- function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
19936
+ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
19858
19937
  const _component_el_checkbox = resolveComponent("el-checkbox");
19859
19938
  const _component_el_radio = resolveComponent("el-radio");
19860
19939
  const _component_check = resolveComponent("check");
@@ -19935,9 +20014,9 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
19935
20014
  _: 1
19936
20015
  }, 8, ["class"]))
19937
20016
  ], 64)) : createCommentVNode("v-if", true)
19938
- ], 42, _hoisted_1$O);
20017
+ ], 42, _hoisted_1$P);
19939
20018
  }
19940
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$B], ["__file", "node.vue"]]);
20019
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$A], ["__file", "node.vue"]]);
19941
20020
 
19942
20021
  const _sfc_main$1E = defineComponent({
19943
20022
  name: "ElCascaderMenu",
@@ -20017,7 +20096,7 @@ const _sfc_main$1E = defineComponent({
20017
20096
  };
20018
20097
  }
20019
20098
  });
20020
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
20099
+ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20021
20100
  const _component_el_cascader_node = resolveComponent("el-cascader-node");
20022
20101
  const _component_loading = resolveComponent("loading");
20023
20102
  const _component_el_icon = resolveComponent("el-icon");
@@ -20070,7 +20149,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
20070
20149
  _: 1
20071
20150
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
20072
20151
  }
20073
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$A], ["__file", "menu.vue"]]);
20152
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$z], ["__file", "menu.vue"]]);
20074
20153
 
20075
20154
  var ExpandTrigger = /* @__PURE__ */ ((ExpandTrigger2) => {
20076
20155
  ExpandTrigger2["CLICK"] = "click";
@@ -20545,7 +20624,7 @@ const _sfc_main$1D = defineComponent({
20545
20624
  };
20546
20625
  }
20547
20626
  });
20548
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20627
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20549
20628
  const _component_el_cascader_menu = resolveComponent("el-cascader-menu");
20550
20629
  return openBlock(), createElementBlock("div", {
20551
20630
  class: normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
@@ -20562,7 +20641,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20562
20641
  }), 128))
20563
20642
  ], 34);
20564
20643
  }
20565
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$z], ["__file", "index.vue"]]);
20644
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$y], ["__file", "index.vue"]]);
20566
20645
 
20567
20646
  CascaderPanel.install = (app) => {
20568
20647
  app.component(CascaderPanel.name, CascaderPanel);
@@ -20600,11 +20679,11 @@ const tagEmits = {
20600
20679
  click: (evt) => evt instanceof MouseEvent
20601
20680
  };
20602
20681
 
20603
- const __default__$Y = {
20682
+ const __default__$Z = {
20604
20683
  name: "ElTag"
20605
20684
  };
20606
20685
  const _sfc_main$1C = /* @__PURE__ */ defineComponent({
20607
- ...__default__$Y,
20686
+ ...__default__$Z,
20608
20687
  props: tagProps,
20609
20688
  emits: tagEmits,
20610
20689
  setup(__props, { emit }) {
@@ -20790,8 +20869,7 @@ const _sfc_main$1B = defineComponent({
20790
20869
  const nsCascader = useNamespace("cascader");
20791
20870
  const nsInput = useNamespace("input");
20792
20871
  const { t } = useLocale();
20793
- const elForm = inject(formContextKey, {});
20794
- const elFormItem = inject(formItemContextKey, {});
20872
+ const { form, formItem } = useFormItem();
20795
20873
  const tooltipRef = ref(null);
20796
20874
  const input = ref(null);
20797
20875
  const tagWrapper = ref(null);
@@ -20806,7 +20884,7 @@ const _sfc_main$1B = defineComponent({
20806
20884
  const allPresentTags = ref([]);
20807
20885
  const suggestions = ref([]);
20808
20886
  const isOnComposition = ref(false);
20809
- const isDisabled = computed$1(() => props.disabled || elForm.disabled);
20887
+ const isDisabled = computed$1(() => props.disabled || (form == null ? void 0 : form.disabled));
20810
20888
  const inputPlaceholder = computed$1(() => props.placeholder || t("el.cascader.placeholder"));
20811
20889
  const realSize = useSize();
20812
20890
  const tagSize = computed$1(() => ["small"].includes(realSize.value) ? "small" : "default");
@@ -20832,11 +20910,10 @@ const _sfc_main$1B = defineComponent({
20832
20910
  return props.modelValue;
20833
20911
  },
20834
20912
  set(val) {
20835
- var _a;
20836
20913
  emit(UPDATE_MODEL_EVENT, val);
20837
20914
  emit(CHANGE_EVENT, val);
20838
20915
  if (props.validateEvent) {
20839
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
20916
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
20840
20917
  }
20841
20918
  }
20842
20919
  });
@@ -20856,9 +20933,7 @@ const _sfc_main$1B = defineComponent({
20856
20933
  updatePopperPosition();
20857
20934
  nextTick((_c = panel.value) == null ? void 0 : _c.scrollToExpandingNode);
20858
20935
  } else if (props.filterable) {
20859
- const { value } = presentText;
20860
- inputValue.value = value;
20861
- searchInputValue.value = value;
20936
+ syncPresentTextValue();
20862
20937
  }
20863
20938
  emit("visible-change", visible);
20864
20939
  }
@@ -21015,8 +21090,16 @@ const _sfc_main$1B = defineComponent({
21015
21090
  const handleClear = () => {
21016
21091
  var _a;
21017
21092
  (_a = panel.value) == null ? void 0 : _a.clearCheckedNodes();
21093
+ if (!popperVisible.value && props.filterable) {
21094
+ syncPresentTextValue();
21095
+ }
21018
21096
  togglePopperVisible(false);
21019
21097
  };
21098
+ const syncPresentTextValue = () => {
21099
+ const { value } = presentText;
21100
+ inputValue.value = value;
21101
+ searchInputValue.value = value;
21102
+ };
21020
21103
  const handleSuggestionClick = (node) => {
21021
21104
  var _a, _b;
21022
21105
  const { checked } = node;
@@ -21046,7 +21129,7 @@ const _sfc_main$1B = defineComponent({
21046
21129
  const tags = presentTags.value;
21047
21130
  const lastTag = tags[tags.length - 1];
21048
21131
  pressDeleteCount = searchInputValue.value ? 0 : pressDeleteCount + 1;
21049
- if (!lastTag || !pressDeleteCount)
21132
+ if (!lastTag || !pressDeleteCount || props.collapseTags && tags.length > 1)
21050
21133
  return;
21051
21134
  if (lastTag.hitState) {
21052
21135
  deleteTag(lastTag);
@@ -21131,10 +21214,10 @@ const _sfc_main$1B = defineComponent({
21131
21214
  };
21132
21215
  }
21133
21216
  });
21134
- const _hoisted_1$N = { key: 0 };
21217
+ const _hoisted_1$O = { key: 0 };
21135
21218
  const _hoisted_2$w = ["placeholder"];
21136
21219
  const _hoisted_3$i = ["onClick"];
21137
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
21220
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
21138
21221
  const _component_circle_close = resolveComponent("circle-close");
21139
21222
  const _component_el_icon = resolveComponent("el-icon");
21140
21223
  const _component_arrow_down = resolveComponent("arrow-down");
@@ -21242,7 +21325,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
21242
21325
  onClose: ($event) => _ctx.deleteTag(tag)
21243
21326
  }, {
21244
21327
  default: withCtx(() => [
21245
- tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$N, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
21328
+ tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$O, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
21246
21329
  key: 1,
21247
21330
  teleported: false,
21248
21331
  disabled: _ctx.popperVisible || !_ctx.collapseTagsTooltip,
@@ -21362,7 +21445,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
21362
21445
  _: 3
21363
21446
  }, 8, ["visible", "teleported", "popper-class", "popper-options", "transition", "onHide"]);
21364
21447
  }
21365
- var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$y], ["__file", "index.vue"]]);
21448
+ var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$x], ["__file", "index.vue"]]);
21366
21449
 
21367
21450
  Cascader.install = (app) => {
21368
21451
  app.component(Cascader.name, Cascader);
@@ -21381,11 +21464,11 @@ const checkTagEmits = {
21381
21464
  [CHANGE_EVENT]: (value) => isBoolean(value)
21382
21465
  };
21383
21466
 
21384
- const __default__$X = {
21467
+ const __default__$Y = {
21385
21468
  name: "ElCheckTag"
21386
21469
  };
21387
21470
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
21388
- ...__default__$X,
21471
+ ...__default__$Y,
21389
21472
  props: checkTagProps,
21390
21473
  emits: checkTagEmits,
21391
21474
  setup(__props, { emit }) {
@@ -21453,11 +21536,11 @@ const colProps = buildProps({
21453
21536
  }
21454
21537
  });
21455
21538
 
21456
- const __default__$W = {
21539
+ const __default__$X = {
21457
21540
  name: "ElCol"
21458
21541
  };
21459
21542
  const _sfc_main$1z = /* @__PURE__ */ defineComponent({
21460
- ...__default__$W,
21543
+ ...__default__$X,
21461
21544
  props: colProps,
21462
21545
  setup(__props) {
21463
21546
  const props = __props;
@@ -21527,11 +21610,11 @@ const collapseEmits = {
21527
21610
  [CHANGE_EVENT]: emitChangeFn
21528
21611
  };
21529
21612
 
21530
- const __default__$V = {
21613
+ const __default__$W = {
21531
21614
  name: "ElCollapse"
21532
21615
  };
21533
21616
  const _sfc_main$1y = /* @__PURE__ */ defineComponent({
21534
- ...__default__$V,
21617
+ ...__default__$W,
21535
21618
  props: collapseProps,
21536
21619
  emits: collapseEmits,
21537
21620
  setup(__props, { expose, emit }) {
@@ -21582,11 +21665,11 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
21582
21665
  });
21583
21666
  var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
21584
21667
 
21585
- const __default__$U = {
21668
+ const __default__$V = {
21586
21669
  name: "ElCollapseTransition"
21587
21670
  };
21588
21671
  const _sfc_main$1x = /* @__PURE__ */ defineComponent({
21589
- ...__default__$U,
21672
+ ...__default__$V,
21590
21673
  setup(__props) {
21591
21674
  const ns = useNamespace("collapse-transition");
21592
21675
  const on = {
@@ -21671,14 +21754,14 @@ const collapseItemProps = buildProps({
21671
21754
  disabled: Boolean
21672
21755
  });
21673
21756
 
21674
- const _hoisted_1$M = ["aria-expanded", "aria-controls", "aria-describedby"];
21757
+ const _hoisted_1$N = ["aria-expanded", "aria-controls", "aria-describedby"];
21675
21758
  const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
21676
21759
  const _hoisted_3$h = ["id", "aria-hidden", "aria-labelledby"];
21677
- const __default__$T = {
21760
+ const __default__$U = {
21678
21761
  name: "ElCollapseItem"
21679
21762
  };
21680
21763
  const _sfc_main$1w = /* @__PURE__ */ defineComponent({
21681
- ...__default__$T,
21764
+ ...__default__$U,
21682
21765
  props: collapseItemProps,
21683
21766
  setup(__props, { expose }) {
21684
21767
  const props = __props;
@@ -21750,7 +21833,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
21750
21833
  _: 1
21751
21834
  }, 8, ["class"])
21752
21835
  ], 42, _hoisted_2$v)
21753
- ], 8, _hoisted_1$M),
21836
+ ], 8, _hoisted_1$N),
21754
21837
  createVNode(unref(_CollapseTransition), null, {
21755
21838
  default: withCtx(() => [
21756
21839
  withDirectives(createElementVNode("div", {
@@ -21922,7 +22005,7 @@ const _sfc_main$1v = defineComponent({
21922
22005
  };
21923
22006
  }
21924
22007
  });
21925
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
22008
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
21926
22009
  return openBlock(), createElementBlock("div", {
21927
22010
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
21928
22011
  }, [
@@ -21944,7 +22027,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
21944
22027
  }, null, 6)
21945
22028
  ], 2);
21946
22029
  }
21947
- var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$x], ["__file", "alpha-slider.vue"]]);
22030
+ var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$w], ["__file", "alpha-slider.vue"]]);
21948
22031
 
21949
22032
  const _sfc_main$1u = defineComponent({
21950
22033
  name: "ElColorHueSlider",
@@ -22039,7 +22122,7 @@ const _sfc_main$1u = defineComponent({
22039
22122
  };
22040
22123
  }
22041
22124
  });
22042
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
22125
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22043
22126
  return openBlock(), createElementBlock("div", {
22044
22127
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
22045
22128
  }, [
@@ -22058,7 +22141,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
22058
22141
  }, null, 6)
22059
22142
  ], 2);
22060
22143
  }
22061
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$w], ["__file", "hue-slider.vue"]]);
22144
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$v], ["__file", "hue-slider.vue"]]);
22062
22145
 
22063
22146
  const OPTIONS_KEY = Symbol();
22064
22147
  const useOptions = () => {
@@ -22378,8 +22461,8 @@ const _sfc_main$1t = defineComponent({
22378
22461
  };
22379
22462
  }
22380
22463
  });
22381
- const _hoisted_1$L = ["onClick"];
22382
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22464
+ const _hoisted_1$M = ["onClick"];
22465
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22383
22466
  return openBlock(), createElementBlock("div", {
22384
22467
  class: normalizeClass(_ctx.ns.b())
22385
22468
  }, [
@@ -22399,12 +22482,12 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22399
22482
  createElementVNode("div", {
22400
22483
  style: normalizeStyle({ backgroundColor: item.value })
22401
22484
  }, null, 4)
22402
- ], 10, _hoisted_1$L);
22485
+ ], 10, _hoisted_1$M);
22403
22486
  }), 128))
22404
22487
  ], 2)
22405
22488
  ], 2);
22406
22489
  }
22407
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$v], ["__file", "predefine.vue"]]);
22490
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$u], ["__file", "predefine.vue"]]);
22408
22491
 
22409
22492
  const _sfc_main$1s = defineComponent({
22410
22493
  name: "ElSlPanel",
@@ -22476,11 +22559,11 @@ const _sfc_main$1s = defineComponent({
22476
22559
  };
22477
22560
  }
22478
22561
  });
22479
- const _hoisted_1$K = /* @__PURE__ */ createElementVNode("div", null, null, -1);
22562
+ const _hoisted_1$L = /* @__PURE__ */ createElementVNode("div", null, null, -1);
22480
22563
  const _hoisted_2$u = [
22481
- _hoisted_1$K
22564
+ _hoisted_1$L
22482
22565
  ];
22483
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22566
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22484
22567
  return openBlock(), createElementBlock("div", {
22485
22568
  class: normalizeClass(_ctx.ns.b()),
22486
22569
  style: normalizeStyle({
@@ -22502,7 +22585,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22502
22585
  }, _hoisted_2$u, 6)
22503
22586
  ], 6);
22504
22587
  }
22505
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$u], ["__file", "sv-panel.vue"]]);
22588
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$t], ["__file", "sv-panel.vue"]]);
22506
22589
 
22507
22590
  const _sfc_main$1r = defineComponent({
22508
22591
  name: "ElColorPicker",
@@ -22550,10 +22633,9 @@ const _sfc_main$1r = defineComponent({
22550
22633
  setup(props, { emit }) {
22551
22634
  const { t } = useLocale();
22552
22635
  const ns = useNamespace("color");
22553
- const elForm = inject(formContextKey, {});
22554
- const elFormItem = inject(formItemContextKey, {});
22636
+ const { form, formItem } = useFormItem();
22555
22637
  const { inputId: buttonId, isLabeledByFormItem } = useFormItemInputId(props, {
22556
- formItemContext: elFormItem
22638
+ formItemContext: formItem
22557
22639
  });
22558
22640
  const hue = ref();
22559
22641
  const svPanel = ref();
@@ -22576,7 +22658,7 @@ const _sfc_main$1r = defineComponent({
22576
22658
  });
22577
22659
  const colorSize = useSize();
22578
22660
  const colorDisabled = computed$1(() => {
22579
- return !!(props.disabled || elForm.disabled);
22661
+ return !!(props.disabled || (form == null ? void 0 : form.disabled));
22580
22662
  });
22581
22663
  const currentColor = computed$1(() => {
22582
22664
  return !props.modelValue && !showPanelColor.value ? "" : color.value;
@@ -22585,7 +22667,7 @@ const _sfc_main$1r = defineComponent({
22585
22667
  return !isLabeledByFormItem.value ? props.label || t("el.colorpicker.defaultLabel") : void 0;
22586
22668
  });
22587
22669
  const buttonAriaLabelledby = computed$1(() => {
22588
- return isLabeledByFormItem.value ? elFormItem.labelId : void 0;
22670
+ return isLabeledByFormItem.value ? formItem == null ? void 0 : formItem.labelId : void 0;
22589
22671
  });
22590
22672
  watch(() => props.modelValue, (newVal) => {
22591
22673
  if (!newVal) {
@@ -22641,12 +22723,11 @@ const _sfc_main$1r = defineComponent({
22641
22723
  color.fromString(customInput.value);
22642
22724
  }
22643
22725
  function confirmValue() {
22644
- var _a;
22645
22726
  const value = color.value;
22646
22727
  emit(UPDATE_MODEL_EVENT, value);
22647
22728
  emit("change", value);
22648
22729
  if (props.validateEvent) {
22649
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
22730
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
22650
22731
  }
22651
22732
  debounceSetShowPicker(false);
22652
22733
  nextTick(() => {
@@ -22661,12 +22742,11 @@ const _sfc_main$1r = defineComponent({
22661
22742
  });
22662
22743
  }
22663
22744
  function clear() {
22664
- var _a;
22665
22745
  debounceSetShowPicker(false);
22666
22746
  emit(UPDATE_MODEL_EVENT, null);
22667
22747
  emit("change", null);
22668
22748
  if (props.modelValue !== null && props.validateEvent) {
22669
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
22749
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
22670
22750
  }
22671
22751
  resetColor();
22672
22752
  }
@@ -22711,8 +22791,8 @@ const _sfc_main$1r = defineComponent({
22711
22791
  };
22712
22792
  }
22713
22793
  });
22714
- const _hoisted_1$J = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22715
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22794
+ const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22795
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22716
22796
  const _component_hue_slider = resolveComponent("hue-slider");
22717
22797
  const _component_sv_panel = resolveComponent("sv-panel");
22718
22798
  const _component_alpha_slider = resolveComponent("alpha-slider");
@@ -22735,7 +22815,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22735
22815
  "stop-popper-mouse-event": false,
22736
22816
  effect: "light",
22737
22817
  trigger: "click",
22738
- transition: "el-zoom-in-top",
22818
+ transition: `${_ctx.ns.namespace.value}-zoom-in-top`,
22739
22819
  persistent: ""
22740
22820
  }, {
22741
22821
  content: withCtx(() => [
@@ -22861,12 +22941,12 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22861
22941
  ], 6)
22862
22942
  ], 2)
22863
22943
  ], 2)
22864
- ], 42, _hoisted_1$J)
22944
+ ], 42, _hoisted_1$K)
22865
22945
  ]),
22866
22946
  _: 1
22867
- }, 8, ["visible", "popper-class"]);
22947
+ }, 8, ["visible", "popper-class", "transition"]);
22868
22948
  }
22869
- var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$t], ["__file", "index.vue"]]);
22949
+ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$s], ["__file", "index.vue"]]);
22870
22950
 
22871
22951
  ColorPicker.install = (app) => {
22872
22952
  app.component(ColorPicker.name, ColorPicker);
@@ -22917,11 +22997,11 @@ const ConfigProvider = defineComponent({
22917
22997
 
22918
22998
  const ElConfigProvider = withInstall(ConfigProvider);
22919
22999
 
22920
- const __default__$S = {
23000
+ const __default__$T = {
22921
23001
  name: "ElContainer"
22922
23002
  };
22923
23003
  const _sfc_main$1q = /* @__PURE__ */ defineComponent({
22924
- ...__default__$S,
23004
+ ...__default__$T,
22925
23005
  props: {
22926
23006
  direction: {
22927
23007
  type: String
@@ -22958,11 +23038,11 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
22958
23038
  });
22959
23039
  var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
22960
23040
 
22961
- const __default__$R = {
23041
+ const __default__$S = {
22962
23042
  name: "ElAside"
22963
23043
  };
22964
23044
  const _sfc_main$1p = /* @__PURE__ */ defineComponent({
22965
- ...__default__$R,
23045
+ ...__default__$S,
22966
23046
  props: {
22967
23047
  width: {
22968
23048
  type: String,
@@ -22985,11 +23065,11 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
22985
23065
  });
22986
23066
  var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
22987
23067
 
22988
- const __default__$Q = {
23068
+ const __default__$R = {
22989
23069
  name: "ElFooter"
22990
23070
  };
22991
23071
  const _sfc_main$1o = /* @__PURE__ */ defineComponent({
22992
- ...__default__$Q,
23072
+ ...__default__$R,
22993
23073
  props: {
22994
23074
  height: {
22995
23075
  type: String,
@@ -23012,11 +23092,11 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
23012
23092
  });
23013
23093
  var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
23014
23094
 
23015
- const __default__$P = {
23095
+ const __default__$Q = {
23016
23096
  name: "ElHeader"
23017
23097
  };
23018
23098
  const _sfc_main$1n = /* @__PURE__ */ defineComponent({
23019
- ...__default__$P,
23099
+ ...__default__$Q,
23020
23100
  props: {
23021
23101
  height: {
23022
23102
  type: String,
@@ -23043,11 +23123,11 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
23043
23123
  });
23044
23124
  var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
23045
23125
 
23046
- const __default__$O = {
23126
+ const __default__$P = {
23047
23127
  name: "ElMain"
23048
23128
  };
23049
23129
  const _sfc_main$1m = /* @__PURE__ */ defineComponent({
23050
- ...__default__$O,
23130
+ ...__default__$P,
23051
23131
  setup(__props) {
23052
23132
  const ns = useNamespace("main");
23053
23133
  return (_ctx, _cache) => {
@@ -23400,7 +23480,7 @@ var ElDatePickerCell = defineComponent({
23400
23480
  }
23401
23481
  });
23402
23482
 
23403
- const _hoisted_1$I = ["aria-label"];
23483
+ const _hoisted_1$J = ["aria-label"];
23404
23484
  const _hoisted_2$t = {
23405
23485
  key: 0,
23406
23486
  scope: "col"
@@ -23748,7 +23828,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
23748
23828
  ], 2);
23749
23829
  }), 128))
23750
23830
  ], 512)
23751
- ], 42, _hoisted_1$I);
23831
+ ], 42, _hoisted_1$J);
23752
23832
  };
23753
23833
  }
23754
23834
  });
@@ -23759,7 +23839,7 @@ const basicMonthTableProps = buildProps({
23759
23839
  selectionMode: selectionModeWithDefault("month")
23760
23840
  });
23761
23841
 
23762
- const _hoisted_1$H = ["aria-label"];
23842
+ const _hoisted_1$I = ["aria-label"];
23763
23843
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
23764
23844
  const _hoisted_3$f = { class: "cell" };
23765
23845
  const _sfc_main$1k = /* @__PURE__ */ defineComponent({
@@ -23951,7 +24031,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
23951
24031
  ]);
23952
24032
  }), 128))
23953
24033
  ], 512)
23954
- ], 42, _hoisted_1$H);
24034
+ ], 42, _hoisted_1$I);
23955
24035
  };
23956
24036
  }
23957
24037
  });
@@ -23964,7 +24044,7 @@ const basicYearTableProps = buildProps({
23964
24044
  parsedValue
23965
24045
  });
23966
24046
 
23967
- const _hoisted_1$G = ["aria-label"];
24047
+ const _hoisted_1$H = ["aria-label"];
23968
24048
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
23969
24049
  const _hoisted_3$e = { class: "cell" };
23970
24050
  const _hoisted_4$a = { key: 1 };
@@ -24058,13 +24138,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
24058
24138
  ]);
24059
24139
  }), 64))
24060
24140
  ], 512)
24061
- ], 10, _hoisted_1$G);
24141
+ ], 10, _hoisted_1$H);
24062
24142
  };
24063
24143
  }
24064
24144
  });
24065
24145
  var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "basic-year-table.vue"]]);
24066
24146
 
24067
- const _hoisted_1$F = ["onClick"];
24147
+ const _hoisted_1$G = ["onClick"];
24068
24148
  const _hoisted_2$q = ["aria-label"];
24069
24149
  const _hoisted_3$d = ["aria-label"];
24070
24150
  const _hoisted_4$9 = ["aria-label"];
@@ -24475,7 +24555,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
24475
24555
  type: "button",
24476
24556
  class: normalizeClass(unref(ppNs).e("shortcut")),
24477
24557
  onClick: ($event) => handleShortcutClick(shortcut)
24478
- }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
24558
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$G);
24479
24559
  }), 128))
24480
24560
  ], 2)) : createCommentVNode("v-if", true),
24481
24561
  createElementVNode("div", {
@@ -24789,7 +24869,7 @@ const useRangePicker = (props, {
24789
24869
  };
24790
24870
  };
24791
24871
 
24792
- const _hoisted_1$E = ["onClick"];
24872
+ const _hoisted_1$F = ["onClick"];
24793
24873
  const _hoisted_2$p = ["disabled"];
24794
24874
  const _hoisted_3$c = ["disabled"];
24795
24875
  const _hoisted_4$8 = ["disabled"];
@@ -25140,7 +25220,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
25140
25220
  type: "button",
25141
25221
  class: normalizeClass(unref(ppNs).e("shortcut")),
25142
25222
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
25143
- }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
25223
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
25144
25224
  }), 128))
25145
25225
  ], 2)) : createCommentVNode("v-if", true),
25146
25226
  createElementVNode("div", {
@@ -25485,14 +25565,14 @@ const useMonthRangeHeader = ({
25485
25565
  };
25486
25566
  };
25487
25567
 
25488
- const _hoisted_1$D = ["onClick"];
25568
+ const _hoisted_1$E = ["onClick"];
25489
25569
  const _hoisted_2$o = ["disabled"];
25490
25570
  const _hoisted_3$b = ["disabled"];
25491
- const __default__$N = {
25571
+ const __default__$O = {
25492
25572
  name: "DatePickerMonthRange"
25493
25573
  };
25494
25574
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
25495
- ...__default__$N,
25575
+ ...__default__$O,
25496
25576
  props: panelMonthRangeProps,
25497
25577
  emits: panelMonthRangeEmits,
25498
25578
  setup(__props, { emit }) {
@@ -25590,7 +25670,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
25590
25670
  type: "button",
25591
25671
  class: normalizeClass(unref(ppNs).e("shortcut")),
25592
25672
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
25593
- }, toDisplayString(shortcut.text), 11, _hoisted_1$D);
25673
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
25594
25674
  }), 128))
25595
25675
  ], 2)) : createCommentVNode("v-if", true),
25596
25676
  createElementVNode("div", {
@@ -25864,12 +25944,12 @@ const descriptionsRowProps = buildProps({
25864
25944
  }
25865
25945
  });
25866
25946
 
25867
- const _hoisted_1$C = { key: 1 };
25868
- const __default__$M = {
25947
+ const _hoisted_1$D = { key: 1 };
25948
+ const __default__$N = {
25869
25949
  name: "ElDescriptionsRow"
25870
25950
  };
25871
25951
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
25872
- ...__default__$M,
25952
+ ...__default__$N,
25873
25953
  props: descriptionsRowProps,
25874
25954
  setup(__props) {
25875
25955
  const descriptions = inject(descriptionsKey, {});
@@ -25895,7 +25975,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
25895
25975
  }, null, 8, ["cell"]);
25896
25976
  }), 128))
25897
25977
  ])
25898
- ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$C, [
25978
+ ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$D, [
25899
25979
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, index) => {
25900
25980
  return openBlock(), createElementBlock(Fragment, {
25901
25981
  key: `tr3-${index}`
@@ -25950,11 +26030,11 @@ const descriptionProps = buildProps({
25950
26030
  }
25951
26031
  });
25952
26032
 
25953
- const __default__$L = {
26033
+ const __default__$M = {
25954
26034
  name: "ElDescriptions"
25955
26035
  };
25956
26036
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
25957
- ...__default__$L,
26037
+ ...__default__$M,
25958
26038
  props: descriptionProps,
25959
26039
  setup(__props) {
25960
26040
  const props = __props;
@@ -26202,11 +26282,11 @@ const dialogContentEmits = {
26202
26282
  close: () => true
26203
26283
  };
26204
26284
 
26205
- const _hoisted_1$B = ["aria-label"];
26285
+ const _hoisted_1$C = ["aria-label"];
26206
26286
  const _hoisted_2$n = ["id"];
26207
- const __default__$K = { name: "ElDialogContent" };
26287
+ const __default__$L = { name: "ElDialogContent" };
26208
26288
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
26209
- ...__default__$K,
26289
+ ...__default__$L,
26210
26290
  props: dialogContentProps,
26211
26291
  emits: dialogContentEmits,
26212
26292
  setup(__props) {
@@ -26259,7 +26339,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
26259
26339
  ]),
26260
26340
  _: 1
26261
26341
  }, 8, ["class"])
26262
- ], 10, _hoisted_1$B)) : createCommentVNode("v-if", true)
26342
+ ], 10, _hoisted_1$C)) : createCommentVNode("v-if", true)
26263
26343
  ], 2),
26264
26344
  createElementVNode("div", {
26265
26345
  id: unref(bodyId),
@@ -26448,9 +26528,9 @@ const useDialog = (props, targetRef) => {
26448
26528
  closed.value = false;
26449
26529
  open();
26450
26530
  rendered.value = true;
26451
- emit("open");
26452
26531
  zIndex.value = props.zIndex ? zIndex.value++ : nextZIndex();
26453
26532
  nextTick(() => {
26533
+ emit("open");
26454
26534
  if (targetRef.value) {
26455
26535
  targetRef.value.scrollTop = 0;
26456
26536
  }
@@ -26499,12 +26579,12 @@ const useDialog = (props, targetRef) => {
26499
26579
  };
26500
26580
  };
26501
26581
 
26502
- const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
26503
- const __default__$J = {
26582
+ const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
26583
+ const __default__$K = {
26504
26584
  name: "ElDialog"
26505
26585
  };
26506
26586
  const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26507
- ...__default__$J,
26587
+ ...__default__$K,
26508
26588
  props: dialogProps,
26509
26589
  emits: dialogEmits,
26510
26590
  setup(__props, { expose }) {
@@ -26627,7 +26707,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26627
26707
  ]),
26628
26708
  _: 3
26629
26709
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onReleaseRequested"])
26630
- ], 42, _hoisted_1$A)
26710
+ ], 42, _hoisted_1$B)
26631
26711
  ]),
26632
26712
  _: 3
26633
26713
  }, 8, ["mask", "overlay-class", "z-index"]), [
@@ -26661,11 +26741,11 @@ const dividerProps = buildProps({
26661
26741
  }
26662
26742
  });
26663
26743
 
26664
- const __default__$I = {
26744
+ const __default__$J = {
26665
26745
  name: "ElDivider"
26666
26746
  };
26667
26747
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
26668
- ...__default__$I,
26748
+ ...__default__$J,
26669
26749
  props: dividerProps,
26670
26750
  setup(__props) {
26671
26751
  const props = __props;
@@ -26752,11 +26832,11 @@ const _sfc_main$1a = defineComponent({
26752
26832
  };
26753
26833
  }
26754
26834
  });
26755
- const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
26835
+ const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
26756
26836
  const _hoisted_2$m = ["id"];
26757
26837
  const _hoisted_3$a = ["aria-label"];
26758
26838
  const _hoisted_4$7 = ["id"];
26759
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
26839
+ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
26760
26840
  const _component_close = resolveComponent("close");
26761
26841
  const _component_el_icon = resolveComponent("el-icon");
26762
26842
  const _component_el_focus_trap = resolveComponent("el-focus-trap");
@@ -26854,7 +26934,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
26854
26934
  }, [
26855
26935
  renderSlot(_ctx.$slots, "footer")
26856
26936
  ], 2)) : createCommentVNode("v-if", true)
26857
- ], 14, _hoisted_1$z)
26937
+ ], 14, _hoisted_1$A)
26858
26938
  ]),
26859
26939
  _: 3
26860
26940
  }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
@@ -26868,26 +26948,26 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
26868
26948
  }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
26869
26949
  ], 8, ["disabled"]);
26870
26950
  }
26871
- var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$s], ["__file", "drawer.vue"]]);
26951
+ var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$r], ["__file", "drawer.vue"]]);
26872
26952
 
26873
26953
  const ElDrawer = withInstall(Drawer);
26874
26954
 
26875
26955
  const _sfc_main$19 = {
26876
26956
  inheritAttrs: false
26877
26957
  };
26878
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
26958
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
26879
26959
  return renderSlot(_ctx.$slots, "default");
26880
26960
  }
26881
- var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$r], ["__file", "collection.vue"]]);
26961
+ var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$q], ["__file", "collection.vue"]]);
26882
26962
 
26883
26963
  const _sfc_main$18 = {
26884
26964
  name: "ElCollectionItem",
26885
26965
  inheritAttrs: false
26886
26966
  };
26887
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
26967
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
26888
26968
  return renderSlot(_ctx.$slots, "default");
26889
26969
  }
26890
- var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$q], ["__file", "collection-item.vue"]]);
26970
+ var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$p], ["__file", "collection-item.vue"]]);
26891
26971
 
26892
26972
  const COLLECTION_ITEM_SIGN = `data-el-collection-item`;
26893
26973
  const createCollectionWithScope = (name) => {
@@ -27107,10 +27187,10 @@ const _sfc_main$17 = defineComponent({
27107
27187
  useEventListener(rovingFocusGroupRef, ENTRY_FOCUS_EVT, handleEntryFocus);
27108
27188
  }
27109
27189
  });
27110
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
27190
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
27111
27191
  return renderSlot(_ctx.$slots, "default");
27112
27192
  }
27113
- var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$p], ["__file", "roving-focus-group-impl.vue"]]);
27193
+ var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$o], ["__file", "roving-focus-group-impl.vue"]]);
27114
27194
 
27115
27195
  const _sfc_main$16 = defineComponent({
27116
27196
  name: "ElRovingFocusGroup",
@@ -27119,7 +27199,7 @@ const _sfc_main$16 = defineComponent({
27119
27199
  ElRovingFocusGroupImpl
27120
27200
  }
27121
27201
  });
27122
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
27202
+ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27123
27203
  const _component_el_roving_focus_group_impl = resolveComponent("el-roving-focus-group-impl");
27124
27204
  const _component_el_focus_group_collection = resolveComponent("el-focus-group-collection");
27125
27205
  return openBlock(), createBlock(_component_el_focus_group_collection, null, {
@@ -27134,7 +27214,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
27134
27214
  _: 3
27135
27215
  });
27136
27216
  }
27137
- var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$o], ["__file", "roving-focus-group.vue"]]);
27217
+ var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$n], ["__file", "roving-focus-group.vue"]]);
27138
27218
 
27139
27219
  const _sfc_main$15 = defineComponent({
27140
27220
  components: {
@@ -27221,7 +27301,7 @@ const _sfc_main$15 = defineComponent({
27221
27301
  };
27222
27302
  }
27223
27303
  });
27224
- function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27304
+ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27225
27305
  const _component_el_roving_focus_collection_item = resolveComponent("el-roving-focus-collection-item");
27226
27306
  return openBlock(), createBlock(_component_el_roving_focus_collection_item, {
27227
27307
  id: _ctx.id,
@@ -27234,7 +27314,7 @@ function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
27234
27314
  _: 3
27235
27315
  }, 8, ["id", "focusable", "active"]);
27236
27316
  }
27237
- var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$n], ["__file", "roving-focus-item.vue"]]);
27317
+ var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$m], ["__file", "roving-focus-item.vue"]]);
27238
27318
 
27239
27319
  const dropdownProps = buildProps({
27240
27320
  trigger: useTooltipTriggerProps.trigger,
@@ -27460,7 +27540,7 @@ const _sfc_main$14 = defineComponent({
27460
27540
  };
27461
27541
  }
27462
27542
  });
27463
- function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27543
+ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27464
27544
  var _a;
27465
27545
  const _component_el_dropdown_collection = resolveComponent("el-dropdown-collection");
27466
27546
  const _component_el_roving_focus_group = resolveComponent("el-roving-focus-group");
@@ -27592,7 +27672,7 @@ function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
27592
27672
  })) : createCommentVNode("v-if", true)
27593
27673
  ], 2);
27594
27674
  }
27595
- var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$m], ["__file", "dropdown.vue"]]);
27675
+ var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$l], ["__file", "dropdown.vue"]]);
27596
27676
 
27597
27677
  const _sfc_main$13 = defineComponent({
27598
27678
  name: "DropdownItemImpl",
@@ -27645,8 +27725,8 @@ const _sfc_main$13 = defineComponent({
27645
27725
  };
27646
27726
  }
27647
27727
  });
27648
- const _hoisted_1$y = ["aria-disabled", "tabindex", "role"];
27649
- function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27728
+ const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
27729
+ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27650
27730
  const _component_el_icon = resolveComponent("el-icon");
27651
27731
  return openBlock(), createElementBlock(Fragment, null, [
27652
27732
  _ctx.divided ? (openBlock(), createElementBlock("li", mergeProps({
@@ -27673,10 +27753,10 @@ function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
27673
27753
  _: 1
27674
27754
  })) : createCommentVNode("v-if", true),
27675
27755
  renderSlot(_ctx.$slots, "default")
27676
- ], 16, _hoisted_1$y)
27756
+ ], 16, _hoisted_1$z)
27677
27757
  ], 64);
27678
27758
  }
27679
- var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$l], ["__file", "dropdown-item-impl.vue"]]);
27759
+ var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$k], ["__file", "dropdown-item-impl.vue"]]);
27680
27760
 
27681
27761
  const useDropdown = () => {
27682
27762
  const elDropdown = inject("elDropdown", {});
@@ -27752,7 +27832,7 @@ const _sfc_main$12 = defineComponent({
27752
27832
  };
27753
27833
  }
27754
27834
  });
27755
- function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27835
+ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
27756
27836
  var _a;
27757
27837
  const _component_el_dropdown_item_impl = resolveComponent("el-dropdown-item-impl");
27758
27838
  const _component_el_roving_focus_item = resolveComponent("el-roving-focus-item");
@@ -27783,7 +27863,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27783
27863
  _: 3
27784
27864
  }, 8, ["disabled", "text-value"]);
27785
27865
  }
27786
- var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$k], ["__file", "dropdown-item.vue"]]);
27866
+ var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$j], ["__file", "dropdown-item.vue"]]);
27787
27867
 
27788
27868
  const _sfc_main$11 = defineComponent({
27789
27869
  name: "ElDropdownMenu",
@@ -27848,8 +27928,8 @@ const _sfc_main$11 = defineComponent({
27848
27928
  };
27849
27929
  }
27850
27930
  });
27851
- const _hoisted_1$x = ["role", "aria-labelledby"];
27852
- function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
27931
+ const _hoisted_1$y = ["role", "aria-labelledby"];
27932
+ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27853
27933
  return openBlock(), createElementBlock("ul", {
27854
27934
  ref: _ctx.dropdownListWrapperRef,
27855
27935
  class: normalizeClass(_ctx.dropdownKls),
@@ -27863,9 +27943,9 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
27863
27943
  onMousedown: _cache[3] || (_cache[3] = (...args) => _ctx.onMousedown && _ctx.onMousedown(...args))
27864
27944
  }, [
27865
27945
  renderSlot(_ctx.$slots, "default")
27866
- ], 46, _hoisted_1$x);
27946
+ ], 46, _hoisted_1$y);
27867
27947
  }
27868
- var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$j], ["__file", "dropdown-menu.vue"]]);
27948
+ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$i], ["__file", "dropdown-menu.vue"]]);
27869
27949
 
27870
27950
  const ElDropdown = withInstall(Dropdown, {
27871
27951
  DropdownItem,
@@ -27885,7 +27965,7 @@ const _sfc_main$10 = defineComponent({
27885
27965
  };
27886
27966
  }
27887
27967
  });
27888
- const _hoisted_1$w = {
27968
+ const _hoisted_1$x = {
27889
27969
  viewBox: "0 0 79 86",
27890
27970
  version: "1.1",
27891
27971
  xmlns: "http://www.w3.org/2000/svg",
@@ -27931,8 +28011,8 @@ const _hoisted_20 = {
27931
28011
  const _hoisted_21 = ["fill", "xlink:href"];
27932
28012
  const _hoisted_22 = ["fill", "mask"];
27933
28013
  const _hoisted_23 = ["fill"];
27934
- function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27935
- return openBlock(), createElementBlock("svg", _hoisted_1$w, [
28014
+ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
28015
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, [
27936
28016
  createElementVNode("defs", null, [
27937
28017
  createElementVNode("linearGradient", {
27938
28018
  id: `linearGradient-1-${_ctx.id}`,
@@ -28050,7 +28130,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
28050
28130
  ])
28051
28131
  ]);
28052
28132
  }
28053
- var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$i], ["__file", "img-empty.vue"]]);
28133
+ var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["render", _sfc_render$h], ["__file", "img-empty.vue"]]);
28054
28134
 
28055
28135
  const emptyProps = {
28056
28136
  image: {
@@ -28064,13 +28144,13 @@ const emptyProps = {
28064
28144
  }
28065
28145
  };
28066
28146
 
28067
- const _hoisted_1$v = ["src"];
28147
+ const _hoisted_1$w = ["src"];
28068
28148
  const _hoisted_2$k = { key: 1 };
28069
- const __default__$H = {
28149
+ const __default__$I = {
28070
28150
  name: "ElEmpty"
28071
28151
  };
28072
28152
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
28073
- ...__default__$H,
28153
+ ...__default__$I,
28074
28154
  props: emptyProps,
28075
28155
  setup(__props) {
28076
28156
  const props = __props;
@@ -28092,7 +28172,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
28092
28172
  key: 0,
28093
28173
  src: _ctx.image,
28094
28174
  ondragstart: "return false"
28095
- }, null, 8, _hoisted_1$v)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
28175
+ }, null, 8, _hoisted_1$w)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
28096
28176
  createVNode(ImgEmpty)
28097
28177
  ])
28098
28178
  ], 6),
@@ -28125,6 +28205,11 @@ const formProps = buildProps({
28125
28205
  values: ["left", "right", "top"],
28126
28206
  default: "right"
28127
28207
  },
28208
+ requireAsteriskPosition: {
28209
+ type: String,
28210
+ values: ["left", "right"],
28211
+ default: "left"
28212
+ },
28128
28213
  labelWidth: {
28129
28214
  type: [String, Number],
28130
28215
  default: ""
@@ -28196,11 +28281,11 @@ const filterFields = (fields, props) => {
28196
28281
  return normalized.length > 0 ? fields.filter((field) => field.prop && normalized.includes(field.prop)) : fields;
28197
28282
  };
28198
28283
 
28199
- const __default__$G = {
28284
+ const __default__$H = {
28200
28285
  name: "ElForm"
28201
28286
  };
28202
28287
  const _sfc_main$_ = /* @__PURE__ */ defineComponent({
28203
- ...__default__$G,
28288
+ ...__default__$H,
28204
28289
  props: formProps,
28205
28290
  emits: formEmits,
28206
28291
  setup(__props, { expose, emit }) {
@@ -29504,12 +29589,12 @@ var FormLabelWrap = defineComponent({
29504
29589
  }
29505
29590
  });
29506
29591
 
29507
- const _hoisted_1$u = ["role", "aria-labelledby"];
29508
- const __default__$F = {
29592
+ const _hoisted_1$v = ["role", "aria-labelledby"];
29593
+ const __default__$G = {
29509
29594
  name: "ElFormItem"
29510
29595
  };
29511
29596
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
29512
- ...__default__$F,
29597
+ ...__default__$G,
29513
29598
  props: formItemProps,
29514
29599
  setup(__props, { expose }) {
29515
29600
  const props = __props;
@@ -29556,6 +29641,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
29556
29641
  ns.is("success", validateState.value === "success"),
29557
29642
  ns.is("required", isRequired.value || props.required),
29558
29643
  ns.is("no-asterisk", formContext == null ? void 0 : formContext.hideRequiredAsterisk),
29644
+ (formContext == null ? void 0 : formContext.requireAsteriskPosition) === "right" ? "asterisk-right" : "asterisk-left",
29559
29645
  { [ns.m("feedback")]: formContext == null ? void 0 : formContext.statusIcon }
29560
29646
  ]);
29561
29647
  const _inlineMessage = computed$1(() => isBoolean(props.inlineMessage) ? props.inlineMessage : (formContext == null ? void 0 : formContext.inlineMessage) || false);
@@ -29786,7 +29872,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
29786
29872
  _: 3
29787
29873
  }, 8, ["name"])
29788
29874
  ], 6)
29789
- ], 10, _hoisted_1$u);
29875
+ ], 10, _hoisted_1$v);
29790
29876
  };
29791
29877
  }
29792
29878
  });
@@ -29831,12 +29917,12 @@ const imageViewerEmits = {
29831
29917
  switch: (index) => isNumber(index)
29832
29918
  };
29833
29919
 
29834
- const _hoisted_1$t = ["src"];
29835
- const __default__$E = {
29920
+ const _hoisted_1$u = ["src"];
29921
+ const __default__$F = {
29836
29922
  name: "ElImageViewer"
29837
29923
  };
29838
29924
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
29839
- ...__default__$E,
29925
+ ...__default__$F,
29840
29926
  props: imageViewerProps,
29841
29927
  emits: imageViewerEmits,
29842
29928
  setup(__props, { emit }) {
@@ -30199,7 +30285,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
30199
30285
  onLoad: handleImgLoad,
30200
30286
  onError: handleImgError,
30201
30287
  onMousedown: handleMouseDown
30202
- }, null, 46, _hoisted_1$t)), [
30288
+ }, null, 46, _hoisted_1$u)), [
30203
30289
  [vShow, i === index.value]
30204
30290
  ]);
30205
30291
  }), 128))
@@ -30274,14 +30360,14 @@ const imageEmits = {
30274
30360
  show: () => true
30275
30361
  };
30276
30362
 
30277
- const _hoisted_1$s = ["src", "loading"];
30363
+ const _hoisted_1$t = ["src", "loading"];
30278
30364
  const _hoisted_2$j = { key: 0 };
30279
- const __default__$D = {
30365
+ const __default__$E = {
30280
30366
  name: "ElImage",
30281
30367
  inheritAttrs: false
30282
30368
  };
30283
30369
  const _sfc_main$X = /* @__PURE__ */ defineComponent({
30284
- ...__default__$D,
30370
+ ...__default__$E,
30285
30371
  props: imageProps,
30286
30372
  emits: imageEmits,
30287
30373
  setup(__props, { emit }) {
@@ -30440,7 +30526,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
30440
30526
  onClick: clickHandler,
30441
30527
  onLoad: handleLoad,
30442
30528
  onError: handleError
30443
- }), null, 16, _hoisted_1$s)) : createCommentVNode("v-if", true),
30529
+ }), null, 16, _hoisted_1$t)) : createCommentVNode("v-if", true),
30444
30530
  isLoading.value || hasLoadError.value ? (openBlock(), createElementBlock("div", {
30445
30531
  key: 1,
30446
30532
  class: normalizeClass(unref(ns).e("wrapper"))
@@ -30539,13 +30625,13 @@ const inputNumberEmits = {
30539
30625
  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
30540
30626
  };
30541
30627
 
30542
- const _hoisted_1$r = ["aria-label", "onKeydown"];
30628
+ const _hoisted_1$s = ["aria-label", "onKeydown"];
30543
30629
  const _hoisted_2$i = ["aria-label", "onKeydown"];
30544
- const __default__$C = {
30630
+ const __default__$D = {
30545
30631
  name: "ElInputNumber"
30546
30632
  };
30547
30633
  const _sfc_main$W = /* @__PURE__ */ defineComponent({
30548
- ...__default__$C,
30634
+ ...__default__$D,
30549
30635
  props: inputNumberProps,
30550
30636
  emits: inputNumberEmits,
30551
30637
  setup(__props, { expose, emit }) {
@@ -30769,7 +30855,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
30769
30855
  ]),
30770
30856
  _: 1
30771
30857
  })
30772
- ], 42, _hoisted_1$r)), [
30858
+ ], 42, _hoisted_1$s)), [
30773
30859
  [unref(RepeatClick), decrease]
30774
30860
  ]) : createCommentVNode("v-if", true),
30775
30861
  _ctx.controls ? withDirectives((openBlock(), createElementBlock("span", {
@@ -30841,12 +30927,12 @@ const linkEmits = {
30841
30927
  click: (evt) => evt instanceof MouseEvent
30842
30928
  };
30843
30929
 
30844
- const _hoisted_1$q = ["href"];
30845
- const __default__$B = {
30930
+ const _hoisted_1$r = ["href"];
30931
+ const __default__$C = {
30846
30932
  name: "ElLink"
30847
30933
  };
30848
30934
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
30849
- ...__default__$B,
30935
+ ...__default__$C,
30850
30936
  props: linkProps,
30851
30937
  emits: linkEmits,
30852
30938
  setup(__props, { emit }) {
@@ -30880,7 +30966,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
30880
30966
  renderSlot(_ctx.$slots, "default")
30881
30967
  ], 2)) : createCommentVNode("v-if", true),
30882
30968
  _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 2 }) : createCommentVNode("v-if", true)
30883
- ], 10, _hoisted_1$q);
30969
+ ], 10, _hoisted_1$r);
30884
30970
  };
30885
30971
  }
30886
30972
  });
@@ -31056,7 +31142,7 @@ const _sfc_main$U = defineComponent({
31056
31142
  };
31057
31143
  }
31058
31144
  });
31059
- function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
31145
+ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31060
31146
  return openBlock(), createBlock(Transition, mergeProps({ mode: "out-in" }, _ctx.listeners), {
31061
31147
  default: withCtx(() => [
31062
31148
  renderSlot(_ctx.$slots, "default")
@@ -31064,7 +31150,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
31064
31150
  _: 3
31065
31151
  }, 16);
31066
31152
  }
31067
- var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$h], ["__file", "menu-collapse-transition.vue"]]);
31153
+ var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$g], ["__file", "menu-collapse-transition.vue"]]);
31068
31154
 
31069
31155
  function useMenu(instance, currentIndex) {
31070
31156
  const indexPath = computed$1(() => {
@@ -31139,6 +31225,18 @@ const subMenuProps = buildProps({
31139
31225
  popperOffset: {
31140
31226
  type: Number,
31141
31227
  default: 6
31228
+ },
31229
+ expandCloseIcon: {
31230
+ type: definePropType([Object, Function])
31231
+ },
31232
+ expandOpenIcon: {
31233
+ type: definePropType([Object, Function])
31234
+ },
31235
+ collapseCloseIcon: {
31236
+ type: definePropType([Object, Function])
31237
+ },
31238
+ collapseOpenIcon: {
31239
+ type: definePropType([Object, Function])
31142
31240
  }
31143
31241
  });
31144
31242
  const COMPONENT_NAME$8 = "ElSubMenu";
@@ -31164,7 +31262,7 @@ var SubMenu = defineComponent({
31164
31262
  const vPopper = ref(null);
31165
31263
  const currentPlacement = computed$1(() => mode.value === "horizontal" && isFirstLevel.value ? "bottom-start" : "right-start");
31166
31264
  const subMenuTitleIcon = computed$1(() => {
31167
- return mode.value === "horizontal" && isFirstLevel.value || mode.value === "vertical" && !rootMenu.props.collapse ? arrow_down_default : arrow_right_default;
31265
+ 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;
31168
31266
  });
31169
31267
  const isFirstLevel = computed$1(() => {
31170
31268
  return subMenu.level === 0;
@@ -31304,7 +31402,10 @@ var SubMenu = defineComponent({
31304
31402
  const titleTag = [
31305
31403
  (_a = slots.title) == null ? void 0 : _a.call(slots),
31306
31404
  h$1(ElIcon, {
31307
- class: nsSubMenu.e("icon-arrow")
31405
+ class: nsSubMenu.e("icon-arrow"),
31406
+ style: {
31407
+ transform: opened.value ? props.expandCloseIcon && props.expandOpenIcon || props.collapseCloseIcon && props.collapseOpenIcon && rootMenu.props.collapse ? "none" : "rotateZ(180deg)" : "none"
31408
+ }
31308
31409
  }, { default: () => h$1(subMenuTitleIcon.value) })
31309
31410
  ];
31310
31411
  const ulStyle = useMenuCssVar(rootMenu.props, subMenu.level + 1);
@@ -31442,6 +31543,7 @@ var Menu = defineComponent({
31442
31543
  const menu = ref();
31443
31544
  const nsMenu = useNamespace("menu");
31444
31545
  const nsSubMenu = useNamespace("sub-menu");
31546
+ const sliceIndex = ref(-1);
31445
31547
  const openedMenus = ref(props.defaultOpeneds && !props.collapse ? props.defaultOpeneds.slice(0) : []);
31446
31548
  const activeIndex = ref(props.defaultActive);
31447
31549
  const items = ref({});
@@ -31515,8 +31617,42 @@ var Menu = defineComponent({
31515
31617
  activeIndex.value = val;
31516
31618
  }
31517
31619
  };
31620
+ const calcSliceIndex = () => {
31621
+ var _a, _b;
31622
+ const items2 = Array.from((_b = (_a = menu.value) == null ? void 0 : _a.childNodes) != null ? _b : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
31623
+ const moreItemWidth = 64;
31624
+ const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
31625
+ const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
31626
+ const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
31627
+ let calcWidth = 0;
31628
+ let sliceIndex2 = 0;
31629
+ items2.forEach((item, index) => {
31630
+ calcWidth += item.offsetWidth || 0;
31631
+ if (calcWidth <= menuWidth - moreItemWidth) {
31632
+ sliceIndex2 = index + 1;
31633
+ }
31634
+ });
31635
+ return sliceIndex2 === items2.length ? -1 : sliceIndex2;
31636
+ };
31637
+ const debounce = (fn, wait = 33.34) => {
31638
+ let timmer;
31639
+ return () => {
31640
+ timmer && clearTimeout(timmer);
31641
+ timmer = setTimeout(() => {
31642
+ fn();
31643
+ }, wait);
31644
+ };
31645
+ };
31646
+ let isFirstTimeRender = true;
31518
31647
  const handleResize = () => {
31519
- nextTick(() => instance.proxy.$forceUpdate());
31648
+ const callback = () => {
31649
+ sliceIndex.value = -1;
31650
+ nextTick(() => {
31651
+ sliceIndex.value = calcSliceIndex();
31652
+ });
31653
+ };
31654
+ isFirstTimeRender ? callback() : debounce(callback)();
31655
+ isFirstTimeRender = false;
31520
31656
  };
31521
31657
  watch(() => props.defaultActive, (currentActive) => {
31522
31658
  if (!items.value[currentActive]) {
@@ -31601,26 +31737,13 @@ var Menu = defineComponent({
31601
31737
  return result;
31602
31738
  };
31603
31739
  return () => {
31604
- var _a, _b, _c, _d;
31740
+ var _a, _b;
31605
31741
  let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
31606
31742
  const vShowMore = [];
31607
31743
  if (props.mode === "horizontal" && menu.value) {
31608
- const items2 = Array.from((_d = (_c = menu.value) == null ? void 0 : _c.childNodes) != null ? _d : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
31609
31744
  const originalSlot = flattedChildren(slot);
31610
- const moreItemWidth = 64;
31611
- const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
31612
- const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
31613
- const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
31614
- let calcWidth = 0;
31615
- let sliceIndex = 0;
31616
- items2.forEach((item, index) => {
31617
- calcWidth += item.offsetWidth || 0;
31618
- if (calcWidth <= menuWidth - moreItemWidth) {
31619
- sliceIndex = index + 1;
31620
- }
31621
- });
31622
- const slotDefault = originalSlot.slice(0, sliceIndex);
31623
- const slotMore = originalSlot.slice(sliceIndex);
31745
+ const slotDefault = sliceIndex.value === -1 ? originalSlot : originalSlot.slice(0, sliceIndex.value);
31746
+ const slotMore = sliceIndex.value === -1 ? [] : originalSlot.slice(sliceIndex.value);
31624
31747
  if ((slotMore == null ? void 0 : slotMore.length) && props.ellipsis) {
31625
31748
  slot = slotDefault;
31626
31749
  vShowMore.push(h$1(SubMenu, {
@@ -31722,7 +31845,7 @@ const _sfc_main$T = defineComponent({
31722
31845
  };
31723
31846
  }
31724
31847
  });
31725
- function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31848
+ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31726
31849
  const _component_el_tooltip = resolveComponent("el-tooltip");
31727
31850
  return openBlock(), createElementBlock("li", {
31728
31851
  class: normalizeClass([
@@ -31758,7 +31881,7 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
31758
31881
  ], 64))
31759
31882
  ], 2);
31760
31883
  }
31761
- var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$g], ["__file", "menu-item.vue"]]);
31884
+ var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["render", _sfc_render$f], ["__file", "menu-item.vue"]]);
31762
31885
 
31763
31886
  const menuItemGroupProps = {
31764
31887
  title: String
@@ -31775,7 +31898,7 @@ const _sfc_main$S = defineComponent({
31775
31898
  };
31776
31899
  }
31777
31900
  });
31778
- function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31901
+ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
31779
31902
  return openBlock(), createElementBlock("li", {
31780
31903
  class: normalizeClass(_ctx.ns.b())
31781
31904
  }, [
@@ -31791,7 +31914,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
31791
31914
  ])
31792
31915
  ], 2);
31793
31916
  }
31794
- var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$f], ["__file", "menu-item-group.vue"]]);
31917
+ var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["render", _sfc_render$e], ["__file", "menu-item-group.vue"]]);
31795
31918
 
31796
31919
  const ElMenu = withInstall(Menu, {
31797
31920
  MenuItem,
@@ -31817,55 +31940,96 @@ const pageHeaderEmits = {
31817
31940
  back: () => true
31818
31941
  };
31819
31942
 
31820
- const __default__$A = {
31943
+ const _hoisted_1$q = ["aria-label"];
31944
+ const __default__$B = {
31821
31945
  name: "ElPageHeader"
31822
31946
  };
31823
31947
  const _sfc_main$R = /* @__PURE__ */ defineComponent({
31824
- ...__default__$A,
31948
+ ...__default__$B,
31825
31949
  props: pageHeaderProps,
31826
31950
  emits: pageHeaderEmits,
31827
31951
  setup(__props, { emit }) {
31952
+ const slots = useSlots();
31828
31953
  const { t } = useLocale();
31829
31954
  const ns = useNamespace("page-header");
31955
+ const kls = computed$1(() => {
31956
+ return [
31957
+ ns.b(),
31958
+ {
31959
+ [ns.m("has-breadcrumb")]: !!slots.breadcrumb,
31960
+ [ns.m("has-extra")]: !!slots.extra,
31961
+ [ns.is("contentful")]: !!slots.default
31962
+ }
31963
+ ];
31964
+ });
31830
31965
  function handleClick() {
31831
31966
  emit("back");
31832
31967
  }
31833
31968
  return (_ctx, _cache) => {
31834
31969
  return openBlock(), createElementBlock("div", {
31835
- class: normalizeClass(unref(ns).b())
31970
+ class: normalizeClass(unref(kls))
31836
31971
  }, [
31837
31972
  createElementVNode("div", {
31838
- class: normalizeClass(unref(ns).e("left")),
31839
- onClick: handleClick
31973
+ class: normalizeClass(unref(ns).e("breadcrumb"))
31974
+ }, [
31975
+ renderSlot(_ctx.$slots, "breadcrumb")
31976
+ ], 2),
31977
+ createElementVNode("div", {
31978
+ class: normalizeClass(unref(ns).e("header"))
31840
31979
  }, [
31841
- _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("div", {
31842
- key: 0,
31843
- class: normalizeClass(unref(ns).e("icon"))
31844
- }, [
31845
- renderSlot(_ctx.$slots, "icon", {}, () => [
31846
- _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
31847
- default: withCtx(() => [
31848
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
31849
- ]),
31850
- _: 1
31851
- })) : createCommentVNode("v-if", true)
31852
- ])
31853
- ], 2)) : createCommentVNode("v-if", true),
31854
31980
  createElementVNode("div", {
31855
- class: normalizeClass(unref(ns).e("title"))
31981
+ class: normalizeClass(unref(ns).e("left"))
31856
31982
  }, [
31857
- renderSlot(_ctx.$slots, "title", {}, () => [
31858
- createTextVNode(toDisplayString(_ctx.title || unref(t)("el.pageHeader.title")), 1)
31859
- ])
31860
- ], 2)
31983
+ createElementVNode("div", {
31984
+ class: normalizeClass(unref(ns).e("back")),
31985
+ role: "button",
31986
+ tabindex: "0",
31987
+ onClick: handleClick
31988
+ }, [
31989
+ _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("div", {
31990
+ key: 0,
31991
+ "aria-label": _ctx.title || unref(t)("el.pageHeader.title"),
31992
+ class: normalizeClass(unref(ns).e("icon"))
31993
+ }, [
31994
+ renderSlot(_ctx.$slots, "icon", {}, () => [
31995
+ _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
31996
+ default: withCtx(() => [
31997
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
31998
+ ]),
31999
+ _: 1
32000
+ })) : createCommentVNode("v-if", true)
32001
+ ])
32002
+ ], 10, _hoisted_1$q)) : createCommentVNode("v-if", true),
32003
+ createElementVNode("div", {
32004
+ class: normalizeClass(unref(ns).e("title"))
32005
+ }, [
32006
+ renderSlot(_ctx.$slots, "title", {}, () => [
32007
+ createTextVNode(toDisplayString(_ctx.title || unref(t)("el.pageHeader.title")), 1)
32008
+ ])
32009
+ ], 2)
32010
+ ], 2),
32011
+ createVNode(unref(ElDivider), { direction: "vertical" }),
32012
+ createElementVNode("div", {
32013
+ class: normalizeClass(unref(ns).e("content"))
32014
+ }, [
32015
+ renderSlot(_ctx.$slots, "content", {}, () => [
32016
+ createTextVNode(toDisplayString(_ctx.content), 1)
32017
+ ])
32018
+ ], 2)
32019
+ ], 2),
32020
+ _ctx.$slots.extra ? (openBlock(), createElementBlock("div", {
32021
+ key: 0,
32022
+ class: normalizeClass(unref(ns).e("extra"))
32023
+ }, [
32024
+ renderSlot(_ctx.$slots, "extra")
32025
+ ], 2)) : createCommentVNode("v-if", true)
31861
32026
  ], 2),
31862
- createElementVNode("div", {
31863
- class: normalizeClass(unref(ns).e("content"))
32027
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
32028
+ key: 0,
32029
+ class: normalizeClass(unref(ns).e("main"))
31864
32030
  }, [
31865
- renderSlot(_ctx.$slots, "content", {}, () => [
31866
- createTextVNode(toDisplayString(_ctx.content), 1)
31867
- ])
31868
- ], 2)
32031
+ renderSlot(_ctx.$slots, "default")
32032
+ ], 2)) : createCommentVNode("v-if", true)
31869
32033
  ], 2);
31870
32034
  };
31871
32035
  }
@@ -31882,6 +32046,9 @@ const paginationPrevProps = buildProps({
31882
32046
  },
31883
32047
  prevText: {
31884
32048
  type: String
32049
+ },
32050
+ prevIcon: {
32051
+ type: iconPropType
31885
32052
  }
31886
32053
  });
31887
32054
  const paginationPrevEmits = {
@@ -31890,11 +32057,11 @@ const paginationPrevEmits = {
31890
32057
 
31891
32058
  const _hoisted_1$p = ["disabled", "aria-disabled"];
31892
32059
  const _hoisted_2$h = { key: 0 };
31893
- const __default__$z = {
32060
+ const __default__$A = {
31894
32061
  name: "ElPaginationPrev"
31895
32062
  };
31896
32063
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
31897
- ...__default__$z,
32064
+ ...__default__$A,
31898
32065
  props: paginationPrevProps,
31899
32066
  emits: paginationPrevEmits,
31900
32067
  setup(__props) {
@@ -31910,7 +32077,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
31910
32077
  }, [
31911
32078
  _ctx.prevText ? (openBlock(), createElementBlock("span", _hoisted_2$h, toDisplayString(_ctx.prevText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
31912
32079
  default: withCtx(() => [
31913
- createVNode(unref(arrow_left_default))
32080
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.prevIcon)))
31914
32081
  ]),
31915
32082
  _: 1
31916
32083
  }))
@@ -31932,16 +32099,19 @@ const paginationNextProps = buildProps({
31932
32099
  },
31933
32100
  nextText: {
31934
32101
  type: String
32102
+ },
32103
+ nextIcon: {
32104
+ type: iconPropType
31935
32105
  }
31936
32106
  });
31937
32107
 
31938
32108
  const _hoisted_1$o = ["disabled", "aria-disabled"];
31939
32109
  const _hoisted_2$g = { key: 0 };
31940
- const __default__$y = {
32110
+ const __default__$z = {
31941
32111
  name: "ElPaginationNext"
31942
32112
  };
31943
32113
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
31944
- ...__default__$y,
32114
+ ...__default__$z,
31945
32115
  props: paginationNextProps,
31946
32116
  emits: ["click"],
31947
32117
  setup(__props) {
@@ -31957,7 +32127,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
31957
32127
  }, [
31958
32128
  _ctx.nextText ? (openBlock(), createElementBlock("span", _hoisted_2$g, toDisplayString(_ctx.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
31959
32129
  default: withCtx(() => [
31960
- createVNode(unref(arrow_right_default))
32130
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon)))
31961
32131
  ]),
31962
32132
  _: 1
31963
32133
  }))
@@ -32007,7 +32177,7 @@ function useOption$1(props, states) {
32007
32177
  } else {
32008
32178
  const valueKey = select.props.valueKey;
32009
32179
  return arr && arr.some((item) => {
32010
- return get(item, valueKey) === get(target, valueKey);
32180
+ return toRaw$1(get(item, valueKey)) === get(target, valueKey);
32011
32181
  });
32012
32182
  }
32013
32183
  };
@@ -32120,7 +32290,7 @@ const _sfc_main$O = defineComponent({
32120
32290
  };
32121
32291
  }
32122
32292
  });
32123
- function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32293
+ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32124
32294
  return withDirectives((openBlock(), createElementBlock("li", {
32125
32295
  class: normalizeClass([
32126
32296
  _ctx.ns.be("dropdown", "item"),
@@ -32140,7 +32310,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32140
32310
  [vShow, _ctx.visible]
32141
32311
  ]);
32142
32312
  }
32143
- var Option = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$e], ["__file", "option.vue"]]);
32313
+ var Option = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$d], ["__file", "option.vue"]]);
32144
32314
 
32145
32315
  const _sfc_main$N = defineComponent({
32146
32316
  name: "ElSelectDropdown",
@@ -32169,7 +32339,7 @@ const _sfc_main$N = defineComponent({
32169
32339
  };
32170
32340
  }
32171
32341
  });
32172
- function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32342
+ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32173
32343
  return openBlock(), createElementBlock("div", {
32174
32344
  class: normalizeClass([_ctx.ns.b("dropdown"), _ctx.ns.is("multiple", _ctx.isMultiple), _ctx.popperClass]),
32175
32345
  style: normalizeStyle({ [_ctx.isFitInputWidth ? "width" : "minWidth"]: _ctx.minWidth })
@@ -32177,7 +32347,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32177
32347
  renderSlot(_ctx.$slots, "default")
32178
32348
  ], 6);
32179
32349
  }
32180
- var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$d], ["__file", "select-dropdown.vue"]]);
32350
+ var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$c], ["__file", "select-dropdown.vue"]]);
32181
32351
 
32182
32352
  function useSelectStates(props) {
32183
32353
  const { t } = useLocale();
@@ -32219,10 +32389,9 @@ const useSelect$3 = (props, states, ctx) => {
32219
32389
  const hoverOption = ref(-1);
32220
32390
  const queryChange = shallowRef({ query: "" });
32221
32391
  const groupQueryChange = shallowRef("");
32222
- const elForm = inject(formContextKey, {});
32223
- const elFormItem = inject(formItemContextKey, {});
32392
+ const { form, formItem } = useFormItem();
32224
32393
  const readonly = computed$1(() => !props.filterable || props.multiple || !states.visible);
32225
- const selectDisabled = computed$1(() => props.disabled || elForm.disabled);
32394
+ const selectDisabled = computed$1(() => props.disabled || (form == null ? void 0 : form.disabled));
32226
32395
  const showClose = computed$1(() => {
32227
32396
  const hasValue = props.multiple ? Array.isArray(props.modelValue) && props.modelValue.length > 0 : props.modelValue !== void 0 && props.modelValue !== null && props.modelValue !== "";
32228
32397
  const criteria = props.clearable && !selectDisabled.value && states.inputHovering && hasValue;
@@ -32266,7 +32435,7 @@ const useSelect$3 = (props, states, ctx) => {
32266
32435
  states.visible = val;
32267
32436
  }
32268
32437
  });
32269
- watch([() => selectDisabled.value, () => selectSize.value, () => elForm.size], () => {
32438
+ watch([() => selectDisabled.value, () => selectSize.value, () => form == null ? void 0 : form.size], () => {
32270
32439
  nextTick(() => {
32271
32440
  resetInputHeight();
32272
32441
  });
@@ -32275,7 +32444,6 @@ const useSelect$3 = (props, states, ctx) => {
32275
32444
  states.cachedPlaceHolder = states.currentPlaceholder = val;
32276
32445
  });
32277
32446
  watch(() => props.modelValue, (val, oldVal) => {
32278
- var _a;
32279
32447
  if (props.multiple) {
32280
32448
  resetInputHeight();
32281
32449
  if (val && val.length > 0 || input.value && states.query !== "") {
@@ -32293,7 +32461,7 @@ const useSelect$3 = (props, states, ctx) => {
32293
32461
  states.inputLength = 20;
32294
32462
  }
32295
32463
  if (!isEqual$1(val, oldVal) && props.validateEvent) {
32296
- (_a = elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
32464
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
32297
32465
  }
32298
32466
  }, {
32299
32467
  flush: "post",
@@ -32386,7 +32554,7 @@ const useSelect$3 = (props, states, ctx) => {
32386
32554
  return;
32387
32555
  const input2 = reference.value.$el.querySelector("input");
32388
32556
  const _tags = tags.value;
32389
- const sizeInMap = getComponentSize(selectSize.value || elForm.size);
32557
+ const sizeInMap = getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
32390
32558
  input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`;
32391
32559
  states.tagInMultiLine = Number.parseFloat(input2.style.height) >= sizeInMap;
32392
32560
  if (states.visible && emptyText.value !== false) {
@@ -32623,7 +32791,7 @@ const useSelect$3 = (props, states, ctx) => {
32623
32791
  const valueKey = props.valueKey;
32624
32792
  let index = -1;
32625
32793
  arr.some((item, i) => {
32626
- if (get(item, valueKey) === get(value, valueKey)) {
32794
+ if (toRaw$1(get(item, valueKey)) === get(value, valueKey)) {
32627
32795
  index = i;
32628
32796
  return true;
32629
32797
  }
@@ -33156,7 +33324,7 @@ const _sfc_main$M = defineComponent({
33156
33324
  const _hoisted_1$n = { class: "select-trigger" };
33157
33325
  const _hoisted_2$f = ["disabled", "autocomplete"];
33158
33326
  const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
33159
- function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33327
+ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33160
33328
  const _component_el_tag = resolveComponent("el-tag");
33161
33329
  const _component_el_tooltip = resolveComponent("el-tooltip");
33162
33330
  const _component_el_icon = resolveComponent("el-icon");
@@ -33457,7 +33625,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
33457
33625
  [_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]
33458
33626
  ]);
33459
33627
  }
33460
- var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$c], ["__file", "select.vue"]]);
33628
+ var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["render", _sfc_render$b], ["__file", "select.vue"]]);
33461
33629
 
33462
33630
  const _sfc_main$L = defineComponent({
33463
33631
  name: "ElOptionGroup",
@@ -33505,7 +33673,7 @@ const _sfc_main$L = defineComponent({
33505
33673
  };
33506
33674
  }
33507
33675
  });
33508
- function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33676
+ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
33509
33677
  return withDirectives((openBlock(), createElementBlock("ul", {
33510
33678
  class: normalizeClass(_ctx.ns.be("group", "wrap"))
33511
33679
  }, [
@@ -33523,7 +33691,7 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33523
33691
  [vShow, _ctx.visible]
33524
33692
  ]);
33525
33693
  }
33526
- var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$b], ["__file", "option-group.vue"]]);
33694
+ var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["render", _sfc_render$a], ["__file", "option-group.vue"]]);
33527
33695
 
33528
33696
  const ElSelect = withInstall(Select$1, {
33529
33697
  Option,
@@ -33553,11 +33721,11 @@ const paginationSizesProps = buildProps({
33553
33721
  }
33554
33722
  });
33555
33723
 
33556
- const __default__$x = {
33724
+ const __default__$y = {
33557
33725
  name: "ElPaginationSizes"
33558
33726
  };
33559
33727
  const _sfc_main$K = /* @__PURE__ */ defineComponent({
33560
- ...__default__$x,
33728
+ ...__default__$y,
33561
33729
  props: paginationSizesProps,
33562
33730
  emits: ["page-size-change"],
33563
33731
  setup(__props, { emit }) {
@@ -33614,11 +33782,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
33614
33782
  var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
33615
33783
 
33616
33784
  const _hoisted_1$m = ["disabled"];
33617
- const __default__$w = {
33785
+ const __default__$x = {
33618
33786
  name: "ElPaginationJumper"
33619
33787
  };
33620
33788
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
33621
- ...__default__$w,
33789
+ ...__default__$x,
33622
33790
  setup(__props) {
33623
33791
  const { t } = useLocale();
33624
33792
  const ns = useNamespace("pagination");
@@ -33668,11 +33836,11 @@ const paginationTotalProps = buildProps({
33668
33836
  });
33669
33837
 
33670
33838
  const _hoisted_1$l = ["disabled"];
33671
- const __default__$v = {
33839
+ const __default__$w = {
33672
33840
  name: "ElPaginationTotal"
33673
33841
  };
33674
33842
  const _sfc_main$I = /* @__PURE__ */ defineComponent({
33675
- ...__default__$v,
33843
+ ...__default__$w,
33676
33844
  props: paginationTotalProps,
33677
33845
  setup(__props) {
33678
33846
  const { t } = useLocale();
@@ -33712,11 +33880,11 @@ const _hoisted_3$7 = ["tabindex"];
33712
33880
  const _hoisted_4$5 = ["aria-current", "tabindex"];
33713
33881
  const _hoisted_5$4 = ["tabindex"];
33714
33882
  const _hoisted_6$1 = ["aria-current", "tabindex"];
33715
- const __default__$u = {
33883
+ const __default__$v = {
33716
33884
  name: "ElPaginationPager"
33717
33885
  };
33718
33886
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
33719
- ...__default__$u,
33887
+ ...__default__$v,
33720
33888
  props: paginationPagerProps,
33721
33889
  emits: ["change"],
33722
33890
  setup(__props, { emit }) {
@@ -33939,10 +34107,18 @@ const paginationProps = buildProps({
33939
34107
  type: String,
33940
34108
  default: ""
33941
34109
  },
34110
+ prevIcon: {
34111
+ type: iconPropType,
34112
+ default: () => arrow_left_default
34113
+ },
33942
34114
  nextText: {
33943
34115
  type: String,
33944
34116
  default: ""
33945
34117
  },
34118
+ nextIcon: {
34119
+ type: iconPropType,
34120
+ default: () => arrow_right_default
34121
+ },
33946
34122
  small: Boolean,
33947
34123
  background: Boolean,
33948
34124
  disabled: Boolean,
@@ -34090,6 +34266,7 @@ var Pagination = defineComponent({
34090
34266
  disabled: props.disabled,
34091
34267
  currentPage: currentPageBridge.value,
34092
34268
  prevText: props.prevText,
34269
+ prevIcon: props.prevIcon,
34093
34270
  onClick: prev
34094
34271
  }),
34095
34272
  jumper: h$1(Jumper),
@@ -34105,6 +34282,7 @@ var Pagination = defineComponent({
34105
34282
  currentPage: currentPageBridge.value,
34106
34283
  pageCount: pageCountBridge.value,
34107
34284
  nextText: props.nextText,
34285
+ nextIcon: props.nextIcon,
34108
34286
  onClick: next
34109
34287
  }),
34110
34288
  sizes: h$1(Sizes, {
@@ -34191,14 +34369,18 @@ const popconfirmProps = buildProps({
34191
34369
  type: definePropType(Function)
34192
34370
  },
34193
34371
  teleported: useTooltipContentProps.teleported,
34194
- persistent: useTooltipContentProps.persistent
34372
+ persistent: useTooltipContentProps.persistent,
34373
+ width: {
34374
+ type: [String, Number],
34375
+ default: 150
34376
+ }
34195
34377
  });
34196
34378
 
34197
- const __default__$t = {
34379
+ const __default__$u = {
34198
34380
  name: "ElPopconfirm"
34199
34381
  };
34200
34382
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
34201
- ...__default__$t,
34383
+ ...__default__$u,
34202
34384
  props: popconfirmProps,
34203
34385
  setup(__props) {
34204
34386
  const props = __props;
@@ -34209,6 +34391,11 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
34209
34391
  var _a, _b;
34210
34392
  (_b = (_a = tooltipRef.value) == null ? void 0 : _a.onClose) == null ? void 0 : _b.call(_a);
34211
34393
  };
34394
+ const style = computed$1(() => {
34395
+ return {
34396
+ width: addUnit(props.width)
34397
+ };
34398
+ });
34212
34399
  const confirm = (e) => {
34213
34400
  var _a;
34214
34401
  (_a = props.onConfirm) == null ? void 0 : _a.call(props, e);
@@ -34222,17 +34409,19 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
34222
34409
  const finalConfirmButtonText = computed$1(() => props.confirmButtonText || t("el.popconfirm.confirmButtonText"));
34223
34410
  const finalCancelButtonText = computed$1(() => props.cancelButtonText || t("el.popconfirm.cancelButtonText"));
34224
34411
  return (_ctx, _cache) => {
34225
- return openBlock(), createBlock(unref(ElTooltip), {
34412
+ return openBlock(), createBlock(unref(ElTooltip), mergeProps({
34226
34413
  ref_key: "tooltipRef",
34227
34414
  ref: tooltipRef,
34228
34415
  trigger: "click",
34229
- effect: "light",
34416
+ effect: "light"
34417
+ }, _ctx.$attrs, {
34230
34418
  "popper-class": `${unref(ns).namespace.value}-popover`,
34419
+ "popper-style": unref(style),
34231
34420
  teleported: _ctx.teleported,
34232
34421
  "fallback-placements": ["bottom", "top", "right", "left"],
34233
34422
  "hide-after": _ctx.hideAfter,
34234
34423
  persistent: _ctx.persistent
34235
- }, {
34424
+ }), {
34236
34425
  content: withCtx(() => [
34237
34426
  createElementVNode("div", {
34238
34427
  class: normalizeClass(unref(ns).b())
@@ -34284,7 +34473,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
34284
34473
  _ctx.$slots.reference ? renderSlot(_ctx.$slots, "reference", { key: 0 }) : createCommentVNode("v-if", true)
34285
34474
  ]),
34286
34475
  _: 3
34287
- }, 8, ["popper-class", "teleported", "hide-after", "persistent"]);
34476
+ }, 16, ["popper-class", "popper-style", "teleported", "hide-after", "persistent"]);
34288
34477
  };
34289
34478
  }
34290
34479
  });
@@ -34353,11 +34542,11 @@ const popoverEmits = {
34353
34542
  "after-leave": () => true
34354
34543
  };
34355
34544
 
34356
- const __default__$s = {
34545
+ const __default__$t = {
34357
34546
  name: "ElPopover"
34358
34547
  };
34359
34548
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
34360
- ...__default__$s,
34549
+ ...__default__$t,
34361
34550
  props: popoverProps,
34362
34551
  emits: popoverEmits,
34363
34552
  setup(__props, { expose, emit }) {
@@ -34384,7 +34573,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
34384
34573
  return [ns.b(), props.popperClass, { [ns.m("plain")]: !!props.content }];
34385
34574
  });
34386
34575
  const gpuAcceleration = computed$1(() => {
34387
- return props.transition === "el-fade-in-linear";
34576
+ return props.transition === `${ns.namespace.value}-fade-in-linear`;
34388
34577
  });
34389
34578
  const hide = () => {
34390
34579
  var _a;
@@ -34544,11 +34733,11 @@ const _hoisted_2$d = { viewBox: "0 0 100 100" };
34544
34733
  const _hoisted_3$6 = ["d", "stroke", "stroke-width"];
34545
34734
  const _hoisted_4$4 = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"];
34546
34735
  const _hoisted_5$3 = { key: 0 };
34547
- const __default__$r = {
34736
+ const __default__$s = {
34548
34737
  name: "ElProgress"
34549
34738
  };
34550
34739
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
34551
- ...__default__$r,
34740
+ ...__default__$s,
34552
34741
  props: progressProps,
34553
34742
  setup(__props) {
34554
34743
  const props = __props;
@@ -34828,11 +35017,11 @@ const rateEmits = {
34828
35017
 
34829
35018
  const _hoisted_1$i = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
34830
35019
  const _hoisted_2$c = ["onMousemove", "onClick"];
34831
- const __default__$q = {
35020
+ const __default__$r = {
34832
35021
  name: "ElRate"
34833
35022
  };
34834
35023
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
34835
- ...__default__$q,
35024
+ ...__default__$r,
34836
35025
  props: rateProps,
34837
35026
  emits: rateEmits,
34838
35027
  setup(__props, { expose, emit }) {
@@ -35093,11 +35282,11 @@ const resultProps = buildProps({
35093
35282
  }
35094
35283
  });
35095
35284
 
35096
- const __default__$p = {
35285
+ const __default__$q = {
35097
35286
  name: "ElResult"
35098
35287
  };
35099
35288
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
35100
- ...__default__$p,
35289
+ ...__default__$q,
35101
35290
  props: resultProps,
35102
35291
  setup(__props) {
35103
35292
  const props = __props;
@@ -35185,11 +35374,11 @@ const rowProps = buildProps({
35185
35374
  }
35186
35375
  });
35187
35376
 
35188
- const __default__$o = {
35377
+ const __default__$p = {
35189
35378
  name: "ElRow"
35190
35379
  };
35191
35380
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
35192
- ...__default__$o,
35381
+ ...__default__$p,
35193
35382
  props: rowProps,
35194
35383
  setup(__props) {
35195
35384
  const props = __props;
@@ -35890,11 +36079,11 @@ const createList = ({
35890
36079
  if (layout === HORIZONTAL) {
35891
36080
  if (direction === RTL) {
35892
36081
  switch (getRTLOffsetType()) {
35893
- case "negative": {
36082
+ case RTL_OFFSET_NAG: {
35894
36083
  windowElement.scrollLeft = -scrollOffset;
35895
36084
  break;
35896
36085
  }
35897
- case "positive-ascending": {
36086
+ case RTL_OFFSET_POS_ASC: {
35898
36087
  windowElement.scrollLeft = scrollOffset;
35899
36088
  break;
35900
36089
  }
@@ -37041,7 +37230,7 @@ const _sfc_main$A = defineComponent({
37041
37230
  };
37042
37231
  }
37043
37232
  });
37044
- function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
37233
+ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37045
37234
  return _ctx.item.isTitle ? (openBlock(), createElementBlock("div", {
37046
37235
  key: 0,
37047
37236
  class: normalizeClass(_ctx.ns.be("group", "title")),
@@ -37057,7 +37246,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
37057
37246
  }, null, 6)
37058
37247
  ], 6));
37059
37248
  }
37060
- var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$a], ["__file", "group-item.vue"]]);
37249
+ var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$9], ["__file", "group-item.vue"]]);
37061
37250
 
37062
37251
  function useOption(props, { emit }) {
37063
37252
  return {
@@ -37192,7 +37381,7 @@ const _sfc_main$z = defineComponent({
37192
37381
  }
37193
37382
  });
37194
37383
  const _hoisted_1$h = ["aria-selected"];
37195
- function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37384
+ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
37196
37385
  return openBlock(), createElementBlock("li", {
37197
37386
  "aria-selected": _ctx.selected,
37198
37387
  style: normalizeStyle(_ctx.style),
@@ -37215,7 +37404,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
37215
37404
  ])
37216
37405
  ], 46, _hoisted_1$h);
37217
37406
  }
37218
- var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$9], ["__file", "option-item.vue"]]);
37407
+ var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$8], ["__file", "option-item.vue"]]);
37219
37408
 
37220
37409
  const selectV2InjectionKey = "ElSelectV2Injection";
37221
37410
 
@@ -38222,7 +38411,7 @@ const _hoisted_2$b = ["id", "autocomplete", "aria-expanded", "aria-labelledby",
38222
38411
  const _hoisted_3$5 = ["textContent"];
38223
38412
  const _hoisted_4$3 = ["id", "aria-labelledby", "aria-expanded", "autocomplete", "disabled", "name", "readonly", "unselectable"];
38224
38413
  const _hoisted_5$2 = ["textContent"];
38225
- function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
38414
+ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
38226
38415
  const _component_el_tag = resolveComponent("el-tag");
38227
38416
  const _component_el_tooltip = resolveComponent("el-tooltip");
38228
38417
  const _component_el_icon = resolveComponent("el-icon");
@@ -38563,7 +38752,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
38563
38752
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
38564
38753
  ]);
38565
38754
  }
38566
- var Select = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$8], ["__file", "select.vue"]]);
38755
+ var Select = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$7], ["__file", "select.vue"]]);
38567
38756
 
38568
38757
  Select.install = (app) => {
38569
38758
  app.component(Select.name, Select);
@@ -38611,11 +38800,11 @@ const skeletonItemProps = buildProps({
38611
38800
  }
38612
38801
  });
38613
38802
 
38614
- const __default__$n = {
38803
+ const __default__$o = {
38615
38804
  name: "ElSkeletonItem"
38616
38805
  };
38617
38806
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
38618
- ...__default__$n,
38807
+ ...__default__$o,
38619
38808
  props: skeletonItemProps,
38620
38809
  setup(__props) {
38621
38810
  const ns = useNamespace("skeleton");
@@ -38630,11 +38819,11 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
38630
38819
  });
38631
38820
  var SkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "skeleton-item.vue"]]);
38632
38821
 
38633
- const __default__$m = {
38822
+ const __default__$n = {
38634
38823
  name: "ElSkeleton"
38635
38824
  };
38636
38825
  const _sfc_main$w = /* @__PURE__ */ defineComponent({
38637
- ...__default__$m,
38826
+ ...__default__$n,
38638
38827
  props: skeletonProps,
38639
38828
  setup(__props, { expose }) {
38640
38829
  const props = __props;
@@ -38799,7 +38988,7 @@ const useMarks = (props) => {
38799
38988
  return [];
38800
38989
  }
38801
38990
  const marksKeys = Object.keys(props.marks);
38802
- return marksKeys.map(parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
38991
+ return marksKeys.map(Number.parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
38803
38992
  point,
38804
38993
  position: (point - props.min) * 100 / (props.max - props.min),
38805
38994
  mark: props.marks[point]
@@ -39284,11 +39473,11 @@ const sliderButtonEmits = {
39284
39473
  };
39285
39474
 
39286
39475
  const _hoisted_1$f = ["tabindex"];
39287
- const __default__$l = {
39476
+ const __default__$m = {
39288
39477
  name: "ElSliderButton"
39289
39478
  };
39290
39479
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
39291
- ...__default__$l,
39480
+ ...__default__$m,
39292
39481
  props: sliderButtonProps,
39293
39482
  emits: sliderButtonEmits,
39294
39483
  setup(__props, { expose, emit }) {
@@ -39394,11 +39583,11 @@ var SliderMarker = defineComponent({
39394
39583
 
39395
39584
  const _hoisted_1$e = ["id", "role", "aria-label", "aria-labelledby"];
39396
39585
  const _hoisted_2$a = { key: 1 };
39397
- const __default__$k = {
39586
+ const __default__$l = {
39398
39587
  name: "ElSlider"
39399
39588
  };
39400
39589
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
39401
- ...__default__$k,
39590
+ ...__default__$l,
39402
39591
  props: sliderProps,
39403
39592
  emits: sliderEmits,
39404
39593
  setup(__props, { expose, emit }) {
@@ -39838,11 +40027,11 @@ const stepsEmits = {
39838
40027
  [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
39839
40028
  };
39840
40029
 
39841
- const __default__$j = {
40030
+ const __default__$k = {
39842
40031
  name: "ElSteps"
39843
40032
  };
39844
40033
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
39845
- ...__default__$j,
40034
+ ...__default__$k,
39846
40035
  props: stepsProps,
39847
40036
  emits: stepsEmits,
39848
40037
  setup(__props, { emit }) {
@@ -39888,11 +40077,11 @@ const stepProps = buildProps({
39888
40077
  }
39889
40078
  });
39890
40079
 
39891
- const __default__$i = {
40080
+ const __default__$j = {
39892
40081
  name: "ElStep"
39893
40082
  };
39894
40083
  const _sfc_main$s = defineComponent({
39895
- ...__default__$i,
40084
+ ...__default__$j,
39896
40085
  props: stepProps,
39897
40086
  setup(__props) {
39898
40087
  const props = __props;
@@ -40165,11 +40354,11 @@ const _hoisted_3$4 = ["aria-hidden"];
40165
40354
  const _hoisted_4$2 = ["aria-hidden"];
40166
40355
  const _hoisted_5$1 = ["aria-hidden"];
40167
40356
  const _hoisted_6 = ["aria-hidden"];
40168
- const __default__$h = {
40357
+ const __default__$i = {
40169
40358
  name: "ElSwitch"
40170
40359
  };
40171
40360
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
40172
- ...__default__$h,
40361
+ ...__default__$i,
40173
40362
  props: switchProps,
40174
40363
  emits: switchEmits,
40175
40364
  setup(__props, { expose, emit }) {
@@ -40279,7 +40468,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40279
40468
  input.value.checked = checked.value;
40280
40469
  });
40281
40470
  expose({
40282
- focus
40471
+ focus,
40472
+ checked
40283
40473
  });
40284
40474
  return (_ctx, _cache) => {
40285
40475
  return openBlock(), createElementBlock("div", {
@@ -40704,6 +40894,7 @@ function createTablePopper(parentNode, trigger, popperContent, popperOptions, to
40704
40894
  function showPopper() {
40705
40895
  popperInstance && popperInstance.update();
40706
40896
  }
40897
+ removePopper == null ? void 0 : removePopper();
40707
40898
  removePopper = () => {
40708
40899
  try {
40709
40900
  popperInstance && popperInstance.destroy();
@@ -42122,7 +42313,7 @@ const _sfc_main$q = defineComponent({
42122
42313
  const _hoisted_1$c = { key: 0 };
42123
42314
  const _hoisted_2$8 = ["disabled"];
42124
42315
  const _hoisted_3$3 = ["label", "onClick"];
42125
- function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
42316
+ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
42126
42317
  const _component_el_checkbox = resolveComponent("el-checkbox");
42127
42318
  const _component_el_checkbox_group = resolveComponent("el-checkbox-group");
42128
42319
  const _component_el_scrollbar = resolveComponent("el-scrollbar");
@@ -42235,7 +42426,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
42235
42426
  _: 1
42236
42427
  }, 8, ["visible", "placement", "popper-class"]);
42237
42428
  }
42238
- var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$7], ["__file", "filter-panel.vue"]]);
42429
+ var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$6], ["__file", "filter-panel.vue"]]);
42239
42430
 
42240
42431
  function useLayoutObserver(root) {
42241
42432
  const instance = getCurrentInstance();
@@ -42737,8 +42928,7 @@ var TableHeader = defineComponent({
42737
42928
  h$1("div", {
42738
42929
  class: [
42739
42930
  "cell",
42740
- column.filteredValue && column.filteredValue.length > 0 ? "highlight" : "",
42741
- column.labelClassName
42931
+ column.filteredValue && column.filteredValue.length > 0 ? "highlight" : ""
42742
42932
  ]
42743
42933
  }, [
42744
42934
  column.renderHeader ? column.renderHeader({
@@ -42810,7 +43000,7 @@ function useEvents(props) {
42810
43000
  const handleMouseLeave = debounce(() => {
42811
43001
  props.store.commit("setHoverRow", null);
42812
43002
  }, 30);
42813
- const handleCellMouseEnter = (event, row) => {
43003
+ const handleCellMouseEnter = (event, row, tooltipEffect) => {
42814
43004
  var _a;
42815
43005
  const table = parent;
42816
43006
  const cell = getCell(event);
@@ -42835,7 +43025,7 @@ function useEvents(props) {
42835
43025
  createTablePopper(parent == null ? void 0 : parent.refs.tableWrapper, cell, cell.innerText || cell.textContent, {
42836
43026
  placement: "top",
42837
43027
  strategy: "fixed"
42838
- }, row.tooltipEffect);
43028
+ }, tooltipEffect);
42839
43029
  }
42840
43030
  };
42841
43031
  const handleCellMouseLeave = (event) => {
@@ -43054,7 +43244,7 @@ function useRender$1(props) {
43054
43244
  key: `${patchKey}${baseKey}`,
43055
43245
  rowspan,
43056
43246
  colspan,
43057
- onMouseenter: ($event) => handleCellMouseEnter($event, { ...row, tooltipEffect }),
43247
+ onMouseenter: ($event) => handleCellMouseEnter($event, row, tooltipEffect),
43058
43248
  onMouseleave: handleCellMouseLeave
43059
43249
  }, [tdChildren]);
43060
43250
  }));
@@ -43085,7 +43275,7 @@ function useRender$1(props) {
43085
43275
  }, [
43086
43276
  h$1("td", {
43087
43277
  colspan: columns.length,
43088
- class: "el-table__cell el-table__expanded-cell"
43278
+ class: `${ns.e("cell")} ${ns.e("expanded-cell")}`
43089
43279
  }, [renderExpanded({ row, $index, store, expanded })])
43090
43280
  ])
43091
43281
  ]
@@ -43219,10 +43409,6 @@ var TableBody = defineComponent({
43219
43409
  var _a;
43220
43410
  (_a = removePopper) == null ? void 0 : _a();
43221
43411
  });
43222
- onUpdated(() => {
43223
- var _a;
43224
- (_a = removePopper) == null ? void 0 : _a();
43225
- });
43226
43412
  return {
43227
43413
  ns,
43228
43414
  onColumnsChange,
@@ -43552,7 +43738,7 @@ function useStyle(props, layout, store, table) {
43552
43738
  layout.updateElsHeight();
43553
43739
  }
43554
43740
  layout.updateColumnsWidth();
43555
- requestAnimationFrame(syncPostion);
43741
+ requestAnimationFrame(syncPosition);
43556
43742
  };
43557
43743
  onMounted(async () => {
43558
43744
  await nextTick();
@@ -43595,7 +43781,7 @@ function useStyle(props, layout, store, table) {
43595
43781
  const { tableWrapper } = table.refs;
43596
43782
  return !!(tableWrapper && tableWrapper.classList.contains(className));
43597
43783
  };
43598
- const syncPostion = function() {
43784
+ const syncPosition = function() {
43599
43785
  if (!table.refs.scrollBarRef)
43600
43786
  return;
43601
43787
  if (!layout.scrollX.value) {
@@ -43627,7 +43813,7 @@ function useStyle(props, layout, store, table) {
43627
43813
  if (!table.refs.scrollBarRef)
43628
43814
  return;
43629
43815
  if (table.refs.scrollBarRef.wrap$) {
43630
- useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPostion, {
43816
+ useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPosition, {
43631
43817
  passive: true
43632
43818
  });
43633
43819
  }
@@ -43636,6 +43822,11 @@ function useStyle(props, layout, store, table) {
43636
43822
  } else {
43637
43823
  useEventListener(window, "resize", resizeListener);
43638
43824
  }
43825
+ useResizeObserver(table.refs.bodyWrapper, () => {
43826
+ var _a, _b;
43827
+ resizeListener();
43828
+ (_b = (_a = table.refs) == null ? void 0 : _a.scrollBarRef) == null ? void 0 : _b.update();
43829
+ });
43639
43830
  };
43640
43831
  const resizeListener = () => {
43641
43832
  var _a, _b, _c;
@@ -43662,7 +43853,7 @@ function useStyle(props, layout, store, table) {
43662
43853
  }
43663
43854
  tableScrollHeight.value = ((_b = table.refs.tableWrapper) == null ? void 0 : _b.scrollHeight) || 0;
43664
43855
  headerScrollHeight.value = (tableHeader == null ? void 0 : tableHeader.scrollHeight) || 0;
43665
- footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.scrollHeight) || 0;
43856
+ footerScrollHeight.value = ((_c = table.refs.footerWrapper) == null ? void 0 : _c.offsetHeight) || 0;
43666
43857
  bodyScrollHeight.value = tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value;
43667
43858
  if (shouldUpdateLayout) {
43668
43859
  resizeState.value = {
@@ -43687,7 +43878,7 @@ function useStyle(props, layout, store, table) {
43687
43878
  if (props.data && props.data.length)
43688
43879
  return null;
43689
43880
  let height = "100%";
43690
- if (bodyScrollHeight.value) {
43881
+ if (props.height && bodyScrollHeight.value) {
43691
43882
  height = `${bodyScrollHeight.value}px`;
43692
43883
  }
43693
43884
  const width = tableWidth.value;
@@ -43710,7 +43901,6 @@ function useStyle(props, layout, store, table) {
43710
43901
  return {};
43711
43902
  });
43712
43903
  const scrollbarStyle = computed$1(() => {
43713
- var _a, _b;
43714
43904
  if (props.height) {
43715
43905
  return {
43716
43906
  height: "100%"
@@ -43718,13 +43908,11 @@ function useStyle(props, layout, store, table) {
43718
43908
  }
43719
43909
  if (props.maxHeight) {
43720
43910
  if (!Number.isNaN(Number(props.maxHeight))) {
43721
- const headerHeight = ((_a = table.refs.headerWrapper) == null ? void 0 : _a.scrollHeight) || 0;
43722
- const footerHeight = ((_b = table.refs.footerWrapper) == null ? void 0 : _b.scrollHeight) || 0;
43723
43911
  const maxHeight = props.maxHeight;
43724
43912
  const reachMaxHeight = tableScrollHeight.value >= Number(maxHeight);
43725
43913
  if (reachMaxHeight) {
43726
43914
  return {
43727
- maxHeight: `${tableScrollHeight.value - headerHeight - footerHeight}px`
43915
+ maxHeight: `${tableScrollHeight.value - headerScrollHeight.value - footerScrollHeight.value}px`
43728
43916
  };
43729
43917
  }
43730
43918
  } else {
@@ -44017,7 +44205,7 @@ const _hoisted_2$7 = {
44017
44205
  ref: "hiddenColumns",
44018
44206
  class: "hidden-columns"
44019
44207
  };
44020
- function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
44208
+ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
44021
44209
  const _component_hColgroup = resolveComponent("hColgroup");
44022
44210
  const _component_table_header = resolveComponent("table-header");
44023
44211
  const _component_table_body = resolveComponent("table-body");
@@ -44183,7 +44371,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
44183
44371
  ])
44184
44372
  ], 46, _hoisted_1$b);
44185
44373
  }
44186
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$6], ["__file", "table.vue"]]);
44374
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render$5], ["__file", "table.vue"]]);
44187
44375
 
44188
44376
  const defaultClassNames = {
44189
44377
  selection: "table-column--selection",
@@ -46864,11 +47052,11 @@ const tabBarProps = buildProps({
46864
47052
  }
46865
47053
  });
46866
47054
 
46867
- const __default__$g = {
47055
+ const __default__$h = {
46868
47056
  name: "ElTabBar"
46869
47057
  };
46870
47058
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
46871
- ...__default__$g,
47059
+ ...__default__$h,
46872
47060
  props: tabBarProps,
46873
47061
  setup(__props, { expose }) {
46874
47062
  const props = __props;
@@ -47351,11 +47539,11 @@ const tabPaneProps = buildProps({
47351
47539
  });
47352
47540
 
47353
47541
  const _hoisted_1$a = ["id", "aria-hidden", "aria-labelledby"];
47354
- const __default__$f = {
47542
+ const __default__$g = {
47355
47543
  name: "ElTabPane"
47356
47544
  };
47357
47545
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
47358
- ...__default__$f,
47546
+ ...__default__$g,
47359
47547
  props: tabPaneProps,
47360
47548
  setup(__props) {
47361
47549
  const props = __props;
@@ -47522,11 +47710,11 @@ const nextTime = (time, step) => {
47522
47710
  return formatTime(next);
47523
47711
  };
47524
47712
 
47525
- const __default__$e = {
47713
+ const __default__$f = {
47526
47714
  name: "ElTimeSelect"
47527
47715
  };
47528
47716
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
47529
- ...__default__$e,
47717
+ ...__default__$f,
47530
47718
  props: timeSelectProps,
47531
47719
  emits: ["change", "blur", "focus", "update:modelValue"],
47532
47720
  setup(__props, { expose }) {
@@ -47690,11 +47878,11 @@ const timelineItemProps = buildProps({
47690
47878
  }
47691
47879
  });
47692
47880
 
47693
- const __default__$d = {
47881
+ const __default__$e = {
47694
47882
  name: "ElTimelineItem"
47695
47883
  };
47696
47884
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
47697
- ...__default__$d,
47885
+ ...__default__$e,
47698
47886
  props: timelineItemProps,
47699
47887
  setup(__props) {
47700
47888
  const ns = useNamespace("timeline-item");
@@ -47893,11 +48081,11 @@ const tooltipV2Props = buildProps({
47893
48081
  }
47894
48082
  });
47895
48083
 
47896
- const __default__$c = {
48084
+ const __default__$d = {
47897
48085
  name: "ElTooltipV2Root"
47898
48086
  };
47899
48087
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
47900
- ...__default__$c,
48088
+ ...__default__$d,
47901
48089
  props: tooltipV2RootProps,
47902
48090
  setup(__props, { expose }) {
47903
48091
  const props = __props;
@@ -47966,11 +48154,11 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
47966
48154
  });
47967
48155
  var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "root.vue"]]);
47968
48156
 
47969
- const __default__$b = {
48157
+ const __default__$c = {
47970
48158
  name: "ElTooltipV2Arrow"
47971
48159
  };
47972
48160
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
47973
- ...__default__$b,
48161
+ ...__default__$c,
47974
48162
  props: {
47975
48163
  ...tooltipV2ArrowProps,
47976
48164
  ...tooltipV2ArrowSpecialProps
@@ -48009,11 +48197,11 @@ const visualHiddenProps = buildProps({
48009
48197
  }
48010
48198
  });
48011
48199
 
48012
- const __default__$a = {
48200
+ const __default__$b = {
48013
48201
  name: "ElVisuallyHidden"
48014
48202
  };
48015
48203
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
48016
- ...__default__$a,
48204
+ ...__default__$b,
48017
48205
  props: visualHiddenProps,
48018
48206
  setup(__props) {
48019
48207
  const props = __props;
@@ -48044,11 +48232,11 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
48044
48232
  var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "visual-hidden.vue"]]);
48045
48233
 
48046
48234
  const _hoisted_1$9 = ["data-side"];
48047
- const __default__$9 = {
48235
+ const __default__$a = {
48048
48236
  name: "ElTooltipV2Content"
48049
48237
  };
48050
48238
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
48051
- ...__default__$9,
48239
+ ...__default__$a,
48052
48240
  props: { ...tooltipV2ContentProps, ...tooltipV2CommonProps },
48053
48241
  setup(__props) {
48054
48242
  const props = __props;
@@ -48176,11 +48364,11 @@ var ForwardRef = defineComponent({
48176
48364
  }
48177
48365
  });
48178
48366
 
48179
- const __default__$8 = {
48367
+ const __default__$9 = {
48180
48368
  name: "ElTooltipV2Trigger"
48181
48369
  };
48182
48370
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
48183
- ...__default__$8,
48371
+ ...__default__$9,
48184
48372
  props: {
48185
48373
  ...tooltipV2CommonProps,
48186
48374
  ...tooltipV2TriggerProps
@@ -48259,11 +48447,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
48259
48447
  });
48260
48448
  var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "trigger.vue"]]);
48261
48449
 
48262
- const __default__$7 = {
48450
+ const __default__$8 = {
48263
48451
  name: "ElTooltipV2"
48264
48452
  };
48265
48453
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
48266
- ...__default__$7,
48454
+ ...__default__$8,
48267
48455
  props: tooltipV2Props,
48268
48456
  setup(__props) {
48269
48457
  const props = __props;
@@ -48580,11 +48768,11 @@ const useMove = (props, checkedState, emit) => {
48580
48768
  };
48581
48769
  };
48582
48770
 
48583
- const __default__$6 = {
48771
+ const __default__$7 = {
48584
48772
  name: "ElTransferPanel"
48585
48773
  };
48586
48774
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
48587
- ...__default__$6,
48775
+ ...__default__$7,
48588
48776
  props: transferPanelProps,
48589
48777
  emits: transferPanelEmits,
48590
48778
  setup(__props, { expose, emit }) {
@@ -48697,11 +48885,11 @@ var TransferPanel = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "transf
48697
48885
 
48698
48886
  const _hoisted_1$8 = { key: 0 };
48699
48887
  const _hoisted_2$6 = { key: 0 };
48700
- const __default__$5 = {
48888
+ const __default__$6 = {
48701
48889
  name: "ElTransfer"
48702
48890
  };
48703
48891
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
48704
- ...__default__$5,
48892
+ ...__default__$6,
48705
48893
  props: transferProps,
48706
48894
  emits: transferEmits,
48707
48895
  setup(__props, { expose, emit }) {
@@ -48876,7 +49064,7 @@ const getChildState = (node) => {
48876
49064
  return { all, none, allWithoutDisable, half: !all && !none };
48877
49065
  };
48878
49066
  const reInitChecked = function(node) {
48879
- if (node.childNodes.length === 0)
49067
+ if (node.childNodes.length === 0 || node.loading)
48880
49068
  return;
48881
49069
  const { all, none, half } = getChildState(node.childNodes);
48882
49070
  if (all) {
@@ -49259,10 +49447,10 @@ class Node {
49259
49447
  if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {
49260
49448
  this.loading = true;
49261
49449
  const resolve = (children) => {
49262
- this.loaded = true;
49263
- this.loading = false;
49264
49450
  this.childNodes = [];
49265
49451
  this.doCreateChildren(children, defaultProps);
49452
+ this.loaded = true;
49453
+ this.loading = false;
49266
49454
  this.updateLeafState();
49267
49455
  if (callback) {
49268
49456
  callback.call(this, children);
@@ -49342,7 +49530,7 @@ class TreeStore {
49342
49530
  getNode(data) {
49343
49531
  if (data instanceof Node$1)
49344
49532
  return data;
49345
- const key = typeof data !== "object" ? data : getNodeKey(this.key, data);
49533
+ const key = isObject$1(data) ? getNodeKey(this.key, data) : data;
49346
49534
  return this.nodesMap[key] || null;
49347
49535
  }
49348
49536
  insertBefore(data, refData) {
@@ -49953,7 +50141,7 @@ const _sfc_main$b = defineComponent({
49953
50141
  });
49954
50142
  const _hoisted_1$7 = ["aria-expanded", "aria-disabled", "aria-checked", "draggable", "data-key"];
49955
50143
  const _hoisted_2$5 = ["aria-expanded"];
49956
- function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
50144
+ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
49957
50145
  const _component_el_icon = resolveComponent("el-icon");
49958
50146
  const _component_el_checkbox = resolveComponent("el-checkbox");
49959
50147
  const _component_loading = resolveComponent("loading");
@@ -50058,7 +50246,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
50058
50246
  [vShow, _ctx.node.visible]
50059
50247
  ]);
50060
50248
  }
50061
- var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$5], ["__file", "tree-node.vue"]]);
50249
+ var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$4], ["__file", "tree-node.vue"]]);
50062
50250
 
50063
50251
  function useKeydown({ el$ }, store) {
50064
50252
  const ns = useNamespace("tree");
@@ -50407,7 +50595,7 @@ const _sfc_main$a = defineComponent({
50407
50595
  };
50408
50596
  }
50409
50597
  });
50410
- function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
50598
+ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
50411
50599
  var _a;
50412
50600
  const _component_el_tree_node = resolveComponent("el-tree-node");
50413
50601
  return openBlock(), createElementBlock("div", {
@@ -50449,7 +50637,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
50449
50637
  ])
50450
50638
  ], 2);
50451
50639
  }
50452
- var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$4], ["__file", "tree.vue"]]);
50640
+ var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$3], ["__file", "tree.vue"]]);
50453
50641
 
50454
50642
  Tree.install = (app) => {
50455
50643
  app.component(Tree.name, Tree);
@@ -51224,11 +51412,14 @@ function useTree(props, emit) {
51224
51412
  function toggleExpand(node) {
51225
51413
  const expandedKeys = expandedKeySet.value;
51226
51414
  if (expandedKeys.has(node.key)) {
51227
- collapse(node);
51415
+ collapseNode(node);
51228
51416
  } else {
51229
- expand(node);
51417
+ expandNode(node);
51230
51418
  }
51231
51419
  }
51420
+ function setExpandedKeys(keys) {
51421
+ expandedKeySet.value = new Set(keys);
51422
+ }
51232
51423
  function handleNodeClick(node, e) {
51233
51424
  emit(NODE_CLICK, node.data, node, e);
51234
51425
  handleCurrentChange(node);
@@ -51248,9 +51439,9 @@ function useTree(props, emit) {
51248
51439
  function handleNodeCheck(node, checked) {
51249
51440
  toggleCheckbox(node, checked);
51250
51441
  }
51251
- function expand(node) {
51442
+ function expandNode(node) {
51252
51443
  const keySet = expandedKeySet.value;
51253
- if ((tree == null ? void 0 : tree.value) && props.accordion) {
51444
+ if (tree.value && props.accordion) {
51254
51445
  const { treeNodeMap } = tree.value;
51255
51446
  keySet.forEach((key) => {
51256
51447
  const node2 = treeNodeMap.get(key);
@@ -51262,7 +51453,7 @@ function useTree(props, emit) {
51262
51453
  keySet.add(node.key);
51263
51454
  emit(NODE_EXPAND, node.data, node);
51264
51455
  }
51265
- function collapse(node) {
51456
+ function collapseNode(node) {
51266
51457
  expandedKeySet.value.delete(node.key);
51267
51458
  emit(NODE_COLLAPSE, node.data, node);
51268
51459
  }
@@ -51280,7 +51471,7 @@ function useTree(props, emit) {
51280
51471
  var _a, _b;
51281
51472
  if (!currentKey.value)
51282
51473
  return void 0;
51283
- return (_b = (_a = tree == null ? void 0 : tree.value) == null ? void 0 : _a.treeNodeMap.get(currentKey.value)) == null ? void 0 : _b.data;
51474
+ return (_b = (_a = tree.value) == null ? void 0 : _a.treeNodeMap.get(currentKey.value)) == null ? void 0 : _b.data;
51284
51475
  }
51285
51476
  function getCurrentKey() {
51286
51477
  return currentKey.value;
@@ -51291,6 +51482,11 @@ function useTree(props, emit) {
51291
51482
  function setData(data) {
51292
51483
  nextTick(() => tree.value = createTree(data));
51293
51484
  }
51485
+ function getNode(data) {
51486
+ var _a;
51487
+ const key = isObject$1(data) ? getKey(data) : data;
51488
+ return (_a = tree.value) == null ? void 0 : _a.treeNodeMap.get(key);
51489
+ }
51294
51490
  return {
51295
51491
  tree,
51296
51492
  flattenTree,
@@ -51317,7 +51513,11 @@ function useTree(props, emit) {
51317
51513
  setChecked,
51318
51514
  setCheckedKeys,
51319
51515
  filter,
51320
- setData
51516
+ setData,
51517
+ getNode,
51518
+ expandNode,
51519
+ collapseNode,
51520
+ setExpandedKeys
51321
51521
  };
51322
51522
  }
51323
51523
 
@@ -51386,7 +51586,7 @@ const _sfc_main$8 = defineComponent({
51386
51586
  }
51387
51587
  });
51388
51588
  const _hoisted_1$6 = ["aria-expanded", "aria-disabled", "aria-checked", "data-key"];
51389
- function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
51589
+ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
51390
51590
  var _a, _b, _c;
51391
51591
  const _component_el_icon = resolveComponent("el-icon");
51392
51592
  const _component_el_checkbox = resolveComponent("el-checkbox");
@@ -51443,7 +51643,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
51443
51643
  ], 6)
51444
51644
  ], 42, _hoisted_1$6);
51445
51645
  }
51446
- var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$3], ["__file", "tree-node.vue"]]);
51646
+ var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$2], ["__file", "tree-node.vue"]]);
51447
51647
 
51448
51648
  const _sfc_main$7 = defineComponent({
51449
51649
  name: "ElTreeV2",
@@ -51485,7 +51685,11 @@ const _sfc_main$7 = defineComponent({
51485
51685
  setChecked,
51486
51686
  setCheckedKeys,
51487
51687
  filter,
51488
- setData
51688
+ setData,
51689
+ getNode,
51690
+ expandNode,
51691
+ collapseNode,
51692
+ setExpandedKeys
51489
51693
  } = useTree(props, ctx.emit);
51490
51694
  ctx.expose({
51491
51695
  getCurrentNode,
@@ -51498,7 +51702,11 @@ const _sfc_main$7 = defineComponent({
51498
51702
  setChecked,
51499
51703
  setCheckedKeys,
51500
51704
  filter,
51501
- setData
51705
+ setData,
51706
+ getNode,
51707
+ expandNode,
51708
+ collapseNode,
51709
+ setExpandedKeys
51502
51710
  });
51503
51711
  return {
51504
51712
  t,
@@ -51519,7 +51727,7 @@ const _sfc_main$7 = defineComponent({
51519
51727
  };
51520
51728
  }
51521
51729
  });
51522
- function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
51730
+ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
51523
51731
  var _a;
51524
51732
  const _component_el_tree_node = resolveComponent("el-tree-node");
51525
51733
  const _component_fixed_size_list = resolveComponent("fixed-size-list");
@@ -51564,7 +51772,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
51564
51772
  ], 2))
51565
51773
  ], 2);
51566
51774
  }
51567
- var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$2], ["__file", "tree.vue"]]);
51775
+ var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$1], ["__file", "tree.vue"]]);
51568
51776
 
51569
51777
  const ElTreeV2 = withInstall(TreeV2);
51570
51778
 
@@ -51780,11 +51988,11 @@ const _hoisted_2$4 = ["src"];
51780
51988
  const _hoisted_3$2 = ["onClick"];
51781
51989
  const _hoisted_4$1 = ["onClick"];
51782
51990
  const _hoisted_5 = ["onClick"];
51783
- const __default__$4 = {
51991
+ const __default__$5 = {
51784
51992
  name: "ElUploadList"
51785
51993
  };
51786
51994
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
51787
- ...__default__$4,
51995
+ ...__default__$5,
51788
51996
  props: uploadListProps,
51789
51997
  emits: uploadListEmits,
51790
51998
  setup(__props, { emit }) {
@@ -51953,11 +52161,11 @@ const uploadDraggerEmits = {
51953
52161
  };
51954
52162
 
51955
52163
  const _hoisted_1$4 = ["onDrop", "onDragover"];
51956
- const __default__$3 = {
52164
+ const __default__$4 = {
51957
52165
  name: "ElUploadDrag"
51958
52166
  };
51959
52167
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
51960
- ...__default__$3,
52168
+ ...__default__$4,
51961
52169
  props: uploadDraggerProps,
51962
52170
  emits: uploadDraggerEmits,
51963
52171
  setup(__props, { emit }) {
@@ -52050,12 +52258,12 @@ const uploadContentProps = buildProps({
52050
52258
 
52051
52259
  const _hoisted_1$3 = ["onKeydown"];
52052
52260
  const _hoisted_2$3 = ["name", "multiple", "accept"];
52053
- const __default__$2 = {
52261
+ const __default__$3 = {
52054
52262
  name: "ElUploadContent",
52055
52263
  inheritAttrs: false
52056
52264
  };
52057
52265
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
52058
- ...__default__$2,
52266
+ ...__default__$3,
52059
52267
  props: uploadContentProps,
52060
52268
  setup(__props, { expose }) {
52061
52269
  const props = __props;
@@ -52336,11 +52544,11 @@ const useHandlers = (props, uploadRef) => {
52336
52544
  };
52337
52545
  };
52338
52546
 
52339
- const __default__$1 = {
52547
+ const __default__$2 = {
52340
52548
  name: "ElUpload"
52341
52549
  };
52342
52550
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
52343
- ...__default__$1,
52551
+ ...__default__$2,
52344
52552
  props: uploadProps,
52345
52553
  setup(__props, { expose }) {
52346
52554
  const props = __props;
@@ -53051,16 +53259,16 @@ const getLastOffset = (id) => {
53051
53259
  const { prev } = getInstance(id);
53052
53260
  if (!prev)
53053
53261
  return 0;
53054
- return prev.vm.exposeProxy.bottom;
53262
+ return prev.vm.exposed.bottom.value;
53055
53263
  };
53056
53264
 
53057
53265
  const _hoisted_1$2 = ["id"];
53058
53266
  const _hoisted_2$2 = ["innerHTML"];
53059
- const __default__ = {
53267
+ const __default__$1 = {
53060
53268
  name: "ElMessage"
53061
53269
  };
53062
53270
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
53063
- ...__default__,
53271
+ ...__default__$1,
53064
53272
  props: messageProps,
53065
53273
  emits: messageEmits,
53066
53274
  setup(__props, { expose }) {
@@ -53241,7 +53449,7 @@ const createMessage = ({ appendTo, ...options }, context) => {
53241
53449
  const vm = vnode.component;
53242
53450
  const handler = {
53243
53451
  close: () => {
53244
- vm.exposeProxy.visible = false;
53452
+ vm.exposed.visible.value = false;
53245
53453
  }
53246
53454
  };
53247
53455
  const instance = {
@@ -53563,7 +53771,7 @@ const _sfc_main$1 = defineComponent({
53563
53771
  const _hoisted_1$1 = ["aria-label", "aria-describedby"];
53564
53772
  const _hoisted_2$1 = ["aria-label"];
53565
53773
  const _hoisted_3$1 = ["id"];
53566
- function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
53774
+ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
53567
53775
  const _component_el_icon = resolveComponent("el-icon");
53568
53776
  const _component_close = resolveComponent("close");
53569
53777
  const _component_el_input = resolveComponent("el-input");
@@ -53761,7 +53969,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
53761
53969
  _: 3
53762
53970
  });
53763
53971
  }
53764
- var MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__file", "index.vue"]]);
53972
+ var MessageBoxConstructor = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render], ["__file", "index.vue"]]);
53765
53973
 
53766
53974
  const messageInstance = /* @__PURE__ */ new Map();
53767
53975
  const initInstance = (props, container, appContext = null) => {
@@ -53852,18 +54060,18 @@ MESSAGE_BOX_VARIANTS.forEach((boxType) => {
53852
54060
  MessageBox[boxType] = messageBoxFactory(boxType);
53853
54061
  });
53854
54062
  function messageBoxFactory(boxType) {
53855
- return (message, titleOrOpts, options, appContext) => {
53856
- let title;
53857
- if (isObject$1(titleOrOpts)) {
53858
- options = titleOrOpts;
53859
- title = "";
53860
- } else if (isUndefined(titleOrOpts)) {
53861
- title = "";
54063
+ return (message, title, options, appContext) => {
54064
+ let titleOrOpts = "";
54065
+ if (isObject$1(title)) {
54066
+ options = title;
54067
+ titleOrOpts = "";
54068
+ } else if (isUndefined(title)) {
54069
+ titleOrOpts = "";
53862
54070
  } else {
53863
- title = titleOrOpts;
54071
+ titleOrOpts = title;
53864
54072
  }
53865
54073
  return MessageBox(Object.assign({
53866
- title,
54074
+ title: titleOrOpts,
53867
54075
  message,
53868
54076
  type: "",
53869
54077
  ...MESSAGE_BOX_DEFAULT_OPTS[boxType]
@@ -53961,16 +54169,21 @@ const notificationEmits = {
53961
54169
  destroy: () => true
53962
54170
  };
53963
54171
 
53964
- const _sfc_main = defineComponent({
53965
- name: "ElNotification",
53966
- components: {
53967
- ElIcon,
53968
- ...TypeComponents
53969
- },
54172
+ const _hoisted_1 = ["id"];
54173
+ const _hoisted_2 = ["textContent"];
54174
+ const _hoisted_3 = { key: 0 };
54175
+ const _hoisted_4 = ["innerHTML"];
54176
+ const __default__ = {
54177
+ name: "ElNotification"
54178
+ };
54179
+ const _sfc_main = /* @__PURE__ */ defineComponent({
54180
+ ...__default__,
53970
54181
  props: notificationProps,
53971
54182
  emits: notificationEmits,
53972
- setup(props) {
54183
+ setup(__props, { expose }) {
54184
+ const props = __props;
53973
54185
  const ns = useNamespace("notification");
54186
+ const { Close } = CloseComponents;
53974
54187
  const visible = ref(false);
53975
54188
  let timer = void 0;
53976
54189
  const typeClass = computed$1(() => {
@@ -53978,7 +54191,9 @@ const _sfc_main = defineComponent({
53978
54191
  return type && TypeComponentsMap[props.type] ? ns.m(type) : "";
53979
54192
  });
53980
54193
  const iconComponent = computed$1(() => {
53981
- return TypeComponentsMap[props.type] || props.icon || "";
54194
+ if (!props.type)
54195
+ return "";
54196
+ return TypeComponentsMap[props.type] || props.icon;
53982
54197
  });
53983
54198
  const horizontalClass = computed$1(() => props.position.endsWith("right") ? "right" : "left");
53984
54199
  const verticalProperty = computed$1(() => props.position.startsWith("top") ? "top" : "bottom");
@@ -54018,91 +54233,77 @@ const _sfc_main = defineComponent({
54018
54233
  visible.value = true;
54019
54234
  });
54020
54235
  useEventListener(document, "keydown", onKeydown);
54021
- return {
54022
- ns,
54023
- horizontalClass,
54024
- typeClass,
54025
- iconComponent,
54026
- positionStyle,
54236
+ expose({
54027
54237
  visible,
54028
- close,
54029
- clearTimer,
54030
- startTimer
54238
+ close
54239
+ });
54240
+ return (_ctx, _cache) => {
54241
+ return openBlock(), createBlock(Transition, {
54242
+ name: unref(ns).b("fade"),
54243
+ onBeforeLeave: _ctx.onClose,
54244
+ onAfterLeave: _cache[1] || (_cache[1] = ($event) => _ctx.$emit("destroy")),
54245
+ persisted: ""
54246
+ }, {
54247
+ default: withCtx(() => [
54248
+ withDirectives(createElementVNode("div", {
54249
+ id: _ctx.id,
54250
+ class: normalizeClass([unref(ns).b(), _ctx.customClass, unref(horizontalClass)]),
54251
+ style: normalizeStyle(unref(positionStyle)),
54252
+ role: "alert",
54253
+ onMouseenter: clearTimer,
54254
+ onMouseleave: startTimer,
54255
+ onClick: _cache[0] || (_cache[0] = (...args) => _ctx.onClick && _ctx.onClick(...args))
54256
+ }, [
54257
+ unref(iconComponent) ? (openBlock(), createBlock(unref(ElIcon), {
54258
+ key: 0,
54259
+ class: normalizeClass([unref(ns).e("icon"), unref(typeClass)])
54260
+ }, {
54261
+ default: withCtx(() => [
54262
+ (openBlock(), createBlock(resolveDynamicComponent(unref(iconComponent))))
54263
+ ]),
54264
+ _: 1
54265
+ }, 8, ["class"])) : createCommentVNode("v-if", true),
54266
+ createElementVNode("div", {
54267
+ class: normalizeClass(unref(ns).e("group"))
54268
+ }, [
54269
+ createElementVNode("h2", {
54270
+ class: normalizeClass(unref(ns).e("title")),
54271
+ textContent: toDisplayString(_ctx.title)
54272
+ }, null, 10, _hoisted_2),
54273
+ withDirectives(createElementVNode("div", {
54274
+ class: normalizeClass(unref(ns).e("content")),
54275
+ style: normalizeStyle(!!_ctx.title ? void 0 : { margin: 0 })
54276
+ }, [
54277
+ renderSlot(_ctx.$slots, "default", {}, () => [
54278
+ !_ctx.dangerouslyUseHTMLString ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(_ctx.message), 1)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
54279
+ createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),
54280
+ createElementVNode("p", { innerHTML: _ctx.message }, null, 8, _hoisted_4)
54281
+ ], 2112))
54282
+ ])
54283
+ ], 6), [
54284
+ [vShow, _ctx.message]
54285
+ ]),
54286
+ _ctx.showClose ? (openBlock(), createBlock(unref(ElIcon), {
54287
+ key: 0,
54288
+ class: normalizeClass(unref(ns).e("closeBtn")),
54289
+ onClick: withModifiers(close, ["stop"])
54290
+ }, {
54291
+ default: withCtx(() => [
54292
+ createVNode(unref(Close))
54293
+ ]),
54294
+ _: 1
54295
+ }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)
54296
+ ], 2)
54297
+ ], 46, _hoisted_1), [
54298
+ [vShow, visible.value]
54299
+ ])
54300
+ ]),
54301
+ _: 3
54302
+ }, 8, ["name", "onBeforeLeave"]);
54031
54303
  };
54032
54304
  }
54033
54305
  });
54034
- const _hoisted_1 = ["id"];
54035
- const _hoisted_2 = ["textContent"];
54036
- const _hoisted_3 = { key: 0 };
54037
- const _hoisted_4 = ["innerHTML"];
54038
- function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
54039
- const _component_el_icon = resolveComponent("el-icon");
54040
- const _component_close = resolveComponent("close");
54041
- return openBlock(), createBlock(Transition, {
54042
- name: _ctx.ns.b("fade"),
54043
- onBeforeLeave: _ctx.onClose,
54044
- onAfterLeave: _cache[3] || (_cache[3] = ($event) => _ctx.$emit("destroy")),
54045
- persisted: ""
54046
- }, {
54047
- default: withCtx(() => [
54048
- withDirectives(createElementVNode("div", {
54049
- id: _ctx.id,
54050
- class: normalizeClass([_ctx.ns.b(), _ctx.customClass, _ctx.horizontalClass]),
54051
- style: normalizeStyle(_ctx.positionStyle),
54052
- role: "alert",
54053
- onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.clearTimer && _ctx.clearTimer(...args)),
54054
- onMouseleave: _cache[1] || (_cache[1] = (...args) => _ctx.startTimer && _ctx.startTimer(...args)),
54055
- onClick: _cache[2] || (_cache[2] = (...args) => _ctx.onClick && _ctx.onClick(...args))
54056
- }, [
54057
- _ctx.iconComponent ? (openBlock(), createBlock(_component_el_icon, {
54058
- key: 0,
54059
- class: normalizeClass([_ctx.ns.e("icon"), _ctx.typeClass])
54060
- }, {
54061
- default: withCtx(() => [
54062
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))
54063
- ]),
54064
- _: 1
54065
- }, 8, ["class"])) : createCommentVNode("v-if", true),
54066
- createElementVNode("div", {
54067
- class: normalizeClass(_ctx.ns.e("group"))
54068
- }, [
54069
- createElementVNode("h2", {
54070
- class: normalizeClass(_ctx.ns.e("title")),
54071
- textContent: toDisplayString(_ctx.title)
54072
- }, null, 10, _hoisted_2),
54073
- withDirectives(createElementVNode("div", {
54074
- class: normalizeClass(_ctx.ns.e("content")),
54075
- style: normalizeStyle(!!_ctx.title ? void 0 : { margin: 0 })
54076
- }, [
54077
- renderSlot(_ctx.$slots, "default", {}, () => [
54078
- !_ctx.dangerouslyUseHTMLString ? (openBlock(), createElementBlock("p", _hoisted_3, toDisplayString(_ctx.message), 1)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
54079
- createCommentVNode(" Caution here, message could've been compromized, nerver use user's input as message "),
54080
- createCommentVNode(" eslint-disable-next-line "),
54081
- createElementVNode("p", { innerHTML: _ctx.message }, null, 8, _hoisted_4)
54082
- ], 2112))
54083
- ])
54084
- ], 6), [
54085
- [vShow, _ctx.message]
54086
- ]),
54087
- _ctx.showClose ? (openBlock(), createBlock(_component_el_icon, {
54088
- key: 0,
54089
- class: normalizeClass(_ctx.ns.e("closeBtn")),
54090
- onClick: withModifiers(_ctx.close, ["stop"])
54091
- }, {
54092
- default: withCtx(() => [
54093
- createVNode(_component_close)
54094
- ]),
54095
- _: 1
54096
- }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)
54097
- ], 2)
54098
- ], 46, _hoisted_1), [
54099
- [vShow, _ctx.visible]
54100
- ])
54101
- ]),
54102
- _: 3
54103
- }, 8, ["name", "onBeforeLeave"]);
54104
- }
54105
- var NotificationConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "notification.vue"]]);
54306
+ var NotificationConstructor = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "notification.vue"]]);
54106
54307
 
54107
54308
  const notifications = {
54108
54309
  "top-left": [],
@@ -54159,7 +54360,7 @@ const notify = function(options = {}, context = null) {
54159
54360
  appendTo.appendChild(container.firstElementChild);
54160
54361
  return {
54161
54362
  close: () => {
54162
- vm.component.proxy.visible = false;
54363
+ vm.component.exposed.visible.value = false;
54163
54364
  }
54164
54365
  };
54165
54366
  };
@@ -54203,7 +54404,7 @@ function close(id, position, userOnClose) {
54203
54404
  function closeAll() {
54204
54405
  for (const orientedNotifications of Object.values(notifications)) {
54205
54406
  orientedNotifications.forEach(({ vm }) => {
54206
- vm.component.proxy.visible = false;
54407
+ vm.component.exposed.visible.value = false;
54207
54408
  });
54208
54409
  }
54209
54410
  }