@element-plus/nightly 0.0.20231009 → 0.0.20231011

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 (376) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +1016 -538
  4. package/dist/index.full.min.js +25 -25
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +23 -23
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +1016 -538
  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/ckb.js +1 -1
  34. package/dist/locale/ckb.min.js +1 -1
  35. package/dist/locale/ckb.min.mjs +1 -1
  36. package/dist/locale/ckb.mjs +1 -1
  37. package/dist/locale/cs.js +1 -1
  38. package/dist/locale/cs.min.js +1 -1
  39. package/dist/locale/cs.min.mjs +1 -1
  40. package/dist/locale/cs.mjs +1 -1
  41. package/dist/locale/da.js +1 -1
  42. package/dist/locale/da.min.js +1 -1
  43. package/dist/locale/da.min.mjs +1 -1
  44. package/dist/locale/da.mjs +1 -1
  45. package/dist/locale/de.js +1 -1
  46. package/dist/locale/de.min.js +1 -1
  47. package/dist/locale/de.min.mjs +1 -1
  48. package/dist/locale/de.mjs +1 -1
  49. package/dist/locale/el.js +1 -1
  50. package/dist/locale/el.min.js +1 -1
  51. package/dist/locale/el.min.mjs +1 -1
  52. package/dist/locale/el.mjs +1 -1
  53. package/dist/locale/en.js +1 -1
  54. package/dist/locale/en.min.js +1 -1
  55. package/dist/locale/en.min.mjs +1 -1
  56. package/dist/locale/en.mjs +1 -1
  57. package/dist/locale/eo.js +1 -1
  58. package/dist/locale/eo.min.js +1 -1
  59. package/dist/locale/eo.min.mjs +1 -1
  60. package/dist/locale/eo.mjs +1 -1
  61. package/dist/locale/es.js +1 -1
  62. package/dist/locale/es.min.js +1 -1
  63. package/dist/locale/es.min.mjs +1 -1
  64. package/dist/locale/es.mjs +1 -1
  65. package/dist/locale/et.js +1 -1
  66. package/dist/locale/et.min.js +1 -1
  67. package/dist/locale/et.min.mjs +1 -1
  68. package/dist/locale/et.mjs +1 -1
  69. package/dist/locale/eu.js +1 -1
  70. package/dist/locale/eu.min.js +1 -1
  71. package/dist/locale/eu.min.mjs +1 -1
  72. package/dist/locale/eu.mjs +1 -1
  73. package/dist/locale/fa.js +1 -1
  74. package/dist/locale/fa.min.js +1 -1
  75. package/dist/locale/fa.min.mjs +1 -1
  76. package/dist/locale/fa.mjs +1 -1
  77. package/dist/locale/fi.js +1 -1
  78. package/dist/locale/fi.min.js +1 -1
  79. package/dist/locale/fi.min.mjs +1 -1
  80. package/dist/locale/fi.mjs +1 -1
  81. package/dist/locale/fr.js +1 -1
  82. package/dist/locale/fr.min.js +1 -1
  83. package/dist/locale/fr.min.mjs +1 -1
  84. package/dist/locale/fr.mjs +1 -1
  85. package/dist/locale/he.js +1 -1
  86. package/dist/locale/he.min.js +1 -1
  87. package/dist/locale/he.min.mjs +1 -1
  88. package/dist/locale/he.mjs +1 -1
  89. package/dist/locale/hr.js +1 -1
  90. package/dist/locale/hr.min.js +1 -1
  91. package/dist/locale/hr.min.mjs +1 -1
  92. package/dist/locale/hr.mjs +1 -1
  93. package/dist/locale/hu.js +1 -1
  94. package/dist/locale/hu.min.js +1 -1
  95. package/dist/locale/hu.min.mjs +1 -1
  96. package/dist/locale/hu.mjs +1 -1
  97. package/dist/locale/hy-am.js +1 -1
  98. package/dist/locale/hy-am.min.js +1 -1
  99. package/dist/locale/hy-am.min.mjs +1 -1
  100. package/dist/locale/hy-am.mjs +1 -1
  101. package/dist/locale/id.js +1 -1
  102. package/dist/locale/id.min.js +1 -1
  103. package/dist/locale/id.min.mjs +1 -1
  104. package/dist/locale/id.mjs +1 -1
  105. package/dist/locale/it.js +1 -1
  106. package/dist/locale/it.min.js +1 -1
  107. package/dist/locale/it.min.mjs +1 -1
  108. package/dist/locale/it.mjs +1 -1
  109. package/dist/locale/ja.js +1 -1
  110. package/dist/locale/ja.min.js +1 -1
  111. package/dist/locale/ja.min.mjs +1 -1
  112. package/dist/locale/ja.mjs +1 -1
  113. package/dist/locale/kk.js +1 -1
  114. package/dist/locale/kk.min.js +1 -1
  115. package/dist/locale/kk.min.mjs +1 -1
  116. package/dist/locale/kk.mjs +1 -1
  117. package/dist/locale/km.js +1 -1
  118. package/dist/locale/km.min.js +1 -1
  119. package/dist/locale/km.min.mjs +1 -1
  120. package/dist/locale/km.mjs +1 -1
  121. package/dist/locale/ko.js +1 -1
  122. package/dist/locale/ko.min.js +1 -1
  123. package/dist/locale/ko.min.mjs +1 -1
  124. package/dist/locale/ko.mjs +1 -1
  125. package/dist/locale/ku.js +1 -1
  126. package/dist/locale/ku.min.js +1 -1
  127. package/dist/locale/ku.min.mjs +1 -1
  128. package/dist/locale/ku.mjs +1 -1
  129. package/dist/locale/ky.js +1 -1
  130. package/dist/locale/ky.min.js +1 -1
  131. package/dist/locale/ky.min.mjs +1 -1
  132. package/dist/locale/ky.mjs +1 -1
  133. package/dist/locale/lt.js +1 -1
  134. package/dist/locale/lt.min.js +1 -1
  135. package/dist/locale/lt.min.mjs +1 -1
  136. package/dist/locale/lt.mjs +1 -1
  137. package/dist/locale/lv.js +1 -1
  138. package/dist/locale/lv.min.js +1 -1
  139. package/dist/locale/lv.min.mjs +1 -1
  140. package/dist/locale/lv.mjs +1 -1
  141. package/dist/locale/mg.js +1 -1
  142. package/dist/locale/mg.min.js +1 -1
  143. package/dist/locale/mg.min.mjs +1 -1
  144. package/dist/locale/mg.mjs +1 -1
  145. package/dist/locale/mn.js +1 -1
  146. package/dist/locale/mn.min.js +1 -1
  147. package/dist/locale/mn.min.mjs +1 -1
  148. package/dist/locale/mn.mjs +1 -1
  149. package/dist/locale/nb-no.js +1 -1
  150. package/dist/locale/nb-no.min.js +1 -1
  151. package/dist/locale/nb-no.min.mjs +1 -1
  152. package/dist/locale/nb-no.mjs +1 -1
  153. package/dist/locale/nl.js +1 -1
  154. package/dist/locale/nl.min.js +1 -1
  155. package/dist/locale/nl.min.mjs +1 -1
  156. package/dist/locale/nl.mjs +1 -1
  157. package/dist/locale/pa.js +1 -1
  158. package/dist/locale/pa.min.js +1 -1
  159. package/dist/locale/pa.min.mjs +1 -1
  160. package/dist/locale/pa.mjs +1 -1
  161. package/dist/locale/pl.js +1 -1
  162. package/dist/locale/pl.min.js +1 -1
  163. package/dist/locale/pl.min.mjs +1 -1
  164. package/dist/locale/pl.mjs +1 -1
  165. package/dist/locale/pt-br.js +1 -1
  166. package/dist/locale/pt-br.min.js +1 -1
  167. package/dist/locale/pt-br.min.mjs +1 -1
  168. package/dist/locale/pt-br.mjs +1 -1
  169. package/dist/locale/pt.js +1 -1
  170. package/dist/locale/pt.min.js +1 -1
  171. package/dist/locale/pt.min.mjs +1 -1
  172. package/dist/locale/pt.mjs +1 -1
  173. package/dist/locale/ro.js +1 -1
  174. package/dist/locale/ro.min.js +1 -1
  175. package/dist/locale/ro.min.mjs +1 -1
  176. package/dist/locale/ro.mjs +1 -1
  177. package/dist/locale/ru.js +1 -1
  178. package/dist/locale/ru.min.js +1 -1
  179. package/dist/locale/ru.min.mjs +1 -1
  180. package/dist/locale/ru.mjs +1 -1
  181. package/dist/locale/sk.js +1 -1
  182. package/dist/locale/sk.min.js +1 -1
  183. package/dist/locale/sk.min.mjs +1 -1
  184. package/dist/locale/sk.mjs +1 -1
  185. package/dist/locale/sl.js +1 -1
  186. package/dist/locale/sl.min.js +1 -1
  187. package/dist/locale/sl.min.mjs +1 -1
  188. package/dist/locale/sl.mjs +1 -1
  189. package/dist/locale/sr.js +1 -1
  190. package/dist/locale/sr.min.js +1 -1
  191. package/dist/locale/sr.min.mjs +1 -1
  192. package/dist/locale/sr.mjs +1 -1
  193. package/dist/locale/sv.js +1 -1
  194. package/dist/locale/sv.min.js +1 -1
  195. package/dist/locale/sv.min.mjs +1 -1
  196. package/dist/locale/sv.mjs +1 -1
  197. package/dist/locale/ta.js +1 -1
  198. package/dist/locale/ta.min.js +1 -1
  199. package/dist/locale/ta.min.mjs +1 -1
  200. package/dist/locale/ta.mjs +1 -1
  201. package/dist/locale/th.js +1 -1
  202. package/dist/locale/th.min.js +1 -1
  203. package/dist/locale/th.min.mjs +1 -1
  204. package/dist/locale/th.mjs +1 -1
  205. package/dist/locale/tk.js +1 -1
  206. package/dist/locale/tk.min.js +1 -1
  207. package/dist/locale/tk.min.mjs +1 -1
  208. package/dist/locale/tk.mjs +1 -1
  209. package/dist/locale/tr.js +1 -1
  210. package/dist/locale/tr.min.js +1 -1
  211. package/dist/locale/tr.min.mjs +1 -1
  212. package/dist/locale/tr.mjs +1 -1
  213. package/dist/locale/ug-cn.js +1 -1
  214. package/dist/locale/ug-cn.min.js +1 -1
  215. package/dist/locale/ug-cn.min.mjs +1 -1
  216. package/dist/locale/ug-cn.mjs +1 -1
  217. package/dist/locale/uk.js +1 -1
  218. package/dist/locale/uk.min.js +1 -1
  219. package/dist/locale/uk.min.mjs +1 -1
  220. package/dist/locale/uk.mjs +1 -1
  221. package/dist/locale/uz-uz.js +1 -1
  222. package/dist/locale/uz-uz.min.js +1 -1
  223. package/dist/locale/uz-uz.min.mjs +1 -1
  224. package/dist/locale/uz-uz.mjs +1 -1
  225. package/dist/locale/vi.js +1 -1
  226. package/dist/locale/vi.min.js +1 -1
  227. package/dist/locale/vi.min.mjs +1 -1
  228. package/dist/locale/vi.mjs +1 -1
  229. package/dist/locale/zh-cn.js +1 -1
  230. package/dist/locale/zh-cn.min.js +1 -1
  231. package/dist/locale/zh-cn.min.mjs +1 -1
  232. package/dist/locale/zh-cn.mjs +1 -1
  233. package/dist/locale/zh-tw.js +1 -1
  234. package/dist/locale/zh-tw.min.js +1 -1
  235. package/dist/locale/zh-tw.min.mjs +1 -1
  236. package/dist/locale/zh-tw.mjs +1 -1
  237. package/es/component.mjs +3 -1
  238. package/es/component.mjs.map +1 -1
  239. package/es/components/carousel/index.d.ts +5 -0
  240. package/es/components/carousel/src/carousel.vue.d.ts +5 -0
  241. package/es/components/carousel/src/carousel2.mjs +7 -2
  242. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  243. package/es/components/carousel/src/use-carousel.d.ts +6 -0
  244. package/es/components/carousel/src/use-carousel.mjs +33 -1
  245. package/es/components/carousel/src/use-carousel.mjs.map +1 -1
  246. package/es/components/checkbox/index.d.ts +12 -0
  247. package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
  248. package/es/components/checkbox/src/checkbox.d.ts +1 -0
  249. package/es/components/checkbox/src/checkbox.mjs +2 -1
  250. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  251. package/es/components/checkbox/src/checkbox.vue.d.ts +4 -0
  252. package/es/components/checkbox/src/composables/use-checkbox-status.mjs +2 -2
  253. package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -1
  254. package/es/components/color-picker/index.d.ts +18 -1
  255. package/es/components/color-picker/src/color-picker.d.ts +2 -0
  256. package/es/components/color-picker/src/color-picker.mjs +3 -1
  257. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  258. package/es/components/color-picker/src/color-picker.vue.d.ts +18 -1
  259. package/es/components/color-picker/src/color-picker2.mjs +83 -11
  260. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  261. package/es/components/descriptions/src/description-item.mjs.map +1 -1
  262. package/es/components/descriptions/src/description.mjs.map +1 -1
  263. package/es/components/drawer/index.mjs +2 -2
  264. package/es/components/drawer/src/drawer.mjs +26 -176
  265. package/es/components/drawer/src/drawer.mjs.map +1 -1
  266. package/es/components/drawer/src/drawer2.mjs +176 -26
  267. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  268. package/es/components/index.mjs +1 -1
  269. package/es/components/table/src/table.mjs +2 -1
  270. package/es/components/table/src/table.mjs.map +1 -1
  271. package/es/components/transfer/index.d.ts +40 -0
  272. package/es/components/transfer/src/transfer-panel.vue.d.ts +8 -0
  273. package/es/components/transfer/src/transfer.vue.d.ts +40 -0
  274. package/es/components/tree-v2/index.d.ts +8 -0
  275. package/es/components/tree-v2/src/tree-node.vue.d.ts +8 -0
  276. package/es/components/tree-v2/src/tree.vue.d.ts +8 -0
  277. package/es/components/watermark/index.d.ts +94 -0
  278. package/es/components/watermark/index.mjs +9 -0
  279. package/es/components/watermark/index.mjs.map +1 -0
  280. package/es/components/watermark/src/useClips.d.ts +7 -0
  281. package/es/components/watermark/src/useClips.mjs +82 -0
  282. package/es/components/watermark/src/useClips.mjs.map +1 -0
  283. package/es/components/watermark/src/utils.d.ts +8 -0
  284. package/es/components/watermark/src/utils.mjs +22 -0
  285. package/es/components/watermark/src/utils.mjs.map +1 -0
  286. package/es/components/watermark/src/watermark.d.ts +32 -0
  287. package/es/components/watermark/src/watermark.mjs +33 -0
  288. package/es/components/watermark/src/watermark.mjs.map +1 -0
  289. package/es/components/watermark/src/watermark.vue.d.ts +94 -0
  290. package/es/components/watermark/src/watermark2.mjs +202 -0
  291. package/es/components/watermark/src/watermark2.mjs.map +1 -0
  292. package/es/components/watermark/style/index.d.ts +0 -0
  293. package/es/components/watermark/style/index.mjs +2 -0
  294. package/es/components/watermark/style/index.mjs.map +1 -0
  295. package/es/hooks/use-focus-controller/index.d.ts +6 -1
  296. package/es/hooks/use-focus-controller/index.mjs +5 -2
  297. package/es/hooks/use-focus-controller/index.mjs.map +1 -1
  298. package/es/index.mjs +1 -1
  299. package/es/version.d.ts +1 -1
  300. package/es/version.mjs +1 -1
  301. package/es/version.mjs.map +1 -1
  302. package/lib/component.js +3 -1
  303. package/lib/component.js.map +1 -1
  304. package/lib/components/carousel/index.d.ts +5 -0
  305. package/lib/components/carousel/src/carousel.vue.d.ts +5 -0
  306. package/lib/components/carousel/src/carousel2.js +7 -2
  307. package/lib/components/carousel/src/carousel2.js.map +1 -1
  308. package/lib/components/carousel/src/use-carousel.d.ts +6 -0
  309. package/lib/components/carousel/src/use-carousel.js +32 -0
  310. package/lib/components/carousel/src/use-carousel.js.map +1 -1
  311. package/lib/components/checkbox/index.d.ts +12 -0
  312. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
  313. package/lib/components/checkbox/src/checkbox.d.ts +1 -0
  314. package/lib/components/checkbox/src/checkbox.js +2 -1
  315. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  316. package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -0
  317. package/lib/components/checkbox/src/composables/use-checkbox-status.js +1 -1
  318. package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -1
  319. package/lib/components/color-picker/index.d.ts +18 -1
  320. package/lib/components/color-picker/src/color-picker.d.ts +2 -0
  321. package/lib/components/color-picker/src/color-picker.js +3 -1
  322. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  323. package/lib/components/color-picker/src/color-picker.vue.d.ts +18 -1
  324. package/lib/components/color-picker/src/color-picker2.js +93 -21
  325. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  326. package/lib/components/descriptions/src/description-item.js.map +1 -1
  327. package/lib/components/descriptions/src/description.js.map +1 -1
  328. package/lib/components/drawer/index.js +2 -2
  329. package/lib/components/drawer/src/drawer.js +27 -176
  330. package/lib/components/drawer/src/drawer.js.map +1 -1
  331. package/lib/components/drawer/src/drawer2.js +176 -27
  332. package/lib/components/drawer/src/drawer2.js.map +1 -1
  333. package/lib/components/index.js +1 -1
  334. package/lib/components/table/src/table.js +2 -1
  335. package/lib/components/table/src/table.js.map +1 -1
  336. package/lib/components/transfer/index.d.ts +40 -0
  337. package/lib/components/transfer/src/transfer-panel.vue.d.ts +8 -0
  338. package/lib/components/transfer/src/transfer.vue.d.ts +40 -0
  339. package/lib/components/tree-v2/index.d.ts +8 -0
  340. package/lib/components/tree-v2/src/tree-node.vue.d.ts +8 -0
  341. package/lib/components/tree-v2/src/tree.vue.d.ts +8 -0
  342. package/lib/components/watermark/index.d.ts +94 -0
  343. package/lib/components/watermark/index.js +15 -0
  344. package/lib/components/watermark/index.js.map +1 -0
  345. package/lib/components/watermark/src/useClips.d.ts +7 -0
  346. package/lib/components/watermark/src/useClips.js +87 -0
  347. package/lib/components/watermark/src/useClips.js.map +1 -0
  348. package/lib/components/watermark/src/utils.d.ts +8 -0
  349. package/lib/components/watermark/src/utils.js +29 -0
  350. package/lib/components/watermark/src/utils.js.map +1 -0
  351. package/lib/components/watermark/src/watermark.d.ts +32 -0
  352. package/lib/components/watermark/src/watermark.js +37 -0
  353. package/lib/components/watermark/src/watermark.js.map +1 -0
  354. package/lib/components/watermark/src/watermark.vue.d.ts +94 -0
  355. package/lib/components/watermark/src/watermark2.js +206 -0
  356. package/lib/components/watermark/src/watermark2.js.map +1 -0
  357. package/lib/components/watermark/style/index.d.ts +0 -0
  358. package/lib/components/watermark/style/index.js +3 -0
  359. package/lib/components/watermark/style/index.js.map +1 -0
  360. package/lib/hooks/use-focus-controller/index.d.ts +6 -1
  361. package/lib/hooks/use-focus-controller/index.js +5 -2
  362. package/lib/hooks/use-focus-controller/index.js.map +1 -1
  363. package/lib/index.js +1 -1
  364. package/lib/version.d.ts +1 -1
  365. package/lib/version.js +1 -1
  366. package/lib/version.js.map +1 -1
  367. package/package.json +2 -2
  368. package/tags.json +1 -1
  369. package/theme-chalk/el-color-picker.css +1 -1
  370. package/theme-chalk/el-table-v2.css +1 -1
  371. package/theme-chalk/el-table.css +1 -1
  372. package/theme-chalk/index.css +1 -1
  373. package/theme-chalk/src/color-picker.scss +8 -2
  374. package/theme-chalk/src/common/var.scss +1 -0
  375. package/theme-chalk/src/table.scss +16 -9
  376. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20231009 */
1
+ /*! Element Plus v0.0.20231011 */
2
2
 
3
3
  import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, defineComponent, renderSlot, normalizeClass, normalizeStyle, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, triggerRef, resolveDirective, createApp, shallowReactive, render } from 'vue';
4
4
 
@@ -506,6 +506,49 @@ function useElementBounding(target, options = {}) {
506
506
  };
507
507
  }
508
508
 
509
+ var __getOwnPropSymbols$7 = Object.getOwnPropertySymbols;
510
+ var __hasOwnProp$7 = Object.prototype.hasOwnProperty;
511
+ var __propIsEnum$7 = Object.prototype.propertyIsEnumerable;
512
+ var __objRest$1 = (source, exclude) => {
513
+ var target = {};
514
+ for (var prop in source)
515
+ if (__hasOwnProp$7.call(source, prop) && exclude.indexOf(prop) < 0)
516
+ target[prop] = source[prop];
517
+ if (source != null && __getOwnPropSymbols$7)
518
+ for (var prop of __getOwnPropSymbols$7(source)) {
519
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$7.call(source, prop))
520
+ target[prop] = source[prop];
521
+ }
522
+ return target;
523
+ };
524
+ function useMutationObserver(target, callback, options = {}) {
525
+ const _a = options, { window = defaultWindow } = _a, mutationOptions = __objRest$1(_a, ["window"]);
526
+ let observer;
527
+ const isSupported = useSupported(() => window && "MutationObserver" in window);
528
+ const cleanup = () => {
529
+ if (observer) {
530
+ observer.disconnect();
531
+ observer = void 0;
532
+ }
533
+ };
534
+ const stopWatch = watch(() => unrefElement(target), (el) => {
535
+ cleanup();
536
+ if (isSupported.value && window && el) {
537
+ observer = new MutationObserver(callback);
538
+ observer.observe(el, mutationOptions);
539
+ }
540
+ }, { immediate: true });
541
+ const stop = () => {
542
+ cleanup();
543
+ stopWatch();
544
+ };
545
+ tryOnScopeDispose(stop);
546
+ return {
547
+ isSupported,
548
+ stop
549
+ };
550
+ }
551
+
509
552
  var SwipeDirection;
510
553
  (function(SwipeDirection2) {
511
554
  SwipeDirection2["UP"] = "UP";
@@ -11085,7 +11128,7 @@ const useGlobalSize = () => {
11085
11128
  });
11086
11129
  };
11087
11130
 
