@element-plus/nightly 0.0.20231010 → 0.0.20231012

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 (422) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +623 -452
  4. package/dist/index.full.min.js +17 -17
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +19 -19
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +623 -452
  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/components/autocomplete/index.d.ts +28 -1
  238. package/es/components/autocomplete/src/autocomplete.vue.d.ts +28 -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/cascader/index.d.ts +150 -6
  247. package/es/components/cascader/src/cascader.vue.d.ts +75 -3
  248. package/es/components/checkbox/index.d.ts +12 -0
  249. package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
  250. package/es/components/checkbox/src/checkbox.d.ts +1 -0
  251. package/es/components/checkbox/src/checkbox.mjs +2 -1
  252. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  253. package/es/components/checkbox/src/checkbox.vue.d.ts +4 -0
  254. package/es/components/checkbox/src/checkbox2.mjs +8 -12
  255. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  256. package/es/components/checkbox/src/composables/use-checkbox-status.mjs +2 -2
  257. package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -1
  258. package/es/components/color-picker/index.d.ts +18 -1
  259. package/es/components/color-picker/src/color-picker.d.ts +2 -0
  260. package/es/components/color-picker/src/color-picker.mjs +3 -1
  261. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  262. package/es/components/color-picker/src/color-picker.vue.d.ts +18 -1
  263. package/es/components/color-picker/src/color-picker2.mjs +83 -11
  264. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  265. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +263 -11
  266. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +263 -11
  267. package/es/components/date-picker/src/panel-utils.d.ts +526 -22
  268. package/es/components/descriptions/src/description-item.mjs.map +1 -1
  269. package/es/components/descriptions/src/description.mjs.map +1 -1
  270. package/es/components/image/index.d.ts +16 -0
  271. package/es/components/image/src/image.d.ts +2 -0
  272. package/es/components/image/src/image.mjs +8 -0
  273. package/es/components/image/src/image.mjs.map +1 -1
  274. package/es/components/image/src/image.vue.d.ts +16 -0
  275. package/es/components/image/src/image2.mjs +3 -1
  276. package/es/components/image/src/image2.mjs.map +1 -1
  277. package/es/components/image-viewer/index.d.ts +8 -0
  278. package/es/components/image-viewer/src/image-viewer.d.ts +2 -0
  279. package/es/components/image-viewer/src/image-viewer.mjs +8 -0
  280. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  281. package/es/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
  282. package/es/components/image-viewer/src/image-viewer2.mjs +3 -2
  283. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  284. package/es/components/pagination/src/components/sizes.vue.d.ts +4 -0
  285. package/es/components/scrollbar/index.d.ts +28 -1
  286. package/es/components/scrollbar/src/scrollbar.d.ts +9 -0
  287. package/es/components/scrollbar/src/scrollbar.mjs +7 -0
  288. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  289. package/es/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
  290. package/es/components/scrollbar/src/scrollbar2.mjs +12 -8
  291. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  292. package/es/components/select/index.d.ts +4 -0
  293. package/es/components/select/src/option.mjs +9 -1
  294. package/es/components/select/src/option.mjs.map +1 -1
  295. package/es/components/select/src/option.vue.d.ts +1 -0
  296. package/es/components/select/src/select.mjs +251 -228
  297. package/es/components/select/src/select.mjs.map +1 -1
  298. package/es/components/select/src/select.vue.d.ts +98 -98
  299. package/es/components/select/src/useSelect.d.ts +1 -0
  300. package/es/components/select/src/useSelect.mjs +4 -2
  301. package/es/components/select/src/useSelect.mjs.map +1 -1
  302. package/es/components/table/src/table-footer/index.mjs +15 -33
  303. package/es/components/table/src/table-footer/index.mjs.map +1 -1
  304. package/es/components/table/src/table.mjs +33 -12
  305. package/es/components/table/src/table.mjs.map +1 -1
  306. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
  307. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
  308. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
  309. package/es/components/time-select/index.d.ts +14 -0
  310. package/es/components/time-select/src/time-select.vue.d.ts +16 -9
  311. package/es/components/transfer/index.d.ts +40 -0
  312. package/es/components/transfer/src/transfer-panel.vue.d.ts +8 -0
  313. package/es/components/transfer/src/transfer.vue.d.ts +40 -0
  314. package/es/components/tree-select/src/tree-select-option.d.ts +6 -0
  315. package/es/components/tree-v2/index.d.ts +8 -0
  316. package/es/components/tree-v2/src/tree-node.vue.d.ts +8 -0
  317. package/es/components/tree-v2/src/tree.vue.d.ts +8 -0
  318. package/es/hooks/use-focus-controller/index.d.ts +6 -1
  319. package/es/hooks/use-focus-controller/index.mjs +5 -2
  320. package/es/hooks/use-focus-controller/index.mjs.map +1 -1
  321. package/es/version.d.ts +1 -1
  322. package/es/version.mjs +1 -1
  323. package/es/version.mjs.map +1 -1
  324. package/lib/components/autocomplete/index.d.ts +28 -1
  325. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +28 -1
  326. package/lib/components/carousel/index.d.ts +5 -0
  327. package/lib/components/carousel/src/carousel.vue.d.ts +5 -0
  328. package/lib/components/carousel/src/carousel2.js +7 -2
  329. package/lib/components/carousel/src/carousel2.js.map +1 -1
  330. package/lib/components/carousel/src/use-carousel.d.ts +6 -0
  331. package/lib/components/carousel/src/use-carousel.js +32 -0
  332. package/lib/components/carousel/src/use-carousel.js.map +1 -1
  333. package/lib/components/cascader/index.d.ts +150 -6
  334. package/lib/components/cascader/src/cascader.vue.d.ts +75 -3
  335. package/lib/components/checkbox/index.d.ts +12 -0
  336. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -0
  337. package/lib/components/checkbox/src/checkbox.d.ts +1 -0
  338. package/lib/components/checkbox/src/checkbox.js +2 -1
  339. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  340. package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -0
  341. package/lib/components/checkbox/src/checkbox2.js +8 -12
  342. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  343. package/lib/components/checkbox/src/composables/use-checkbox-status.js +1 -1
  344. package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -1
  345. package/lib/components/color-picker/index.d.ts +18 -1
  346. package/lib/components/color-picker/src/color-picker.d.ts +2 -0
  347. package/lib/components/color-picker/src/color-picker.js +3 -1
  348. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  349. package/lib/components/color-picker/src/color-picker.vue.d.ts +18 -1
  350. package/lib/components/color-picker/src/color-picker2.js +93 -21
  351. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  352. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +263 -11
  353. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +263 -11
  354. package/lib/components/date-picker/src/panel-utils.d.ts +526 -22
  355. package/lib/components/descriptions/src/description-item.js.map +1 -1
  356. package/lib/components/descriptions/src/description.js.map +1 -1
  357. package/lib/components/image/index.d.ts +16 -0
  358. package/lib/components/image/src/image.d.ts +2 -0
  359. package/lib/components/image/src/image.js +8 -0
  360. package/lib/components/image/src/image.js.map +1 -1
  361. package/lib/components/image/src/image.vue.d.ts +16 -0
  362. package/lib/components/image/src/image2.js +3 -1
  363. package/lib/components/image/src/image2.js.map +1 -1
  364. package/lib/components/image-viewer/index.d.ts +8 -0
  365. package/lib/components/image-viewer/src/image-viewer.d.ts +2 -0
  366. package/lib/components/image-viewer/src/image-viewer.js +8 -0
  367. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  368. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
  369. package/lib/components/image-viewer/src/image-viewer2.js +3 -2
  370. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  371. package/lib/components/pagination/src/components/sizes.vue.d.ts +4 -0
  372. package/lib/components/scrollbar/index.d.ts +28 -1
  373. package/lib/components/scrollbar/src/scrollbar.d.ts +9 -0
  374. package/lib/components/scrollbar/src/scrollbar.js +7 -0
  375. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  376. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
  377. package/lib/components/scrollbar/src/scrollbar2.js +12 -8
  378. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  379. package/lib/components/select/index.d.ts +4 -0
  380. package/lib/components/select/src/option.js +9 -1
  381. package/lib/components/select/src/option.js.map +1 -1
  382. package/lib/components/select/src/option.vue.d.ts +1 -0
  383. package/lib/components/select/src/select.js +251 -228
  384. package/lib/components/select/src/select.js.map +1 -1
  385. package/lib/components/select/src/select.vue.d.ts +98 -98
  386. package/lib/components/select/src/useSelect.d.ts +1 -0
  387. package/lib/components/select/src/useSelect.js +4 -2
  388. package/lib/components/select/src/useSelect.js.map +1 -1
  389. package/lib/components/table/src/table-footer/index.js +15 -33
  390. package/lib/components/table/src/table-footer/index.js.map +1 -1
  391. package/lib/components/table/src/table.js +33 -12
  392. package/lib/components/table/src/table.js.map +1 -1
  393. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
  394. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
  395. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
  396. package/lib/components/time-select/index.d.ts +14 -0
  397. package/lib/components/time-select/src/time-select.vue.d.ts +16 -9
  398. package/lib/components/transfer/index.d.ts +40 -0
  399. package/lib/components/transfer/src/transfer-panel.vue.d.ts +8 -0
  400. package/lib/components/transfer/src/transfer.vue.d.ts +40 -0
  401. package/lib/components/tree-select/src/tree-select-option.d.ts +6 -0
  402. package/lib/components/tree-v2/index.d.ts +8 -0
  403. package/lib/components/tree-v2/src/tree-node.vue.d.ts +8 -0
  404. package/lib/components/tree-v2/src/tree.vue.d.ts +8 -0
  405. package/lib/hooks/use-focus-controller/index.d.ts +6 -1
  406. package/lib/hooks/use-focus-controller/index.js +5 -2
  407. package/lib/hooks/use-focus-controller/index.js.map +1 -1
  408. package/lib/version.d.ts +1 -1
  409. package/lib/version.js +1 -1
  410. package/lib/version.js.map +1 -1
  411. package/package.json +2 -2
  412. package/tags.json +1 -1
  413. package/theme-chalk/el-color-picker.css +1 -1
  414. package/theme-chalk/el-table-v2.css +1 -1
  415. package/theme-chalk/el-table.css +1 -1
  416. package/theme-chalk/el-upload.css +1 -1
  417. package/theme-chalk/index.css +1 -1
  418. package/theme-chalk/src/color-picker.scss +8 -2
  419. package/theme-chalk/src/common/var.scss +1 -0
  420. package/theme-chalk/src/table.scss +37 -14
  421. package/theme-chalk/src/upload.scss +1 -1
  422. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20231010 */
1
+ /*! Element Plus v0.0.20231012 */
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
 
@@ -11128,7 +11128,7 @@ const useGlobalSize = () => {
11128
11128
  });
11129
11129
  };
11130
11130
 
11131
- function useFocusController(target, { afterFocus, afterBlur } = {}) {
11131
+ function useFocusController(target, { afterFocus, beforeBlur, afterBlur } = {}) {
11132
11132
  const instance = getCurrentInstance();
11133
11133
  const { emit } = instance;
11134
11134
  const wrapperRef = shallowRef();
@@ -11142,7 +11142,8 @@ function useFocusController(target, { afterFocus, afterBlur } = {}) {
11142
11142
  };
11143
11143
  const handleBlur = (event) => {
11144
11144
  var _a;
11145
- 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)))
11146
11147
  return;
11147
11148
  isFocused.value = false;
11148
11149
  emit("blur", event);
@@ -11286,7 +11287,7 @@ const ConfigProvider = defineComponent({
11286
11287
 
11287
11288
  const ElConfigProvider = withInstall(ConfigProvider);
11288
11289
 
11289
- const version$1 = "0.0.20231010";
11290
+ const version$1 = "0.0.20231012";
11290
11291
 
11291
11292
  const makeInstaller = (components = []) => {
11292
11293
  const install = (app, options) => {
@@ -13089,7 +13090,7 @@ var FormLabelWrap = defineComponent({
13089
13090
  }
13090
13091
  });
13091
13092
 
13092
- const _hoisted_1$12 = ["role", "aria-labelledby"];
13093
+ const _hoisted_1$13 = ["role", "aria-labelledby"];
13093
13094
  const __default__$1z = defineComponent({
13094
13095
  name: "ElFormItem"
13095
13096
  });
@@ -13385,7 +13386,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
13385
13386
  _: 3
13386
13387
  }, 8, ["name"])
13387
13388
  ], 6)
13388
- ], 10, _hoisted_1$12);
13389
+ ], 10, _hoisted_1$13);
13389
13390
  };
13390
13391
  }
13391
13392
  });
@@ -13575,9 +13576,9 @@ const inputEmits = {
13575
13576
  compositionend: (evt) => evt instanceof CompositionEvent
13576
13577
  };
13577
13578
 
13578
- const _hoisted_1$11 = ["role"];
13579
- const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
13580
- const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
13579
+ const _hoisted_1$12 = ["role"];
13580
+ const _hoisted_2$H = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
13581
+ const _hoisted_3$k = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
13581
13582
  const __default__$1y = defineComponent({
13582
13583
  name: "ElInput",
13583
13584
  inheritAttrs: false
@@ -13895,7 +13896,7 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
13895
13896
  onBlur: _cache[1] || (_cache[1] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),
13896
13897
  onChange: handleChange,
13897
13898
  onKeydown: handleKeydown
13898
- }), null, 16, _hoisted_2$G),
13899
+ }), null, 16, _hoisted_2$H),
13899
13900
  createCommentVNode(" suffix slot "),
