@element-plus/nightly 0.0.20231011 → 0.0.20231013

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 (428) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +511 -464
  4. package/dist/index.full.min.js +24 -24
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +23 -23
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +511 -464
  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/cascader/index.d.ts +150 -6
  240. package/es/components/cascader/src/cascader.vue.d.ts +75 -3
  241. package/es/components/checkbox/src/checkbox2.mjs +8 -12
  242. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  243. package/es/components/date-picker/index.d.ts +8 -0
  244. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs +2 -2
  245. package/es/components/date-picker/src/date-picker-com/panel-date-pick.mjs.map +1 -1
  246. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +269 -11
  247. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +2 -2
  248. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
  249. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +269 -11
  250. package/es/components/date-picker/src/date-picker.d.ts +4 -0
  251. package/es/components/date-picker/src/panel-utils.d.ts +538 -22
  252. package/es/components/date-picker/src/props/date-picker.d.ts +2 -0
  253. package/es/components/date-picker/src/props/panel-date-pick.d.ts +2 -0
  254. package/es/components/date-picker/src/props/panel-date-range.d.ts +2 -0
  255. package/es/components/date-picker/src/props/shared.d.ts +2 -0
  256. package/es/components/date-picker/src/props/shared.mjs +3 -1
  257. package/es/components/date-picker/src/props/shared.mjs.map +1 -1
  258. package/es/components/image/index.d.ts +16 -0
  259. package/es/components/image/src/image.d.ts +2 -0
  260. package/es/components/image/src/image.mjs +8 -0
  261. package/es/components/image/src/image.mjs.map +1 -1
  262. package/es/components/image/src/image.vue.d.ts +16 -0
  263. package/es/components/image/src/image2.mjs +3 -1
  264. package/es/components/image/src/image2.mjs.map +1 -1
  265. package/es/components/image-viewer/index.d.ts +8 -0
  266. package/es/components/image-viewer/src/image-viewer.d.ts +2 -0
  267. package/es/components/image-viewer/src/image-viewer.mjs +8 -0
  268. package/es/components/image-viewer/src/image-viewer.mjs.map +1 -1
  269. package/es/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
  270. package/es/components/image-viewer/src/image-viewer2.mjs +3 -2
  271. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  272. package/es/components/menu/src/sub-menu.mjs +0 -22
  273. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  274. package/es/components/pagination/src/components/sizes.vue.d.ts +4 -0
  275. package/es/components/scrollbar/index.d.ts +28 -1
  276. package/es/components/scrollbar/src/scrollbar.d.ts +9 -0
  277. package/es/components/scrollbar/src/scrollbar.mjs +7 -0
  278. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  279. package/es/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
  280. package/es/components/scrollbar/src/scrollbar2.mjs +12 -8
  281. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  282. package/es/components/select/index.d.ts +4 -0
  283. package/es/components/select/src/option.mjs +9 -1
  284. package/es/components/select/src/option.mjs.map +1 -1
  285. package/es/components/select/src/option.vue.d.ts +1 -0
  286. package/es/components/select/src/select.mjs +251 -228
  287. package/es/components/select/src/select.mjs.map +1 -1
  288. package/es/components/select/src/select.vue.d.ts +98 -98
  289. package/es/components/select/src/useSelect.d.ts +1 -0
  290. package/es/components/select/src/useSelect.mjs +4 -2
  291. package/es/components/select/src/useSelect.mjs.map +1 -1
  292. package/es/components/select-v2/index.d.ts +2 -2
  293. package/es/components/select-v2/src/select-dropdown.mjs +4 -7
  294. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  295. package/es/components/select-v2/src/select.vue.d.ts +1 -1
  296. package/es/components/select-v2/src/useSelect.d.ts +1 -1
  297. package/es/components/select-v2/src/useSelect.mjs +15 -14
  298. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  299. package/es/components/table/src/table-footer/index.mjs +15 -33
  300. package/es/components/table/src/table-footer/index.mjs.map +1 -1
  301. package/es/components/table/src/table.mjs +31 -11
  302. package/es/components/table/src/table.mjs.map +1 -1
  303. package/es/components/text/index.d.ts +18 -0
  304. package/es/components/text/src/text.d.ts +6 -2
  305. package/es/components/text/src/text.mjs +3 -0
  306. package/es/components/text/src/text.mjs.map +1 -1
  307. package/es/components/text/src/text.vue.d.ts +32 -14
  308. package/es/components/text/src/text2.mjs +8 -4
  309. package/es/components/text/src/text2.mjs.map +1 -1
  310. package/es/components/time-picker/index.d.ts +8 -0
  311. package/es/components/time-picker/src/common/picker.mjs +2 -0
  312. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  313. package/es/components/time-picker/src/common/picker.vue.d.ts +6 -0
  314. package/es/components/time-picker/src/common/props.d.ts +29 -18
  315. package/es/components/time-picker/src/common/props.mjs +2 -0
  316. package/es/components/time-picker/src/common/props.mjs.map +1 -1
  317. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
  318. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
  319. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
  320. package/es/components/time-picker/src/time-picker.d.ts +4 -0
  321. package/es/components/time-select/index.d.ts +14 -0
  322. package/es/components/time-select/src/time-select.vue.d.ts +16 -9
  323. package/es/components/tree-select/src/tree-select-option.d.ts +6 -0
  324. package/es/version.d.ts +1 -1
  325. package/es/version.mjs +1 -1
  326. package/es/version.mjs.map +1 -1
  327. package/lib/components/autocomplete/index.d.ts +28 -1
  328. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +28 -1
  329. package/lib/components/cascader/index.d.ts +150 -6
  330. package/lib/components/cascader/src/cascader.vue.d.ts +75 -3
  331. package/lib/components/checkbox/src/checkbox2.js +8 -12
  332. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  333. package/lib/components/date-picker/index.d.ts +8 -0
  334. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js +2 -2
  335. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.js.map +1 -1
  336. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +269 -11
  337. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +2 -2
  338. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
  339. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +269 -11
  340. package/lib/components/date-picker/src/date-picker.d.ts +4 -0
  341. package/lib/components/date-picker/src/panel-utils.d.ts +538 -22
  342. package/lib/components/date-picker/src/props/date-picker.d.ts +2 -0
  343. package/lib/components/date-picker/src/props/panel-date-pick.d.ts +2 -0
  344. package/lib/components/date-picker/src/props/panel-date-range.d.ts +2 -0
  345. package/lib/components/date-picker/src/props/shared.d.ts +2 -0
  346. package/lib/components/date-picker/src/props/shared.js +3 -1
  347. package/lib/components/date-picker/src/props/shared.js.map +1 -1
  348. package/lib/components/image/index.d.ts +16 -0
  349. package/lib/components/image/src/image.d.ts +2 -0
  350. package/lib/components/image/src/image.js +8 -0
  351. package/lib/components/image/src/image.js.map +1 -1
  352. package/lib/components/image/src/image.vue.d.ts +16 -0
  353. package/lib/components/image/src/image2.js +3 -1
  354. package/lib/components/image/src/image2.js.map +1 -1
  355. package/lib/components/image-viewer/index.d.ts +8 -0
  356. package/lib/components/image-viewer/src/image-viewer.d.ts +2 -0
  357. package/lib/components/image-viewer/src/image-viewer.js +8 -0
  358. package/lib/components/image-viewer/src/image-viewer.js.map +1 -1
  359. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +8 -0
  360. package/lib/components/image-viewer/src/image-viewer2.js +3 -2
  361. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  362. package/lib/components/menu/src/sub-menu.js +0 -22
  363. package/lib/components/menu/src/sub-menu.js.map +1 -1
  364. package/lib/components/pagination/src/components/sizes.vue.d.ts +4 -0
  365. package/lib/components/scrollbar/index.d.ts +28 -1
  366. package/lib/components/scrollbar/src/scrollbar.d.ts +9 -0
  367. package/lib/components/scrollbar/src/scrollbar.js +7 -0
  368. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  369. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +28 -1
  370. package/lib/components/scrollbar/src/scrollbar2.js +12 -8
  371. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  372. package/lib/components/select/index.d.ts +4 -0
  373. package/lib/components/select/src/option.js +9 -1
  374. package/lib/components/select/src/option.js.map +1 -1
  375. package/lib/components/select/src/option.vue.d.ts +1 -0
  376. package/lib/components/select/src/select.js +251 -228
  377. package/lib/components/select/src/select.js.map +1 -1
  378. package/lib/components/select/src/select.vue.d.ts +98 -98
  379. package/lib/components/select/src/useSelect.d.ts +1 -0
  380. package/lib/components/select/src/useSelect.js +4 -2
  381. package/lib/components/select/src/useSelect.js.map +1 -1
  382. package/lib/components/select-v2/index.d.ts +2 -2
  383. package/lib/components/select-v2/src/select-dropdown.js +3 -6
  384. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  385. package/lib/components/select-v2/src/select.vue.d.ts +1 -1
  386. package/lib/components/select-v2/src/useSelect.d.ts +1 -1
  387. package/lib/components/select-v2/src/useSelect.js +15 -14
  388. package/lib/components/select-v2/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 +31 -11
  392. package/lib/components/table/src/table.js.map +1 -1
  393. package/lib/components/text/index.d.ts +18 -0
  394. package/lib/components/text/src/text.d.ts +6 -2
  395. package/lib/components/text/src/text.js +3 -0
  396. package/lib/components/text/src/text.js.map +1 -1
  397. package/lib/components/text/src/text.vue.d.ts +32 -14
  398. package/lib/components/text/src/text2.js +7 -3
  399. package/lib/components/text/src/text2.js.map +1 -1
  400. package/lib/components/time-picker/index.d.ts +8 -0
  401. package/lib/components/time-picker/src/common/picker.js +2 -0
  402. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  403. package/lib/components/time-picker/src/common/picker.vue.d.ts +6 -0
  404. package/lib/components/time-picker/src/common/props.d.ts +29 -18
  405. package/lib/components/time-picker/src/common/props.js +2 -0
  406. package/lib/components/time-picker/src/common/props.js.map +1 -1
  407. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +216 -9
  408. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +263 -11
  409. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +263 -11
  410. package/lib/components/time-picker/src/time-picker.d.ts +4 -0
  411. package/lib/components/time-select/index.d.ts +14 -0
  412. package/lib/components/time-select/src/time-select.vue.d.ts +16 -9
  413. package/lib/components/tree-select/src/tree-select-option.d.ts +6 -0
  414. package/lib/version.d.ts +1 -1
  415. package/lib/version.js +1 -1
  416. package/lib/version.js.map +1 -1
  417. package/package.json +2 -2
  418. package/tags.json +1 -1
  419. package/theme-chalk/el-menu.css +1 -1
  420. package/theme-chalk/el-table.css +1 -1
  421. package/theme-chalk/el-text.css +1 -1
  422. package/theme-chalk/el-upload.css +1 -1
  423. package/theme-chalk/index.css +1 -1
  424. package/theme-chalk/src/menu.scss +7 -4
  425. package/theme-chalk/src/table.scss +25 -9
  426. package/theme-chalk/src/text.scss +6 -0
  427. package/theme-chalk/src/upload.scss +1 -1
  428. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20231011 */
1
+ /*! Element Plus v0.0.20231013 */
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
 
@@ -11287,7 +11287,7 @@ const ConfigProvider = defineComponent({
11287
11287
 
11288
11288
  const ElConfigProvider = withInstall(ConfigProvider);
11289
11289
 
11290
- const version$1 = "0.0.20231011";
11290
+ const version$1 = "0.0.20231013";
11291
11291
 
11292
11292
  const makeInstaller = (components = []) => {
11293
11293
  const install = (app, options) => {
@@ -13090,7 +13090,7 @@ var FormLabelWrap = defineComponent({
13090
13090
  }
13091
13091
  });
13092
13092
 
13093
- const _hoisted_1$12 = ["role", "aria-labelledby"];
13093
+ const _hoisted_1$13 = ["role", "aria-labelledby"];
13094
13094
  const __default__$1z = defineComponent({
13095
13095
  name: "ElFormItem"
13096
13096
  });
@@ -13386,7 +13386,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
13386
13386
  _: 3
13387
13387
  }, 8, ["name"])
13388
13388
  ], 6)
13389
- ], 10, _hoisted_1$12);
13389
+ ], 10, _hoisted_1$13);
13390
13390
  };
13391
13391
  }
13392
13392
  });
@@ -13576,9 +13576,9 @@ const inputEmits = {
13576
13576
  compositionend: (evt) => evt instanceof CompositionEvent
13577
13577
  };
13578
13578
 
13579
- const _hoisted_1$11 = ["role"];
13579
+ const _hoisted_1$12 = ["role"];
13580
13580
  const _hoisted_2$H = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
13581
- const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
13581
+ const _hoisted_3$k = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
13582
13582
  const __default__$1y = defineComponent({
13583
13583
  name: "ElInput",
13584
13584
  inheritAttrs: false
@@ -13994,14 +13994,14 @@ const _sfc_main$2e = /* @__PURE__ */ defineComponent({
13994
13994
  onBlur: _cache[3] || (_cache[3] = (...args) => unref(handleBlur) && unref(handleBlur)(...args)),
13995
13995
  onChange: handleChange,
13996
13996
  onKeydown: handleKeydown
13997
- }), null, 16, _hoisted_3$l),
13997
+ }), null, 16, _hoisted_3$k),
13998
13998
  unref(isWordLimitVisible) ? (openBlock(), createElementBlock("span", {
13999
13999
  key: 0,
14000
14000
  style: normalizeStyle(countStyle.value),
14001
14001
  class: normalizeClass(unref(nsInput).e("count"))
14002
14002
  }, toDisplayString(unref(textLength)) + " / " + toDisplayString(unref(attrs).maxlength), 7)) : createCommentVNode("v-if", true)