11088
- function useFocusController(target, { afterFocus, afterBlur } = {}) {
11131
+ function useFocusController(target, { afterFocus, beforeBlur, afterBlur } = {}) {
11089
11132
  const instance = getCurrentInstance();
11090
11133
  const { emit } = instance;
11091
11134
  const wrapperRef = shallowRef();
@@ -11099,7 +11142,8 @@ function useFocusController(target, { afterFocus, afterBlur } = {}) {
11099
11142
  };
11100
11143
  const handleBlur = (event) => {
11101
11144
  var _a;
11102
- if (event.relatedTarget && ((_a = wrapperRef.value) == null ? void 0 : _a.contains(event.relatedTarget)))
11145
+ const cancelBlur = isFunction$1(beforeBlur) ? beforeBlur(event) : false;
11146
+ if (cancelBlur || event.relatedTarget && ((_a = wrapperRef.value) == null ? void 0 : _a.contains(event.relatedTarget)))
11103
11147
  return;
11104
11148
  isFocused.value = false;
11105
11149
  emit("blur", event);
@@ -11243,7 +11287,7 @@ const ConfigProvider = defineComponent({
11243
11287
 
11244
11288
  const ElConfigProvider = withInstall(ConfigProvider);
11245
11289
 
11246
- const version$1 = "0.0.20231009";
11290
+ const version$1 = "0.0.20231011";
11247
11291
 
11248
11292
  const makeInstaller = (components = []) => {
11249
11293
  const install = (app, options) => {
@@ -11293,11 +11337,11 @@ var _export_sfc = (sfc, props) => {
11293
11337
  };
11294
11338
 
11295
11339
  const COMPONENT_NAME$n = "ElAffix";
11296
- const __default__$1C = defineComponent({
11340
+ const __default__$1D = defineComponent({
11297
11341
  name: COMPONENT_NAME$n
11298
11342
  });
11299
- const _sfc_main$2i = /* @__PURE__ */ defineComponent({
11300
- ...__default__$1C,
11343
+ const _sfc_main$2j = /* @__PURE__ */ defineComponent({
11344
+ ...__default__$1D,
11301
11345
  props: affixProps,
11302
11346
  emits: affixEmits,
11303
11347
  setup(__props, { expose, emit }) {
@@ -11400,7 +11444,7 @@ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
11400
11444
  };
11401
11445
  }
11402
11446
  });
11403
- var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["__file", "affix.vue"]]);
11447
+ var Affix = /* @__PURE__ */ _export_sfc(_sfc_main$2j, [["__file", "affix.vue"]]);
11404
11448
 
11405
11449
  const ElAffix = withInstall(Affix);
11406
11450
 
@@ -11413,12 +11457,12 @@ const iconProps = buildProps({
11413
11457
  }
11414
11458
  });
11415
11459
 
11416
- const __default__$1B = defineComponent({
11460
+ const __default__$1C = defineComponent({
11417
11461
  name: "ElIcon",
11418
11462
  inheritAttrs: false
11419
11463
  });
11420
- const _sfc_main$2h = /* @__PURE__ */ defineComponent({
11421
- ...__default__$1B,
11464
+ const _sfc_main$2i = /* @__PURE__ */ defineComponent({
11465
+ ...__default__$1C,
11422
11466
  props: iconProps,
11423
11467
  setup(__props) {
11424
11468
  const props = __props;
@@ -11442,7 +11486,7 @@ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
11442
11486
  };
11443
11487
  }
11444
11488
  });
11445
- var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__file", "icon.vue"]]);
11489
+ var Icon = /* @__PURE__ */ _export_sfc(_sfc_main$2i, [["__file", "icon.vue"]]);
11446
11490
 
11447
11491
  const ElIcon = withInstall(Icon);
11448
11492
 
@@ -11481,11 +11525,11 @@ const alertEmits = {
11481
11525
  close: (evt) => evt instanceof MouseEvent
11482
11526
  };
11483
11527
 
11484
- const __default__$1A = defineComponent({
11528
+ const __default__$1B = defineComponent({
11485
11529
  name: "ElAlert"
11486
11530
  });
11487
- const _sfc_main$2g = /* @__PURE__ */ defineComponent({
11488
- ...__default__$1A,
11531
+ const _sfc_main$2h = /* @__PURE__ */ defineComponent({
11532
+ ...__default__$1B,
11489
11533
  props: alertProps,
11490
11534
  emits: alertEmits,
11491
11535
  setup(__props, { emit }) {
@@ -11570,7 +11614,7 @@ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
11570
11614
  };
11571
11615
  }
11572
11616
  });
11573
- var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["__file", "alert.vue"]]);
11617
+ var Alert = /* @__PURE__ */ _export_sfc(_sfc_main$2h, [["__file", "alert.vue"]]);
11574
11618
 
11575
11619
  const ElAlert = withInstall(Alert);
11576
11620
 
@@ -11735,11 +11779,11 @@ const filterFields = (fields, props) => {
11735
11779
  };
11736
11780
 
11737
11781
  const COMPONENT_NAME$m = "ElForm";
11738
- const __default__$1z = defineComponent({
11782
+ const __default__$1A = defineComponent({
11739
11783
  name: COMPONENT_NAME$m
11740
11784
  });
11741
- const _sfc_main$2f = /* @__PURE__ */ defineComponent({
11742
- ...__default__$1z,
11785
+ const _sfc_main$2g = /* @__PURE__ */ defineComponent({
11786
+ ...__default__$1A,
11743
11787
  props: formProps,
11744
11788
  emits: formEmits,
11745
11789
  setup(__props, { expose, emit }) {
@@ -11867,7 +11911,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
11867
11911
  };
11868
11912
  }
11869
11913
  });
11870
- var Form = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__file", "form.vue"]]);
11914
+ var Form = /* @__PURE__ */ _export_sfc(_sfc_main$2g, [["__file", "form.vue"]]);
11871
11915
 
11872
11916
  function _extends() {
11873
11917
  _extends = Object.assign ? Object.assign.bind() : function(target) {
@@ -13047,11 +13091,11 @@ var FormLabelWrap = defineComponent({
13047
13091
  });
13048
13092
 
13049
13093
  const _hoisted_1$12 = ["role", "aria-labelledby"];
13050
- const __default__$1y = defineComponent({
13094
+ const __default__$1z = defineComponent({
13051
13095
  name: "ElFormItem"
13052
13096
  });
13053
- const _sfc_main$2e = /* @__PURE__ */ defineComponent({
13054
- ...__default__$1y,
13097
+ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
13098
+ ...__default__$1z,
13055
13099
  props: formItemProps,
13056
13100
  setup(__props, { expose }) {
13057
13101
  const props = __props;
@@ -13346,7 +13390,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
13346
13390
  };
13347
13391
  }
13348
13392
  });
13349
- var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__file", "form-item.vue"]]);
13393
+ var FormItem = /* @__PURE__ */ _export_sfc(_sfc_main$2f, [["__file", "form-item.vue"]]);
13350
13394
 
13351
13395
  const ElForm = withInstall(Form, {
13352
13396
  FormItem
@@ -13533,14 +13577,14 @@ const inputEmits = {
13533
13577
  };
13534
13578
 
13535
13579
  const _hoisted_1$11 = ["role"];
13536
- const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
13580
+ const _hoisted_2$H = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
13537
13581
  const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
13538
- const __default__$1x = defineComponent({
13582
+ const __default__$1y = defineComponent({
13539
13583
  name: "ElInput",
13540
13584
  inheritAttrs: false
13541
13585
  });
13542
- const _sfc_main$2d = /* @__PURE__ */ defineComponent({
13543
- ...__default__$1x,
13586
+ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
13587
+ ...__default__$1y,
13544
13588
  props: inputProps,
13545
13589
  emits: inputEmits,
13546
13590
  setup(__props, { expose, emit }) {
@@ -13852,7 +13896,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
13852
13896
  onBlur: _cache[1] || (_cache[1] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),
13853
13897
  onChange: handleChange,
13854
13898
  onKeydown: handleKeydown
13855
- }), null, 16, _hoisted_2$G),
13899
+ }), null, 16, _hoisted_2$H),
13856
13900
  createCommentVNode(" suffix slot "),
13857
13901
  unref(suffixVisible) ? (openBlock(), createElementBlock("span", {
13858
13902
  key: 1,
@@ -13963,7 +14007,7 @@ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
13963
14007
  };
13964
14008
  }
13965
14009
  });
13966
- var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["__file", "input.vue"]]);
14010
+ var Input = /* @__PURE__ */ _export_sfc(_sfc_main$2e, [["__file", "input.vue"]]);
13967
14011
 
13968
14012
  const ElInput = withInstall(Input);
13969
14013
 
@@ -14013,7 +14057,7 @@ const thumbProps = buildProps({
14013
14057
  });
14014
14058
 
14015
14059
  const COMPONENT_NAME$k = "Thumb";
14016
- const _sfc_main$2c = /* @__PURE__ */ defineComponent({
14060
+ const _sfc_main$2d = /* @__PURE__ */ defineComponent({
14017
14061
  __name: "thumb",
14018
14062
  props: thumbProps,
14019
14063
  setup(__props) {
@@ -14132,7 +14176,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
14132
14176
  };
14133
14177
  }
14134
14178
  });
14135
- var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["__file", "thumb.vue"]]);
14179
+ var Thumb = /* @__PURE__ */ _export_sfc(_sfc_main$2d, [["__file", "thumb.vue"]]);
14136
14180
 
14137
14181
  const barProps = buildProps({
14138
14182
  always: {
@@ -14151,7 +14195,7 @@ const barProps = buildProps({
14151
14195
  }
14152
14196
  });
14153
14197
 
14154
- const _sfc_main$2b = /* @__PURE__ */ defineComponent({
14198
+ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
14155
14199
  __name: "bar",
14156
14200
  props: barProps,
14157
14201
  setup(__props, { expose }) {
@@ -14188,7 +14232,7 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
14188
14232
  };
14189
14233
  }
14190
14234
  });
14191
- var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["__file", "bar.vue"]]);
14235
+ var Bar = /* @__PURE__ */ _export_sfc(_sfc_main$2c, [["__file", "bar.vue"]]);
14192
14236
 
14193
14237
  const scrollbarProps = buildProps({
14194
14238
  height: {
@@ -14238,11 +14282,11 @@ const scrollbarEmits = {
14238
14282
  };
14239
14283
 
14240
14284
  const COMPONENT_NAME$j = "ElScrollbar";
14241
- const __default__$1w = defineComponent({
14285
+ const __default__$1x = defineComponent({
14242
14286
  name: COMPONENT_NAME$j
14243
14287
  });
14244
- const _sfc_main$2a = /* @__PURE__ */ defineComponent({
14245
- ...__default__$1w,
14288
+ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
14289
+ ...__default__$1x,
14246
14290
  props: scrollbarProps,
14247
14291
  emits: scrollbarEmits,
14248
14292
  setup(__props, { expose, emit }) {
@@ -14396,7 +14440,7 @@ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
14396
14440
  };
14397
14441
  }
14398
14442
  });
14399
- var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["__file", "scrollbar.vue"]]);
14443
+ var Scrollbar$1 = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["__file", "scrollbar.vue"]]);
14400
14444
 
14401
14445
  const ElScrollbar = withInstall(Scrollbar$1);
14402
14446
 
@@ -14426,12 +14470,12 @@ const popperProps = buildProps({
14426
14470
  });
14427
14471
  const usePopperProps = popperProps;
14428
14472
 
14429
- const __default__$1v = defineComponent({
14473
+ const __default__$1w = defineComponent({
14430
14474
  name: "ElPopper",
14431
14475
  inheritAttrs: false
14432
14476
  });
14433
- const _sfc_main$29 = /* @__PURE__ */ defineComponent({
14434
- ...__default__$1v,
14477
+ const _sfc_main$2a = /* @__PURE__ */ defineComponent({
14478
+ ...__default__$1w,
14435
14479
  props: popperProps,
14436
14480
  setup(__props, { expose }) {
14437
14481
  const props = __props;
@@ -14454,7 +14498,7 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
14454
14498
  };
14455
14499
  }
14456
14500
  });
14457
- var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__file", "popper.vue"]]);
14501
+ var Popper = /* @__PURE__ */ _export_sfc(_sfc_main$2a, [["__file", "popper.vue"]]);
14458
14502
 
14459
14503
  const popperArrowProps = buildProps({
14460
14504
  arrowOffset: {
@@ -14464,12 +14508,12 @@ const popperArrowProps = buildProps({
14464
14508
  });
14465
14509
  const usePopperArrowProps = popperArrowProps;
14466
14510
 
14467
- const __default__$1u = defineComponent({
14511
+ const __default__$1v = defineComponent({
14468
14512
  name: "ElPopperArrow",
14469
14513
  inheritAttrs: false
14470
14514
  });
14471
- const _sfc_main$28 = /* @__PURE__ */ defineComponent({
14472
- ...__default__$1u,
14515
+ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
14516
+ ...__default__$1v,
14473
14517
  props: popperArrowProps,
14474
14518
  setup(__props, { expose }) {
14475
14519
  const props = __props;
@@ -14495,7 +14539,7 @@ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
14495
14539
  };
14496
14540
  }
14497
14541
  });
14498
- var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__file", "arrow.vue"]]);
14542
+ var ElPopperArrow = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__file", "arrow.vue"]]);
14499
14543
 
14500
14544
  const NAME = "ElOnlyChild";
14501
14545
  const OnlyChild = defineComponent({
@@ -14583,12 +14627,12 @@ const popperTriggerProps = buildProps({
14583
14627
  });
14584
14628
  const usePopperTriggerProps = popperTriggerProps;
14585
14629
 
14586
- const __default__$1t = defineComponent({
14630
+ const __default__$1u = defineComponent({
14587
14631
  name: "ElPopperTrigger",
14588
14632
  inheritAttrs: false
14589
14633
  });
14590
- const _sfc_main$27 = /* @__PURE__ */ defineComponent({
14591
- ...__default__$1t,
14634
+ const _sfc_main$28 = /* @__PURE__ */ defineComponent({
14635
+ ...__default__$1u,
14592
14636
  props: popperTriggerProps,
14593
14637
  setup(__props, { expose }) {
14594
14638
  const props = __props;
@@ -14686,7 +14730,7 @@ const _sfc_main$27 = /* @__PURE__ */ defineComponent({
14686
14730
  };
14687
14731
  }
14688
14732
  });
14689
- var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["__file", "trigger.vue"]]);
14733
+ var ElPopperTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__file", "trigger.vue"]]);
14690
14734
 
14691
14735
  const FOCUS_AFTER_TRAPPED = "focus-trap.focus-after-trapped";
14692
14736
  const FOCUS_AFTER_RELEASED = "focus-trap.focus-after-released";
@@ -14836,7 +14880,7 @@ const createFocusOutPreventedEvent = (detail) => {
14836
14880
  });
14837
14881
  };
14838
14882
 
14839
- const _sfc_main$26 = defineComponent({
14883
+ const _sfc_main$27 = defineComponent({
14840
14884
  name: "ElFocusTrap",
14841
14885
  inheritAttrs: false,
14842
14886
  props: {
@@ -15075,7 +15119,7 @@ const _sfc_main$26 = defineComponent({
15075
15119
  function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
15076
15120
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
15077
15121
  }
15078
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["render", _sfc_render$v], ["__file", "focus-trap.vue"]]);
15122
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$27, [["render", _sfc_render$v], ["__file", "focus-trap.vue"]]);
15079
15123
 
15080
15124
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
15081
15125
  const popperCoreConfigProps = buildProps({
@@ -15369,11 +15413,11 @@ const usePopperContentFocusTrap = (props, emit) => {
15369
15413
  };
15370
15414
  };
15371
15415
 
15372
- const __default__$1s = defineComponent({
15416
+ const __default__$1t = defineComponent({
15373
15417
  name: "ElPopperContent"
15374
15418
  });
15375
- const _sfc_main$25 = /* @__PURE__ */ defineComponent({
15376
- ...__default__$1s,
15419
+ const _sfc_main$26 = /* @__PURE__ */ defineComponent({
15420
+ ...__default__$1t,
15377
15421
  props: popperContentProps,
15378
15422
  emits: popperContentEmits,
15379
15423
  setup(__props, { expose, emit }) {
@@ -15489,7 +15533,7 @@ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
15489
15533
  };
15490
15534
  }
15491
15535
  });
15492
- var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__file", "content.vue"]]);
15536
+ var ElPopperContent = /* @__PURE__ */ _export_sfc(_sfc_main$26, [["__file", "content.vue"]]);
15493
15537
 
15494
15538
  const ElPopper = withInstall(Popper);
15495
15539
 
@@ -15574,11 +15618,11 @@ const whenTrigger = (trigger, type, handler) => {
15574
15618
  };
15575
15619
  };
15576
15620
 
15577
- const __default__$1r = defineComponent({
15621
+ const __default__$1s = defineComponent({
15578
15622
  name: "ElTooltipTrigger"
15579
15623
  });
15580
- const _sfc_main$24 = /* @__PURE__ */ defineComponent({
15581
- ...__default__$1r,
15624
+ const _sfc_main$25 = /* @__PURE__ */ defineComponent({
15625
+ ...__default__$1s,
15582
15626
  props: useTooltipTriggerProps,
15583
15627
  setup(__props, { expose }) {
15584
15628
  const props = __props;
@@ -15637,14 +15681,14 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
15637
15681
  };
15638
15682
  }
15639
15683
  });
15640
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__file", "trigger.vue"]]);
15684
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["__file", "trigger.vue"]]);
15641
15685
 
15642
- const __default__$1q = defineComponent({
15686
+ const __default__$1r = defineComponent({
15643
15687
  name: "ElTooltipContent",
15644
15688
  inheritAttrs: false
15645
15689
  });
15646
- const _sfc_main$23 = /* @__PURE__ */ defineComponent({
15647
- ...__default__$1q,
15690
+ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
15691
+ ...__default__$1r,
15648
15692
  props: useTooltipContentProps,
15649
15693
  setup(__props, { expose }) {
15650
15694
  const props = __props;
@@ -15802,15 +15846,15 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
15802
15846
  };
15803
15847
  }
15804
15848
  });
15805
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["__file", "content.vue"]]);
15849
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__file", "content.vue"]]);
15806
15850
 
15807
15851
  const _hoisted_1$10 = ["innerHTML"];
15808
- const _hoisted_2$F = { key: 1 };
15809
- const __default__$1p = defineComponent({
15852
+ const _hoisted_2$G = { key: 1 };
15853
+ const __default__$1q = defineComponent({
15810
15854
  name: "ElTooltip"
15811
15855
  });
15812
- const _sfc_main$22 = /* @__PURE__ */ defineComponent({
15813
- ...__default__$1p,
15856
+ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
15857
+ ...__default__$1q,
15814
15858
  props: useTooltipProps,
15815
15859
  emits: tooltipEmits,
15816
15860
  setup(__props, { expose, emit }) {
@@ -15947,7 +15991,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
15947
15991
  _ctx.rawContent ? (openBlock(), createElementBlock("span", {
15948
15992
  key: 0,
15949
15993
  innerHTML: _ctx.content
15950
- }, null, 8, _hoisted_1$10)) : (openBlock(), createElementBlock("span", _hoisted_2$F, toDisplayString(_ctx.content), 1))
15994
+ }, null, 8, _hoisted_1$10)) : (openBlock(), createElementBlock("span", _hoisted_2$G, toDisplayString(_ctx.content), 1))
15951
15995
  ]),
15952
15996
  _ctx.showArrow ? (openBlock(), createBlock(unref(ElPopperArrow), {
15953
15997
  key: 0,
@@ -15962,7 +16006,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
15962
16006
  };
15963
16007
  }
15964
16008
  });
15965
- var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["__file", "tooltip.vue"]]);
16009
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["__file", "tooltip.vue"]]);
15966
16010
 
15967
16011
  const ElTooltip = withInstall(Tooltip);
15968
16012
 
@@ -16044,15 +16088,15 @@ const autocompleteEmits = {
16044
16088
  };
16045
16089
 
16046
16090
  const _hoisted_1$$ = ["aria-expanded", "aria-owns"];
16047
- const _hoisted_2$E = { key: 0 };
16091
+ const _hoisted_2$F = { key: 0 };
16048
16092
  const _hoisted_3$k = ["id", "aria-selected", "onClick"];
16049
16093
  const COMPONENT_NAME$i = "ElAutocomplete";
16050
- const __default__$1o = defineComponent({
16094
+ const __default__$1p = defineComponent({
16051
16095
  name: COMPONENT_NAME$i,
16052
16096
  inheritAttrs: false
16053
16097
  });
16054
- const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16055
- ...__default__$1o,
16098
+ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
16099
+ ...__default__$1p,
16056
16100
  props: autocompleteProps,
16057
16101
  emits: autocompleteEmits,
16058
16102
  setup(__props, { expose, emit }) {
@@ -16290,7 +16334,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16290
16334
  role: "listbox"
16291
16335
  }, {
16292
16336
  default: withCtx(() => [
16293
- unref(suggestionLoading) ? (openBlock(), createElementBlock("li", _hoisted_2$E, [
16337
+ unref(suggestionLoading) ? (openBlock(), createElementBlock("li", _hoisted_2$F, [
16294
16338
  createVNode(unref(ElIcon), {
16295
16339
  class: normalizeClass(unref(ns).is("loading"))
16296
16340
  }, {
@@ -16383,7 +16427,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16383
16427
  };
16384
16428
  }
16385
16429
  });
16386
- var Autocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__file", "autocomplete.vue"]]);
16430
+ var Autocomplete = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["__file", "autocomplete.vue"]]);
16387
16431
 
16388
16432
  const ElAutocomplete = withInstall(Autocomplete);
16389
16433
 
@@ -16418,11 +16462,11 @@ const avatarEmits = {
16418
16462
  };
16419
16463
 
16420
16464
  const _hoisted_1$_ = ["src", "alt", "srcset"];
16421
- const __default__$1n = defineComponent({
16465
+ const __default__$1o = defineComponent({
16422
16466
  name: "ElAvatar"
16423
16467
  });
16424
- const _sfc_main$20 = /* @__PURE__ */ defineComponent({
16425
- ...__default__$1n,
16468
+ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16469
+ ...__default__$1o,
16426
16470
  props: avatarProps,
16427
16471
  emits: avatarEmits,
16428
16472
  setup(__props, { emit }) {
@@ -16476,7 +16520,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
16476
16520
  };
16477
16521
  }
16478
16522
  });
16479
- var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["__file", "avatar.vue"]]);
16523
+ var Avatar = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["__file", "avatar.vue"]]);
16480
16524
 
16481
16525
  const ElAvatar = withInstall(Avatar);
16482
16526
 
@@ -16537,11 +16581,11 @@ const useBackTop = (props, emit, componentName) => {
16537
16581
  };
16538
16582
 
16539
16583
  const COMPONENT_NAME$h = "ElBacktop";
16540
- const __default__$1m = defineComponent({
16584
+ const __default__$1n = defineComponent({
16541
16585
  name: COMPONENT_NAME$h
16542
16586
  });
16543
- const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
16544
- ...__default__$1m,
16587
+ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
16588
+ ...__default__$1n,
16545
16589
  props: backtopProps,
16546
16590
  emits: backtopEmits,
16547
16591
  setup(__props, { emit }) {
@@ -16580,7 +16624,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
16580
16624
  };
16581
16625
  }
16582
16626
  });
16583
- var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__file", "backtop.vue"]]);
16627
+ var Backtop = /* @__PURE__ */ _export_sfc(_sfc_main$20, [["__file", "backtop.vue"]]);
16584
16628
 
16585
16629
  const ElBacktop = withInstall(Backtop);
16586
16630
 
@@ -16603,11 +16647,11 @@ const badgeProps = buildProps({
16603
16647
  });
16604
16648
 
16605
16649
  const _hoisted_1$Z = ["textContent"];
16606
- const __default__$1l = defineComponent({
16650
+ const __default__$1m = defineComponent({
16607
16651
  name: "ElBadge"
16608
16652
  });
16609
- const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
16610
- ...__default__$1l,
16653
+ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
16654
+ ...__default__$1m,
16611
16655
  props: badgeProps,
16612
16656
  setup(__props, { expose }) {
16613
16657
  const props = __props;
@@ -16651,7 +16695,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
16651
16695
  };
16652
16696
  }
16653
16697
  });
16654
- var Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__file", "badge.vue"]]);
16698
+ var Badge = /* @__PURE__ */ _export_sfc(_sfc_main$1$, [["__file", "badge.vue"]]);
16655
16699
 
16656
16700
  const ElBadge = withInstall(Badge);
16657
16701
 
@@ -16667,11 +16711,11 @@ const breadcrumbProps = buildProps({
16667
16711
  }
16668
16712
  });
16669
16713
 
16670
- const __default__$1k = defineComponent({
16714
+ const __default__$1l = defineComponent({
16671
16715
  name: "ElBreadcrumb"
16672
16716
  });
16673
- const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
16674
- ...__default__$1k,
16717
+ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
16718
+ ...__default__$1l,
16675
16719
  props: breadcrumbProps,
16676
16720
  setup(__props) {
16677
16721
  const props = __props;
@@ -16697,7 +16741,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
16697
16741
  };
16698
16742
  }
16699
16743
  });
16700
- var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["__file", "breadcrumb.vue"]]);
16744
+ var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main$1_, [["__file", "breadcrumb.vue"]]);
16701
16745
 
16702
16746
  const breadcrumbItemProps = buildProps({
16703
16747
  to: {
@@ -16710,11 +16754,11 @@ const breadcrumbItemProps = buildProps({
16710
16754
  }
16711
16755
  });
16712
16756
 
16713
- const __default__$1j = defineComponent({
16757
+ const __default__$1k = defineComponent({
16714
16758
  name: "ElBreadcrumbItem"
16715
16759
  });
16716
- const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
16717
- ...__default__$1j,
16760
+ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
16761
+ ...__default__$1k,
16718
16762
  props: breadcrumbItemProps,
16719
16763
  setup(__props) {
16720
16764
  const props = __props;
@@ -16759,7 +16803,7 @@ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
16759
16803
  };
16760
16804
  }
16761
16805
  });
16762
- var BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1Y, [["__file", "breadcrumb-item.vue"]]);
16806
+ var BreadcrumbItem = /* @__PURE__ */ _export_sfc(_sfc_main$1Z, [["__file", "breadcrumb-item.vue"]]);
16763
16807
 
16764
16808
  const ElBreadcrumb = withInstall(Breadcrumb, {
16765
16809
  BreadcrumbItem
@@ -17809,11 +17853,11 @@ function useButtonCustomStyle(props) {
17809
17853
  });
17810
17854
  }
17811
17855
 
17812
- const __default__$1i = defineComponent({
17856
+ const __default__$1j = defineComponent({
17813
17857
  name: "ElButton"
17814
17858
  });
17815
- const _sfc_main$1X = /* @__PURE__ */ defineComponent({
17816
- ...__default__$1i,
17859
+ const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
17860
+ ...__default__$1j,
17817
17861
  props: buttonProps,
17818
17862
  emits: buttonEmits,
17819
17863
  setup(__props, { expose, emit }) {
@@ -17878,18 +17922,18 @@ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
17878
17922
  };
17879
17923
  }
17880
17924
  });
17881
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["__file", "button.vue"]]);
17925
+ var Button = /* @__PURE__ */ _export_sfc(_sfc_main$1Y, [["__file", "button.vue"]]);
17882
17926
 
17883
17927
  const buttonGroupProps = {
17884
17928
  size: buttonProps.size,
17885
17929
  type: buttonProps.type
17886
17930
  };
17887
17931
 
17888
- const __default__$1h = defineComponent({
17932
+ const __default__$1i = defineComponent({
17889
17933
  name: "ElButtonGroup"
17890
17934
  });
17891
- const _sfc_main$1W = /* @__PURE__ */ defineComponent({
17892
- ...__default__$1h,
17935
+ const _sfc_main$1X = /* @__PURE__ */ defineComponent({
17936
+ ...__default__$1i,
17893
17937
  props: buttonGroupProps,
17894
17938
  setup(__props) {
17895
17939
  const props = __props;
@@ -17907,7 +17951,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
17907
17951
  };
17908
17952
  }
17909
17953
  });
17910
- var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["__file", "button-group.vue"]]);
17954
+ var ButtonGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1X, [["__file", "button-group.vue"]]);
17911
17955
 
17912
17956
  const ElButton = withInstall(Button, {
17913
17957
  ButtonGroup
@@ -18460,12 +18504,12 @@ const timePickerDefaultProps = buildProps({
18460
18504
  });
18461
18505
 
18462
18506
  const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18463
- const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18464
- const __default__$1g = defineComponent({
18507
+ const _hoisted_2$E = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18508
+ const __default__$1h = defineComponent({
18465
18509
  name: "Picker"
18466
18510
  });
18467
- const _sfc_main$1V = /* @__PURE__ */ defineComponent({
18468
- ...__default__$1g,
18511
+ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
18512
+ ...__default__$1h,
18469
18513
  props: timePickerDefaultProps,
18470
18514
  emits: [
18471
18515
  "update:modelValue",
@@ -19053,7 +19097,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19053
19097
  onBlur: handleBlurInput,
19054
19098
  onInput: handleEndInput,
19055
19099
  onChange: handleEndChange
19056
- }, null, 42, _hoisted_2$D),
19100
+ }, null, 42, _hoisted_2$E),
19057
19101
  _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {
19058
19102
  key: 1,
19059
19103
  class: normalizeClass(unref(clearIconKls)),
@@ -19090,7 +19134,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19090
19134
  };
19091
19135
  }
19092
19136
  });
19093
- var CommonPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["__file", "picker.vue"]]);
19137
+ var CommonPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1W, [["__file", "picker.vue"]]);
19094
19138
 
19095
19139
  const panelTimePickerProps = buildProps({
19096
19140
  ...timePanelSharedProps,
@@ -19399,8 +19443,8 @@ const basicTimeSpinnerProps = buildProps({
19399
19443
  });
19400
19444
 
19401
19445
  const _hoisted_1$X = ["onClick"];
19402
- const _hoisted_2$C = ["onMouseenter"];
19403
- const _sfc_main$1U = /* @__PURE__ */ defineComponent({
19446
+ const _hoisted_2$D = ["onMouseenter"];
19447
+ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19404
19448
  __name: "basic-time-spinner",
19405
19449
  props: basicTimeSpinnerProps,
19406
19450
  emits: ["change", "select-range", "set-option"],
@@ -19680,15 +19724,15 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
19680
19724
  ], 2);
19681
19725
  }), 128))
19682
19726
  ], 2)
19683
- ], 42, _hoisted_2$C);
19727
+ ], 42, _hoisted_2$D);
19684
19728
  }), 128)) : createCommentVNode("v-if", true)
19685
19729
  ], 2);
19686
19730
  };
19687
19731
  }
19688
19732
  });