13900
13901
  unref(suffixVisible) ? (openBlock(), createElementBlock("span", {
13901
13902
  key: 1,
@@ -13993,14 +13994,14 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
13993
13994
  onBlur: _cache[3] || (_cache[3] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),
13994
13995
  onChange: handleChange,
13995
13996
  onKeydown: handleKeydown
13996
- }), null, 16, _hoisted_3$l),
13997
+ }), null, 16, _hoisted_3$k),
13997
13998
  unref(isWordLimitVisible) ? (openBlock(), createElementBlock("span", {
13998
13999
  key: 0,
13999
14000
  style: normalizeStyle(countStyle.value),
14000
14001
  class: normalizeClass(unref(nsInput).e("count"))
14001
14002
  }, toDisplayString(unref(textLength)) + " / " + toDisplayString(unref(attrs).maxlength), 7)) : createCommentVNode("v-if", true)
14002
14003
  ], 64))
14003
- ], 16, _hoisted_1$11)), [
14004
+ ], 16, _hoisted_1$12)), [
14004
14005
  [vShow, _ctx.type !== "hidden"]
14005
14006
  ]);
14006
14007
  };
@@ -14271,6 +14272,13 @@ const scrollbarProps = buildProps({
14271
14272
  minSize: {
14272
14273
  type: Number,
14273
14274
  default: 20
14275
+ },
14276
+ id: String,
14277
+ role: String,
14278
+ ariaLabel: String,
14279
+ ariaOrientation: {
14280
+ type: String,
14281
+ values: ["horizontal", "vertical"]
14274
14282
  }
14275
14283
  });
14276
14284
  const scrollbarEmits = {
@@ -14301,13 +14309,13 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
14301
14309
  const barRef = ref();
14302
14310
  const ratioY = ref(1);
14303
14311
  const ratioX = ref(1);
14304
- const style = computed$1(() => {
14305
- const style2 = {};
14312
+ const wrapStyle = computed$1(() => {
14313
+ const style = {};
14306
14314
  if (props.height)
14307
- style2.height = addUnit(props.height);
14315
+ style.height = addUnit(props.height);
14308
14316
  if (props.maxHeight)
14309
- style2.maxHeight = addUnit(props.maxHeight);
14310
- return [props.wrapStyle, style2];
14317
+ style.maxHeight = addUnit(props.maxHeight);
14318
+ return [props.wrapStyle, style];
14311
14319
  });
14312
14320
  const wrapKls = computed$1(() => {
14313
14321
  return [
@@ -14410,20 +14418,24 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
14410
14418
  ref_key: "wrapRef",
14411
14419
  ref: wrapRef,
14412
14420
  class: normalizeClass(unref(wrapKls)),
14413
- style: normalizeStyle(unref(style)),
14421
+ style: normalizeStyle(unref(wrapStyle)),
14414
14422
  onScroll: handleScroll
14415
14423
  }, [
14416
14424
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
14425
+ id: _ctx.id,
14417
14426
  ref_key: "resizeRef",
14418
14427
  ref: resizeRef,
14419
14428
  class: normalizeClass(unref(resizeKls)),
14420
- style: normalizeStyle(_ctx.viewStyle)
14429
+ style: normalizeStyle(_ctx.viewStyle),
14430
+ role: _ctx.role,
14431
+ "aria-label": _ctx.ariaLabel,
14432
+ "aria-orientation": _ctx.ariaOrientation
14421
14433
  }, {
14422
14434
  default: withCtx(() => [
14423
14435
  renderSlot(_ctx.$slots, "default")
14424
14436
  ]),
14425
14437
  _: 3
14426
- }, 8, ["class", "style"]))
14438
+ }, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
14427
14439
  ], 38),
14428
14440
  !_ctx.native ? (openBlock(), createBlock(Bar, {
14429
14441
  key: 0,
@@ -15847,8 +15859,8 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
15847
15859
  });
15848
15860
  var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__file", "content.vue"]]);
15849
15861
 
15850
- const _hoisted_1$10 = ["innerHTML"];
15851
- const _hoisted_2$F = { key: 1 };
15862
+ const _hoisted_1$11 = ["innerHTML"];
15863
+ const _hoisted_2$G = { key: 1 };
15852
15864
  const __default__$1q = defineComponent({
15853
15865
  name: "ElTooltip"
15854
15866
  });
@@ -15990,7 +16002,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
15990
16002
  _ctx.rawContent ? (openBlock(), createElementBlock("span", {
15991
16003
  key: 0,
15992
16004
  innerHTML: _ctx.content
15993
- }, null, 8, _hoisted_1$10)) : (openBlock(), createElementBlock("span", _hoisted_2$F, toDisplayString(_ctx.content), 1))
16005
+ }, null, 8, _hoisted_1$11)) : (openBlock(), createElementBlock("span", _hoisted_2$G, toDisplayString(_ctx.content), 1))
15994
16006
  ]),
15995
16007
  _ctx.showArrow ? (openBlock(), createBlock(unref(ElPopperArrow), {
15996
16008
  key: 0,
@@ -16086,9 +16098,9 @@ const autocompleteEmits = {
16086
16098
  select: (item) => isObject$1(item)
16087
16099
  };
16088
16100
 
16089
- const _hoisted_1$$ = ["aria-expanded", "aria-owns"];
16090
- const _hoisted_2$E = { key: 0 };
16091
- const _hoisted_3$k = ["id", "aria-selected", "onClick"];
16101
+ const _hoisted_1$10 = ["aria-expanded", "aria-owns"];
16102
+ const _hoisted_2$F = { key: 0 };
16103
+ const _hoisted_3$j = ["id", "aria-selected", "onClick"];
16092
16104
  const COMPONENT_NAME$i = "ElAutocomplete";
16093
16105
  const __default__$1p = defineComponent({
16094
16106
  name: COMPONENT_NAME$i,
@@ -16333,7 +16345,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
16333
16345
  role: "listbox"
16334
16346
  }, {
16335
16347
  default: withCtx(() => [
16336
- unref(suggestionLoading) ? (openBlock(), createElementBlock("li", _hoisted_2$E, [
16348
+ unref(suggestionLoading) ? (openBlock(), createElementBlock("li", _hoisted_2$F, [
16337
16349
  createVNode(unref(ElIcon), {
16338
16350
  class: normalizeClass(unref(ns).is("loading"))
16339
16351
  }, {
@@ -16354,7 +16366,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
16354
16366
  renderSlot(_ctx.$slots, "default", { item }, () => [
16355
16367
  createTextVNode(toDisplayString(item[_ctx.valueKey]), 1)
16356
16368
  ])
16357
- ], 10, _hoisted_3$k);
16369
+ ], 10, _hoisted_3$j);
16358
16370
  }), 128))
16359
16371
  ]),
16360
16372
  _: 3
@@ -16419,7 +16431,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
16419
16431
  ])
16420
16432
  } : void 0
16421
16433
  ]), 1040, ["clearable", "disabled", "name", "model-value", "onKeydown"])
16422
- ], 14, _hoisted_1$$)
16434
+ ], 14, _hoisted_1$10)
16423
16435
  ]),
16424
16436
  _: 3
16425
16437
  }, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
@@ -16460,7 +16472,7 @@ const avatarEmits = {
16460
16472
  error: (evt) => evt instanceof Event
16461
16473
  };
16462
16474
 
16463
- const _hoisted_1$_ = ["src", "alt", "srcset"];
16475
+ const _hoisted_1$$ = ["src", "alt", "srcset"];
16464
16476
  const __default__$1o = defineComponent({
16465
16477
  name: "ElAvatar"
16466
16478
  });
@@ -16509,7 +16521,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16509
16521
  srcset: _ctx.srcSet,
16510
16522
  style: normalizeStyle(unref(fitStyle)),
16511
16523
  onError: handleError
16512
- }, null, 44, _hoisted_1$_)) : _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
16524
+ }, null, 44, _hoisted_1$$)) : _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
16513
16525
  default: withCtx(() => [
16514
16526
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
16515
16527
  ]),
@@ -16645,7 +16657,7 @@ const badgeProps = buildProps({
16645
16657
  }
16646
16658
  });
16647
16659
 
16648
- const _hoisted_1$Z = ["textContent"];
16660
+ const _hoisted_1$_ = ["textContent"];
16649
16661
  const __default__$1m = defineComponent({
16650
16662
  name: "ElBadge"
16651
16663
  });
@@ -16684,7 +16696,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
16684
16696
  unref(ns).is("dot", _ctx.isDot)
16685
16697
  ]),
16686
16698
  textContent: toDisplayString(unref(content))
16687
- }, null, 10, _hoisted_1$Z), [
16699
+ }, null, 10, _hoisted_1$_), [
16688
16700
  [vShow, !_ctx.hidden && (unref(content) || _ctx.isDot)]
16689
16701
  ])
16690
16702
  ]),
@@ -18502,8 +18514,8 @@ const timePickerDefaultProps = buildProps({
18502
18514
  unlinkPanels: Boolean
18503
18515
  });
18504
18516
 
18505
- const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18506
- const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18517
+ const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18518
+ const _hoisted_2$E = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18507
18519
  const __default__$1h = defineComponent({
18508
18520
  name: "Picker"
18509
18521
  });
@@ -19076,7 +19088,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
19076
19088
  onChange: handleStartChange,
19077
19089
  onFocus: handleFocusInput,
19078
19090
  onBlur: handleBlurInput
19079
- }, null, 42, _hoisted_1$Y),
19091
+ }, null, 42, _hoisted_1$Z),
19080
19092
  renderSlot(_ctx.$slots, "range-separator", {}, () => [
19081
19093
  createElementVNode("span", {
19082
19094
  class: normalizeClass(unref(nsRange).b("separator"))
@@ -19096,7 +19108,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
19096
19108
  onBlur: handleBlurInput,
19097
19109
  onInput: handleEndInput,
19098
19110
  onChange: handleEndChange
19099
- }, null, 42, _hoisted_2$D),
19111
+ }, null, 42, _hoisted_2$E),
19100
19112
  _ctx.clearIcon ? (openBlock(), createBlock(unref(ElIcon), {
19101
19113
  key: 1,
19102
19114
  class: normalizeClass(unref(clearIconKls)),
@@ -19441,8 +19453,8 @@ const basicTimeSpinnerProps = buildProps({
19441
19453
  ...disabledTimeListsProps
19442
19454
  });
19443
19455
 
19444
- const _hoisted_1$X = ["onClick"];
19445
- const _hoisted_2$C = ["onMouseenter"];
19456
+ const _hoisted_1$Y = ["onClick"];
19457
+ const _hoisted_2$D = ["onMouseenter"];
19446
19458
  const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19447
19459
  __name: "basic-time-spinner",
19448
19460
  props: basicTimeSpinnerProps,
@@ -19669,7 +19681,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19669
19681
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
19670
19682
  createTextVNode(toDisplayString(("0" + key).slice(-2)), 1)
19671
19683
  ], 64))
19672
- ], 10, _hoisted_1$X);
19684
+ ], 10, _hoisted_1$Y);
19673
19685
  }), 128))
19674
19686
  ]),
19675
19687
  _: 2
@@ -19723,7 +19735,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19723
19735
  ], 2);
19724
19736
  }), 128))
19725
19737
  ], 2)
19726
- ], 42, _hoisted_2$C);
19738
+ ], 42, _hoisted_2$D);
19727
19739
  }), 128)) : createCommentVNode("v-if", true)
19728
19740
  ], 2);
19729
19741
  };
@@ -19892,7 +19904,7 @@ const panelTimeRangeProps = buildProps({
19892
19904
  }
19893
19905
  });
19894
19906
 
19895
- const _hoisted_1$W = ["disabled"];
19907
+ const _hoisted_1$X = ["disabled"];
19896
19908
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
19897
19909
  __name: "panel-time-range",
19898
19910
  props: panelTimeRangeProps,
@@ -20155,7 +20167,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
20155
20167
  class: normalizeClass([unref(nsTime).be("panel", "btn"), "confirm"]),
20156
20168
  disabled: unref(btnConfirmDisabled),
20157
20169
  onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
20158
- }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$W)
20170
+ }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$X)
20159
20171
  ], 2)
20160
20172
  ], 2)) : createCommentVNode("v-if", true);
20161
20173
  };
@@ -20413,8 +20425,8 @@ const useDateTable = (props, emit) => {
20413
20425
  };
20414
20426
  };
20415
20427
 
20416
- const _hoisted_1$V = { key: 0 };
20417
- const _hoisted_2$B = ["onClick"];
20428
+ const _hoisted_1$W = { key: 0 };
20429
+ const _hoisted_2$C = ["onClick"];
20418
20430
  const __default__$1g = defineComponent({
20419
20431
  name: "DateTable"
20420
20432
  });
@@ -20457,7 +20469,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
20457
20469
  cellspacing: "0",
20458
20470
  cellpadding: "0"
20459
20471
  }, [
20460
- !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$V, [
20472
+ !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$W, [
20461
20473
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekDays), (day) => {
20462
20474
  return openBlock(), createElementBlock("th", { key: day }, toDisplayString(day), 1);
20463
20475
  }), 128))
@@ -20486,7 +20498,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
20486
20498
  createElementVNode("span", null, toDisplayString(cell.text), 1)
20487
20499
  ])
20488
20500
  ], 2)
20489
- ], 10, _hoisted_2$B);
20501
+ ], 10, _hoisted_2$C);
20490
20502
  }), 128))
20491
20503
  ], 2);
20492
20504
  }), 128))
@@ -20873,11 +20885,13 @@ const useCarousel = (props, emit, componentName) => {
20873
20885
  addChild: addItem,
20874
20886
  removeChild: removeItem
20875
20887
  } = useOrderedChildren(getCurrentInstance(), "ElCarouselItem");
20888
+ const slots = useSlots();
20876
20889
  const activeIndex = ref(-1);
20877
20890
  const timer = ref(null);
20878
20891
  const hover = ref(false);
20879
20892
  const root = ref();
20880
20893
  const containerHeight = ref(0);
20894
+ const isItemsTwoLength = ref(true);
20881
20895
  const arrowDisplay = computed$1(() => props.arrow !== "never" && !unref(isVertical));