14003
14003
  ], 64))
14004
- ], 16, _hoisted_1$11)), [
14004
+ ], 16, _hoisted_1$12)), [
14005
14005
  [vShow, _ctx.type !== "hidden"]
14006
14006
  ]);
14007
14007
  };
@@ -14272,6 +14272,13 @@ const scrollbarProps = buildProps({
14272
14272
  minSize: {
14273
14273
  type: Number,
14274
14274
  default: 20
14275
+ },
14276
+ id: String,
14277
+ role: String,
14278
+ ariaLabel: String,
14279
+ ariaOrientation: {
14280
+ type: String,
14281
+ values: ["horizontal", "vertical"]
14275
14282
  }
14276
14283
  });
14277
14284
  const scrollbarEmits = {
@@ -14302,13 +14309,13 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
14302
14309
  const barRef = ref();
14303
14310
  const ratioY = ref(1);
14304
14311
  const ratioX = ref(1);
14305
- const style = computed$1(() => {
14306
- const style2 = {};
14312
+ const wrapStyle = computed$1(() => {
14313
+ const style = {};
14307
14314
  if (props.height)
14308
- style2.height = addUnit(props.height);
14315
+ style.height = addUnit(props.height);
14309
14316
  if (props.maxHeight)
14310
- style2.maxHeight = addUnit(props.maxHeight);
14311
- return [props.wrapStyle, style2];
14317
+ style.maxHeight = addUnit(props.maxHeight);
14318
+ return [props.wrapStyle, style];
14312
14319
  });
14313
14320
  const wrapKls = computed$1(() => {
14314
14321
  return [
@@ -14411,20 +14418,24 @@ const _sfc_main$2b = /* @__PURE__ */ defineComponent({
14411
14418
  ref_key: "wrapRef",
14412
14419
  ref: wrapRef,
14413
14420
  class: normalizeClass(unref(wrapKls)),
14414
- style: normalizeStyle(unref(style)),
14421
+ style: normalizeStyle(unref(wrapStyle)),
14415
14422
  onScroll: handleScroll
14416
14423
  }, [
14417
14424
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
14425
+ id: _ctx.id,
14418
14426
  ref_key: "resizeRef",
14419
14427
  ref: resizeRef,
14420
14428
  class: normalizeClass(unref(resizeKls)),
14421
- style: normalizeStyle(_ctx.viewStyle)
14429
+ style: normalizeStyle(_ctx.viewStyle),
14430
+ role: _ctx.role,
14431
+ "aria-label": _ctx.ariaLabel,
14432
+ "aria-orientation": _ctx.ariaOrientation
14422
14433
  }, {
14423
14434
  default: withCtx(() => [
14424
14435
  renderSlot(_ctx.$slots, "default")
14425
14436
  ]),
14426
14437
  _: 3
14427
- }, 8, ["class", "style"]))
14438
+ }, 8, ["id", "class", "style", "role", "aria-label", "aria-orientation"]))
14428
14439
  ], 38),
14429
14440
  !_ctx.native ? (openBlock(), createBlock(Bar, {
14430
14441
  key: 0,
@@ -15848,7 +15859,7 @@ const _sfc_main$24 = /* @__PURE__ */ defineComponent({
15848
15859
  });
15849
15860
  var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$24, [["__file", "content.vue"]]);
15850
15861
 
15851
- const _hoisted_1$10 = ["innerHTML"];
15862
+ const _hoisted_1$11 = ["innerHTML"];
15852
15863
  const _hoisted_2$G = { key: 1 };
15853
15864
  const __default__$1q = defineComponent({
15854
15865
  name: "ElTooltip"
@@ -15991,7 +16002,7 @@ const _sfc_main$23 = /* @__PURE__ */ defineComponent({
15991
16002
  _ctx.rawContent ? (openBlock(), createElementBlock("span", {
15992
16003
  key: 0,
15993
16004
  innerHTML: _ctx.content
15994
- }, null, 8, _hoisted_1$10)) : (openBlock(), createElementBlock("span", _hoisted_2$G, toDisplayString(_ctx.content), 1))
16005
+ }, null, 8, _hoisted_1$11)) : (openBlock(), createElementBlock("span", _hoisted_2$G, toDisplayString(_ctx.content), 1))
15995
16006
  ]),
15996
16007
  _ctx.showArrow ? (openBlock(), createBlock(unref(ElPopperArrow), {
15997
16008
  key: 0,
@@ -16087,9 +16098,9 @@ const autocompleteEmits = {
16087
16098
  select: (item) => isObject$1(item)
16088
16099
  };
16089
16100
 
16090
- const _hoisted_1$$ = ["aria-expanded", "aria-owns"];
16101
+ const _hoisted_1$10 = ["aria-expanded", "aria-owns"];
16091
16102
  const _hoisted_2$F = { key: 0 };
16092
- const _hoisted_3$k = ["id", "aria-selected", "onClick"];
16103
+ const _hoisted_3$j = ["id", "aria-selected", "onClick"];
16093
16104
  const COMPONENT_NAME$i = "ElAutocomplete";
16094
16105
  const __default__$1p = defineComponent({
16095
16106
  name: COMPONENT_NAME$i,
@@ -16355,7 +16366,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
16355
16366
  renderSlot(_ctx.$slots, "default", { item }, () => [
16356
16367
  createTextVNode(toDisplayString(item[_ctx.valueKey]), 1)
16357
16368
  ])
16358
- ], 10, _hoisted_3$k);
16369
+ ], 10, _hoisted_3$j);
16359
16370
  }), 128))
16360
16371
  ]),
16361
16372
  _: 3
@@ -16420,7 +16431,7 @@ const _sfc_main$22 = /* @__PURE__ */ defineComponent({
16420
16431
  ])
16421
16432
  } : void 0
16422
16433
  ]), 1040, ["clearable", "disabled", "name", "model-value", "onKeydown"])
16423
- ], 14, _hoisted_1$$)
16434
+ ], 14, _hoisted_1$10)
16424
16435
  ]),
16425
16436
  _: 3
16426
16437
  }, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
@@ -16461,7 +16472,7 @@ const avatarEmits = {
16461
16472
  error: (evt) => evt instanceof Event
16462
16473
  };
16463
16474
 
16464
- const _hoisted_1$_ = ["src", "alt", "srcset"];
16475
+ const _hoisted_1$$ = ["src", "alt", "srcset"];
16465
16476
  const __default__$1o = defineComponent({
16466
16477
  name: "ElAvatar"
16467
16478
  });
@@ -16510,7 +16521,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
16510
16521
  srcset: _ctx.srcSet,
16511
16522
  style: normalizeStyle(unref(fitStyle)),
16512
16523
  onError: handleError
16513
- }, 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 }, {
16514
16525
  default: withCtx(() => [
16515
16526
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
16516
16527
  ]),
@@ -16646,7 +16657,7 @@ const badgeProps = buildProps({
16646
16657
  }
16647
16658
  });
16648
16659
 
16649
- const _hoisted_1$Z = ["textContent"];
16660
+ const _hoisted_1$_ = ["textContent"];
16650
16661
  const __default__$1m = defineComponent({
16651
16662
  name: "ElBadge"
16652
16663
  });
@@ -16685,7 +16696,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
16685
16696
  unref(ns).is("dot", _ctx.isDot)
16686
16697
  ]),
16687
16698
  textContent: toDisplayString(unref(content))
16688
- }, null, 10, _hoisted_1$Z), [
16699
+ }, null, 10, _hoisted_1$_), [
16689
16700
  [vShow, !_ctx.hidden && (unref(content) || _ctx.isDot)]
16690
16701
  ])
16691
16702
  ]),
@@ -18416,6 +18427,8 @@ const timePickerDefaultProps = buildProps({
18416
18427
  },
18417
18428
  format: String,
18418
18429
  valueFormat: String,
18430
+ dateFormat: String,
18431
+ timeFormat: String,
18419
18432
  type: {
18420
18433
  type: String,
18421
18434
  default: ""
@@ -18503,7 +18516,7 @@ const timePickerDefaultProps = buildProps({
18503
18516
  unlinkPanels: Boolean
18504
18517
  });
18505
18518
 
18506
- const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18519
+ const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18507
18520
  const _hoisted_2$E = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18508
18521
  const __default__$1h = defineComponent({
18509
18522
  name: "Picker"
@@ -19077,7 +19090,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
19077
19090
  onChange: handleStartChange,
19078
19091
  onFocus: handleFocusInput,
19079
19092
  onBlur: handleBlurInput
19080
- }, null, 42, _hoisted_1$Y),
19093
+ }, null, 42, _hoisted_1$Z),
19081
19094
  renderSlot(_ctx.$slots, "range-separator", {}, () => [
19082
19095
  createElementVNode("span", {
19083
19096
  class: normalizeClass(unref(nsRange).b("separator"))
@@ -19116,6 +19129,8 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
19116
19129
  actualVisible: pickerActualVisible.value,
19117
19130
  parsedValue: unref(parsedValue),
19118
19131
  format: _ctx.format,
19132
+ dateFormat: _ctx.dateFormat,
19133
+ timeFormat: _ctx.timeFormat,
19119
19134
  unlinkPanels: _ctx.unlinkPanels,
19120
19135
  type: _ctx.type,
19121
19136
  defaultValue: _ctx.defaultValue,
@@ -19442,7 +19457,7 @@ const basicTimeSpinnerProps = buildProps({
19442
19457
  ...disabledTimeListsProps
19443
19458
  });
19444
19459
 
19445
- const _hoisted_1$X = ["onClick"];
19460
+ const _hoisted_1$Y = ["onClick"];
19446
19461
  const _hoisted_2$D = ["onMouseenter"];
19447
19462
  const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19448
19463
  __name: "basic-time-spinner",
@@ -19670,7 +19685,7 @@ const _sfc_main$1V = /* @__PURE__ */ defineComponent({
19670
19685
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
19671
19686
  createTextVNode(toDisplayString(("0" + key).slice(-2)), 1)
19672
19687
  ], 64))
19673
- ], 10, _hoisted_1$X);
19688
+ ], 10, _hoisted_1$Y);
19674
19689
  }), 128))
19675
19690
  ]),
19676
19691
  _: 2
@@ -19893,7 +19908,7 @@ const panelTimeRangeProps = buildProps({
19893
19908
  }
19894
19909
  });
19895
19910
 
19896
- const _hoisted_1$W = ["disabled"];
19911
+ const _hoisted_1$X = ["disabled"];
19897
19912
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
19898
19913
  __name: "panel-time-range",
19899
19914
  props: panelTimeRangeProps,
@@ -20156,7 +20171,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
20156
20171
  class: normalizeClass([unref(nsTime).be("panel", "btn"), "confirm"]),
20157
20172
  disabled: unref(btnConfirmDisabled),
20158
20173
  onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
20159
- }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$W)
20174
+ }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$X)
20160
20175
  ], 2)
20161
20176
  ], 2)) : createCommentVNode("v-if", true);
20162
20177
  };
@@ -20414,7 +20429,7 @@ const useDateTable = (props, emit) => {
20414
20429
  };
20415
20430
  };
20416
20431
 
20417
- const _hoisted_1$V = { key: 0 };
20432
+ const _hoisted_1$W = { key: 0 };
20418
20433
  const _hoisted_2$C = ["onClick"];
20419
20434
  const __default__$1g = defineComponent({
20420
20435
  name: "DateTable"
@@ -20458,7 +20473,7 @@ const _sfc_main$1S = /* @__PURE__ */ defineComponent({
20458
20473
  cellspacing: "0",
20459
20474
  cellpadding: "0"
20460
20475
  }, [
20461
- !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$V, [
20476
+ !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$W, [
20462
20477
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekDays), (day) => {
20463
20478
  return openBlock(), createElementBlock("th", { key: day }, toDisplayString(day), 1);
20464
20479
  }), 128))
@@ -21117,7 +21132,7 @@ const useCarousel = (props, emit, componentName) => {
21117
21132
  };
21118
21133
  };
21119
21134
 
21120
- const _hoisted_1$U = ["onMouseenter", "onClick"];
21135
+ const _hoisted_1$V = ["onMouseenter", "onClick"];
21121
21136
  const _hoisted_2$B = { key: 0 };
21122
21137
  const COMPONENT_NAME$f = "ElCarousel";
21123
21138
  const __default__$1d = defineComponent({
@@ -21269,7 +21284,7 @@ const _sfc_main$1P = /* @__PURE__ */ defineComponent({
21269
21284
  }, [
21270
21285
  unref(hasLabel) ? (openBlock(), createElementBlock("span", _hoisted_2$B, toDisplayString(item.props.label), 1)) : createCommentVNode("v-if", true)
21271
21286
  ], 2)
21272
- ], 42, _hoisted_1$U)), [
21287
+ ], 42, _hoisted_1$V)), [
21273
21288
  [vShow, unref(isTwoLengthShow)(index)]
21274
21289
  ]);
21275
21290
  }), 128))
@@ -21701,9 +21716,8 @@ const useCheckbox = (props, slots) => {
21701
21716
  };
21702
21717
  };
21703
21718
 
21704
- const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
21705
- const _hoisted_2$A = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
21706
- const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
21719
+ const _hoisted_1$U = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"];
21720
+ const _hoisted_2$A = ["id", "indeterminate", "disabled", "value", "name", "tabindex"];
21707
21721
  const __default__$1b = defineComponent({
21708
21722
  name: "ElCheckbox"
21709
21723
  });