19689
- var TimeSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__file", "basic-time-spinner.vue"]]);
19733
+ var TimeSpinner = /* @__PURE__ */ _export_sfc(_sfc_main$1V, [["__file", "basic-time-spinner.vue"]]);
19690
19734
 
19691
- const _sfc_main$1T = /* @__PURE__ */ defineComponent({
19735
+ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
19692
19736
  __name: "panel-time-pick",
19693
19737
  props: panelTimePickerProps,
19694
19738
  emits: ["pick", "select-range", "set-picker-option"],
@@ -19840,7 +19884,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
19840
19884
  };
19841
19885
  }
19842
19886
  });
19843
- var TimePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["__file", "panel-time-pick.vue"]]);
19887
+ var TimePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1U, [["__file", "panel-time-pick.vue"]]);
19844
19888
 
19845
19889
  const panelTimeRangeProps = buildProps({
19846
19890
  ...timePanelSharedProps,
@@ -19850,7 +19894,7 @@ const panelTimeRangeProps = buildProps({
19850
19894
  });
19851
19895
 
19852
19896
  const _hoisted_1$W = ["disabled"];
19853
- const _sfc_main$1S = /* @__PURE__ */ defineComponent({
19897
+ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
19854
19898
  __name: "panel-time-range",
19855
19899
  props: panelTimeRangeProps,
19856
19900
  emits: ["pick", "select-range", "set-picker-option"],
@@ -20118,7 +20162,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
20118
20162
  };
20119
20163
  }
20120
20164
  });
20121
- var TimeRangePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["__file", "panel-time-range.vue"]]);
20165
+ var TimeRangePanel = /* @__PURE__ */ _export_sfc(_sfc_main$1T, [["__file", "panel-time-range.vue"]]);
20122
20166
 
20123
20167
  dayjs.extend(customParseFormat);
20124
20168
  var TimePicker = defineComponent({
@@ -20371,12 +20415,12 @@ const useDateTable = (props, emit) => {
20371
20415
  };
20372
20416
 
20373
20417
  const _hoisted_1$V = { key: 0 };
20374
- const _hoisted_2$B = ["onClick"];
20375
- const __default__$1f = defineComponent({
20418
+ const _hoisted_2$C = ["onClick"];
20419
+ const __default__$1g = defineComponent({
20376
20420
  name: "DateTable"
20377
20421
  });
20378
- const _sfc_main$1R = /* @__PURE__ */ defineComponent({
20379
- ...__default__$1f,
20422
+ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
20423
+ ...__default__$1g,
20380
20424
  props: dateTableProps,
20381
20425
  emits: dateTableEmits,
20382
20426
  setup(__props, { expose, emit }) {
@@ -20443,7 +20487,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
20443
20487
  createElementVNode("span", null, toDisplayString(cell.text), 1)
20444
20488
  ])
20445
20489
  ], 2)
20446
- ], 10, _hoisted_2$B);
20490
+ ], 10, _hoisted_2$C);
20447
20491
  }), 128))
20448
20492
  ], 2);
20449
20493
  }), 128))
@@ -20452,7 +20496,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
20452
20496
  };
20453
20497
  }
20454
20498
  });
20455
- var DateTable$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__file", "date-table.vue"]]);
20499
+ var DateTable$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1S, [["__file", "date-table.vue"]]);
20456
20500
 
20457
20501
  const adjacentMonth = (start, end) => {
20458
20502
  const firstMonthLastDay = start.endOf("month");
@@ -20590,11 +20634,11 @@ const calendarEmits = {
20590
20634
  };
20591
20635
 
20592
20636
  const COMPONENT_NAME$g = "ElCalendar";
20593
- const __default__$1e = defineComponent({
20637
+ const __default__$1f = defineComponent({
20594
20638
  name: COMPONENT_NAME$g
20595
20639
  });
20596
- const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
20597
- ...__default__$1e,
20640
+ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
20641
+ ...__default__$1f,
20598
20642
  props: calendarProps,
20599
20643
  emits: calendarEmits,
20600
20644
  setup(__props, { expose, emit }) {
@@ -20711,7 +20755,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
20711
20755
  };
20712
20756
  }
20713
20757
  });
20714
- var Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["__file", "calendar.vue"]]);
20758
+ var Calendar = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__file", "calendar.vue"]]);
20715
20759
 
20716
20760
  const ElCalendar = withInstall(Calendar);
20717
20761
 
@@ -20732,11 +20776,11 @@ const cardProps = buildProps({
20732
20776
  }
20733
20777
  });
20734
20778
 
20735
- const __default__$1d = defineComponent({
20779
+ const __default__$1e = defineComponent({
20736
20780
  name: "ElCard"
20737
20781
  });
20738
- const _sfc_main$1P = /* @__PURE__ */ defineComponent({
20739
- ...__default__$1d,
20782
+ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
20783
+ ...__default__$1e,
20740
20784
  props: cardProps,
20741
20785
  setup(__props) {
20742
20786
  const ns = useNamespace("card");
@@ -20762,7 +20806,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
20762
20806
  };
20763
20807
  }
20764
20808
  });
20765
- var Card = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__file", "card.vue"]]);
20809
+ var Card = /* @__PURE__ */ _export_sfc(_sfc_main$1Q, [["__file", "card.vue"]]);
20766
20810
 
20767
20811
  const ElCard = withInstall(Card);
20768
20812
 
@@ -20830,11 +20874,13 @@ const useCarousel = (props, emit, componentName) => {
20830
20874
  addChild: addItem,
20831
20875
  removeChild: removeItem
20832
20876
  } = useOrderedChildren(getCurrentInstance(), "ElCarouselItem");
20877
+ const slots = useSlots();
20833
20878
  const activeIndex = ref(-1);
20834
20879
  const timer = ref(null);
20835
20880
  const hover = ref(false);
20836
20881
  const root = ref();
20837
20882
  const containerHeight = ref(0);
20883
+ const isItemsTwoLength = ref(true);
20838
20884
  const arrowDisplay = computed$1(() => props.arrow !== "never" && !unref(isVertical));
20839
20885
  const hasLabel = computed$1(() => {
20840
20886
  return items.value.some((item) => item.props.label.toString().length > 0);
@@ -20858,6 +20904,11 @@ const useCarousel = (props, emit, componentName) => {
20858
20904
  const throttledIndicatorHover = throttle((index) => {
20859
20905
  handleIndicatorHover(index);
20860
20906
  }, THROTTLE_TIME);
20907
+ const isTwoLengthShow = (index) => {
20908
+ if (!isItemsTwoLength.value)
20909
+ return true;
20910
+ return activeIndex.value <= 1 ? index <= 1 : index > 1;
20911
+ };
20861
20912
  function pauseTimer() {
20862
20913
  if (timer.value) {
20863
20914
  clearInterval(timer.value);
@@ -20975,8 +21026,29 @@ const useCarousel = (props, emit, componentName) => {
20975
21026
  return;
20976
21027
  containerHeight.value = height;
20977
21028
  }
21029
+ function PlaceholderItem() {
21030
+ var _a;
21031
+ const defaultSlots = (_a = slots.default) == null ? void 0 : _a.call(slots);
21032
+ if (!defaultSlots)
21033
+ return null;
21034
+ const flatSlots = flattedChildren(defaultSlots);
21035
+ const carouselItemsName = "ElCarouselItem";
21036
+ const normalizeSlots = flatSlots.filter((slot) => {
21037
+ return isVNode(slot) && slot.type.name === carouselItemsName;
21038
+ });
21039
+ if ((normalizeSlots == null ? void 0 : normalizeSlots.length) === 2 && props.loop && !isCardType.value) {
21040
+ isItemsTwoLength.value = true;
21041
+ return normalizeSlots;
21042
+ }
21043
+ isItemsTwoLength.value = false;
21044
+ return null;
21045
+ }
20978
21046
  watch(() => activeIndex.value, (current, prev2) => {
20979
21047
  resetItemPosition(prev2);
21048
+ if (isItemsTwoLength.value) {
21049
+ current = current % 2;
21050
+ prev2 = prev2 % 2;
21051
+ }
20980
21052
  if (prev2 > -1) {
20981
21053
  emit("change", current, prev2);
20982
21054
  }
@@ -21029,6 +21101,7 @@ const useCarousel = (props, emit, componentName) => {
21029
21101
  items,
21030
21102
  isVertical,
21031
21103
  containerStyle,
21104
+ isItemsTwoLength,
21032
21105
  handleButtonEnter,
21033
21106
  handleButtonLeave,
21034
21107
  handleIndicatorClick,
@@ -21037,19 +21110,21 @@ const useCarousel = (props, emit, componentName) => {
21037
21110
  setActiveItem,
21038
21111
  prev,
21039
21112
  next,
21113
+ PlaceholderItem,
21114
+ isTwoLengthShow,
21040
21115
  throttledArrowClick,
21041
21116
  throttledIndicatorHover
21042
21117
  };
21043
21118
  };
21044
21119
 
21045
21120
  const _hoisted_1$U = ["onMouseenter", "onClick"];
21046
- const _hoisted_2$A = { key: 0 };
21121
+ const _hoisted_2$B = { key: 0 };
21047
21122
  const COMPONENT_NAME$f = "ElCarousel";
21048
- const __default__$1c = defineComponent({
21123
+ const __default__$1d = defineComponent({
21049
21124
  name: COMPONENT_NAME$f
21050
21125
  });
21051
- const _sfc_main$1O = /* @__PURE__ */ defineComponent({
21052
- ...__default__$1c,
21126
+ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
21127
+ ...__default__$1d,
21053
21128
  props: carouselProps,
21054
21129
  emits: carouselEmits,
21055
21130
  setup(__props, { expose, emit }) {
@@ -21072,6 +21147,8 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
21072
21147
  setActiveItem,
21073
21148
  prev,
21074
21149
  next,
21150
+ PlaceholderItem,
21151
+ isTwoLengthShow,
21075
21152
  throttledArrowClick,
21076
21153
  throttledIndicatorHover
21077
21154
  } = useCarousel(props, emit);
@@ -21169,6 +21246,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
21169
21246
  ]),
21170
21247
  _: 1
21171
21248
  })) : createCommentVNode("v-if", true),
21249
+ createVNode(unref(PlaceholderItem)),
21172
21250
  renderSlot(_ctx.$slots, "default")
21173
21251
  ], 6),
21174
21252
  _ctx.indicatorPosition !== "none" ? (openBlock(), createElementBlock("ul", {
@@ -21176,7 +21254,7 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
21176
21254
  class: normalizeClass(unref(indicatorsClasses))
21177
21255
  }, [
21178
21256
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {
21179
- return openBlock(), createElementBlock("li", {
21257
+ return withDirectives((openBlock(), createElementBlock("li", {
21180
21258
  key: index,
21181
21259
  class: normalizeClass([
21182
21260
  unref(ns).e("indicator"),
@@ -21189,16 +21267,18 @@ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
21189
21267
  createElementVNode("button", {
21190
21268
  class: normalizeClass(unref(ns).e("button"))
21191
21269
  }, [
21192
- unref(hasLabel) ? (openBlock(), createElementBlock("span", _hoisted_2$A, toDisplayString(item.props.label), 1)) : createCommentVNode("v-if", true)
21270
+ unref(hasLabel) ? (openBlock(), createElementBlock("span", _hoisted_2$B, toDisplayString(item.props.label), 1)) : createCommentVNode("v-if", true)
21193
21271
  ], 2)
21194
- ], 42, _hoisted_1$U);
21272
+ ], 42, _hoisted_1$U)), [
21273
+ [vShow, unref(isTwoLengthShow)(index)]
21274
+ ]);
21195
21275
  }), 128))
21196
21276
  ], 2)) : createCommentVNode("v-if", true)
21197
21277
  ], 34);
21198
21278
  };
21199
21279
  }
21200
21280
  });
21201
- var Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__file", "carousel.vue"]]);
21281
+ var Carousel = /* @__PURE__ */ _export_sfc(_sfc_main$1P, [["__file", "carousel.vue"]]);
21202
21282
 
21203
21283
  const carouselItemProps = buildProps({
21204
21284
  name: { type: String, default: "" },
@@ -21320,11 +21400,11 @@ const useCarouselItem = (props, componentName) => {
21320
21400
  };
21321
21401
  };
21322
21402
 
21323
- const __default__$1b = defineComponent({
21403
+ const __default__$1c = defineComponent({
21324
21404
  name: "ElCarouselItem"
21325
21405
  });
21326
- const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21327
- ...__default__$1b,
21406
+ const _sfc_main$1O = /* @__PURE__ */ defineComponent({
21407
+ ...__default__$1c,
21328
21408
  props: carouselItemProps,
21329
21409
  setup(__props) {
21330
21410
  const props = __props;
@@ -21382,7 +21462,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21382
21462
  };
21383
21463
  }
21384
21464
  });
21385
- var CarouselItem = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "carousel-item.vue"]]);
21465
+ var CarouselItem = /* @__PURE__ */ _export_sfc(_sfc_main$1O, [["__file", "carousel-item.vue"]]);
21386
21466
 
21387
21467
  const ElCarousel = withInstall(Carousel, {
21388
21468
  CarouselItem
@@ -21395,7 +21475,8 @@ const checkboxProps = {
21395
21475
  default: void 0
21396
21476
  },
21397
21477
  label: {
21398
- type: [String, Boolean, Number, Object]
21478
+ type: [String, Boolean, Number, Object],
21479
+ default: void 0
21399
21480
  },
21400
21481
  indeterminate: Boolean,
21401
21482
  disabled: Boolean,
@@ -21560,7 +21641,7 @@ const useCheckboxStatus = (props, slots, { model }) => {
21560
21641
  return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
21561
21642
  }));
21562
21643
  const hasOwnLabel = computed$1(() => {
21563
- return !!(slots.default || props.label);
21644
+ return !!slots.default || !isNil(props.label);
21564
21645
  });
21565
21646
  return {
21566
21647
  checkboxButtonSize,
@@ -21621,13 +21702,13 @@ const useCheckbox = (props, slots) => {
21621
21702
  };
21622
21703
 
21623
21704
  const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
21624
- const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
21705
+ const _hoisted_2$A = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
21625
21706
  const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
21626
- const __default__$1a = defineComponent({
21707
+ const __default__$1b = defineComponent({
21627
21708
  name: "ElCheckbox"
21628
21709
  });
21629
- const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21630
- ...__default__$1a,
21710
+ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21711
+ ...__default__$1b,
21631
21712
  props: checkboxProps,
21632
21713
  emits: checkboxEmits,
21633
21714
  setup(__props) {
@@ -21694,7 +21775,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21694
21775
  onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
21695
21776
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {
21696
21777
  }, ["stop"]))
21697
- }, null, 42, _hoisted_2$z)), [
21778
+ }, null, 42, _hoisted_2$A)), [
21698
21779
  [vModelCheckbox, unref(model)]
21699
21780
  ]) : withDirectives((openBlock(), createElementBlock("input", {
21700
21781
  key: 1,
@@ -21734,15 +21815,15 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21734
21815
  };
21735
21816
  }
21736
21817
  });
21737
- var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__file", "checkbox.vue"]]);
21818
+ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "checkbox.vue"]]);
21738
21819
 
21739
21820
  const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
21740
- const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
21741
- const __default__$19 = defineComponent({
21821
+ const _hoisted_2$z = ["name", "tabindex", "disabled", "value"];
21822
+ const __default__$1a = defineComponent({
21742
21823
  name: "ElCheckboxButton"
21743
21824
  });
21744
- const _sfc_main$1L = /* @__PURE__ */ defineComponent({
21745
- ...__default__$19,
21825
+ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21826
+ ...__default__$1a,
21746
21827
  props: checkboxProps,
21747
21828
  emits: checkboxEmits,
21748
21829
  setup(__props) {
@@ -21812,7 +21893,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
21812
21893
  onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
21813
21894
  onClick: _cache[9] || (_cache[9] = withModifiers(() => {
21814
21895
  }, ["stop"]))
21815
- }, null, 42, _hoisted_2$y)), [
21896
+ }, null, 42, _hoisted_2$z)), [
21816
21897
  [vModelCheckbox, unref(model)]
21817
21898
  ]),
21818
21899
  _ctx.$slots.default || _ctx.label ? (openBlock(), createElementBlock("span", {
@@ -21828,7 +21909,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
21828
21909
  };
21829
21910
  }
21830
21911
  });
21831
- var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox-button.vue"]]);
21912
+ var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1M, [["__file", "checkbox-button.vue"]]);
21832
21913
 