20882
20896
  const hasLabel = computed$1(() => {
20883
20897
  return items.value.some((item) => item.props.label.toString().length > 0);
@@ -20901,6 +20915,11 @@ const useCarousel = (props, emit, componentName) => {
20901
20915
  const throttledIndicatorHover = throttle((index) => {
20902
20916
  handleIndicatorHover(index);
20903
20917
  }, THROTTLE_TIME);
20918
+ const isTwoLengthShow = (index) => {
20919
+ if (!isItemsTwoLength.value)
20920
+ return true;
20921
+ return activeIndex.value <= 1 ? index <= 1 : index > 1;
20922
+ };
20904
20923
  function pauseTimer() {
20905
20924
  if (timer.value) {
20906
20925
  clearInterval(timer.value);
@@ -21018,8 +21037,29 @@ const useCarousel = (props, emit, componentName) => {
21018
21037
  return;
21019
21038
  containerHeight.value = height;
21020
21039
  }
21040
+ function PlaceholderItem() {
21041
+ var _a;
21042
+ const defaultSlots = (_a = slots.default) == null ? void 0 : _a.call(slots);
21043
+ if (!defaultSlots)
21044
+ return null;
21045
+ const flatSlots = flattedChildren(defaultSlots);
21046
+ const carouselItemsName = "ElCarouselItem";
21047
+ const normalizeSlots = flatSlots.filter((slot) => {
21048
+ return isVNode(slot) && slot.type.name === carouselItemsName;
21049
+ });
21050
+ if ((normalizeSlots == null ? void 0 : normalizeSlots.length) === 2 && props.loop && !isCardType.value) {
21051
+ isItemsTwoLength.value = true;
21052
+ return normalizeSlots;
21053
+ }
21054
+ isItemsTwoLength.value = false;
21055
+ return null;
21056
+ }
21021
21057
  watch(() => activeIndex.value, (current, prev2) => {
21022
21058
  resetItemPosition(prev2);
21059
+ if (isItemsTwoLength.value) {
21060
+ current = current % 2;
21061
+ prev2 = prev2 % 2;
21062
+ }
21023
21063
  if (prev2 > -1) {
21024
21064
  emit("change", current, prev2);
21025
21065
  }
@@ -21072,6 +21112,7 @@ const useCarousel = (props, emit, componentName) => {
21072
21112
  items,
21073
21113
  isVertical,
21074
21114
  containerStyle,
21115
+ isItemsTwoLength,
21075
21116
  handleButtonEnter,
21076
21117
  handleButtonLeave,
21077
21118
  handleIndicatorClick,
@@ -21080,13 +21121,15 @@ const useCarousel = (props, emit, componentName) => {
21080
21121
  setActiveItem,
21081
21122
  prev,
21082
21123
  next,
21124
+ PlaceholderItem,
21125
+ isTwoLengthShow,
21083
21126
  throttledArrowClick,
21084
21127
  throttledIndicatorHover
21085
21128
  };
21086
21129
  };
21087
21130
 
21088
- const _hoisted_1$U = ["onMouseenter", "onClick"];
21089
- const _hoisted_2$A = { key: 0 };
21131
+ const _hoisted_1$V = ["onMouseenter", "onClick"];
21132
+ const _hoisted_2$B = { key: 0 };
21090
21133
  const COMPONENT_NAME$f = "ElCarousel";
21091
21134
  const __default__$1d = defineComponent({
21092
21135
  name: COMPONENT_NAME$f
@@ -21115,6 +21158,8 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
21115
21158
  setActiveItem,
21116
21159
  prev,
21117
21160
  next,
21161
+ PlaceholderItem,
21162
+ isTwoLengthShow,
21118
21163
  throttledArrowClick,
21119
21164
  throttledIndicatorHover
21120
21165
  } = useCarousel(props, emit);
@@ -21212,6 +21257,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
21212
21257
  ]),
21213
21258
  _: 1
21214
21259
  })) : createCommentVNode("v-if", true),
21260
+ createVNode(unref(PlaceholderItem)),
21215
21261
  renderSlot(_ctx.$slots, "default")
21216
21262
  ], 6),
21217
21263
  _ctx.indicatorPosition !== "none" ? (openBlock(), createElementBlock("ul", {
@@ -21219,7 +21265,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
21219
21265
  class: normalizeClass(unref(indicatorsClasses))
21220
21266
  }, [
21221
21267
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(items), (item, index) => {
21222
- return openBlock(), createElementBlock("li", {
21268
+ return withDirectives((openBlock(), createElementBlock("li", {
21223
21269
  key: index,
21224
21270
  class: normalizeClass([
21225
21271
  unref(ns).e("indicator"),
@@ -21232,9 +21278,11 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
21232
21278
  createElementVNode("button", {
21233
21279
  class: normalizeClass(unref(ns).e("button"))
21234
21280
  }, [
21235
- unref(hasLabel) ? (openBlock(), createElementBlock("span", _hoisted_2$A, toDisplayString(item.props.label), 1)) : createCommentVNode("v-if", true)
21281
+ unref(hasLabel) ? (openBlock(), createElementBlock("span", _hoisted_2$B, toDisplayString(item.props.label), 1)) : createCommentVNode("v-if", true)
21236
21282
  ], 2)
21237
- ], 42, _hoisted_1$U);
21283
+ ], 42, _hoisted_1$V)), [
21284
+ [vShow, unref(isTwoLengthShow)(index)]
21285
+ ]);
21238
21286
  }), 128))
21239
21287
  ], 2)) : createCommentVNode("v-if", true)
21240
21288
  ], 34);
@@ -21438,7 +21486,8 @@ const checkboxProps = {
21438
21486
  default: void 0
21439
21487
  },
21440
21488
  label: {
21441
- type: [String, Boolean, Number, Object]
21489
+ type: [String, Boolean, Number, Object],
21490
+ default: void 0
21442
21491
  },
21443
21492
  indeterminate: Boolean,
21444
21493
  disabled: Boolean,
@@ -21603,7 +21652,7 @@ const useCheckboxStatus = (props, slots, { model }) => {
21603
21652
  return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
21604
21653
  }));
21605
21654
  const hasOwnLabel = computed$1(() => {
21606
- return !!(slots.default || props.label);
21655
+ return !!slots.default || !isNil(props.label);
21607
21656
  });
21608
21657
  return {
21609
21658
  checkboxButtonSize,
@@ -21663,9 +21712,8 @@ const useCheckbox = (props, slots) => {
21663
21712
  };
21664
21713
  };
21665
21714
 
21666
- const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
21667
- const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
21668
- const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
21715
+ const _hoisted_1$U = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"];
21716
+ const _hoisted_2$A = ["id", "indeterminate", "disabled", "value", "name", "tabindex"];
21669
21717
  const __default__$1b = defineComponent({
21670
21718
  name: "ElCheckbox"
21671
21719
  });
@@ -21715,10 +21763,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21715
21763
  }, {
21716
21764
  default: withCtx(() => [
21717
21765
  createElementVNode("span", {
21718
- class: normalizeClass(unref(spanKls)),
21719
- tabindex: _ctx.indeterminate ? 0 : void 0,
21720
- role: _ctx.indeterminate ? "checkbox" : void 0,
21721
- "aria-checked": _ctx.indeterminate ? "mixed" : void 0
21766
+ class: normalizeClass(unref(spanKls))
21722
21767
  }, [
21723
21768
  _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock("input", {
21724
21769
  key: 0,
@@ -21726,7 +21771,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21726
21771
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
21727
21772
  class: normalizeClass(unref(ns).e("original")),
21728
21773
  type: "checkbox",
21729
- "aria-hidden": _ctx.indeterminate ? "true" : "false",
21774
+ indeterminate: _ctx.indeterminate,
21730
21775
  name: _ctx.name,
21731
21776
  tabindex: _ctx.tabindex,
21732
21777
  disabled: unref(isDisabled),
@@ -21737,7 +21782,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21737
21782
  onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
21738
21783
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {
21739
21784
  }, ["stop"]))
21740
- }, null, 42, _hoisted_2$z)), [
21785
+ }, null, 42, _hoisted_1$U)), [
21741
21786
  [vModelCheckbox, unref(model)]
21742
21787
  ]) : withDirectives((openBlock(), createElementBlock("input", {
21743
21788
  key: 1,
@@ -21745,7 +21790,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21745
21790
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(model) ? model.value = $event : null),
21746
21791
  class: normalizeClass(unref(ns).e("original")),
21747
21792
  type: "checkbox",
21748
- "aria-hidden": _ctx.indeterminate ? "true" : "false",
21793
+ indeterminate: _ctx.indeterminate,
21749
21794
  disabled: unref(isDisabled),
21750
21795
  value: _ctx.label,
21751
21796
  name: _ctx.name,
@@ -21755,13 +21800,13 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21755
21800
  onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
21756
21801
  onClick: _cache[9] || (_cache[9] = withModifiers(() => {
21757
21802
  }, ["stop"]))
21758
- }, null, 42, _hoisted_3$j)), [
21803
+ }, null, 42, _hoisted_2$A)), [
21759
21804
  [vModelCheckbox, unref(model)]
21760
21805
  ]),
21761
21806
  createElementVNode("span", {
21762
21807
  class: normalizeClass(unref(ns).e("inner"))
21763
21808
  }, null, 2)
21764
- ], 10, _hoisted_1$T),
21809
+ ], 2),
21765
21810
  unref(hasOwnLabel) ? (openBlock(), createElementBlock("span", {
21766
21811
  key: 0,
21767
21812
  class: normalizeClass(unref(ns).e("label"))
@@ -21779,8 +21824,8 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21779
21824
  });
21780
21825
  var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "checkbox.vue"]]);
21781
21826
 
21782
- const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
21783
- const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
21827
+ const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
21828
+ const _hoisted_2$z = ["name", "tabindex", "disabled", "value"];
21784
21829
  const __default__$1a = defineComponent({
21785
21830
  name: "ElCheckboxButton"
21786
21831
  });
@@ -21839,7 +21884,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21839
21884
  onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
21840
21885
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {
21841
21886
  }, ["stop"]))
21842
- }, null, 42, _hoisted_1$S)), [
21887
+ }, null, 42, _hoisted_1$T)), [
21843
21888
  [vModelCheckbox, unref(model)]
21844
21889
  ]) : withDirectives((openBlock(), createElementBlock("input", {
21845
21890
  key: 1,
@@ -21855,7 +21900,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21855
21900
  onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
21856
21901
  onClick: _cache[9] || (_cache[9] = withModifiers(() => {
21857
21902
  }, ["stop"]))
21858
- }, null, 42, _hoisted_2$y)), [
21903
+ }, null, 42, _hoisted_2$z)), [
21859
21904
  [vModelCheckbox, unref(model)]
21860
21905
  ]),
21861
21906
  _ctx.$slots.default || _ctx.label ? (openBlock(), createElementBlock("span", {
@@ -22032,7 +22077,7 @@ const useRadio = (props, emit) => {
22032
22077
  };
22033
22078
  };
22034
22079
 
22035
- const _hoisted_1$R = ["value", "name", "disabled"];
22080
+ const _hoisted_1$S = ["value", "name", "disabled"];
22036
22081
  const __default__$18 = defineComponent({
22037
22082
  name: "ElRadio"
22038
22083
  });
@@ -22080,7 +22125,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
22080
22125
  onChange: handleChange,
22081
22126
  onClick: _cache[3] || (_cache[3] = withModifiers(() => {
22082
22127
  }, ["stop"]))
22083
- }, null, 42, _hoisted_1$R), [
22128
+ }, null, 42, _hoisted_1$S), [
22084
22129
  [vModelRadio, unref(modelValue)]
22085
22130
  ]),
22086
22131
  createElementVNode("span", {
@@ -22110,7 +22155,7 @@ const radioButtonProps = buildProps({
22110
22155
  }
22111
22156
  });
22112
22157
 
22113
- const _hoisted_1$Q = ["value", "name", "disabled"];
22158
+ const _hoisted_1$R = ["value", "name", "disabled"];
22114
22159
  const __default__$17 = defineComponent({
22115
22160
  name: "ElRadioButton"
22116
22161
  });
@@ -22153,7 +22198,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
22153
22198
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
22154
22199
  onClick: _cache[3] || (_cache[3] = withModifiers(() => {
22155
22200
  }, ["stop"]))
22156
- }, null, 42, _hoisted_1$Q), [
22201
+ }, null, 42, _hoisted_1$R), [
22157
22202
  [vModelRadio, unref(modelValue)]
22158
22203
  ]),
22159
22204
  createElementVNode("span", {
@@ -22206,7 +22251,7 @@ const radioGroupProps = buildProps({
22206
22251
  });
22207
22252
  const radioGroupEmits = radioEmits;
22208
22253
 
22209
- const _hoisted_1$P = ["id", "aria-label", "aria-labelledby"];
22254
+ const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
22210
22255
  const __default__$16 = defineComponent({
22211
22256
  name: "ElRadioGroup"
22212
22257
  });
@@ -22258,7 +22303,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
22258
22303
  "aria-labelledby": unref(isLabeledByFormItem) ? unref(formItem).labelId : void 0
22259
22304
  }, [
22260
22305
  renderSlot(_ctx.$slots, "default")
22261
- ], 10, _hoisted_1$P);
22306
+ ], 10, _hoisted_1$Q);
22262
22307
  };
22263
22308
  }
22264
22309
  });
@@ -22405,8 +22450,8 @@ const _sfc_main$1H = defineComponent({
22405
22450
  };
22406
22451
  }
22407
22452
  });
22408
- const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
22409
- const _hoisted_2$x = /* @__PURE__ */ createElementVNode("span", null, null, -1);
22453
+ const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
22454
+ const _hoisted_2$y = /* @__PURE__ */ createElementVNode("span", null, null, -1);
22410
22455
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22411
22456
  const _component_el_checkbox = resolveComponent("el-checkbox");
