element-plus 2.7.5 → 2.7.7

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 (522) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +149 -63
  4. package/dist/index.full.min.js +22 -22
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +22 -22
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +150 -65
  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-eg.js +1 -1
  14. package/dist/locale/ar-eg.min.js +1 -1
  15. package/dist/locale/ar-eg.min.mjs +1 -1
  16. package/dist/locale/ar-eg.mjs +1 -1
  17. package/dist/locale/ar.js +1 -1
  18. package/dist/locale/ar.min.js +1 -1
  19. package/dist/locale/ar.min.mjs +1 -1
  20. package/dist/locale/ar.mjs +1 -1
  21. package/dist/locale/az.js +1 -1
  22. package/dist/locale/az.min.js +1 -1
  23. package/dist/locale/az.min.mjs +1 -1
  24. package/dist/locale/az.mjs +1 -1
  25. package/dist/locale/bg.js +1 -1
  26. package/dist/locale/bg.min.js +1 -1
  27. package/dist/locale/bg.min.mjs +1 -1
  28. package/dist/locale/bg.mjs +1 -1
  29. package/dist/locale/bn.js +1 -1
  30. package/dist/locale/bn.min.js +1 -1
  31. package/dist/locale/bn.min.mjs +1 -1
  32. package/dist/locale/bn.mjs +1 -1
  33. package/dist/locale/ca.js +1 -1
  34. package/dist/locale/ca.min.js +1 -1
  35. package/dist/locale/ca.min.mjs +1 -1
  36. package/dist/locale/ca.mjs +1 -1
  37. package/dist/locale/ckb.js +1 -1
  38. package/dist/locale/ckb.min.js +1 -1
  39. package/dist/locale/ckb.min.mjs +1 -1
  40. package/dist/locale/ckb.mjs +1 -1
  41. package/dist/locale/cs.js +1 -1
  42. package/dist/locale/cs.min.js +1 -1
  43. package/dist/locale/cs.min.mjs +1 -1
  44. package/dist/locale/cs.mjs +1 -1
  45. package/dist/locale/da.js +1 -1
  46. package/dist/locale/da.min.js +1 -1
  47. package/dist/locale/da.min.mjs +1 -1
  48. package/dist/locale/da.mjs +1 -1
  49. package/dist/locale/de.js +1 -1
  50. package/dist/locale/de.min.js +1 -1
  51. package/dist/locale/de.min.mjs +1 -1
  52. package/dist/locale/de.mjs +1 -1
  53. package/dist/locale/el.js +1 -1
  54. package/dist/locale/el.min.js +1 -1
  55. package/dist/locale/el.min.mjs +1 -1
  56. package/dist/locale/el.mjs +1 -1
  57. package/dist/locale/en.js +1 -1
  58. package/dist/locale/en.min.js +1 -1
  59. package/dist/locale/en.min.mjs +1 -1
  60. package/dist/locale/en.mjs +1 -1
  61. package/dist/locale/eo.js +1 -1
  62. package/dist/locale/eo.min.js +1 -1
  63. package/dist/locale/eo.min.mjs +1 -1
  64. package/dist/locale/eo.mjs +1 -1
  65. package/dist/locale/es.js +1 -1
  66. package/dist/locale/es.min.js +1 -1
  67. package/dist/locale/es.min.mjs +1 -1
  68. package/dist/locale/es.mjs +1 -1
  69. package/dist/locale/et.js +1 -1
  70. package/dist/locale/et.min.js +1 -1
  71. package/dist/locale/et.min.mjs +1 -1
  72. package/dist/locale/et.mjs +1 -1
  73. package/dist/locale/eu.js +1 -1
  74. package/dist/locale/eu.min.js +1 -1
  75. package/dist/locale/eu.min.mjs +1 -1
  76. package/dist/locale/eu.mjs +1 -1
  77. package/dist/locale/fa.js +1 -1
  78. package/dist/locale/fa.min.js +1 -1
  79. package/dist/locale/fa.min.mjs +1 -1
  80. package/dist/locale/fa.mjs +1 -1
  81. package/dist/locale/fi.js +1 -1
  82. package/dist/locale/fi.min.js +1 -1
  83. package/dist/locale/fi.min.mjs +1 -1
  84. package/dist/locale/fi.mjs +1 -1
  85. package/dist/locale/fr.js +14 -9
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.js.map +1 -1
  88. package/dist/locale/fr.min.mjs +1 -1
  89. package/dist/locale/fr.min.mjs.map +1 -1
  90. package/dist/locale/fr.mjs +14 -9
  91. package/dist/locale/he.js +1 -1
  92. package/dist/locale/he.min.js +1 -1
  93. package/dist/locale/he.min.mjs +1 -1
  94. package/dist/locale/he.mjs +1 -1
  95. package/dist/locale/hr.js +1 -1
  96. package/dist/locale/hr.min.js +1 -1
  97. package/dist/locale/hr.min.mjs +1 -1
  98. package/dist/locale/hr.mjs +1 -1
  99. package/dist/locale/hu.js +1 -1
  100. package/dist/locale/hu.min.js +1 -1
  101. package/dist/locale/hu.min.mjs +1 -1
  102. package/dist/locale/hu.mjs +1 -1
  103. package/dist/locale/hy-am.js +1 -1
  104. package/dist/locale/hy-am.min.js +1 -1
  105. package/dist/locale/hy-am.min.mjs +1 -1
  106. package/dist/locale/hy-am.mjs +1 -1
  107. package/dist/locale/id.js +1 -1
  108. package/dist/locale/id.min.js +1 -1
  109. package/dist/locale/id.min.mjs +1 -1
  110. package/dist/locale/id.mjs +1 -1
  111. package/dist/locale/it.js +1 -1
  112. package/dist/locale/it.min.js +1 -1
  113. package/dist/locale/it.min.mjs +1 -1
  114. package/dist/locale/it.mjs +1 -1
  115. package/dist/locale/ja.js +1 -1
  116. package/dist/locale/ja.min.js +1 -1
  117. package/dist/locale/ja.min.mjs +1 -1
  118. package/dist/locale/ja.mjs +1 -1
  119. package/dist/locale/kk.js +1 -1
  120. package/dist/locale/kk.min.js +1 -1
  121. package/dist/locale/kk.min.mjs +1 -1
  122. package/dist/locale/kk.mjs +1 -1
  123. package/dist/locale/km.js +1 -1
  124. package/dist/locale/km.min.js +1 -1
  125. package/dist/locale/km.min.mjs +1 -1
  126. package/dist/locale/km.mjs +1 -1
  127. package/dist/locale/ko.js +1 -1
  128. package/dist/locale/ko.min.js +1 -1
  129. package/dist/locale/ko.min.mjs +1 -1
  130. package/dist/locale/ko.mjs +1 -1
  131. package/dist/locale/ku.js +1 -1
  132. package/dist/locale/ku.min.js +1 -1
  133. package/dist/locale/ku.min.mjs +1 -1
  134. package/dist/locale/ku.mjs +1 -1
  135. package/dist/locale/ky.js +1 -1
  136. package/dist/locale/ky.min.js +1 -1
  137. package/dist/locale/ky.min.mjs +1 -1
  138. package/dist/locale/ky.mjs +1 -1
  139. package/dist/locale/lt.js +1 -1
  140. package/dist/locale/lt.min.js +1 -1
  141. package/dist/locale/lt.min.mjs +1 -1
  142. package/dist/locale/lt.mjs +1 -1
  143. package/dist/locale/lv.js +1 -1
  144. package/dist/locale/lv.min.js +1 -1
  145. package/dist/locale/lv.min.mjs +1 -1
  146. package/dist/locale/lv.mjs +1 -1
  147. package/dist/locale/mg.js +1 -1
  148. package/dist/locale/mg.min.js +1 -1
  149. package/dist/locale/mg.min.mjs +1 -1
  150. package/dist/locale/mg.mjs +1 -1
  151. package/dist/locale/mn.js +1 -1
  152. package/dist/locale/mn.min.js +1 -1
  153. package/dist/locale/mn.min.mjs +1 -1
  154. package/dist/locale/mn.mjs +1 -1
  155. package/dist/locale/nb-no.js +1 -1
  156. package/dist/locale/nb-no.min.js +1 -1
  157. package/dist/locale/nb-no.min.mjs +1 -1
  158. package/dist/locale/nb-no.mjs +1 -1
  159. package/dist/locale/nl.js +1 -1
  160. package/dist/locale/nl.min.js +1 -1
  161. package/dist/locale/nl.min.mjs +1 -1
  162. package/dist/locale/nl.mjs +1 -1
  163. package/dist/locale/pa.js +1 -1
  164. package/dist/locale/pa.min.js +1 -1
  165. package/dist/locale/pa.min.mjs +1 -1
  166. package/dist/locale/pa.mjs +1 -1
  167. package/dist/locale/pl.js +1 -1
  168. package/dist/locale/pl.min.js +1 -1
  169. package/dist/locale/pl.min.mjs +1 -1
  170. package/dist/locale/pl.mjs +1 -1
  171. package/dist/locale/pt-br.js +1 -1
  172. package/dist/locale/pt-br.min.js +1 -1
  173. package/dist/locale/pt-br.min.mjs +1 -1
  174. package/dist/locale/pt-br.mjs +1 -1
  175. package/dist/locale/pt.js +1 -1
  176. package/dist/locale/pt.min.js +1 -1
  177. package/dist/locale/pt.min.mjs +1 -1
  178. package/dist/locale/pt.mjs +1 -1
  179. package/dist/locale/ro.js +1 -1
  180. package/dist/locale/ro.min.js +1 -1
  181. package/dist/locale/ro.min.mjs +1 -1
  182. package/dist/locale/ro.mjs +1 -1
  183. package/dist/locale/ru.js +1 -1
  184. package/dist/locale/ru.min.js +1 -1
  185. package/dist/locale/ru.min.mjs +1 -1
  186. package/dist/locale/ru.mjs +1 -1
  187. package/dist/locale/sk.js +1 -1
  188. package/dist/locale/sk.min.js +1 -1
  189. package/dist/locale/sk.min.mjs +1 -1
  190. package/dist/locale/sk.mjs +1 -1
  191. package/dist/locale/sl.js +1 -1
  192. package/dist/locale/sl.min.js +1 -1
  193. package/dist/locale/sl.min.mjs +1 -1
  194. package/dist/locale/sl.mjs +1 -1
  195. package/dist/locale/sr.js +1 -1
  196. package/dist/locale/sr.min.js +1 -1
  197. package/dist/locale/sr.min.mjs +1 -1
  198. package/dist/locale/sr.mjs +1 -1
  199. package/dist/locale/sv.js +1 -1
  200. package/dist/locale/sv.min.js +1 -1
  201. package/dist/locale/sv.min.mjs +1 -1
  202. package/dist/locale/sv.mjs +1 -1
  203. package/dist/locale/sw.js +1 -1
  204. package/dist/locale/sw.min.js +1 -1
  205. package/dist/locale/sw.min.mjs +1 -1
  206. package/dist/locale/sw.mjs +1 -1
  207. package/dist/locale/ta.js +1 -1
  208. package/dist/locale/ta.min.js +1 -1
  209. package/dist/locale/ta.min.mjs +1 -1
  210. package/dist/locale/ta.mjs +1 -1
  211. package/dist/locale/th.js +1 -1
  212. package/dist/locale/th.min.js +1 -1
  213. package/dist/locale/th.min.mjs +1 -1
  214. package/dist/locale/th.mjs +1 -1
  215. package/dist/locale/tk.js +1 -1
  216. package/dist/locale/tk.min.js +1 -1
  217. package/dist/locale/tk.min.mjs +1 -1
  218. package/dist/locale/tk.mjs +1 -1
  219. package/dist/locale/tr.js +1 -1
  220. package/dist/locale/tr.min.js +1 -1
  221. package/dist/locale/tr.min.mjs +1 -1
  222. package/dist/locale/tr.mjs +1 -1
  223. package/dist/locale/ug-cn.js +1 -1
  224. package/dist/locale/ug-cn.min.js +1 -1
  225. package/dist/locale/ug-cn.min.mjs +1 -1
  226. package/dist/locale/ug-cn.mjs +1 -1
  227. package/dist/locale/uk.js +1 -1
  228. package/dist/locale/uk.min.js +1 -1
  229. package/dist/locale/uk.min.mjs +1 -1
  230. package/dist/locale/uk.mjs +1 -1
  231. package/dist/locale/uz-uz.js +1 -1
  232. package/dist/locale/uz-uz.min.js +1 -1
  233. package/dist/locale/uz-uz.min.mjs +1 -1
  234. package/dist/locale/uz-uz.mjs +1 -1
  235. package/dist/locale/vi.js +1 -1
  236. package/dist/locale/vi.min.js +1 -1
  237. package/dist/locale/vi.min.mjs +1 -1
  238. package/dist/locale/vi.mjs +1 -1
  239. package/dist/locale/zh-cn.js +1 -1
  240. package/dist/locale/zh-cn.min.js +1 -1
  241. package/dist/locale/zh-cn.min.mjs +1 -1
  242. package/dist/locale/zh-cn.mjs +1 -1
  243. package/dist/locale/zh-tw.js +1 -1
  244. package/dist/locale/zh-tw.min.js +1 -1
  245. package/dist/locale/zh-tw.min.mjs +1 -1
  246. package/dist/locale/zh-tw.mjs +1 -1
  247. package/es/components/backtop/index.mjs +2 -2
  248. package/es/components/backtop/src/backtop.mjs +21 -54
  249. package/es/components/backtop/src/backtop.mjs.map +1 -1
  250. package/es/components/backtop/src/backtop2.mjs +54 -21
  251. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  252. package/es/components/button/src/button-custom.mjs +5 -1
  253. package/es/components/button/src/button-custom.mjs.map +1 -1
  254. package/es/components/carousel/src/use-carousel.mjs +2 -0
  255. package/es/components/carousel/src/use-carousel.mjs.map +1 -1
  256. package/es/components/cascader/index.d.ts +8 -2
  257. package/es/components/cascader/src/cascader.d.ts +1 -0
  258. package/es/components/cascader/src/cascader.mjs +1 -0
  259. package/es/components/cascader/src/cascader.mjs.map +1 -1
  260. package/es/components/cascader/src/cascader.vue.d.ts +4 -1
  261. package/es/components/cascader/src/cascader2.mjs +1 -0
  262. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  263. package/es/components/color-picker/index.d.ts +8 -0
  264. package/es/components/color-picker/src/color-picker.vue.d.ts +8 -0
  265. package/es/components/color-picker/src/color-picker2.mjs +2 -1
  266. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  267. package/es/components/color-picker/src/components/predefine.mjs +5 -1
  268. package/es/components/color-picker/src/components/predefine.mjs.map +1 -1
  269. package/es/components/color-picker/src/components/predefine.vue.d.ts +8 -0
  270. package/es/components/config-provider/index.d.ts +1 -1
  271. package/es/components/config-provider/src/config-provider.d.ts +1 -1
  272. package/es/components/config-provider/src/hooks/use-global-config.mjs +5 -0
  273. package/es/components/config-provider/src/hooks/use-global-config.mjs.map +1 -1
  274. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +12 -11
  275. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
  276. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
  277. package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs +3 -2
  278. package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs.map +1 -1
  279. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  280. package/es/components/date-picker/src/panel-utils.d.ts +2 -2
  281. package/es/components/dialog/src/dialog-content.mjs +26 -89
  282. package/es/components/dialog/src/dialog-content.mjs.map +1 -1
  283. package/es/components/dialog/src/dialog-content2.mjs +89 -26
  284. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  285. package/es/components/dialog/src/dialog.mjs +1 -1
  286. package/es/components/dialog/src/dialog2.mjs +1 -1
  287. package/es/components/form/index.d.ts +12 -2
  288. package/es/components/form/index.mjs +2 -2
  289. package/es/components/form/src/form-item.d.ts +1 -0
  290. package/es/components/form/src/form-item.mjs +322 -43
  291. package/es/components/form/src/form-item.mjs.map +1 -1
  292. package/es/components/form/src/form-item.vue.d.ts +6 -1
  293. package/es/components/form/src/form-item2.mjs +48 -318
  294. package/es/components/form/src/form-item2.mjs.map +1 -1
  295. package/es/components/form/src/form-label-wrap.mjs +2 -1
  296. package/es/components/form/src/form-label-wrap.mjs.map +1 -1
  297. package/es/components/image/src/image2.mjs +2 -1
  298. package/es/components/image/src/image2.mjs.map +1 -1
  299. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  300. package/es/components/index.mjs +4 -4
  301. package/es/components/input/src/input2.mjs +7 -3
  302. package/es/components/input/src/input2.mjs.map +1 -1
  303. package/es/components/message-box/src/index.mjs +7 -2
  304. package/es/components/message-box/src/index.mjs.map +1 -1
  305. package/es/components/message-box/src/index.vue.d.ts +242 -0
  306. package/es/components/message-box/src/message-box.type.d.ts +6 -0
  307. package/es/components/pagination/index.d.ts +12 -0
  308. package/es/components/pagination/src/components/sizes.vue.d.ts +16 -0
  309. package/es/components/pagination/src/pagination.d.ts +24 -0
  310. package/es/components/pagination/src/pagination.mjs +17 -5
  311. package/es/components/pagination/src/pagination.mjs.map +1 -1
  312. package/es/components/progress/index.mjs +2 -2
  313. package/es/components/progress/src/progress.mjs +59 -205
  314. package/es/components/progress/src/progress.mjs.map +1 -1
  315. package/es/components/progress/src/progress2.mjs +213 -59
  316. package/es/components/progress/src/progress2.mjs.map +1 -1
  317. package/es/components/select/index.d.ts +16 -0
  318. package/es/components/select/src/select.d.ts +7 -0
  319. package/es/components/select/src/select.mjs +1 -0
  320. package/es/components/select/src/select.mjs.map +1 -1
  321. package/es/components/select/src/select.vue.d.ts +16 -0
  322. package/es/components/select/src/select2.mjs +11 -7
  323. package/es/components/select/src/select2.mjs.map +1 -1
  324. package/es/components/select/src/useSelect.d.ts +1 -0
  325. package/es/components/select/src/useSelect.mjs +5 -1
  326. package/es/components/select/src/useSelect.mjs.map +1 -1
  327. package/es/components/select-v2/index.d.ts +30 -0
  328. package/es/components/select-v2/src/defaults.d.ts +7 -0
  329. package/es/components/select-v2/src/defaults.mjs +1 -0
  330. package/es/components/select-v2/src/defaults.mjs.map +1 -1
  331. package/es/components/select-v2/src/select.mjs +12 -9
  332. package/es/components/select-v2/src/select.mjs.map +1 -1
  333. package/es/components/select-v2/src/select.vue.d.ts +15 -0
  334. package/es/components/table/index.d.ts +1 -0
  335. package/es/components/table/src/table-header/index.mjs +6 -1
  336. package/es/components/table/src/table-header/index.mjs.map +1 -1
  337. package/es/components/table/src/table-header/utils-helper.d.ts +1 -0
  338. package/es/components/table/src/table-header/utils-helper.mjs +1 -1
  339. package/es/components/table/src/table-header/utils-helper.mjs.map +1 -1
  340. package/es/components/table/src/table.mjs +5 -0
  341. package/es/components/table/src/table.mjs.map +1 -1
  342. package/es/components/table/src/table.vue.d.ts +7 -6
  343. package/es/components/table-v2/src/composables/use-row.mjs +1 -1
  344. package/es/components/table-v2/src/composables/use-row.mjs.map +1 -1
  345. package/es/components/time-picker/src/common/picker.mjs +2 -0
  346. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  347. package/es/components/time-picker/src/common/picker.vue.d.ts +4 -2
  348. package/es/components/time-select/index.d.ts +70 -2
  349. package/es/components/time-select/src/time-select.vue.d.ts +38 -10
  350. package/es/components/time-select/src/time-select2.mjs +3 -2
  351. package/es/components/time-select/src/time-select2.mjs.map +1 -1
  352. package/es/components/tour/index.mjs +2 -2
  353. package/es/components/tour/src/step.mjs +44 -169
  354. package/es/components/tour/src/step.mjs.map +1 -1
  355. package/es/components/tour/src/step2.mjs +169 -44
  356. package/es/components/tour/src/step2.mjs.map +1 -1
  357. package/es/components/tree/src/tree.type.d.ts +1 -1
  358. package/es/components/tree-select/src/cache-options.mjs +3 -1
  359. package/es/components/tree-select/src/cache-options.mjs.map +1 -1
  360. package/es/components/tree-select/src/tree-select-option.mjs +6 -1
  361. package/es/components/tree-select/src/tree-select-option.mjs.map +1 -1
  362. package/es/components/tree-select/src/tree.mjs +2 -1
  363. package/es/components/tree-select/src/tree.mjs.map +1 -1
  364. package/es/hooks/index.mjs +1 -1
  365. package/es/hooks/use-empty-values/index.d.ts +5 -2
  366. package/es/hooks/use-empty-values/index.mjs +4 -8
  367. package/es/hooks/use-empty-values/index.mjs.map +1 -1
  368. package/es/index.mjs +5 -5
  369. package/es/locale/lang/fr.d.ts +5 -0
  370. package/es/locale/lang/fr.mjs +13 -8
  371. package/es/locale/lang/fr.mjs.map +1 -1
  372. package/es/version.d.ts +1 -1
  373. package/es/version.mjs +1 -1
  374. package/es/version.mjs.map +1 -1
  375. package/lib/components/backtop/index.js +2 -2
  376. package/lib/components/backtop/src/backtop.js +22 -54
  377. package/lib/components/backtop/src/backtop.js.map +1 -1
  378. package/lib/components/backtop/src/backtop2.js +54 -22
  379. package/lib/components/backtop/src/backtop2.js.map +1 -1
  380. package/lib/components/button/src/button-custom.js +5 -1
  381. package/lib/components/button/src/button-custom.js.map +1 -1
  382. package/lib/components/carousel/src/use-carousel.js +2 -0
  383. package/lib/components/carousel/src/use-carousel.js.map +1 -1
  384. package/lib/components/cascader/index.d.ts +8 -2
  385. package/lib/components/cascader/src/cascader.d.ts +1 -0
  386. package/lib/components/cascader/src/cascader.js +1 -0
  387. package/lib/components/cascader/src/cascader.js.map +1 -1
  388. package/lib/components/cascader/src/cascader.vue.d.ts +4 -1
  389. package/lib/components/cascader/src/cascader2.js +1 -0
  390. package/lib/components/cascader/src/cascader2.js.map +1 -1
  391. package/lib/components/color-picker/index.d.ts +8 -0
  392. package/lib/components/color-picker/src/color-picker.vue.d.ts +8 -0
  393. package/lib/components/color-picker/src/color-picker2.js +2 -1
  394. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  395. package/lib/components/color-picker/src/components/predefine.js +5 -1
  396. package/lib/components/color-picker/src/components/predefine.js.map +1 -1
  397. package/lib/components/color-picker/src/components/predefine.vue.d.ts +8 -0
  398. package/lib/components/config-provider/index.d.ts +1 -1
  399. package/lib/components/config-provider/src/config-provider.d.ts +1 -1
  400. package/lib/components/config-provider/src/hooks/use-global-config.js +5 -0
  401. package/lib/components/config-provider/src/hooks/use-global-config.js.map +1 -1
  402. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +12 -11
  403. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
  404. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -1
  405. package/lib/components/date-picker/src/date-picker-com/panel-month-range.js +3 -2
  406. package/lib/components/date-picker/src/date-picker-com/panel-month-range.js.map +1 -1
  407. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +1 -1
  408. package/lib/components/date-picker/src/panel-utils.d.ts +2 -2
  409. package/lib/components/dialog/src/dialog-content.js +26 -88
  410. package/lib/components/dialog/src/dialog-content.js.map +1 -1
  411. package/lib/components/dialog/src/dialog-content2.js +88 -26
  412. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  413. package/lib/components/dialog/src/dialog.js +1 -1
  414. package/lib/components/dialog/src/dialog2.js +1 -1
  415. package/lib/components/form/index.d.ts +12 -2
  416. package/lib/components/form/index.js +2 -2
  417. package/lib/components/form/src/form-item.d.ts +1 -0
  418. package/lib/components/form/src/form-item.js +326 -44
  419. package/lib/components/form/src/form-item.js.map +1 -1
  420. package/lib/components/form/src/form-item.vue.d.ts +6 -1
  421. package/lib/components/form/src/form-item2.js +49 -322
  422. package/lib/components/form/src/form-item2.js.map +1 -1
  423. package/lib/components/form/src/form-label-wrap.js +2 -1
  424. package/lib/components/form/src/form-label-wrap.js.map +1 -1
  425. package/lib/components/image/src/image2.js +2 -1
  426. package/lib/components/image/src/image2.js.map +1 -1
  427. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  428. package/lib/components/index.js +4 -4
  429. package/lib/components/input/src/input2.js +7 -3
  430. package/lib/components/input/src/input2.js.map +1 -1
  431. package/lib/components/message-box/src/index.js +7 -2
  432. package/lib/components/message-box/src/index.js.map +1 -1
  433. package/lib/components/message-box/src/index.vue.d.ts +242 -0
  434. package/lib/components/message-box/src/message-box.type.d.ts +6 -0
  435. package/lib/components/pagination/index.d.ts +12 -0
  436. package/lib/components/pagination/src/components/sizes.vue.d.ts +16 -0
  437. package/lib/components/pagination/src/pagination.d.ts +24 -0
  438. package/lib/components/pagination/src/pagination.js +21 -9
  439. package/lib/components/pagination/src/pagination.js.map +1 -1
  440. package/lib/components/progress/index.js +2 -2
  441. package/lib/components/progress/src/progress.js +59 -205
  442. package/lib/components/progress/src/progress.js.map +1 -1
  443. package/lib/components/progress/src/progress2.js +213 -59
  444. package/lib/components/progress/src/progress2.js.map +1 -1
  445. package/lib/components/select/index.d.ts +16 -0
  446. package/lib/components/select/src/select.d.ts +7 -0
  447. package/lib/components/select/src/select.js +1 -0
  448. package/lib/components/select/src/select.js.map +1 -1
  449. package/lib/components/select/src/select.vue.d.ts +16 -0
  450. package/lib/components/select/src/select2.js +10 -6
  451. package/lib/components/select/src/select2.js.map +1 -1
  452. package/lib/components/select/src/useSelect.d.ts +1 -0
  453. package/lib/components/select/src/useSelect.js +4 -0
  454. package/lib/components/select/src/useSelect.js.map +1 -1
  455. package/lib/components/select-v2/index.d.ts +30 -0
  456. package/lib/components/select-v2/src/defaults.d.ts +7 -0
  457. package/lib/components/select-v2/src/defaults.js +1 -0
  458. package/lib/components/select-v2/src/defaults.js.map +1 -1
  459. package/lib/components/select-v2/src/select.js +11 -8
  460. package/lib/components/select-v2/src/select.js.map +1 -1
  461. package/lib/components/select-v2/src/select.vue.d.ts +15 -0
  462. package/lib/components/table/index.d.ts +1 -0
  463. package/lib/components/table/src/table-header/index.js +6 -1
  464. package/lib/components/table/src/table-header/index.js.map +1 -1
  465. package/lib/components/table/src/table-header/utils-helper.d.ts +1 -0
  466. package/lib/components/table/src/table-header/utils-helper.js +1 -0
  467. package/lib/components/table/src/table-header/utils-helper.js.map +1 -1
  468. package/lib/components/table/src/table.js +5 -0
  469. package/lib/components/table/src/table.js.map +1 -1
  470. package/lib/components/table/src/table.vue.d.ts +7 -6
  471. package/lib/components/table-v2/src/composables/use-row.js +1 -1
  472. package/lib/components/table-v2/src/composables/use-row.js.map +1 -1
  473. package/lib/components/time-picker/src/common/picker.js +2 -0
  474. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  475. package/lib/components/time-picker/src/common/picker.vue.d.ts +4 -2
  476. package/lib/components/time-select/index.d.ts +70 -2
  477. package/lib/components/time-select/src/time-select.vue.d.ts +38 -10
  478. package/lib/components/time-select/src/time-select2.js +3 -2
  479. package/lib/components/time-select/src/time-select2.js.map +1 -1
  480. package/lib/components/tour/index.js +2 -2
  481. package/lib/components/tour/src/step.js +44 -168
  482. package/lib/components/tour/src/step.js.map +1 -1
  483. package/lib/components/tour/src/step2.js +168 -44
  484. package/lib/components/tour/src/step2.js.map +1 -1
  485. package/lib/components/tree/src/tree.type.d.ts +1 -1
  486. package/lib/components/tree-select/src/cache-options.js +3 -1
  487. package/lib/components/tree-select/src/cache-options.js.map +1 -1
  488. package/lib/components/tree-select/src/tree-select-option.js +5 -0
  489. package/lib/components/tree-select/src/tree-select-option.js.map +1 -1
  490. package/lib/components/tree-select/src/tree.js +2 -1
  491. package/lib/components/tree-select/src/tree.js.map +1 -1
  492. package/lib/hooks/index.js +1 -0
  493. package/lib/hooks/index.js.map +1 -1
  494. package/lib/hooks/use-empty-values/index.d.ts +5 -2
  495. package/lib/hooks/use-empty-values/index.js +3 -6
  496. package/lib/hooks/use-empty-values/index.js.map +1 -1
  497. package/lib/index.js +5 -4
  498. package/lib/index.js.map +1 -1
  499. package/lib/locale/lang/fr.d.ts +5 -0
  500. package/lib/locale/lang/fr.js +13 -8
  501. package/lib/locale/lang/fr.js.map +1 -1
  502. package/lib/version.d.ts +1 -1
  503. package/lib/version.js +1 -1
  504. package/lib/version.js.map +1 -1
  505. package/package.json +2 -2
  506. package/tags.json +1 -1
  507. package/theme-chalk/el-drawer.css +1 -1
  508. package/theme-chalk/el-form.css +1 -1
  509. package/theme-chalk/el-pagination.css +1 -1
  510. package/theme-chalk/el-select-v2.css +1 -1
  511. package/theme-chalk/el-select.css +1 -1
  512. package/theme-chalk/el-table.css +1 -1
  513. package/theme-chalk/el-upload.css +1 -1
  514. package/theme-chalk/index.css +1 -1
  515. package/theme-chalk/src/common/var.scss +2 -0
  516. package/theme-chalk/src/drawer.scss +1 -1
  517. package/theme-chalk/src/form.scss +24 -31
  518. package/theme-chalk/src/pagination.scss +13 -0
  519. package/theme-chalk/src/select.scss +4 -0
  520. package/theme-chalk/src/table.scss +25 -2
  521. package/theme-chalk/src/upload.scss +1 -1
  522. package/web-types.json +1 -1
