@element-plus/nightly 0.0.20240228 → 0.0.20240229

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 (406) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +158 -85
  4. package/dist/index.full.min.js +19 -19
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +19 -19
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +158 -85
  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 +1 -1
  86. package/dist/locale/fr.min.js +1 -1
  87. package/dist/locale/fr.min.mjs +1 -1
  88. package/dist/locale/fr.mjs +1 -1
  89. package/dist/locale/he.js +1 -1
  90. package/dist/locale/he.min.js +1 -1
  91. package/dist/locale/he.min.mjs +1 -1
  92. package/dist/locale/he.mjs +1 -1
  93. package/dist/locale/hr.js +1 -1
  94. package/dist/locale/hr.min.js +1 -1
  95. package/dist/locale/hr.min.mjs +1 -1
  96. package/dist/locale/hr.mjs +1 -1
  97. package/dist/locale/hu.js +1 -1
  98. package/dist/locale/hu.min.js +1 -1
  99. package/dist/locale/hu.min.mjs +1 -1
  100. package/dist/locale/hu.mjs +1 -1
  101. package/dist/locale/hy-am.js +1 -1
  102. package/dist/locale/hy-am.min.js +1 -1
  103. package/dist/locale/hy-am.min.mjs +1 -1
  104. package/dist/locale/hy-am.mjs +1 -1
  105. package/dist/locale/id.js +1 -1
  106. package/dist/locale/id.min.js +1 -1
  107. package/dist/locale/id.min.mjs +1 -1
  108. package/dist/locale/id.mjs +1 -1
  109. package/dist/locale/it.js +1 -1
  110. package/dist/locale/it.min.js +1 -1
  111. package/dist/locale/it.min.mjs +1 -1
  112. package/dist/locale/it.mjs +1 -1
  113. package/dist/locale/ja.js +1 -1
  114. package/dist/locale/ja.min.js +1 -1
  115. package/dist/locale/ja.min.mjs +1 -1
  116. package/dist/locale/ja.mjs +1 -1
  117. package/dist/locale/kk.js +1 -1
  118. package/dist/locale/kk.min.js +1 -1
  119. package/dist/locale/kk.min.mjs +1 -1
  120. package/dist/locale/kk.mjs +1 -1
  121. package/dist/locale/km.js +1 -1
  122. package/dist/locale/km.min.js +1 -1
  123. package/dist/locale/km.min.mjs +1 -1
  124. package/dist/locale/km.mjs +1 -1
  125. package/dist/locale/ko.js +1 -1
  126. package/dist/locale/ko.min.js +1 -1
  127. package/dist/locale/ko.min.mjs +1 -1
  128. package/dist/locale/ko.mjs +1 -1
  129. package/dist/locale/ku.js +1 -1
  130. package/dist/locale/ku.min.js +1 -1
  131. package/dist/locale/ku.min.mjs +1 -1
  132. package/dist/locale/ku.mjs +1 -1
  133. package/dist/locale/ky.js +1 -1
  134. package/dist/locale/ky.min.js +1 -1
  135. package/dist/locale/ky.min.mjs +1 -1
  136. package/dist/locale/ky.mjs +1 -1
  137. package/dist/locale/lt.js +1 -1
  138. package/dist/locale/lt.min.js +1 -1
  139. package/dist/locale/lt.min.mjs +1 -1
  140. package/dist/locale/lt.mjs +1 -1
  141. package/dist/locale/lv.js +1 -1
  142. package/dist/locale/lv.min.js +1 -1
  143. package/dist/locale/lv.min.mjs +1 -1
  144. package/dist/locale/lv.mjs +1 -1
  145. package/dist/locale/mg.js +1 -1
  146. package/dist/locale/mg.min.js +1 -1
  147. package/dist/locale/mg.min.mjs +1 -1
  148. package/dist/locale/mg.mjs +1 -1
  149. package/dist/locale/mn.js +1 -1
  150. package/dist/locale/mn.min.js +1 -1
  151. package/dist/locale/mn.min.mjs +1 -1
  152. package/dist/locale/mn.mjs +1 -1
  153. package/dist/locale/nb-no.js +1 -1
  154. package/dist/locale/nb-no.min.js +1 -1
  155. package/dist/locale/nb-no.min.mjs +1 -1
  156. package/dist/locale/nb-no.mjs +1 -1
  157. package/dist/locale/nl.js +1 -1
  158. package/dist/locale/nl.min.js +1 -1
  159. package/dist/locale/nl.min.mjs +1 -1
  160. package/dist/locale/nl.mjs +1 -1
  161. package/dist/locale/pa.js +1 -1
  162. package/dist/locale/pa.min.js +1 -1
  163. package/dist/locale/pa.min.mjs +1 -1
  164. package/dist/locale/pa.mjs +1 -1
  165. package/dist/locale/pl.js +1 -1
  166. package/dist/locale/pl.min.js +1 -1
  167. package/dist/locale/pl.min.mjs +1 -1
  168. package/dist/locale/pl.mjs +1 -1
  169. package/dist/locale/pt-br.js +1 -1
  170. package/dist/locale/pt-br.min.js +1 -1
  171. package/dist/locale/pt-br.min.mjs +1 -1
  172. package/dist/locale/pt-br.mjs +1 -1
  173. package/dist/locale/pt.js +1 -1
  174. package/dist/locale/pt.min.js +1 -1
  175. package/dist/locale/pt.min.mjs +1 -1
  176. package/dist/locale/pt.mjs +1 -1
  177. package/dist/locale/ro.js +1 -1
  178. package/dist/locale/ro.min.js +1 -1
  179. package/dist/locale/ro.min.mjs +1 -1
  180. package/dist/locale/ro.mjs +1 -1
  181. package/dist/locale/ru.js +1 -1
  182. package/dist/locale/ru.min.js +1 -1
  183. package/dist/locale/ru.min.mjs +1 -1
  184. package/dist/locale/ru.mjs +1 -1
  185. package/dist/locale/sk.js +1 -1
  186. package/dist/locale/sk.min.js +1 -1
  187. package/dist/locale/sk.min.mjs +1 -1
  188. package/dist/locale/sk.mjs +1 -1
  189. package/dist/locale/sl.js +1 -1
  190. package/dist/locale/sl.min.js +1 -1
  191. package/dist/locale/sl.min.mjs +1 -1
  192. package/dist/locale/sl.mjs +1 -1
  193. package/dist/locale/sr.js +1 -1
  194. package/dist/locale/sr.min.js +1 -1
  195. package/dist/locale/sr.min.mjs +1 -1
  196. package/dist/locale/sr.mjs +1 -1
  197. package/dist/locale/sv.js +1 -1
  198. package/dist/locale/sv.min.js +1 -1
  199. package/dist/locale/sv.min.mjs +1 -1
  200. package/dist/locale/sv.mjs +1 -1
  201. package/dist/locale/sw.js +1 -1
  202. package/dist/locale/sw.min.js +1 -1
  203. package/dist/locale/sw.min.mjs +1 -1
  204. package/dist/locale/sw.mjs +1 -1
  205. package/dist/locale/ta.js +1 -1
  206. package/dist/locale/ta.min.js +1 -1
  207. package/dist/locale/ta.min.mjs +1 -1
  208. package/dist/locale/ta.mjs +1 -1
  209. package/dist/locale/th.js +1 -1
  210. package/dist/locale/th.min.js +1 -1
  211. package/dist/locale/th.min.mjs +1 -1
  212. package/dist/locale/th.mjs +1 -1
  213. package/dist/locale/tk.js +1 -1
  214. package/dist/locale/tk.min.js +1 -1
  215. package/dist/locale/tk.min.mjs +1 -1
  216. package/dist/locale/tk.mjs +1 -1
  217. package/dist/locale/tr.js +1 -1
  218. package/dist/locale/tr.min.js +1 -1
  219. package/dist/locale/tr.min.mjs +1 -1
  220. package/dist/locale/tr.mjs +1 -1
  221. package/dist/locale/ug-cn.js +1 -1
  222. package/dist/locale/ug-cn.min.js +1 -1
  223. package/dist/locale/ug-cn.min.mjs +1 -1
  224. package/dist/locale/ug-cn.mjs +1 -1
  225. package/dist/locale/uk.js +1 -1
  226. package/dist/locale/uk.min.js +1 -1
  227. package/dist/locale/uk.min.mjs +1 -1
  228. package/dist/locale/uk.mjs +1 -1
  229. package/dist/locale/uz-uz.js +1 -1
  230. package/dist/locale/uz-uz.min.js +1 -1
  231. package/dist/locale/uz-uz.min.mjs +1 -1
  232. package/dist/locale/uz-uz.mjs +1 -1
  233. package/dist/locale/vi.js +1 -1
  234. package/dist/locale/vi.min.js +1 -1
  235. package/dist/locale/vi.min.mjs +1 -1
  236. package/dist/locale/vi.mjs +1 -1
  237. package/dist/locale/zh-cn.js +1 -1
  238. package/dist/locale/zh-cn.min.js +1 -1
  239. package/dist/locale/zh-cn.min.mjs +1 -1
  240. package/dist/locale/zh-cn.mjs +1 -1
  241. package/dist/locale/zh-tw.js +1 -1
  242. package/dist/locale/zh-tw.min.js +1 -1
  243. package/dist/locale/zh-tw.min.mjs +1 -1
  244. package/dist/locale/zh-tw.mjs +1 -1
  245. package/es/components/anchor/index.mjs +2 -2
  246. package/es/components/anchor/src/anchor.mjs +38 -190
  247. package/es/components/anchor/src/anchor.mjs.map +1 -1
  248. package/es/components/anchor/src/anchor2.mjs +190 -38
  249. package/es/components/anchor/src/anchor2.mjs.map +1 -1
  250. package/es/components/avatar/index.mjs +2 -2
  251. package/es/components/avatar/src/avatar.mjs +32 -67
  252. package/es/components/avatar/src/avatar.mjs.map +1 -1
  253. package/es/components/avatar/src/avatar2.mjs +67 -32
  254. package/es/components/avatar/src/avatar2.mjs.map +1 -1
  255. package/es/components/calendar/index.mjs +2 -2
  256. package/es/components/calendar/src/calendar.mjs +18 -131
  257. package/es/components/calendar/src/calendar.mjs.map +1 -1
  258. package/es/components/calendar/src/calendar2.mjs +131 -18
  259. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  260. package/es/components/card/index.mjs +2 -2
  261. package/es/components/card/src/card.mjs +43 -21
  262. package/es/components/card/src/card.mjs.map +1 -1
  263. package/es/components/card/src/card2.mjs +21 -43
  264. package/es/components/card/src/card2.mjs.map +1 -1
  265. package/es/components/carousel/index.d.ts +7 -0
  266. package/es/components/carousel/index.mjs +2 -2
  267. package/es/components/carousel/src/carousel-item.mjs +8 -70
  268. package/es/components/carousel/src/carousel-item.mjs.map +1 -1
  269. package/es/components/carousel/src/carousel-item2.mjs +70 -8
  270. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  271. package/es/components/carousel/src/carousel.d.ts +1 -0
  272. package/es/components/carousel/src/carousel.mjs +4 -0
  273. package/es/components/carousel/src/carousel.mjs.map +1 -1
  274. package/es/components/carousel/src/carousel.vue.d.ts +7 -0
  275. package/es/components/carousel/src/carousel2.mjs +100 -66
  276. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  277. package/es/components/carousel/src/use-carousel.d.ts +2 -0
  278. package/es/components/carousel/src/use-carousel.mjs +23 -0
  279. package/es/components/carousel/src/use-carousel.mjs.map +1 -1
  280. package/es/components/cascader/index.mjs +2 -2
  281. package/es/components/cascader/src/cascader.mjs +65 -626
  282. package/es/components/cascader/src/cascader.mjs.map +1 -1
  283. package/es/components/cascader/src/cascader2.mjs +626 -65
  284. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  285. package/es/components/index.mjs +10 -10
  286. package/es/components/menu/index.mjs +2 -2
  287. package/es/components/menu/src/menu-item-group.mjs +35 -4
  288. package/es/components/menu/src/menu-item-group.mjs.map +1 -1
  289. package/es/components/menu/src/menu-item-group2.mjs +4 -35
  290. package/es/components/menu/src/menu-item-group2.mjs.map +1 -1
  291. package/es/components/menu/src/menu.mjs +2 -0
  292. package/es/components/menu/src/menu.mjs.map +1 -1
  293. package/es/components/select-v2/src/useSelect.mjs +9 -2
  294. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  295. package/es/components/switch/index.mjs +2 -2
  296. package/es/components/switch/src/switch.mjs +82 -234
  297. package/es/components/switch/src/switch.mjs.map +1 -1
  298. package/es/components/switch/src/switch2.mjs +234 -82
  299. package/es/components/switch/src/switch2.mjs.map +1 -1
  300. package/es/components/tour/index.mjs +2 -2
  301. package/es/components/tour/src/tour.mjs +69 -152
  302. package/es/components/tour/src/tour.mjs.map +1 -1
  303. package/es/components/tour/src/tour2.mjs +152 -69
  304. package/es/components/tour/src/tour2.mjs.map +1 -1
  305. package/es/components/tree-select/src/select.d.ts +1 -1
  306. package/es/components/tree-select/src/select.mjs +15 -11
  307. package/es/components/tree-select/src/select.mjs.map +1 -1
  308. package/es/components/tree-select/src/tree.mjs +5 -6
  309. package/es/components/tree-select/src/tree.mjs.map +1 -1
  310. package/es/components/upload/index.mjs +2 -2
  311. package/es/components/upload/src/upload-content.mjs +1 -1
  312. package/es/components/upload/src/upload-content2.mjs +1 -1
  313. package/es/components/upload/src/upload-list.mjs +1 -1
  314. package/es/components/upload/src/upload.mjs +118 -104
  315. package/es/components/upload/src/upload.mjs.map +1 -1
  316. package/es/components/upload/src/upload2.mjs +104 -118
  317. package/es/components/upload/src/upload2.mjs.map +1 -1
  318. package/es/components/upload/src/use-handlers.mjs +1 -1
  319. package/es/index.mjs +10 -10
  320. package/es/version.d.ts +1 -1
  321. package/es/version.mjs +1 -1
  322. package/es/version.mjs.map +1 -1
  323. package/lib/components/anchor/index.js +2 -2
  324. package/lib/components/anchor/src/anchor.js +38 -189
  325. package/lib/components/anchor/src/anchor.js.map +1 -1
  326. package/lib/components/anchor/src/anchor2.js +189 -38
  327. package/lib/components/anchor/src/anchor2.js.map +1 -1
  328. package/lib/components/avatar/index.js +2 -2
  329. package/lib/components/avatar/src/avatar.js +33 -67
  330. package/lib/components/avatar/src/avatar.js.map +1 -1
  331. package/lib/components/avatar/src/avatar2.js +67 -33
  332. package/lib/components/avatar/src/avatar2.js.map +1 -1
  333. package/lib/components/calendar/index.js +2 -2
  334. package/lib/components/calendar/src/calendar.js +19 -131
  335. package/lib/components/calendar/src/calendar.js.map +1 -1
  336. package/lib/components/calendar/src/calendar2.js +131 -19
  337. package/lib/components/calendar/src/calendar2.js.map +1 -1
  338. package/lib/components/card/index.js +2 -2
  339. package/lib/components/card/src/card.js +43 -21
  340. package/lib/components/card/src/card.js.map +1 -1
  341. package/lib/components/card/src/card2.js +21 -43
  342. package/lib/components/card/src/card2.js.map +1 -1
  343. package/lib/components/carousel/index.d.ts +7 -0
  344. package/lib/components/carousel/index.js +2 -2
  345. package/lib/components/carousel/src/carousel-item.js +8 -70
  346. package/lib/components/carousel/src/carousel-item.js.map +1 -1
  347. package/lib/components/carousel/src/carousel-item2.js +70 -8
  348. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  349. package/lib/components/carousel/src/carousel.d.ts +1 -0
  350. package/lib/components/carousel/src/carousel.js +4 -0
  351. package/lib/components/carousel/src/carousel.js.map +1 -1
  352. package/lib/components/carousel/src/carousel.vue.d.ts +7 -0
  353. package/lib/components/carousel/src/carousel2.js +99 -65
  354. package/lib/components/carousel/src/carousel2.js.map +1 -1
  355. package/lib/components/carousel/src/use-carousel.d.ts +2 -0
  356. package/lib/components/carousel/src/use-carousel.js +23 -0
  357. package/lib/components/carousel/src/use-carousel.js.map +1 -1
  358. package/lib/components/cascader/index.js +2 -2
  359. package/lib/components/cascader/src/cascader.js +66 -626
  360. package/lib/components/cascader/src/cascader.js.map +1 -1
  361. package/lib/components/cascader/src/cascader2.js +626 -66
  362. package/lib/components/cascader/src/cascader2.js.map +1 -1
  363. package/lib/components/index.js +10 -10
  364. package/lib/components/menu/index.js +2 -2
  365. package/lib/components/menu/src/menu-item-group.js +35 -4
  366. package/lib/components/menu/src/menu-item-group.js.map +1 -1
  367. package/lib/components/menu/src/menu-item-group2.js +4 -35
  368. package/lib/components/menu/src/menu-item-group2.js.map +1 -1
  369. package/lib/components/menu/src/menu.js +2 -0
  370. package/lib/components/menu/src/menu.js.map +1 -1
  371. package/lib/components/select-v2/src/useSelect.js +9 -2
  372. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  373. package/lib/components/switch/index.js +2 -2
  374. package/lib/components/switch/src/switch.js +82 -233
  375. package/lib/components/switch/src/switch.js.map +1 -1
  376. package/lib/components/switch/src/switch2.js +233 -82
  377. package/lib/components/switch/src/switch2.js.map +1 -1
  378. package/lib/components/tour/index.js +2 -2
  379. package/lib/components/tour/src/tour.js +69 -151
  380. package/lib/components/tour/src/tour.js.map +1 -1
  381. package/lib/components/tour/src/tour2.js +151 -69
  382. package/lib/components/tour/src/tour2.js.map +1 -1
  383. package/lib/components/tree-select/src/select.d.ts +1 -1
  384. package/lib/components/tree-select/src/select.js +14 -10
  385. package/lib/components/tree-select/src/select.js.map +1 -1
  386. package/lib/components/tree-select/src/tree.js +5 -6
  387. package/lib/components/tree-select/src/tree.js.map +1 -1
  388. package/lib/components/upload/index.js +2 -2
  389. package/lib/components/upload/src/upload-content.js +1 -1
  390. package/lib/components/upload/src/upload-content2.js +1 -1
  391. package/lib/components/upload/src/upload-list.js +1 -1
  392. package/lib/components/upload/src/upload.js +118 -107
  393. package/lib/components/upload/src/upload.js.map +1 -1
  394. package/lib/components/upload/src/upload2.js +107 -118
  395. package/lib/components/upload/src/upload2.js.map +1 -1
  396. package/lib/components/upload/src/use-handlers.js +1 -1
  397. package/lib/index.js +10 -10
  398. package/lib/version.d.ts +1 -1
  399. package/lib/version.js +1 -1
  400. package/lib/version.js.map +1 -1
  401. package/package.json +2 -2
  402. package/tags.json +1 -1
  403. package/theme-chalk/el-carousel.css +1 -1
  404. package/theme-chalk/index.css +1 -1
  405. package/theme-chalk/src/carousel.scss +8 -0
  406. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20240228 */