22412
22457
  const _component_el_radio = resolveComponent("el-radio");
@@ -22454,7 +22499,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22454
22499
  }, {
22455
22500
  default: withCtx(() => [
22456
22501
  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 "),
22457
- _hoisted_2$x
22502
+ _hoisted_2$y
22458
22503
  ]),
22459
22504
  _: 1
22460
22505
  }, 8, ["model-value", "label", "disabled", "onUpdate:modelValue"])) : _ctx.isLeaf && _ctx.node.checked ? (openBlock(), createBlock(_component_el_icon, {
@@ -22488,7 +22533,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22488
22533
  _: 1
22489
22534
  }, 8, ["class"]))
22490
22535
  ], 64)) : createCommentVNode("v-if", true)
22491
- ], 42, _hoisted_1$O);
22536
+ ], 42, _hoisted_1$P);
22492
22537
  }
22493
22538
  var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$u], ["__file", "node.vue"]]);
22494
22539
 
@@ -23305,8 +23350,8 @@ const cascaderEmits = {
23305
23350
  removeTag: (val) => !!val
23306
23351
  };
23307
23352
 
23308
- const _hoisted_1$N = { key: 0 };
23309
- const _hoisted_2$w = ["placeholder", "onKeydown"];
23353
+ const _hoisted_1$O = { key: 0 };
23354
+ const _hoisted_2$x = ["placeholder", "onKeydown"];
23310
23355
  const _hoisted_3$i = ["onClick"];
23311
23356
  const COMPONENT_NAME$e = "ElCascader";
23312
23357
  const __default__$14 = defineComponent({
@@ -23781,7 +23826,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
23781
23826
  onClose: ($event) => deleteTag(tag)
23782
23827
  }, {
23783
23828
  default: withCtx(() => [
23784
- tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$N, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(unref(ElTooltip), {
23829
+ tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$O, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(unref(ElTooltip), {
23785
23830
  key: 1,
23786
23831
  disabled: popperVisible.value || !_ctx.collapseTagsTooltip,
23787
23832
  "fallback-placements": ["bottom", "top", "right", "left"],
@@ -23839,7 +23884,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
23839
23884
  onCompositionend: handleComposition,
23840
23885
  onFocus: handleFocus,
23841
23886
  onBlur: handleBlur
23842
- }, null, 42, _hoisted_2$w)), [
23887
+ }, null, 42, _hoisted_2$x)), [
23843
23888
  [vModelText, searchInputValue.value]
23844
23889
  ]) : createCommentVNode("v-if", true)
23845
23890
  ], 2)) : createCommentVNode("v-if", true)
@@ -24375,8 +24420,8 @@ const useCollapseItemDOM = (props, { focusing, isActive, id }) => {
24375
24420
  };
24376
24421
  };
24377
24422
 
24378
- const _hoisted_1$M = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
24379
- const _hoisted_2$v = ["id", "aria-hidden", "aria-labelledby"];
24423
+ const _hoisted_1$N = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
24424
+ const _hoisted_2$w = ["id", "aria-hidden", "aria-labelledby"];
24380
24425
  const __default__$_ = defineComponent({
24381
24426
  name: "ElCollapseItem"
24382
24427
  });
@@ -24433,7 +24478,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24433
24478
  ]),
24434
24479
  _: 1
24435
24480
  }, 8, ["class"])
24436
- ], 42, _hoisted_1$M),
24481
+ ], 42, _hoisted_1$N),
24437
24482
  createVNode(unref(_CollapseTransition), null, {
24438
24483
  default: withCtx(() => [
24439
24484
  withDirectives(createElementVNode("div", {
@@ -24448,7 +24493,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24448
24493
  }, [
24449
24494
  renderSlot(_ctx.$slots, "default")
24450
24495
  ], 2)
24451
- ], 10, _hoisted_2$v), [
24496
+ ], 10, _hoisted_2$w), [
24452
24497
  [vShow, unref(isActive)]
24453
24498
  ])
24454
24499
  ]),
@@ -24815,7 +24860,9 @@ const colorPickerProps = buildProps({
24815
24860
  const colorPickerEmits = {
24816
24861
  [UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNil(val),
24817
24862
  [CHANGE_EVENT]: (val) => isString$1(val) || isNil(val),
24818
- activeChange: (val) => isString$1(val) || isNil(val)
24863
+ activeChange: (val) => isString$1(val) || isNil(val),
24864
+ focus: (event) => event instanceof FocusEvent,
24865
+ blur: (event) => event instanceof FocusEvent
24819
24866
  };
24820
24867
  const colorPickerContextKey = Symbol("colorPickerContextKey");
24821
24868
 
@@ -25148,7 +25195,7 @@ const _sfc_main$1u = defineComponent({
25148
25195
  };
25149
25196
  }
25150
25197
  });
25151
- const _hoisted_1$L = ["onClick"];
25198
+ const _hoisted_1$M = ["onClick"];
25152
25199
  function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25153
25200
  return openBlock(), createElementBlock("div", {
25154
25201
  class: normalizeClass(_ctx.ns.b())
@@ -25169,7 +25216,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25169
25216
  createElementVNode("div", {
25170
25217
  style: normalizeStyle({ backgroundColor: item.value })
25171
25218
  }, null, 4)
25172
- ], 10, _hoisted_1$L);
25219
+ ], 10, _hoisted_1$M);
25173
25220
  }), 128))
25174
25221
  ], 2)
25175
25222
  ], 2);
@@ -25246,9 +25293,9 @@ const _sfc_main$1t = defineComponent({
25246
25293
  };
25247
25294
  }
25248
25295
  });
25249
- const _hoisted_1$K = /* @__PURE__ */ createElementVNode("div", null, null, -1);
25250
- const _hoisted_2$u = [
25251
- _hoisted_1$K
25296
+ const _hoisted_1$L = /* @__PURE__ */ createElementVNode("div", null, null, -1);
25297
+ const _hoisted_2$v = [
25298
+ _hoisted_1$L
25252
25299
  ];
25253
25300
  function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25254
25301
  return openBlock(), createElementBlock("div", {
@@ -25269,12 +25316,13 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25269
25316
  top: _ctx.cursorTop + "px",
25270
25317
  left: _ctx.cursorLeft + "px"
25271
25318
  })
25272
- }, _hoisted_2$u, 6)
25319
+ }, _hoisted_2$v, 6)
25273
25320
  ], 6);
25274
25321
  }
25275
25322
  var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
25276
25323
 
25277
- const _hoisted_1$J = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex", "onKeydown"];
25324
+ const _hoisted_1$K = ["onKeydown"];
25325
+ const _hoisted_2$u = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
25278
25326
  const __default__$Y = defineComponent({
25279
25327
  name: "ElColorPicker"
25280
25328
  });
@@ -25296,6 +25344,27 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25296
25344
  const sv = ref();
25297
25345
  const alpha = ref();
25298
25346
  const popper = ref();
25347
+ const triggerRef = ref();
25348
+ const inputRef = ref();
25349
+ const {
25350
+ isFocused,
25351
+ handleFocus: _handleFocus,
25352
+ handleBlur
25353
+ } = useFocusController(triggerRef, {
25354
+ beforeBlur(event) {
25355
+ var _a;
25356
+ return (_a = popper.value) == null ? void 0 : _a.isFocusInsideContent(event);
25357
+ },
25358
+ afterBlur() {
25359
+ setShowPicker(false);
25360
+ resetColor();
25361
+ }
25362
+ });
25363
+ const handleFocus = (event) => {
25364
+ if (colorDisabled.value)
25365
+ return blur();
25366
+ _handleFocus(event);
25367
+ };
25299
25368
  let shouldActiveChange = true;
25300
25369
  const color = reactive(new Color({
25301
25370
  enableAlpha: props.showAlpha,
@@ -25324,7 +25393,8 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25324
25393
  return [
25325
25394
  ns.b("picker"),
25326
25395
  ns.is("disabled", colorDisabled.value),
25327
- ns.bm("picker", colorSize.value)
25396
+ ns.bm("picker", colorSize.value),
25397
+ ns.is("focused", isFocused.value)
25328
25398
  ];
25329
25399
  });
25330
25400
  function displayedRgb(color2, showAlpha) {
@@ -25395,6 +25465,41 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25395
25465
  }
25396
25466
  resetColor();
25397
25467
  }
25468
+ function handleClickOutside(event) {
25469
+ if (!showPicker.value)
25470
+ return;
25471
+ hide();
25472
+ if (isFocused.value) {
25473
+ const _event = new FocusEvent("focus", event);
25474
+ handleBlur(_event);
25475
+ }
25476
+ }
25477
+ function handleEsc(event) {
25478
+ event.preventDefault();
25479
+ event.stopPropagation();
25480
+ setShowPicker(false);
25481
+ resetColor();
25482
+ }
25483
+ function handleKeyDown(event) {
25484
+ switch (event.code) {
25485
+ case EVENT_CODE.enter:
25486
+ case EVENT_CODE.space:
25487
+ event.preventDefault();
25488
+ event.stopPropagation();
25489
+ show();
25490
+ inputRef.value.focus();
25491
+ break;
25492
+ case EVENT_CODE.esc:
25493
+ handleEsc(event);
25494
+ break;
25495
+ }
25496
+ }
25497
+ function focus() {
25498
+ triggerRef.value.focus();
25499
+ }
25500
+ function blur() {
25501
+ triggerRef.value.blur();
25502
+ }
25398
25503
  onMounted(() => {
25399
25504
  if (props.modelValue) {
25400
25505
  customInput.value = currentColor.value;
@@ -25432,7 +25537,9 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25432
25537
  expose({
25433
25538
  color,
25434
25539
  show,
25435
- hide
25540
+ hide,
25541
+ focus,
25542
+ blur
25436
25543
  });
25437
25544
  return (_ctx, _cache) => {
25438
25545
  return openBlock(), createBlock(unref(ElTooltip), {
@@ -25448,10 +25555,13 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25448
25555
  effect: "light",
25449
25556
  trigger: "click",
25450
25557
  transition: `${unref(ns).namespace.value}-zoom-in-top`,
25451
- persistent: ""
25558
+ persistent: "",
25559
+ onHide: _cache[2] || (_cache[2] = ($event) => setShowPicker(false))
25452
25560
  }, {
25453
25561
  content: withCtx(() => [
25454
- withDirectives((openBlock(), createElementBlock("div", null, [
25562
+ withDirectives((openBlock(), createElementBlock("div", {
25563
+ onKeydown: withKeys(handleEsc, ["esc"])
25564
+ }, [
25455
25565
  createElementVNode("div", {
25456
25566
  class: normalizeClass(unref(ns).be("dropdown", "main-wrapper"))
25457
25567
  }, [
@@ -25487,6 +25597,8 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25487
25597
  class: normalizeClass(unref(ns).be("dropdown", "value"))
25488
25598
  }, [
25489
25599
  createVNode(unref(ElInput), {
25600
+ ref_key: "inputRef",
25601
+ ref: inputRef,
25490
25602
  modelValue: customInput.value,
25491
25603
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customInput.value = $event),
25492
25604
  "validate-event": false,
@@ -25518,20 +25630,25 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25518
25630
  _: 1
25519
25631
  }, 8, ["class"])
25520
25632
  ], 2)
25521
- ])), [
25522
- [unref(ClickOutside), hide]
25633
+ ], 40, _hoisted_1$K)), [
25634
+ [unref(ClickOutside), handleClickOutside]
25523
25635
  ])
25524
25636
  ]),
25525
25637
  default: withCtx(() => [
25526
25638
  createElementVNode("div", {
25527
25639
  id: unref(buttonId),
25640
+ ref_key: "triggerRef",
25641
+ ref: triggerRef,
25528
25642
  class: normalizeClass(unref(btnKls)),
25529
25643
  role: "button",
25530
25644
  "aria-label": unref(buttonAriaLabel),
25531
25645
  "aria-labelledby": unref(buttonAriaLabelledby),
25532
25646
  "aria-description": unref(t)("el.colorpicker.description", { color: _ctx.modelValue || "" }),
25533
- tabindex: _ctx.tabindex,
25534
- onKeydown: withKeys(handleTrigger, ["enter"])
25647
+ "aria-disabled": unref(colorDisabled),
25648
+ tabindex: unref(colorDisabled) ? -1 : _ctx.tabindex,
25649
+ onKeydown: handleKeyDown,
25650
+ onFocus: handleFocus,
25651
+ onBlur: _cache[1] || (_cache[1] = (...args) => unref(handleBlur) && unref(handleBlur)(...args))
25535
25652
  }, [
25536
25653
  unref(colorDisabled) ? (openBlock(), createElementBlock("div", {
25537
25654
  key: 0,
@@ -25573,7 +25690,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25573
25690
  ], 6)
25574
25691
  ], 2)
25575
25692
  ], 2)
25576
- ], 42, _hoisted_1$J)
25693
+ ], 42, _hoisted_2$u)
25577
25694
  ]),
25578
25695
  _: 1
25579
25696
  }, 8, ["visible", "popper-class", "transition"]);
@@ -26408,7 +26525,7 @@ var ElDatePickerCell = defineComponent({
26408
26525
  }
26409
26526
  });
26410
26527
 
26411
- const _hoisted_1$I = ["aria-label"];
26528
+ const _hoisted_1$J = ["aria-label"];
26412
26529
  const _hoisted_2$t = {
26413
26530
  key: 0,
26414
26531
  scope: "col"
@@ -26491,7 +26608,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
26491
26608
  ], 2);
26492
26609
  }), 128))
26493
26610
  ], 512)
26494
- ], 42, _hoisted_1$I);
26611
+ ], 42, _hoisted_1$J);
26495
26612
  };
26496
26613
  }
26497
26614
  });
@@ -26502,7 +26619,7 @@ const basicMonthTableProps = buildProps({
26502
26619
  selectionMode: selectionModeWithDefault("month")
26503
26620
  });