@@ -1,6 +1,6 @@
1
- /*! Element Plus v2.7.5 */
1
+ /*! Element Plus v2.7.7 */
2
2
 
3
- import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, 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, guardReactiveProps, toRaw, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, markRaw, effectScope, resolveDirective, render, createApp, shallowReactive } from 'vue';
3
+ import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, 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, guardReactiveProps, toRaw, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, markRaw, effectScope, resolveDirective, toHandlerKey, render, createApp, shallowReactive } from 'vue';
4
4
 
5
5
  const FOCUSABLE_ELEMENT_SELECTORS = `a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])`;
6
6
  const isVisible = (element) => {
@@ -113,7 +113,7 @@ const isDef = (val) => typeof val !== "undefined";
113
113
  const isString$2 = (val) => typeof val === "string";
114
114
  const noop$1 = () => {
115
115
  };
116
- isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
116
+ const isIOS = isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
117
117
 
118
118
  function resolveUnref(r) {
119
119
  return typeof r === "function" ? r() : unref(r);
@@ -11316,6 +11316,7 @@ function useFocusController(target, { afterFocus, beforeBlur, afterBlur } = {})
11316
11316
  };
11317
11317
  }
11318
11318
 
11319
+ const emptyValuesContextKey = Symbol("emptyValuesContextKey");
11319
11320
  const SCOPE$3 = "use-empty-values";