1
+ /*! Element Plus v0.0.20240229 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -11642,7 +11642,7 @@
11642
11642
 
11643
11643
  const ElConfigProvider = withInstall(ConfigProvider);
11644
11644
 
11645
- const version$1 = "0.0.20240228";
11645
+ const version$1 = "0.0.20240229";
11646
11646
 
11647
11647
  const makeInstaller = (components = []) => {
11648
11648
  const install = (app, options) => {
@@ -21238,6 +21238,10 @@
21238
21238
  pauseOnHover: {
21239
21239
  type: Boolean,
21240
21240
  default: true
21241
+ },
21242
+ motionBlur: {
21243
+ type: Boolean,
21244
+ default: false
21241
21245
  }
21242
21246
  });
21243
21247
  const carouselEmits = {
@@ -21260,6 +21264,8 @@
21260
21264
  const root = vue.ref();
21261
21265
  const containerHeight = vue.ref(0);
21262
21266
  const isItemsTwoLength = vue.ref(true);
21267
+ const isFirstCall = vue.ref(true);
21268
+ const isTransitioning = vue.ref(false);
21263
21269
  const arrowDisplay = vue.computed(() => props.arrow !== "never" && !vue.unref(isVertical));
21264
21270
  const hasLabel = vue.computed(() => {
21265
21271
  return items.value.some((item) => item.props.label.toString().length > 0);
@@ -21300,6 +21306,10 @@
21300
21306
  timer.value = setInterval(() => playSlides(), props.interval);
21301
21307
  }
21302
21308
  const playSlides = () => {
21309
+ if (!isFirstCall.value) {
21310
+ isTransitioning.value = true;
21311
+ }
21312
+ isFirstCall.value = false;
21303
21313
  if (activeIndex.value < items.value.length - 1) {
21304
21314
  activeIndex.value = activeIndex.value + 1;
21305
21315
  } else if (props.loop) {
@@ -21307,6 +21317,10 @@
21307
21317
  }
21308
21318
  };
21309
21319
  function setActiveItem(index) {
21320
+ if (!isFirstCall.value) {
21321
+ isTransitioning.value = true;
21322
+ }
21323
+ isFirstCall.value = false;
21310
21324
  if (isString$1(index)) {
21311
21325
  const filteredItems = items.value.filter((item) => item.props.name === index);
21312
21326
  if (filteredItems.length > 0) {
@@ -21366,6 +21380,9 @@
21366
21380
  hover.value = false;
21367
21381
  startTimer();
21368
21382
  }
21383
+ function handleTransitionEnd() {
21384
+ isTransitioning.value = false;
21385
+ }
21369
21386
  function handleButtonEnter(arrow) {
21370
21387
  if (vue.unref(isVertical))
21371
21388
  return;
@@ -21383,11 +21400,19 @@
21383
21400
  });
21384
21401
  }
21385
21402
  function handleIndicatorClick(index) {
21403
+ if (index !== activeIndex.value) {
21404
+ if (!isFirstCall.value) {
21405
+ isTransitioning.value = true;
21406
+ }
21407
+ }
21386
21408
  activeIndex.value = index;
21387
21409
  }
21388
21410
  function handleIndicatorHover(index) {
21389
21411
  if (props.trigger === "hover" && index !== activeIndex.value) {
21390
21412
  activeIndex.value = index;
21413
+ if (!isFirstCall.value) {
21414
+ isTransitioning.value = true;
21415
+ }
21391
21416
  }
21392
21417
  }
21393
21418
  function prev() {
@@ -21478,11 +21503,13 @@
21478
21503
  hasLabel,
21479
21504
  hover,
21480
21505
  isCardType,
21506
+ isTransitioning,
21481
21507
  items,
21482
21508
  isVertical,
21483
21509
  containerStyle,
21484
21510
  isItemsTwoLength,
21485
21511
  handleButtonEnter,
21512
+ handleTransitionEnd,
21486
21513
  handleButtonLeave,
21487
21514
  handleIndicatorClick,
21488
21515
  handleMouseEnter,
@@ -21502,6 +21529,29 @@
21502
21529
  const _hoisted_3$h = ["onMouseenter", "onClick"];
21503
21530
  const _hoisted_4$b = ["aria-label"];
21504
21531
  const _hoisted_5$7 = { key: 0 };
21532
+ const _hoisted_6$4 = {
21533
+ key: 3,
21534
+ xmlns: "http://www.w3.org/2000/svg",
21535
+ version: "1.1",
21536
+ style: { "display": "none" }
21537
+ };
21538
+ const _hoisted_7$2 = /* @__PURE__ */ vue.createElementVNode("defs", null, [
21539
+ /* @__PURE__ */ vue.createElementVNode("filter", { id: "elCarouselHorizontal" }, [
21540
+ /* @__PURE__ */ vue.createElementVNode("feGaussianBlur", {
21541
+ in: "SourceGraphic",
21542
+ stdDeviation: "12,0"
21543
+ })
21544
+ ]),
21545
+ /* @__PURE__ */ vue.createElementVNode("filter", { id: "elCarouselVertical" }, [
21546
+ /* @__PURE__ */ vue.createElementVNode("feGaussianBlur", {
21547
+ in: "SourceGraphic",
21548
+ stdDeviation: "0,10"
21549
+ })
21550
+ ])
21551
+ ], -1);
21552
+ const _hoisted_8$2 = [
21553
+ _hoisted_7$2
21554
+ ];
21505
21555
  const COMPONENT_NAME$f = "ElCarousel";