@@ -21753,10 +21767,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21753
21767
  }, {
21754
21768
  default: withCtx(() => [
21755
21769
  createElementVNode("span", {
21756
- class: normalizeClass(unref(spanKls)),
21757
- tabindex: _ctx.indeterminate ? 0 : void 0,
21758
- role: _ctx.indeterminate ? "checkbox" : void 0,
21759
- "aria-checked": _ctx.indeterminate ? "mixed" : void 0
21770
+ class: normalizeClass(unref(spanKls))
21760
21771
  }, [
21761
21772
  _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock("input", {
21762
21773
  key: 0,
@@ -21764,7 +21775,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21764
21775
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(model) ? model.value = $event : null),
21765
21776
  class: normalizeClass(unref(ns).e("original")),
21766
21777
  type: "checkbox",
21767
- "aria-hidden": _ctx.indeterminate ? "true" : "false",
21778
+ indeterminate: _ctx.indeterminate,
21768
21779
  name: _ctx.name,
21769
21780
  tabindex: _ctx.tabindex,
21770
21781
  disabled: unref(isDisabled),
@@ -21775,7 +21786,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21775
21786
  onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
21776
21787
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {
21777
21788
  }, ["stop"]))
21778
- }, null, 42, _hoisted_2$A)), [
21789
+ }, null, 42, _hoisted_1$U)), [
21779
21790
  [vModelCheckbox, unref(model)]
21780
21791
  ]) : withDirectives((openBlock(), createElementBlock("input", {
21781
21792
  key: 1,
@@ -21783,7 +21794,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21783
21794
  "onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => isRef(model) ? model.value = $event : null),
21784
21795
  class: normalizeClass(unref(ns).e("original")),
21785
21796
  type: "checkbox",
21786
- "aria-hidden": _ctx.indeterminate ? "true" : "false",
21797
+ indeterminate: _ctx.indeterminate,
21787
21798
  disabled: unref(isDisabled),
21788
21799
  value: _ctx.label,
21789
21800
  name: _ctx.name,
@@ -21793,13 +21804,13 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21793
21804
  onBlur: _cache[8] || (_cache[8] = ($event) => isFocused.value = false),
21794
21805
  onClick: _cache[9] || (_cache[9] = withModifiers(() => {
21795
21806
  }, ["stop"]))
21796
- }, null, 42, _hoisted_3$j)), [
21807
+ }, null, 42, _hoisted_2$A)), [
21797
21808
  [vModelCheckbox, unref(model)]
21798
21809
  ]),
21799
21810
  createElementVNode("span", {
21800
21811
  class: normalizeClass(unref(ns).e("inner"))
21801
21812
  }, null, 2)
21802
- ], 10, _hoisted_1$T),
21813
+ ], 2),
21803
21814
  unref(hasOwnLabel) ? (openBlock(), createElementBlock("span", {
21804
21815
  key: 0,
21805
21816
  class: normalizeClass(unref(ns).e("label"))
@@ -21817,7 +21828,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
21817
21828
  });
21818
21829
  var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1N, [["__file", "checkbox.vue"]]);
21819
21830
 
21820
- const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
21831
+ const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
21821
21832
  const _hoisted_2$z = ["name", "tabindex", "disabled", "value"];
21822
21833
  const __default__$1a = defineComponent({
21823
21834
  name: "ElCheckboxButton"
@@ -21877,7 +21888,7 @@ const _sfc_main$1M = /* @__PURE__ */ defineComponent({
21877
21888
  onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false),
21878
21889
  onClick: _cache[4] || (_cache[4] = withModifiers(() => {
21879
21890
  }, ["stop"]))
21880
- }, null, 42, _hoisted_1$S)), [
21891
+ }, null, 42, _hoisted_1$T)), [
21881
21892
  [vModelCheckbox, unref(model)]
21882
21893
  ]) : withDirectives((openBlock(), createElementBlock("input", {
21883
21894
  key: 1,
@@ -22070,7 +22081,7 @@ const useRadio = (props, emit) => {
22070
22081
  };
22071
22082
  };
22072
22083
 
22073
- const _hoisted_1$R = ["value", "name", "disabled"];
22084
+ const _hoisted_1$S = ["value", "name", "disabled"];
22074
22085
  const __default__$18 = defineComponent({
22075
22086
  name: "ElRadio"
22076
22087
  });
@@ -22118,7 +22129,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
22118
22129
  onChange: handleChange,
22119
22130
  onClick: _cache[3] || (_cache[3] = withModifiers(() => {
22120
22131
  }, ["stop"]))
22121
- }, null, 42, _hoisted_1$R), [
22132
+ }, null, 42, _hoisted_1$S), [
22122
22133
  [vModelRadio, unref(modelValue)]
22123
22134
  ]),
22124
22135
  createElementVNode("span", {
@@ -22148,7 +22159,7 @@ const radioButtonProps = buildProps({
22148
22159
  }
22149
22160
  });
22150
22161
 
22151
- const _hoisted_1$Q = ["value", "name", "disabled"];
22162
+ const _hoisted_1$R = ["value", "name", "disabled"];
22152
22163
  const __default__$17 = defineComponent({
22153
22164
  name: "ElRadioButton"
22154
22165
  });
@@ -22191,7 +22202,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
22191
22202
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
22192
22203
  onClick: _cache[3] || (_cache[3] = withModifiers(() => {
22193
22204
  }, ["stop"]))
22194
- }, null, 42, _hoisted_1$Q), [
22205
+ }, null, 42, _hoisted_1$R), [
22195
22206
  [vModelRadio, unref(modelValue)]
22196
22207
  ]),
22197
22208
  createElementVNode("span", {
@@ -22244,7 +22255,7 @@ const radioGroupProps = buildProps({
22244
22255
  });
22245
22256
  const radioGroupEmits = radioEmits;
22246
22257
 
22247
- const _hoisted_1$P = ["id", "aria-label", "aria-labelledby"];
22258
+ const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
22248
22259
  const __default__$16 = defineComponent({
22249
22260
  name: "ElRadioGroup"
22250
22261
  });
@@ -22296,7 +22307,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
22296
22307
  "aria-labelledby": unref(isLabeledByFormItem) ? unref(formItem).labelId : void 0
22297
22308
  }, [
22298
22309
  renderSlot(_ctx.$slots, "default")
22299
- ], 10, _hoisted_1$P);
22310
+ ], 10, _hoisted_1$Q);
22300
22311
  };
22301
22312
  }
22302
22313
  });
@@ -22443,7 +22454,7 @@ const _sfc_main$1H = defineComponent({
22443
22454
  };
22444
22455
  }
22445
22456
  });
22446
- const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
22457
+ const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
22447
22458
  const _hoisted_2$y = /* @__PURE__ */ createElementVNode("span", null, null, -1);
22448
22459
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22449
22460
  const _component_el_checkbox = resolveComponent("el-checkbox");
@@ -22526,7 +22537,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22526
22537
  _: 1
22527
22538
  }, 8, ["class"]))
22528
22539
  ], 64)) : createCommentVNode("v-if", true)
22529
- ], 42, _hoisted_1$O);
22540
+ ], 42, _hoisted_1$P);
22530
22541
  }
22531
22542
  var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1H, [["render", _sfc_render$u], ["__file", "node.vue"]]);
22532
22543
 
@@ -23343,7 +23354,7 @@ const cascaderEmits = {
23343
23354
  removeTag: (val) => !!val
23344
23355
  };
23345
23356
 
23346
- const _hoisted_1$N = { key: 0 };
23357
+ const _hoisted_1$O = { key: 0 };
23347
23358
  const _hoisted_2$x = ["placeholder", "onKeydown"];
23348
23359
  const _hoisted_3$i = ["onClick"];
23349
23360
  const COMPONENT_NAME$e = "ElCascader";
@@ -23819,7 +23830,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
23819
23830
  onClose: ($event) => deleteTag(tag)
23820
23831
  }, {
23821
23832
  default: withCtx(() => [
23822
- tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$N, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(unref(ElTooltip), {
23833
+ tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$O, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(unref(ElTooltip), {
23823
23834
  key: 1,
23824
23835
  disabled: popperVisible.value || !_ctx.collapseTagsTooltip,
23825
23836
  "fallback-placements": ["bottom", "top", "right", "left"],
@@ -24413,7 +24424,7 @@ const useCollapseItemDOM = (props, { focusing, isActive, id }) => {
24413
24424
  };
24414
24425
  };
24415
24426
 
24416
- const _hoisted_1$M = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
24427
+ const _hoisted_1$N = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
24417
24428
  const _hoisted_2$w = ["id", "aria-hidden", "aria-labelledby"];
24418
24429
  const __default__$_ = defineComponent({
24419
24430
  name: "ElCollapseItem"
@@ -24471,7 +24482,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
24471
24482
  ]),
24472
24483
  _: 1
24473
24484
  }, 8, ["class"])
24474
- ], 42, _hoisted_1$M),
24485
+ ], 42, _hoisted_1$N),
24475
24486
  createVNode(unref(_CollapseTransition), null, {
24476
24487
  default: withCtx(() => [
24477
24488
  withDirectives(createElementVNode("div", {
@@ -25188,7 +25199,7 @@ const _sfc_main$1u = defineComponent({
25188
25199
  };
25189
25200
  }
25190
25201
  });
25191
- const _hoisted_1$L = ["onClick"];
25202
+ const _hoisted_1$M = ["onClick"];
25192
25203
  function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25193
25204
  return openBlock(), createElementBlock("div", {
25194
25205
  class: normalizeClass(_ctx.ns.b())
@@ -25209,7 +25220,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25209
25220
  createElementVNode("div", {
25210
25221
  style: normalizeStyle({ backgroundColor: item.value })
25211
25222
  }, null, 4)
25212
- ], 10, _hoisted_1$L);
25223
+ ], 10, _hoisted_1$M);
25213
25224
  }), 128))
25214
25225
  ], 2)
25215
25226
  ], 2);
@@ -25286,9 +25297,9 @@ const _sfc_main$1t = defineComponent({
25286
25297
  };
25287
25298
  }
25288
25299
  });
25289
- const _hoisted_1$K = /* @__PURE__ */ createElementVNode("div", null, null, -1);
25300
+ const _hoisted_1$L = /* @__PURE__ */ createElementVNode("div", null, null, -1);
25290
25301
  const _hoisted_2$v = [
25291
- _hoisted_1$K
25302
+ _hoisted_1$L
25292
25303
  ];
25293
25304
  function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25294
25305
  return openBlock(), createElementBlock("div", {
@@ -25314,7 +25325,7 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25314
25325
  }
25315
25326
  var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
25316
25327
 
25317
- const _hoisted_1$J = ["onKeydown"];
25328
+ const _hoisted_1$K = ["onKeydown"];
25318
25329
  const _hoisted_2$u = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
25319
25330
  const __default__$Y = defineComponent({
25320
25331
  name: "ElColorPicker"
@@ -25623,7 +25634,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
25623
25634
  _: 1
25624
25635
  }, 8, ["class"])
25625
25636
  ], 2)
25626
- ], 40, _hoisted_1$J)), [
25637
+ ], 40, _hoisted_1$K)), [
25627
25638
  [unref(ClickOutside), handleClickOutside]
25628
25639
  ])
25629
25640
  ]),
@@ -26035,7 +26046,9 @@ const panelSharedProps = buildProps({
26035
26046
  type: definePropType(String),
26036
26047
  required: true,
26037
26048
  values: datePickTypes
26038
- }
26049
+ },
26050
+ dateFormat: String,
26051
+ timeFormat: String
26039
26052
  });
26040
26053
  const panelRangeSharedProps = buildProps({
26041
26054
  unlinkPanels: Boolean,
@@ -26518,7 +26531,7 @@ var ElDatePickerCell = defineComponent({
26518
26531
  }
26519
26532
  });
26520
26533
 
26521
- const _hoisted_1$I = ["aria-label"];
26534
+ const _hoisted_1$J = ["aria-label"];
26522
26535
  const _hoisted_2$t = {
26523
26536
  key: 0,
26524
26537
  scope: "col"
@@ -26601,7 +26614,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
26601
26614
  ], 2);
26602
26615
  }), 128))
26603
26616
  ], 512)
26604
- ], 42, _hoisted_1$I);
26617
+ ], 42, _hoisted_1$J);
26605
26618
  };
26606
26619
  }
26607
26620
  });
@@ -26612,7 +26625,7 @@ const basicMonthTableProps = buildProps({
26612
26625
  selectionMode: selectionModeWithDefault("month")
26613
26626
  });
26614
26627
 
26615
- const _hoisted_1$H = ["aria-label"];
26628
+ const _hoisted_1$I = ["aria-label"];
26616
26629
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
26617
26630
  const _hoisted_3$g = { class: "cell" };
26618
26631
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
@@ -26804,7 +26817,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
26804
26817
  ]);
26805
26818
  }), 128))
26806
26819
  ], 512)
26807
- ], 42, _hoisted_1$H);
26820
+ ], 42, _hoisted_1$I);
26808
26821
  };
26809
26822
  }
26810
26823
  });
@@ -26817,7 +26830,7 @@ const basicYearTableProps = buildProps({
26817
26830
  parsedValue
26818
26831
  });
26819
26832
 
26820
- const _hoisted_1$G = ["aria-label"];
26833
+ const _hoisted_1$H = ["aria-label"];
26821
26834
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
26822
26835
  const _hoisted_3$f = { class: "cell" };