21833
21914
  const checkboxGroupProps = buildProps({
21834
21915
  modelValue: {
@@ -21856,11 +21937,11 @@ const checkboxGroupEmits = {
21856
21937
  change: (val) => isArray$1(val)
21857
21938
  };
21858
21939
 
21859
- const __default__$18 = defineComponent({
21940
+ const __default__$19 = defineComponent({
21860
21941
  name: "ElCheckboxGroup"
21861
21942
  });
21862
- const _sfc_main$1K = /* @__PURE__ */ defineComponent({
21863
- ...__default__$18,
21943
+ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
21944
+ ...__default__$19,
21864
21945
  props: checkboxGroupProps,
21865
21946
  emits: checkboxGroupEmits,
21866
21947
  setup(__props, { emit }) {
@@ -21918,7 +21999,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
21918
21999
  };
21919
22000
  }
21920
22001
  });
21921
- var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "checkbox-group.vue"]]);
22002
+ var CheckboxGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox-group.vue"]]);
21922
22003
 
21923
22004
  const ElCheckbox = withInstall(Checkbox, {
21924
22005
  CheckboxButton,
@@ -21990,11 +22071,11 @@ const useRadio = (props, emit) => {
21990
22071
  };
21991
22072
 
21992
22073
  const _hoisted_1$R = ["value", "name", "disabled"];
21993
- const __default__$17 = defineComponent({
22074
+ const __default__$18 = defineComponent({
21994
22075
  name: "ElRadio"
21995
22076
  });
21996
- const _sfc_main$1J = /* @__PURE__ */ defineComponent({
21997
- ...__default__$17,
22077
+ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
22078
+ ...__default__$18,
21998
22079
  props: radioProps,
21999
22080
  emits: radioEmits,
22000
22081
  setup(__props, { emit }) {
@@ -22057,7 +22138,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
22057
22138
  };
22058
22139
  }
22059
22140
  });
22060
- var Radio = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__file", "radio.vue"]]);
22141
+ var Radio = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "radio.vue"]]);
22061
22142
 
22062
22143
  const radioButtonProps = buildProps({
22063
22144
  ...radioPropsBase,
@@ -22068,11 +22149,11 @@ const radioButtonProps = buildProps({
22068
22149
  });
22069
22150
 
22070
22151
  const _hoisted_1$Q = ["value", "name", "disabled"];
22071
- const __default__$16 = defineComponent({
22152
+ const __default__$17 = defineComponent({
22072
22153
  name: "ElRadioButton"
22073
22154
  });
22074
- const _sfc_main$1I = /* @__PURE__ */ defineComponent({
22075
- ...__default__$16,
22155
+ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
22156
+ ...__default__$17,
22076
22157
  props: radioButtonProps,
22077
22158
  setup(__props) {
22078
22159
  const props = __props;
@@ -22127,7 +22208,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
22127
22208
  };
22128
22209
  }
22129
22210
  });
22130
- var RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__file", "radio-button.vue"]]);
22211
+ var RadioButton = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["__file", "radio-button.vue"]]);
22131
22212
 
22132
22213
  const radioGroupProps = buildProps({
22133
22214
  id: {
@@ -22164,11 +22245,11 @@ const radioGroupProps = buildProps({
22164
22245
  const radioGroupEmits = radioEmits;
22165
22246
 
22166
22247
  const _hoisted_1$P = ["id", "aria-label", "aria-labelledby"];
22167
- const __default__$15 = defineComponent({
22248
+ const __default__$16 = defineComponent({
22168
22249
  name: "ElRadioGroup"
22169
22250
  });
22170
- const _sfc_main$1H = /* @__PURE__ */ defineComponent({
22171
- ...__default__$15,
22251
+ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
22252
+ ...__default__$16,
22172
22253
  props: radioGroupProps,
22173
22254
  emits: radioGroupEmits,
22174
22255
  setup(__props, { emit }) {
@@ -22219,7 +22300,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
22219
22300
  };
22220
22301
  }
22221
22302
  });
22222
- var RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["__file", "radio-group.vue"]]);
22303
+ var RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$1I, [["__file", "radio-group.vue"]]);
22223
22304
 
22224
22305
  const ElRadio = withInstall(Radio, {
22225
22306
  RadioButton,
@@ -22247,7 +22328,7 @@ var NodeContent$1 = defineComponent({
22247
22328
 
22248
22329
  const CASCADER_PANEL_INJECTION_KEY = Symbol();
22249
22330
 
22250
- const _sfc_main$1G = defineComponent({
22331
+ const _sfc_main$1H = defineComponent({
22251
22332
  name: "ElCascaderNode",
22252
22333
  components: {
22253
22334
  ElCheckbox,
@@ -22363,7 +22444,7 @@ const _sfc_main$1G = defineComponent({
22363
22444
  }
22364
22445
  });
22365
22446
  const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
22366
- const _hoisted_2$x = /* @__PURE__ */ createElementVNode("span", null, null, -1);
22447
+ const _hoisted_2$y = /* @__PURE__ */ createElementVNode("span", null, null, -1);
22367
22448
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22368
22449
  const _component_el_checkbox = resolveComponent("el-checkbox");
22369
22450
  const _component_el_radio = resolveComponent("el-radio");
@@ -22411,7 +22492,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22411
22492
  }, {
22412
22493
  default: withCtx(() => [
22413
22494
  createCommentVNode("\n Add an empty element to avoid render label,\n do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485\n "),
22414
- _hoisted_2$x
22495
+ _hoisted_2$y
22415
22496
  ]),
22416
22497
  _: 1
22417
22498
  }, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : _ctx.isLeaf && _ctx.node.checked ? (openBlock(), createBlock(_component_el_icon, {
@@ -22447,9 +22528,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22447
22528
  ], 64)) : createCommentVNode("v-if", true)
22448
22529
  ], 42, _hoisted_1$O);
22449
22530
  }
22450
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$u], ["__file", "node.vue"]]);
22531
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$u], ["__file", "node.vue"]]);
22451
22532
 
22452
- const _sfc_main$1F = defineComponent({
22533
+ const _sfc_main$1G = defineComponent({
22453
22534
  name: "ElCascaderMenu",
22454
22535
  components: {
22455
22536
  Loading: loading_default,
@@ -22580,7 +22661,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22580
22661
  _: 1
22581
22662
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
22582
22663
  }
22583
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$t], ["__file", "menu.vue"]]);
22664
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1G, [["render", _sfc_render$t], ["__file", "menu.vue"]]);
22584
22665
 
22585
22666
  let uid = 0;
22586
22667
  const calculatePathNodes = (node) => {
@@ -22813,7 +22894,7 @@ const sortByOriginalOrder = (oldNodes, newNodes) => {
22813
22894
  return res;
22814
22895
  };
22815
22896
 
22816
- const _sfc_main$1E = defineComponent({
22897
+ const _sfc_main$1F = defineComponent({
22817
22898
  name: "ElCascaderPanel",
22818
22899
  components: {
22819
22900
  ElCascaderMenu
@@ -23079,7 +23160,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
23079
23160
  }), 128))
23080
23161
  ], 34);
23081
23162
  }
23082
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$s], ["__file", "index.vue"]]);
23163
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$s], ["__file", "index.vue"]]);
23083
23164
 
23084
23165
  CascaderPanel.install = (app) => {
23085
23166
  app.component(CascaderPanel.name, CascaderPanel);
@@ -23117,11 +23198,11 @@ const tagEmits = {
23117
23198
  click: (evt) => evt instanceof MouseEvent
23118
23199
  };
23119
23200
 
23120
- const __default__$14 = defineComponent({
23201
+ const __default__$15 = defineComponent({
23121
23202
  name: "ElTag"
23122
23203
  });
23123
- const _sfc_main$1D = /* @__PURE__ */ defineComponent({
23124
- ...__default__$14,
23204
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
23205
+ ...__default__$15,
23125
23206
  props: tagProps,
23126
23207
  emits: tagEmits,
23127
23208
  setup(__props, { emit }) {
@@ -23201,7 +23282,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
23201
23282
  };
23202
23283
  }
23203
23284
  });
23204
- var Tag = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__file", "tag.vue"]]);
23285
+ var Tag = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["__file", "tag.vue"]]);
23205
23286
 
23206
23287
  const ElTag = withInstall(Tag);
23207
23288
 
@@ -23263,14 +23344,14 @@ const cascaderEmits = {
23263
23344
  };
23264
23345
 
23265
23346
  const _hoisted_1$N = { key: 0 };
23266
- const _hoisted_2$w = ["placeholder", "onKeydown"];
23347
+ const _hoisted_2$x = ["placeholder", "onKeydown"];
23267
23348
  const _hoisted_3$i = ["onClick"];
23268
23349
  const COMPONENT_NAME$e = "ElCascader";
23269
- const __default__$13 = defineComponent({
23350
+ const __default__$14 = defineComponent({
23270
23351
  name: COMPONENT_NAME$e
23271
23352
  });
23272
- const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23273
- ...__default__$13,
23353
+ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
23354
+ ...__default__$14,
23274
23355
  props: cascaderProps,
23275
23356
  emits: cascaderEmits,
23276
23357
  setup(__props, { expose, emit }) {
@@ -23796,7 +23877,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23796
23877
  onCompositionend: handleComposition,
23797
23878
  onFocus: handleFocus,
23798
23879
  onBlur: handleBlur
23799
- }, null, 42, _hoisted_2$w)), [
23880
+ }, null, 42, _hoisted_2$x)), [
23800
23881
  [vModelText, searchInputValue.value]
23801
23882
  ]) : createCommentVNode("v-if", true)
23802
23883
  ], 2)) : createCommentVNode("v-if", true)
@@ -23863,7 +23944,7 @@ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23863
23944
  };
23864
23945
  }
23865
23946
  });
23866
- var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__file", "cascader.vue"]]);
23947
+ var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__file", "cascader.vue"]]);
23867
23948
 
23868
23949
  Cascader.install = (app) => {
23869
23950
  app.component(Cascader.name, Cascader);
@@ -23882,11 +23963,11 @@ const checkTagEmits = {
23882
23963
  [CHANGE_EVENT]: (value) => isBoolean(value)
23883
23964
  };
23884
23965
 
23885
- const __default__$12 = defineComponent({
23966
+ const __default__$13 = defineComponent({
23886
23967
  name: "ElCheckTag"
23887
23968
  });
23888
- const _sfc_main$1B = /* @__PURE__ */ defineComponent({
23889
- ...__default__$12,
23969
+ const _sfc_main$1C = /* @__PURE__ */ defineComponent({
23970
+ ...__default__$13,
23890
23971
  props: checkTagProps,
23891
23972
  emits: checkTagEmits,
23892
23973
  setup(__props, { emit }) {
@@ -23908,7 +23989,7 @@ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
23908
23989
  };
23909
23990
  }
23910
23991
  });
23911
- var CheckTag = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__file", "check-tag.vue"]]);
23992
+ var CheckTag = /* @__PURE__ */ _export_sfc(_sfc_main$1C, [["__file", "check-tag.vue"]]);
23912
23993
 
23913
23994
  const ElCheckTag = withInstall(CheckTag);
23914
23995
 
@@ -23943,11 +24024,11 @@ const rowProps = buildProps({
23943
24024
  }
23944
24025
  });
23945
24026
 
23946
- const __default__$11 = defineComponent({
24027
+ const __default__$12 = defineComponent({
23947
24028
  name: "ElRow"
23948
24029
  });
23949
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
23950
- ...__default__$11,
24030
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
24031
+ ...__default__$12,
23951
24032
  props: rowProps,
23952
24033
  setup(__props) {
23953
24034
  const props = __props;
@@ -23982,7 +24063,7 @@ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
23982
24063
  };
23983
24064
  }
23984
24065
  });
23985
- var Row$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__file", "row.vue"]]);
24066
+ var Row$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["__file", "row.vue"]]);
23986
24067
 
23987
24068
  const ElRow = withInstall(Row$1);
23988
24069
 
@@ -24029,11 +24110,11 @@ const colProps = buildProps({
24029
24110
  }
24030
24111
  });
24031
24112
 
24032
- const __default__$10 = defineComponent({
24113
+ const __default__$11 = defineComponent({
24033
24114
  name: "ElCol"
24034
24115
  });
24035
- const _sfc_main$1z = /* @__PURE__ */ defineComponent({
24036
- ...__default__$10,
24116
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
24117
+ ...__default__$11,
24037
24118
  props: colProps,
24038
24119
  setup(__props) {
24039
24120
  const props = __props;
@@ -24086,7 +24167,7 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
24086
24167
  };
24087
24168
  }
24088
24169
  });
24089
- var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__file", "col.vue"]]);
24170
+ var Col = /* @__PURE__ */ _export_sfc(_sfc_main$1A, [["__file", "col.vue"]]);
24090
24171
 
24091
24172
  const ElCol = withInstall(Col);
24092
24173
 
@@ -24145,11 +24226,11 @@ const useCollapseDOM = () => {
24145
24226
  };
24146
24227
  };
24147
24228
 
24148
- const __default__$$ = defineComponent({
24229
+ const __default__$10 = defineComponent({
24149
24230
  name: "ElCollapse"
24150
24231
  });
24151
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
24152
- ...__default__$$,
24232
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
24233
+ ...__default__$10,
24153
24234
  props: collapseProps,
24154
24235
  emits: collapseEmits,
24155
24236
  setup(__props, { expose, emit }) {
@@ -24169,13 +24250,13 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
24169
24250
  };
24170
24251
  }
24171
24252
  });
24172
- var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
24253
+ var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__file", "collapse.vue"]]);
24173
24254
 
24174
- const __default__$_ = defineComponent({
24255
+ const __default__$$ = defineComponent({
24175
24256
  name: "ElCollapseTransition"
24176
24257
  });
24177
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24178
- ...__default__$_,
24258
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
24259
+ ...__default__$$,
24179
24260
  setup(__props) {
24180
24261
  const ns = useNamespace("collapse-transition");
24181
24262
  const reset = (el) => {
@@ -24247,7 +24328,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24247
24328
  };
24248
24329
  }
24249
24330
  });
24250
- var CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__file", "collapse-transition.vue"]]);
24331
+ var CollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse-transition.vue"]]);
24251
24332
 
24252
24333
  CollapseTransition.install = (app) => {
24253
24334
  app.component(CollapseTransition.name, CollapseTransition);
@@ -24333,12 +24414,12 @@ const useCollapseItemDOM = (props, { focusing, isActive, id }) => {
24333
24414
  };
24334
24415
 
24335
24416
  const _hoisted_1$M = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
24336
- const _hoisted_2$v = ["id", "aria-hidden", "aria-labelledby"];
24337
- const __default__$Z = defineComponent({
24417
+ const _hoisted_2$w = ["id", "aria-hidden", "aria-labelledby"];
24418
+ const __default__$_ = defineComponent({
24338
24419
  name: "ElCollapseItem"
24339
24420
  });
24340
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
24341
- ...__default__$Z,
24421
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24422
+ ...__default__$_,
24342
24423
  props: collapseItemProps,
24343
24424
  setup(__props, { expose }) {
24344
24425
  const props = __props;
@@ -24405,7 +24486,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
24405
24486
  }, [
24406
24487
  renderSlot(_ctx.$slots, "default")
24407
24488
  ], 2)
24408
- ], 10, _hoisted_2$v), [
24489
+ ], 10, _hoisted_2$w), [
24409
24490
  [vShow, unref(isActive)]
24410
24491
  ])
24411
24492
  ]),
@@ -24415,7 +24496,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
24415
24496
  };
24416
24497
  }
24417
24498
  });
24418
- var CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__file", "collapse-item.vue"]]);
24499
+ var CollapseItem = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["__file", "collapse-item.vue"]]);
24419
24500
 
24420
24501
  const ElCollapse = withInstall(Collapse, {
24421
24502
  CollapseItem
@@ -24578,11 +24659,11 @@ const useAlphaSliderDOM = (props, {
24578
24659
  };
24579
24660
 
24580
24661
  const COMPONENT_NAME$d = "ElColorAlphaSlider";
24581
- const __default__$Y = defineComponent({
24662
+ const __default__$Z = defineComponent({
24582
24663
  name: COMPONENT_NAME$d
24583
24664
  });
24584
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
24585
- ...__default__$Y,
24665
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
24666
+ ...__default__$Z,
24586
24667
  props: alphaSliderProps,
24587
24668
  setup(__props, { expose }) {
24588
24669
  const props = __props;
@@ -24618,9 +24699,9 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
24618
24699
  };
24619
24700
  }
24620
24701
  });
24621
- var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__file", "alpha-slider.vue"]]);
24702
+ var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__file", "alpha-slider.vue"]]);
24622
24703
 
24623
- const _sfc_main$1u = defineComponent({
24704
+ const _sfc_main$1v = defineComponent({
24624
24705
  name: "ElColorHueSlider",
24625
24706
  props: {
24626
24707
  color: {
@@ -24740,7 +24821,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
24740
24821
  }, null, 6)
24741
24822
  ], 2);
24742
24823
  }
24743
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$r], ["__file", "hue-slider.vue"]]);
24824
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$r], ["__file", "hue-slider.vue"]]);
24744
24825
 
24745
24826
  const colorPickerProps = buildProps({
24746
24827
  modelValue: String,
@@ -24772,7 +24853,9 @@ const colorPickerProps = buildProps({
24772
24853
  const colorPickerEmits = {
24773
24854
  [UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNil(val),
24774
24855
  [CHANGE_EVENT]: (val) => isString$1(val) || isNil(val),
24775
- activeChange: (val) => isString$1(val) || isNil(val)
24856
+ activeChange: (val) => isString$1(val) || isNil(val),
24857
+ focus: (event) => event instanceof FocusEvent,
24858
+ blur: (event) => event instanceof FocusEvent
24776
24859
  };
24777
24860
  const colorPickerContextKey = Symbol("colorPickerContextKey");
24778
24861
 
@@ -25060,7 +25143,7 @@ class Color {
25060
25143
  }
25061
25144
  }
25062
25145
 
25063
- const _sfc_main$1t = defineComponent({
25146
+ const _sfc_main$1u = defineComponent({
25064
25147
  props: {
25065
25148
  colors: {
25066
25149
  type: Array,
@@ -25131,9 +25214,9 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25131
25214
  ], 2)
25132
25215
  ], 2);
25133
25216
  }
25134
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$q], ["__file", "predefine.vue"]]);
25217
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$q], ["__file", "predefine.vue"]]);
25135
25218
 
25136
- const _sfc_main$1s = defineComponent({
25219
+ const _sfc_main$1t = defineComponent({
25137
25220
  name: "ElSlPanel",
25138
25221
  props: {
25139
25222
  color: {
@@ -25204,7 +25287,7 @@ const _sfc_main$1s = defineComponent({
25204
25287
  }
25205
25288
  });
25206
25289
  const _hoisted_1$K = /* @__PURE__ */ createElementVNode("div", null, null, -1);
25207
- const _hoisted_2$u = [
25290
+ const _hoisted_2$v = [
25208
25291
  _hoisted_1$K
25209
25292
  ];
25210
25293
  function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
@@ -25226,17 +25309,18 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25226
25309
  top: _ctx.cursorTop + "px",
25227
25310
  left: _ctx.cursorLeft + "px"
25228
25311
  })
25229
- }, _hoisted_2$u, 6)
25312
+ }, _hoisted_2$v, 6)
25230
25313
  ], 6);
25231
25314
  }
25232
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
25315
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
25233
25316
 
25234
- const _hoisted_1$J = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex", "onKeydown"];
25235
- const __default__$X = defineComponent({
25317
+ const _hoisted_1$J = ["onKeydown"];
25318
+ const _hoisted_2$u = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
25319
+ const __default__$Y = defineComponent({
25236
25320
  name: "ElColorPicker"
25237
25321
  });
25238
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25239
- ...__default__$X,
25322
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25323
+ ...__default__$Y,
25240
25324
  props: colorPickerProps,
25241
25325
  emits: colorPickerEmits,
25242
25326
  setup(__props, { expose, emit }) {
@@ -25253,6 +25337,27 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25253
25337
  const sv = ref();
25254
25338
  const alpha = ref();
25255
25339
  const popper = ref();
25340
+ const triggerRef = ref();
25341
+ const inputRef = ref();
25342
+ const {
25343
+ isFocused,
25344
+ handleFocus: _handleFocus,
25345
+ handleBlur
25346
+ } = useFocusController(triggerRef, {
25347
+ beforeBlur(event) {
25348
+ var _a;
25349
+ return (_a = popper.value) == null ? void 0 : _a.isFocusInsideContent(event);
25350
+ },
25351
+ afterBlur() {
25352
+ setShowPicker(false);
25353
+ resetColor();
25354
+ }
25355
+ });
25356
+ const handleFocus = (event) => {
25357
+ if (colorDisabled.value)
25358
+ return blur();
25359
+ _handleFocus(event);
25360
+ };
25256
25361
  let shouldActiveChange = true;
25257
25362
  const color = reactive(new Color({
25258
25363
  enableAlpha: props.showAlpha,
@@ -25281,7 +25386,8 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25281
25386
  return [
25282
25387
  ns.b("picker"),
25283
25388
  ns.is("disabled", colorDisabled.value),
25284
- ns.bm("picker", colorSize.value)
25389
+ ns.bm("picker", colorSize.value),
25390
+ ns.is("focused", isFocused.value)
25285
25391
  ];
25286
25392
  });
25287
25393
  function displayedRgb(color2, showAlpha) {
@@ -25352,6 +25458,41 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25352
25458
  }
25353
25459
  resetColor();
25354
25460
  }
25461
+ function handleClickOutside(event) {
25462
+ if (!showPicker.value)
25463
+ return;
25464
+ hide();
25465
+ if (isFocused.value) {
25466
+ const _event = new FocusEvent("focus", event);
25467
+ handleBlur(_event);
25468
+ }
25469
+ }
25470
+ function handleEsc(event) {
25471
+ event.preventDefault();
25472
+ event.stopPropagation();
25473
+ setShowPicker(false);
25474
+ resetColor();
25475
+ }
25476
+ function handleKeyDown(event) {
25477
+ switch (event.code) {
25478
+ case EVENT_CODE.enter:
25479
+ case EVENT_CODE.space:
25480
+ event.preventDefault();
25481
+ event.stopPropagation();
25482
+ show();
25483
+ inputRef.value.focus();
25484
+ break;
25485
+ case EVENT_CODE.esc:
25486
+ handleEsc(event);
25487
+ break;
25488
+ }
25489
+ }
25490
+ function focus() {
25491
+ triggerRef.value.focus();
25492
+ }
25493
+ function blur() {
25494
+ triggerRef.value.blur();
25495
+ }
25355
25496
  onMounted(() => {
25356
25497
  if (props.modelValue) {
25357
25498
  customInput.value = currentColor.value;
@@ -25389,7 +25530,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25389
25530
  expose({
25390
25531
  color,
25391
25532
  show,
25392
- hide
25533
+ hide,
25534
+ focus,
25535
+ blur
25393
25536
  });
25394
25537
  return (_ctx, _cache) => {
25395
25538
  return openBlock(), createBlock(unref(ElTooltip), {
@@ -25405,10 +25548,13 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25405
25548
  effect: "light",
25406
25549
  trigger: "click",
25407
25550
  transition: `${unref(ns).namespace.value}-zoom-in-top`,
25408
- persistent: ""
25551
+ persistent: "",
25552
+ onHide: _cache[2] || (_cache[2] = ($event) => setShowPicker(false))
25409
25553
  }, {
25410
25554
  content: withCtx(() => [
25411
- withDirectives((openBlock(), createElementBlock("div", null, [
25555
+ withDirectives((openBlock(), createElementBlock("div", {
25556
+ onKeydown: withKeys(handleEsc, ["esc"])
25557
+ }, [
25412
25558
  createElementVNode("div", {
25413
25559
  class: normalizeClass(unref(ns).be("dropdown", "main-wrapper"))
25414
25560
  }, [
@@ -25444,6 +25590,8 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25444
25590
  class: normalizeClass(unref(ns).be("dropdown", "value"))
25445
25591
  }, [
25446
25592
  createVNode(unref(ElInput), {
25593
+ ref_key: "inputRef",
25594
+ ref: inputRef,
25447
25595
  modelValue: customInput.value,
25448
25596
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customInput.value = $event),
25449
25597
  "validate-event": false,
@@ -25475,20 +25623,25 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25475
25623
  _: 1
25476
25624
  }, 8, ["class"])
25477
25625
  ], 2)
25478
- ])), [
25479
- [unref(ClickOutside), hide]
25626
+ ], 40, _hoisted_1$J)), [
25627
+ [unref(ClickOutside), handleClickOutside]
25480
25628
  ])
25481
25629
  ]),
25482
25630
  default: withCtx(() => [
25483
25631
  createElementVNode("div", {
25484
25632
  id: unref(buttonId),
25633
+ ref_key: "triggerRef",
25634
+ ref: triggerRef,
25485
25635
  class: normalizeClass(unref(btnKls)),
25486
25636
  role: "button",
25487
25637
  "aria-label": unref(buttonAriaLabel),
25488
25638
  "aria-labelledby": unref(buttonAriaLabelledby),
25489
25639
  "aria-description": unref(t)("el.colorpicker.description", { color: _ctx.modelValue || "" }),
25490
- tabindex: _ctx.tabindex,
25491
- onKeydown: withKeys(handleTrigger, ["enter"])
25640
+ "aria-disabled": unref(colorDisabled),
25641
+ tabindex: unref(colorDisabled) ? -1 : _ctx.tabindex,
25642
+ onKeydown: handleKeyDown,
25643
+ onFocus: handleFocus,
25644
+ onBlur: _cache[1] || (_cache[1] = (...args) => unref(handleBlur) && unref(handleBlur)(...args))
25492
25645
  }, [
25493
25646
  unref(colorDisabled) ? (openBlock(), createElementBlock("div", {
25494
25647
  key: 0,
@@ -25530,22 +25683,22 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25530
25683
  ], 6)
25531
25684
  ], 2)
25532
25685
  ], 2)
25533
- ], 42, _hoisted_1$J)
25686
+ ], 42, _hoisted_2$u)
25534
25687
  ]),
25535
25688
  _: 1
25536
25689
  }, 8, ["visible", "popper-class", "transition"]);
25537
25690
  };
25538
25691
  }
25539
25692
  });