11320
11321
  const DEFAULT_EMPTY_VALUES = ["", void 0, null];
11321
11322
  const DEFAULT_VALUE_ON_CLEAR = void 0;
@@ -11328,10 +11329,7 @@ const useEmptyValuesProps = buildProps({
11328
11329
  }
11329
11330
  });
11330
11331
  const useEmptyValues = (props, defaultValue) => {
11331
- let config = useGlobalConfig();
11332
- if (!config.value) {
11333
- config = ref({});
11334
- }
11332
+ const config = getCurrentInstance() ? inject(emptyValuesContextKey, ref({})) : ref({});
11335
11333
  const emptyValues = computed(() => props.emptyValues || config.value.emptyValues || DEFAULT_EMPTY_VALUES);
11336
11334
  const valueOnClear = computed(() => {
11337
11335
  if (isFunction$1(props.valueOnClear)) {
@@ -11429,6 +11427,10 @@ const provideGlobalConfig = (config, app, global = false) => {
11429
11427
  provideFn(SIZE_INJECTION_KEY, {
11430
11428
  size: computed(() => context.value.size || "")
11431
11429
  });
11430
+ provideFn(emptyValuesContextKey, computed(() => ({
11431
+ emptyValues: context.value.emptyValues,
11432
+ valueOnClear: context.value.valueOnClear
11433
+ })));
11432
11434
  if (global || !globalConfig.value) {
11433
11435
  globalConfig.value = context.value;
11434
11436
  }
@@ -11488,7 +11490,7 @@ const ConfigProvider = defineComponent({
11488
11490
 
11489
11491
  const ElConfigProvider = withInstall(ConfigProvider);
11490
11492
 
11491
- const version$1 = "2.7.5";
11493
+ const version$1 = "2.7.7";
11492
11494
 
11493
11495
  const makeInstaller = (components = []) => {
11494
11496
  const install = (app, options) => {
@@ -13179,6 +13181,11 @@ const formItemProps = buildProps({
13179
13181
  type: [String, Number],
13180
13182
  default: ""
13181
13183
  },
13184
+ labelPosition: {
13185
+ type: String,
13186
+ values: ["left", "right", "top", ""],
13187
+ default: ""
13188
+ },
13182
13189
  prop: {
13183
13190
  type: definePropType([String, Array])
13184
13191
  },
@@ -13276,7 +13283,8 @@ var FormLabelWrap = defineComponent({
13276
13283
  const style = {};
13277
13284
  if (hasLabel && autoLabelWidth && autoLabelWidth !== "auto") {
13278
13285
  const marginWidth = Math.max(0, Number.parseInt(autoLabelWidth, 10) - computedWidth.value);
13279
- const marginPosition = formContext.labelPosition === "left" ? "marginRight" : "marginLeft";
13286
+ const labelPosition = formItemContext.labelPosition || formContext.labelPosition;
13287
+ const marginPosition = labelPosition === "left" ? "marginRight" : "marginLeft";
13280
13288
  if (marginWidth) {
13281
13289
  style[marginPosition] = `${marginWidth}px`;
13282
13290
  }
@@ -13317,8 +13325,9 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
13317
13325
  const formItemRef = ref();
13318
13326
  let initialValue = void 0;
13319
13327
  let isResettingField = false;
13328
+ const labelPosition = computed(() => props.labelPosition || (formContext == null ? void 0 : formContext.labelPosition));
13320
13329
  const labelStyle = computed(() => {
13321
- if ((formContext == null ? void 0 : formContext.labelPosition) === "top") {
13330
+ if (labelPosition.value === "top") {
13322
13331
  return {};
13323
13332
  }
13324
13333
  const labelWidth = addUnit(props.labelWidth || (formContext == null ? void 0 : formContext.labelWidth) || "");
@@ -13327,7 +13336,7 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
13327
13336
  return {};
13328
13337
  });
13329
13338
  const contentStyle = computed(() => {
13330
- if ((formContext == null ? void 0 : formContext.labelPosition) === "top" || (formContext == null ? void 0 : formContext.inline)) {
13339
+ if (labelPosition.value === "top" || (formContext == null ? void 0 : formContext.inline)) {
13331
13340
  return {};
13332
13341
  }
13333
13342
  if (!props.label && !props.labelWidth && isNested) {
@@ -13348,7 +13357,10 @@ const _sfc_main$2m = /* @__PURE__ */ defineComponent({
13348
13357
  ns.is("required", isRequired.value || props.required),
13349
13358
  ns.is("no-asterisk", formContext == null ? void 0 : formContext.hideRequiredAsterisk),
13350
13359
  (formContext == null ? void 0 : formContext.requireAsteriskPosition) === "right" ? "asterisk-right" : "asterisk-left",
13351
- { [ns.m("feedback")]: formContext == null ? void 0 : formContext.statusIcon }
13360
+ {
13361
+ [ns.m("feedback")]: formContext == null ? void 0 : formContext.statusIcon,
13362
+ [ns.m(`label-${labelPosition.value}`)]: labelPosition.value
13363
+ }
13352
13364
  ]);
13353
13365
  const _inlineMessage = computed(() => isBoolean(props.inlineMessage) ? props.inlineMessage : (formContext == null ? void 0 : formContext.inlineMessage) || false);
13354
13366
  const validateClasses = computed(() => [
@@ -13820,8 +13832,6 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
13820
13832
  nsInput.is("exceed", inputExceed.value),
13821
13833
  {
13822
13834
  [nsInput.b("group")]: slots.prepend || slots.append,
13823
- [nsInput.bm("group", "append")]: slots.append,
13824
- [nsInput.bm("group", "prepend")]: slots.prepend,
13825
13835
  [nsInput.m("prefix")]: slots.prefix || props.prefixIcon,
13826
13836
  [nsInput.m("suffix")]: slots.suffix || props.suffixIcon || props.clearable || props.showPassword,
13827
13837
  [nsInput.bm("suffix", "password-clear")]: showClear.value && showPwdVisible.value,
@@ -14050,7 +14060,13 @@ const _sfc_main$2l = /* @__PURE__ */ defineComponent({
14050
14060
  });
14051
14061
  return (_ctx, _cache) => {
14052
14062
  return openBlock(), createElementBlock("div", mergeProps(unref(containerAttrs), {
14053
- class: unref(containerKls),
14063
+ class: [
14064
+ unref(containerKls),
14065
+ {
14066
+ [unref(nsInput).bm("group", "append")]: _ctx.$slots.append,
14067
+ [unref(nsInput).bm("group", "prepend")]: _ctx.$slots.prepend
14068
+ }
14069
+ ],
14054
14070
  style: unref(containerStyle),
14055
14071
  role: _ctx.containerRole,
14056
14072
  onMouseenter: handleMouseEnter,
@@ -18085,8 +18101,12 @@ function useButtonCustomStyle(props) {
18085
18101
  const ns = useNamespace("button");
18086
18102
  return computed(() => {
18087
18103
  let styles = {};
18088
- const buttonColor = props.color;
18104
+ let buttonColor = props.color;
18089
18105
  if (buttonColor) {
18106
+ const match = buttonColor.match(/var\((.*?)\)/);
18107
+ if (match) {
18108
+ buttonColor = window.getComputedStyle(window.document.documentElement).getPropertyValue(match[1]);
18109
+ }
18090
18110
  const color = new TinyColor(buttonColor);
18091
18111
  const activeBgColor = props.dark ? color.tint(20).toString() : darken(color, 20);
18092
18112
  if (props.plain) {
@@ -18788,6 +18808,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
18788
18808
  "change",
18789
18809
  "focus",
18790
18810
  "blur",
18811
+ "clear",
18791
18812
  "calendar-change",
18792
18813
  "panel-change",
18793
18814
  "visible-change",
@@ -19027,6 +19048,7 @@ const _sfc_main$21 = /* @__PURE__ */ defineComponent({
19027
19048
  pickerVisible.value = false;
19028
19049
  pickerOptions.value.handleClear && pickerOptions.value.handleClear();
19029
19050
  }
19051
+ emit("clear");
19030
19052
  };
19031
19053
  const valueIsEmpty = computed(() => {
19032
19054
  const { modelValue } = props;
@@ -21221,6 +21243,8 @@ const useCarousel = (props, emit, componentName) => {
21221
21243
  activeIndex.value = activeIndex.value + 1;
21222
21244
  } else if (props.loop) {
21223
21245
  activeIndex.value = 0;
21246
+ } else {
21247
+ isTransitioning.value = false;
21224
21248
  }
21225
21249
  };
21226
21250
  function setActiveItem(index) {
@@ -23770,6 +23794,7 @@ const cascaderEmits = {
23770
23794
  [CHANGE_EVENT]: (_) => true,
23771
23795
  focus: (evt) => evt instanceof FocusEvent,
23772
23796
  blur: (evt) => evt instanceof FocusEvent,
23797
+ clear: () => true,
23773
23798
  visibleChange: (val) => isBoolean(val),
23774
23799
  expandChange: (val) => !!val,
23775
23800
  removeTag: (val) => !!val
@@ -24061,6 +24086,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
24061
24086
  syncPresentTextValue();
24062
24087
  }
24063
24088
  togglePopperVisible(false);
24089
+ emit("clear");
24064
24090
  };
24065
24091
  const syncPresentTextValue = () => {
24066
24092
  const { value } = presentText;
@@ -25613,6 +25639,10 @@ const _sfc_main$1B = defineComponent({
25613
25639
  color: {
25614
25640
  type: Object,
25615
25641
  required: true
25642
+ },
25643
+ enableAlpha: {
25644
+ type: Boolean,
25645
+ required: true
25616
25646
  }
25617
25647
  },
25618
25648
  setup(props) {
@@ -25635,7 +25665,7 @@ const _sfc_main$1B = defineComponent({
25635
25665
  function parseColors(colors, color) {
25636
25666
  return colors.map((value) => {
25637
25667
  const c = new Color();
25638
- c.enableAlpha = true;
25668
+ c.enableAlpha = props.enableAlpha;
25639
25669
  c.format = "rgba";
25640
25670
  c.fromString(value);
25641
25671
  c.selected = c.value === color.value;
@@ -26049,9 +26079,10 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
26049
26079
  _ctx.predefine ? (openBlock(), createBlock(Predefine, {
26050
26080
  key: 1,
26051
26081
  ref: "predefine",
26082
+ "enable-alpha": _ctx.showAlpha,
26052
26083
  color: unref(color),
26053
26084
  colors: _ctx.predefine
26054
- }, null, 8, ["color", "colors"])) : createCommentVNode("v-if", true),
26085
+ }, null, 8, ["enable-alpha", "color", "colors"])) : createCommentVNode("v-if", true),
26055
26086
  createElementVNode("div", {
26056
26087
  class: normalizeClass(unref(ns).be("dropdown", "btns"))
26057
26088
  }, [
@@ -28185,7 +28216,8 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
28185
28216
  setup(__props, { emit }) {
28186
28217
  const props = __props;
28187
28218
  const pickerBase = inject("EP_PICKER_BASE");
28188
- const { disabledDate, cellClassName, format, defaultTime, clearable } = pickerBase.props;
28219
+ const { disabledDate, cellClassName, defaultTime, clearable } = pickerBase.props;
28220
+ const format = toRef(pickerBase.props, "format");
28189
28221
  const shortcuts = toRef(pickerBase.props, "shortcuts");
28190
28222
  const defaultValue = toRef(pickerBase.props, "defaultValue");
28191
28223
  const { lang } = useLocale();
@@ -28265,10 +28297,10 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
28265
28297
  return "";
28266
28298
  });
28267
28299
  const timeFormat = computed(() => {
28268
- return props.timeFormat || extractTimeFormat(format);
28300
+ return props.timeFormat || extractTimeFormat(format.value);
28269
28301
  });
28270
28302
  const dateFormat = computed(() => {
28271
- return props.dateFormat || extractDateFormat(format);
28303
+ return props.dateFormat || extractDateFormat(format.value);
28272
28304
  });
28273
28305
  const isValidValue = (date) => {
28274
28306
  return isValidRange(date) && (disabledDate ? !disabledDate(date[0].toDate()) && !disabledDate(date[1].toDate()) : true);
@@ -28402,16 +28434,10 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
28402
28434
  if (type === "min") {
28403
28435
  minTimePickerVisible.value = true;
28404
28436
  minDate.value = (minDate.value || leftDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());
28405
- if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {
28406
- maxDate.value = minDate.value;
28407
- }
28408
28437
  } else {
28409
28438
  maxTimePickerVisible.value = true;
28410
28439
  maxDate.value = (maxDate.value || rightDate.value).hour(parsedValueD.hour()).minute(parsedValueD.minute()).second(parsedValueD.second());
28411
28440
  rightDate.value = maxDate.value;
28412
- if (maxDate.value && maxDate.value.isBefore(minDate.value)) {
28413
- minDate.value = maxDate.value;
28414
- }
28415
28441
  }
28416
28442
  }
28417
28443
  };
@@ -28420,9 +28446,15 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
28420
28446
  if (type === "min") {
28421
28447
  leftDate.value = minDate.value;
28422
28448
  minTimePickerVisible.value = false;
28449
+ if (!maxDate.value || maxDate.value.isBefore(minDate.value)) {
28450
+ maxDate.value = minDate.value;
28451
+ }
28423
28452
  } else {
28424
28453
  rightDate.value = maxDate.value;
28425
28454
  maxTimePickerVisible.value = false;
28455
+ if (maxDate.value && maxDate.value.isBefore(minDate.value)) {
28456
+ minDate.value = maxDate.value;
28457
+ }
28426
28458
  }
28427
28459
  };
28428
28460
  const handleMinTimePick = (value, visible, first) => {
@@ -28466,10 +28498,10 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
28466
28498
  emit("pick", null);
28467
28499
  };
28468
28500
  const formatToString = (value) => {
28469
- return isArray$1(value) ? value.map((_) => _.format(format)) : value.format(format);
28501
+ return isArray$1(value) ? value.map((_) => _.format(format.value)) : value.format(format.value);
28470
28502
  };
28471
28503
  const parseUserInput = (value) => {
28472
- return isArray$1(value) ? value.map((_) => dayjs(_, format).locale(lang.value)) : dayjs(value, format).locale(lang.value);
28504
+ return isArray$1(value) ? value.map((_) => dayjs(_, format.value).locale(lang.value)) : dayjs(value, format.value).locale(lang.value);
28473
28505
  };
28474
28506
  function onParsedValueChanged(minDate2, maxDate2) {
28475
28507
  if (props.unlinkPanels && maxDate2) {
@@ -28890,7 +28922,8 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
28890
28922
  const props = __props;
28891
28923
  const { lang } = useLocale();
28892
28924
  const pickerBase = inject("EP_PICKER_BASE");
28893
- const { shortcuts, disabledDate, format } = pickerBase.props;
28925
+ const { shortcuts, disabledDate } = pickerBase.props;
28926
+ const format = toRef(pickerBase.props, "format");
28894
28927
  const defaultValue = toRef(pickerBase.props, "defaultValue");
28895
28928
  const leftDate = ref(dayjs().locale(lang.value));
28896
28929
  const rightDate = ref(dayjs().locale(lang.value).add(1, unit));
@@ -28943,7 +28976,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
28943
28976
  handleRangeConfirm();
28944
28977
  };
28945
28978
  const formatToString = (days) => {
28946
- return days.map((day) => day.format(format));
28979
+ return days.map((day) => day.format(format.value));
28947
28980
  };
28948
28981
  function onParsedValueChanged(minDate2, maxDate2) {
28949
28982
  if (props.unlinkPanels && maxDate2) {
@@ -32264,6 +32297,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
32264
32297
  "min-scale": _ctx.minScale,
32265
32298
  "max-scale": _ctx.maxScale,
32266
32299
  "url-list": _ctx.previewSrcList,
32300
+ crossorigin: _ctx.crossorigin,
32267
32301
  "hide-on-click-modal": _ctx.hideOnClickModal,
32268
32302
  teleported: _ctx.previewTeleported,
32269
32303
  "close-on-press-escape": _ctx.closeOnPressEscape,
@@ -32276,7 +32310,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
32276
32310
  ])) : createCommentVNode("v-if", true)
32277
32311
  ]),
32278
32312
  _: 3
32279
- }, 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)
32313
+ }, 8, ["z-index", "initial-index", "infinite", "zoom-rate", "min-scale", "max-scale", "url-list", "crossorigin", "hide-on-click-modal", "teleported", "close-on-press-escape"])) : createCommentVNode("v-if", true)
32280
32314
  ], 64)) : createCommentVNode("v-if", true)
32281
32315
  ], 6);
32282
32316
  };
@@ -34326,6 +34360,7 @@ const useSelect$3 = (props, emit) => {
34326
34360
  const _placeholder = (_a = props.placeholder) != null ? _a : t("el.select.placeholder");
34327
34361
  return props.multiple || !hasModelValue.value ? _placeholder : states.selectedLabel;
34328
34362
  });
34363
+ const mouseEnterEventName = computed(() => isIOS ? null : "mouseenter");
34329
34364
  watch(() => props.modelValue, (val, oldVal) => {
34330
34365
  if (props.multiple) {
34331
34366
  if (props.filterable && !props.reserveKeyword) {
@@ -34652,6 +34687,8 @@ const useSelect$3 = (props, emit) => {
34652
34687
  const toggleMenu = () => {
34653
34688
  if (selectDisabled.value)
34654
34689
  return;
34690
+ if (isIOS)
34691
+ states.inputHovering = true;
34655
34692
  if (states.menuVisibleOnFocus) {
34656
34693
  states.menuVisibleOnFocus = false;
34657
34694
  } else {
@@ -34766,6 +34803,7 @@ const useSelect$3 = (props, emit) => {
34766
34803
  hasModelValue,
34767
34804
  shouldShowPlaceholder,
34768
34805
  currentPlaceholder,
34806
+ mouseEnterEventName,
34769
34807
  showClose,
34770
34808
  iconComponent,
34771
34809
  iconReverse,
@@ -34929,6 +34967,7 @@ const SelectProps$1 = buildProps({
34929
34967
  default: arrow_down_default
34930
34968
  },
34931
34969
  tagType: { ...tagProps.type, default: "info" },
34970
+ tagEffect: { ...tagProps.effect, default: "light" },
34932
34971
  validateEvent: {
34933
34972
  type: Boolean,
34934
34973
  default: true
@@ -34989,7 +35028,7 @@ const _sfc_main$W = defineComponent({
34989
35028
  };
34990
35029
  }
34991
35030
  });
34992
- const _hoisted_1$r = ["id", "disabled", "autocomplete", "readonly", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label"];
35031
+ const _hoisted_1$r = ["id", "name", "disabled", "autocomplete", "readonly", "aria-activedescendant", "aria-controls", "aria-expanded", "aria-label"];
34993
35032
  const _hoisted_2$h = ["textContent"];
34994
35033
  const _hoisted_3$8 = { key: 1 };
34995
35034
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
@@ -35004,7 +35043,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35004
35043
  return withDirectives((openBlock(), createElementBlock("div", {
35005
35044
  ref: "selectRef",
35006
35045
  class: normalizeClass([_ctx.nsSelect.b(), _ctx.nsSelect.m(_ctx.selectSize)]),
35007
- onMouseenter: _cache[16] || (_cache[16] = ($event) => _ctx.states.inputHovering = true),
35046
+ [toHandlerKey(_ctx.mouseEnterEventName)]: _cache[16] || (_cache[16] = ($event) => _ctx.states.inputHovering = true),
35008
35047
  onMouseleave: _cache[17] || (_cache[17] = ($event) => _ctx.states.inputHovering = false),
35009
35048
  onClick: _cache[18] || (_cache[18] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["prevent", "stop"]))
35010
35049
  }, [
@@ -35063,6 +35102,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35063
35102
  closable: !_ctx.selectDisabled && !item.isDisabled,
35064
35103
  size: _ctx.collapseTagSize,
35065
35104
  type: _ctx.tagType,
35105
+ effect: _ctx.tagEffect,
35066
35106
  "disable-transitions": "",
35067
35107
  style: normalizeStyle(_ctx.tagStyle),
35068
35108
  onClose: ($event) => _ctx.deleteTag($event, item)
@@ -35080,7 +35120,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35080
35120
  ], 2)
35081
35121
  ]),
35082
35122
  _: 2
35083
- }, 1032, ["closable", "size", "type", "style", "onClose"])
35123
+ }, 1032, ["closable", "size", "type", "effect", "style", "onClose"])
35084
35124
  ], 2);
35085
35125
  }), 128)),
35086
35126
  _ctx.collapseTags && _ctx.states.selected.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tooltip, {
@@ -35101,6 +35141,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35101
35141
  closable: false,
35102
35142
  size: _ctx.collapseTagSize,
35103
35143
  type: _ctx.tagType,
35144
+ effect: _ctx.tagEffect,
35104
35145
  "disable-transitions": "",
35105
35146
  style: normalizeStyle(_ctx.collapseTagStyle)
35106
35147
  }, {
@@ -35110,7 +35151,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35110
35151
  }, " + " + toDisplayString(_ctx.states.selected.length - _ctx.maxCollapseTags), 3)
35111
35152
  ]),
35112
35153
  _: 1
35113
- }, 8, ["size", "type", "style"])
35154
+ }, 8, ["size", "type", "effect", "style"])
35114
35155
  ], 2)
35115
35156
  ]),
35116
35157
  content: withCtx(() => [
@@ -35128,6 +35169,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35128
35169
  closable: !_ctx.selectDisabled && !item.isDisabled,
35129
35170
  size: _ctx.collapseTagSize,
35130
35171
  type: _ctx.tagType,
35172
+ effect: _ctx.tagEffect,
35131
35173
  "disable-transitions": "",
35132
35174
  onClose: ($event) => _ctx.deleteTag($event, item)
35133
35175
  }, {
@@ -35144,7 +35186,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35144
35186
  ], 2)
35145
35187
  ]),
35146
35188
  _: 2
35147
- }, 1032, ["closable", "size", "type", "onClose"])
35189
+ }, 1032, ["closable", "size", "type", "effect", "onClose"])
35148
35190
  ], 2);
