@element-plus/nightly 0.0.20241207 → 0.0.20241209

Sign up to get free protection for your applications and to get access to all the features.
Files changed (358) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +13 -11
  4. package/dist/index.full.min.js +15 -15
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +9 -9
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +13 -11
  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/ms.js +1 -1
  154. package/dist/locale/ms.min.js +1 -1
  155. package/dist/locale/ms.min.mjs +1 -1
  156. package/dist/locale/ms.mjs +1 -1
  157. package/dist/locale/my.js +1 -1
  158. package/dist/locale/my.min.js +1 -1
  159. package/dist/locale/my.min.mjs +1 -1
  160. package/dist/locale/my.mjs +1 -1
  161. package/dist/locale/nb-no.js +1 -1
  162. package/dist/locale/nb-no.min.js +1 -1
  163. package/dist/locale/nb-no.min.mjs +1 -1
  164. package/dist/locale/nb-no.mjs +1 -1
  165. package/dist/locale/nl.js +1 -1
  166. package/dist/locale/nl.min.js +1 -1
  167. package/dist/locale/nl.min.mjs +1 -1
  168. package/dist/locale/nl.mjs +1 -1
  169. package/dist/locale/pa.js +1 -1
  170. package/dist/locale/pa.min.js +1 -1
  171. package/dist/locale/pa.min.mjs +1 -1
  172. package/dist/locale/pa.mjs +1 -1
  173. package/dist/locale/pl.js +1 -1
  174. package/dist/locale/pl.min.js +1 -1
  175. package/dist/locale/pl.min.mjs +1 -1
  176. package/dist/locale/pl.mjs +1 -1
  177. package/dist/locale/pt-br.js +1 -1
  178. package/dist/locale/pt-br.min.js +1 -1
  179. package/dist/locale/pt-br.min.mjs +1 -1
  180. package/dist/locale/pt-br.mjs +1 -1
  181. package/dist/locale/pt.js +1 -1
  182. package/dist/locale/pt.min.js +1 -1
  183. package/dist/locale/pt.min.mjs +1 -1
  184. package/dist/locale/pt.mjs +1 -1
  185. package/dist/locale/ro.js +1 -1
  186. package/dist/locale/ro.min.js +1 -1
  187. package/dist/locale/ro.min.mjs +1 -1
  188. package/dist/locale/ro.mjs +1 -1
  189. package/dist/locale/ru.js +1 -1
  190. package/dist/locale/ru.min.js +1 -1
  191. package/dist/locale/ru.min.mjs +1 -1
  192. package/dist/locale/ru.mjs +1 -1
  193. package/dist/locale/sk.js +1 -1
  194. package/dist/locale/sk.min.js +1 -1
  195. package/dist/locale/sk.min.mjs +1 -1
  196. package/dist/locale/sk.mjs +1 -1
  197. package/dist/locale/sl.js +1 -1
  198. package/dist/locale/sl.min.js +1 -1
  199. package/dist/locale/sl.min.mjs +1 -1
  200. package/dist/locale/sl.mjs +1 -1
  201. package/dist/locale/sr.js +1 -1
  202. package/dist/locale/sr.min.js +1 -1
  203. package/dist/locale/sr.min.mjs +1 -1
  204. package/dist/locale/sr.mjs +1 -1
  205. package/dist/locale/sv.js +1 -1
  206. package/dist/locale/sv.min.js +1 -1
  207. package/dist/locale/sv.min.mjs +1 -1
  208. package/dist/locale/sv.mjs +1 -1
  209. package/dist/locale/sw.js +1 -1
  210. package/dist/locale/sw.min.js +1 -1
  211. package/dist/locale/sw.min.mjs +1 -1
  212. package/dist/locale/sw.mjs +1 -1
  213. package/dist/locale/ta.js +1 -1
  214. package/dist/locale/ta.min.js +1 -1
  215. package/dist/locale/ta.min.mjs +1 -1
  216. package/dist/locale/ta.mjs +1 -1
  217. package/dist/locale/th.js +1 -1
  218. package/dist/locale/th.min.js +1 -1
  219. package/dist/locale/th.min.mjs +1 -1
  220. package/dist/locale/th.mjs +1 -1
  221. package/dist/locale/tk.js +1 -1
  222. package/dist/locale/tk.min.js +1 -1
  223. package/dist/locale/tk.min.mjs +1 -1
  224. package/dist/locale/tk.mjs +1 -1
  225. package/dist/locale/tr.js +1 -1
  226. package/dist/locale/tr.min.js +1 -1
  227. package/dist/locale/tr.min.mjs +1 -1
  228. package/dist/locale/tr.mjs +1 -1
  229. package/dist/locale/ug-cn.js +1 -1
  230. package/dist/locale/ug-cn.min.js +1 -1
  231. package/dist/locale/ug-cn.min.mjs +1 -1
  232. package/dist/locale/ug-cn.mjs +1 -1
  233. package/dist/locale/uk.js +1 -1
  234. package/dist/locale/uk.min.js +1 -1
  235. package/dist/locale/uk.min.mjs +1 -1
  236. package/dist/locale/uk.mjs +1 -1
  237. package/dist/locale/uz-uz.js +1 -1
  238. package/dist/locale/uz-uz.min.js +1 -1
  239. package/dist/locale/uz-uz.min.mjs +1 -1
  240. package/dist/locale/uz-uz.mjs +1 -1
  241. package/dist/locale/vi.js +1 -1
  242. package/dist/locale/vi.min.js +1 -1
  243. package/dist/locale/vi.min.mjs +1 -1
  244. package/dist/locale/vi.mjs +1 -1
  245. package/dist/locale/zh-cn.js +1 -1
  246. package/dist/locale/zh-cn.min.js +1 -1
  247. package/dist/locale/zh-cn.min.mjs +1 -1
  248. package/dist/locale/zh-cn.mjs +1 -1
  249. package/dist/locale/zh-tw.js +1 -1
  250. package/dist/locale/zh-tw.min.js +1 -1
  251. package/dist/locale/zh-tw.min.mjs +1 -1
  252. package/dist/locale/zh-tw.mjs +1 -1
  253. package/es/components/carousel/index.mjs +2 -2
  254. package/es/components/carousel/src/carousel-item.mjs +7 -69
  255. package/es/components/carousel/src/carousel-item.mjs.map +1 -1
  256. package/es/components/carousel/src/carousel-item2.mjs +69 -7
  257. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  258. package/es/components/color-picker/index.mjs +2 -2
  259. package/es/components/color-picker/src/color-picker.mjs +399 -40
  260. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  261. package/es/components/color-picker/src/color-picker2.mjs +40 -399
  262. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  263. package/es/components/color-picker/src/components/predefine.mjs +1 -1
  264. package/es/components/dropdown/src/dropdown.d.ts +1 -0
  265. package/es/components/dropdown/src/dropdown.mjs +10 -1
  266. package/es/components/dropdown/src/dropdown.mjs.map +1 -1
  267. package/es/components/dropdown/src/dropdown.vue.d.ts +3 -1
  268. package/es/components/dropdown/src/dropdown2.mjs +0 -8
  269. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  270. package/es/components/index.mjs +5 -5
  271. package/es/components/link/index.mjs +2 -2
  272. package/es/components/link/src/link.mjs +49 -24
  273. package/es/components/link/src/link.mjs.map +1 -1
  274. package/es/components/link/src/link2.mjs +24 -49
  275. package/es/components/link/src/link2.mjs.map +1 -1
  276. package/es/components/pagination/src/components/prev.mjs +17 -35
  277. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  278. package/es/components/pagination/src/components/prev2.mjs +35 -17
  279. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  280. package/es/components/pagination/src/pagination.mjs +1 -1
  281. package/es/components/select-v2/src/useSelect.mjs +1 -1
  282. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  283. package/es/components/skeleton/index.mjs +2 -2
  284. package/es/components/skeleton/src/skeleton.mjs +48 -21
  285. package/es/components/skeleton/src/skeleton.mjs.map +1 -1
  286. package/es/components/skeleton/src/skeleton2.mjs +21 -48
  287. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  288. package/es/components/tour/index.mjs +1 -1
  289. package/es/components/tour/src/content.mjs +67 -43
  290. package/es/components/tour/src/content.mjs.map +1 -1
  291. package/es/components/tour/src/content2.mjs +43 -67
  292. package/es/components/tour/src/content2.mjs.map +1 -1
  293. package/es/components/tour/src/step.mjs +1 -1
  294. package/es/components/tour/src/tour.mjs +1 -1
  295. package/es/components/tour/src/tour2.mjs +1 -1
  296. package/es/components/tree-v2/src/composables/useFilter.mjs +1 -1
  297. package/es/components/tree-v2/src/composables/useFilter.mjs.map +1 -1
  298. package/es/components/tree-v2/src/types.d.ts +1 -1
  299. package/es/index.mjs +5 -5
  300. package/es/version.d.ts +1 -1
  301. package/es/version.mjs +1 -1
  302. package/es/version.mjs.map +1 -1
  303. package/lib/components/carousel/index.js +2 -2
  304. package/lib/components/carousel/src/carousel-item.js +7 -69
  305. package/lib/components/carousel/src/carousel-item.js.map +1 -1
  306. package/lib/components/carousel/src/carousel-item2.js +69 -7
  307. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  308. package/lib/components/color-picker/index.js +2 -2
  309. package/lib/components/color-picker/src/color-picker.js +397 -40
  310. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  311. package/lib/components/color-picker/src/color-picker2.js +40 -397
  312. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  313. package/lib/components/color-picker/src/components/predefine.js +1 -1
  314. package/lib/components/dropdown/src/dropdown.d.ts +1 -0
  315. package/lib/components/dropdown/src/dropdown.js +10 -1
  316. package/lib/components/dropdown/src/dropdown.js.map +1 -1
  317. package/lib/components/dropdown/src/dropdown.vue.d.ts +3 -1
  318. package/lib/components/dropdown/src/dropdown2.js +0 -8
  319. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  320. package/lib/components/index.js +5 -5
  321. package/lib/components/link/index.js +2 -2
  322. package/lib/components/link/src/link.js +49 -25
  323. package/lib/components/link/src/link.js.map +1 -1
  324. package/lib/components/link/src/link2.js +25 -49
  325. package/lib/components/link/src/link2.js.map +1 -1
  326. package/lib/components/pagination/src/components/prev.js +18 -35
  327. package/lib/components/pagination/src/components/prev.js.map +1 -1
  328. package/lib/components/pagination/src/components/prev2.js +35 -18
  329. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  330. package/lib/components/pagination/src/pagination.js +1 -1
  331. package/lib/components/select-v2/src/useSelect.js +1 -1
  332. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  333. package/lib/components/skeleton/index.js +2 -2
  334. package/lib/components/skeleton/src/skeleton.js +48 -21
  335. package/lib/components/skeleton/src/skeleton.js.map +1 -1
  336. package/lib/components/skeleton/src/skeleton2.js +21 -48
  337. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  338. package/lib/components/tour/index.js +1 -1
  339. package/lib/components/tour/src/content.js +67 -46
  340. package/lib/components/tour/src/content.js.map +1 -1
  341. package/lib/components/tour/src/content2.js +46 -67
  342. package/lib/components/tour/src/content2.js.map +1 -1
  343. package/lib/components/tour/src/step.js +1 -1
  344. package/lib/components/tour/src/tour.js +1 -1
  345. package/lib/components/tour/src/tour2.js +1 -1
  346. package/lib/components/tree-v2/src/composables/useFilter.js +1 -1
  347. package/lib/components/tree-v2/src/composables/useFilter.js.map +1 -1
  348. package/lib/components/tree-v2/src/types.d.ts +1 -1
  349. package/lib/index.js +5 -5
  350. package/lib/version.d.ts +1 -1
  351. package/lib/version.js +1 -1
  352. package/lib/version.js.map +1 -1
  353. package/package.json +2 -2
  354. package/tags.json +1 -1
  355. package/theme-chalk/el-input.css +1 -1
  356. package/theme-chalk/index.css +1 -1
  357. package/theme-chalk/src/input.scss +1 -0
  358. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20241207 */