25540
- var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__file", "color-picker.vue"]]);
25693
+ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__file", "color-picker.vue"]]);
25541
25694
 
25542
25695
  const ElColorPicker = withInstall(ColorPicker);
25543
25696
 
25544
- const __default__$W = defineComponent({
25697
+ const __default__$X = defineComponent({
25545
25698
  name: "ElContainer"
25546
25699
  });
25547
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
25548
- ...__default__$W,
25700
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
25701
+ ...__default__$X,
25549
25702
  props: {
25550
25703
  direction: {
25551
25704
  type: String
@@ -25580,13 +25733,13 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
25580
25733
  };
25581
25734
  }
25582
25735
  });
25583
- var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
25736
+ var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__file", "container.vue"]]);
25584
25737
 
25585
- const __default__$V = defineComponent({
25738
+ const __default__$W = defineComponent({
25586
25739
  name: "ElAside"
25587
25740
  });
25588
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
25589
- ...__default__$V,
25741
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
25742
+ ...__default__$W,
25590
25743
  props: {
25591
25744
  width: {
25592
25745
  type: String,
@@ -25607,13 +25760,13 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
25607
25760
  };
25608
25761
  }
25609
25762
  });
25610
- var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
25763
+ var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "aside.vue"]]);
25611
25764
 
25612
- const __default__$U = defineComponent({
25765
+ const __default__$V = defineComponent({
25613
25766
  name: "ElFooter"
25614
25767
  });
25615
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
25616
- ...__default__$U,
25768
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
25769
+ ...__default__$V,
25617
25770
  props: {
25618
25771
  height: {
25619
25772
  type: String,
@@ -25634,13 +25787,13 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
25634
25787
  };
25635
25788
  }
25636
25789
  });
25637
- var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
25790
+ var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "footer.vue"]]);
25638
25791
 
25639
- const __default__$T = defineComponent({
25792
+ const __default__$U = defineComponent({
25640
25793
  name: "ElHeader"
25641
25794
  });
25642
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
25643
- ...__default__$T,
25795
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
25796
+ ...__default__$U,
25644
25797
  props: {
25645
25798
  height: {
25646
25799
  type: String,
@@ -25665,13 +25818,13 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
25665
25818
  };
25666
25819
  }
25667
25820
  });
25668
- var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
25821
+ var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "header.vue"]]);
25669
25822
 
25670
- const __default__$S = defineComponent({
25823
+ const __default__$T = defineComponent({
25671
25824
  name: "ElMain"
25672
25825
  });
25673
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
25674
- ...__default__$S,
25826
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
25827
+ ...__default__$T,
25675
25828
  setup(__props) {
25676
25829
  const ns = useNamespace("main");
25677
25830
  return (_ctx, _cache) => {
@@ -25683,7 +25836,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
25683
25836
  };
25684
25837
  }
25685
25838
  });
25686
- var Main = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__file", "main.vue"]]);
25839
+ var Main = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "main.vue"]]);
25687
25840
 
25688
25841
  const ElContainer = withInstall(Container, {
25689
25842
  Aside,
@@ -26372,7 +26525,7 @@ const _hoisted_2$t = {
26372
26525
  };
26373
26526
  const _hoisted_3$h = ["aria-label"];
26374
26527
  const _hoisted_4$b = ["aria-current", "aria-selected", "tabindex"];
26375
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
26528
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
26376
26529
  __name: "basic-date-table",
26377
26530
  props: basicDateTableProps,
26378
26531
  emits: basicDateTableEmits,
@@ -26452,7 +26605,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
26452
26605
  };
26453
26606
  }
26454
26607
  });
26455
- var DateTable = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "basic-date-table.vue"]]);
26608
+ var DateTable = /* @__PURE__ */ _export_sfc(_sfc_main$1m, [["__file", "basic-date-table.vue"]]);
26456
26609
 
26457
26610
  const basicMonthTableProps = buildProps({
26458
26611
  ...datePickerSharedProps,
@@ -26462,7 +26615,7 @@ const basicMonthTableProps = buildProps({
26462
26615
  const _hoisted_1$H = ["aria-label"];
26463
26616
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
26464
26617
  const _hoisted_3$g = { class: "cell" };
26465
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
26618
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
26466
26619
  __name: "basic-month-table",
26467
26620
  props: basicMonthTableProps,
26468
26621
  emits: ["changerange", "pick", "select"],
@@ -26655,7 +26808,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
26655
26808
  };
26656
26809
  }
26657
26810
  });
26658
- var MonthTable = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "basic-month-table.vue"]]);
26811
+ var MonthTable = /* @__PURE__ */ _export_sfc(_sfc_main$1l, [["__file", "basic-month-table.vue"]]);
26659
26812
 
26660
26813
  const { date, disabledDate, parsedValue } = datePickerSharedProps;
26661
26814
  const basicYearTableProps = buildProps({
@@ -26668,7 +26821,7 @@ const _hoisted_1$G = ["aria-label"];
26668
26821
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
26669
26822
  const _hoisted_3$f = { class: "cell" };
26670
26823
  const _hoisted_4$a = { key: 1 };
26671
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
26824
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
26672
26825
  __name: "basic-year-table",
26673
26826
  props: basicYearTableProps,
26674
26827
  emits: ["pick"],
@@ -26762,14 +26915,14 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
26762
26915
  };
26763
26916
  }
26764
26917
  });
26765
- var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "basic-year-table.vue"]]);
26918
+ var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "basic-year-table.vue"]]);
26766
26919
 
26767
26920
  const _hoisted_1$F = ["onClick"];
26768
26921
  const _hoisted_2$q = ["aria-label"];
26769
26922
  const _hoisted_3$e = ["aria-label"];
26770
26923
  const _hoisted_4$9 = ["aria-label"];
26771
26924
  const _hoisted_5$7 = ["aria-label"];
26772
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
26925
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
26773
26926
  __name: "panel-date-pick",
26774
26927
  props: panelDatePickProps,
26775
26928
  emits: ["pick", "set-picker-option", "panel-change"],
@@ -27406,7 +27559,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
27406
27559
  };
27407
27560
  }
27408
27561
  });
27409
- var DatePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__file", "panel-date-pick.vue"]]);
27562
+ var DatePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "panel-date-pick.vue"]]);
27410
27563
 
27411
27564
  const panelDateRangeProps = buildProps({
27412
27565
  ...panelSharedProps,
@@ -27523,7 +27676,7 @@ const _hoisted_7$1 = ["disabled", "aria-label"];
27523
27676
  const _hoisted_8$1 = ["aria-label"];
27524
27677
  const _hoisted_9$1 = ["aria-label"];
27525
27678
  const unit$1 = "month";
27526
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
27679
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
27527
27680
  __name: "panel-date-range",
27528
27681
  props: panelDateRangeProps,
27529
27682
  emits: [
@@ -28164,7 +28317,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
28164
28317
  };
28165
28318
  }
28166
28319
  });
28167
- var DateRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__file", "panel-date-range.vue"]]);
28320
+ var DateRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1i, [["__file", "panel-date-range.vue"]]);
28168
28321
 
28169
28322
  const panelMonthRangeProps = buildProps({
28170
28323
  ...panelRangeSharedProps
@@ -28227,11 +28380,11 @@ const _hoisted_1$D = ["onClick"];
28227
28380
  const _hoisted_2$o = ["disabled"];
28228
28381
  const _hoisted_3$c = ["disabled"];
28229
28382
  const unit = "year";
28230
- const __default__$R = defineComponent({
28383
+ const __default__$S = defineComponent({
28231
28384
  name: "DatePickerMonthRange"
28232
28385
  });
28233
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
28234
- ...__default__$R,
28386
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
28387
+ ...__default__$S,
28235
28388
  props: panelMonthRangeProps,
28236
28389
  emits: panelMonthRangeEmits,
28237
28390
  setup(__props, { emit }) {
@@ -28436,7 +28589,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
28436
28589
  };
28437
28590
  }
28438
28591
  });
28439
- var MonthRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__file", "panel-month-range.vue"]]);
28592
+ var MonthRangePickPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1h, [["__file", "panel-month-range.vue"]]);
28440
28593
 
28441
28594
  const getPanel = function(type) {
28442
28595
  switch (type) {
@@ -28614,11 +28767,11 @@ const descriptionsRowProps = buildProps({
28614
28767
  });
28615
28768
 
28616
28769
  const _hoisted_1$C = { key: 1 };
28617
- const __default__$Q = defineComponent({
28770
+ const __default__$R = defineComponent({
28618
28771
  name: "ElDescriptionsRow"
28619
28772
  });
28620
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
28621
- ...__default__$Q,
28773
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
28774
+ ...__default__$R,
28622
28775
  props: descriptionsRowProps,
28623
28776
  setup(__props) {
28624
28777
  const descriptions = inject(descriptionsKey, {});
@@ -28672,7 +28825,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
28672
28825
  };
28673
28826
  }
28674
28827
  });
28675
- var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "descriptions-row.vue"]]);
28828
+ var ElDescriptionsRow = /* @__PURE__ */ _export_sfc(_sfc_main$1g, [["__file", "descriptions-row.vue"]]);
28676
28829
 
28677
28830
  const descriptionProps = buildProps({
28678
28831
  border: {
@@ -28699,11 +28852,11 @@ const descriptionProps = buildProps({
28699
28852
  }
28700
28853
  });
28701
28854
 
28702
- const __default__$P = defineComponent({
28855
+ const __default__$Q = defineComponent({
28703
28856
  name: "ElDescriptions"
28704
28857
  });
28705
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
28706
- ...__default__$P,
28858
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
28859
+ ...__default__$Q,
28707
28860
  props: descriptionProps,
28708
28861
  setup(__props) {
28709
28862
  const props = __props;
@@ -28802,7 +28955,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
28802
28955
  };
28803
28956
  }
28804
28957
  });
28805
- var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__file", "description.vue"]]);
28958
+ var Descriptions = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "description.vue"]]);
28806
28959
 
28807
28960
  const descriptionItemProps = buildProps({
28808
28961
  label: {
@@ -28943,9 +29096,9 @@ const dialogContentEmits = {
28943
29096
  const _hoisted_1$B = ["aria-level"];
28944
29097
  const _hoisted_2$n = ["aria-label"];
28945
29098
  const _hoisted_3$b = ["id"];
28946
- const __default__$O = defineComponent({ name: "ElDialogContent" });
28947
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
28948
- ...__default__$O,
29099
+ const __default__$P = defineComponent({ name: "ElDialogContent" });
29100
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
29101
+ ...__default__$P,
28949
29102
  props: dialogContentProps,
28950
29103
  emits: dialogContentEmits,
28951
29104
  setup(__props) {
@@ -29017,7 +29170,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
29017
29170
  };
29018
29171
  }
29019
29172
  });
29020
- var ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__file", "dialog-content.vue"]]);
29173
+ var ElDialogContent = /* @__PURE__ */ _export_sfc(_sfc_main$1e, [["__file", "dialog-content.vue"]]);
29021
29174
 
29022
29175
  const dialogProps = buildProps({
29023
29176
  ...dialogContentProps,
@@ -29249,12 +29402,12 @@ const useDialog = (props, targetRef) => {
29249
29402
  };
29250
29403
 
29251
29404
  const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
29252
- const __default__$N = defineComponent({
29405
+ const __default__$O = defineComponent({
29253
29406
  name: "ElDialog",
29254
29407
  inheritAttrs: false
29255
29408
  });
29256
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
29257
- ...__default__$N,
29409
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
29410
+ ...__default__$O,
29258
29411
  props: dialogProps,
29259
29412
  emits: dialogEmits,
29260
29413
  setup(__props, { expose }) {
@@ -29405,7 +29558,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
29405
29558
  };
29406
29559
  }
29407
29560
  });
29408
- var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__file", "dialog.vue"]]);
29561
+ var Dialog = /* @__PURE__ */ _export_sfc(_sfc_main$1d, [["__file", "dialog.vue"]]);
29409
29562
 
29410
29563
  const ElDialog = withInstall(Dialog);
29411
29564
 
@@ -29426,11 +29579,11 @@ const dividerProps = buildProps({
29426
29579
  }
29427
29580
  });
29428
29581
 
29429
- const __default__$M = defineComponent({
29582
+ const __default__$N = defineComponent({
29430
29583
  name: "ElDivider"
29431
29584
  });
29432
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
29433
- ...__default__$M,
29585
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
29586
+ ...__default__$N,
29434
29587
  props: dividerProps,
29435
29588
  setup(__props) {
29436
29589
  const props = __props;
@@ -29456,7 +29609,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
29456
29609
  };
29457
29610
  }
29458
29611
  });
29459
- var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["__file", "divider.vue"]]);
29612
+ var Divider = /* @__PURE__ */ _export_sfc(_sfc_main$1c, [["__file", "divider.vue"]]);
29460
29613
 
29461
29614
  const ElDivider = withInstall(Divider);
29462
29615
 
@@ -29486,7 +29639,7 @@ const drawerProps = buildProps({
29486
29639
  });
29487
29640
  const drawerEmits = dialogEmits;
29488
29641
 
29489
- const _sfc_main$1a = defineComponent({
29642
+ const _sfc_main$1b = defineComponent({
29490
29643
  name: "ElDrawer",
29491
29644
  components: {
29492
29645
  ElOverlay,
@@ -29648,26 +29801,26 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
29648
29801
  }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
29649
29802
  ], 8, ["disabled"]);
29650
29803
  }
29651
- var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$o], ["__file", "drawer.vue"]]);
29804
+ var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1b, [["render", _sfc_render$o], ["__file", "drawer.vue"]]);
29652
29805
 
29653
29806
  const ElDrawer = withInstall(Drawer);
29654
29807
 
29655
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
29808
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
29656
29809
  inheritAttrs: false
29657
29810
  });
29658
29811
  function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
29659
29812
  return renderSlot(_ctx.$slots, "default");
29660
29813
  }
29661
- var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$n], ["__file", "collection.vue"]]);
29814
+ var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$n], ["__file", "collection.vue"]]);
29662
29815
 
29663
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
29816
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
29664
29817
  name: "ElCollectionItem",
29665
29818
  inheritAttrs: false
29666
29819
  });
29667
29820
  function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
29668
29821
  return renderSlot(_ctx.$slots, "default");
29669
29822
  }
29670
- var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$m], ["__file", "collection-item.vue"]]);
29823
+ var CollectionItem = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$m], ["__file", "collection-item.vue"]]);
29671
29824
 
29672
29825
  const COLLECTION_ITEM_SIGN = `data-el-collection-item`;
29673
29826
  const createCollectionWithScope = (name) => {
@@ -29804,7 +29957,7 @@ const focusFirst = (elements) => {
29804
29957
  const CURRENT_TAB_ID_CHANGE_EVT = "currentTabIdChange";
29805
29958
  const ENTRY_FOCUS_EVT = "rovingFocusGroup.entryFocus";
29806
29959
  const EVT_OPTS = { bubbles: false, cancelable: true };
29807
- const _sfc_main$17 = defineComponent({
29960
+ const _sfc_main$18 = defineComponent({
29808
29961
  name: "ElRovingFocusGroupImpl",
29809
29962
  inheritAttrs: false,
29810
29963
  props: rovingFocusGroupProps,
@@ -29890,9 +30043,9 @@ const _sfc_main$17 = defineComponent({
29890
30043
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
29891
30044
  return renderSlot(_ctx.$slots, "default");
29892
30045
  }
29893
- var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$l], ["__file", "roving-focus-group-impl.vue"]]);
30046
+ var ElRovingFocusGroupImpl = /* @__PURE__ */ _export_sfc(_sfc_main$18, [["render", _sfc_render$l], ["__file", "roving-focus-group-impl.vue"]]);
29894
30047
 
29895
- const _sfc_main$16 = defineComponent({
30048
+ const _sfc_main$17 = defineComponent({
29896
30049
  name: "ElRovingFocusGroup",
29897
30050
  components: {
29898
30051
  ElFocusGroupCollection: ElCollection$1,
@@ -29914,9 +30067,9 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
29914
30067
  _: 3
29915
30068
  });
29916
30069
  }
29917
- var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$k], ["__file", "roving-focus-group.vue"]]);
30070
+ var ElRovingFocusGroup = /* @__PURE__ */ _export_sfc(_sfc_main$17, [["render", _sfc_render$k], ["__file", "roving-focus-group.vue"]]);
29918
30071
 
29919
- const _sfc_main$15 = defineComponent({
30072
+ const _sfc_main$16 = defineComponent({
29920
30073
  components: {
29921
30074
  ElRovingFocusCollectionItem: ElCollectionItem$1
29922
30075
  },
@@ -30014,7 +30167,7 @@ function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
30014
30167
  _: 3
30015
30168
  }, 8, ["id", "focusable", "active"]);
30016
30169
  }
30017
- var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$j], ["__file", "roving-focus-item.vue"]]);
30170
+ var ElRovingFocusItem = /* @__PURE__ */ _export_sfc(_sfc_main$16, [["render", _sfc_render$j], ["__file", "roving-focus-item.vue"]]);
30018
30171
 
30019
30172
  const dropdownProps = buildProps({
30020
30173
  trigger: useTooltipTriggerProps.trigger,
@@ -30112,7 +30265,7 @@ const {
30112
30265
  const DROPDOWN_INJECTION_KEY = Symbol("elDropdown");
30113
30266
 
30114
30267
  const { ButtonGroup: ElButtonGroup } = ElButton;
30115
- const _sfc_main$14 = defineComponent({
30268
+ const _sfc_main$15 = defineComponent({
30116
30269
  name: "ElDropdown",
30117
30270
  components: {
30118
30271
  ElButton,
@@ -30397,9 +30550,9 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
30397
30550
  })) : createCommentVNode("v-if", true)
30398
30551
  ], 2);
30399
30552
  }
30400
- var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$i], ["__file", "dropdown.vue"]]);
30553
+ var Dropdown = /* @__PURE__ */ _export_sfc(_sfc_main$15, [["render", _sfc_render$i], ["__file", "dropdown.vue"]]);
30401
30554
 
30402
- const _sfc_main$13 = defineComponent({
30555
+ const _sfc_main$14 = defineComponent({
30403
30556
  name: "DropdownItemImpl",
30404
30557
  components: {
30405
30558
  ElIcon
@@ -30481,7 +30634,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
30481
30634
  ], 16, _hoisted_1$y)
30482
30635
  ], 64);
30483
30636
  }
30484
- var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$h], ["__file", "dropdown-item-impl.vue"]]);
30637
+ var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$h], ["__file", "dropdown-item-impl.vue"]]);
30485
30638
 
30486
30639
  const useDropdown = () => {
30487
30640
  const elDropdown = inject("elDropdown", {});
@@ -30492,7 +30645,7 @@ const useDropdown = () => {
30492
30645
  };
30493
30646
  };
30494
30647
 
30495
- const _sfc_main$12 = defineComponent({
30648
+ const _sfc_main$13 = defineComponent({
30496
30649
  name: "ElDropdownItem",
30497
30650
  components: {
30498
30651
  ElDropdownCollectionItem: ElCollectionItem,
@@ -30594,9 +30747,9 @@ function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
30594
30747
  _: 3
30595
30748
  }, 8, ["disabled", "text-value"]);
30596
30749
  }
30597
- var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$g], ["__file", "dropdown-item.vue"]]);
30750
+ var DropdownItem = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$g], ["__file", "dropdown-item.vue"]]);
30598
30751
 
30599
- const _sfc_main$11 = defineComponent({
30752
+ const _sfc_main$12 = defineComponent({
30600
30753
  name: "ElDropdownMenu",
30601
30754
  props: dropdownMenuProps,
30602
30755
  setup(props) {
@@ -30676,7 +30829,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
30676
30829
  renderSlot(_ctx.$slots, "default")
30677
30830
  ], 46, _hoisted_1$x);
30678
30831
  }
30679
- var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$f], ["__file", "dropdown-menu.vue"]]);
30832
+ var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$f], ["__file", "dropdown-menu.vue"]]);
30680
30833
 
30681
30834
  const ElDropdown = withInstall(Dropdown, {
30682
30835
  DropdownItem,
@@ -30731,11 +30884,11 @@ const _hoisted_20 = {
30731
30884
  const _hoisted_21 = ["fill", "xlink:href"];
30732
30885
  const _hoisted_22 = ["fill", "mask"];
30733
30886
  const _hoisted_23 = ["fill"];
30734
- const __default__$L = defineComponent({
30887
+ const __default__$M = defineComponent({
30735
30888
  name: "ImgEmpty"
30736
30889
  });
30737
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
30738
- ...__default__$L,
30890
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
30891
+ ...__default__$M,
30739
30892
  setup(__props) {
30740
30893
  const ns = useNamespace("empty");
30741
30894
  const id = useId();
@@ -30860,7 +31013,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
30860
31013
  };
30861
31014
  }
30862
31015
  });
30863
- var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "img-empty.vue"]]);
31016
+ var ImgEmpty = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["__file", "img-empty.vue"]]);
30864
31017
 