26504
26621
 
26505
- const _hoisted_1$H = ["aria-label"];
26622
+ const _hoisted_1$I = ["aria-label"];
26506
26623
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
26507
26624
  const _hoisted_3$g = { class: "cell" };
26508
26625
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
@@ -26694,7 +26811,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
26694
26811
  ]);
26695
26812
  }), 128))
26696
26813
  ], 512)
26697
- ], 42, _hoisted_1$H);
26814
+ ], 42, _hoisted_1$I);
26698
26815
  };
26699
26816
  }
26700
26817
  });
@@ -26707,7 +26824,7 @@ const basicYearTableProps = buildProps({
26707
26824
  parsedValue
26708
26825
  });
26709
26826
 
26710
- const _hoisted_1$G = ["aria-label"];
26827
+ const _hoisted_1$H = ["aria-label"];
26711
26828
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
26712
26829
  const _hoisted_3$f = { class: "cell" };
26713
26830
  const _hoisted_4$a = { key: 1 };
@@ -26801,13 +26918,13 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
26801
26918
  ]);
26802
26919
  }), 64))
26803
26920
  ], 512)
26804
- ], 10, _hoisted_1$G);
26921
+ ], 10, _hoisted_1$H);
26805
26922
  };
26806
26923
  }
26807
26924
  });
26808
26925
  var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "basic-year-table.vue"]]);
26809
26926
 
26810
- const _hoisted_1$F = ["onClick"];
26927
+ const _hoisted_1$G = ["onClick"];
26811
26928
  const _hoisted_2$q = ["aria-label"];
26812
26929
  const _hoisted_3$e = ["aria-label"];
26813
26930
  const _hoisted_4$9 = ["aria-label"];
@@ -27239,7 +27356,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
27239
27356
  type: "button",
27240
27357
  class: normalizeClass(unref(ppNs).e("shortcut")),
27241
27358
  onClick: ($event) => handleShortcutClick(shortcut)
27242
- }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
27359
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$G);
27243
27360
  }), 128))
27244
27361
  ], 2)) : createCommentVNode("v-if", true),
27245
27362
  createElementVNode("div", {
@@ -27556,7 +27673,7 @@ const useRangePicker = (props, {
27556
27673
  };
27557
27674
  };
27558
27675
 
27559
- const _hoisted_1$E = ["onClick"];
27676
+ const _hoisted_1$F = ["onClick"];
27560
27677
  const _hoisted_2$p = ["aria-label"];
27561
27678
  const _hoisted_3$d = ["aria-label"];
27562
27679
  const _hoisted_4$8 = ["disabled", "aria-label"];
@@ -27907,7 +28024,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
27907
28024
  type: "button",
27908
28025
  class: normalizeClass(unref(ppNs).e("shortcut")),
27909
28026
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
27910
- }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
28027
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
27911
28028
  }), 128))
27912
28029
  ], 2)) : createCommentVNode("v-if", true),
27913
28030
  createElementVNode("div", {
@@ -28266,7 +28383,7 @@ const useMonthRangeHeader = ({
28266
28383
  };
28267
28384
  };
28268
28385
 
28269
- const _hoisted_1$D = ["onClick"];
28386
+ const _hoisted_1$E = ["onClick"];
28270
28387
  const _hoisted_2$o = ["disabled"];
28271
28388
  const _hoisted_3$c = ["disabled"];
28272
28389
  const unit = "year";
@@ -28372,7 +28489,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
28372
28489
  type: "button",
28373
28490
  class: normalizeClass(unref(ppNs).e("shortcut")),
28374
28491
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
28375
- }, toDisplayString(shortcut.text), 11, _hoisted_1$D);
28492
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
28376
28493
  }), 128))
28377
28494
  ], 2)) : createCommentVNode("v-if", true),
28378
28495
  createElementVNode("div", {
@@ -28656,7 +28773,7 @@ const descriptionsRowProps = buildProps({
28656
28773
  }
28657
28774
  });
28658
28775
 
28659
- const _hoisted_1$C = { key: 1 };
28776
+ const _hoisted_1$D = { key: 1 };
28660
28777
  const __default__$R = defineComponent({
28661
28778
  name: "ElDescriptionsRow"
28662
28779
  });
@@ -28687,7 +28804,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
28687
28804
  }, null, 8, ["cell"]);
28688
28805
  }), 128))
28689
28806
  ])
28690
- ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$C, [
28807
+ ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$D, [
28691
28808
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
28692
28809
  return openBlock(), createElementBlock(Fragment, {
28693
28810
  key: `tr3-${_index}`
@@ -28983,7 +29100,7 @@ const dialogContentEmits = {
28983
29100
  close: () => true
28984
29101
  };
28985
29102
 
28986
- const _hoisted_1$B = ["aria-level"];
29103
+ const _hoisted_1$C = ["aria-level"];
28987
29104
  const _hoisted_2$n = ["aria-label"];
28988
29105
  const _hoisted_3$b = ["id"];
28989
29106
  const __default__$P = defineComponent({ name: "ElDialogContent" });
@@ -29025,7 +29142,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
29025
29142
  role: "heading",
29026
29143
  "aria-level": _ctx.ariaLevel,
29027
29144
  class: normalizeClass(unref(ns).e("title"))
29028
- }, toDisplayString(_ctx.title), 11, _hoisted_1$B)
29145
+ }, toDisplayString(_ctx.title), 11, _hoisted_1$C)
29029
29146
  ]),
29030
29147
  _ctx.showClose ? (openBlock(), createElementBlock("button", {
29031
29148
  key: 0,
@@ -29291,7 +29408,7 @@ const useDialog = (props, targetRef) => {
29291
29408
  };
29292
29409
  };
29293
29410
 
29294
- const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
29411
+ const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
29295
29412
  const __default__$O = defineComponent({
29296
29413
  name: "ElDialog",
29297
29414
  inheritAttrs: false
@@ -29435,7 +29552,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
29435
29552
  ]),
29436
29553
  _: 3
29437
29554
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
29438
- ], 46, _hoisted_1$A)
29555
+ ], 46, _hoisted_1$B)
29439
29556
  ]),
29440
29557
  _: 3
29441
29558
  }, 8, ["mask", "overlay-class", "z-index"]), [
@@ -29573,7 +29690,7 @@ const _sfc_main$1b = defineComponent({
29573
29690
  };
29574
29691
  }
29575
29692
  });
29576
- const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
29693
+ const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
29577
29694
  const _hoisted_2$m = ["id", "aria-level"];
29578
29695
  const _hoisted_3$a = ["aria-label"];
29579
29696
  const _hoisted_4$7 = ["id"];
@@ -29677,7 +29794,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
29677
29794
  }, [
29678
29795
  renderSlot(_ctx.$slots, "footer")
29679
29796
  ], 2)) : createCommentVNode("v-if", true)
29680
- ], 16, _hoisted_1$z)
29797
+ ], 16, _hoisted_1$A)
29681
29798
  ]),
29682
29799
  _: 3
29683
29800
  }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
@@ -30493,7 +30610,7 @@ const _sfc_main$14 = defineComponent({
30493
30610
  };
30494
30611
  }
30495
30612
  });
30496
- const _hoisted_1$y = ["aria-disabled", "tabindex", "role"];
30613
+ const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
30497
30614
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
30498
30615
  const _component_el_icon = resolveComponent("el-icon");
30499
30616
  return openBlock(), createElementBlock(Fragment, null, [
@@ -30521,7 +30638,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
30521
30638
  _: 1
30522
30639
  })) : createCommentVNode("v-if", true),
30523
30640
  renderSlot(_ctx.$slots, "default")
30524
- ], 16, _hoisted_1$y)
30641
+ ], 16, _hoisted_1$z)
30525
30642
  ], 64);
30526
30643
  }
30527
30644
  var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$h], ["__file", "dropdown-item-impl.vue"]]);
@@ -30702,7 +30819,7 @@ const _sfc_main$12 = defineComponent({
30702
30819
  };
30703
30820
  }
30704
30821
  });
30705
- const _hoisted_1$x = ["role", "aria-labelledby"];
30822
+ const _hoisted_1$y = ["role", "aria-labelledby"];
30706
30823
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
30707
30824
  return openBlock(), createElementBlock("ul", {
30708
30825
  ref: _ctx.dropdownListWrapperRef,
@@ -30717,7 +30834,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
30717
30834
  onMousedown: _cache[3] || (_cache[3] = withModifiers((...args) => _ctx.onMousedown && _ctx.onMousedown(...args), ["self"]))
30718
30835
  }, [
30719
30836
  renderSlot(_ctx.$slots, "default")
30720
- ], 46, _hoisted_1$x);
30837
+ ], 46, _hoisted_1$y);
30721
30838
  }
30722
30839
  var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$f], ["__file", "dropdown-menu.vue"]]);
30723
30840
 
@@ -30728,7 +30845,7 @@ const ElDropdown = withInstall(Dropdown, {
30728
30845
  const ElDropdownItem = withNoopInstall(DropdownItem);
30729
30846
  const ElDropdownMenu = withNoopInstall(DropdownMenu);
30730
30847
 
30731
- const _hoisted_1$w = {
30848
+ const _hoisted_1$x = {
30732
30849
  viewBox: "0 0 79 86",
30733
30850
  version: "1.1",
30734
30851
  xmlns: "http://www.w3.org/2000/svg",
@@ -30783,7 +30900,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
30783
30900
  const ns = useNamespace("empty");
30784
30901
  const id = useId();
30785
30902
  return (_ctx, _cache) => {
30786
- return openBlock(), createElementBlock("svg", _hoisted_1$w, [
30903
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, [
30787
30904
  createElementVNode("defs", null, [
30788
30905
  createElementVNode("linearGradient", {
30789
30906
  id: `linearGradient-1-${unref(id)}`,
@@ -30917,7 +31034,7 @@ const emptyProps = buildProps({
30917
31034
  }
30918
31035
  });
30919
31036
 
30920
- const _hoisted_1$v = ["src"];
31037
+ const _hoisted_1$w = ["src"];
30921
31038
  const _hoisted_2$k = { key: 1 };
30922
31039
  const __default__$L = defineComponent({
30923
31040
  name: "ElEmpty"
@@ -30945,7 +31062,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
30945
31062
  key: 0,
30946
31063
  src: _ctx.image,
30947
31064
  ondragstart: "return false"
30948
- }, null, 8, _hoisted_1$v)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
31065
+ }, null, 8, _hoisted_1$w)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
30949
31066
  createVNode(ImgEmpty)
30950
31067
  ])
30951
31068
  ], 6),
@@ -30993,6 +31110,14 @@ const imageViewerProps = buildProps({
30993
31110
  zoomRate: {
30994
31111
  type: Number,
30995
31112
  default: 1.2
31113
+ },
31114
+ minScale: {
31115
+ type: Number,
31116
+ default: 0.2
31117
+ },
31118
+ maxScale: {
31119
+ type: Number,
31120
+ default: 7
30996
31121
  }
30997
31122
  });
30998
31123
  const imageViewerEmits = {
@@ -31001,7 +31126,7 @@ const imageViewerEmits = {
31001
31126
  rotate: (deg) => isNumber(deg)
31002
31127
  };
31003
31128
 
31004
- const _hoisted_1$u = ["src"];
31129
+ const _hoisted_1$v = ["src"];
31005
31130
  const __default__$K = defineComponent({
31006
31131
  name: "ElImageViewer"
31007
31132
  });
@@ -31196,6 +31321,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
31196
31321
  function handleActions(action, options = {}) {
31197
31322
  if (loading.value)
31198
31323
  return;
31324
+ const { minScale, maxScale } = props;
31199
31325
  const { zoomRate, rotateDeg, enableTransition } = {
31200
31326
  zoomRate: props.zoomRate,
31201
31327
  rotateDeg: 90,
@@ -31204,12 +31330,12 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
31204
31330
  };
31205
31331
  switch (action) {
31206
31332
  case "zoomOut":
31207
- if (transform.value.scale > 0.2) {
31333
+ if (transform.value.scale > minScale) {
31208
31334
  transform.value.scale = Number.parseFloat((transform.value.scale / zoomRate).toFixed(3));
31209
31335
  }
31210
31336
  break;
31211
31337
  case "zoomIn":
31212
- if (transform.value.scale < 7) {
31338
+ if (transform.value.scale < maxScale) {
31213
31339
  transform.value.scale = Number.parseFloat((transform.value.scale * zoomRate).toFixed(3));
31214
31340
  }
31215
31341
  break;
@@ -31370,7 +31496,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
31370
31496
  onLoad: handleImgLoad,
31371
31497
  onError: handleImgError,
31372
31498
  onMousedown: handleMouseDown
31373
- }, null, 46, _hoisted_1$u)), [
31499
+ }, null, 46, _hoisted_1$v)), [
31374
31500
  [vShow, i === activeIndex.value]
31375
31501
  ]);
31376
31502
  }), 128))
@@ -31430,6 +31556,14 @@ const imageProps = buildProps({
31430
31556
  zoomRate: {
31431
31557
  type: Number,
31432
31558
  default: 1.2
31559
+ },
31560
+ minScale: {
31561
+ type: Number,
31562
+ default: 0.2
31563
+ },
31564
+ maxScale: {
31565
+ type: Number,
31566
+ default: 7
31433
31567
  }
31434
31568
  });