35149
35191
  }), 128))
35150
35192
  ], 2)
@@ -35165,6 +35207,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35165
35207
  ref: "inputRef",
35166
35208
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.states.inputValue = $event),
35167
35209
  type: "text",
35210
+ name: _ctx.name,
35168
35211
  class: normalizeClass([_ctx.nsSelect.e("input"), _ctx.nsSelect.is(_ctx.selectSize)]),
35169
35212
  disabled: _ctx.selectDisabled,
35170
35213
  autocomplete: _ctx.autocomplete,
@@ -35322,7 +35365,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35322
35365
  ]),
35323
35366
  _: 3
35324
35367
  }, 8, ["visible", "placement", "teleported", "popper-class", "popper-options", "fallback-placements", "effect", "transition", "persistent", "onBeforeShow"])
35325
- ], 34)), [
35368
+ ], 16)), [
35326
35369
  [_directive_click_outside, _ctx.handleClickOutside, _ctx.popperRef]
35327
35370
  ]);
35328
35371
  }
@@ -35858,6 +35901,7 @@ const paginationProps = buildProps({
35858
35901
  default: true
35859
35902
  },
35860
35903
  small: Boolean,
35904
+ size: useSizeProp,
35861
35905
  background: Boolean,
35862
35906
  disabled: Boolean,
35863
35907
  hideOnSinglePage: Boolean
@@ -35880,6 +35924,17 @@ var Pagination = defineComponent({
35880
35924
  const { t } = useLocale();
35881
35925
  const ns = useNamespace("pagination");
35882
35926
  const vnodeProps = getCurrentInstance().vnode.props || {};
35927
+ const _size = computed(() => {
35928
+ var _a;
35929
+ return props.small ? "small" : (_a = props.size) != null ? _a : useGlobalSize().value;
35930
+ });
35931
+ useDeprecated({
35932
+ from: "small",
35933
+ replacement: "size",
35934
+ version: "3.0.0",
35935
+ scope: "el-pagination",
35936
+ ref: "https://element-plus.org/zh-CN/component/pagination.html"
35937
+ }, computed(() => !!props.small));
35883
35938
  const hasCurrentPageListener = "onUpdate:currentPage" in vnodeProps || "onUpdate:current-page" in vnodeProps || "onCurrentChange" in vnodeProps;
35884
35939
  const hasPageSizeListener = "onUpdate:pageSize" in vnodeProps || "onUpdate:page-size" in vnodeProps || "onSizeChange" in vnodeProps;
35885
35940
  const assertValidUsage = computed(() => {
@@ -36012,7 +36067,7 @@ var Pagination = defineComponent({
36012
36067
  onClick: prev
36013
36068
  }),
36014
36069
  jumper: h$1(Jumper, {
36015
- size: props.small ? "small" : "default"
36070
+ size: _size.value
36016
36071
  }),
36017
36072
  pager: h$1(Pager, {
36018
36073
  currentPage: currentPageBridge.value,
@@ -36035,7 +36090,7 @@ var Pagination = defineComponent({
36035
36090
  popperClass: props.popperClass,
36036
36091
  disabled: props.disabled,
36037
36092
  teleported: props.teleported,
36038
- size: props.small ? "small" : "default"
36093
+ size: _size.value
36039
36094
  }),
36040
36095
  slot: (_b = (_a = slots == null ? void 0 : slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : null,
36041
36096
  total: h$1(Total, { total: isAbsent(props.total) ? 0 : props.total })
@@ -36064,9 +36119,7 @@ var Pagination = defineComponent({
36064
36119
  class: [
36065
36120
  ns.b(),
36066
36121
  ns.is("background", props.background),
36067
- {
36068
- [ns.m("small")]: props.small
36069
- }
36122
+ ns.m(_size.value)
36070
36123
  ]
36071
36124
  }, rootChildren);
36072
36125
  };
@@ -36490,11 +36543,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
36490
36543
  default: "#20a0ff"
36491
36544
  };
36492
36545
  const ns = useNamespace("progress");
36493
- const barStyle = computed(() => ({
36494
- width: `${props.percentage}%`,
36495
- animationDuration: `${props.duration}s`,
36496
- background: getCurrentColor(props.percentage)
36497
- }));
36546
+ const barStyle = computed(() => {
36547
+ const barStyle2 = {
36548
+ width: `${props.percentage}%`,
36549
+ animationDuration: `${props.duration}s`
36550
+ };
36551
+ const color = getCurrentColor(props.percentage);
36552
+ if (color.includes("gradient")) {
36553
+ barStyle2.background = color;
36554
+ } else {
36555
+ barStyle2.backgroundColor = color;
36556
+ }
36557
+ return barStyle2;
36558
+ });
36498
36559
  const relativeStrokeWidth = computed(() => (props.strokeWidth / props.width * 100).toFixed(1));
36499
36560
  const radius = computed(() => {
36500
36561
  if (["circle", "dashboard"].includes(props.type)) {
@@ -39065,6 +39126,7 @@ const SelectProps = buildProps({
39065
39126
  default: ["bottom-start", "top-start", "right", "left"]
39066
39127
  },
39067
39128
  tagType: { ...tagProps.type, default: "info" },
39129
+ tagEffect: { ...tagProps.effect, default: "light" },
39068
39130
  ...useEmptyValuesProps,
39069
39131
  ...useAriaProps(["ariaLabel"])
39070
39132
  });
@@ -40160,9 +40222,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40160
40222
  return withDirectives((openBlock(), createElementBlock("div", {
40161
40223
  ref: "selectRef",
40162
40224
  class: normalizeClass([_ctx.nsSelect.b(), _ctx.nsSelect.m(_ctx.selectSize)]),
40163
- onMouseenter: _cache[14] || (_cache[14] = ($event) => _ctx.states.inputHovering = true),
40164
- onMouseleave: _cache[15] || (_cache[15] = ($event) => _ctx.states.inputHovering = false),
40165
- onClick: _cache[16] || (_cache[16] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["prevent", "stop"]))
40225
+ onMouseenter: _cache[15] || (_cache[15] = ($event) => _ctx.states.inputHovering = true),
40226
+ onMouseleave: _cache[16] || (_cache[16] = ($event) => _ctx.states.inputHovering = false)
40166
40227
  }, [
40167
40228
  createVNode(_component_el_tooltip, {
40168
40229
  ref: "tooltipRef",
@@ -40180,7 +40241,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40180
40241
  trigger: "click",
40181
40242
  persistent: _ctx.persistent,
40182
40243
  onBeforeShow: _ctx.handleMenuEnter,
40183
- onHide: _cache[13] || (_cache[13] = ($event) => _ctx.states.isBeforeHide = false)
40244
+ onHide: _cache[14] || (_cache[14] = ($event) => _ctx.states.isBeforeHide = false)
40184
40245
  }, {
40185
40246
  default: withCtx(() => [
40186
40247
  createElementVNode("div", {
@@ -40191,7 +40252,8 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40191
40252
  _ctx.nsSelect.is("hovering", _ctx.states.inputHovering),
40192
40253
  _ctx.nsSelect.is("filterable", _ctx.filterable),
40193
40254
  _ctx.nsSelect.is("disabled", _ctx.selectDisabled)
40194
- ])
40255
+ ]),
40256
+ onClick: _cache[13] || (_cache[13] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["prevent", "stop"]))
40195
40257
  }, [
40196
40258
  _ctx.$slots.prefix ? (openBlock(), createElementBlock("div", {
40197
40259
  key: 0,
@@ -40217,6 +40279,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40217
40279
  closable: !_ctx.selectDisabled && !_ctx.getDisabled(item),
40218
40280
  size: _ctx.collapseTagSize,
40219
40281
  type: _ctx.tagType,
40282
+ effect: _ctx.tagEffect,
40220
40283
  "disable-transitions": "",
40221
40284
  style: normalizeStyle(_ctx.tagStyle),
40222
40285
  onClose: ($event) => _ctx.deleteTag($event, item)
@@ -40234,7 +40297,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40234
40297
  ], 2)
40235
40298
  ]),
40236
40299
  _: 2
40237
- }, 1032, ["closable", "size", "type", "style", "onClose"])
40300
+ }, 1032, ["closable", "size", "type", "effect", "style", "onClose"])
40238
40301
  ], 2);
40239
40302
  }), 128)),
40240
40303
  _ctx.collapseTags && _ctx.modelValue.length > _ctx.maxCollapseTags ? (openBlock(), createBlock(_component_el_tooltip, {
@@ -40255,6 +40318,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40255
40318
  closable: false,
40256
40319
  size: _ctx.collapseTagSize,
40257
40320
  type: _ctx.tagType,
40321
+ effect: _ctx.tagEffect,
40258
40322
  style: normalizeStyle(_ctx.collapseTagStyle),
40259
40323
  "disable-transitions": ""
40260
40324
  }, {
@@ -40264,7 +40328,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40264
40328
  }, " + " + toDisplayString(_ctx.modelValue.length - _ctx.maxCollapseTags), 3)
40265
40329
  ]),
40266
40330
  _: 1
40267
- }, 8, ["size", "type", "style"])
40331
+ }, 8, ["size", "type", "effect", "style"])
40268
40332
  ], 2)