30865
31018
  const emptyProps = buildProps({
30866
31019
  image: {
@@ -30876,11 +31029,11 @@ const emptyProps = buildProps({
30876
31029
 
30877
31030
  const _hoisted_1$v = ["src"];
30878
31031
  const _hoisted_2$k = { key: 1 };
30879
- const __default__$K = defineComponent({
31032
+ const __default__$L = defineComponent({
30880
31033
  name: "ElEmpty"
30881
31034
  });
30882
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
30883
- ...__default__$K,
31035
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
31036
+ ...__default__$L,
30884
31037
  props: emptyProps,
30885
31038
  setup(__props) {
30886
31039
  const props = __props;
@@ -30921,7 +31074,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
30921
31074
  };
30922
31075
  }
30923
31076
  });
30924
- var Empty = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "empty.vue"]]);
31077
+ var Empty = /* @__PURE__ */ _export_sfc(_sfc_main$10, [["__file", "empty.vue"]]);
30925
31078
 
30926
31079
  const ElEmpty = withInstall(Empty);
30927
31080
 
@@ -30959,11 +31112,11 @@ const imageViewerEmits = {
30959
31112
  };
30960
31113
 
30961
31114
  const _hoisted_1$u = ["src"];
30962
- const __default__$J = defineComponent({
31115
+ const __default__$K = defineComponent({
30963
31116
  name: "ElImageViewer"
30964
31117
  });
30965
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
30966
- ...__default__$J,
31118
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
31119
+ ...__default__$K,
30967
31120
  props: imageViewerProps,
30968
31121
  emits: imageViewerEmits,
30969
31122
  setup(__props, { expose, emit }) {
@@ -31341,7 +31494,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31341
31494
  };
31342
31495
  }
31343
31496
  });
31344
- var ImageViewer = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__file", "image-viewer.vue"]]);
31497
+ var ImageViewer = /* @__PURE__ */ _export_sfc(_sfc_main$$, [["__file", "image-viewer.vue"]]);
31345
31498
 
31346
31499
  const ElImageViewer = withInstall(ImageViewer);
31347
31500
 
@@ -31399,12 +31552,12 @@ const imageEmits = {
31399
31552
 
31400
31553
  const _hoisted_1$t = ["src", "loading"];
31401
31554
  const _hoisted_2$j = { key: 0 };
31402
- const __default__$I = defineComponent({
31555
+ const __default__$J = defineComponent({
31403
31556
  name: "ElImage",
31404
31557
  inheritAttrs: false
31405
31558
  });
31406
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
31407
- ...__default__$I,
31559
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31560
+ ...__default__$J,
31408
31561
  props: imageProps,
31409
31562
  emits: imageEmits,
31410
31563
  setup(__props, { emit }) {
@@ -31607,9 +31760,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
31607
31760
  };
31608
31761
  }
31609
31762
  });
31610
- var Image = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__file", "image.vue"]]);
31763
+ var Image$1 = /* @__PURE__ */ _export_sfc(_sfc_main$_, [["__file", "image.vue"]]);
31611
31764
 
31612
- const ElImage = withInstall(Image);
31765
+ const ElImage = withInstall(Image$1);
31613
31766
 
31614
31767
  const inputNumberProps = buildProps({
31615
31768
  id: {
@@ -31669,11 +31822,11 @@ const inputNumberEmits = {
31669
31822
 
31670
31823
  const _hoisted_1$s = ["aria-label", "onKeydown"];
31671
31824
  const _hoisted_2$i = ["aria-label", "onKeydown"];
31672
- const __default__$H = defineComponent({
31825
+ const __default__$I = defineComponent({
31673
31826
  name: "ElInputNumber"
31674
31827
  });
31675
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
31676
- ...__default__$H,
31828
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
31829
+ ...__default__$I,
31677
31830
  props: inputNumberProps,
31678
31831
  emits: inputNumberEmits,
31679
31832
  setup(__props, { expose, emit }) {
@@ -31962,7 +32115,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
31962
32115
  };
31963
32116
  }
31964
32117
  });
31965
- var InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "input-number.vue"]]);
32118
+ var InputNumber = /* @__PURE__ */ _export_sfc(_sfc_main$Z, [["__file", "input-number.vue"]]);
31966
32119
 
31967
32120
  const ElInputNumber = withInstall(InputNumber);
31968
32121
 
@@ -31987,11 +32140,11 @@ const linkEmits = {
31987
32140
  };
31988
32141
 
31989
32142
  const _hoisted_1$r = ["href"];
31990
- const __default__$G = defineComponent({
32143
+ const __default__$H = defineComponent({
31991
32144
  name: "ElLink"
31992
32145
  });
31993
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
31994
- ...__default__$G,
32146
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32147
+ ...__default__$H,
31995
32148
  props: linkProps,
31996
32149
  emits: linkEmits,
31997
32150
  setup(__props, { emit }) {
@@ -32030,7 +32183,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32030
32183
  };
32031
32184
  }
32032
32185
  });
32033
- var Link = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["__file", "link.vue"]]);
32186
+ var Link = /* @__PURE__ */ _export_sfc(_sfc_main$Y, [["__file", "link.vue"]]);
32034
32187
 
32035
32188
  const ElLink = withInstall(Link);
32036
32189
 
@@ -32159,7 +32312,7 @@ class Menu$1 {
32159
32312
  }
32160
32313
  var Menubar = Menu$1;
32161
32314
 
32162
- const _sfc_main$W = defineComponent({
32315
+ const _sfc_main$X = defineComponent({
32163
32316
  name: "ElMenuCollapseTransition",
32164
32317
  setup() {
32165
32318
  const ns = useNamespace("menu");
@@ -32210,7 +32363,7 @@ function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
32210
32363
  _: 3
32211
32364
  }, 16);
32212
32365
  }
32213
- var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$e], ["__file", "menu-collapse-transition.vue"]]);
32366
+ var ElMenuCollapseTransition = /* @__PURE__ */ _export_sfc(_sfc_main$X, [["render", _sfc_render$e], ["__file", "menu-collapse-transition.vue"]]);
32214
32367
 
32215
32368
  function useMenu(instance, currentIndex) {
32216
32369
  const indexPath = computed$1(() => {
@@ -32867,7 +33020,7 @@ const menuItemEmits = {
32867
33020
  };
32868
33021
 
32869
33022
  const COMPONENT_NAME$b = "ElMenuItem";
32870
- const _sfc_main$V = defineComponent({
33023
+ const _sfc_main$W = defineComponent({
32871
33024
  name: COMPONENT_NAME$b,
32872
33025
  components: {
32873
33026
  ElTooltip
@@ -32955,14 +33108,14 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
32955
33108
  ], 64))
32956
33109
  ], 2);
32957
33110
  }
32958
- var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$d], ["__file", "menu-item.vue"]]);
33111
+ var MenuItem = /* @__PURE__ */ _export_sfc(_sfc_main$W, [["render", _sfc_render$d], ["__file", "menu-item.vue"]]);
32959
33112
 
32960
33113
  const menuItemGroupProps = {
32961
33114
  title: String
32962
33115
  };
32963
33116
 
32964
33117
  const COMPONENT_NAME$a = "ElMenuItemGroup";
32965
- const _sfc_main$U = defineComponent({
33118
+ const _sfc_main$V = defineComponent({
32966
33119
  name: COMPONENT_NAME$a,
32967
33120
  props: menuItemGroupProps,
32968
33121
  setup() {
@@ -32988,7 +33141,7 @@ function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
32988
33141
  ])
32989
33142
  ], 2);
32990
33143
  }
32991
- var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["render", _sfc_render$c], ["__file", "menu-item-group.vue"]]);
33144
+ var MenuItemGroup = /* @__PURE__ */ _export_sfc(_sfc_main$V, [["render", _sfc_render$c], ["__file", "menu-item-group.vue"]]);
32992
33145
 
32993
33146
  const ElMenu = withInstall(Menu, {
32994
33147
  MenuItem,
@@ -33015,11 +33168,11 @@ const pageHeaderEmits = {
33015
33168
  };
33016
33169
 
33017
33170
  const _hoisted_1$q = ["aria-label"];
33018
- const __default__$F = defineComponent({
33171
+ const __default__$G = defineComponent({
33019
33172
  name: "ElPageHeader"
33020
33173
  });
33021
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
33022
- ...__default__$F,
33174
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
33175
+ ...__default__$G,
33023
33176
  props: pageHeaderProps,
33024
33177
  emits: pageHeaderEmits,
33025
33178
  setup(__props, { emit }) {
@@ -33109,7 +33262,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
33109
33262
  };
33110
33263
  }
33111
33264
  });
33112
- var PageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "page-header.vue"]]);
33265
+ var PageHeader = /* @__PURE__ */ _export_sfc(_sfc_main$U, [["__file", "page-header.vue"]]);
33113
33266
 
33114
33267
  const ElPageHeader = withInstall(PageHeader);
33115
33268
 
@@ -33134,11 +33287,11 @@ const paginationPrevEmits = {
33134
33287
 
33135
33288
  const _hoisted_1$p = ["disabled", "aria-label", "aria-disabled"];
33136
33289
  const _hoisted_2$h = { key: 0 };
33137
- const __default__$E = defineComponent({
33290
+ const __default__$F = defineComponent({
33138
33291
  name: "ElPaginationPrev"
33139
33292
  });
33140
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
33141
- ...__default__$E,
33293
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
33294
+ ...__default__$F,
33142
33295
  props: paginationPrevProps,
33143
33296
  emits: paginationPrevEmits,
33144
33297
  setup(__props) {
@@ -33164,7 +33317,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
33164
33317
  };
33165
33318
  }
33166
33319
  });
33167
- var Prev = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "prev.vue"]]);
33320
+ var Prev = /* @__PURE__ */ _export_sfc(_sfc_main$T, [["__file", "prev.vue"]]);
33168
33321
 
33169
33322
  const paginationNextProps = buildProps({
33170
33323
  disabled: Boolean,
@@ -33186,11 +33339,11 @@ const paginationNextProps = buildProps({
33186
33339
 
33187
33340
  const _hoisted_1$o = ["disabled", "aria-label", "aria-disabled"];
33188
33341
  const _hoisted_2$g = { key: 0 };
33189
- const __default__$D = defineComponent({
33342
+ const __default__$E = defineComponent({
33190
33343
  name: "ElPaginationNext"
33191
33344
  });
33192
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
33193
- ...__default__$D,
33345
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
33346
+ ...__default__$E,
33194
33347
  props: paginationNextProps,
33195
33348
  emits: ["click"],
33196
33349
  setup(__props) {
@@ -33216,7 +33369,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
33216
33369
  };
33217
33370
  }
33218
33371
  });
33219
- var Next = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__file", "next.vue"]]);
33372
+ var Next = /* @__PURE__ */ _export_sfc(_sfc_main$S, [["__file", "next.vue"]]);
33220
33373
 
33221
33374
  const selectGroupKey = Symbol("ElSelectGroup");
33222
33375
  const selectKey = Symbol("ElSelect");
@@ -33312,7 +33465,7 @@ function useOption$1(props, states) {
33312
33465
  };
33313
33466
  }
33314
33467
 
33315
- const _sfc_main$Q = defineComponent({
33468
+ const _sfc_main$R = defineComponent({
33316
33469
  name: "ElOption",
33317
33470
  componentName: "ElOption",
33318
33471
  props: {
@@ -33392,9 +33545,9 @@ function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33392
33545
  [vShow, _ctx.visible]
33393
33546
  ]);
33394
33547
  }
33395
- var Option = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$b], ["__file", "option.vue"]]);
33548
+ var Option = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["render", _sfc_render$b], ["__file", "option.vue"]]);
33396
33549
 
33397
- const _sfc_main$P = defineComponent({
33550
+ const _sfc_main$Q = defineComponent({
33398
33551
  name: "ElSelectDropdown",
33399
33552
  componentName: "ElSelectDropdown",
33400
33553
  setup() {
@@ -33429,7 +33582,7 @@ function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
33429
33582
  renderSlot(_ctx.$slots, "default")
33430
33583
  ], 6);
33431
33584
  }
33432
- var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$a], ["__file", "select-dropdown.vue"]]);
33585
+ var ElSelectMenu$1 = /* @__PURE__ */ _export_sfc(_sfc_main$Q, [["render", _sfc_render$a], ["__file", "select-dropdown.vue"]]);
33433
33586
 
33434
33587
  function useSelectStates(props) {
33435
33588
  const { t } = useLocale();
@@ -34226,7 +34379,7 @@ var ElOptions = defineComponent({
34226
34379
  });
34227
34380
 
34228
34381
  const COMPONENT_NAME$9 = "ElSelect";
34229
- const _sfc_main$O = defineComponent({
34382
+ const _sfc_main$P = defineComponent({
34230
34383
  name: COMPONENT_NAME$9,
34231
34384
  componentName: COMPONENT_NAME$9,
34232
34385
  components: {
@@ -34921,9 +35074,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34921
35074
  [_directive_click_outside, _ctx.handleClose, _ctx.popperPaneRef]
34922
35075
  ]);
34923
35076
  }
34924
- var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$9], ["__file", "select.vue"]]);
35077
+ var Select$1 = /* @__PURE__ */ _export_sfc(_sfc_main$P, [["render", _sfc_render$9], ["__file", "select.vue"]]);
34925
35078
 
34926
- const _sfc_main$N = defineComponent({
35079
+ const _sfc_main$O = defineComponent({
34927
35080
  name: "ElOptionGroup",
34928
35081
  componentName: "ElOptionGroup",
34929
35082
  props: {
@@ -34984,7 +35137,7 @@ function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
34984
35137
  [vShow, _ctx.visible]
34985
35138
  ]);
34986
35139
  }
34987
- var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["render", _sfc_render$8], ["__file", "option-group.vue"]]);
35140
+ var OptionGroup = /* @__PURE__ */ _export_sfc(_sfc_main$O, [["render", _sfc_render$8], ["__file", "option-group.vue"]]);
34988
35141
 
34989
35142
  const ElSelect = withInstall(Select$1, {
34990
35143
  Option,
@@ -35015,11 +35168,11 @@ const paginationSizesProps = buildProps({
35015
35168
  }
35016
35169
  });
35017
35170
 
35018
- const __default__$C = defineComponent({
35171
+ const __default__$D = defineComponent({
35019
35172
  name: "ElPaginationSizes"
35020
35173
  });
35021
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
35022
- ...__default__$C,
35174
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
35175
+ ...__default__$D,
35023
35176
  props: paginationSizesProps,
35024
35177
  emits: ["page-size-change"],
35025
35178
  setup(__props, { emit }) {
@@ -35075,7 +35228,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
35075
35228
  };
35076
35229
  }
35077
35230
  });
35078
- var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "sizes.vue"]]);
35231
+ var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$N, [["__file", "sizes.vue"]]);
35079
35232
 
35080
35233
  const paginationJumperProps = buildProps({
35081
35234
  size: {
@@ -35085,11 +35238,11 @@ const paginationJumperProps = buildProps({
35085
35238
  });
35086
35239
 
35087
35240
  const _hoisted_1$m = ["disabled"];
35088
- const __default__$B = defineComponent({
35241
+ const __default__$C = defineComponent({
35089
35242
  name: "ElPaginationJumper"
35090
35243
  });
35091
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
35092
- ...__default__$B,
35244
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
35245
+ ...__default__$C,
35093
35246
  props: paginationJumperProps,
35094
35247
  setup(__props) {
35095
35248
  const { t } = useLocale();
@@ -35136,7 +35289,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
35136
35289
  };
35137
35290
  }
35138
35291
  });
35139
- var Jumper = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "jumper.vue"]]);
35292
+ var Jumper = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__file", "jumper.vue"]]);
35140
35293
 
35141
35294
  const paginationTotalProps = buildProps({
35142
35295
  total: {
@@ -35146,11 +35299,11 @@ const paginationTotalProps = buildProps({
35146
35299
  });
35147
35300
 
35148
35301
  const _hoisted_1$l = ["disabled"];
35149
- const __default__$A = defineComponent({
35302
+ const __default__$B = defineComponent({
35150
35303
  name: "ElPaginationTotal"
35151
35304
  });
35152
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
35153
- ...__default__$A,
35305
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
35306
+ ...__default__$B,
35154
35307
  props: paginationTotalProps,
35155
35308
  setup(__props) {
35156
35309
  const { t } = useLocale();
@@ -35166,7 +35319,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
35166
35319
  };
35167
35320
  }
35168
35321
  });
35169
- var Total = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "total.vue"]]);
35322
+ var Total = /* @__PURE__ */ _export_sfc(_sfc_main$L, [["__file", "total.vue"]]);
35170
35323
 
35171
35324
  const paginationPagerProps = buildProps({
35172
35325
  currentPage: {
@@ -35190,11 +35343,11 @@ const _hoisted_3$7 = ["tabindex", "aria-label"];
35190
35343
  const _hoisted_4$5 = ["aria-current", "aria-label", "tabindex"];
35191
35344
  const _hoisted_5$4 = ["tabindex", "aria-label"];
35192
35345
  const _hoisted_6$1 = ["aria-current", "aria-label", "tabindex"];
35193
- const __default__$z = defineComponent({
35346
+ const __default__$A = defineComponent({
35194
35347
  name: "ElPaginationPager"
35195
35348
  });
35196
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
35197
- ...__default__$z,
35349
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
35350
+ ...__default__$A,
35198
35351
  props: paginationPagerProps,
35199
35352
  emits: ["change"],
35200
35353
  setup(__props, { emit }) {
@@ -35392,7 +35545,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
35392
35545
  };
35393
35546
  }
35394
35547
  });
35395
- var Pager = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "pager.vue"]]);
35548
+ var Pager = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "pager.vue"]]);
35396
35549
 
35397
35550
  const isAbsent = (v) => typeof v !== "number";
35398
35551
  const paginationProps = buildProps({
@@ -35697,11 +35850,11 @@ const popconfirmEmits = {
35697
35850
  cancel: (e) => e instanceof MouseEvent
35698
35851
  };
35699
35852
 
35700
- const __default__$y = defineComponent({
35853
+ const __default__$z = defineComponent({
35701
35854
  name: "ElPopconfirm"
35702
35855
  });
35703
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
35704
- ...__default__$y,
35856
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
35857
+ ...__default__$z,
35705
35858
  props: popconfirmProps,
35706
35859
  emits: popconfirmEmits,
35707
35860
  setup(__props, { emit }) {
@@ -35797,7 +35950,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
35797
35950
  };
35798
35951
  }
35799
35952
  });
35800
- var Popconfirm = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "popconfirm.vue"]]);
35953
+ var Popconfirm = /* @__PURE__ */ _export_sfc(_sfc_main$J, [["__file", "popconfirm.vue"]]);
35801
35954
 
35802
35955
  const ElPopconfirm = withInstall(Popconfirm);
35803
35956
 
@@ -35863,11 +36016,11 @@ const popoverEmits = {
35863
36016
  };
35864
36017
 
35865
36018
  const updateEventKeyRaw = `onUpdate:visible`;
35866
- const __default__$x = defineComponent({
36019
+ const __default__$y = defineComponent({
35867
36020
  name: "ElPopover"
35868
36021
  });
35869
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
35870
- ...__default__$x,
36022
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
36023
+ ...__default__$y,
35871
36024
  props: popoverProps,
35872
36025
  emits: popoverEmits,
35873
36026
  setup(__props, { expose, emit }) {
@@ -35966,7 +36119,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35966
36119
  };
35967
36120
  }
35968
36121
  });
35969
- var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "popover.vue"]]);
36122
+ var Popover = /* @__PURE__ */ _export_sfc(_sfc_main$I, [["__file", "popover.vue"]]);
35970
36123
 
35971
36124
  const attachEvents = (el, binding) => {
35972
36125
  const popperComponent = binding.arg || binding.value;
@@ -36055,11 +36208,11 @@ const _hoisted_2$d = { viewBox: "0 0 100 100" };
36055
36208
  const _hoisted_3$6 = ["d", "stroke", "stroke-linecap", "stroke-width"];
36056
36209
  const _hoisted_4$4 = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"];
36057
36210
  const _hoisted_5$3 = { key: 0 };
36058
- const __default__$w = defineComponent({
36211
+ const __default__$x = defineComponent({
36059
36212
  name: "ElProgress"
36060
36213
  });
36061
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
36062
- ...__default__$w,
36214
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
36215
+ ...__default__$x,
36063
36216
  props: progressProps,
36064
36217
  setup(__props) {
36065
36218
  const props = __props;
@@ -36247,7 +36400,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
36247
36400
  };
36248
36401
  }
36249
36402
  });
36250
- var Progress = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "progress.vue"]]);
36403
+ var Progress = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["__file", "progress.vue"]]);
36251
36404
 
36252
36405
  const ElProgress = withInstall(Progress);
36253
36406
 
@@ -36335,11 +36488,11 @@ const rateEmits = {
36335
36488
 
36336
36489
  const _hoisted_1$i = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
36337
36490
  const _hoisted_2$c = ["onMousemove", "onClick"];
36338
- const __default__$v = defineComponent({
36491
+ const __default__$w = defineComponent({
36339
36492
  name: "ElRate"
36340
36493
  });
36341
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
36342
- ...__default__$v,
36494
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
36495
+ ...__default__$w,
36343
36496
  props: rateProps,
36344
36497
  emits: rateEmits,
36345
36498
  setup(__props, { expose, emit }) {
@@ -36576,7 +36729,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
36576
36729
  };
36577
36730
  }
36578
36731
  });
36579
- var Rate = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "rate.vue"]]);
36732
+ var Rate = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__file", "rate.vue"]]);
36580
36733
 
36581
36734
  const ElRate = withInstall(Rate);
36582
36735
 
@@ -36608,11 +36761,11 @@ const resultProps = buildProps({
36608
36761
  }
36609
36762
  });
36610
36763
 
36611
- const __default__$u = defineComponent({
36764
+ const __default__$v = defineComponent({
36612
36765
  name: "ElResult"
36613
36766
  });
36614
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
36615
- ...__default__$u,
36767
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
36768
+ ...__default__$v,
36616
36769
  props: resultProps,
36617
36770
  setup(__props) {
36618
36771
  const props = __props;
@@ -36666,7 +36819,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
36666
36819
  };
36667
36820
  }
36668
36821
  });
36669
- var Result = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["__file", "result.vue"]]);
36822
+ var Result = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__file", "result.vue"]]);
36670
36823
 
36671
36824
  const ElResult = withInstall(Result);
36672
36825
 
@@ -38471,7 +38624,7 @@ const DynamicSizeGrid = createGrid$1({
38471
38624
  });
38472
38625
  var DynamicSizeGrid$1 = DynamicSizeGrid;
38473
38626
 
38474
- const _sfc_main$D = defineComponent({
38627
+ const _sfc_main$E = defineComponent({
38475
38628
  props: {
38476
38629
  item: {
38477
38630
  type: Object,
@@ -38503,7 +38656,7 @@ function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
38503
38656
  }, null, 6)
38504
38657
  ], 6));
38505
38658
  }