31435
31569
  const imageEmits = {
@@ -31440,7 +31574,7 @@ const imageEmits = {
31440
31574
  show: () => true
31441
31575
  };
31442
31576
 
31443
- const _hoisted_1$t = ["src", "loading"];
31577
+ const _hoisted_1$u = ["src", "loading"];
31444
31578
  const _hoisted_2$j = { key: 0 };
31445
31579
  const __default__$J = defineComponent({
31446
31580
  name: "ElImage",
@@ -31612,7 +31746,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31612
31746
  onClick: clickHandler,
31613
31747
  onLoad: handleLoad,
31614
31748
  onError: handleError
31615
- }), null, 16, _hoisted_1$t)) : createCommentVNode("v-if", true),
31749
+ }), null, 16, _hoisted_1$u)) : createCommentVNode("v-if", true),
31616
31750
  isLoading.value ? (openBlock(), createElementBlock("div", {
31617
31751
  key: 1,
31618
31752
  class: normalizeClass(unref(ns).e("wrapper"))
@@ -31631,6 +31765,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31631
31765
  "initial-index": unref(imageIndex),
31632
31766
  infinite: _ctx.infinite,
31633
31767
  "zoom-rate": _ctx.zoomRate,
31768
+ "min-scale": _ctx.minScale,
31769
+ "max-scale": _ctx.maxScale,
31634
31770
  "url-list": _ctx.previewSrcList,
31635
31771
  "hide-on-click-modal": _ctx.hideOnClickModal,
31636
31772
  teleported: _ctx.previewTeleported,
@@ -31644,7 +31780,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31644
31780
  ])) : createCommentVNode("v-if", true)
31645
31781
  ]),
31646
31782
  _: 3
31647
- }, 8, ["z-index", "initial-index", "infinite", "zoom-rate", "url-list", "hide-on-click-modal", "teleported", "close-on-press-escape"])) : createCommentVNode("v-if", true)
31783
+ }, 8, ["z-index", "initial-index", "infinite", "zoom-rate", "min-scale", "max-scale", "url-list", "hide-on-click-modal", "teleported", "close-on-press-escape"])) : createCommentVNode("v-if", true)
31648
31784
  ], 64)) : createCommentVNode("v-if", true)
31649
31785
  ], 6);
31650
31786
  };
@@ -31710,7 +31846,7 @@ const inputNumberEmits = {
31710
31846
  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
31711
31847
  };
31712
31848
 
31713
- const _hoisted_1$s = ["aria-label", "onKeydown"];
31849
+ const _hoisted_1$t = ["aria-label", "onKeydown"];
31714
31850
  const _hoisted_2$i = ["aria-label", "onKeydown"];
31715
31851
  const __default__$I = defineComponent({
31716
31852
  name: "ElInputNumber"
@@ -31955,7 +32091,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
31955
32091
  ]),
31956
32092
  _: 1
31957
32093
  })
31958
- ], 42, _hoisted_1$s)), [
32094
+ ], 42, _hoisted_1$t)), [
31959
32095
  [unref(vRepeatClick), decrease]
31960
32096
  ]) : createCommentVNode("v-if", true),
31961
32097
  _ctx.controls ? withDirectives((openBlock(), createElementBlock("span", {
@@ -32029,7 +32165,7 @@ const linkEmits = {
32029
32165
  click: (evt) => evt instanceof MouseEvent
32030
32166
  };
32031
32167
 
32032
- const _hoisted_1$r = ["href"];
32168
+ const _hoisted_1$s = ["href"];
32033
32169
  const __default__$H = defineComponent({
32034
32170
  name: "ElLink"
32035
32171
  });
@@ -32069,7 +32205,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32069
32205
  renderSlot(_ctx.$slots, "default")
32070
32206
  ], 2)) : createCommentVNode("v-if", true),
32071
32207
  _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 2 }) : createCommentVNode("v-if", true)
32072
- ], 10, _hoisted_1$r);
32208
+ ], 10, _hoisted_1$s);
32073
32209
  };
32074
32210
  }
32075
32211
  });
@@ -33057,7 +33193,7 @@ const pageHeaderEmits = {
33057
33193
  back: () => true
33058
33194
  };
33059
33195
 
33060
- const _hoisted_1$q = ["aria-label"];
33196
+ const _hoisted_1$r = ["aria-label"];
33061
33197
  const __default__$G = defineComponent({
33062
33198
  name: "ElPageHeader"
33063
33199
  });
@@ -33117,7 +33253,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
33117
33253
  _: 1
33118
33254
  })) : createCommentVNode("v-if", true)
33119
33255
  ])
33120
- ], 10, _hoisted_1$q)) : createCommentVNode("v-if", true),
33256
+ ], 10, _hoisted_1$r)) : createCommentVNode("v-if", true),
33121
33257
  createElementVNode("div", {
33122
33258
  class: normalizeClass(unref(ns).e("title"))
33123
33259
  }, [
@@ -33175,7 +33311,7 @@ const paginationPrevEmits = {
33175
33311
  click: (evt) => evt instanceof MouseEvent
33176
33312
  };
33177
33313
 
33178
- const _hoisted_1$p = ["disabled", "aria-label", "aria-disabled"];
33314
+ const _hoisted_1$q = ["disabled", "aria-label", "aria-disabled"];
33179
33315
  const _hoisted_2$h = { key: 0 };
33180
33316
  const __default__$F = defineComponent({
33181
33317
  name: "ElPaginationPrev"
@@ -33203,7 +33339,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
33203
33339
  ]),
33204
33340
  _: 1
33205
33341
  }))
33206
- ], 8, _hoisted_1$p);
33342
+ ], 8, _hoisted_1$q);
33207
33343
  };
33208
33344
  }
33209
33345
  });
@@ -33227,7 +33363,7 @@ const paginationNextProps = buildProps({
33227
33363
  }
33228
33364
  });
33229
33365
 
33230
- const _hoisted_1$o = ["disabled", "aria-label", "aria-disabled"];
33366
+ const _hoisted_1$p = ["disabled", "aria-label", "aria-disabled"];
33231
33367
  const _hoisted_2$g = { key: 0 };
33232
33368
  const __default__$E = defineComponent({
33233
33369
  name: "ElPaginationNext"
@@ -33255,7 +33391,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
33255
33391
  ]),
33256
33392
  _: 1
33257
33393
  }))
33258
- ], 8, _hoisted_1$o);
33394
+ ], 8, _hoisted_1$p);
33259
33395
  };
33260
33396
  }
33261
33397
  });
@@ -33369,6 +33505,7 @@ const _sfc_main$R = defineComponent({
33369
33505
  },
33370
33506
  setup(props) {
33371
33507
  const ns = useNamespace("select");
33508
+ const id = useId();
33372
33509
  const containerKls = computed$1(() => [
33373
33510
  ns.be("dropdown", "item"),
33374
33511
  ns.is("disabled", unref(isDisabled)),
@@ -33409,6 +33546,7 @@ const _sfc_main$R = defineComponent({
33409
33546
  }
33410
33547
  return {
33411
33548
  ns,
33549
+ id,
33412
33550
  containerKls,
33413
33551
  currentLabel,
33414
33552
  itemSelected,
@@ -33422,16 +33560,21 @@ const _sfc_main$R = defineComponent({
33422
33560
  };
33423
33561
  }
33424
33562
  });
33563
+ const _hoisted_1$o = ["id", "aria-disabled", "aria-selected"];
33425
33564
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33426
33565
  return withDirectives((openBlock(), createElementBlock("li", {
33566
+ id: _ctx.id,
33427
33567
  class: normalizeClass(_ctx.containerKls),
33568
+ role: "option",
33569
+ "aria-disabled": _ctx.isDisabled || void 0,
33570
+ "aria-selected": _ctx.itemSelected,
33428
33571
  onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.hoverItem && _ctx.hoverItem(...args)),
33429
33572
  onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.selectOptionClick && _ctx.selectOptionClick(...args), ["stop"]))
33430
33573
  }, [
33431
33574
  renderSlot(_ctx.$slots, "default", {}, () => [
33432
33575
  createElementVNode("span", null, toDisplayString(_ctx.currentLabel), 1)
33433
33576
  ])
33434
- ], 34)), [
33577
+ ], 42, _hoisted_1$o)), [
33435
33578
  [vShow, _ctx.visible]
33436
33579
  ]);
33437
33580
  }