40269
40333
  ]),
40270
40334
  content: withCtx(() => [
@@ -40282,6 +40346,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40282
40346
  closable: !_ctx.selectDisabled && !_ctx.getDisabled(selected),
40283
40347
  size: _ctx.collapseTagSize,
40284
40348
  type: _ctx.tagType,
40349
+ effect: _ctx.tagEffect,
40285
40350
  "disable-transitions": "",
40286
40351
  onClose: ($event) => _ctx.deleteTag($event, selected)
40287
40352
  }, {
@@ -40298,7 +40363,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40298
40363
  ], 2)
40299
40364
  ]),
40300
40365
  _: 2
40301
- }, 1032, ["closable", "size", "type", "onClose"])
40366
+ }, 1032, ["closable", "size", "type", "effect", "onClose"])
40302
40367
  ], 2);
40303
40368
  }), 128))
40304
40369
  ], 2)
@@ -44824,7 +44889,12 @@ var TableHeader = defineComponent({
44824
44889
  key: `${column.id}-thead`,
44825
44890
  rowspan: column.rowSpan,
44826
44891
  style: getHeaderCellStyle(rowIndex, cellIndex, subColumns, column),
44827
- onClick: ($event) => handleHeaderClick($event, column),
44892
+ onClick: ($event) => {
44893
+ if ($event.currentTarget.classList.contains("noclick")) {
44894
+ return;
44895
+ }
44896
+ handleHeaderClick($event, column);
44897
+ },
44828
44898
  onContextmenu: ($event) => handleHeaderContextMenu($event, column),
44829
44899
  onMousedown: ($event) => handleMouseDown($event, column),
44830
44900
  onMousemove: ($event) => handleMouseMove($event, column),
@@ -46140,11 +46210,15 @@ const _sfc_main$y = defineComponent({
46140
46210
  const computedEmptyText = computed(() => {
46141
46211
  return props.emptyText || t("el.table.emptyText");
46142
46212
  });
46213
+ const columns = computed(() => {
46214
+ return convertToRows(store.states.originColumns.value)[0];
46215
+ });
46143
46216
  useKeyRender(table);
46144
46217
  return {
46145
46218
  ns,
46146
46219
  layout,
46147
46220
  store,
46221
+ columns,
46148
46222
  handleHeaderFooterMousewheel,
46149
46223
  handleMouseLeave,
46150
46224
  tableId,
@@ -47212,7 +47286,7 @@ const useRow = (props, {
47212
47286
  return;
47213
47287
  }
47214
47288
  const tableRoot = tableInstance.vnode.el;
47215
- const rows = tableRoot.querySelectorAll(`[rowkey=${rowKey}]`);
47289
+ const rows = tableRoot.querySelectorAll(`[rowkey="${String(rowKey)}"]`);
47216
47290
  rows.forEach((row) => {
47217
47291
  if (hovered) {
47218
47292
  row.classList.add(ns.is("hovered"));
@@ -49847,7 +49921,7 @@ const __default__$p = defineComponent({
49847
49921
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
49848
49922
  ...__default__$p,
49849
49923
  props: timeSelectProps,
49850
- emits: ["change", "blur", "focus", "update:modelValue"],
49924
+ emits: ["change", "blur", "focus", "clear", "update:modelValue"],
49851
49925
  setup(__props, { expose }) {
49852
49926
  const props = __props;
49853
49927
  dayjs.extend(customParseFormat);
@@ -49923,7 +49997,8 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
49923
49997
  "onUpdate:modelValue": _cache[0] || (_cache[0] = (event) => _ctx.$emit("update:modelValue", event)),
49924
49998
  onChange: _cache[1] || (_cache[1] = (event) => _ctx.$emit("change", event)),
49925
49999
  onBlur: _cache[2] || (_cache[2] = (event) => _ctx.$emit("blur", event)),
49926
- onFocus: _cache[3] || (_cache[3] = (event) => _ctx.$emit("focus", event))
50000
+ onFocus: _cache[3] || (_cache[3] = (event) => _ctx.$emit("focus", event)),
50001
+ onClear: _cache[4] || (_cache[4] = () => _ctx.$emit("clear"))
49927
50002
  }, {
49928
50003
  prefix: withCtx(() => [
49929
50004
  _ctx.prefixIcon ? (openBlock(), createBlock(unref(ElIcon), {
@@ -52890,6 +52965,11 @@ const component = defineComponent({
52890
52965
  result.select.onOptionCreate(vm);
52891
52966
  }
52892
52967
  });
52968
+ watch(() => ctx.attrs.visible, (val) => {
52969
+ result.states.visible = val;
52970
+ }, {
52971
+ immediate: true
52972
+ });
52893
52973
  return result;
52894
52974
  },
52895
52975
  methods: {
@@ -53001,7 +53081,8 @@ const useTree$1 = (props, { attrs, slots, emit }, {
53001
53081
  return h(TreeSelectOption, {
53002
53082
  value: getNodeValByProp("value", data),
53003
53083
  label: getNodeValByProp("label", data),
53004
- disabled: getNodeValByProp("disabled", data)
53084
+ disabled: getNodeValByProp("disabled", data),
53085
+ visible: node.visible
53005
53086
  }, props.renderContent ? () => props.renderContent(h, { node, data, store }) : slots.default ? () => slots.default({ node, data, store }) : void 0);
53006
53087
  },
53007
53088
  filterNodeMethod: (value, data, node) => {
@@ -53083,7 +53164,7 @@ var CacheOptions = defineComponent({
53083
53164
  }
53084
53165
  });
53085
53166
  const inputs = ((_a = select.selectRef) == null ? void 0 : _a.querySelectorAll("input")) || [];
53086
- if (!Array.from(inputs).includes(document.activeElement)) {
53167
+ if (isClient && !Array.from(inputs).includes(document.activeElement)) {
53087
53168
  select.setSelected();
53088
53169
  }
53089
53170
  }, { flush: "post", immediate: true });
@@ -57593,6 +57674,8 @@ const _sfc_main$1 = defineComponent({
57593
57674
  action: "",
57594
57675
  confirmButtonLoading: false,
57595
57676
  cancelButtonLoading: false,
57677
+ confirmButtonLoadingIcon: loading_default,
57678
+ cancelButtonLoadingIcon: loading_default,
57596
57679
  confirmButtonDisabled: false,
57597
57680
  editorErrorMessage: "",
57598
57681
  validateError: false,
@@ -57921,6 +58004,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
57921
58004
  _ctx.showCancelButton ? (openBlock(), createBlock(_component_el_button, {
57922
58005
  key: 0,
57923
58006
  loading: _ctx.cancelButtonLoading,
58007
+ "loading-icon": _ctx.cancelButtonLoadingIcon,
57924
58008
  class: normalizeClass([_ctx.cancelButtonClass]),
57925
58009
  round: _ctx.roundButton,
57926
58010
  size: _ctx.btnSize,
@@ -57931,11 +58015,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
57931
58015
  createTextVNode(toDisplayString(_ctx.cancelButtonText || _ctx.t("el.messagebox.cancel")), 1)
57932
58016
  ]),
57933
58017
  _: 1
57934
- }, 8, ["loading", "class", "round", "size"])) : createCommentVNode("v-if", true),
58018
+ }, 8, ["loading", "loading-icon", "class", "round", "size"])) : createCommentVNode("v-if", true),
57935
58019
  withDirectives(createVNode(_component_el_button, {
57936
58020
  ref: "confirmRef",
57937
58021
  type: "primary",
57938
58022
  loading: _ctx.confirmButtonLoading,
58023
+ "loading-icon": _ctx.confirmButtonLoadingIcon,
57939
58024
  class: normalizeClass([_ctx.confirmButtonClasses]),
57940
58025
  round: _ctx.roundButton,
57941
58026
  disabled: _ctx.confirmButtonDisabled,
@@ -57947,7 +58032,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
57947
58032
  createTextVNode(toDisplayString(_ctx.confirmButtonText || _ctx.t("el.messagebox.confirm")), 1)
57948
58033
  ]),
57949
58034
  _: 1
57950
- }, 8, ["loading", "class", "round", "disabled", "size"]), [
58035
+ }, 8, ["loading", "loading-icon", "class", "round", "disabled", "size"]), [
57951
58036
  [vShow, _ctx.showConfirmButton]
57952
58037
  ])
57953
58038
  ], 2)
@@ -58429,4 +58514,4 @@ var installer = makeInstaller([...Components, ...Plugins]);
58429
58514
  const install = installer.install;
58430
58515
  const version = installer.version;
58431
58516
 
58432
- export { BAR_MAP, CASCADER_PANEL_INJECTION_KEY, CHANGE_EVENT, ClickOutside, CommonPicker, CommonProps, DEFAULT_EMPTY_VALUES, DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, DEFAULT_VALUE_ON_CLEAR, COLLECTION_INJECTION_KEY as DROPDOWN_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, DROPDOWN_INJECTION_KEY, DefaultProps, DynamicSizeGrid$1 as DynamicSizeGrid, DynamicSizeList$1 as DynamicSizeList, EVENT_CODE, Effect, ElAffix, ElAlert, ElAnchor, ElAnchorLink, ElAside, ElAutoResizer, ElAutocomplete, ElAvatar, ElBacktop, ElBadge, ElBreadcrumb, ElBreadcrumbItem, ElButton, ElButtonGroup$1 as ElButtonGroup, ElCalendar, ElCard, ElCarousel, ElCarouselItem, ElCascader, ElCascaderPanel, ElCheckTag, ElCheckbox, ElCheckboxButton, ElCheckboxGroup$1 as ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElCollapseTransition, ElCollection, ElCollectionItem, ElColorPicker, ElConfigProvider, ElContainer, ElCountdown, ElDatePicker, ElDescriptions, ElDescriptionsItem, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownItem, ElDropdownMenu, ElEmpty, ElFooter, ElForm, ElFormItem, ElHeader, ElIcon, ElImage, ElImageViewer, ElInfiniteScroll, ElInput, ElInputNumber, ElLink, ElLoading, vLoading as ElLoadingDirective, Loading as ElLoadingService, ElMain, ElMenu, ElMenuItem, ElMenuItemGroup, ElMessage, ElMessageBox, ElNotification, ElOption, ElOptionGroup, ElOverlay, ElPageHeader, ElPagination, ElPopconfirm, ElPopover, ElPopoverDirective, ElPopper, ElPopperArrow, ElPopperContent, ElPopperTrigger, ElProgress, ElRadio, ElRadioButton, ElRadioGroup, ElRate, ElResult, ElRow, ElScrollbar, ElSegmented, ElSelect, ElSelectV2, ElSkeleton, ElSkeletonItem, ElSlider, ElSpace, ElStatistic, ElStep, ElSteps, ElSubMenu, ElSwitch, ElTabPane, ElTable, ElTableColumn, ElTableV2, ElTabs, ElTag, ElText, ElTimePicker, ElTimeSelect, ElTimeline, ElTimelineItem, ElTooltip, ElTour, ElTourStep, ElTransfer, ElTree, ElTreeSelect, ElTreeV2, ElUpload, ElWatermark, FIRST_KEYS, FIRST_LAST_KEYS, FORWARD_REF_INJECTION_KEY, FixedSizeGrid$1 as FixedSizeGrid, FixedSizeList$1 as FixedSizeList, GAP, ID_INJECTION_KEY, INPUT_EVENT, INSTALLED_KEY, IconComponentMap, IconMap, LAST_KEYS, LEFT_CHECK_CHANGE_EVENT, Mousewheel, POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY, RIGHT_CHECK_CHANGE_EVENT, ROOT_PICKER_INJECTION_KEY, RowAlign, RowJustify, SCOPE$3 as SCOPE, SIZE_INJECTION_KEY, TOOLTIP_INJECTION_KEY, TableV2$1 as TableV2, Alignment as TableV2Alignment, FixedDir as TableV2FixedDir, placeholderSign as TableV2Placeholder, SortOrder as TableV2SortOrder, TimePickPanel, TrapFocus, UPDATE_MODEL_EVENT, WEEK_DAYS, ZINDEX_INJECTION_KEY, affixEmits, affixProps, alertEffects, alertEmits, alertProps, anchorEmits, anchorProps, ariaProps, arrowMiddleware, autoResizerProps, autocompleteEmits, autocompleteProps, avatarEmits, avatarProps, backtopEmits, backtopProps, badgeProps, breadcrumbItemProps, breadcrumbKey, breadcrumbProps, buildLocaleContext, buildTimeList, buildTranslator, buttonEmits, buttonGroupContextKey, buttonNativeTypes, buttonProps, buttonTypes, calendarEmits, calendarProps, cardProps, carouselContextKey, carouselEmits, carouselItemProps, carouselProps, cascaderEmits, cascaderProps, checkTagEmits, checkTagProps, checkboxEmits, checkboxGroupContextKey, checkboxGroupEmits, checkboxGroupProps, checkboxProps, colProps, collapseContextKey, collapseEmits, collapseItemProps, collapseProps, colorPickerContextKey, colorPickerEmits, colorPickerProps, componentSizeMap, componentSizes, configProviderContextKey, configProviderProps, countdownEmits, countdownProps, createModelToggleComposable, dateEquals, datePickTypes, datePickerProps, dayjs, installer as default, defaultInitialZIndex, defaultNamespace, descriptionItemProps, descriptionProps, dialogEmits, dialogInjectionKey, dialogProps, dividerProps, drawerEmits, drawerProps, dropdownItemProps, dropdownMenuProps, dropdownProps, elPaginationKey, emitChangeFn, emptyProps, extractDateFormat, extractTimeFormat, formContextKey, formEmits, formItemContextKey, formItemProps, formItemValidateStates, formMetaProps, formProps, formatter, genFileId, getPositionDataWithUnit, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, inputEmits, inputNumberEmits, inputNumberProps, inputProps, install, linkEmits, linkProps, localeContextKey, makeInstaller, makeList, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuProps, messageConfig, messageDefaults, messageEmits, messageProps, messageTypes, namespaceContextKey, notificationEmits, notificationProps, notificationTypes, overlayEmits, overlayProps, pageHeaderEmits, pageHeaderProps, paginationEmits, paginationProps, parseDate, popconfirmEmits, popconfirmProps, popoverEmits, popoverProps, popperArrowProps, popperContentEmits, popperContentProps, popperCoreConfigProps, popperProps, popperTriggerProps, progressProps, provideGlobalConfig, radioButtonProps, radioEmits, radioGroupEmits, radioGroupKey, radioGroupProps, radioProps, radioPropsBase, rangeArr, rateEmits, rateProps, renderThumbStyle$1 as renderThumbStyle, resultProps, roleTypes, rowContextKey, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, segmentedEmits, segmentedProps, selectGroupKey, selectKey, selectV2InjectionKey, skeletonItemProps, skeletonProps, sliderContextKey, sliderEmits, sliderProps, spaceItemProps, spaceProps, statisticProps, stepProps, stepsEmits, stepsProps, subMenuProps, switchEmits, switchProps, tabBarProps, tabNavEmits, tabNavProps, tabPaneProps, tableV2Props, tableV2RowProps, tabsEmits, tabsProps, tabsRootContextKey, tagEmits, tagProps, textProps, thumbProps, timePickerDefaultProps, timeUnits$1 as timeUnits, timelineItemProps, tooltipEmits, tourContentEmits, tourContentProps, tourEmits, tourPlacements, tourProps, tourStepEmits, tourStepProps, tourStrategies, transferCheckedChangeFn, transferEmits, transferProps, translate, uploadBaseProps, uploadContentProps, uploadContextKey, uploadDraggerEmits, uploadDraggerProps, uploadListEmits, uploadListProps, uploadListTypes, uploadProps, useAriaProps, useAttrs, useCascaderConfig, useCursor, useDelayedRender, useDelayedToggle, useDelayedToggleProps, useDeprecated, useDialog, useDisabled, useDraggable, useEmptyValues, useEmptyValuesProps, useEscapeKeydown, useFloating$1 as useFloating, useFloatingProps, useFocus, useFocusController, useFormDisabled, useFormItem, useFormItemInputId, useFormSize, useForwardRef, useForwardRefDirective, useGetDerivedNamespace, useGlobalComponentSettings, useGlobalConfig, useGlobalSize, useId, useIdInjection, useLocale, useLockscreen, useModal, useModelToggle, useModelToggleEmits, useModelToggleProps, useNamespace, useOrderedChildren, usePopper, usePopperArrowProps, usePopperContainer, usePopperContainerId, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps, usePopperProps, usePopperTriggerProps, usePreventGlobal, useProp, useSameTarget, useSize, useSizeProp, useSizeProps, useSpace, useTeleport, useThrottleRender, useTimeout, useTooltipContentProps, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps, useTooltipTriggerProps, useTransitionFallthrough, useTransitionFallthroughEmits, useZIndex, vLoading, vRepeatClick, valueEquals, version, virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps, watermarkProps, zIndexContextKey };
58517
+ export { BAR_MAP, CASCADER_PANEL_INJECTION_KEY, CHANGE_EVENT, ClickOutside, CommonPicker, CommonProps, DEFAULT_EMPTY_VALUES, DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, DEFAULT_VALUE_ON_CLEAR, COLLECTION_INJECTION_KEY as DROPDOWN_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, DROPDOWN_INJECTION_KEY, DefaultProps, DynamicSizeGrid$1 as DynamicSizeGrid, DynamicSizeList$1 as DynamicSizeList, EVENT_CODE, Effect, ElAffix, ElAlert, ElAnchor, ElAnchorLink, ElAside, ElAutoResizer, ElAutocomplete, ElAvatar, ElBacktop, ElBadge, ElBreadcrumb, ElBreadcrumbItem, ElButton, ElButtonGroup$1 as ElButtonGroup, ElCalendar, ElCard, ElCarousel, ElCarouselItem, ElCascader, ElCascaderPanel, ElCheckTag, ElCheckbox, ElCheckboxButton, ElCheckboxGroup$1 as ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElCollapseTransition, ElCollection, ElCollectionItem, ElColorPicker, ElConfigProvider, ElContainer, ElCountdown, ElDatePicker, ElDescriptions, ElDescriptionsItem, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownItem, ElDropdownMenu, ElEmpty, ElFooter, ElForm, ElFormItem, ElHeader, ElIcon, ElImage, ElImageViewer, ElInfiniteScroll, ElInput, ElInputNumber, ElLink, ElLoading, vLoading as ElLoadingDirective, Loading as ElLoadingService, ElMain, ElMenu, ElMenuItem, ElMenuItemGroup, ElMessage, ElMessageBox, ElNotification, ElOption, ElOptionGroup, ElOverlay, ElPageHeader, ElPagination, ElPopconfirm, ElPopover, ElPopoverDirective, ElPopper, ElPopperArrow, ElPopperContent, ElPopperTrigger, ElProgress, ElRadio, ElRadioButton, ElRadioGroup, ElRate, ElResult, ElRow, ElScrollbar, ElSegmented, ElSelect, ElSelectV2, ElSkeleton, ElSkeletonItem, ElSlider, ElSpace, ElStatistic, ElStep, ElSteps, ElSubMenu, ElSwitch, ElTabPane, ElTable, ElTableColumn, ElTableV2, ElTabs, ElTag, ElText, ElTimePicker, ElTimeSelect, ElTimeline, ElTimelineItem, ElTooltip, ElTour, ElTourStep, ElTransfer, ElTree, ElTreeSelect, ElTreeV2, ElUpload, ElWatermark, FIRST_KEYS, FIRST_LAST_KEYS, FORWARD_REF_INJECTION_KEY, FixedSizeGrid$1 as FixedSizeGrid, FixedSizeList$1 as FixedSizeList, GAP, ID_INJECTION_KEY, INPUT_EVENT, INSTALLED_KEY, IconComponentMap, IconMap, LAST_KEYS, LEFT_CHECK_CHANGE_EVENT, Mousewheel, POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY, RIGHT_CHECK_CHANGE_EVENT, ROOT_PICKER_INJECTION_KEY, RowAlign, RowJustify, SCOPE$3 as SCOPE, SIZE_INJECTION_KEY, TOOLTIP_INJECTION_KEY, TableV2$1 as TableV2, Alignment as TableV2Alignment, FixedDir as TableV2FixedDir, placeholderSign as TableV2Placeholder, SortOrder as TableV2SortOrder, TimePickPanel, TrapFocus, UPDATE_MODEL_EVENT, WEEK_DAYS, ZINDEX_INJECTION_KEY, affixEmits, affixProps, alertEffects, alertEmits, alertProps, anchorEmits, anchorProps, ariaProps, arrowMiddleware, autoResizerProps, autocompleteEmits, autocompleteProps, avatarEmits, avatarProps, backtopEmits, backtopProps, badgeProps, breadcrumbItemProps, breadcrumbKey, breadcrumbProps, buildLocaleContext, buildTimeList, buildTranslator, buttonEmits, buttonGroupContextKey, buttonNativeTypes, buttonProps, buttonTypes, calendarEmits, calendarProps, cardProps, carouselContextKey, carouselEmits, carouselItemProps, carouselProps, cascaderEmits, cascaderProps, checkTagEmits, checkTagProps, checkboxEmits, checkboxGroupContextKey, checkboxGroupEmits, checkboxGroupProps, checkboxProps, colProps, collapseContextKey, collapseEmits, collapseItemProps, collapseProps, colorPickerContextKey, colorPickerEmits, colorPickerProps, componentSizeMap, componentSizes, configProviderContextKey, configProviderProps, countdownEmits, countdownProps, createModelToggleComposable, dateEquals, datePickTypes, datePickerProps, dayjs, installer as default, defaultInitialZIndex, defaultNamespace, descriptionItemProps, descriptionProps, dialogEmits, dialogInjectionKey, dialogProps, dividerProps, drawerEmits, drawerProps, dropdownItemProps, dropdownMenuProps, dropdownProps, elPaginationKey, emitChangeFn, emptyProps, emptyValuesContextKey, extractDateFormat, extractTimeFormat, formContextKey, formEmits, formItemContextKey, formItemProps, formItemValidateStates, formMetaProps, formProps, formatter, genFileId, getPositionDataWithUnit, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, inputEmits, inputNumberEmits, inputNumberProps, inputProps, install, linkEmits, linkProps, localeContextKey, makeInstaller, makeList, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuProps, messageConfig, messageDefaults, messageEmits, messageProps, messageTypes, namespaceContextKey, notificationEmits, notificationProps, notificationTypes, overlayEmits, overlayProps, pageHeaderEmits, pageHeaderProps, paginationEmits, paginationProps, parseDate, popconfirmEmits, popconfirmProps, popoverEmits, popoverProps, popperArrowProps, popperContentEmits, popperContentProps, popperCoreConfigProps, popperProps, popperTriggerProps, progressProps, provideGlobalConfig, radioButtonProps, radioEmits, radioGroupEmits, radioGroupKey, radioGroupProps, radioProps, radioPropsBase, rangeArr, rateEmits, rateProps, renderThumbStyle$1 as renderThumbStyle, resultProps, roleTypes, rowContextKey, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, segmentedEmits, segmentedProps, selectGroupKey, selectKey, selectV2InjectionKey, skeletonItemProps, skeletonProps, sliderContextKey, sliderEmits, sliderProps, spaceItemProps, spaceProps, statisticProps, stepProps, stepsEmits, stepsProps, subMenuProps, switchEmits, switchProps, tabBarProps, tabNavEmits, tabNavProps, tabPaneProps, tableV2Props, tableV2RowProps, tabsEmits, tabsProps, tabsRootContextKey, tagEmits, tagProps, textProps, thumbProps, timePickerDefaultProps, timeUnits$1 as timeUnits, timelineItemProps, tooltipEmits, tourContentEmits, tourContentProps, tourEmits, tourPlacements, tourProps, tourStepEmits, tourStepProps, tourStrategies, transferCheckedChangeFn, transferEmits, transferProps, translate, uploadBaseProps, uploadContentProps, uploadContextKey, uploadDraggerEmits, uploadDraggerProps, uploadListEmits, uploadListProps, uploadListTypes, uploadProps, useAriaProps, useAttrs, useCascaderConfig, useCursor, useDelayedRender, useDelayedToggle, useDelayedToggleProps, useDeprecated, useDialog, useDisabled, useDraggable, useEmptyValues, useEmptyValuesProps, useEscapeKeydown, useFloating$1 as useFloating, useFloatingProps, useFocus, useFocusController, useFormDisabled, useFormItem, useFormItemInputId, useFormSize, useForwardRef, useForwardRefDirective, useGetDerivedNamespace, useGlobalComponentSettings, useGlobalConfig, useGlobalSize, useId, useIdInjection, useLocale, useLockscreen, useModal, useModelToggle, useModelToggleEmits, useModelToggleProps, useNamespace, useOrderedChildren, usePopper, usePopperArrowProps, usePopperContainer, usePopperContainerId, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps, usePopperProps, usePopperTriggerProps, usePreventGlobal, useProp, useSameTarget, useSize, useSizeProp, useSizeProps, useSpace, useTeleport, useThrottleRender, useTimeout, useTooltipContentProps, useTooltipModelToggle, useTooltipModelToggleEmits, useTooltipModelToggleProps, useTooltipProps, useTooltipTriggerProps, useTransitionFallthrough, useTransitionFallthroughEmits, useZIndex, vLoading, vRepeatClick, valueEquals, version, virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps, watermarkProps, zIndexContextKey };