21506
21556
  const __default__$1k = vue.defineComponent({
21507
21557
  name: COMPONENT_NAME$f
@@ -21524,9 +21574,11 @@
21524
21574
  containerStyle,
21525
21575
  handleButtonEnter,
21526
21576
  handleButtonLeave,
21577
+ isTransitioning,
21527
21578
  handleIndicatorClick,
21528
21579
  handleMouseEnter,
21529
21580
  handleMouseLeave,
21581
+ handleTransitionEnd,
21530
21582
  setActiveItem,
21531
21583
  prev,
21532
21584
  next,
@@ -21544,6 +21596,13 @@
21544
21596
  }
21545
21597
  return classes;
21546
21598
  });
21599
+ const carouselContainer = vue.computed(() => {
21600
+ const classes = [ns.e("container")];
21601
+ if (props.motionBlur && vue.unref(isTransitioning)) {
21602
+ classes.push(vue.unref(isVertical) ? `${ns.namespace.value}-transitioning-vertical` : `${ns.namespace.value}-transitioning`);
21603
+ }
21604
+ return classes;
21605
+ });
21547
21606
  const indicatorsClasses = vue.computed(() => {
21548
21607
  const classes = [ns.e("indicators"), ns.em("indicators", props.direction)];
21549
21608
  if (vue.unref(hasLabel)) {
@@ -21567,76 +21626,77 @@
21567
21626
  ref_key: "root",
21568
21627
  ref: root,
21569
21628
  class: vue.normalizeClass(vue.unref(carouselClasses)),
21570
- onMouseenter: _cache[6] || (_cache[6] = vue.withModifiers((...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args), ["stop"])),
21571
- onMouseleave: _cache[7] || (_cache[7] = vue.withModifiers((...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args), ["stop"]))
21629
+ onMouseenter: _cache[7] || (_cache[7] = vue.withModifiers((...args) => vue.unref(handleMouseEnter) && vue.unref(handleMouseEnter)(...args), ["stop"])),
21630
+ onMouseleave: _cache[8] || (_cache[8] = vue.withModifiers((...args) => vue.unref(handleMouseLeave) && vue.unref(handleMouseLeave)(...args), ["stop"]))
21572
21631
  }, [
21632
+ vue.unref(arrowDisplay) ? (vue.openBlock(), vue.createBlock(vue.Transition, {
21633
+ key: 0,
21634
+ name: "carousel-arrow-left",
21635
+ persisted: ""
21636
+ }, {
21637
+ default: vue.withCtx(() => [
21638
+ vue.withDirectives(vue.createElementVNode("button", {
21639
+ type: "button",
21640
+ class: vue.normalizeClass([vue.unref(ns).e("arrow"), vue.unref(ns).em("arrow", "left")]),
21641
+ "aria-label": vue.unref(t)("el.carousel.leftArrow"),
21642
+ onMouseenter: _cache[0] || (_cache[0] = ($event) => vue.unref(handleButtonEnter)("left")),
21643
+ onMouseleave: _cache[1] || (_cache[1] = (...args) => vue.unref(handleButtonLeave) && vue.unref(handleButtonLeave)(...args)),
21644
+ onClick: _cache[2] || (_cache[2] = vue.withModifiers(($event) => vue.unref(throttledArrowClick)(vue.unref(activeIndex) - 1), ["stop"]))
21645
+ }, [
21646
+ vue.createVNode(vue.unref(ElIcon), null, {
21647
+ default: vue.withCtx(() => [
21648
+ vue.createVNode(vue.unref(arrow_left_default))
21649
+ ]),
21650
+ _: 1
21651
+ })
21652
+ ], 42, _hoisted_1$Y), [
21653
+ [
21654
+ vue.vShow,
21655
+ (_ctx.arrow === "always" || vue.unref(hover)) && (props.loop || vue.unref(activeIndex) > 0)
21656
+ ]
21657
+ ])
21658
+ ]),
21659
+ _: 1
21660
+ })) : vue.createCommentVNode("v-if", true),
21661
+ vue.unref(arrowDisplay) ? (vue.openBlock(), vue.createBlock(vue.Transition, {
21662
+ key: 1,
21663
+ name: "carousel-arrow-right",
21664
+ persisted: ""
21665
+ }, {
21666
+ default: vue.withCtx(() => [
21667
+ vue.withDirectives(vue.createElementVNode("button", {
21668
+ type: "button",
21669
+ class: vue.normalizeClass([vue.unref(ns).e("arrow"), vue.unref(ns).em("arrow", "right")]),
21670
+ "aria-label": vue.unref(t)("el.carousel.rightArrow"),
21671
+ onMouseenter: _cache[3] || (_cache[3] = ($event) => vue.unref(handleButtonEnter)("right")),
21672
+ onMouseleave: _cache[4] || (_cache[4] = (...args) => vue.unref(handleButtonLeave) && vue.unref(handleButtonLeave)(...args)),
21673
+ onClick: _cache[5] || (_cache[5] = vue.withModifiers(($event) => vue.unref(throttledArrowClick)(vue.unref(activeIndex) + 1), ["stop"]))
21674
+ }, [
21675
+ vue.createVNode(vue.unref(ElIcon), null, {
21676
+ default: vue.withCtx(() => [
21677
+ vue.createVNode(vue.unref(arrow_right_default))
21678
+ ]),
21679
+ _: 1
21680
+ })
21681
+ ], 42, _hoisted_2$C), [
21682
+ [
21683
+ vue.vShow,
21684
+ (_ctx.arrow === "always" || vue.unref(hover)) && (props.loop || vue.unref(activeIndex) < vue.unref(items).length - 1)
21685
+ ]
21686
+ ])
21687
+ ]),
21688
+ _: 1
21689
+ })) : vue.createCommentVNode("v-if", true),
21573
21690
  vue.createElementVNode("div", {
21574
- class: vue.normalizeClass(vue.unref(ns).e("container")),
21575
- style: vue.normalizeStyle(vue.unref(containerStyle))
21691
+ class: vue.normalizeClass(vue.unref(carouselContainer)),
21692
+ style: vue.normalizeStyle(vue.unref(containerStyle)),
21693
+ onTransitionend: _cache[6] || (_cache[6] = (...args) => vue.unref(handleTransitionEnd) && vue.unref(handleTransitionEnd)(...args))
21576
21694
  }, [
21577
- vue.unref(arrowDisplay) ? (vue.openBlock(), vue.createBlock(vue.Transition, {
21578
- key: 0,
21579
- name: "carousel-arrow-left",
21580
- persisted: ""
21581
- }, {
21582
- default: vue.withCtx(() => [
21583
- vue.withDirectives(vue.createElementVNode("button", {
21584
- type: "button",
21585
- class: vue.normalizeClass([vue.unref(ns).e("arrow"), vue.unref(ns).em("arrow", "left")]),
21586
- "aria-label": vue.unref(t)("el.carousel.leftArrow"),
21587
- onMouseenter: _cache[0] || (_cache[0] = ($event) => vue.unref(handleButtonEnter)("left")),
21588
- onMouseleave: _cache[1] || (_cache[1] = (...args) => vue.unref(handleButtonLeave) && vue.unref(handleButtonLeave)(...args)),
21589
- onClick: _cache[2] || (_cache[2] = vue.withModifiers(($event) => vue.unref(throttledArrowClick)(vue.unref(activeIndex) - 1), ["stop"]))
21590
- }, [
21591
- vue.createVNode(vue.unref(ElIcon), null, {
21592
- default: vue.withCtx(() => [
21593
- vue.createVNode(vue.unref(arrow_left_default))
21594
- ]),
21595
- _: 1
21596
- })
21597
- ], 42, _hoisted_1$Y), [
21598
- [
21599
- vue.vShow,
21600
- (_ctx.arrow === "always" || vue.unref(hover)) && (props.loop || vue.unref(activeIndex) > 0)
21601
- ]
21602
- ])
21603
- ]),
21604
- _: 1
21605
- })) : vue.createCommentVNode("v-if", true),
21606
- vue.unref(arrowDisplay) ? (vue.openBlock(), vue.createBlock(vue.Transition, {
21607
- key: 1,
21608
- name: "carousel-arrow-right",
21609
- persisted: ""
21610
- }, {
21611
- default: vue.withCtx(() => [
21612
- vue.withDirectives(vue.createElementVNode("button", {
21613
- type: "button",
21614
- class: vue.normalizeClass([vue.unref(ns).e("arrow"), vue.unref(ns).em("arrow", "right")]),
21615
- "aria-label": vue.unref(t)("el.carousel.rightArrow"),
21616
- onMouseenter: _cache[3] || (_cache[3] = ($event) => vue.unref(handleButtonEnter)("right")),
21617
- onMouseleave: _cache[4] || (_cache[4] = (...args) => vue.unref(handleButtonLeave) && vue.unref(handleButtonLeave)(...args)),
21618
- onClick: _cache[5] || (_cache[5] = vue.withModifiers(($event) => vue.unref(throttledArrowClick)(vue.unref(activeIndex) + 1), ["stop"]))
21619
- }, [
21620
- vue.createVNode(vue.unref(ElIcon), null, {
21621
- default: vue.withCtx(() => [
21622
- vue.createVNode(vue.unref(arrow_right_default))
21623
- ]),
21624
- _: 1
21625
- })
21626
- ], 42, _hoisted_2$C), [
21627
- [
21628
- vue.vShow,
21629
- (_ctx.arrow === "always" || vue.unref(hover)) && (props.loop || vue.unref(activeIndex) < vue.unref(items).length - 1)
21630
- ]
21631
- ])
21632
- ]),
21633
- _: 1
21634
- })) : vue.createCommentVNode("v-if", true),
21635
21695
  vue.createVNode(vue.unref(PlaceholderItem)),
21636
21696
  vue.renderSlot(_ctx.$slots, "default")
21637
- ], 6),
21697
+ ], 38),
21638
21698
  _ctx.indicatorPosition !== "none" ? (vue.openBlock(), vue.createElementBlock("ul", {
21639
- key: 0,
21699
+ key: 2,
21640
21700
  class: vue.normalizeClass(vue.unref(indicatorsClasses))
21641
21701
  }, [
21642
21702
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(items), (item, index) => {
@@ -21660,7 +21720,8 @@
21660
21720
  [vue.vShow, vue.unref(isTwoLengthShow)(index)]
21661
21721
  ]);
21662
21722
  }), 128))