@@ -33520,7 +33663,7 @@ const useSelect$3 = (props, states, ctx) => {
33520
33663
  const tags = ref(null);
33521
33664
  const selectWrapper = ref(null);
33522
33665
  const scrollbar = ref(null);
33523
- const hoverOption = ref(-1);
33666
+ const hoverOption = ref();
33524
33667
  const queryChange = shallowRef({ query: "" });
33525
33668
  const groupQueryChange = shallowRef("");
33526
33669
  const optionList = ref([]);
@@ -33714,7 +33857,8 @@ const useSelect$3 = (props, states, ctx) => {
33714
33857
  const input2 = reference.value.$el.querySelector("input");
33715
33858
  originClientHeight = originClientHeight || (input2.clientHeight > 0 ? input2.clientHeight + 2 : 0);
33716
33859
  const _tags = tags.value;
33717
- const gotSize = getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
33860
+ const cssVarOfSelectSize = getComputedStyle(input2).getPropertyValue(ns.cssVarName("input-height"));
33861
+ const gotSize = cssVarOfSelectSize || getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
33718
33862
  const sizeInMap = selectSize.value || gotSize === originClientHeight || originClientHeight <= 0 ? gotSize : originClientHeight;
33719
33863
  const isElHidden = input2.offsetParent === null;
33720
33864
  !isElHidden && (input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`);
@@ -34165,6 +34309,7 @@ const useSelect$3 = (props, states, ctx) => {
34165
34309
  return {
34166
34310
  optionList,
34167
34311
  optionsArray,
34312
+ hoverOption,
34168
34313
  selectSize,
34169
34314
  handleResize,
34170
34315
  debouncedOnInputChange,
@@ -34392,10 +34537,12 @@ const _sfc_main$P = defineComponent({
34392
34537
  const nsSelect = useNamespace("select");
34393
34538
  const nsInput = useNamespace("input");
34394
34539
  const { t } = useLocale();
34540
+ const contentId = useId();
34395
34541
  const states = useSelectStates(props);
34396
34542
  const {
34397
34543
  optionList,
34398
34544
  optionsArray,
34545
+ hoverOption,
34399
34546
  selectSize,
34400
34547
  readonly,
34401
34548
  handleResize,
@@ -34637,11 +34784,13 @@ const _sfc_main$P = defineComponent({
34637
34784
  handleMouseLeave,
34638
34785
  showTagList,
34639
34786
  collapseTagList,
34640
- tagTooltipRef
34787
+ tagTooltipRef,
34788
+ contentId,
34789
+ hoverOption
34641
34790
  };
34642
34791
  }
34643
34792
  });
34644
- const _hoisted_1$n = ["disabled", "autocomplete", "aria-label"];
34793
+ const _hoisted_1$n = ["disabled", "autocomplete", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label"];
34645
34794
  const _hoisted_2$f = ["disabled"];
34646
34795
  const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
34647
34796
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
@@ -34678,258 +34827,276 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34678
34827
  persistent: _ctx.persistent,
34679
34828
  onShow: _ctx.handleMenuEnter
34680
34829
  }, {
34681
- default: withCtx(() => [
34682
- createElementVNode("div", {
34683
- class: "select-trigger",
34684
- onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),
34685
- onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)
34686
- }, [
34687
- _ctx.multiple ? (openBlock(), createElementBlock("div", {
34688
- key: 0,
34689
- ref: "tags",
34690
- tabindex: "-1",
34691
- class: normalizeClass(_ctx.tagsKls),
34692
- style: normalizeStyle(_ctx.selectTagsStyle),
34693
- onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
34830
+ default: withCtx(() => {
34831
+ var _a, _b;
34832
+ return [
34833
+ createElementVNode("div", {
34834
+ class: "select-trigger",
34835
+ onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),
34836
+ onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)
34694
34837
  }, [
34695
- _ctx.collapseTags && _ctx.selected.length ? (openBlock(), createBlock(Transition, {
34838
+ _ctx.multiple ? (openBlock(), createElementBlock("div", {
34696
34839
  key: 0,
34697
- onAfterLeave: _ctx.resetInputHeight
34698
- }, {
34699
- default: withCtx(() => [
34700
- createElementVNode("span", {
34701
- class: normalizeClass(_ctx.tagWrapperKls)
34702
- }, [
34703
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.showTagList, (item) => {
34704
- return openBlock(), createBlock(_component_el_tag, {
34705
- key: _ctx.getValueKey(item),
34706
- closable: !_ctx.selectDisabled && !item.isDisabled,
34707
- size: _ctx.collapseTagSize,
34708
- hit: item.hitState,
34709
- type: _ctx.tagType,
34710
- "disable-transitions": "",
34711
- onClose: ($event) => _ctx.deleteTag($event, item)
34712
- }, {
34713
- default: withCtx(() => [
34714
- createElementVNode("span", {
34715
- class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34716
- style: normalizeStyle(_ctx.tagTextStyle)
34717
- }, toDisplayString(item.currentLabel), 7)
34718
- ]),
34719
- _: 2
34720
- }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34721
- }), 128)),
34722
- _ctx.selected.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tag, {
34723
- key: 0,
34724
- closable: false,
34725
- size: _ctx.collapseTagSize,
34726
- type: _ctx.tagType,
34727
- "disable-transitions": ""
34728
- }, {
34729
- default: withCtx(() => [
34730
- _ctx.collapseTagsTooltip ? (openBlock(), createBlock(_component_el_tooltip, {
34731
- key: 0,
34732
- ref: "tagTooltipRef",
34733
- disabled: _ctx.dropMenuVisible,
34734
- "fallback-placements": ["bottom", "top", "right", "left"],
34735
- effect: _ctx.effect,
34736
- placement: "bottom",
34737
- teleported: _ctx.teleported
34840
+ ref: "tags",
34841
+ tabindex: "-1",
34842
+ class: normalizeClass(_ctx.tagsKls),
34843
+ style: normalizeStyle(_ctx.selectTagsStyle),
34844
+ onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
34845
+ }, [
34846
+ _ctx.collapseTags && _ctx.selected.length ? (openBlock(), createBlock(Transition, {
34847
+ key: 0,
34848
+ onAfterLeave: _ctx.resetInputHeight
34849
+ }, {
34850
+ default: withCtx(() => [
34851
+ createElementVNode("span", {
34852
+ class: normalizeClass(_ctx.tagWrapperKls)
34853
+ }, [
34854
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.showTagList, (item) => {
34855
+ return openBlock(), createBlock(_component_el_tag, {
34856
+ key: _ctx.getValueKey(item),
34857
+ closable: !_ctx.selectDisabled && !item.isDisabled,
34858
+ size: _ctx.collapseTagSize,
34859
+ hit: item.hitState,
34860
+ type: _ctx.tagType,
34861
+ "disable-transitions": "",
34862
+ onClose: ($event) => _ctx.deleteTag($event, item)
34738
34863
  }, {
34739
34864
  default: withCtx(() => [
34740
34865
  createElementVNode("span", {
34741
- class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34742
- }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3)
34743
- ]),
34744
- content: withCtx(() => [
34745
- createElementVNode("div", {
34746
- class: normalizeClass(_ctx.nsSelect.e("collapse-tags"))
34747
- }, [
34748
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.collapseTagList, (item) => {
34749
- return openBlock(), createElementBlock("div", {
34750
- key: _ctx.getValueKey(item),
34751
- class: normalizeClass(_ctx.nsSelect.e("collapse-tag"))
34752
- }, [
34753
- createVNode(_component_el_tag, {
34754
- class: "in-tooltip",
34755
- closable: !_ctx.selectDisabled && !item.isDisabled,
34756
- size: _ctx.collapseTagSize,
34757
- hit: item.hitState,
34758
- type: _ctx.tagType,
34759
- "disable-transitions": "",
34760
- style: { margin: "2px" },
34761
- onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
34762
- }, {
34763
- default: withCtx(() => [
34764
- createElementVNode("span", {
34765
- class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34766
- style: normalizeStyle({
34767
- maxWidth: _ctx.inputWidth - 75 + "px"
34768
- })
34769
- }, toDisplayString(item.currentLabel), 7)
34770
- ]),
34771
- _: 2
34772
- }, 1032, ["closable", "size", "hit", "type", "onClose"])
34773
- ], 2);
34774
- }), 128))
34775
- ], 2)
34866
+ class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34867
+ style: normalizeStyle(_ctx.tagTextStyle)
34868
+ }, toDisplayString(item.currentLabel), 7)
34776
34869
  ]),
34777
- _: 1
34778
- }, 8, ["disabled", "effect", "teleported"])) : (openBlock(), createElementBlock("span", {
34779
- key: 1,
34780
- class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34781
- }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3))
34782
- ]),
34783
- _: 1
34784
- }, 8, ["size", "type"])) : createCommentVNode("v-if", true)
34785
- ], 2)
34786
- ]),
34787
- _: 1
34788
- }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34789
- !_ctx.collapseTags ? (openBlock(), createBlock(Transition, {
34790
- key: 1,
34791
- onAfterLeave: _ctx.resetInputHeight
34792
- }, {
34793
- default: withCtx(() => [
34794
- createElementVNode("span", {
34795
- class: normalizeClass(_ctx.tagWrapperKls),
34796
- style: normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
34797
- }, [
34798
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
34799
- return openBlock(), createBlock(_component_el_tag, {
34800
- key: _ctx.getValueKey(item),
34801
- closable: !_ctx.selectDisabled && !item.isDisabled,
34870
+ _: 2
34871
+ }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34872
+ }), 128)),
34873
+ _ctx.selected.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tag, {
34874
+ key: 0,
34875
+ closable: false,
34802
34876
  size: _ctx.collapseTagSize,
34803
- hit: item.hitState,
34804
34877
  type: _ctx.tagType,
34805
- "disable-transitions": "",
34806
- onClose: ($event) => _ctx.deleteTag($event, item)
34878
+ "disable-transitions": ""
34807
34879
  }, {
34808
34880
  default: withCtx(() => [
34809
- createElementVNode("span", {
34810
- class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34811
- style: normalizeStyle({ maxWidth: _ctx.inputWidth - 75 + "px" })
34812
- }, toDisplayString(item.currentLabel), 7)
34881
+ _ctx.collapseTagsTooltip ? (openBlock(), createBlock(_component_el_tooltip, {
34882
+ key: 0,
34883
+ ref: "tagTooltipRef",
34884
+ disabled: _ctx.dropMenuVisible,
34885
+ "fallback-placements": ["bottom", "top", "right", "left"],
34886
+ effect: _ctx.effect,
34887
+ placement: "bottom",
34888
+ teleported: _ctx.teleported
34889
+ }, {
34890
+ default: withCtx(() => [
34891
+ createElementVNode("span", {
34892
+ class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34893
+ }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3)
34894
+ ]),
34895
+ content: withCtx(() => [
34896
+ createElementVNode("div", {
34897
+ class: normalizeClass(_ctx.nsSelect.e("collapse-tags"))
34898
+ }, [
34899
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.collapseTagList, (item) => {
34900
+ return openBlock(), createElementBlock("div", {
34901
+ key: _ctx.getValueKey(item),
34902
+ class: normalizeClass(_ctx.nsSelect.e("collapse-tag"))
34903
+ }, [
34904
+ createVNode(_component_el_tag, {
34905
+ class: "in-tooltip",
34906
+ closable: !_ctx.selectDisabled && !item.isDisabled,
34907
+ size: _ctx.collapseTagSize,
34908
+ hit: item.hitState,
34909
+ type: _ctx.tagType,
34910
+ "disable-transitions": "",
34911
+ style: { margin: "2px" },
34912
+ onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
34913
+ }, {
34914
+ default: withCtx(() => [
34915
+ createElementVNode("span", {
34916
+ class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34917
+ style: normalizeStyle({
34918
+ maxWidth: _ctx.inputWidth - 75 + "px"
34919
+ })
34920
+ }, toDisplayString(item.currentLabel), 7)
34921
+ ]),
34922
+ _: 2
34923
+ }, 1032, ["closable", "size", "hit", "type", "onClose"])
34924
+ ], 2);
34925
+ }), 128))
34926
+ ], 2)
34927
+ ]),
34928
+ _: 1
34929
+ }, 8, ["disabled", "effect", "teleported"])) : (openBlock(), createElementBlock("span", {
34930
+ key: 1,
34931
+ class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34932
+ }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3))
34813
34933
  ]),
34814
- _: 2
34815
- }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34816
- }), 128))
34817
- ], 6)
34818
- ]),
34819
- _: 1
34820
- }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34821
- _ctx.filterable && !_ctx.selectDisabled ? withDirectives((openBlock(), createElementBlock("input", {
34822
- key: 2,
34823
- ref: "input",
34824
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
34825
- type: "text",
34826
- class: normalizeClass(_ctx.inputKls),
34827
- disabled: _ctx.selectDisabled,
34828
- autocomplete: _ctx.autocomplete,
34829
- style: normalizeStyle(_ctx.inputStyle),
34830
- "aria-label": _ctx.ariaLabel,
34831
- onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
34832
- onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
34833
- onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
34834
- onKeydown: [
34835
- _cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
34836
- _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
34837
- _cache[6] || (_cache[6] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
34838
- _cache[7] || (_cache[7] = withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
34839
- _cache[8] || (_cache[8] = withKeys(withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
34840
- _cache[9] || (_cache[9] = withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
34841
- _cache[10] || (_cache[10] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34842
- ],
34843
- onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34844
- onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34845
- onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34846
- onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
34847
- }, null, 46, _hoisted_1$n)), [
34848
- [vModelText, _ctx.query]
34849
- ]) : createCommentVNode("v-if", true)
34850
- ], 6)) : createCommentVNode("v-if", true),
34851
- createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),
34852
- _ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (openBlock(), createElementBlock("input", {
34853
- key: 1,
34854
- ref: "iOSInput",
34855
- class: normalizeClass(_ctx.iOSInputKls),
34856
- disabled: _ctx.selectDisabled,
34857
- type: "text"
34858
- }, null, 10, _hoisted_2$f)) : createCommentVNode("v-if", true),
34859
- createVNode(_component_el_input, {
34860
- id: _ctx.id,
34861
- ref: "reference",
34862
- modelValue: _ctx.selectedLabel,
34863
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
34864
- type: "text",
34865
- placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
34866
- name: _ctx.name,
34867
- autocomplete: _ctx.autocomplete,
34868
- size: _ctx.selectSize,
34869
- disabled: _ctx.selectDisabled,
34870
- readonly: _ctx.readonly,
34871
- "validate-event": false,
34872
- class: normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
34873
- tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
34874
- label: _ctx.ariaLabel,
34875
- onFocus: _ctx.handleFocus,
34876
- onBlur: _ctx.handleBlur,
34877
- onInput: _ctx.debouncedOnInputChange,
34878
- onPaste: _ctx.debouncedOnInputChange,
34879
- onCompositionstart: _ctx.handleComposition,
34880
- onCompositionupdate: _ctx.handleComposition,
34881
- onCompositionend: _ctx.handleComposition,
34882
- onKeydown: [
34883
- _cache[17] || (_cache[17] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
34884
- _cache[18] || (_cache[18] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
34885
- withKeys(withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
34886
- withKeys(_ctx.handleKeydownEscape, ["esc"]),
34887
- _cache[19] || (_cache[19] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34888
- ]
34889
- }, createSlots({
34890
- suffix: withCtx(() => [
34891
- _ctx.iconComponent && !_ctx.showClose ? (openBlock(), createBlock(_component_el_icon, {
34892
- key: 0,
34893
- class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
34894
- }, {
34895
- default: withCtx(() => [
34896
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))
34934
+ _: 1
34935
+ }, 8, ["size", "type"])) : createCommentVNode("v-if", true)
34936
+ ], 2)
34897
34937
  ]),
34898
34938
  _: 1
34899
- }, 8, ["class"])) : createCommentVNode("v-if", true),
34900
- _ctx.showClose && _ctx.clearIcon ? (openBlock(), createBlock(_component_el_icon, {
34939
+ }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34940
+ !_ctx.collapseTags ? (openBlock(), createBlock(Transition, {
34901
34941
  key: 1,
34902
- class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon")]),
34903
- onClick: _ctx.handleClearClick
34942
+ onAfterLeave: _ctx.resetInputHeight
34904
34943
  }, {
34905
34944
  default: withCtx(() => [
34906
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
34945
+ createElementVNode("span", {
34946
+ class: normalizeClass(_ctx.tagWrapperKls),
34947
+ style: normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
34948
+ }, [
34949
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
34950
+ return openBlock(), createBlock(_component_el_tag, {
34951
+ key: _ctx.getValueKey(item),
34952
+ closable: !_ctx.selectDisabled && !item.isDisabled,
34953
+ size: _ctx.collapseTagSize,
34954
+ hit: item.hitState,
34955
+ type: _ctx.tagType,
34956
+ "disable-transitions": "",
34957
+ onClose: ($event) => _ctx.deleteTag($event, item)
34958
+ }, {
34959
+ default: withCtx(() => [
34960
+ createElementVNode("span", {
34961
+ class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34962
+ style: normalizeStyle({ maxWidth: _ctx.inputWidth - 75 + "px" })
34963
+ }, toDisplayString(item.currentLabel), 7)
34964
+ ]),
34965
+ _: 2
34966
+ }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34967
+ }), 128))
34968
+ ], 6)
34907
34969
  ]),
34908
34970
  _: 1
34909
- }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)
34910
- ]),
34911
- _: 2
34912
- }, [
34913
- _ctx.$slots.prefix ? {
34914
- name: "prefix",
34915
- fn: withCtx(() => [
34916
- createElementVNode("div", _hoisted_3$8, [
34917
- renderSlot(_ctx.$slots, "prefix")
34971
+ }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34972
+ _ctx.filterable && !_ctx.selectDisabled ? withDirectives((openBlock(), createElementBlock("input", {
34973
+ key: 2,
34974
+ ref: "input",
34975
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
34976
+ type: "text",
34977
+ class: normalizeClass(_ctx.inputKls),
34978
+ disabled: _ctx.selectDisabled,
34979
+ autocomplete: _ctx.autocomplete,
34980
+ style: normalizeStyle(_ctx.inputStyle),
34981
+ role: "combobox",
34982
+ "aria-activedescendant": ((_a = _ctx.hoverOption) == null ? void 0 : _a.id) || "",
34983
+ "aria-controls": _ctx.contentId,
34984
+ "aria-expanded": _ctx.dropMenuVisible,
34985
+ "aria-label": _ctx.ariaLabel,
34986
+ "aria-autocomplete": "none",
34987
+ "aria-haspopup": "listbox",
34988
+ onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
34989
+ onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
34990
+ onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
34991
+ onKeydown: [
34992
+ _cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
34993
+ _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
34994
+ _cache[6] || (_cache[6] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
34995
+ _cache[7] || (_cache[7] = withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
34996
+ _cache[8] || (_cache[8] = withKeys(withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
34997
+ _cache[9] || (_cache[9] = withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
34998
+ _cache[10] || (_cache[10] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34999
+ ],
35000
+ onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
35001
+ onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
35002
+ onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
35003
+ onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
35004
+ }, null, 46, _hoisted_1$n)), [
35005
+ [vModelText, _ctx.query]
35006
+ ]) : createCommentVNode("v-if", true)
35007
+ ], 6)) : createCommentVNode("v-if", true),
35008
+ _ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (openBlock(), createElementBlock("input", {
35009
+ key: 1,
35010
+ ref: "iOSInput",
35011
+ class: normalizeClass(_ctx.iOSInputKls),
35012
+ disabled: _ctx.selectDisabled,
35013
+ type: "text"
35014
+ }, null, 10, _hoisted_2$f)) : createCommentVNode("v-if", true),
35015
+ createVNode(_component_el_input, {
35016
+ id: _ctx.id,
35017
+ ref: "reference",
35018
+ modelValue: _ctx.selectedLabel,
35019
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
35020
+ type: "text",
35021
+ placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
35022
+ name: _ctx.name,
35023
+ autocomplete: _ctx.autocomplete,
35024
+ size: _ctx.selectSize,
35025
+ disabled: _ctx.selectDisabled,
35026
+ readonly: _ctx.readonly,
35027
+ "validate-event": false,
35028
+ class: normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
35029
+ tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
35030
+ role: "combobox",
35031
+ "aria-activedescendant": ((_b = _ctx.hoverOption) == null ? void 0 : _b.id) || "",
35032
+ "aria-controls": _ctx.contentId,
35033
+ "aria-expanded": _ctx.dropMenuVisible,
35034
+ label: _ctx.ariaLabel,
35035
+ "aria-autocomplete": "none",
35036
+ "aria-haspopup": "listbox",
35037
+ onFocus: _ctx.handleFocus,
35038
+ onBlur: _ctx.handleBlur,
35039
+ onInput: _ctx.debouncedOnInputChange,
35040
+ onPaste: _ctx.debouncedOnInputChange,
35041
+ onCompositionstart: _ctx.handleComposition,
35042
+ onCompositionupdate: _ctx.handleComposition,
35043
+ onCompositionend: _ctx.handleComposition,
35044
+ onKeydown: [
35045
+ _cache[17] || (_cache[17] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
35046
+ _cache[18] || (_cache[18] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
35047
+ withKeys(withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
35048
+ withKeys(_ctx.handleKeydownEscape, ["esc"]),
35049
+ _cache[19] || (_cache[19] = withKeys(($event) => _ctx.visible = false, ["tab"]))
35050
+ ]
35051
+ }, createSlots({
35052
+ suffix: withCtx(() => [
35053
+ _ctx.iconComponent && !_ctx.showClose ? (openBlock(), createBlock(_component_el_icon, {
35054
+ key: 0,
35055
+ class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
35056
+ }, {
35057
+ default: withCtx(() => [
35058
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))
35059
+ ]),
35060
+ _: 1
35061
+ }, 8, ["class"])) : createCommentVNode("v-if", true),
35062
+ _ctx.showClose && _ctx.clearIcon ? (openBlock(), createBlock(_component_el_icon, {
35063
+ key: 1,
35064
+ class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon")]),
35065
+ onClick: _ctx.handleClearClick
35066
+ }, {
35067
+ default: withCtx(() => [
35068
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
35069
+ ]),
35070
+ _: 1
35071
+ }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)
35072
+ ]),
35073
+ _: 2
35074
+ }, [
35075
+ _ctx.$slots.prefix ? {
35076
+ name: "prefix",
35077
+ fn: withCtx(() => [
35078
+ createElementVNode("div", _hoisted_3$8, [
35079
+ renderSlot(_ctx.$slots, "prefix")
35080
+ ])
34918
35081
  ])
34919
- ])
34920
- } : void 0
34921
- ]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
34922
- ], 32)
34923
- ]),
35082
+ } : void 0
35083
+ ]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "aria-activedescendant", "aria-controls", "aria-expanded", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
35084
+ ], 32)
35085
+ ];
35086
+ }),
34924
35087
  content: withCtx(() => [
34925
35088
  createVNode(_component_el_select_menu, null, {
34926
35089
  default: withCtx(() => [
34927
35090
  withDirectives(createVNode(_component_el_scrollbar, {
35091
+ id: _ctx.contentId,
34928
35092
  ref: "scrollbar",
34929
35093
  tag: "ul",
34930
35094
  "wrap-class": _ctx.nsSelect.be("dropdown", "wrap"),
34931
35095
  "view-class": _ctx.nsSelect.be("dropdown", "list"),
34932
- class: normalizeClass(_ctx.scrollbarKls)
35096
+ class: normalizeClass(_ctx.scrollbarKls),
35097
+ role: "listbox",
35098
+ "aria-label": _ctx.ariaLabel,
35099
+ "aria-orientation": "vertical"
34933
35100
  }, {
34934
35101
  default: withCtx(() => [
34935
35102
  _ctx.showNewOption ? (openBlock(), createBlock(_component_el_option, {
@@ -34945,7 +35112,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34945
35112
  }, 8, ["onUpdateOptions"])
34946
35113
  ]),
34947
35114
  _: 3
34948
- }, 8, ["wrap-class", "view-class", "class"]), [
35115
+ }, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
34949
35116
  [vShow, _ctx.options.size > 0 && !_ctx.loading]
34950
35117
  ]),
34951
35118
  _ctx.emptyText && (!_ctx.allowCreate || _ctx.loading || _ctx.allowCreate && _ctx.options.size === 0) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -45101,33 +45268,6 @@ var TableBody = defineComponent({
45101
45268
  }
45102
45269
  });
45103
45270
 
45104
- function hColgroup(props) {
45105
- const isAuto = props.tableLayout === "auto";
45106
- let columns = props.columns || [];
45107
- if (isAuto) {
45108
- if (columns.every((column) => column.width === void 0)) {
45109
- columns = [];
45110
- }
45111
- }
45112
- const getPropsData = (column) => {
45113
- const propsData = {
45114
- key: `${props.tableLayout}_${column.id}`,
45115
- style: {},
45116
- name: void 0
45117
- };
45118
- if (isAuto) {
45119
- propsData.style = {
45120
- width: `${column.width}px`
45121
- };
45122
- } else {
45123
- propsData.name = column.id;
45124
- }
45125
- return propsData;
45126
- };
45127
- return h$1("colgroup", {}, columns.map((column) => h$1("col", getPropsData(column))));
45128
- }
45129
- hColgroup.props = ["columns", "tableLayout"];
45130
-
45131
45271
  function useMapState() {
45132
45272
  const table = inject(TABLE_INJECTION_KEY);
45133
45273
  const store = table == null ? void 0 : table.store;
@@ -45224,14 +45364,7 @@ var TableFooter = defineComponent({
45224
45364
  };
45225
45365
  },
45226
45366
  render() {
45227
- const {
45228
- columns,
45229
- getCellStyles,
45230
- getCellClasses,
45231
- summaryMethod,
45232
- sumText,
45233
- ns
45234
- } = this;
45367
+ const { columns, getCellStyles, getCellClasses, summaryMethod, sumText } = this;
45235
45368
  const data = this.store.states.data.value;
45236
45369
  let sums = [];
45237
45370
  if (summaryMethod) {
@@ -45270,31 +45403,21 @@ var TableFooter = defineComponent({
45270
45403
  }
45271
45404
  });
45272
45405
  }
45273
- return h$1("table", {
45274
- class: ns.e("footer"),
45275
- cellspacing: "0",
45276
- cellpadding: "0",
45277
- border: "0"
45278
- }, [
45279
- hColgroup({
45280
- columns
45281
- }),
45282
- h$1("tbody", [
45283
- h$1("tr", {}, [
45284
- ...columns.map((column, cellIndex) => h$1("td", {
45285
- key: cellIndex,
45286
- colspan: column.colSpan,
45287
- rowspan: column.rowSpan,
45288
- class: getCellClasses(columns, cellIndex),
45289
- style: getCellStyles(column, cellIndex)
45290
- }, [
45291
- h$1("div", {
45292
- class: ["cell", column.labelClassName]
45293
- }, [sums[cellIndex]])
45294
- ]))
45295
- ])
45406
+ return h$1(h$1("tfoot", [
45407
+ h$1("tr", {}, [
45408
+ ...columns.map((column, cellIndex) => h$1("td", {
45409
+ key: cellIndex,
45410
+ colspan: column.colSpan,
45411
+ rowspan: column.rowSpan,
45412
+ class: getCellClasses(columns, cellIndex),
45413
+ style: getCellStyles(column, cellIndex)
45414
+ }, [
45415
+ h$1("div", {
45416
+ class: ["cell", column.labelClassName]
45417
+ }, [sums[cellIndex]])
45418
+ ]))
45296
45419
  ])
45297
- ]);
45420
+ ]));
45298
45421
  }
45299
45422
  });
45300
45423
 
@@ -45730,6 +45853,33 @@ var defaultProps$1 = {
45730
45853
  showOverflowTooltip: [Boolean, Object]
45731
45854
  };
45732
45855
 
45856
+ function hColgroup(props) {
45857
+ const isAuto = props.tableLayout === "auto";
45858
+ let columns = props.columns || [];
45859
+ if (isAuto) {
45860
+ if (columns.every((column) => column.width === void 0)) {
45861
+ columns = [];
45862
+ }
45863
+ }
45864
+ const getPropsData = (column) => {
45865
+ const propsData = {
45866
+ key: `${props.tableLayout}_${column.id}`,
45867
+ style: {},
45868
+ name: void 0
45869
+ };
45870
+ if (isAuto) {
45871
+ propsData.style = {
45872
+ width: `${column.width}px`
45873
+ };
45874
+ } else {
45875
+ propsData.name = column.id;
45876
+ }
45877
+ return propsData;
45878
+ };
45879
+ return h$1("colgroup", {}, columns.map((column) => h$1("col", getPropsData(column))));
45880
+ }
45881
+ hColgroup.props = ["columns", "tableLayout"];
45882
+
45733
45883
  const useScrollbar$1 = () => {
45734
45884
  const scrollBarRef = ref();
45735
45885
  const scrollTo = (options, yCoord) => {
@@ -45903,8 +46053,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
45903
46053
  const _component_hColgroup = resolveComponent("hColgroup");
45904
46054
  const _component_table_header = resolveComponent("table-header");
45905
46055
  const _component_table_body = resolveComponent("table-body");
45906
- const _component_el_scrollbar = resolveComponent("el-scrollbar");
45907
46056
  const _component_table_footer = resolveComponent("table-footer");
46057
+ const _component_el_scrollbar = resolveComponent("el-scrollbar");
45908
46058
  const _directive_mousewheel = resolveDirective("mousewheel");
45909
46059
  return openBlock(), createElementBlock("div", {
45910
46060
  ref: "tableWrapper",
@@ -45995,11 +46145,12 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
45995
46145
  _ctx.showHeader && _ctx.tableLayout === "auto" ? (openBlock(), createBlock(_component_table_header, {
45996
46146
  key: 0,
45997
46147
  ref: "tableHeaderRef",
46148
+ class: normalizeClass(_ctx.ns.e("body-header")),
45998
46149
  border: _ctx.border,
45999
46150
  "default-sort": _ctx.defaultSort,
46000
46151
  store: _ctx.store,
46001
46152
  onSetDragVisible: _ctx.setDragVisible
46002
- }, null, 8, ["border", "default-sort", "store", "onSetDragVisible"])) : createCommentVNode("v-if", true),
46153
+ }, null, 8, ["class", "border", "default-sort", "store", "onSetDragVisible"])) : createCommentVNode("v-if", true),
46003
46154
  createVNode(_component_table_body, {
46004
46155
  context: _ctx.context,
46005
46156
  highlight: _ctx.highlightCurrentRow,
@@ -46009,7 +46160,16 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
46009
46160
  "row-style": _ctx.rowStyle,
46010
46161
  store: _ctx.store,
46011
46162
  stripe: _ctx.stripe
46012
- }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"])
46163
+ }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"]),
46164
+ _ctx.showSummary && _ctx.tableLayout === "auto" ? (openBlock(), createBlock(_component_table_footer, {
46165
+ key: 1,
46166
+ class: normalizeClass(_ctx.ns.e("body-footer")),
46167
+ border: _ctx.border,
46168
+ "default-sort": _ctx.defaultSort,
46169
+ store: _ctx.store,
46170
+ "sum-text": _ctx.computedSumText,
46171
+ "summary-method": _ctx.summaryMethod
46172
+ }, null, 8, ["class", "border", "default-sort", "store", "sum-text", "summary-method"])) : createCommentVNode("v-if", true)
46013
46173
  ], 6),
46014
46174
  _ctx.isEmpty ? (openBlock(), createElementBlock("div", {
46015
46175
  key: 0,
@@ -46036,19 +46196,30 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
46036
46196
  _: 3
46037
46197
  }, 8, ["view-style", "wrap-style", "always"])
46038
46198
  ], 2),
46039
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", {
46199
+ _ctx.showSummary && _ctx.tableLayout === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
46040
46200
  key: 1,
46041
46201
  ref: "footerWrapper",
46042
46202
  class: normalizeClass(_ctx.ns.e("footer-wrapper"))
46043
46203
  }, [
46044
- createVNode(_component_table_footer, {
46045
- border: _ctx.border,
46046
- "default-sort": _ctx.defaultSort,
46047
- store: _ctx.store,
46048
- style: normalizeStyle(_ctx.tableBodyStyles),
46049
- "sum-text": _ctx.computedSumText,
46050
- "summary-method": _ctx.summaryMethod
46051
- }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
46204
+ createElementVNode("table", {
46205
+ class: normalizeClass(_ctx.ns.e("footer")),
46206
+ cellspacing: "0",
46207
+ cellpadding: "0",
46208
+ border: "0",
46209
+ style: normalizeStyle(_ctx.tableBodyStyles)
46210
+ }, [
46211
+ createVNode(_component_hColgroup, {
46212
+ columns: _ctx.store.states.columns.value,
46213
+ "table-layout": _ctx.tableLayout
46214
+ }, null, 8, ["columns", "table-layout"]),
46215
+ createVNode(_component_table_footer, {
46216
+ border: _ctx.border,
46217
+ "default-sort": _ctx.defaultSort,
46218
+ store: _ctx.store,
46219
+ "sum-text": _ctx.computedSumText,
46220
+ "summary-method": _ctx.summaryMethod
46221
+ }, null, 8, ["border", "default-sort", "store", "sum-text", "summary-method"])
46222
+ ], 6)
46052
46223
  ], 2)), [
46053
46224
  [vShow, !_ctx.isEmpty],
46054
46225
  [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]