1
+ /*! Element Plus v0.0.20241209 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -11596,7 +11596,7 @@
11596
11596
 
11597
11597
  const ElConfigProvider = withInstall(ConfigProvider);
11598
11598
 
11599
- const version$1 = "0.0.20241207";
11599
+ const version$1 = "0.0.20241209";
11600
11600
 
11601
11601
  const makeInstaller = (components = []) => {
11602
11602
  const install = (app, options) => {
@@ -31561,6 +31561,15 @@
31561
31561
 
31562
31562
  const dropdownProps = buildProps({
31563
31563
  trigger: useTooltipTriggerProps.trigger,
31564
+ triggerKeys: {
31565
+ type: definePropType(Array),
31566
+ default: () => [
31567
+ EVENT_CODE.enter,
31568
+ EVENT_CODE.numpadEnter,
31569
+ EVENT_CODE.space,
31570
+ EVENT_CODE.down
31571
+ ]
31572
+ },
31564
31573
  effect: {
31565
31574
  ...useTooltipContentProps.effect,
31566
31575
  default: "light"
@@ -31678,12 +31687,6 @@
31678
31687
  const scrollbar = vue.ref(null);
31679
31688
  const currentTabId = vue.ref(null);
31680
31689
  const isUsingKeyboard = vue.ref(false);
31681
- const triggerKeys = [
31682
- EVENT_CODE.enter,
31683
- EVENT_CODE.numpadEnter,
31684
- EVENT_CODE.space,
31685
- EVENT_CODE.down
31686
- ];
31687
31690
  const wrapStyle = vue.computed(() => ({
31688
31691
  maxHeight: addUnit(props.maxHeight)
31689
31692
  }));
@@ -31789,7 +31792,6 @@
31789
31792
  dropdownTriggerKls,
31790
31793
  dropdownSize,
31791
31794
  triggerId,
31792
- triggerKeys,
31793
31795
  currentTabId,
31794
31796
  handleCurrentTabIdChange,
31795
31797
  handlerMainButtonClick,
@@ -41111,7 +41113,7 @@
41111
41113
  return index;
41112
41114
  }
41113
41115
  } else {
41114
- if (props.modelValue && filteredOptionsValueMap.value.has(props.modelValue)) {
41116
+ if (!isEmptyValue(props.modelValue) && filteredOptionsValueMap.value.has(props.modelValue)) {
41115
41117
  const { index } = filteredOptionsValueMap.value.get(props.modelValue);
41116
41118
  return index;
41117
41119
  }
@@ -55263,7 +55265,7 @@
55263
55265
  function traverse(nodes2) {
55264
55266
  nodes2.forEach((node) => {
55265
55267
  family.push(node);
55266
- if (filter == null ? void 0 : filter(query, node.data)) {
55268
+ if (filter == null ? void 0 : filter(query, node.data, node)) {
55267
55269
  family.forEach((member) => {
55268
55270
  expandKeySet.add(member.key);
55269
55271
  });