38506
- var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$7], ["__file", "group-item.vue"]]);
38659
+ var GroupItem = /* @__PURE__ */ _export_sfc(_sfc_main$E, [["render", _sfc_render$7], ["__file", "group-item.vue"]]);
38507
38660
 
38508
38661
  function useOption(props, { emit }) {
38509
38662
  return {
@@ -38633,7 +38786,7 @@ const OptionProps = {
38633
38786
  created: Boolean
38634
38787
  };
38635
38788
 
38636
- const _sfc_main$C = defineComponent({
38789
+ const _sfc_main$D = defineComponent({
38637
38790
  props: OptionProps,
38638
38791
  emits: ["select", "hover"],
38639
38792
  setup(props, { emit }) {
@@ -38670,7 +38823,7 @@ function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
38670
38823
  ])
38671
38824
  ], 46, _hoisted_1$h);
38672
38825
  }
38673
- var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$6], ["__file", "option-item.vue"]]);
38826
+ var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$D, [["render", _sfc_render$6], ["__file", "option-item.vue"]]);
38674
38827
 
38675
38828
  const selectV2InjectionKey = Symbol("ElSelectV2Injection");
38676
38829
 
@@ -39658,7 +39811,7 @@ const useSelect$1 = (props, emit) => {
39658
39811
  };
39659
39812
  var useSelect$2 = useSelect$1;
39660
39813
 
39661
- const _sfc_main$B = defineComponent({
39814
+ const _sfc_main$C = defineComponent({
39662
39815
  name: "ElSelectV2",
39663
39816
  components: {
39664
39817
  ElSelectMenu,
@@ -40056,7 +40209,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40056
40209
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
40057
40210
  ]);
40058
40211
  }
40059
- var Select = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$5], ["__file", "select.vue"]]);
40212
+ var Select = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["render", _sfc_render$5], ["__file", "select.vue"]]);
40060
40213
 
40061
40214
  Select.install = (app) => {
40062
40215
  app.component(Select.name, Select);
@@ -40104,11 +40257,11 @@ const skeletonItemProps = buildProps({
40104
40257
  }
40105
40258
  });
40106
40259
 
40107
- const __default__$t = defineComponent({
40260
+ const __default__$u = defineComponent({
40108
40261
  name: "ElSkeletonItem"
40109
40262
  });
40110
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
40111
- ...__default__$t,
40263
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
40264
+ ...__default__$u,
40112
40265
  props: skeletonItemProps,
40113
40266
  setup(__props) {
40114
40267
  const ns = useNamespace("skeleton");
@@ -40121,13 +40274,13 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40121
40274
  };
40122
40275
  }
40123
40276
  });
40124
- var SkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "skeleton-item.vue"]]);
40277
+ var SkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["__file", "skeleton-item.vue"]]);
40125
40278
 
40126
- const __default__$s = defineComponent({
40279
+ const __default__$t = defineComponent({
40127
40280
  name: "ElSkeleton"
40128
40281
  });
40129
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
40130
- ...__default__$s,
40282
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
40283
+ ...__default__$t,
40131
40284
  props: skeletonProps,
40132
40285
  setup(__props, { expose }) {
40133
40286
  const props = __props;
@@ -40165,7 +40318,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
40165
40318
  };
40166
40319
  }
40167
40320
  });
40168
- var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "skeleton.vue"]]);
40321
+ var Skeleton = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__file", "skeleton.vue"]]);
40169
40322
 
40170
40323
  const ElSkeleton = withInstall(Skeleton, {
40171
40324
  SkeletonItem
@@ -40778,11 +40931,11 @@ const sliderButtonEmits = {
40778
40931
  };
40779
40932
 
40780
40933
  const _hoisted_1$f = ["tabindex"];
40781
- const __default__$r = defineComponent({
40934
+ const __default__$s = defineComponent({
40782
40935
  name: "ElSliderButton"
40783
40936
  });
40784
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
40785
- ...__default__$r,
40937
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
40938
+ ...__default__$s,
40786
40939
  props: sliderButtonProps,
40787
40940
  emits: sliderButtonEmits,
40788
40941
  setup(__props, { expose, emit }) {
@@ -40862,7 +41015,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
40862
41015
  };
40863
41016
  }
40864
41017
  });
40865
- var SliderButton = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "button.vue"]]);
41018
+ var SliderButton = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__file", "button.vue"]]);
40866
41019
 
40867
41020
  const sliderMarkerProps = buildProps({
40868
41021
  mark: {
@@ -40888,11 +41041,11 @@ var SliderMarker = defineComponent({
40888
41041
 
40889
41042
  const _hoisted_1$e = ["id", "role", "aria-label", "aria-labelledby"];
40890
41043
  const _hoisted_2$a = { key: 1 };
40891
- const __default__$q = defineComponent({
41044
+ const __default__$r = defineComponent({
40892
41045
  name: "ElSlider"
40893
41046
  });
40894
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
40895
- ...__default__$q,
41047
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
41048
+ ...__default__$r,
40896
41049
  props: sliderProps,
40897
41050
  emits: sliderEmits,
40898
41051
  setup(__props, { expose, emit }) {
@@ -41101,7 +41254,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
41101
41254
  };
41102
41255
  }
41103
41256
  });
41104
- var Slider = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "slider.vue"]]);
41257
+ var Slider = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__file", "slider.vue"]]);
41105
41258
 
41106
41259
  const ElSlider = withInstall(Slider);
41107
41260
 
@@ -41323,11 +41476,11 @@ const statisticProps = buildProps({
41323
41476
  }
41324
41477
  });
41325
41478
 
41326
- const __default__$p = defineComponent({
41479
+ const __default__$q = defineComponent({
41327
41480
  name: "ElStatistic"
41328
41481
  });
41329
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
41330
- ...__default__$p,
41482
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
41483
+ ...__default__$q,
41331
41484
  props: statisticProps,
41332
41485
  setup(__props, { expose }) {
41333
41486
  const props = __props;
@@ -41386,7 +41539,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
41386
41539
  };
41387
41540
  }
41388
41541
  });
41389
- var Statistic = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "statistic.vue"]]);
41542
+ var Statistic = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "statistic.vue"]]);
41390
41543
 
41391
41544
  const ElStatistic = withInstall(Statistic);
41392
41545
 
@@ -41438,11 +41591,11 @@ const formatTime$1 = (timestamp, format) => {
41438
41591
  return replacedText.replace(escapeRegex, "$1");
41439
41592
  };
41440
41593
 
41441
- const __default__$o = defineComponent({
41594
+ const __default__$p = defineComponent({
41442
41595
  name: "ElCountdown"
41443
41596
  });
41444
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
41445
- ...__default__$o,
41597
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
41598
+ ...__default__$p,
41446
41599
  props: countdownProps,
41447
41600
  emits: countdownEmits,
41448
41601
  setup(__props, { expose, emit }) {
@@ -41506,7 +41659,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
41506
41659
  };
41507
41660
  }
41508
41661
  });
41509
- var Countdown = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "countdown.vue"]]);
41662
+ var Countdown = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__file", "countdown.vue"]]);
41510
41663
 
41511
41664
  const ElCountdown = withInstall(Countdown);
41512
41665
 
@@ -41545,11 +41698,11 @@ const stepsEmits = {
41545
41698
  [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
41546
41699
  };
41547
41700
 
41548
- const __default__$n = defineComponent({
41701
+ const __default__$o = defineComponent({
41549
41702
  name: "ElSteps"
41550
41703
  });
41551
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
41552
- ...__default__$n,
41704
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
41705
+ ...__default__$o,
41553
41706
  props: stepsProps,
41554
41707
  emits: stepsEmits,
41555
41708
  setup(__props, { emit }) {
@@ -41578,7 +41731,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
41578
41731
  };
41579
41732
  }
41580
41733
  });
41581
- var Steps = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "steps.vue"]]);
41734
+ var Steps = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["__file", "steps.vue"]]);
41582
41735
 
41583
41736
  const stepProps = buildProps({
41584
41737
  title: {
@@ -41599,11 +41752,11 @@ const stepProps = buildProps({
41599
41752
  }
41600
41753
  });
41601
41754
 
41602
- const __default__$m = defineComponent({
41755
+ const __default__$n = defineComponent({
41603
41756
  name: "ElStep"
41604
41757
  });
41605
- const _sfc_main$t = defineComponent({
41606
- ...__default__$m,
41758
+ const _sfc_main$u = defineComponent({
41759
+ ...__default__$n,
41607
41760
  props: stepProps,
41608
41761
  setup(__props) {
41609
41762
  const props = __props;
@@ -41782,7 +41935,7 @@ const _sfc_main$t = defineComponent({
41782
41935
  };
41783
41936
  }
41784
41937
  });
41785
- var Step = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "item.vue"]]);
41938
+ var Step = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["__file", "item.vue"]]);
41786
41939
 
41787
41940
  const ElSteps = withInstall(Steps, {
41788
41941
  Step
@@ -41886,11 +42039,11 @@ const _hoisted_3$4 = ["aria-hidden"];
41886
42039
  const _hoisted_4$2 = ["aria-hidden"];
41887
42040
  const _hoisted_5$1 = ["aria-hidden"];
41888
42041
  const COMPONENT_NAME$8 = "ElSwitch";
41889
- const __default__$l = defineComponent({
42042
+ const __default__$m = defineComponent({
41890
42043
  name: COMPONENT_NAME$8
41891
42044
  });
41892
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
41893
- ...__default__$l,
42045
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
42046
+ ...__default__$m,
41894
42047
  props: switchProps,
41895
42048
  emits: switchEmits,
41896
42049
  setup(__props, { expose, emit }) {
@@ -42127,7 +42280,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
42127
42280
  };
42128
42281
  }
42129
42282
  });
42130
- var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__file", "switch.vue"]]);
42283
+ var Switch = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__file", "switch.vue"]]);
42131
42284
 
42132
42285
  const ElSwitch = withInstall(Switch);
42133
42286
 
@@ -43767,7 +43920,7 @@ class TableLayout {
43767
43920
  var TableLayout$1 = TableLayout;
43768
43921
 
43769
43922
  const { CheckboxGroup: ElCheckboxGroup } = ElCheckbox;
43770
- const _sfc_main$r = defineComponent({
43923
+ const _sfc_main$s = defineComponent({
43771
43924
  name: "ElTableFilterPanel",
43772
43925
  components: {
43773
43926
  ElCheckbox,
@@ -44025,7 +44178,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
44025
44178
  _: 1
44026
44179
  }, 8, ["visible", "placement", "popper-class"]);
44027
44180
  }
44028
- var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$4], ["__file", "filter-panel.vue"]]);
44181
+ var FilterPanel = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$4], ["__file", "filter-panel.vue"]]);
44029
44182
 
44030
44183
  function useLayoutObserver(root) {
44031
44184
  const instance = getCurrentInstance();
@@ -45712,7 +45865,7 @@ const useScrollbar$1 = () => {
45712
45865
  };
45713
45866
 
45714
45867
  let tableIdSeed = 1;
45715
- const _sfc_main$q = defineComponent({
45868
+ const _sfc_main$r = defineComponent({
45716
45869
  name: "ElTable",
45717
45870
  directives: {
45718
45871
  Mousewheel
@@ -45952,11 +46105,12 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
45952
46105
  _ctx.showHeader && _ctx.tableLayout === "auto" ? (openBlock(), createBlock(_component_table_header, {
45953
46106
  key: 0,
45954
46107
  ref: "tableHeaderRef",
46108
+ class: normalizeClass(_ctx.ns.e("body-header")),
45955
46109
  border: _ctx.border,
45956
46110
  "default-sort": _ctx.defaultSort,
45957
46111
  store: _ctx.store,
45958
46112
  onSetDragVisible: _ctx.setDragVisible
45959
- }, null, 8, ["border", "default-sort", "store", "onSetDragVisible"])) : createCommentVNode("v-if", true),
46113
+ }, null, 8, ["class", "border", "default-sort", "store", "onSetDragVisible"])) : createCommentVNode("v-if", true),
45960
46114
  createVNode(_component_table_body, {
45961
46115
  context: _ctx.context,
45962
46116
  highlight: _ctx.highlightCurrentRow,
@@ -46023,7 +46177,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
46023
46177
  ])
46024
46178
  ], 46, _hoisted_1$b);
46025
46179
  }
46026
- var Table = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$3], ["__file", "table.vue"]]);
46180
+ var Table = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["render", _sfc_render$3], ["__file", "table.vue"]]);
46027
46181
 
46028
46182
  const defaultClassNames = {
46029
46183
  selection: "table-column--selection",
@@ -48740,11 +48894,11 @@ const tabBarProps = buildProps({
48740
48894
  });
48741
48895
 
48742
48896
  const COMPONENT_NAME$3 = "ElTabBar";
48743
- const __default__$k = defineComponent({
48897
+ const __default__$l = defineComponent({
48744
48898
  name: COMPONENT_NAME$3
48745
48899
  });
48746
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
48747
- ...__default__$k,
48900
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
48901
+ ...__default__$l,
48748
48902
  props: tabBarProps,
48749
48903
  setup(__props, { expose }) {
48750
48904
  const props = __props;
@@ -48805,7 +48959,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
48805
48959
  };
48806
48960
  }
48807
48961
  });
48808
- var TabBar = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "tab-bar.vue"]]);
48962
+ var TabBar = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["__file", "tab-bar.vue"]]);
48809
48963
 
48810
48964
  const tabNavProps = buildProps({
48811
48965
  panes: {
@@ -49232,11 +49386,11 @@ const tabPaneProps = buildProps({
49232
49386
 
49233
49387
  const _hoisted_1$a = ["id", "aria-hidden", "aria-labelledby"];
49234
49388
  const COMPONENT_NAME$1 = "ElTabPane";
49235
- const __default__$j = defineComponent({
49389
+ const __default__$k = defineComponent({
49236
49390
  name: COMPONENT_NAME$1
49237
49391
  });
49238
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
49239
- ...__default__$j,
49392
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
49393
+ ...__default__$k,
49240
49394
  props: tabPaneProps,
49241
49395
  setup(__props) {
49242
49396
  const props = __props;
@@ -49293,7 +49447,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
49293
49447
  };
49294
49448
  }
49295
49449
  });
49296
- var TabPane = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "tab-pane.vue"]]);
49450
+ var TabPane = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__file", "tab-pane.vue"]]);
49297
49451
 
49298
49452
  const ElTabs = withInstall(Tabs, {
49299
49453
  TabPane
@@ -49320,11 +49474,11 @@ const textProps = buildProps({
49320
49474
  }
49321
49475
  });
49322
49476
 
49323
- const __default__$i = defineComponent({
49477
+ const __default__$j = defineComponent({
49324
49478
  name: "ElText"
49325
49479
  });
49326
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
49327
- ...__default__$i,
49480
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
49481
+ ...__default__$j,
49328
49482
  props: textProps,
49329
49483
  setup(__props) {
49330
49484
  const props = __props;
@@ -49348,7 +49502,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
49348
49502
  };
49349
49503
  }
49350
49504
  });
49351
- var Text = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "text.vue"]]);
49505
+ var Text = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["__file", "text.vue"]]);
49352
49506
 
49353
49507
  const ElText = withInstall(Text);
49354
49508
 
@@ -49454,11 +49608,11 @@ const nextTime = (time, step) => {
49454
49608
  return formatTime(next);
49455
49609
  };
49456
49610
 
49457
- const __default__$h = defineComponent({
49611
+ const __default__$i = defineComponent({
49458
49612
  name: "ElTimeSelect"
49459
49613
  });
49460
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
49461
- ...__default__$h,
49614
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
49615
+ ...__default__$i,
49462
49616
  props: timeSelectProps,
49463
49617
  emits: ["change", "blur", "focus", "update:modelValue"],
49464
49618
  setup(__props, { expose }) {
@@ -49562,7 +49716,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
49562
49716
  };
49563
49717
  }
49564
49718
  });
49565
- var TimeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "time-select.vue"]]);
49719
+ var TimeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["__file", "time-select.vue"]]);
49566
49720
 
49567
49721
  TimeSelect.install = (app) => {
49568
49722
  app.component(TimeSelect.name, TimeSelect);
@@ -49623,11 +49777,11 @@ const timelineItemProps = buildProps({
49623
49777
  }
49624
49778
  });
49625
49779
 
49626
- const __default__$g = defineComponent({
49780
+ const __default__$h = defineComponent({
49627
49781
  name: "ElTimelineItem"
49628
49782
  });
49629
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
49630
- ...__default__$g,
49783
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
49784
+ ...__default__$h,
49631
49785
  props: timelineItemProps,
49632
49786
  setup(__props) {
49633
49787
  const props = __props;
@@ -49689,7 +49843,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
49689
49843
  };
49690
49844
  }
49691
49845
  });
49692
- var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "timeline-item.vue"]]);
49846
+ var TimelineItem = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__file", "timeline-item.vue"]]);
49693
49847
 
49694
49848
  const ElTimeline = withInstall(Timeline$1, {
49695
49849
  TimelineItem
@@ -49832,11 +49986,11 @@ const tooltipV2RootKey = Symbol("tooltipV2");
49832
49986
  const tooltipV2ContentKey = Symbol("tooltipV2Content");
49833
49987
  const TOOLTIP_V2_OPEN = "tooltip_v2.open";
49834
49988
 
49835
- const __default__$f = defineComponent({
49989
+ const __default__$g = defineComponent({
49836
49990
  name: "ElTooltipV2Root"
49837
49991
  });
49838
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
49839
- ...__default__$f,
49992
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
49993
+ ...__default__$g,
49840
49994
  props: tooltipV2RootProps,
49841
49995
  setup(__props, { expose }) {
49842
49996
  const props = __props;
@@ -49903,13 +50057,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
49903
50057
  };
49904
50058
  }
49905
50059
  });
49906
- var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "root.vue"]]);
50060
+ var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["__file", "root.vue"]]);
49907
50061
 
49908
- const __default__$e = defineComponent({
50062
+ const __default__$f = defineComponent({
49909
50063
  name: "ElTooltipV2Arrow"
49910
50064
  });
49911
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
49912
- ...__default__$e,
50065
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
50066
+ ...__default__$f,
49913
50067
  props: {
49914
50068
  ...tooltipV2ArrowProps,
49915
50069
  ...tooltipV2ArrowSpecialProps
@@ -49939,7 +50093,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
49939
50093
  };
49940
50094
  }
49941
50095
  });
49942
- var TooltipV2Arrow = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "arrow.vue"]]);
50096
+ var TooltipV2Arrow = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "arrow.vue"]]);
49943
50097
 
49944
50098
  const visualHiddenProps = buildProps({
49945
50099
  style: {
@@ -49948,11 +50102,11 @@ const visualHiddenProps = buildProps({
49948
50102
  }
49949
50103
  });
49950
50104
 
49951
- const __default__$d = defineComponent({
50105
+ const __default__$e = defineComponent({
49952
50106
  name: "ElVisuallyHidden"
49953
50107
  });
49954
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
49955
- ...__default__$d,
50108
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
50109
+ ...__default__$e,
49956
50110
  props: visualHiddenProps,
49957
50111
  setup(__props) {
49958
50112
  const props = __props;
@@ -49980,14 +50134,14 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
49980
50134
  };
49981
50135
  }
49982
50136
  });
49983
- var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "visual-hidden.vue"]]);
50137
+ var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__file", "visual-hidden.vue"]]);
49984
50138
 
49985
50139
  const _hoisted_1$9 = ["data-side"];
49986
- const __default__$c = defineComponent({
50140
+ const __default__$d = defineComponent({
49987
50141
  name: "ElTooltipV2Content"
49988
50142
  });
49989
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
49990
- ...__default__$c,
50143
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
50144
+ ...__default__$d,
49991
50145
  props: { ...tooltipV2ContentProps, ...tooltipV2CommonProps },
49992
50146
  setup(__props) {
49993
50147
  const props = __props;
@@ -50082,7 +50236,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
50082
50236
  };
50083
50237
  }
50084
50238
  });
50085
- var TooltipV2Content = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "content.vue"]]);
50239
+ var TooltipV2Content = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "content.vue"]]);
50086
50240
 
50087
50241
  const forwardRefProps = buildProps({
50088
50242
  setRef: {
@@ -50115,11 +50269,11 @@ var ForwardRef = defineComponent({
50115
50269
  }
50116
50270
  });
50117
50271
 
50118
- const __default__$b = defineComponent({
50272
+ const __default__$c = defineComponent({
50119
50273
  name: "ElTooltipV2Trigger"
50120
50274
  });
50121
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
50122
- ...__default__$b,
50275
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
50276
+ ...__default__$c,
50123
50277
  props: {
50124
50278
  ...tooltipV2CommonProps,
50125
50279
  ...tooltipV2TriggerProps
@@ -50196,13 +50350,13 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
50196
50350
  };
50197
50351
  }
50198
50352
  });
50199
- var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "trigger.vue"]]);
50353
+ var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "trigger.vue"]]);
50200
50354
 
50201
- const __default__$a = defineComponent({
50355
+ const __default__$b = defineComponent({
50202
50356
  name: "ElTooltipV2"
50203
50357
  });
50204
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
50205
- ...__default__$a,
50358
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
50359
+ ...__default__$b,
50206
50360
  props: tooltipV2Props,
50207
50361
  setup(__props) {
50208
50362
  const props = __props;
@@ -50261,7 +50415,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
50261
50415
  };
50262
50416
  }
50263
50417
  });
50264
- var TooltipV2 = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "tooltip.vue"]]);
50418
+ var TooltipV2 = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "tooltip.vue"]]);
50265
50419
 
50266
50420
  const ElTooltipV2 = withInstall(TooltipV2);
50267
50421
 
@@ -50519,11 +50673,11 @@ const useMove = (props, checkedState, emit) => {
50519
50673
  };
50520
50674
  };
50521
50675
 
50522
- const __default__$9 = defineComponent({
50676
+ const __default__$a = defineComponent({
50523
50677
  name: "ElTransferPanel"
50524
50678
  });
50525
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
50526
- ...__default__$9,
50679
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
50680
+ ...__default__$a,
50527
50681
  props: transferPanelProps,
50528
50682
  emits: transferPanelEmits,
50529
50683
  setup(__props, { expose, emit }) {
@@ -50633,15 +50787,15 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
50633
50787
  };
50634
50788
  }
50635
50789
  });
50636
- var TransferPanel = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "transfer-panel.vue"]]);
50790
+ var TransferPanel = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__file", "transfer-panel.vue"]]);
50637
50791
 
50638
50792
  const _hoisted_1$8 = { key: 0 };
50639
50793
  const _hoisted_2$6 = { key: 0 };
50640
- const __default__$8 = defineComponent({
50794
+ const __default__$9 = defineComponent({
50641
50795
  name: "ElTransfer"
50642
50796
  });
50643
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
50644
- ...__default__$8,
50797
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
50798
+ ...__default__$9,
50645
50799
  props: transferProps,
50646
50800
  emits: transferEmits,
50647
50801
  setup(__props, { expose, emit }) {
@@ -50776,7 +50930,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
50776
50930
  };
50777
50931
  }
50778
50932
  });
50779
- var Transfer = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "transfer.vue"]]);
50933
+ var Transfer = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "transfer.vue"]]);
50780
50934
 
50781
50935
  const ElTransfer = withInstall(Transfer);
50782
50936
 
@@ -51524,7 +51678,7 @@ class TreeStore {
51524
51678
  }
51525
51679
  }
51526
51680
 