26823
26836
  const _hoisted_4$a = { key: 1 };
@@ -26911,13 +26924,13 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
26911
26924
  ]);
26912
26925
  }), 64))
26913
26926
  ], 512)
26914
- ], 10, _hoisted_1$G);
26927
+ ], 10, _hoisted_1$H);
26915
26928
  };
26916
26929
  }
26917
26930
  });
26918
26931
  var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1k, [["__file", "basic-year-table.vue"]]);
26919
26932
 
26920
- const _hoisted_1$F = ["onClick"];
26933
+ const _hoisted_1$G = ["onClick"];
26921
26934
  const _hoisted_2$q = ["aria-label"];
26922
26935
  const _hoisted_3$e = ["aria-label"];
26923
26936
  const _hoisted_4$9 = ["aria-label"];
@@ -27119,10 +27132,10 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
27119
27132
  }
27120
27133
  };
27121
27134
  const timeFormat = computed$1(() => {
27122
- return extractTimeFormat(props.format);
27135
+ return props.timeFormat || extractTimeFormat(props.format);
27123
27136
  });
27124
27137
  const dateFormat = computed$1(() => {
27125
- return extractDateFormat(props.format);
27138
+ return props.dateFormat || extractDateFormat(props.format);
27126
27139
  });
27127
27140
  const visibleTime = computed$1(() => {
27128
27141
  if (userInputTime.value)
@@ -27349,7 +27362,7 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
27349
27362
  type: "button",
27350
27363
  class: normalizeClass(unref(ppNs).e("shortcut")),
27351
27364
  onClick: ($event) => handleShortcutClick(shortcut)
27352
- }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
27365
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$G);
27353
27366
  }), 128))
27354
27367
  ], 2)) : createCommentVNode("v-if", true),
27355
27368
  createElementVNode("div", {
@@ -27666,7 +27679,7 @@ const useRangePicker = (props, {
27666
27679
  };
27667
27680
  };
27668
27681
 
27669
- const _hoisted_1$E = ["onClick"];
27682
+ const _hoisted_1$F = ["onClick"];
27670
27683
  const _hoisted_2$p = ["aria-label"];
27671
27684
  const _hoisted_3$d = ["aria-label"];
27672
27685
  const _hoisted_4$8 = ["disabled", "aria-label"];
@@ -27768,10 +27781,10 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
27768
27781
  return "";
27769
27782
  });
27770
27783
  const timeFormat = computed$1(() => {
27771
- return extractTimeFormat(format);
27784
+ return props.timeFormat || extractTimeFormat(format);
27772
27785
  });
27773
27786
  const dateFormat = computed$1(() => {
27774
- return extractDateFormat(format);
27787
+ return props.dateFormat || extractDateFormat(format);
27775
27788
  });
27776
27789
  const isValidValue = (date) => {
27777
27790
  return isValidRange(date) && (disabledDate ? !disabledDate(date[0].toDate()) && !disabledDate(date[1].toDate()) : true);
@@ -28017,7 +28030,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
28017
28030
  type: "button",
28018
28031
  class: normalizeClass(unref(ppNs).e("shortcut")),
28019
28032
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
28020
- }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
28033
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
28021
28034
  }), 128))
28022
28035
  ], 2)) : createCommentVNode("v-if", true),
28023
28036
  createElementVNode("div", {
@@ -28376,7 +28389,7 @@ const useMonthRangeHeader = ({
28376
28389
  };
28377
28390
  };
28378
28391
 
28379
- const _hoisted_1$D = ["onClick"];
28392
+ const _hoisted_1$E = ["onClick"];
28380
28393
  const _hoisted_2$o = ["disabled"];
28381
28394
  const _hoisted_3$c = ["disabled"];
28382
28395
  const unit = "year";
@@ -28482,7 +28495,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
28482
28495
  type: "button",
28483
28496
  class: normalizeClass(unref(ppNs).e("shortcut")),
28484
28497
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
28485
- }, toDisplayString(shortcut.text), 11, _hoisted_1$D);
28498
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
28486
28499
  }), 128))
28487
28500
  ], 2)) : createCommentVNode("v-if", true),
28488
28501
  createElementVNode("div", {
@@ -28766,7 +28779,7 @@ const descriptionsRowProps = buildProps({
28766
28779
  }
28767
28780
  });
28768
28781
 
28769
- const _hoisted_1$C = { key: 1 };
28782
+ const _hoisted_1$D = { key: 1 };
28770
28783
  const __default__$R = defineComponent({
28771
28784
  name: "ElDescriptionsRow"
28772
28785
  });
@@ -28797,7 +28810,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
28797
28810
  }, null, 8, ["cell"]);
28798
28811
  }), 128))
28799
28812
  ])
28800
- ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$C, [
28813
+ ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$D, [
28801
28814
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, _index) => {
28802
28815
  return openBlock(), createElementBlock(Fragment, {
28803
28816
  key: `tr3-${_index}`
@@ -29093,7 +29106,7 @@ const dialogContentEmits = {
29093
29106
  close: () => true
29094
29107
  };
29095
29108
 
29096
- const _hoisted_1$B = ["aria-level"];
29109
+ const _hoisted_1$C = ["aria-level"];
29097
29110
  const _hoisted_2$n = ["aria-label"];
29098
29111
  const _hoisted_3$b = ["id"];
29099
29112
  const __default__$P = defineComponent({ name: "ElDialogContent" });
@@ -29135,7 +29148,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
29135
29148
  role: "heading",
29136
29149
  "aria-level": _ctx.ariaLevel,
29137
29150
  class: normalizeClass(unref(ns).e("title"))
29138
- }, toDisplayString(_ctx.title), 11, _hoisted_1$B)
29151
+ }, toDisplayString(_ctx.title), 11, _hoisted_1$C)
29139
29152
  ]),
29140
29153
  _ctx.showClose ? (openBlock(), createElementBlock("button", {
29141
29154
  key: 0,
@@ -29401,7 +29414,7 @@ const useDialog = (props, targetRef) => {
29401
29414
  };
29402
29415
  };
29403
29416
 
29404
- const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
29417
+ const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
29405
29418
  const __default__$O = defineComponent({
29406
29419
  name: "ElDialog",
29407
29420
  inheritAttrs: false
@@ -29545,7 +29558,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
29545
29558
  ]),
29546
29559
  _: 3
29547
29560
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onFocusoutPrevented", "onReleaseRequested"])
29548
- ], 46, _hoisted_1$A)
29561
+ ], 46, _hoisted_1$B)
29549
29562
  ]),
29550
29563
  _: 3
29551
29564
  }, 8, ["mask", "overlay-class", "z-index"]), [
@@ -29683,7 +29696,7 @@ const _sfc_main$1b = defineComponent({
29683
29696
  };
29684
29697
  }
29685
29698
  });
29686
- const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
29699
+ const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
29687
29700
  const _hoisted_2$m = ["id", "aria-level"];
29688
29701
  const _hoisted_3$a = ["aria-label"];
29689
29702
  const _hoisted_4$7 = ["id"];
@@ -29787,7 +29800,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
29787
29800
  }, [
29788
29801
  renderSlot(_ctx.$slots, "footer")
29789
29802
  ], 2)) : createCommentVNode("v-if", true)
29790
- ], 16, _hoisted_1$z)
29803
+ ], 16, _hoisted_1$A)
29791
29804
  ]),
29792
29805
  _: 3
29793
29806
  }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
@@ -30603,7 +30616,7 @@ const _sfc_main$14 = defineComponent({
30603
30616
  };
30604
30617
  }
30605
30618
  });
30606
- const _hoisted_1$y = ["aria-disabled", "tabindex", "role"];
30619
+ const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
30607
30620
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
30608
30621
  const _component_el_icon = resolveComponent("el-icon");
30609
30622
  return openBlock(), createElementBlock(Fragment, null, [
@@ -30631,7 +30644,7 @@ function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
30631
30644
  _: 1
30632
30645
  })) : createCommentVNode("v-if", true),
30633
30646
  renderSlot(_ctx.$slots, "default")
30634
- ], 16, _hoisted_1$y)
30647
+ ], 16, _hoisted_1$z)
30635
30648
  ], 64);
30636
30649
  }
30637
30650
  var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$14, [["render", _sfc_render$h], ["__file", "dropdown-item-impl.vue"]]);
@@ -30812,7 +30825,7 @@ const _sfc_main$12 = defineComponent({
30812
30825
  };
30813
30826
  }
30814
30827
  });
30815
- const _hoisted_1$x = ["role", "aria-labelledby"];
30828
+ const _hoisted_1$y = ["role", "aria-labelledby"];
30816
30829
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
30817
30830
  return openBlock(), createElementBlock("ul", {
30818
30831
  ref: _ctx.dropdownListWrapperRef,
@@ -30827,7 +30840,7 @@ function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
30827
30840
  onMousedown: _cache[3] || (_cache[3] = withModifiers((...args) => _ctx.onMousedown && _ctx.onMousedown(...args), ["self"]))
30828
30841
  }, [
30829
30842
  renderSlot(_ctx.$slots, "default")
30830
- ], 46, _hoisted_1$x);
30843
+ ], 46, _hoisted_1$y);
30831
30844
  }
30832
30845
  var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$12, [["render", _sfc_render$f], ["__file", "dropdown-menu.vue"]]);
30833
30846
 
@@ -30838,7 +30851,7 @@ const ElDropdown = withInstall(Dropdown, {
30838
30851
  const ElDropdownItem = withNoopInstall(DropdownItem);
30839
30852
  const ElDropdownMenu = withNoopInstall(DropdownMenu);
30840
30853
 
30841
- const _hoisted_1$w = {
30854
+ const _hoisted_1$x = {
30842
30855
  viewBox: "0 0 79 86",
30843
30856
  version: "1.1",
30844
30857
  xmlns: "http://www.w3.org/2000/svg",
@@ -30893,7 +30906,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
30893
30906
  const ns = useNamespace("empty");
30894
30907
  const id = useId();
30895
30908
  return (_ctx, _cache) => {
30896
- return openBlock(), createElementBlock("svg", _hoisted_1$w, [
30909
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, [
30897
30910
  createElementVNode("defs", null, [
30898
30911
  createElementVNode("linearGradient", {
30899
30912
  id: `linearGradient-1-${unref(id)}`,
@@ -31027,7 +31040,7 @@ const emptyProps = buildProps({
31027
31040
  }
31028
31041
  });
31029
31042
 
31030
- const _hoisted_1$v = ["src"];
31043
+ const _hoisted_1$w = ["src"];
31031
31044
  const _hoisted_2$k = { key: 1 };
31032
31045
  const __default__$L = defineComponent({
31033
31046
  name: "ElEmpty"
@@ -31055,7 +31068,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
31055
31068
  key: 0,
31056
31069
  src: _ctx.image,
31057
31070
  ondragstart: "return false"
31058
- }, null, 8, _hoisted_1$v)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
31071
+ }, null, 8, _hoisted_1$w)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
31059
31072
  createVNode(ImgEmpty)
31060
31073
  ])
31061
31074
  ], 6),
@@ -31103,6 +31116,14 @@ const imageViewerProps = buildProps({
31103
31116
  zoomRate: {
31104
31117
  type: Number,
31105
31118
  default: 1.2
31119
+ },
31120
+ minScale: {
31121
+ type: Number,
31122
+ default: 0.2
31123
+ },
31124
+ maxScale: {
31125
+ type: Number,
31126
+ default: 7
31106
31127
  }
31107
31128
  });
31108
31129
  const imageViewerEmits = {
@@ -31111,7 +31132,7 @@ const imageViewerEmits = {
31111
31132
  rotate: (deg) => isNumber(deg)
31112
31133
  };
31113
31134
 
31114
- const _hoisted_1$u = ["src"];
31135
+ const _hoisted_1$v = ["src"];
31115
31136
  const __default__$K = defineComponent({
31116
31137
  name: "ElImageViewer"
31117
31138
  });
@@ -31306,6 +31327,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
31306
31327
  function handleActions(action, options = {}) {
31307
31328
  if (loading.value)
31308
31329
  return;
31330
+ const { minScale, maxScale } = props;
31309
31331
  const { zoomRate, rotateDeg, enableTransition } = {
31310
31332
  zoomRate: props.zoomRate,
31311
31333
  rotateDeg: 90,
@@ -31314,12 +31336,12 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
31314
31336
  };
31315
31337
  switch (action) {
31316
31338
  case "zoomOut":
31317
- if (transform.value.scale > 0.2) {
31339
+ if (transform.value.scale > minScale) {
31318
31340
  transform.value.scale = Number.parseFloat((transform.value.scale / zoomRate).toFixed(3));
31319
31341
  }
31320
31342
  break;
31321
31343
  case "zoomIn":
31322
- if (transform.value.scale < 7) {
31344
+ if (transform.value.scale < maxScale) {
31323
31345
  transform.value.scale = Number.parseFloat((transform.value.scale * zoomRate).toFixed(3));
31324
31346
  }
31325
31347
  break;
@@ -31480,7 +31502,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
31480
31502
  onLoad: handleImgLoad,
31481
31503
  onError: handleImgError,
31482
31504
  onMousedown: handleMouseDown
31483
- }, null, 46, _hoisted_1$u)), [
31505
+ }, null, 46, _hoisted_1$v)), [
31484
31506
  [vShow, i === activeIndex.value]
31485
31507
  ]);
31486
31508
  }), 128))