21663
- ], 2)) : vue.createCommentVNode("v-if", true)
21723
+ ], 2)) : vue.createCommentVNode("v-if", true),
21724
+ props.motionBlur ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_6$4, _hoisted_8$2)) : vue.createCommentVNode("v-if", true)
21664
21725
  ], 34);
21665
21726
  };
21666
21727
  }
@@ -33384,6 +33445,8 @@
33384
33445
  };
33385
33446
  let isFirstTimeRender = true;
33386
33447
  const handleResize = () => {
33448
+ if (sliceIndex.value === calcSliceIndex())
33449
+ return;
33387
33450
  const callback = () => {
33388
33451
  sliceIndex.value = -1;
33389
33452
  vue.nextTick(() => {
@@ -39468,6 +39531,13 @@
39468
39531
  allOptions.value = filterOptions("");
39469
39532
  filteredOptions.value = filterOptions(states.inputValue);
39470
39533
  };
39534
+ const allOptionsValueMap = vue.computed(() => {
39535
+ const valueMap = /* @__PURE__ */ new Map();
39536
+ allOptions.value.forEach((option, index) => {
39537
+ valueMap.set(getValueKey(getValue(option)), { option, index });
39538
+ });
39539
+ return valueMap;
39540
+ });
39471
39541
  const filteredOptionsValueMap = vue.computed(() => {
39472
39542
  const valueMap = /* @__PURE__ */ new Map();
39473
39543
  filteredOptions.value.forEach((option, index) => {
@@ -39827,8 +39897,8 @@
39827
39897
  };
39828
39898
  const getOption = (value) => {
39829
39899
  const selectValue = getValueKey(value);
39830
- if (filteredOptionsValueMap.value.has(selectValue)) {
39831
- const { option } = filteredOptionsValueMap.value.get(selectValue);
39900
+ if (allOptionsValueMap.value.has(selectValue)) {
39901
+ const { option } = allOptionsValueMap.value.get(selectValue);
39832
39902
  return option;
39833
39903
  }
39834
39904
  return {
@@ -52652,10 +52722,19 @@
52652
52722
  const ElTree = _Tree;
52653
52723
 
52654
52724
  const useSelect = (props, { attrs, emit }, {
52725
+ select,
52655
52726
  tree,
52656
52727
  key
52657
52728
  }) => {
52658
52729
  const ns = useNamespace("tree-select");
52730
+ vue.watch(() => props.data, () => {
52731
+ if (props.filterable) {
52732
+ vue.nextTick(() => {
52733
+ var _a, _b;
52734
+ (_b = tree.value) == null ? void 0 : _b.filter((_a = select.value) == null ? void 0 : _a.states.inputValue);
52735
+ });
52736
+ }
52737
+ }, { flush: "post" });
52659
52738
  const result = {
52660
52739
  ...pick(vue.toRefs(props), Object.keys(ElSelect.props)),
52661
52740
  ...attrs,
@@ -52668,18 +52747,13 @@
52668
52747
  return classes.join(" ");
52669
52748
  }),
52670
52749
  filterMethod: (keyword = "") => {
52671
- if (props.filterMethod)
52750
+ var _a;
52751
+ if (props.filterMethod) {
52672
52752
  props.filterMethod(keyword);
52673
- vue.nextTick(() => {
52674
- var _a;
52753
+ } else if (props.remoteMethod) {
52754
+ props.remoteMethod(keyword);
52755
+ } else {
52675
52756
  (_a = tree.value) == null ? void 0 : _a.filter(keyword);
52676
- });
52677
- },
52678
- onVisibleChange: (visible) => {
52679
- var _a;
52680
- (_a = attrs.onVisibleChange) == null ? void 0 : _a.call(attrs, visible);
52681
- if (props.filterable && visible) {
52682
- result.filterMethod();
52683
52757
  }
52684
52758
  }
52685
52759
  };
@@ -52794,9 +52868,6 @@
52794
52868
  }, (data) => getNodeValByProp("children", data));
52795
52869
  return options;
52796
52870
  });
52797
- const cacheOptionsMap = vue.computed(() => {
52798
- return cacheOptions.value.reduce((prev, next) => ({ ...prev, [next.value]: next }), {});
52799
- });
52800
52871
  return {
52801
52872
  ...pick(vue.toRefs(props), Object.keys(_Tree.props)),
52802
52873
  ...attrs,
@@ -52842,14 +52913,16 @@
52842
52913
  if (!props.showCheckbox)
52843
52914
  return;
52844
52915
  const dataValue = getNodeValByProp("value", data);
52916
+ const dataMap = {};
52917
+ treeEach([tree.value.store.root], (node) => dataMap[node.key] = node, (node) => node.childNodes);
52845
52918
  const uncachedCheckedKeys = params.checkedKeys;
52846
- const cachedKeys = props.multiple ? toValidArray(props.modelValue).filter((item) => item in cacheOptionsMap.value && !tree.value.getNode(item) && !uncachedCheckedKeys.includes(item)) : [];
52847
- const checkedKeys = uncachedCheckedKeys.concat(cachedKeys);
52919
+ const cachedKeys = props.multiple ? toValidArray(props.modelValue).filter((item) => !(item in dataMap) && !uncachedCheckedKeys.includes(item)) : [];
52920
+ const checkedKeys = cachedKeys.concat(uncachedCheckedKeys);
52848
52921
  if (props.checkStrictly) {
52849
52922
  emit(UPDATE_MODEL_EVENT, props.multiple ? checkedKeys : checkedKeys.includes(dataValue) ? dataValue : void 0);
52850
52923
  } else {
52851
52924
  if (props.multiple) {
52852
- emit(UPDATE_MODEL_EVENT, tree.value.getCheckedKeys(true));
52925
+ emit(UPDATE_MODEL_EVENT, cachedKeys.concat(tree.value.getCheckedKeys(true)));
52853
52926
  } else {
52854
52927
  const firstLeaf = treeFind([data], (data2) => !isValidArray(getNodeValByProp("children", data2)) && !getNodeValByProp("disabled", data2), (data2) => getNodeValByProp("children", data2));
52855
52928
  const firstLeafKey = firstLeaf ? getNodeValByProp("value", firstLeaf) : void 0;