51527
- const _sfc_main$c = defineComponent({
51681
+ const _sfc_main$d = defineComponent({
51528
51682
  name: "ElTreeNodeContent",
51529
51683
  props: {
51530
51684
  node: {
@@ -51544,7 +51698,7 @@ const _sfc_main$c = defineComponent({
51544
51698
  };
51545
51699
  }
51546
51700
  });
51547
- var NodeContent = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["__file", "tree-node-content.vue"]]);
51701
+ var NodeContent = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["__file", "tree-node-content.vue"]]);
51548
51702
 
51549
51703
  function useNodeExpandEventBroadcast(props) {
51550
51704
  const parentNodeMap = inject("TreeNodeMap", null);
@@ -51714,7 +51868,7 @@ function useDragNodeHandler({ props, ctx, el$, dropIndicator$, store }) {
51714
51868
  };
51715
51869
  }
51716
51870
 
51717
- const _sfc_main$b = defineComponent({
51871
+ const _sfc_main$c = defineComponent({
51718
51872
  name: "ElTreeNode",
51719
51873
  components: {
51720
51874
  ElCollapseTransition: _CollapseTransition,
@@ -52004,7 +52158,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
52004
52158
  [vShow, _ctx.node.visible]
52005
52159
  ]);
52006
52160
  }
52007
- var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$2], ["__file", "tree-node.vue"]]);
52161
+ var ElTreeNode$1 = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$2], ["__file", "tree-node.vue"]]);
52008
52162
 
52009
52163
  function useKeydown({ el$ }, store) {
52010
52164
  const ns = useNamespace("tree");
@@ -52089,7 +52243,7 @@ function useKeydown({ el$ }, store) {
52089
52243
  };
52090
52244
  }
52091
52245
 
52092
- const _sfc_main$a = defineComponent({
52246
+ const _sfc_main$b = defineComponent({
52093
52247
  name: "ElTree",
52094
52248
  components: { ElTreeNode: ElTreeNode$1 },
52095
52249
  props: {
@@ -52404,7 +52558,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
52404
52558
  ])
52405
52559
  ], 2);
52406
52560
  }
52407
- var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$1], ["__file", "tree.vue"]]);
52561
+ var Tree = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$1], ["__file", "tree.vue"]]);
52408
52562
 
52409
52563
  Tree.install = (app) => {
52410
52564
  app.component(Tree.name, Tree);
@@ -52656,7 +52810,7 @@ var CacheOptions = defineComponent({
52656
52810
  }
52657
52811
  });
52658
52812
 
52659
- const _sfc_main$9 = defineComponent({
52813
+ const _sfc_main$a = defineComponent({
52660
52814
  name: "ElTreeSelect",
52661
52815
  inheritAttrs: false,
52662
52816
  props: {
@@ -52720,7 +52874,7 @@ const _sfc_main$9 = defineComponent({
52720
52874
  });
52721
52875
  }
52722
52876
  });
52723
- var TreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "tree-select.vue"]]);
52877
+ var TreeSelect = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__file", "tree-select.vue"]]);
52724
52878
 
52725
52879
  TreeSelect.install = (app) => {
52726
52880
  app.component(TreeSelect.name, TreeSelect);
@@ -53391,11 +53545,11 @@ var ElNodeContent = defineComponent({
53391
53545
  });
53392
53546
 
53393
53547
  const _hoisted_1$6 = ["aria-expanded", "aria-disabled", "aria-checked", "data-key", "onClick"];
53394
- const __default__$7 = defineComponent({
53548
+ const __default__$8 = defineComponent({
53395
53549
  name: "ElTreeNode"
53396
53550
  });
53397
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
53398
- ...__default__$7,
53551
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
53552
+ ...__default__$8,
53399
53553
  props: treeNodeProps,
53400
53554
  emits: treeNodeEmits,
53401
53555
  setup(__props, { emit }) {
@@ -53486,13 +53640,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
53486
53640
  };
53487
53641
  }
53488
53642
  });
53489
- var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "tree-node.vue"]]);
53643
+ var ElTreeNode = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__file", "tree-node.vue"]]);
53490
53644
 
53491
- const __default__$6 = defineComponent({
53645
+ const __default__$7 = defineComponent({
53492
53646
  name: "ElTreeV2"
53493
53647
  });
53494
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
53495
- ...__default__$6,
53648
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
53649
+ ...__default__$7,
53496
53650
  props: treeProps,
53497
53651
  emits: treeEmits,
53498
53652
  setup(__props, { expose, emit }) {
@@ -53603,7 +53757,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
53603
53757
  };
53604
53758
  }
53605
53759
  });
53606
- var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "tree.vue"]]);
53760
+ var TreeV2 = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__file", "tree.vue"]]);
53607
53761
 
53608
53762
  const ElTreeV2 = withInstall(TreeV2);
53609
53763
 
@@ -53822,11 +53976,11 @@ const _hoisted_3$2 = ["onClick"];
53822
53976
  const _hoisted_4$1 = ["title"];
53823
53977
  const _hoisted_5 = ["onClick"];
53824
53978
  const _hoisted_6 = ["onClick"];
53825
- const __default__$5 = defineComponent({
53979
+ const __default__$6 = defineComponent({
53826
53980
  name: "ElUploadList"
53827
53981
  });
53828
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53829
- ...__default__$5,
53982
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
53983
+ ...__default__$6,
53830
53984
  props: uploadListProps,
53831
53985
  emits: uploadListEmits,
53832
53986
  setup(__props, { emit }) {
@@ -53980,7 +54134,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
53980
54134
  };
53981
54135
  }
53982
54136
  });
53983
- var UploadList = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "upload-list.vue"]]);
54137
+ var UploadList = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["__file", "upload-list.vue"]]);
53984
54138
 
53985
54139
  const uploadDraggerProps = buildProps({
53986
54140
  disabled: {
@@ -53994,11 +54148,11 @@ const uploadDraggerEmits = {
53994
54148
 
53995
54149
  const _hoisted_1$4 = ["onDrop", "onDragover"];
53996
54150
  const COMPONENT_NAME = "ElUploadDrag";
53997
- const __default__$4 = defineComponent({
54151
+ const __default__$5 = defineComponent({
53998
54152
  name: COMPONENT_NAME
53999
54153
  });
54000
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54001
- ...__default__$4,
54154
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
54155
+ ...__default__$5,
54002
54156
  props: uploadDraggerProps,
54003
54157
  emits: uploadDraggerEmits,
54004
54158
  setup(__props, { emit }) {
@@ -54055,7 +54209,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54055
54209
  };
54056
54210
  }
54057
54211
  });
54058
- var UploadDragger = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "upload-dragger.vue"]]);
54212
+ var UploadDragger = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["__file", "upload-dragger.vue"]]);
54059
54213
 
54060
54214
  const uploadContentProps = buildProps({
54061
54215
  ...uploadBaseProps,
@@ -54091,12 +54245,12 @@ const uploadContentProps = buildProps({
54091
54245
 
54092
54246
  const _hoisted_1$3 = ["onKeydown"];
54093
54247
  const _hoisted_2$3 = ["name", "multiple", "accept"];
54094
- const __default__$3 = defineComponent({
54248
+ const __default__$4 = defineComponent({
54095
54249
  name: "ElUploadContent",
54096
54250
  inheritAttrs: false
54097
54251
  });
54098
- const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54099
- ...__default__$3,
54252
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
54253
+ ...__default__$4,
54100
54254
  props: uploadContentProps,
54101
54255
  setup(__props, { expose }) {
54102
54256
  const props = __props;
@@ -54271,7 +54425,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54271
54425
  };
54272
54426
  }
54273
54427
  });
54274
- var UploadContent = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "upload-content.vue"]]);
54428
+ var UploadContent = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["__file", "upload-content.vue"]]);
54275
54429
 
54276
54430
  const SCOPE$1 = "ElUpload";
54277
54431
  const revokeFileObjectURL = (file) => {
@@ -54400,11 +54554,11 @@ const useHandlers = (props, uploadRef) => {
54400
54554
  };
54401
54555
  };
54402
54556
 
54403
- const __default__$2 = defineComponent({
54557
+ const __default__$3 = defineComponent({
54404
54558
  name: "ElUpload"
54405
54559
  });
54406
- const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54407
- ...__default__$2,
54560
+ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
54561
+ ...__default__$3,
54408
54562
  props: uploadProps,
54409
54563
  setup(__props, { expose }) {
54410
54564
  const props = __props;
@@ -54508,10 +54662,333 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54508
54662
  };
54509
54663
  }
54510
54664
  });
54511
- var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "upload.vue"]]);
54665
+ var Upload = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["__file", "upload.vue"]]);
54512
54666
 
54513
54667
  const ElUpload = withInstall(Upload);
54514
54668
 
54669
+ const watermarkProps = buildProps({
54670
+ zIndex: {
54671
+ type: Number,
54672
+ default: 9
54673
+ },
54674
+ rotate: {
54675
+ type: Number,
54676
+ default: -22
54677
+ },
54678
+ width: Number,
54679
+ height: Number,
54680
+ image: String,
54681
+ content: {
54682
+ type: definePropType([String, Array]),
54683
+ default: "Element Plus"
54684
+ },
54685
+ font: {
54686
+ type: definePropType(Object)
54687
+ },
54688
+ gap: {
54689
+ type: definePropType(Array),
54690
+ default: () => [100, 100]
54691
+ },
54692
+ offset: {
54693
+ type: definePropType(Array)
54694
+ }
54695
+ });
54696
+
54697
+ function toLowercaseSeparator(key) {
54698
+ return key.replace(/([A-Z])/g, "-$1").toLowerCase();
54699
+ }
54700
+ function getStyleStr(style) {
54701
+ return Object.keys(style).map((key) => `${toLowercaseSeparator(key)}: ${style[key]};`).join(" ");
54702
+ }
54703
+ function getPixelRatio() {
54704
+ return window.devicePixelRatio || 1;
54705
+ }
54706
+ const reRendering = (mutation, watermarkElement) => {
54707
+ let flag = false;
54708
+ if (mutation.removedNodes.length && watermarkElement) {
54709
+ flag = Array.from(mutation.removedNodes).includes(watermarkElement);
54710
+ }
54711
+ if (mutation.type === "attributes" && mutation.target === watermarkElement) {
54712
+ flag = true;
54713
+ }
54714
+ return flag;
54715
+ };
54716
+
54717
+ const FontGap = 3;
54718
+ function prepareCanvas(width, height, ratio = 1) {
54719
+ const canvas = document.createElement("canvas");
54720
+ const ctx = canvas.getContext("2d");
54721
+ const realWidth = width * ratio;
54722
+ const realHeight = height * ratio;
54723
+ canvas.setAttribute("width", `${realWidth}px`);
54724
+ canvas.setAttribute("height", `${realHeight}px`);
54725
+ ctx.save();
54726
+ return [ctx, canvas, realWidth, realHeight];
54727
+ }
54728
+ function useClips() {
54729
+ function getClips(content, rotate, ratio, width, height, font, gapX, gapY) {
54730
+ const [ctx, canvas, contentWidth, contentHeight] = prepareCanvas(width, height, ratio);
54731
+ if (content instanceof HTMLImageElement) {
54732
+ ctx.drawImage(content, 0, 0, contentWidth, contentHeight);
54733
+ } else {
54734
+ const { color, fontSize, fontStyle, fontWeight, fontFamily } = font;
54735
+ const mergedFontSize = Number(fontSize) * ratio;
54736
+ ctx.font = `${fontStyle} normal ${fontWeight} ${mergedFontSize}px/${height}px ${fontFamily}`;
54737
+ ctx.fillStyle = color;
54738
+ ctx.textAlign = "center";
54739
+ ctx.textBaseline = "top";
54740
+ const contents = Array.isArray(content) ? content : [content];
54741
+ contents == null ? void 0 : contents.forEach((item, index) => {
54742
+ ctx.fillText(item != null ? item : "", contentWidth / 2, index * (mergedFontSize + FontGap * ratio));
54743
+ });
54744
+ }
54745
+ const angle = Math.PI / 180 * Number(rotate);
54746
+ const maxSize = Math.max(width, height);
54747
+ const [rCtx, rCanvas, realMaxSize] = prepareCanvas(maxSize, maxSize, ratio);
54748
+ rCtx.translate(realMaxSize / 2, realMaxSize / 2);
54749
+ rCtx.rotate(angle);
54750
+ if (contentWidth > 0 && contentHeight > 0) {
54751
+ rCtx.drawImage(canvas, -contentWidth / 2, -contentHeight / 2);
54752
+ }
54753
+ function getRotatePos(x, y) {
54754
+ const targetX = x * Math.cos(angle) - y * Math.sin(angle);
54755
+ const targetY = x * Math.sin(angle) + y * Math.cos(angle);
54756
+ return [targetX, targetY];
54757
+ }
54758
+ let left = 0;
54759
+ let right = 0;
54760
+ let top = 0;
54761
+ let bottom = 0;
54762
+ const halfWidth = contentWidth / 2;
54763
+ const halfHeight = contentHeight / 2;
54764
+ const points = [
54765
+ [0 - halfWidth, 0 - halfHeight],
54766
+ [0 + halfWidth, 0 - halfHeight],
54767
+ [0 + halfWidth, 0 + halfHeight],
54768
+ [0 - halfWidth, 0 + halfHeight]
54769
+ ];
54770
+ points.forEach(([x, y]) => {
54771
+ const [targetX, targetY] = getRotatePos(x, y);
54772
+ left = Math.min(left, targetX);
54773
+ right = Math.max(right, targetX);
54774
+ top = Math.min(top, targetY);
54775
+ bottom = Math.max(bottom, targetY);
54776
+ });
54777
+ const cutLeft = left + realMaxSize / 2;
54778
+ const cutTop = top + realMaxSize / 2;
54779
+ const cutWidth = right - left;
54780
+ const cutHeight = bottom - top;
54781
+ const realGapX = gapX * ratio;
54782
+ const realGapY = gapY * ratio;
54783
+ const filledWidth = (cutWidth + realGapX) * 2;
54784
+ const filledHeight = cutHeight + realGapY;
54785
+ const [fCtx, fCanvas] = prepareCanvas(filledWidth, filledHeight);
54786
+ function drawImg(targetX = 0, targetY = 0) {
54787
+ fCtx.drawImage(rCanvas, cutLeft, cutTop, cutWidth, cutHeight, targetX, targetY, cutWidth, cutHeight);
54788
+ }
54789
+ drawImg();
54790
+ drawImg(cutWidth + realGapX, -cutHeight / 2 - realGapY / 2);
54791
+ drawImg(cutWidth + realGapX, +cutHeight / 2 + realGapY / 2);
54792
+ return [fCanvas.toDataURL(), filledWidth / ratio, filledHeight / ratio];
54793
+ }
54794
+ return getClips;
54795
+ }
54796
+
54797
+ const __default__$2 = defineComponent({
54798
+ name: "ElWatermark"
54799
+ });
54800
+ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
54801
+ ...__default__$2,
54802
+ props: watermarkProps,
54803
+ setup(__props) {
54804
+ const props = __props;
54805
+ const style = {
54806
+ position: "relative"
54807
+ };
54808
+ const color = computed$1(() => {
54809
+ var _a, _b;
54810
+ return (_b = (_a = props.font) == null ? void 0 : _a.color) != null ? _b : "rgba(0,0,0,.15)";
54811
+ });
54812
+ const fontSize = computed$1(() => {
54813
+ var _a, _b;
54814
+ return (_b = (_a = props.font) == null ? void 0 : _a.fontSize) != null ? _b : 16;
54815
+ });
54816
+ const fontWeight = computed$1(() => {
54817
+ var _a, _b;
54818
+ return (_b = (_a = props.font) == null ? void 0 : _a.fontWeight) != null ? _b : "normal";
54819
+ });
54820
+ const fontStyle = computed$1(() => {
54821
+ var _a, _b;
54822
+ return (_b = (_a = props.font) == null ? void 0 : _a.fontStyle) != null ? _b : "normal";
54823
+ });
54824
+ const fontFamily = computed$1(() => {
54825
+ var _a, _b;
54826
+ return (_b = (_a = props.font) == null ? void 0 : _a.fontFamily) != null ? _b : "sans-serif";
54827
+ });
54828
+ const gapX = computed$1(() => props.gap[0]);
54829
+ const gapY = computed$1(() => props.gap[1]);
54830
+ const gapXCenter = computed$1(() => gapX.value / 2);
54831
+ const gapYCenter = computed$1(() => gapY.value / 2);
54832
+ const offsetLeft = computed$1(() => {
54833
+ var _a, _b;
54834
+ return (_b = (_a = props.offset) == null ? void 0 : _a[0]) != null ? _b : gapXCenter.value;
54835
+ });
54836
+ const offsetTop = computed$1(() => {
54837
+ var _a, _b;
54838
+ return (_b = (_a = props.offset) == null ? void 0 : _a[1]) != null ? _b : gapYCenter.value;
54839
+ });
54840
+ const getMarkStyle = () => {
54841
+ const markStyle = {
54842
+ zIndex: props.zIndex,
54843
+ position: "absolute",
54844
+ left: 0,
54845
+ top: 0,
54846
+ width: "100%",
54847
+ height: "100%",
54848
+ pointerEvents: "none",
54849
+ backgroundRepeat: "repeat"
54850
+ };
54851
+ let positionLeft = offsetLeft.value - gapXCenter.value;
54852
+ let positionTop = offsetTop.value - gapYCenter.value;
54853
+ if (positionLeft > 0) {
54854
+ markStyle.left = `${positionLeft}px`;
54855
+ markStyle.width = `calc(100% - ${positionLeft}px)`;
54856
+ positionLeft = 0;
54857
+ }
54858
+ if (positionTop > 0) {
54859
+ markStyle.top = `${positionTop}px`;
54860
+ markStyle.height = `calc(100% - ${positionTop}px)`;
54861
+ positionTop = 0;
54862
+ }
54863
+ markStyle.backgroundPosition = `${positionLeft}px ${positionTop}px`;
54864
+ return markStyle;
54865
+ };
54866
+ const containerRef = shallowRef(null);
54867
+ const watermarkRef = shallowRef();
54868
+ const stopObservation = ref(false);
54869
+ const destroyWatermark = () => {
54870
+ if (watermarkRef.value) {
54871
+ watermarkRef.value.remove();
54872
+ watermarkRef.value = void 0;
54873
+ }
54874
+ };
54875
+ const appendWatermark = (base64Url, markWidth) => {
54876
+ var _a;
54877
+ if (containerRef.value && watermarkRef.value) {
54878
+ stopObservation.value = true;
54879
+ watermarkRef.value.setAttribute("style", getStyleStr({
54880
+ ...getMarkStyle(),
54881
+ backgroundImage: `url('${base64Url}')`,
54882
+ backgroundSize: `${Math.floor(markWidth)}px`
54883
+ }));
54884
+ (_a = containerRef.value) == null ? void 0 : _a.append(watermarkRef.value);
54885
+ setTimeout(() => {
54886
+ stopObservation.value = false;
54887
+ });
54888
+ }
54889
+ };
54890
+ const getMarkSize = (ctx) => {
54891
+ let defaultWidth = 120;
54892
+ let defaultHeight = 64;
54893
+ const image = props.image;
54894
+ const content = props.content;
54895
+ const width = props.width;
54896
+ const height = props.height;
54897
+ if (!image && ctx.measureText) {
54898
+ ctx.font = `${Number(fontSize.value)}px ${fontFamily.value}`;
54899
+ const contents = Array.isArray(content) ? content : [content];
54900
+ const sizes = contents.map((item) => {
54901
+ const metrics = ctx.measureText(item);
54902
+ return [
54903
+ metrics.width,
54904
+ metrics.fontBoundingBoxAscent + metrics.fontBoundingBoxDescent
54905
+ ];
54906
+ });
54907
+ defaultWidth = Math.ceil(Math.max(...sizes.map((size) => size[0])));
54908
+ defaultHeight = Math.ceil(Math.max(...sizes.map((size) => size[1]))) * contents.length + (contents.length - 1) * FontGap;
54909
+ }
54910
+ return [width != null ? width : defaultWidth, height != null ? height : defaultHeight];
54911
+ };
54912
+ const getClips = useClips();
54913
+ const renderWatermark = () => {
54914
+ const canvas = document.createElement("canvas");
54915
+ const ctx = canvas.getContext("2d");
54916
+ const image = props.image;
54917
+ const content = props.content;
54918
+ const rotate = props.rotate;
54919
+ if (ctx) {
54920
+ if (!watermarkRef.value) {
54921
+ watermarkRef.value = document.createElement("div");
54922
+ }
54923
+ const ratio = getPixelRatio();
54924
+ const [markWidth, markHeight] = getMarkSize(ctx);
54925
+ const drawCanvas = (drawContent) => {
54926
+ const [textClips, clipWidth] = getClips(drawContent || "", rotate, ratio, markWidth, markHeight, {
54927
+ color: color.value,
54928
+ fontSize: fontSize.value,
54929
+ fontStyle: fontStyle.value,
54930
+ fontWeight: fontWeight.value,
54931
+ fontFamily: fontFamily.value
54932
+ }, gapX.value, gapY.value);
54933
+ appendWatermark(textClips, clipWidth);
54934
+ };
54935
+ if (image) {
54936
+ const img = new Image();
54937
+ img.onload = () => {
54938
+ drawCanvas(img);
54939
+ };
54940
+ img.onerror = () => {
54941
+ drawCanvas(content);
54942
+ };
54943
+ img.crossOrigin = "anonymous";
54944
+ img.referrerPolicy = "no-referrer";
54945
+ img.src = image;
54946
+ } else {
54947
+ drawCanvas(content);
54948
+ }
54949
+ }
54950
+ };
54951
+ onMounted(() => {
54952
+ renderWatermark();
54953
+ });
54954
+ watch(() => props, () => {
54955
+ renderWatermark();
54956
+ }, {
54957
+ deep: true,
54958
+ flush: "post"
54959
+ });
54960
+ onBeforeUnmount(() => {
54961
+ destroyWatermark();
54962
+ });
54963
+ const onMutate = (mutations) => {
54964
+ if (stopObservation.value) {
54965
+ return;
54966
+ }
54967
+ mutations.forEach((mutation) => {
54968
+ if (reRendering(mutation, watermarkRef.value)) {
54969
+ destroyWatermark();
54970
+ renderWatermark();
54971
+ }
54972
+ });
54973
+ };
54974
+ useMutationObserver(containerRef, onMutate, {
54975
+ attributes: true
54976
+ });
54977
+ return (_ctx, _cache) => {
54978
+ return openBlock(), createElementBlock("div", {
54979
+ ref_key: "containerRef",
54980
+ ref: containerRef,
54981
+ style: normalizeStyle([style])
54982
+ }, [
54983
+ renderSlot(_ctx.$slots, "default")
54984
+ ], 4);
54985
+ };
54986
+ }
54987
+ });
54988
+ var Watermark = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__file", "watermark.vue"]]);
54989
+
54990
+ const ElWatermark = withInstall(Watermark);
54991
+
54515
54992
  var Components = [
54516
54993
  ElAffix,
54517
54994
  ElAlert,
@@ -54610,7 +55087,8 @@ var Components = [
54610
55087
  ElTree,
54611
55088
  ElTreeSelect,
54612
55089
  ElTreeV2,
54613
- ElUpload
55090
+ ElUpload,
55091
+ ElWatermark
54614
55092
  ];
54615
55093
 
54616
55094
  const SCOPE = "ElInfiniteScroll";