@@ -31540,6 +31562,14 @@ const imageProps = buildProps({
31540
31562
  zoomRate: {
31541
31563
  type: Number,
31542
31564
  default: 1.2
31565
+ },
31566
+ minScale: {
31567
+ type: Number,
31568
+ default: 0.2
31569
+ },
31570
+ maxScale: {
31571
+ type: Number,
31572
+ default: 7
31543
31573
  }
31544
31574
  });
31545
31575
  const imageEmits = {
@@ -31550,7 +31580,7 @@ const imageEmits = {
31550
31580
  show: () => true
31551
31581
  };
31552
31582
 
31553
- const _hoisted_1$t = ["src", "loading"];
31583
+ const _hoisted_1$u = ["src", "loading"];
31554
31584
  const _hoisted_2$j = { key: 0 };
31555
31585
  const __default__$J = defineComponent({
31556
31586
  name: "ElImage",
@@ -31722,7 +31752,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31722
31752
  onClick: clickHandler,
31723
31753
  onLoad: handleLoad,
31724
31754
  onError: handleError
31725
- }), null, 16, _hoisted_1$t)) : createCommentVNode("v-if", true),
31755
+ }), null, 16, _hoisted_1$u)) : createCommentVNode("v-if", true),
31726
31756
  isLoading.value ? (openBlock(), createElementBlock("div", {
31727
31757
  key: 1,
31728
31758
  class: normalizeClass(unref(ns).e("wrapper"))
@@ -31741,6 +31771,8 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31741
31771
  "initial-index": unref(imageIndex),
31742
31772
  infinite: _ctx.infinite,
31743
31773
  "zoom-rate": _ctx.zoomRate,
31774
+ "min-scale": _ctx.minScale,
31775
+ "max-scale": _ctx.maxScale,
31744
31776
  "url-list": _ctx.previewSrcList,
31745
31777
  "hide-on-click-modal": _ctx.hideOnClickModal,
31746
31778
  teleported: _ctx.previewTeleported,
@@ -31754,7 +31786,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
31754
31786
  ])) : createCommentVNode("v-if", true)
31755
31787
  ]),
31756
31788
  _: 3
31757
- }, 8, ["z-index", "initial-index", "infinite", "zoom-rate", "url-list", "hide-on-click-modal", "teleported", "close-on-press-escape"])) : createCommentVNode("v-if", true)
31789
+ }, 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)
31758
31790
  ], 64)) : createCommentVNode("v-if", true)
31759
31791
  ], 6);
31760
31792
  };
@@ -31820,7 +31852,7 @@ const inputNumberEmits = {
31820
31852
  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
31821
31853
  };
31822
31854
 
31823
- const _hoisted_1$s = ["aria-label", "onKeydown"];
31855
+ const _hoisted_1$t = ["aria-label", "onKeydown"];
31824
31856
  const _hoisted_2$i = ["aria-label", "onKeydown"];
31825
31857
  const __default__$I = defineComponent({
31826
31858
  name: "ElInputNumber"
@@ -32065,7 +32097,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32065
32097
  ]),
32066
32098
  _: 1
32067
32099
  })
32068
- ], 42, _hoisted_1$s)), [
32100
+ ], 42, _hoisted_1$t)), [
32069
32101
  [unref(vRepeatClick), decrease]
32070
32102
  ]) : createCommentVNode("v-if", true),
32071
32103
  _ctx.controls ? withDirectives((openBlock(), createElementBlock("span", {
@@ -32139,7 +32171,7 @@ const linkEmits = {
32139
32171
  click: (evt) => evt instanceof MouseEvent
32140
32172
  };
32141
32173
 
32142
- const _hoisted_1$r = ["href"];
32174
+ const _hoisted_1$s = ["href"];
32143
32175
  const __default__$H = defineComponent({
32144
32176
  name: "ElLink"
32145
32177
  });
@@ -32179,7 +32211,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32179
32211
  renderSlot(_ctx.$slots, "default")
32180
32212
  ], 2)) : createCommentVNode("v-if", true),
32181
32213
  _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 2 }) : createCommentVNode("v-if", true)
32182
- ], 10, _hoisted_1$r);
32214
+ ], 10, _hoisted_1$s);
32183
32215
  };
32184
32216
  }
32185
32217
  });
@@ -32529,9 +32561,6 @@ var SubMenu = defineComponent({
32529
32561
  });
32530
32562
  return isActive;
32531
32563
  });
32532
- const backgroundColor = computed$1(() => rootMenu.props.backgroundColor || "");
32533
- const activeTextColor = computed$1(() => rootMenu.props.activeTextColor || "");
32534
- const textColor = computed$1(() => rootMenu.props.textColor || "");
32535
32564
  const mode = computed$1(() => rootMenu.props.mode);
32536
32565
  const item = reactive({
32537
32566
  index: props.index,
@@ -32539,17 +32568,6 @@ var SubMenu = defineComponent({
32539
32568
  active
32540
32569
  });
32541
32570
  const ulStyle = useMenuCssVar(rootMenu.props, subMenu.level + 1);
32542
- const titleStyle = computed$1(() => {
32543
- if (mode.value !== "horizontal") {
32544
- return {
32545
- color: textColor.value
32546
- };
32547
- }
32548
- return {
32549
- borderBottomColor: active.value ? rootMenu.props.activeTextColor ? activeTextColor.value : "" : "transparent",
32550
- color: active.value ? activeTextColor.value : textColor.value
32551
- };
32552
- });
32553
32571
  const doDestroy = () => {
32554
32572
  var _a, _b, _c;
32555
32573
  return (_c = (_b = (_a = vPopper.value) == null ? void 0 : _a.popperRef) == null ? void 0 : _b.popperInstanceRef) == null ? void 0 : _c.destroy();
@@ -32678,19 +32696,11 @@ var SubMenu = defineComponent({
32678
32696
  },
32679
32697
  default: () => h$1("div", {
32680
32698
  class: nsSubMenu.e("title"),
32681
- style: [
32682
- titleStyle.value,
32683
- { backgroundColor: backgroundColor.value }
32684
- ],
32685
32699
  onClick: handleClick
32686
32700
  }, titleTag)
32687
32701
  }) : h$1(Fragment, {}, [
32688
32702
  h$1("div", {
32689
32703
  class: nsSubMenu.e("title"),
32690
- style: [
32691
- titleStyle.value,
32692
- { backgroundColor: backgroundColor.value }
32693
- ],
32694
32704
  ref: verticalTitleRef,
32695
32705
  onClick: handleClick
32696
32706
  }, titleTag),
@@ -33167,7 +33177,7 @@ const pageHeaderEmits = {
33167
33177
  back: () => true
33168
33178
  };
33169
33179
 
33170
- const _hoisted_1$q = ["aria-label"];
33180
+ const _hoisted_1$r = ["aria-label"];
33171
33181
  const __default__$G = defineComponent({
33172
33182
  name: "ElPageHeader"
33173
33183
  });
@@ -33227,7 +33237,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
33227
33237
  _: 1
33228
33238
  })) : createCommentVNode("v-if", true)
33229
33239
  ])
33230
- ], 10, _hoisted_1$q)) : createCommentVNode("v-if", true),
33240
+ ], 10, _hoisted_1$r)) : createCommentVNode("v-if", true),
33231
33241
  createElementVNode("div", {
33232
33242
  class: normalizeClass(unref(ns).e("title"))
33233
33243
  }, [
@@ -33285,7 +33295,7 @@ const paginationPrevEmits = {
33285
33295
  click: (evt) => evt instanceof MouseEvent
33286
33296
  };
33287
33297
 
33288
- const _hoisted_1$p = ["disabled", "aria-label", "aria-disabled"];
33298
+ const _hoisted_1$q = ["disabled", "aria-label", "aria-disabled"];
33289
33299
  const _hoisted_2$h = { key: 0 };
33290
33300
  const __default__$F = defineComponent({
33291
33301
  name: "ElPaginationPrev"
@@ -33313,7 +33323,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
33313
33323
  ]),
33314
33324
  _: 1
33315
33325
  }))
33316
- ], 8, _hoisted_1$p);
33326
+ ], 8, _hoisted_1$q);
33317
33327
  };
33318
33328
  }
33319
33329
  });
@@ -33337,7 +33347,7 @@ const paginationNextProps = buildProps({
33337
33347
  }
33338
33348
  });
33339
33349
 
33340
- const _hoisted_1$o = ["disabled", "aria-label", "aria-disabled"];
33350
+ const _hoisted_1$p = ["disabled", "aria-label", "aria-disabled"];
33341
33351
  const _hoisted_2$g = { key: 0 };
33342
33352
  const __default__$E = defineComponent({
33343
33353
  name: "ElPaginationNext"
@@ -33365,7 +33375,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
33365
33375
  ]),
33366
33376
  _: 1
33367
33377
  }))
33368
- ], 8, _hoisted_1$o);
33378
+ ], 8, _hoisted_1$p);
33369
33379
  };
33370
33380
  }
33371
33381
  });
@@ -33479,6 +33489,7 @@ const _sfc_main$R = defineComponent({
33479
33489
  },
33480
33490
  setup(props) {
33481
33491
  const ns = useNamespace("select");
33492
+ const id = useId();
33482
33493
  const containerKls = computed$1(() => [
33483
33494
  ns.be("dropdown", "item"),
33484
33495
  ns.is("disabled", unref(isDisabled)),
@@ -33519,6 +33530,7 @@ const _sfc_main$R = defineComponent({
33519
33530
  }
33520
33531
  return {
33521
33532
  ns,
33533
+ id,
33522
33534
  containerKls,
33523
33535
  currentLabel,
33524
33536
  itemSelected,
@@ -33532,16 +33544,21 @@ const _sfc_main$R = defineComponent({
33532
33544
  };
33533
33545
  }
33534
33546
  });
33547
+ const _hoisted_1$o = ["id", "aria-disabled", "aria-selected"];
33535
33548
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
33536
33549
  return withDirectives((openBlock(), createElementBlock("li", {
33550
+ id: _ctx.id,
33537
33551
  class: normalizeClass(_ctx.containerKls),
33552
+ role: "option",
33553
+ "aria-disabled": _ctx.isDisabled || void 0,
33554
+ "aria-selected": _ctx.itemSelected,
33538
33555
  onMouseenter: _cache[0] || (_cache[0] = (...args) => _ctx.hoverItem && _ctx.hoverItem(...args)),
33539
33556
  onClick: _cache[1] || (_cache[1] = withModifiers((...args) => _ctx.selectOptionClick && _ctx.selectOptionClick(...args), ["stop"]))
33540
33557
  }, [
33541
33558
  renderSlot(_ctx.$slots, "default", {}, () => [
33542
33559
  createElementVNode("span", null, toDisplayString(_ctx.currentLabel), 1)
33543
33560
  ])
33544
- ], 34)), [
33561
+ ], 42, _hoisted_1$o)), [
33545
33562
  [vShow, _ctx.visible]
33546
33563
  ]);
33547
33564
  }
@@ -33630,7 +33647,7 @@ const useSelect$3 = (props, states, ctx) => {
33630
33647
  const tags = ref(null);
33631
33648
  const selectWrapper = ref(null);
33632
33649
  const scrollbar = ref(null);
33633
- const hoverOption = ref(-1);
33650
+ const hoverOption = ref();
33634
33651
  const queryChange = shallowRef({ query: "" });
33635
33652
  const groupQueryChange = shallowRef("");
33636
33653
  const optionList = ref([]);
@@ -33824,7 +33841,8 @@ const useSelect$3 = (props, states, ctx) => {
33824
33841
  const input2 = reference.value.$el.querySelector("input");
33825
33842
  originClientHeight = originClientHeight || (input2.clientHeight > 0 ? input2.clientHeight + 2 : 0);
33826
33843
  const _tags = tags.value;
33827
- const gotSize = getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
33844
+ const cssVarOfSelectSize = getComputedStyle(input2).getPropertyValue(ns.cssVarName("input-height"));
33845
+ const gotSize = cssVarOfSelectSize || getComponentSize(selectSize.value || (form == null ? void 0 : form.size));
33828
33846
  const sizeInMap = selectSize.value || gotSize === originClientHeight || originClientHeight <= 0 ? gotSize : originClientHeight;
33829
33847
  const isElHidden = input2.offsetParent === null;
33830
33848
  !isElHidden && (input2.style.height = `${(states.selected.length === 0 ? sizeInMap : Math.max(_tags ? _tags.clientHeight + (_tags.clientHeight > sizeInMap ? 6 : 0) : 0, sizeInMap)) - 2}px`);
@@ -34275,6 +34293,7 @@ const useSelect$3 = (props, states, ctx) => {
34275
34293
  return {
34276
34294
  optionList,
34277
34295
  optionsArray,
34296
+ hoverOption,
34278
34297
  selectSize,
34279
34298
  handleResize,
34280
34299
  debouncedOnInputChange,
@@ -34502,10 +34521,12 @@ const _sfc_main$P = defineComponent({
34502
34521
  const nsSelect = useNamespace("select");
34503
34522
  const nsInput = useNamespace("input");
34504
34523
  const { t } = useLocale();
34524
+ const contentId = useId();
34505
34525
  const states = useSelectStates(props);
34506
34526
  const {
34507
34527
  optionList,
34508
34528
  optionsArray,
34529
+ hoverOption,
34509
34530
  selectSize,
34510
34531
  readonly,
34511
34532
  handleResize,
@@ -34747,11 +34768,13 @@ const _sfc_main$P = defineComponent({
34747
34768
  handleMouseLeave,
34748
34769
  showTagList,
34749
34770
  collapseTagList,
34750
- tagTooltipRef
34771
+ tagTooltipRef,
34772
+ contentId,
34773
+ hoverOption
34751
34774
  };
34752
34775
  }
34753
34776
  });
34754
- const _hoisted_1$n = ["disabled", "autocomplete", "aria-label"];
34777
+ const _hoisted_1$n = ["disabled", "autocomplete", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label"];
34755
34778
  const _hoisted_2$f = ["disabled"];
34756
34779
  const _hoisted_3$8 = { style: { "height": "100%", "display": "flex", "justify-content": "center", "align-items": "center" } };
34757
34780
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
@@ -34788,258 +34811,276 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34788
34811
  persistent: _ctx.persistent,
34789
34812
  onShow: _ctx.handleMenuEnter
34790
34813
  }, {
34791
- default: withCtx(() => [
34792
- createElementVNode("div", {
34793
- class: "select-trigger",
34794
- onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),
34795
- onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)
34796
- }, [
34797
- _ctx.multiple ? (openBlock(), createElementBlock("div", {
34798
- key: 0,
34799
- ref: "tags",
34800
- tabindex: "-1",
34801
- class: normalizeClass(_ctx.tagsKls),
34802
- style: normalizeStyle(_ctx.selectTagsStyle),
34803
- onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
34814
+ default: withCtx(() => {
34815
+ var _a, _b;
34816
+ return [
34817
+ createElementVNode("div", {
34818
+ class: "select-trigger",
34819
+ onMouseenter: _cache[20] || (_cache[20] = ($event) => _ctx.inputHovering = true),
34820
+ onMouseleave: _cache[21] || (_cache[21] = ($event) => _ctx.inputHovering = false)
34804
34821
  }, [
34805
- _ctx.collapseTags && _ctx.selected.length ? (openBlock(), createBlock(Transition, {
34822
+ _ctx.multiple ? (openBlock(), createElementBlock("div", {
34806
34823
  key: 0,
34807
- onAfterLeave: _ctx.resetInputHeight
34808
- }, {
34809
- default: withCtx(() => [
34810
- createElementVNode("span", {
34811
- class: normalizeClass(_ctx.tagWrapperKls)
34812
- }, [
34813
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.showTagList, (item) => {
34814
- return openBlock(), createBlock(_component_el_tag, {
34815
- key: _ctx.getValueKey(item),
34816
- closable: !_ctx.selectDisabled && !item.isDisabled,
34817
- size: _ctx.collapseTagSize,
34818
- hit: item.hitState,
34819
- type: _ctx.tagType,
34820
- "disable-transitions": "",
34821
- onClose: ($event) => _ctx.deleteTag($event, item)
34822
- }, {
34823
- default: withCtx(() => [
34824
- createElementVNode("span", {
34825
- class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34826
- style: normalizeStyle(_ctx.tagTextStyle)
34827
- }, toDisplayString(item.currentLabel), 7)
34828
- ]),
34829
- _: 2
34830
- }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34831
- }), 128)),
34832
- _ctx.selected.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tag, {
34833
- key: 0,
34834
- closable: false,
34835
- size: _ctx.collapseTagSize,
34836
- type: _ctx.tagType,
34837
- "disable-transitions": ""
34838
- }, {
34839
- default: withCtx(() => [
34840
- _ctx.collapseTagsTooltip ? (openBlock(), createBlock(_component_el_tooltip, {
34841
- key: 0,
34842
- ref: "tagTooltipRef",
34843
- disabled: _ctx.dropMenuVisible,
34844
- "fallback-placements": ["bottom", "top", "right", "left"],
34845
- effect: _ctx.effect,
34846
- placement: "bottom",
34847
- teleported: _ctx.teleported
34824
+ ref: "tags",
34825
+ tabindex: "-1",
34826
+ class: normalizeClass(_ctx.tagsKls),
34827
+ style: normalizeStyle(_ctx.selectTagsStyle),
34828
+ onClick: _cache[15] || (_cache[15] = (...args) => _ctx.focus && _ctx.focus(...args))
34829
+ }, [
34830
+ _ctx.collapseTags && _ctx.selected.length ? (openBlock(), createBlock(Transition, {
34831
+ key: 0,
34832
+ onAfterLeave: _ctx.resetInputHeight
34833
+ }, {
34834
+ default: withCtx(() => [
34835
+ createElementVNode("span", {
34836
+ class: normalizeClass(_ctx.tagWrapperKls)
34837
+ }, [
34838
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.showTagList, (item) => {
34839
+ return openBlock(), createBlock(_component_el_tag, {
34840
+ key: _ctx.getValueKey(item),
34841
+ closable: !_ctx.selectDisabled && !item.isDisabled,
34842
+ size: _ctx.collapseTagSize,
34843
+ hit: item.hitState,
34844
+ type: _ctx.tagType,
34845
+ "disable-transitions": "",
34846
+ onClose: ($event) => _ctx.deleteTag($event, item)
34848
34847
  }, {
34849
34848
  default: withCtx(() => [
34850
34849
  createElementVNode("span", {
34851
- class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34852
- }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3)
34853
- ]),
34854
- content: withCtx(() => [
34855
- createElementVNode("div", {
34856
- class: normalizeClass(_ctx.nsSelect.e("collapse-tags"))
34857
- }, [
34858
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.collapseTagList, (item) => {
34859
- return openBlock(), createElementBlock("div", {
34860
- key: _ctx.getValueKey(item),
34861
- class: normalizeClass(_ctx.nsSelect.e("collapse-tag"))
34862
- }, [
34863
- createVNode(_component_el_tag, {
34864
- class: "in-tooltip",
34865
- closable: !_ctx.selectDisabled && !item.isDisabled,
34866
- size: _ctx.collapseTagSize,
34867
- hit: item.hitState,
34868
- type: _ctx.tagType,
34869
- "disable-transitions": "",
34870
- style: { margin: "2px" },
34871
- onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
34872
- }, {
34873
- default: withCtx(() => [
34874
- createElementVNode("span", {
34875
- class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34876
- style: normalizeStyle({
34877
- maxWidth: _ctx.inputWidth - 75 + "px"
34878
- })
34879
- }, toDisplayString(item.currentLabel), 7)
34880
- ]),
34881
- _: 2
34882
- }, 1032, ["closable", "size", "hit", "type", "onClose"])
34883
- ], 2);
34884
- }), 128))
34885
- ], 2)
34850
+ class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34851
+ style: normalizeStyle(_ctx.tagTextStyle)
34852
+ }, toDisplayString(item.currentLabel), 7)
34886
34853
  ]),
34887
- _: 1
34888
- }, 8, ["disabled", "effect", "teleported"])) : (openBlock(), createElementBlock("span", {
34889
- key: 1,
34890
- class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34891
- }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3))
34892
- ]),
34893
- _: 1
34894
- }, 8, ["size", "type"])) : createCommentVNode("v-if", true)
34895
- ], 2)
34896
- ]),
34897
- _: 1
34898
- }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34899
- !_ctx.collapseTags ? (openBlock(), createBlock(Transition, {
34900
- key: 1,
34901
- onAfterLeave: _ctx.resetInputHeight
34902
- }, {
34903
- default: withCtx(() => [
34904
- createElementVNode("span", {
34905
- class: normalizeClass(_ctx.tagWrapperKls),
34906
- style: normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
34907
- }, [
34908
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
34909
- return openBlock(), createBlock(_component_el_tag, {
34910
- key: _ctx.getValueKey(item),
34911
- closable: !_ctx.selectDisabled && !item.isDisabled,
34854
+ _: 2
34855
+ }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34856
+ }), 128)),
34857
+ _ctx.selected.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tag, {
34858
+ key: 0,
34859
+ closable: false,
34912
34860
  size: _ctx.collapseTagSize,
34913
- hit: item.hitState,
34914
34861
  type: _ctx.tagType,
34915
- "disable-transitions": "",
34916
- onClose: ($event) => _ctx.deleteTag($event, item)
34862
+ "disable-transitions": ""
34917
34863
  }, {
34918
34864
  default: withCtx(() => [
34919
- createElementVNode("span", {
34920
- class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34921
- style: normalizeStyle({ maxWidth: _ctx.inputWidth - 75 + "px" })
34922
- }, toDisplayString(item.currentLabel), 7)
34865
+ _ctx.collapseTagsTooltip ? (openBlock(), createBlock(_component_el_tooltip, {
34866
+ key: 0,
34867
+ ref: "tagTooltipRef",
34868
+ disabled: _ctx.dropMenuVisible,
34869
+ "fallback-placements": ["bottom", "top", "right", "left"],
34870
+ effect: _ctx.effect,
34871
+ placement: "bottom",
34872
+ teleported: _ctx.teleported
34873
+ }, {
34874
+ default: withCtx(() => [
34875
+ createElementVNode("span", {
34876
+ class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34877
+ }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3)
34878
+ ]),
34879
+ content: withCtx(() => [
34880
+ createElementVNode("div", {
34881
+ class: normalizeClass(_ctx.nsSelect.e("collapse-tags"))
34882
+ }, [
34883
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.collapseTagList, (item) => {
34884
+ return openBlock(), createElementBlock("div", {
34885
+ key: _ctx.getValueKey(item),
34886
+ class: normalizeClass(_ctx.nsSelect.e("collapse-tag"))
34887
+ }, [
34888
+ createVNode(_component_el_tag, {
34889
+ class: "in-tooltip",
34890
+ closable: !_ctx.selectDisabled && !item.isDisabled,
34891
+ size: _ctx.collapseTagSize,
34892
+ hit: item.hitState,
34893
+ type: _ctx.tagType,
34894
+ "disable-transitions": "",
34895
+ style: { margin: "2px" },
34896
+ onClose: ($event) => _ctx.handleDeleteTooltipTag($event, item)
34897
+ }, {
34898
+ default: withCtx(() => [
34899
+ createElementVNode("span", {
34900
+ class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34901
+ style: normalizeStyle({
34902
+ maxWidth: _ctx.inputWidth - 75 + "px"
34903
+ })
34904
+ }, toDisplayString(item.currentLabel), 7)
34905
+ ]),
34906
+ _: 2
34907
+ }, 1032, ["closable", "size", "hit", "type", "onClose"])
34908
+ ], 2);
34909
+ }), 128))
34910
+ ], 2)
34911
+ ]),
34912
+ _: 1
34913
+ }, 8, ["disabled", "effect", "teleported"])) : (openBlock(), createElementBlock("span", {
34914
+ key: 1,
34915
+ class: normalizeClass(_ctx.nsSelect.e("tags-text"))
34916
+ }, "+ " + toDisplayString(_ctx.selected.length - _ctx.maxCollapseTags), 3))
34923
34917
  ]),
34924
- _: 2
34925
- }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34926
- }), 128))
34927
- ], 6)
34928
- ]),
34929
- _: 1
34930
- }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34931
- _ctx.filterable && !_ctx.selectDisabled ? withDirectives((openBlock(), createElementBlock("input", {
34932
- key: 2,
34933
- ref: "input",
34934
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
34935
- type: "text",
34936
- class: normalizeClass(_ctx.inputKls),
34937
- disabled: _ctx.selectDisabled,
34938
- autocomplete: _ctx.autocomplete,
34939
- style: normalizeStyle(_ctx.inputStyle),
34940
- "aria-label": _ctx.ariaLabel,
34941
- onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
34942
- onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
34943
- onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
34944
- onKeydown: [
34945
- _cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
34946
- _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
34947
- _cache[6] || (_cache[6] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
34948
- _cache[7] || (_cache[7] = withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
34949
- _cache[8] || (_cache[8] = withKeys(withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
34950
- _cache[9] || (_cache[9] = withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
34951
- _cache[10] || (_cache[10] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34952
- ],
34953
- onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34954
- onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34955
- onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34956
- onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
34957
- }, null, 46, _hoisted_1$n)), [
34958
- [vModelText, _ctx.query]
34959
- ]) : createCommentVNode("v-if", true)
34960
- ], 6)) : createCommentVNode("v-if", true),
34961
- createCommentVNode(" fix: https://github.com/element-plus/element-plus/issues/11415 "),
34962
- _ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (openBlock(), createElementBlock("input", {
34963
- key: 1,
34964
- ref: "iOSInput",
34965
- class: normalizeClass(_ctx.iOSInputKls),
34966
- disabled: _ctx.selectDisabled,
34967
- type: "text"
34968
- }, null, 10, _hoisted_2$f)) : createCommentVNode("v-if", true),
34969
- createVNode(_component_el_input, {
34970
- id: _ctx.id,
34971
- ref: "reference",
34972
- modelValue: _ctx.selectedLabel,
34973
- "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
34974
- type: "text",
34975
- placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
34976
- name: _ctx.name,
34977
- autocomplete: _ctx.autocomplete,
34978
- size: _ctx.selectSize,
34979
- disabled: _ctx.selectDisabled,
34980
- readonly: _ctx.readonly,
34981
- "validate-event": false,
34982
- class: normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
34983
- tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
34984
- label: _ctx.ariaLabel,
34985
- onFocus: _ctx.handleFocus,
34986
- onBlur: _ctx.handleBlur,
34987
- onInput: _ctx.debouncedOnInputChange,
34988
- onPaste: _ctx.debouncedOnInputChange,
34989
- onCompositionstart: _ctx.handleComposition,
34990
- onCompositionupdate: _ctx.handleComposition,
34991
- onCompositionend: _ctx.handleComposition,
34992
- onKeydown: [
34993
- _cache[17] || (_cache[17] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
34994
- _cache[18] || (_cache[18] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
34995
- withKeys(withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
34996
- withKeys(_ctx.handleKeydownEscape, ["esc"]),
34997
- _cache[19] || (_cache[19] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34998
- ]
34999
- }, createSlots({
35000
- suffix: withCtx(() => [
35001
- _ctx.iconComponent && !_ctx.showClose ? (openBlock(), createBlock(_component_el_icon, {
35002
- key: 0,
35003
- class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
35004
- }, {
35005
- default: withCtx(() => [
35006
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))
34918
+ _: 1
34919
+ }, 8, ["size", "type"])) : createCommentVNode("v-if", true)
34920
+ ], 2)
35007
34921
  ]),
35008
34922
  _: 1
35009
- }, 8, ["class"])) : createCommentVNode("v-if", true),
35010
- _ctx.showClose && _ctx.clearIcon ? (openBlock(), createBlock(_component_el_icon, {
34923
+ }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34924
+ !_ctx.collapseTags ? (openBlock(), createBlock(Transition, {
35011
34925
  key: 1,
35012
- class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon")]),
35013
- onClick: _ctx.handleClearClick
34926
+ onAfterLeave: _ctx.resetInputHeight
35014
34927
  }, {
35015
34928
  default: withCtx(() => [
35016
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
34929
+ createElementVNode("span", {
34930
+ class: normalizeClass(_ctx.tagWrapperKls),
34931
+ style: normalizeStyle(_ctx.prefixWidth && _ctx.selected.length ? { marginLeft: `${_ctx.prefixWidth}px` } : "")
34932
+ }, [
34933
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.selected, (item) => {
34934
+ return openBlock(), createBlock(_component_el_tag, {
34935
+ key: _ctx.getValueKey(item),
34936
+ closable: !_ctx.selectDisabled && !item.isDisabled,
34937
+ size: _ctx.collapseTagSize,
34938
+ hit: item.hitState,
34939
+ type: _ctx.tagType,
34940
+ "disable-transitions": "",
34941
+ onClose: ($event) => _ctx.deleteTag($event, item)
34942
+ }, {
34943
+ default: withCtx(() => [
34944
+ createElementVNode("span", {
34945
+ class: normalizeClass(_ctx.nsSelect.e("tags-text")),
34946
+ style: normalizeStyle({ maxWidth: _ctx.inputWidth - 75 + "px" })
34947
+ }, toDisplayString(item.currentLabel), 7)
34948
+ ]),
34949
+ _: 2
34950
+ }, 1032, ["closable", "size", "hit", "type", "onClose"]);
34951
+ }), 128))
34952
+ ], 6)
35017
34953
  ]),
35018
34954
  _: 1
35019
- }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)
35020
- ]),
35021
- _: 2
35022
- }, [
35023
- _ctx.$slots.prefix ? {
35024
- name: "prefix",
35025
- fn: withCtx(() => [
35026
- createElementVNode("div", _hoisted_3$8, [
35027
- renderSlot(_ctx.$slots, "prefix")
34955
+ }, 8, ["onAfterLeave"])) : createCommentVNode("v-if", true),
34956
+ _ctx.filterable && !_ctx.selectDisabled ? withDirectives((openBlock(), createElementBlock("input", {
34957
+ key: 2,
34958
+ ref: "input",
34959
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.query = $event),
34960
+ type: "text",
34961
+ class: normalizeClass(_ctx.inputKls),
34962
+ disabled: _ctx.selectDisabled,
34963
+ autocomplete: _ctx.autocomplete,
34964
+ style: normalizeStyle(_ctx.inputStyle),
34965
+ role: "combobox",
34966
+ "aria-activedescendant": ((_a = _ctx.hoverOption) == null ? void 0 : _a.id) || "",
34967
+ "aria-controls": _ctx.contentId,
34968
+ "aria-expanded": _ctx.dropMenuVisible,
34969
+ "aria-label": _ctx.ariaLabel,
34970
+ "aria-autocomplete": "none",
34971
+ "aria-haspopup": "listbox",
34972
+ onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
34973
+ onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
34974
+ onKeyup: _cache[3] || (_cache[3] = (...args) => _ctx.managePlaceholder && _ctx.managePlaceholder(...args)),
34975
+ onKeydown: [
34976
+ _cache[4] || (_cache[4] = (...args) => _ctx.resetInputState && _ctx.resetInputState(...args)),
34977
+ _cache[5] || (_cache[5] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
34978
+ _cache[6] || (_cache[6] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
34979
+ _cache[7] || (_cache[7] = withKeys((...args) => _ctx.handleKeydownEscape && _ctx.handleKeydownEscape(...args), ["esc"])),
34980
+ _cache[8] || (_cache[8] = withKeys(withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
34981
+ _cache[9] || (_cache[9] = withKeys((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["delete"])),
34982
+ _cache[10] || (_cache[10] = withKeys(($event) => _ctx.visible = false, ["tab"]))
34983
+ ],
34984
+ onCompositionstart: _cache[11] || (_cache[11] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34985
+ onCompositionupdate: _cache[12] || (_cache[12] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34986
+ onCompositionend: _cache[13] || (_cache[13] = (...args) => _ctx.handleComposition && _ctx.handleComposition(...args)),
34987
+ onInput: _cache[14] || (_cache[14] = (...args) => _ctx.debouncedQueryChange && _ctx.debouncedQueryChange(...args))
34988
+ }, null, 46, _hoisted_1$n)), [
34989
+ [vModelText, _ctx.query]
34990
+ ]) : createCommentVNode("v-if", true)
34991
+ ], 6)) : createCommentVNode("v-if", true),
34992
+ _ctx.isIOS && !_ctx.multiple && _ctx.filterable && _ctx.readonly ? (openBlock(), createElementBlock("input", {
34993
+ key: 1,
34994
+ ref: "iOSInput",
34995
+ class: normalizeClass(_ctx.iOSInputKls),
34996
+ disabled: _ctx.selectDisabled,
34997
+ type: "text"
34998
+ }, null, 10, _hoisted_2$f)) : createCommentVNode("v-if", true),
34999
+ createVNode(_component_el_input, {
35000
+ id: _ctx.id,
35001
+ ref: "reference",
35002
+ modelValue: _ctx.selectedLabel,
35003
+ "onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => _ctx.selectedLabel = $event),
35004
+ type: "text",
35005
+ placeholder: typeof _ctx.currentPlaceholder === "function" ? _ctx.currentPlaceholder() : _ctx.currentPlaceholder,
35006
+ name: _ctx.name,
35007
+ autocomplete: _ctx.autocomplete,
35008
+ size: _ctx.selectSize,
35009
+ disabled: _ctx.selectDisabled,
35010
+ readonly: _ctx.readonly,
35011
+ "validate-event": false,
35012
+ class: normalizeClass([_ctx.nsSelect.is("focus", _ctx.visible)]),
35013
+ tabindex: _ctx.multiple && _ctx.filterable ? -1 : void 0,
35014
+ role: "combobox",
35015
+ "aria-activedescendant": ((_b = _ctx.hoverOption) == null ? void 0 : _b.id) || "",
35016
+ "aria-controls": _ctx.contentId,
35017
+ "aria-expanded": _ctx.dropMenuVisible,
35018
+ label: _ctx.ariaLabel,
35019
+ "aria-autocomplete": "none",
35020
+ "aria-haspopup": "listbox",
35021
+ onFocus: _ctx.handleFocus,
35022
+ onBlur: _ctx.handleBlur,
35023
+ onInput: _ctx.debouncedOnInputChange,
35024
+ onPaste: _ctx.debouncedOnInputChange,
35025
+ onCompositionstart: _ctx.handleComposition,
35026
+ onCompositionupdate: _ctx.handleComposition,
35027
+ onCompositionend: _ctx.handleComposition,
35028
+ onKeydown: [
35029
+ _cache[17] || (_cache[17] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
35030
+ _cache[18] || (_cache[18] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
35031
+ withKeys(withModifiers(_ctx.selectOption, ["stop", "prevent"]), ["enter"]),
35032
+ withKeys(_ctx.handleKeydownEscape, ["esc"]),
35033
+ _cache[19] || (_cache[19] = withKeys(($event) => _ctx.visible = false, ["tab"]))
35034
+ ]
35035
+ }, createSlots({
35036
+ suffix: withCtx(() => [
35037
+ _ctx.iconComponent && !_ctx.showClose ? (openBlock(), createBlock(_component_el_icon, {
35038
+ key: 0,
35039
+ class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon"), _ctx.iconReverse])
35040
+ }, {
35041
+ default: withCtx(() => [
35042
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.iconComponent)))
35043
+ ]),
35044
+ _: 1
35045
+ }, 8, ["class"])) : createCommentVNode("v-if", true),
35046
+ _ctx.showClose && _ctx.clearIcon ? (openBlock(), createBlock(_component_el_icon, {
35047
+ key: 1,
35048
+ class: normalizeClass([_ctx.nsSelect.e("caret"), _ctx.nsSelect.e("icon")]),
35049
+ onClick: _ctx.handleClearClick
35050
+ }, {
35051
+ default: withCtx(() => [
35052
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.clearIcon)))
35053
+ ]),
35054
+ _: 1
35055
+ }, 8, ["class", "onClick"])) : createCommentVNode("v-if", true)
35056
+ ]),
35057
+ _: 2
35058
+ }, [
35059
+ _ctx.$slots.prefix ? {
35060
+ name: "prefix",
35061
+ fn: withCtx(() => [
35062
+ createElementVNode("div", _hoisted_3$8, [
35063
+ renderSlot(_ctx.$slots, "prefix")
35064
+ ])
35028
35065
  ])
35029
- ])
35030
- } : void 0
35031
- ]), 1032, ["id", "modelValue", "placeholder", "name", "autocomplete", "size", "disabled", "readonly", "class", "tabindex", "label", "onFocus", "onBlur", "onInput", "onPaste", "onCompositionstart", "onCompositionupdate", "onCompositionend", "onKeydown"])
35032
- ], 32)
35033
- ]),
35066
+ } : void 0
35067
+ ]), 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"])
35068
+ ], 32)
35069
+ ];
35070
+ }),
35034
35071
  content: withCtx(() => [
35035
35072
  createVNode(_component_el_select_menu, null, {
35036
35073
  default: withCtx(() => [
35037
35074
  withDirectives(createVNode(_component_el_scrollbar, {
35075
+ id: _ctx.contentId,
35038
35076
  ref: "scrollbar",
35039
35077
  tag: "ul",
35040
35078
  "wrap-class": _ctx.nsSelect.be("dropdown", "wrap"),
35041
35079
  "view-class": _ctx.nsSelect.be("dropdown", "list"),
35042
- class: normalizeClass(_ctx.scrollbarKls)
35080
+ class: normalizeClass(_ctx.scrollbarKls),
35081
+ role: "listbox",
35082
+ "aria-label": _ctx.ariaLabel,
35083
+ "aria-orientation": "vertical"
35043
35084
  }, {
35044
35085
  default: withCtx(() => [
35045
35086
  _ctx.showNewOption ? (openBlock(), createBlock(_component_el_option, {
@@ -35055,7 +35096,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35055
35096
  }, 8, ["onUpdateOptions"])
35056
35097
  ]),
35057
35098
  _: 3
35058
- }, 8, ["wrap-class", "view-class", "class"]), [
35099
+ }, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
35059
35100
  [vShow, _ctx.options.size > 0 && !_ctx.loading]
35060
35101
  ]),
35061
35102
  _ctx.emptyText && (!_ctx.allowCreate || _ctx.loading || _ctx.allowCreate && _ctx.options.size === 0) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
@@ -38872,7 +38913,7 @@ var ElSelectMenu = defineComponent({
38872
38913
  return arr.includes(target);
38873
38914
  }
38874
38915
  return arr && arr.some((item) => {
38875
- return get(item, valueKey) === get(target, valueKey);
38916
+ return toRaw$1(get(item, valueKey)) === get(target, valueKey);
38876
38917
  });
38877
38918
  };
38878
38919
  const isEqual = (selected, target) => {
@@ -38886,13 +38927,10 @@ var ElSelectMenu = defineComponent({
38886
38927
  }
38887
38928
  };
38888
38929
  const isItemSelected = (modelValue, target) => {
38889
- const {
38890
- valueKey
38891
- } = select.props;
38892
38930
  if (select.props.multiple) {
38893
- return contains(modelValue, get(target, valueKey));
38931
+ return contains(modelValue, target.value);
38894
38932
  }
38895
- return isEqual(modelValue, get(target, valueKey));
38933
+ return isEqual(modelValue, target.value);
38896
38934
  };
38897
38935
  const isItemDisabled = (modelValue, selected) => {
38898
38936
  const {
@@ -39284,7 +39322,7 @@ const useSelect$1 = (props, emit) => {
39284
39322
  const filteredOptionsValueMap = computed$1(() => {
39285
39323
  const valueMap = /* @__PURE__ */ new Map();
39286
39324
  filteredOptions.value.forEach((option, index) => {
39287
- valueMap.set(getValueKey(option), { option, index });
39325
+ valueMap.set(getValueKey(option.value), { option, index });
39288
39326
  });
39289
39327
  return valueMap;
39290
39328
  });
@@ -39458,7 +39496,7 @@ const useSelect$1 = (props, emit) => {
39458
39496
  var _a, _b;
39459
39497
  if (props.multiple) {
39460
39498
  let selectedOptions = props.modelValue.slice();
39461
- const index = getValueIndex(selectedOptions, getValueKey(option));
39499
+ const index = getValueIndex(selectedOptions, option.value);
39462
39500
  if (index > -1) {
39463
39501
  selectedOptions = [
39464
39502
  ...selectedOptions.slice(0, index),
@@ -39467,7 +39505,7 @@ const useSelect$1 = (props, emit) => {
39467
39505
  states.cachedOptions.splice(index, 1);
39468
39506
  removeNewOption(option);
39469
39507
  } else if (props.multipleLimit <= 0 || selectedOptions.length < props.multipleLimit) {
39470
- selectedOptions = [...selectedOptions, getValueKey(option)];
39508
+ selectedOptions = [...selectedOptions, option.value];
39471
39509
  states.cachedOptions.push(option);
39472
39510
  selectNewOption(option);
39473
39511
  updateHoveringIndex(idx);
@@ -39490,7 +39528,7 @@ const useSelect$1 = (props, emit) => {
39490
39528
  } else {
39491
39529
  selectedIndex.value = idx;
39492
39530
  states.selectedLabel = option.label;
39493
- update(getValueKey(option));
39531
+ update(option.value);
39494
39532
  expanded.value = false;
39495
39533
  states.isComposing = false;
39496
39534
  states.isSilentBlur = byClick;
@@ -39501,19 +39539,19 @@ const useSelect$1 = (props, emit) => {
39501
39539
  updateHoveringIndex(idx);
39502
39540
  }
39503
39541
  };
39504
- const deleteTag = (event, tag) => {
39505
- const { valueKey } = props;
39506
- const index = props.modelValue.indexOf(get(tag, valueKey));
39542
+ const deleteTag = (event, option) => {
39543
+ let selectedOptions = props.modelValue.slice();
39544
+ const index = getValueIndex(selectedOptions, option.value);
39507
39545
  if (index > -1 && !selectDisabled.value) {
39508
- const value = [
39546
+ selectedOptions = [
39509
39547
  ...props.modelValue.slice(0, index),
39510
39548
  ...props.modelValue.slice(index + 1)
39511
39549
  ];
39512
39550
  states.cachedOptions.splice(index, 1);
39513
- update(value);
39514
- emit("remove-tag", get(tag, valueKey));
39551
+ update(selectedOptions);
39552
+ emit("remove-tag", option.value);
39515
39553
  states.softFocus = true;
39516
- removeNewOption(tag);
39554
+ removeNewOption(option);
39517
39555
  return nextTick(focusAndUpdatePopup);
39518
39556
  }
39519
39557
  event.stopPropagation();
@@ -39676,8 +39714,9 @@ const useSelect$1 = (props, emit) => {
39676
39714
  states.cachedOptions.length = 0;
39677
39715
  states.previousValue = props.modelValue.toString();
39678
39716
  for (const value of props.modelValue) {
39679
- if (filteredOptionsValueMap.value.has(value)) {
39680
- const { index, option } = filteredOptionsValueMap.value.get(value);
39717
+ const selectValue = getValueKey(value);
39718
+ if (filteredOptionsValueMap.value.has(selectValue)) {
39719
+ const { index, option } = filteredOptionsValueMap.value.get(selectValue);
39681
39720
  states.cachedOptions.push(option);
39682
39721
  if (!initHovering) {
39683
39722
  updateHoveringIndex(index);
@@ -39693,7 +39732,7 @@ const useSelect$1 = (props, emit) => {
39693
39732
  if (hasModelValue.value) {
39694
39733
  states.previousValue = props.modelValue;
39695
39734
  const options = filteredOptions.value;
39696
- const selectedItemIndex = options.findIndex((option) => getValueKey(option) === getValueKey(props.modelValue));
39735
+ const selectedItemIndex = options.findIndex((option) => getValueKey(option.value) === getValueKey(props.modelValue));
39697
39736
  if (~selectedItemIndex) {
39698
39737
  states.selectedLabel = options[selectedItemIndex].label;
39699
39738
  updateHoveringIndex(selectedItemIndex);
@@ -45211,33 +45250,6 @@ var TableBody = defineComponent({
45211
45250
  }
45212
45251
  });
45213
45252
 
45214
- function hColgroup(props) {
45215
- const isAuto = props.tableLayout === "auto";
45216
- let columns = props.columns || [];
45217
- if (isAuto) {
45218
- if (columns.every((column) => column.width === void 0)) {
45219
- columns = [];
45220
- }
45221
- }
45222
- const getPropsData = (column) => {
45223
- const propsData = {
45224
- key: `${props.tableLayout}_${column.id}`,
45225
- style: {},
45226
- name: void 0
45227
- };
45228
- if (isAuto) {
45229
- propsData.style = {
45230
- width: `${column.width}px`
45231
- };
45232
- } else {
45233
- propsData.name = column.id;
45234
- }
45235
- return propsData;
45236
- };
45237
- return h$1("colgroup", {}, columns.map((column) => h$1("col", getPropsData(column))));
45238
- }
45239
- hColgroup.props = ["columns", "tableLayout"];
45240
-
45241
45253
  function useMapState() {
45242
45254
  const table = inject(TABLE_INJECTION_KEY);
45243
45255
  const store = table == null ? void 0 : table.store;
@@ -45334,14 +45346,7 @@ var TableFooter = defineComponent({
45334
45346
  };
45335
45347
  },
45336
45348
  render() {
45337
- const {
45338
- columns,
45339
- getCellStyles,
45340
- getCellClasses,
45341
- summaryMethod,
45342
- sumText,
45343
- ns
45344
- } = this;
45349
+ const { columns, getCellStyles, getCellClasses, summaryMethod, sumText } = this;
45345
45350
  const data = this.store.states.data.value;
45346
45351
  let sums = [];
45347
45352
  if (summaryMethod) {
@@ -45380,31 +45385,21 @@ var TableFooter = defineComponent({
45380
45385
  }
45381
45386
  });
45382
45387
  }
45383
- return h$1("table", {
45384
- class: ns.e("footer"),
45385
- cellspacing: "0",
45386
- cellpadding: "0",
45387
- border: "0"
45388
- }, [
45389
- hColgroup({
45390
- columns
45391
- }),
45392
- h$1("tbody", [
45393
- h$1("tr", {}, [
45394
- ...columns.map((column, cellIndex) => h$1("td", {
45395
- key: cellIndex,
45396
- colspan: column.colSpan,
45397
- rowspan: column.rowSpan,
45398
- class: getCellClasses(columns, cellIndex),
45399
- style: getCellStyles(column, cellIndex)
45400
- }, [
45401
- h$1("div", {
45402
- class: ["cell", column.labelClassName]
45403
- }, [sums[cellIndex]])
45404
- ]))
45405
- ])
45388
+ return h$1(h$1("tfoot", [
45389
+ h$1("tr", {}, [
45390
+ ...columns.map((column, cellIndex) => h$1("td", {
45391
+ key: cellIndex,
45392
+ colspan: column.colSpan,
45393
+ rowspan: column.rowSpan,
45394
+ class: getCellClasses(columns, cellIndex),
45395
+ style: getCellStyles(column, cellIndex)
45396
+ }, [
45397
+ h$1("div", {
45398
+ class: ["cell", column.labelClassName]
45399
+ }, [sums[cellIndex]])
45400
+ ]))
45406
45401
  ])
45407
- ]);
45402
+ ]));
45408
45403
  }
45409
45404
  });
45410
45405
 
@@ -45840,6 +45835,33 @@ var defaultProps$1 = {
45840
45835
  showOverflowTooltip: [Boolean, Object]
45841
45836
  };
45842
45837
 
45838
+ function hColgroup(props) {
45839
+ const isAuto = props.tableLayout === "auto";
45840
+ let columns = props.columns || [];
45841
+ if (isAuto) {
45842
+ if (columns.every((column) => column.width === void 0)) {
45843
+ columns = [];
45844
+ }
45845
+ }
45846
+ const getPropsData = (column) => {
45847
+ const propsData = {
45848
+ key: `${props.tableLayout}_${column.id}`,
45849
+ style: {},
45850
+ name: void 0
45851
+ };
45852
+ if (isAuto) {
45853
+ propsData.style = {
45854
+ width: `${column.width}px`
45855
+ };
45856
+ } else {
45857
+ propsData.name = column.id;
45858
+ }
45859
+ return propsData;
45860
+ };
45861
+ return h$1("colgroup", {}, columns.map((column) => h$1("col", getPropsData(column))));
45862
+ }
45863
+ hColgroup.props = ["columns", "tableLayout"];
45864
+
45843
45865
  const useScrollbar$1 = () => {
45844
45866
  const scrollBarRef = ref();
45845
45867
  const scrollTo = (options, yCoord) => {
@@ -46013,8 +46035,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
46013
46035
  const _component_hColgroup = resolveComponent("hColgroup");
46014
46036
  const _component_table_header = resolveComponent("table-header");
46015
46037
  const _component_table_body = resolveComponent("table-body");
46016
- const _component_el_scrollbar = resolveComponent("el-scrollbar");
46017
46038
  const _component_table_footer = resolveComponent("table-footer");
46039
+ const _component_el_scrollbar = resolveComponent("el-scrollbar");
46018
46040
  const _directive_mousewheel = resolveDirective("mousewheel");
46019
46041
  return openBlock(), createElementBlock("div", {
46020
46042
  ref: "tableWrapper",
@@ -46120,7 +46142,16 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
46120
46142
  "row-style": _ctx.rowStyle,
46121
46143
  store: _ctx.store,
46122
46144
  stripe: _ctx.stripe
46123
- }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"])
46145
+ }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "tooltip-options", "row-style", "store", "stripe"]),
46146
+ _ctx.showSummary && _ctx.tableLayout === "auto" ? (openBlock(), createBlock(_component_table_footer, {
46147
+ key: 1,
46148
+ class: normalizeClass(_ctx.ns.e("body-footer")),
46149
+ border: _ctx.border,
46150
+ "default-sort": _ctx.defaultSort,
46151
+ store: _ctx.store,
46152
+ "sum-text": _ctx.computedSumText,
46153
+ "summary-method": _ctx.summaryMethod
46154
+ }, null, 8, ["class", "border", "default-sort", "store", "sum-text", "summary-method"])) : createCommentVNode("v-if", true)
46124
46155
  ], 6),
46125
46156
  _ctx.isEmpty ? (openBlock(), createElementBlock("div", {
46126
46157
  key: 0,
@@ -46147,19 +46178,30 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
46147
46178
  _: 3
46148
46179
  }, 8, ["view-style", "wrap-style", "always"])
46149
46180
  ], 2),
46150
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", {
46181
+ _ctx.showSummary && _ctx.tableLayout === "fixed" ? withDirectives((openBlock(), createElementBlock("div", {
46151
46182
  key: 1,
46152
46183
  ref: "footerWrapper",
46153
46184
  class: normalizeClass(_ctx.ns.e("footer-wrapper"))
46154
46185
  }, [
46155
- createVNode(_component_table_footer, {
46156
- border: _ctx.border,
46157
- "default-sort": _ctx.defaultSort,
46158
- store: _ctx.store,
46159
- style: normalizeStyle(_ctx.tableBodyStyles),
46160
- "sum-text": _ctx.computedSumText,
46161
- "summary-method": _ctx.summaryMethod
46162
- }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
46186
+ createElementVNode("table", {
46187
+ class: normalizeClass(_ctx.ns.e("footer")),
46188
+ cellspacing: "0",
46189
+ cellpadding: "0",
46190
+ border: "0",
46191
+ style: normalizeStyle(_ctx.tableBodyStyles)
46192
+ }, [
46193
+ createVNode(_component_hColgroup, {
46194
+ columns: _ctx.store.states.columns.value,
46195
+ "table-layout": _ctx.tableLayout
46196
+ }, null, 8, ["columns", "table-layout"]),
46197
+ createVNode(_component_table_footer, {
46198
+ border: _ctx.border,
46199
+ "default-sort": _ctx.defaultSort,
46200
+ store: _ctx.store,
46201
+ "sum-text": _ctx.computedSumText,
46202
+ "summary-method": _ctx.summaryMethod
46203
+ }, null, 8, ["border", "default-sort", "store", "sum-text", "summary-method"])
46204
+ ], 6)
46163
46205
  ], 2)), [
46164
46206
  [vShow, !_ctx.isEmpty],
46165
46207
  [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
@@ -49468,6 +49510,9 @@ const textProps = buildProps({
49468
49510
  truncated: {
49469
49511
  type: Boolean
49470
49512
  },
49513
+ lineClamp: {
49514
+ type: [String, Number]
49515
+ },
49471
49516
  tag: {
49472
49517
  type: String,
49473
49518
  default: "span"
@@ -49488,17 +49533,19 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
49488
49533
  ns.b(),
49489
49534
  ns.m(props.type),
49490
49535
  ns.m(textSize.value),
49491
- ns.is("truncated", props.truncated)
49536
+ ns.is("truncated", props.truncated),
49537
+ ns.is("line-clamp", !isUndefined(props.lineClamp))
49492
49538
  ]);
49493
49539
  return (_ctx, _cache) => {
49494
49540
  return openBlock(), createBlock(resolveDynamicComponent(_ctx.tag), {
49495
- class: normalizeClass(unref(textKls))
49541
+ class: normalizeClass(unref(textKls)),
49542
+ style: normalizeStyle({ "-webkit-line-clamp": _ctx.lineClamp })
49496
49543
  }, {
49497
49544
  default: withCtx(() => [
49498
49545
  renderSlot(_ctx.$slots, "default")
49499
49546
  ]),
49500
49547
  _: 3
49501
- }, 8, ["class"]);
49548
+ }, 8, ["class", "style"]);
49502
49549
  };
49503
49550
  }
49504
49551
  });