@element-plus/nightly 0.0.20231207 → 0.0.20231209

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 (476) hide show
  1. package/dist/index.full.js +17 -13
  2. package/dist/index.full.min.js +3 -3
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +8 -8
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +17 -13
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar.js +1 -1
  12. package/dist/locale/ar.min.js +1 -1
  13. package/dist/locale/ar.min.mjs +1 -1
  14. package/dist/locale/ar.mjs +1 -1
  15. package/dist/locale/az.js +1 -1
  16. package/dist/locale/az.min.js +1 -1
  17. package/dist/locale/az.min.mjs +1 -1
  18. package/dist/locale/az.mjs +1 -1
  19. package/dist/locale/bg.js +1 -1
  20. package/dist/locale/bg.min.js +1 -1
  21. package/dist/locale/bg.min.mjs +1 -1
  22. package/dist/locale/bg.mjs +1 -1
  23. package/dist/locale/bn.js +1 -1
  24. package/dist/locale/bn.min.js +1 -1
  25. package/dist/locale/bn.min.mjs +1 -1
  26. package/dist/locale/bn.mjs +1 -1
  27. package/dist/locale/ca.js +1 -1
  28. package/dist/locale/ca.min.js +1 -1
  29. package/dist/locale/ca.min.mjs +1 -1
  30. package/dist/locale/ca.mjs +1 -1
  31. package/dist/locale/ckb.js +1 -1
  32. package/dist/locale/ckb.min.js +1 -1
  33. package/dist/locale/ckb.min.mjs +1 -1
  34. package/dist/locale/ckb.mjs +1 -1
  35. package/dist/locale/cs.js +1 -1
  36. package/dist/locale/cs.min.js +1 -1
  37. package/dist/locale/cs.min.mjs +1 -1
  38. package/dist/locale/cs.mjs +1 -1
  39. package/dist/locale/da.js +1 -1
  40. package/dist/locale/da.min.js +1 -1
  41. package/dist/locale/da.min.mjs +1 -1
  42. package/dist/locale/da.mjs +1 -1
  43. package/dist/locale/de.js +1 -1
  44. package/dist/locale/de.min.js +1 -1
  45. package/dist/locale/de.min.mjs +1 -1
  46. package/dist/locale/de.mjs +1 -1
  47. package/dist/locale/el.js +1 -1
  48. package/dist/locale/el.min.js +1 -1
  49. package/dist/locale/el.min.mjs +1 -1
  50. package/dist/locale/el.mjs +1 -1
  51. package/dist/locale/en.js +1 -1
  52. package/dist/locale/en.min.js +1 -1
  53. package/dist/locale/en.min.mjs +1 -1
  54. package/dist/locale/en.mjs +1 -1
  55. package/dist/locale/eo.js +1 -1
  56. package/dist/locale/eo.min.js +1 -1
  57. package/dist/locale/eo.min.mjs +1 -1
  58. package/dist/locale/eo.mjs +1 -1
  59. package/dist/locale/es.js +1 -1
  60. package/dist/locale/es.min.js +1 -1
  61. package/dist/locale/es.min.mjs +1 -1
  62. package/dist/locale/es.mjs +1 -1
  63. package/dist/locale/et.js +1 -1
  64. package/dist/locale/et.min.js +1 -1
  65. package/dist/locale/et.min.mjs +1 -1
  66. package/dist/locale/et.mjs +1 -1
  67. package/dist/locale/eu.js +1 -1
  68. package/dist/locale/eu.min.js +1 -1
  69. package/dist/locale/eu.min.mjs +1 -1
  70. package/dist/locale/eu.mjs +1 -1
  71. package/dist/locale/fa.js +1 -1
  72. package/dist/locale/fa.min.js +1 -1
  73. package/dist/locale/fa.min.mjs +1 -1
  74. package/dist/locale/fa.mjs +1 -1
  75. package/dist/locale/fi.js +1 -1
  76. package/dist/locale/fi.min.js +1 -1
  77. package/dist/locale/fi.min.mjs +1 -1
  78. package/dist/locale/fi.mjs +1 -1
  79. package/dist/locale/fr.js +1 -1
  80. package/dist/locale/fr.min.js +1 -1
  81. package/dist/locale/fr.min.mjs +1 -1
  82. package/dist/locale/fr.mjs +1 -1
  83. package/dist/locale/he.js +1 -1
  84. package/dist/locale/he.min.js +1 -1
  85. package/dist/locale/he.min.mjs +1 -1
  86. package/dist/locale/he.mjs +1 -1
  87. package/dist/locale/hr.js +1 -1
  88. package/dist/locale/hr.min.js +1 -1
  89. package/dist/locale/hr.min.mjs +1 -1
  90. package/dist/locale/hr.mjs +1 -1
  91. package/dist/locale/hu.js +1 -1
  92. package/dist/locale/hu.min.js +1 -1
  93. package/dist/locale/hu.min.mjs +1 -1
  94. package/dist/locale/hu.mjs +1 -1
  95. package/dist/locale/hy-am.js +1 -1
  96. package/dist/locale/hy-am.min.js +1 -1
  97. package/dist/locale/hy-am.min.mjs +1 -1
  98. package/dist/locale/hy-am.mjs +1 -1
  99. package/dist/locale/id.js +1 -1
  100. package/dist/locale/id.min.js +1 -1
  101. package/dist/locale/id.min.mjs +1 -1
  102. package/dist/locale/id.mjs +1 -1
  103. package/dist/locale/it.js +1 -1
  104. package/dist/locale/it.min.js +1 -1
  105. package/dist/locale/it.min.mjs +1 -1
  106. package/dist/locale/it.mjs +1 -1
  107. package/dist/locale/ja.js +1 -1
  108. package/dist/locale/ja.min.js +1 -1
  109. package/dist/locale/ja.min.mjs +1 -1
  110. package/dist/locale/ja.mjs +1 -1
  111. package/dist/locale/kk.js +1 -1
  112. package/dist/locale/kk.min.js +1 -1
  113. package/dist/locale/kk.min.mjs +1 -1
  114. package/dist/locale/kk.mjs +1 -1
  115. package/dist/locale/km.js +1 -1
  116. package/dist/locale/km.min.js +1 -1
  117. package/dist/locale/km.min.mjs +1 -1
  118. package/dist/locale/km.mjs +1 -1
  119. package/dist/locale/ko.js +1 -1
  120. package/dist/locale/ko.min.js +1 -1
  121. package/dist/locale/ko.min.mjs +1 -1
  122. package/dist/locale/ko.mjs +1 -1
  123. package/dist/locale/ku.js +1 -1
  124. package/dist/locale/ku.min.js +1 -1
  125. package/dist/locale/ku.min.mjs +1 -1
  126. package/dist/locale/ku.mjs +1 -1
  127. package/dist/locale/ky.js +1 -1
  128. package/dist/locale/ky.min.js +1 -1
  129. package/dist/locale/ky.min.mjs +1 -1
  130. package/dist/locale/ky.mjs +1 -1
  131. package/dist/locale/lt.js +1 -1
  132. package/dist/locale/lt.min.js +1 -1
  133. package/dist/locale/lt.min.mjs +1 -1
  134. package/dist/locale/lt.mjs +1 -1
  135. package/dist/locale/lv.js +1 -1
  136. package/dist/locale/lv.min.js +1 -1
  137. package/dist/locale/lv.min.mjs +1 -1
  138. package/dist/locale/lv.mjs +1 -1
  139. package/dist/locale/mg.js +1 -1
  140. package/dist/locale/mg.min.js +1 -1
  141. package/dist/locale/mg.min.mjs +1 -1
  142. package/dist/locale/mg.mjs +1 -1
  143. package/dist/locale/mn.js +1 -1
  144. package/dist/locale/mn.min.js +1 -1
  145. package/dist/locale/mn.min.mjs +1 -1
  146. package/dist/locale/mn.mjs +1 -1
  147. package/dist/locale/nb-no.js +1 -1
  148. package/dist/locale/nb-no.min.js +1 -1
  149. package/dist/locale/nb-no.min.mjs +1 -1
  150. package/dist/locale/nb-no.mjs +1 -1
  151. package/dist/locale/nl.js +1 -1
  152. package/dist/locale/nl.min.js +1 -1
  153. package/dist/locale/nl.min.mjs +1 -1
  154. package/dist/locale/nl.mjs +1 -1
  155. package/dist/locale/pa.js +1 -1
  156. package/dist/locale/pa.min.js +1 -1
  157. package/dist/locale/pa.min.mjs +1 -1
  158. package/dist/locale/pa.mjs +1 -1
  159. package/dist/locale/pl.js +1 -1
  160. package/dist/locale/pl.min.js +1 -1
  161. package/dist/locale/pl.min.mjs +1 -1
  162. package/dist/locale/pl.mjs +1 -1
  163. package/dist/locale/pt-br.js +1 -1
  164. package/dist/locale/pt-br.min.js +1 -1
  165. package/dist/locale/pt-br.min.mjs +1 -1
  166. package/dist/locale/pt-br.mjs +1 -1
  167. package/dist/locale/pt.js +1 -1
  168. package/dist/locale/pt.min.js +1 -1
  169. package/dist/locale/pt.min.mjs +1 -1
  170. package/dist/locale/pt.mjs +1 -1
  171. package/dist/locale/ro.js +1 -1
  172. package/dist/locale/ro.min.js +1 -1
  173. package/dist/locale/ro.min.mjs +1 -1
  174. package/dist/locale/ro.mjs +1 -1
  175. package/dist/locale/ru.js +1 -1
  176. package/dist/locale/ru.min.js +1 -1
  177. package/dist/locale/ru.min.mjs +1 -1
  178. package/dist/locale/ru.mjs +1 -1
  179. package/dist/locale/sk.js +1 -1
  180. package/dist/locale/sk.min.js +1 -1
  181. package/dist/locale/sk.min.mjs +1 -1
  182. package/dist/locale/sk.mjs +1 -1
  183. package/dist/locale/sl.js +1 -1
  184. package/dist/locale/sl.min.js +1 -1
  185. package/dist/locale/sl.min.mjs +1 -1
  186. package/dist/locale/sl.mjs +1 -1
  187. package/dist/locale/sr.js +1 -1
  188. package/dist/locale/sr.min.js +1 -1
  189. package/dist/locale/sr.min.mjs +1 -1
  190. package/dist/locale/sr.mjs +1 -1
  191. package/dist/locale/sv.js +1 -1
  192. package/dist/locale/sv.min.js +1 -1
  193. package/dist/locale/sv.min.mjs +1 -1
  194. package/dist/locale/sv.mjs +1 -1
  195. package/dist/locale/sw.js +1 -1
  196. package/dist/locale/sw.min.js +1 -1
  197. package/dist/locale/sw.min.mjs +1 -1
  198. package/dist/locale/sw.mjs +1 -1
  199. package/dist/locale/ta.js +1 -1
  200. package/dist/locale/ta.min.js +1 -1
  201. package/dist/locale/ta.min.mjs +1 -1
  202. package/dist/locale/ta.mjs +1 -1
  203. package/dist/locale/th.js +1 -1
  204. package/dist/locale/th.min.js +1 -1
  205. package/dist/locale/th.min.mjs +1 -1
  206. package/dist/locale/th.mjs +1 -1
  207. package/dist/locale/tk.js +1 -1
  208. package/dist/locale/tk.min.js +1 -1
  209. package/dist/locale/tk.min.mjs +1 -1
  210. package/dist/locale/tk.mjs +1 -1
  211. package/dist/locale/tr.js +1 -1
  212. package/dist/locale/tr.min.js +1 -1
  213. package/dist/locale/tr.min.mjs +1 -1
  214. package/dist/locale/tr.mjs +1 -1
  215. package/dist/locale/ug-cn.js +1 -1
  216. package/dist/locale/ug-cn.min.js +1 -1
  217. package/dist/locale/ug-cn.min.mjs +1 -1
  218. package/dist/locale/ug-cn.mjs +1 -1
  219. package/dist/locale/uk.js +1 -1
  220. package/dist/locale/uk.min.js +1 -1
  221. package/dist/locale/uk.min.mjs +1 -1
  222. package/dist/locale/uk.mjs +1 -1
  223. package/dist/locale/uz-uz.js +1 -1
  224. package/dist/locale/uz-uz.min.js +1 -1
  225. package/dist/locale/uz-uz.min.mjs +1 -1
  226. package/dist/locale/uz-uz.mjs +1 -1
  227. package/dist/locale/vi.js +1 -1
  228. package/dist/locale/vi.min.js +1 -1
  229. package/dist/locale/vi.min.mjs +1 -1
  230. package/dist/locale/vi.mjs +1 -1
  231. package/dist/locale/zh-cn.js +1 -1
  232. package/dist/locale/zh-cn.min.js +1 -1
  233. package/dist/locale/zh-cn.min.mjs +1 -1
  234. package/dist/locale/zh-cn.mjs +1 -1
  235. package/dist/locale/zh-tw.js +1 -1
  236. package/dist/locale/zh-tw.min.js +1 -1
  237. package/dist/locale/zh-tw.min.mjs +1 -1
  238. package/dist/locale/zh-tw.mjs +1 -1
  239. package/es/components/alert/index.d.ts +4 -4
  240. package/es/components/alert/src/alert.d.ts +1 -1
  241. package/es/components/alert/src/alert.vue.d.ts +4 -4
  242. package/es/components/autocomplete/index.d.ts +65 -65
  243. package/es/components/autocomplete/index.mjs +2 -2
  244. package/es/components/autocomplete/src/autocomplete.mjs +361 -81
  245. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  246. package/es/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  247. package/es/components/autocomplete/src/autocomplete2.mjs +81 -361
  248. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  249. package/es/components/button/index.d.ts +5 -5
  250. package/es/components/button/src/button.d.ts +1 -1
  251. package/es/components/button/src/button.vue.d.ts +5 -5
  252. package/es/components/button/src/use-button.d.ts +1 -1
  253. package/es/components/calendar/index.d.ts +5 -5
  254. package/es/components/calendar/src/calendar.vue.d.ts +5 -5
  255. package/es/components/carousel/index.d.ts +5 -5
  256. package/es/components/carousel/src/carousel.d.ts +1 -1
  257. package/es/components/carousel/src/carousel.vue.d.ts +5 -5
  258. package/es/components/cascader/index.d.ts +128 -128
  259. package/es/components/cascader/src/cascader.vue.d.ts +64 -64
  260. package/es/components/color-picker/index.d.ts +38 -38
  261. package/es/components/color-picker/src/color-picker.vue.d.ts +38 -38
  262. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  263. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  264. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  265. package/es/components/dialog/index.d.ts +1 -1
  266. package/es/components/dialog/src/dialog.vue.d.ts +1 -1
  267. package/es/components/dropdown/index.d.ts +14 -14
  268. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  269. package/es/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  270. package/es/components/dropdown/src/dropdown.vue.d.ts +12 -12
  271. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  272. package/es/components/form/index.d.ts +12 -12
  273. package/es/components/form/src/form-item.d.ts +1 -1
  274. package/es/components/form/src/form-item.vue.d.ts +5 -5
  275. package/es/components/image/index.d.ts +1 -1
  276. package/es/components/image/src/image.vue.d.ts +1 -1
  277. package/es/components/index.mjs +3 -3
  278. package/es/components/input/index.d.ts +12 -12
  279. package/es/components/input/src/input.vue.d.ts +12 -12
  280. package/es/components/input-number/index.d.ts +45 -45
  281. package/es/components/input-number/src/input-number.vue.d.ts +45 -45
  282. package/es/components/menu/index.d.ts +3 -3
  283. package/es/components/menu/src/menu.d.ts +4 -4
  284. package/es/components/message/src/message.d.ts +1 -1
  285. package/es/components/message/src/message.vue.d.ts +4 -4
  286. package/es/components/notification/src/notification.d.ts +1 -1
  287. package/es/components/notification/src/notification.vue.d.ts +4 -4
  288. package/es/components/pagination/src/components/jumper.vue.d.ts +12 -12
  289. package/es/components/pagination/src/components/sizes.vue.d.ts +26 -26
  290. package/es/components/popconfirm/index.d.ts +23 -23
  291. package/es/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  292. package/es/components/popover/index.d.ts +18 -18
  293. package/es/components/popover/src/popover.vue.d.ts +18 -18
  294. package/es/components/popper/index.mjs +2 -2
  295. package/es/components/popper/src/arrow.mjs +37 -8
  296. package/es/components/popper/src/arrow.mjs.map +1 -1
  297. package/es/components/popper/src/arrow2.mjs +8 -37
  298. package/es/components/popper/src/arrow2.mjs.map +1 -1
  299. package/es/components/popper/src/content.vue.d.ts +6 -6
  300. package/es/components/result/index.d.ts +4 -4
  301. package/es/components/result/src/result.d.ts +1 -1
  302. package/es/components/result/src/result.vue.d.ts +4 -4
  303. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  304. package/es/components/select/index.d.ts +26 -26
  305. package/es/components/select/src/select.vue.d.ts +26 -26
  306. package/es/components/select/src/useSelect.d.ts +24 -24
  307. package/es/components/select-v2/index.d.ts +30 -30
  308. package/es/components/select-v2/src/option-item.vue.d.ts +1 -1
  309. package/es/components/select-v2/src/select.vue.d.ts +15 -15
  310. package/es/components/select-v2/src/useSelect.d.ts +13 -13
  311. package/es/components/slider/index.d.ts +75 -75
  312. package/es/components/slider/src/button.vue.d.ts +6 -6
  313. package/es/components/slider/src/composables/use-slide.d.ts +24 -24
  314. package/es/components/slider/src/slider.vue.d.ts +75 -75
  315. package/es/components/steps/index.d.ts +16 -16
  316. package/es/components/steps/src/item.d.ts +1 -1
  317. package/es/components/steps/src/item.vue.d.ts +4 -4
  318. package/es/components/steps/src/steps.d.ts +2 -2
  319. package/es/components/steps/src/steps.vue.d.ts +8 -8
  320. package/es/components/switch/src/switch2.mjs +16 -12
  321. package/es/components/switch/src/switch2.mjs.map +1 -1
  322. package/es/components/table/index.d.ts +1 -1
  323. package/es/components/table/src/filter-panel.vue.d.ts +12 -12
  324. package/es/components/table/src/table.vue.d.ts +1 -1
  325. package/es/components/tag/index.d.ts +1 -1
  326. package/es/components/tag/src/tag.vue.d.ts +1 -1
  327. package/es/components/time-picker/src/common/picker.vue.d.ts +34 -34
  328. package/es/components/time-select/index.d.ts +110 -110
  329. package/es/components/time-select/src/time-select.vue.d.ts +55 -55
  330. package/es/components/tooltip/index.d.ts +6 -6
  331. package/es/components/tooltip/src/content.vue.d.ts +6 -6
  332. package/es/components/tooltip/src/tooltip.mjs +1 -1
  333. package/es/components/tooltip/src/tooltip.vue.d.ts +6 -6
  334. package/es/components/tooltip/src/tooltip2.mjs +1 -1
  335. package/es/components/tooltip-v2/index.d.ts +4 -4
  336. package/es/components/tooltip-v2/index.mjs +1 -1
  337. package/es/components/tooltip-v2/src/arrow.mjs +22 -37
  338. package/es/components/tooltip-v2/src/arrow.mjs.map +1 -1
  339. package/es/components/tooltip-v2/src/arrow2.mjs +37 -22
  340. package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
  341. package/es/components/tooltip-v2/src/tooltip.mjs +1 -1
  342. package/es/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  343. package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
  344. package/es/components/transfer/index.d.ts +65 -65
  345. package/es/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  346. package/es/components/transfer/src/transfer.vue.d.ts +65 -65
  347. package/es/components/tree-v2/index.d.ts +1 -1
  348. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  349. package/es/components/tree-v2/src/tree.vue.d.ts +1 -1
  350. package/es/components/upload/index.d.ts +5 -5
  351. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  352. package/es/components/upload/src/upload.vue.d.ts +5 -5
  353. package/es/index.mjs +3 -3
  354. package/es/version.d.ts +1 -1
  355. package/es/version.mjs +1 -1
  356. package/es/version.mjs.map +1 -1
  357. package/lib/components/alert/index.d.ts +4 -4
  358. package/lib/components/alert/src/alert.d.ts +1 -1
  359. package/lib/components/alert/src/alert.vue.d.ts +4 -4
  360. package/lib/components/autocomplete/index.d.ts +65 -65
  361. package/lib/components/autocomplete/index.js +2 -2
  362. package/lib/components/autocomplete/src/autocomplete.js +360 -81
  363. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  364. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +65 -65
  365. package/lib/components/autocomplete/src/autocomplete2.js +81 -360
  366. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  367. package/lib/components/button/index.d.ts +5 -5
  368. package/lib/components/button/src/button.d.ts +1 -1
  369. package/lib/components/button/src/button.vue.d.ts +5 -5
  370. package/lib/components/button/src/use-button.d.ts +1 -1
  371. package/lib/components/calendar/index.d.ts +5 -5
  372. package/lib/components/calendar/src/calendar.vue.d.ts +5 -5
  373. package/lib/components/carousel/index.d.ts +5 -5
  374. package/lib/components/carousel/src/carousel.d.ts +1 -1
  375. package/lib/components/carousel/src/carousel.vue.d.ts +5 -5
  376. package/lib/components/cascader/index.d.ts +128 -128
  377. package/lib/components/cascader/src/cascader.vue.d.ts +64 -64
  378. package/lib/components/color-picker/index.d.ts +38 -38
  379. package/lib/components/color-picker/src/color-picker.vue.d.ts +38 -38
  380. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  381. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  382. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  383. package/lib/components/dialog/index.d.ts +1 -1
  384. package/lib/components/dialog/src/dialog.vue.d.ts +1 -1
  385. package/lib/components/dropdown/index.d.ts +14 -14
  386. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +1 -1
  387. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +1 -1
  388. package/lib/components/dropdown/src/dropdown.vue.d.ts +12 -12
  389. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  390. package/lib/components/form/index.d.ts +12 -12
  391. package/lib/components/form/src/form-item.d.ts +1 -1
  392. package/lib/components/form/src/form-item.vue.d.ts +5 -5
  393. package/lib/components/image/index.d.ts +1 -1
  394. package/lib/components/image/src/image.vue.d.ts +1 -1
  395. package/lib/components/index.js +3 -3
  396. package/lib/components/input/index.d.ts +12 -12
  397. package/lib/components/input/src/input.vue.d.ts +12 -12
  398. package/lib/components/input-number/index.d.ts +45 -45
  399. package/lib/components/input-number/src/input-number.vue.d.ts +45 -45
  400. package/lib/components/menu/index.d.ts +3 -3
  401. package/lib/components/menu/src/menu.d.ts +4 -4
  402. package/lib/components/message/src/message.d.ts +1 -1
  403. package/lib/components/message/src/message.vue.d.ts +4 -4
  404. package/lib/components/notification/src/notification.d.ts +1 -1
  405. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  406. package/lib/components/pagination/src/components/jumper.vue.d.ts +12 -12
  407. package/lib/components/pagination/src/components/sizes.vue.d.ts +26 -26
  408. package/lib/components/popconfirm/index.d.ts +23 -23
  409. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +23 -23
  410. package/lib/components/popover/index.d.ts +18 -18
  411. package/lib/components/popover/src/popover.vue.d.ts +18 -18
  412. package/lib/components/popper/index.js +2 -2
  413. package/lib/components/popper/src/arrow.js +37 -9
  414. package/lib/components/popper/src/arrow.js.map +1 -1
  415. package/lib/components/popper/src/arrow2.js +9 -37
  416. package/lib/components/popper/src/arrow2.js.map +1 -1
  417. package/lib/components/popper/src/content.vue.d.ts +6 -6
  418. package/lib/components/result/index.d.ts +4 -4
  419. package/lib/components/result/src/result.d.ts +1 -1
  420. package/lib/components/result/src/result.vue.d.ts +4 -4
  421. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  422. package/lib/components/select/index.d.ts +26 -26
  423. package/lib/components/select/src/select.vue.d.ts +26 -26
  424. package/lib/components/select/src/useSelect.d.ts +24 -24
  425. package/lib/components/select-v2/index.d.ts +30 -30
  426. package/lib/components/select-v2/src/option-item.vue.d.ts +1 -1
  427. package/lib/components/select-v2/src/select.vue.d.ts +15 -15
  428. package/lib/components/select-v2/src/useSelect.d.ts +13 -13
  429. package/lib/components/slider/index.d.ts +75 -75
  430. package/lib/components/slider/src/button.vue.d.ts +6 -6
  431. package/lib/components/slider/src/composables/use-slide.d.ts +24 -24
  432. package/lib/components/slider/src/slider.vue.d.ts +75 -75
  433. package/lib/components/steps/index.d.ts +16 -16
  434. package/lib/components/steps/src/item.d.ts +1 -1
  435. package/lib/components/steps/src/item.vue.d.ts +4 -4
  436. package/lib/components/steps/src/steps.d.ts +2 -2
  437. package/lib/components/steps/src/steps.vue.d.ts +8 -8
  438. package/lib/components/switch/src/switch2.js +15 -11
  439. package/lib/components/switch/src/switch2.js.map +1 -1
  440. package/lib/components/table/index.d.ts +1 -1
  441. package/lib/components/table/src/filter-panel.vue.d.ts +12 -12
  442. package/lib/components/table/src/table.vue.d.ts +1 -1
  443. package/lib/components/tag/index.d.ts +1 -1
  444. package/lib/components/tag/src/tag.vue.d.ts +1 -1
  445. package/lib/components/time-picker/src/common/picker.vue.d.ts +34 -34
  446. package/lib/components/time-select/index.d.ts +110 -110
  447. package/lib/components/time-select/src/time-select.vue.d.ts +55 -55
  448. package/lib/components/tooltip/index.d.ts +6 -6
  449. package/lib/components/tooltip/src/content.vue.d.ts +6 -6
  450. package/lib/components/tooltip/src/tooltip.js +1 -1
  451. package/lib/components/tooltip/src/tooltip.vue.d.ts +6 -6
  452. package/lib/components/tooltip/src/tooltip2.js +1 -1
  453. package/lib/components/tooltip-v2/index.d.ts +4 -4
  454. package/lib/components/tooltip-v2/index.js +1 -1
  455. package/lib/components/tooltip-v2/src/arrow.js +23 -37
  456. package/lib/components/tooltip-v2/src/arrow.js.map +1 -1
  457. package/lib/components/tooltip-v2/src/arrow2.js +37 -23
  458. package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
  459. package/lib/components/tooltip-v2/src/tooltip.js +1 -1
  460. package/lib/components/tooltip-v2/src/tooltip.vue.d.ts +4 -4
  461. package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
  462. package/lib/components/transfer/index.d.ts +65 -65
  463. package/lib/components/transfer/src/transfer-panel.vue.d.ts +12 -12
  464. package/lib/components/transfer/src/transfer.vue.d.ts +65 -65
  465. package/lib/components/tree-v2/index.d.ts +1 -1
  466. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  467. package/lib/components/tree-v2/src/tree.vue.d.ts +1 -1
  468. package/lib/components/upload/index.d.ts +5 -5
  469. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  470. package/lib/components/upload/src/upload.vue.d.ts +5 -5
  471. package/lib/index.js +3 -3
  472. package/lib/version.d.ts +1 -1
  473. package/lib/version.js +1 -1
  474. package/lib/version.js.map +1 -1
  475. package/package.json +2 -2
  476. package/web-types.json +1 -1
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
29
29
  __epPropKey: true;
30
30
  };
31
31
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
32
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
32
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
33
33
  }, {
34
34
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
35
35
  readonly title: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
@@ -40,7 +40,7 @@ declare const _default: import("vue").DefineComponent<{
40
40
  __epPropKey: true;
41
41
  };
42
42
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
43
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
43
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
44
44
  }>> & {
45
45
  [x: string & `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any) | undefined;
46
46
  }>>;
@@ -160,10 +160,10 @@ declare const _default: import("vue").DefineComponent<{
160
160
  __epPropKey: true;
161
161
  };
162
162
  readonly description: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
163
- readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown, "", boolean>;
163
+ readonly status: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown, "", boolean>;
164
164
  }>>, {
165
165
  readonly title: string;
166
166
  readonly description: string;
167
- readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "error" | "success" | "wait" | "finish" | "process", unknown>;
167
+ readonly status: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "" | "success" | "error" | "wait" | "finish" | "process", unknown>;
168
168
  }>;
169
169
  export default _default;
@@ -16,8 +16,8 @@ export declare const stepsProps: {
16
16
  readonly validator: ((val: unknown) => boolean) | undefined;
17
17
  __epPropKey: true;
18
18
  };
19
- readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
20
- readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
19
+ readonly finishStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
20
+ readonly processStatus: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
21
21
  };
22
22
  export declare type StepsProps = ExtractPropTypes<typeof stepsProps>;
23
23
  export declare const stepsEmits: {
@@ -15,8 +15,8 @@ declare const _default: import("vue").DefineComponent<{
15
15
  readonly validator: ((val: unknown) => boolean) | undefined;
16
16
  __epPropKey: true;
17
17
  };
18
- readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
19
- readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
18
+ readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
19
+ readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
20
20
  }, {
21
21
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
22
22
  readonly space: import("../../../utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{
34
34
  readonly validator: ((val: unknown) => boolean) | undefined;
35
35
  __epPropKey: true;
36
36
  };
37
- readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
38
- readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
37
+ readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
38
+ readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
39
39
  }>> & {
40
40
  onChange?: ((newVal: number, oldVal: number) => any) | undefined;
41
41
  }>>;
@@ -79,15 +79,15 @@ declare const _default: import("vue").DefineComponent<{
79
79
  readonly validator: ((val: unknown) => boolean) | undefined;
80
80
  __epPropKey: true;
81
81
  };
82
- readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "finish", boolean>;
83
- readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown, "process", boolean>;
82
+ readonly finishStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "finish", boolean>;
83
+ readonly processStatus: import("../../../utils").EpPropFinalized<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown, "process", boolean>;
84
84
  }>> & {
85
85
  onChange?: ((newVal: number, oldVal: number) => any) | undefined;
86
86
  }, {
87
87
  readonly space: import("../../../utils").EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
88
88
  readonly active: number;
89
89
  readonly direction: import("../../../utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
90
- readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
91
- readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "error" | "success" | "wait" | "finish" | "process", unknown>;
90
+ readonly finishStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
91
+ readonly processStatus: import("../../../utils").EpPropMergeType<StringConstructor, "success" | "error" | "wait" | "finish" | "process", unknown>;
92
92
  }>;
93
93
  export default _default;
@@ -238,17 +238,21 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
238
238
  vue.createVNode(vue.unref(iconsVue.Loading))
239
239
  ]),
240
240
  _: 1
241
- }, 8, ["class"])) : _ctx.activeActionIcon && vue.unref(checked) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), { key: 1 }, {
242
- default: vue.withCtx(() => [
243
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.activeActionIcon)))
244
- ]),
245
- _: 1
246
- })) : _ctx.inactiveActionIcon && !vue.unref(checked) ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), { key: 2 }, {
247
- default: vue.withCtx(() => [
248
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.inactiveActionIcon)))
249
- ]),
250
- _: 1
251
- })) : vue.createCommentVNode("v-if", true)
241
+ }, 8, ["class"])) : vue.unref(checked) ? vue.renderSlot(_ctx.$slots, "active-action", { key: 1 }, () => [
242
+ _ctx.activeActionIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), { key: 0 }, {
243
+ default: vue.withCtx(() => [
244
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.activeActionIcon)))
245
+ ]),
246
+ _: 1
247
+ })) : vue.createCommentVNode("v-if", true)
248
+ ]) : !vue.unref(checked) ? vue.renderSlot(_ctx.$slots, "inactive-action", { key: 2 }, () => [
249
+ _ctx.inactiveActionIcon ? (vue.openBlock(), vue.createBlock(vue.unref(index$2.ElIcon), { key: 0 }, {
250
+ default: vue.withCtx(() => [
251
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.inactiveActionIcon)))
252
+ ]),
253
+ _: 1
254
+ })) : vue.createCommentVNode("v-if", true)
255
+ ]) : vue.createCommentVNode("v-if", true)
252
256
  ], 2)
253
257
  ], 6),
254
258
  !_ctx.inlinePrompt && (_ctx.activeIcon || _ctx.activeText) ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -1 +1 @@
1
- {"version":3,"file":"switch2.js","sources":["../../../../../../packages/components/switch/src/switch.vue"],"sourcesContent":["<template>\n <div :class=\"switchKls\" :style=\"styles\" @click.prevent=\"switchValue\">\n <input\n :id=\"inputId\"\n ref=\"input\"\n :class=\"ns.e('input')\"\n type=\"checkbox\"\n role=\"switch\"\n :aria-checked=\"checked\"\n :aria-disabled=\"switchDisabled\"\n :aria-label=\"label\"\n :name=\"name\"\n :true-value=\"activeValue\"\n :false-value=\"inactiveValue\"\n :disabled=\"switchDisabled\"\n :tabindex=\"tabindex\"\n @change=\"handleChange\"\n @keydown.enter=\"switchValue\"\n />\n <span\n v-if=\"!inlinePrompt && (inactiveIcon || inactiveText)\"\n :class=\"labelLeftKls\"\n >\n <el-icon v-if=\"inactiveIcon\">\n <component :is=\"inactiveIcon\" />\n </el-icon>\n <span v-if=\"!inactiveIcon && inactiveText\" :aria-hidden=\"checked\">{{\n inactiveText\n }}</span>\n </span>\n <span ref=\"core\" :class=\"ns.e('core')\" :style=\"coreStyle\">\n <div v-if=\"inlinePrompt\" :class=\"ns.e('inner')\">\n <template v-if=\"activeIcon || inactiveIcon\">\n <el-icon :class=\"ns.is('icon')\">\n <component :is=\"checked ? activeIcon : inactiveIcon\" />\n </el-icon>\n </template>\n <template v-else-if=\"activeText || inactiveText\">\n <span :class=\"ns.is('text')\" :aria-hidden=\"!checked\">\n {{ checked ? activeText : inactiveText }}\n </span>\n </template>\n </div>\n <div :class=\"ns.e('action')\">\n <el-icon v-if=\"loading\" :class=\"ns.is('loading')\">\n <loading />\n </el-icon>\n <el-icon v-else-if=\"activeActionIcon && checked\">\n <component :is=\"activeActionIcon\" />\n </el-icon>\n <el-icon v-else-if=\"inactiveActionIcon && !checked\">\n <component :is=\"inactiveActionIcon\" />\n </el-icon>\n </div>\n </span>\n <span\n v-if=\"!inlinePrompt && (activeIcon || activeText)\"\n :class=\"labelRightKls\"\n >\n <el-icon v-if=\"activeIcon\">\n <component :is=\"activeIcon\" />\n </el-icon>\n <span v-if=\"!activeIcon && activeText\" :aria-hidden=\"!checked\">{{\n activeText\n }}</span>\n </span>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n nextTick,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { isPromise } from '@vue/shared'\nimport { addUnit, debugWarn, isBoolean, throwError } from '@element-plus/utils'\nimport ElIcon from '@element-plus/components/icon'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport { Loading } from '@element-plus/icons-vue'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useDeprecated, useNamespace } from '@element-plus/hooks'\nimport { switchEmits, switchProps } from './switch'\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElSwitch'\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(switchProps)\nconst emit = defineEmits(switchEmits)\n\nconst vm = getCurrentInstance()!\nconst { formItem } = useFormItem()\nconst switchSize = useFormSize()\nconst ns = useNamespace('switch')\n\nconst useBatchDeprecated = (list: string[][]) => {\n list.forEach((param) => {\n useDeprecated(\n {\n from: param[0],\n replacement: param[1],\n scope: COMPONENT_NAME,\n version: '2.3.0',\n ref: 'https://element-plus.org/en-US/component/switch.html#attributes',\n type: 'Attribute',\n },\n computed(() => !!vm.vnode.props?.[param[2]])\n )\n })\n}\nuseBatchDeprecated([\n ['\"value\"', '\"model-value\" or \"v-model\"', 'value'],\n ['\"active-color\"', 'CSS var `--el-switch-on-color`', 'activeColor'],\n ['\"inactive-color\"', 'CSS var `--el-switch-off-color`', 'inactiveColor'],\n ['\"border-color\"', 'CSS var `--el-switch-border-color`', 'borderColor'],\n])\n\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: formItem,\n})\n\nconst switchDisabled = useFormDisabled(computed(() => props.loading))\nconst isControlled = ref(props.modelValue !== false)\nconst input = ref<HTMLInputElement>()\nconst core = ref<HTMLSpanElement>()\n\nconst switchKls = computed(() => [\n ns.b(),\n ns.m(switchSize.value),\n ns.is('disabled', switchDisabled.value),\n ns.is('checked', checked.value),\n])\n\nconst labelLeftKls = computed(() => [\n ns.e('label'),\n ns.em('label', 'left'),\n ns.is('active', !checked.value),\n])\n\nconst labelRightKls = computed(() => [\n ns.e('label'),\n ns.em('label', 'right'),\n ns.is('active', checked.value),\n])\n\nconst coreStyle = computed<CSSProperties>(() => ({\n width: addUnit(props.width),\n}))\n\nwatch(\n () => props.modelValue,\n () => {\n isControlled.value = true\n }\n)\n\nwatch(\n () => props.value,\n () => {\n isControlled.value = false\n }\n)\n\nconst actualValue = computed(() => {\n return isControlled.value ? props.modelValue : props.value\n})\n\nconst checked = computed(() => actualValue.value === props.activeValue)\n\nif (![props.activeValue, props.inactiveValue].includes(actualValue.value)) {\n emit(UPDATE_MODEL_EVENT, props.inactiveValue)\n emit(CHANGE_EVENT, props.inactiveValue)\n emit(INPUT_EVENT, props.inactiveValue)\n}\n\nwatch(checked, (val) => {\n input.value!.checked = val\n\n if (props.validateEvent) {\n formItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n})\n\nconst handleChange = () => {\n const val = checked.value ? props.inactiveValue : props.activeValue\n emit(UPDATE_MODEL_EVENT, val)\n emit(CHANGE_EVENT, val)\n emit(INPUT_EVENT, val)\n nextTick(() => {\n input.value!.checked = checked.value\n })\n}\n\nconst switchValue = () => {\n if (switchDisabled.value) return\n\n const { beforeChange } = props\n if (!beforeChange) {\n handleChange()\n return\n }\n\n const shouldChange = beforeChange()\n\n const isPromiseOrBool = [\n isPromise(shouldChange),\n isBoolean(shouldChange),\n ].includes(true)\n if (!isPromiseOrBool) {\n throwError(\n COMPONENT_NAME,\n 'beforeChange must return type `Promise<boolean>` or `boolean`'\n )\n }\n\n if (isPromise(shouldChange)) {\n shouldChange\n .then((result) => {\n if (result) {\n handleChange()\n }\n })\n .catch((e) => {\n debugWarn(COMPONENT_NAME, `some error occurred: ${e}`)\n })\n } else if (shouldChange) {\n handleChange()\n }\n}\n\nconst styles = computed(() => {\n return ns.cssVarBlock({\n ...(props.activeColor ? { 'on-color': props.activeColor } : null),\n ...(props.inactiveColor ? { 'off-color': props.inactiveColor } : null),\n ...(props.borderColor ? { 'border-color': props.borderColor } : null),\n })\n})\n\nconst focus = (): void => {\n input.value?.focus?.()\n}\n\nonMounted(() => {\n input.value!.checked = checked.value\n})\n\ndefineExpose({\n /**\n * @description manual focus to the switch component\n **/\n focus,\n /**\n * @description whether Switch is checked\n */\n checked,\n})\n</script>\n"],"names":["getCurrentInstance","useFormItem","useFormSize","useNamespace","useDeprecated","computed","useFormDisabled","ref","addUnit","watch","UPDATE_MODEL_EVENT","CHANGE_EVENT","INPUT_EVENT","debugWarn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["../../../../../../packages/components/switch/src/switch.vue"],"sourcesContent":["<template>\n <div :class=\"switchKls\" :style=\"styles\" @click.prevent=\"switchValue\">\n <input\n :id=\"inputId\"\n ref=\"input\"\n :class=\"ns.e('input')\"\n type=\"checkbox\"\n role=\"switch\"\n :aria-checked=\"checked\"\n :aria-disabled=\"switchDisabled\"\n :aria-label=\"label\"\n :name=\"name\"\n :true-value=\"activeValue\"\n :false-value=\"inactiveValue\"\n :disabled=\"switchDisabled\"\n :tabindex=\"tabindex\"\n @change=\"handleChange\"\n @keydown.enter=\"switchValue\"\n />\n <span\n v-if=\"!inlinePrompt && (inactiveIcon || inactiveText)\"\n :class=\"labelLeftKls\"\n >\n <el-icon v-if=\"inactiveIcon\">\n <component :is=\"inactiveIcon\" />\n </el-icon>\n <span v-if=\"!inactiveIcon && inactiveText\" :aria-hidden=\"checked\">{{\n inactiveText\n }}</span>\n </span>\n <span ref=\"core\" :class=\"ns.e('core')\" :style=\"coreStyle\">\n <div v-if=\"inlinePrompt\" :class=\"ns.e('inner')\">\n <template v-if=\"activeIcon || inactiveIcon\">\n <el-icon :class=\"ns.is('icon')\">\n <component :is=\"checked ? activeIcon : inactiveIcon\" />\n </el-icon>\n </template>\n <template v-else-if=\"activeText || inactiveText\">\n <span :class=\"ns.is('text')\" :aria-hidden=\"!checked\">\n {{ checked ? activeText : inactiveText }}\n </span>\n </template>\n </div>\n <div :class=\"ns.e('action')\">\n <el-icon v-if=\"loading\" :class=\"ns.is('loading')\">\n <loading />\n </el-icon>\n <slot v-else-if=\"checked\" name=\"active-action\">\n <el-icon v-if=\"activeActionIcon\">\n <component :is=\"activeActionIcon\" />\n </el-icon>\n </slot>\n <slot v-else-if=\"!checked\" name=\"inactive-action\">\n <el-icon v-if=\"inactiveActionIcon\">\n <component :is=\"inactiveActionIcon\" />\n </el-icon>\n </slot>\n </div>\n </span>\n <span\n v-if=\"!inlinePrompt && (activeIcon || activeText)\"\n :class=\"labelRightKls\"\n >\n <el-icon v-if=\"activeIcon\">\n <component :is=\"activeIcon\" />\n </el-icon>\n <span v-if=\"!activeIcon && activeText\" :aria-hidden=\"!checked\">{{\n activeText\n }}</span>\n </span>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n getCurrentInstance,\n nextTick,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { isPromise } from '@vue/shared'\nimport { addUnit, debugWarn, isBoolean, throwError } from '@element-plus/utils'\nimport ElIcon from '@element-plus/components/icon'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport { Loading } from '@element-plus/icons-vue'\nimport {\n CHANGE_EVENT,\n INPUT_EVENT,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { useDeprecated, useNamespace } from '@element-plus/hooks'\nimport { switchEmits, switchProps } from './switch'\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElSwitch'\ndefineOptions({\n name: COMPONENT_NAME,\n})\n\nconst props = defineProps(switchProps)\nconst emit = defineEmits(switchEmits)\n\nconst vm = getCurrentInstance()!\nconst { formItem } = useFormItem()\nconst switchSize = useFormSize()\nconst ns = useNamespace('switch')\n\nconst useBatchDeprecated = (list: string[][]) => {\n list.forEach((param) => {\n useDeprecated(\n {\n from: param[0],\n replacement: param[1],\n scope: COMPONENT_NAME,\n version: '2.3.0',\n ref: 'https://element-plus.org/en-US/component/switch.html#attributes',\n type: 'Attribute',\n },\n computed(() => !!vm.vnode.props?.[param[2]])\n )\n })\n}\nuseBatchDeprecated([\n ['\"value\"', '\"model-value\" or \"v-model\"', 'value'],\n ['\"active-color\"', 'CSS var `--el-switch-on-color`', 'activeColor'],\n ['\"inactive-color\"', 'CSS var `--el-switch-off-color`', 'inactiveColor'],\n ['\"border-color\"', 'CSS var `--el-switch-border-color`', 'borderColor'],\n])\n\nconst { inputId } = useFormItemInputId(props, {\n formItemContext: formItem,\n})\n\nconst switchDisabled = useFormDisabled(computed(() => props.loading))\nconst isControlled = ref(props.modelValue !== false)\nconst input = ref<HTMLInputElement>()\nconst core = ref<HTMLSpanElement>()\n\nconst switchKls = computed(() => [\n ns.b(),\n ns.m(switchSize.value),\n ns.is('disabled', switchDisabled.value),\n ns.is('checked', checked.value),\n])\n\nconst labelLeftKls = computed(() => [\n ns.e('label'),\n ns.em('label', 'left'),\n ns.is('active', !checked.value),\n])\n\nconst labelRightKls = computed(() => [\n ns.e('label'),\n ns.em('label', 'right'),\n ns.is('active', checked.value),\n])\n\nconst coreStyle = computed<CSSProperties>(() => ({\n width: addUnit(props.width),\n}))\n\nwatch(\n () => props.modelValue,\n () => {\n isControlled.value = true\n }\n)\n\nwatch(\n () => props.value,\n () => {\n isControlled.value = false\n }\n)\n\nconst actualValue = computed(() => {\n return isControlled.value ? props.modelValue : props.value\n})\n\nconst checked = computed(() => actualValue.value === props.activeValue)\n\nif (![props.activeValue, props.inactiveValue].includes(actualValue.value)) {\n emit(UPDATE_MODEL_EVENT, props.inactiveValue)\n emit(CHANGE_EVENT, props.inactiveValue)\n emit(INPUT_EVENT, props.inactiveValue)\n}\n\nwatch(checked, (val) => {\n input.value!.checked = val\n\n if (props.validateEvent) {\n formItem?.validate?.('change').catch((err) => debugWarn(err))\n }\n})\n\nconst handleChange = () => {\n const val = checked.value ? props.inactiveValue : props.activeValue\n emit(UPDATE_MODEL_EVENT, val)\n emit(CHANGE_EVENT, val)\n emit(INPUT_EVENT, val)\n nextTick(() => {\n input.value!.checked = checked.value\n })\n}\n\nconst switchValue = () => {\n if (switchDisabled.value) return\n\n const { beforeChange } = props\n if (!beforeChange) {\n handleChange()\n return\n }\n\n const shouldChange = beforeChange()\n\n const isPromiseOrBool = [\n isPromise(shouldChange),\n isBoolean(shouldChange),\n ].includes(true)\n if (!isPromiseOrBool) {\n throwError(\n COMPONENT_NAME,\n 'beforeChange must return type `Promise<boolean>` or `boolean`'\n )\n }\n\n if (isPromise(shouldChange)) {\n shouldChange\n .then((result) => {\n if (result) {\n handleChange()\n }\n })\n .catch((e) => {\n debugWarn(COMPONENT_NAME, `some error occurred: ${e}`)\n })\n } else if (shouldChange) {\n handleChange()\n }\n}\n\nconst styles = computed(() => {\n return ns.cssVarBlock({\n ...(props.activeColor ? { 'on-color': props.activeColor } : null),\n ...(props.inactiveColor ? { 'off-color': props.inactiveColor } : null),\n ...(props.borderColor ? { 'border-color': props.borderColor } : null),\n })\n})\n\nconst focus = (): void => {\n input.value?.focus?.()\n}\n\nonMounted(() => {\n input.value!.checked = checked.value\n})\n\ndefineExpose({\n /**\n * @description manual focus to the switch component\n **/\n focus,\n /**\n * @description whether Switch is checked\n */\n checked,\n})\n</script>\n"],"names":["getCurrentInstance","useFormItem","useFormSize","useNamespace","useDeprecated","computed","useFormDisabled","ref","addUnit","watch","UPDATE_MODEL_EVENT","CHANGE_EVENT","INPUT_EVENT","debugWarn","nextTick","isPromise","isBoolean","throwError","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAsGc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;;AAKA,IAAA,MAAM,KAAKA,sBAAmB,EAAA,CAAA;AAC9B,IAAM,MAAA,EAAE,aAAaC,uBAAY,EAAA,CAAA;AACjC,IAAA,MAAM,aAAaC,8BAAY,EAAA,CAAA;AAC/B,IAAM,MAAA,EAAA,GAAKC,mBAAa,QAAQ,CAAA,CAAA;AAEhC,IAAM,MAAA,kBAAA,GAAqB,CAAC,IAAqB,KAAA;AAC/C,MAAK,IAAA,CAAA,OAAA,CAAQ,CAAC,KAAU,KAAA;AACtB,QACEC,qBAAA,CAAA;AAAA,UACE,MAAM,KAAM,CAAA,CAAA,CAAA;AAAA,UACZ,aAAa,KAAM,CAAA,CAAA,CAAA;AAAA,UACnB,KAAO,EAAA,cAAA;AAAA,UACP,OAAS,EAAA,OAAA;AAAA,UACT,GAAK,EAAA,iEAAA;AAAA,UACL,IAAM,EAAA,WAAA;AAAA,SACR,EACAC,YAAS,CAAA,MA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AO;AAAkB,MAChC,IAAA,EAAA,EAAA,EAAA,CAAA;AAED,MAAa,CAAA,EAAA,GAAA,CAAA,EAAA,GAAA,KAAA,CAAA,KAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,KAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,IAAA,CAAA,EAAA,CAAA,CAAA;AAAA,KAIX,CAAA;AAAA,IAIAa,aAAA,CAAA,MAAA;AAAA,MACD,KAAA,CAAA,KAAA,CAAA,OAAA,GAAA,OAAA,CAAA,KAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -180,7 +180,7 @@ export declare const ElTable: import("@element-plus/nightly/es/utils").SFCWithIn
180
180
  scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
181
181
  setScrollLeft: (left?: number | undefined) => void;
182
182
  setScrollTop: (top?: number | undefined) => void;
183
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
183
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select-all" | "expand-change" | "current-change" | "select" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
184
184
  data: {
185
185
  type: import("vue").PropType<any[]>;
186
186
  default: () => never[];
@@ -2415,7 +2415,7 @@ declare const _default: import("vue").DefineComponent<{
2415
2415
  readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>) | ((new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>))[], unknown, unknown, () => {}, boolean>;
2416
2416
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2417
2417
  }, {
2418
- emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
2418
+ emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
2419
2419
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2420
2420
  readonly id: StringConstructor;
2421
2421
  readonly style: {
@@ -2665,10 +2665,10 @@ declare const _default: import("vue").DefineComponent<{
2665
2665
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2666
2666
  }>> & {
2667
2667
  onClose?: (() => any) | undefined;
2668
- onBlur?: (() => any) | undefined;
2669
2668
  onFocus?: (() => any) | undefined;
2670
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2669
+ onBlur?: (() => any) | undefined;
2671
2670
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2671
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2672
2672
  }>>;
2673
2673
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
2674
2674
  trapped: import("vue").Ref<boolean>;
@@ -2737,7 +2737,7 @@ declare const _default: import("vue").DefineComponent<{
2737
2737
  };
2738
2738
  }, {
2739
2739
  onKeydown: (e: KeyboardEvent) => void;
2740
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2740
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2741
2741
  loop: BooleanConstructor;
2742
2742
  trapped: BooleanConstructor;
2743
2743
  focusTrapEl: PropType<HTMLElement>;
@@ -3012,10 +3012,10 @@ declare const _default: import("vue").DefineComponent<{
3012
3012
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
3013
3013
  }>> & {
3014
3014
  onClose?: (() => any) | undefined;
3015
- onBlur?: (() => any) | undefined;
3016
3015
  onFocus?: (() => any) | undefined;
3017
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3016
+ onBlur?: (() => any) | undefined;
3018
3017
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3018
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3019
3019
  }, {
3020
3020
  readonly offset: number;
3021
3021
  readonly effect: string;
@@ -5368,7 +5368,7 @@ declare const _default: import("vue").DefineComponent<{
5368
5368
  readonly popperOptions: import("../../../utils").EpPropFinalized<(new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>) | ((new (...args: any[]) => Partial<import("@element-plus/nightly/es/components/popper").Options>) | (() => Partial<import("@element-plus/nightly/es/components/popper").Options>))[], unknown, unknown, () => {}, boolean>;
5369
5369
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5370
5370
  }, {
5371
- emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
5371
+ emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
5372
5372
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
5373
5373
  readonly id: StringConstructor;
5374
5374
  readonly style: {
@@ -5618,10 +5618,10 @@ declare const _default: import("vue").DefineComponent<{
5618
5618
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5619
5619
  }>> & {
5620
5620
  onClose?: (() => any) | undefined;
5621
- onBlur?: (() => any) | undefined;
5622
5621
  onFocus?: (() => any) | undefined;
5623
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5622
+ onBlur?: (() => any) | undefined;
5624
5623
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5624
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5625
5625
  }>>;
5626
5626
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
5627
5627
  trapped: import("vue").Ref<boolean>;
@@ -5690,7 +5690,7 @@ declare const _default: import("vue").DefineComponent<{
5690
5690
  };
5691
5691
  }, {
5692
5692
  onKeydown: (e: KeyboardEvent) => void;
5693
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5693
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5694
5694
  loop: BooleanConstructor;
5695
5695
  trapped: BooleanConstructor;
5696
5696
  focusTrapEl: PropType<HTMLElement>;
@@ -5965,10 +5965,10 @@ declare const _default: import("vue").DefineComponent<{
5965
5965
  readonly strategy: import("../../../utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5966
5966
  }>> & {
5967
5967
  onClose?: (() => any) | undefined;
5968
- onBlur?: (() => any) | undefined;
5969
5968
  onFocus?: (() => any) | undefined;
5970
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5969
+ onBlur?: (() => any) | undefined;
5971
5970
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5971
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5972
5972
  }, {
5973
5973
  readonly offset: number;
5974
5974
  readonly effect: string;
@@ -180,7 +180,7 @@ declare const _default: import("vue").DefineComponent<{
180
180
  scrollTo: (options: number | ScrollToOptions, yCoord?: number | undefined) => void;
181
181
  setScrollLeft: (left?: number | undefined) => void;
182
182
  setScrollTop: (top?: number | undefined) => void;
183
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
183
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("select-all" | "expand-change" | "current-change" | "select" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend")[], "select" | "select-all" | "expand-change" | "current-change" | "selection-change" | "cell-mouse-enter" | "cell-mouse-leave" | "cell-contextmenu" | "cell-click" | "cell-dblclick" | "row-click" | "row-contextmenu" | "row-dblclick" | "header-click" | "header-contextmenu" | "sort-change" | "filter-change" | "header-dragend", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
184
184
  data: {
185
185
  type: import("vue").PropType<any[]>;
186
186
  default: () => never[];
@@ -21,7 +21,7 @@ export declare const ElTag: import("@element-plus/nightly/es/utils").SFCWithInst
21
21
  onClose?: ((evt: MouseEvent) => any) | undefined;
22
22
  onClick?: ((evt: MouseEvent) => any) | undefined;
23
23
  }>>;
24
- emit: ((event: "click", evt: MouseEvent) => void) & ((event: "close", evt: MouseEvent) => void);
24
+ emit: ((event: "close", evt: MouseEvent) => void) & ((event: "click", evt: MouseEvent) => void);
25
25
  tagSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
26
26
  ns: {
27
27
  namespace: import("vue").ComputedRef<string>;
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<{
21
21
  onClose?: ((evt: MouseEvent) => any) | undefined;
22
22
  onClick?: ((evt: MouseEvent) => any) | undefined;
23
23
  }>>;
24
- emit: ((event: "click", evt: MouseEvent) => void) & ((event: "close", evt: MouseEvent) => void);
24
+ emit: ((event: "close", evt: MouseEvent) => void) & ((event: "click", evt: MouseEvent) => void);
25
25
  tagSize: import("vue").ComputedRef<"" | "default" | "small" | "large">;
26
26
  ns: {
27
27
  namespace: import("vue").ComputedRef<string>;
@@ -179,14 +179,14 @@ declare const _default: import("vue").DefineComponent<{
179
179
  }>> & {
180
180
  onChange?: ((...args: any[]) => any) | undefined;
181
181
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
182
- onBlur?: ((...args: any[]) => any) | undefined;
183
182
  onFocus?: ((...args: any[]) => any) | undefined;
183
+ onBlur?: ((...args: any[]) => any) | undefined;
184
184
  onKeydown?: ((...args: any[]) => any) | undefined;
185
185
  "onVisible-change"?: ((...args: any[]) => any) | undefined;
186
186
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;
187
187
  "onPanel-change"?: ((...args: any[]) => any) | undefined;
188
188
  }>>;
189
- emit: (event: "update:modelValue" | "change" | "blur" | "focus" | "keydown" | "visible-change" | "calendar-change" | "panel-change", ...args: any[]) => void;
189
+ emit: (event: "update:modelValue" | "change" | "focus" | "visible-change" | "keydown" | "blur" | "calendar-change" | "panel-change", ...args: any[]) => void;
190
190
  attrs: {
191
191
  [x: string]: unknown;
192
192
  };
@@ -2616,7 +2616,7 @@ declare const _default: import("vue").DefineComponent<{
2616
2616
  readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
2617
2617
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2618
2618
  }, {
2619
- emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
2619
+ emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
2620
2620
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
2621
2621
  readonly id: StringConstructor;
2622
2622
  readonly style: {
@@ -2866,10 +2866,10 @@ declare const _default: import("vue").DefineComponent<{
2866
2866
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
2867
2867
  }>> & {
2868
2868
  onClose?: (() => any) | undefined;
2869
- onBlur?: (() => any) | undefined;
2870
2869
  onFocus?: (() => any) | undefined;
2871
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2870
+ onBlur?: (() => any) | undefined;
2872
2871
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
2872
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
2873
2873
  }>>;
2874
2874
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
2875
2875
  trapped: import("vue").Ref<boolean>;
@@ -2938,7 +2938,7 @@ declare const _default: import("vue").DefineComponent<{
2938
2938
  };
2939
2939
  }, {
2940
2940
  onKeydown: (e: KeyboardEvent) => void;
2941
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2941
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
2942
2942
  loop: BooleanConstructor;
2943
2943
  trapped: BooleanConstructor;
2944
2944
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -3213,10 +3213,10 @@ declare const _default: import("vue").DefineComponent<{
3213
3213
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
3214
3214
  }>> & {
3215
3215
  onClose?: (() => any) | undefined;
3216
- onBlur?: (() => any) | undefined;
3217
3216
  onFocus?: (() => any) | undefined;
3218
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3217
+ onBlur?: (() => any) | undefined;
3219
3218
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
3219
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
3220
3220
  }, {
3221
3221
  readonly offset: number;
3222
3222
  readonly effect: string;
@@ -5569,7 +5569,7 @@ declare const _default: import("vue").DefineComponent<{
5569
5569
  readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
5570
5570
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5571
5571
  }, {
5572
- emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
5572
+ emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
5573
5573
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
5574
5574
  readonly id: StringConstructor;
5575
5575
  readonly style: {
@@ -5819,10 +5819,10 @@ declare const _default: import("vue").DefineComponent<{
5819
5819
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
5820
5820
  }>> & {
5821
5821
  onClose?: (() => any) | undefined;
5822
- onBlur?: (() => any) | undefined;
5823
5822
  onFocus?: (() => any) | undefined;
5824
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5823
+ onBlur?: (() => any) | undefined;
5825
5824
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
5825
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
5826
5826
  }>>;
5827
5827
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
5828
5828
  trapped: import("vue").Ref<boolean>;
@@ -5891,7 +5891,7 @@ declare const _default: import("vue").DefineComponent<{
5891
5891
  };
5892
5892
  }, {
5893
5893
  onKeydown: (e: KeyboardEvent) => void;
5894
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5894
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5895
5895
  loop: BooleanConstructor;
5896
5896
  trapped: BooleanConstructor;
5897
5897
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -6166,10 +6166,10 @@ declare const _default: import("vue").DefineComponent<{
6166
6166
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
6167
6167
  }>> & {
6168
6168
  onClose?: (() => any) | undefined;
6169
- onBlur?: (() => any) | undefined;
6170
6169
  onFocus?: (() => any) | undefined;
6171
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
6170
+ onBlur?: (() => any) | undefined;
6172
6171
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
6172
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
6173
6173
  }, {
6174
6174
  readonly offset: number;
6175
6175
  readonly effect: string;
@@ -6856,17 +6856,17 @@ declare const _default: import("vue").DefineComponent<{
6856
6856
  onChange?: ((value: string) => any) | undefined;
6857
6857
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
6858
6858
  onInput?: ((value: string) => any) | undefined;
6859
- onBlur?: ((evt: FocusEvent) => any) | undefined;
6860
6859
  onFocus?: ((evt: FocusEvent) => any) | undefined;
6860
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
6861
6861
  onClear?: (() => any) | undefined;
6862
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
6862
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
6863
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
6864
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
6863
6865
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
6864
6866
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
6865
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
6866
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
6867
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
6867
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
6868
6868
  }>>;
6869
- emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "clear") => void);
6869
+ emit: ((event: "update:modelValue", value: string) => void) & ((event: "change", value: string) => void) & ((event: "input", value: string) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "keydown", evt: Event | KeyboardEvent) => void) & ((event: "compositionstart", evt: CompositionEvent) => void) & ((event: "compositionupdate", evt: CompositionEvent) => void) & ((event: "compositionend", evt: CompositionEvent) => void);
6870
6870
  rawAttrs: {
6871
6871
  [x: string]: unknown;
6872
6872
  };
@@ -6931,7 +6931,7 @@ declare const _default: import("vue").DefineComponent<{
6931
6931
  handleFocus: (event: FocusEvent) => void;
6932
6932
  handleBlur: (event: FocusEvent) => void;
6933
6933
  needStatusIcon: import("vue").ComputedRef<boolean>;
6934
- validateState: import("vue").ComputedRef<"" | "error" | "success" | "validating">;
6934
+ validateState: import("vue").ComputedRef<"" | "success" | "error" | "validating">;
6935
6935
  validateIcon: import("vue").ComputedRef<any>;
6936
6936
  passwordIcon: import("vue").ComputedRef<any>;
6937
6937
  containerStyle: import("vue").ComputedRef<import("vue").StyleValue>;
@@ -7109,15 +7109,15 @@ declare const _default: import("vue").DefineComponent<{
7109
7109
  onChange?: ((value: string) => any) | undefined;
7110
7110
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
7111
7111
  onInput?: ((value: string) => any) | undefined;
7112
- onBlur?: ((evt: FocusEvent) => any) | undefined;
7113
7112
  onFocus?: ((evt: FocusEvent) => any) | undefined;
7113
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
7114
7114
  onClear?: (() => any) | undefined;
7115
- onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
7115
+ onMouseleave?: ((evt: MouseEvent) => any) | undefined;
7116
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
7117
+ onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
7116
7118
  onCompositionstart?: ((evt: CompositionEvent) => any) | undefined;
7117
7119
  onCompositionupdate?: ((evt: CompositionEvent) => any) | undefined;
7118
- onKeydown?: ((evt: Event | KeyboardEvent) => any) | undefined;
7119
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
7120
- onMouseleave?: ((evt: MouseEvent) => any) | undefined;
7120
+ onCompositionend?: ((evt: CompositionEvent) => any) | undefined;
7121
7121
  }, {
7122
7122
  readonly type: string;
7123
7123
  readonly modelValue: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined) | ((new (...args: any[]) => (string | number | null | undefined) & {}) | (() => string | number | null | undefined))[], unknown, unknown>;
@@ -9194,7 +9194,7 @@ declare const _default: import("vue").DefineComponent<{
9194
9194
  readonly popperOptions: import("@element-plus/nightly/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<Options>) | (() => Partial<Options>) | ((new (...args: any[]) => Partial<Options>) | (() => Partial<Options>))[], unknown, unknown, () => {}, boolean>;
9195
9195
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
9196
9196
  }, {
9197
- emit: ((event: "blur") => void) & ((event: "close") => void) & ((event: "focus") => void) & ((event: "mouseenter", evt: MouseEvent) => void) & ((event: "mouseleave", evt: MouseEvent) => void);
9197
+ emit: ((event: "close") => void) & ((event: "focus") => void) & ((event: "blur") => void) & ((event: "mouseleave", evt: MouseEvent) => void) & ((event: "mouseenter", evt: MouseEvent) => void);
9198
9198
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
9199
9199
  readonly id: StringConstructor;
9200
9200
  readonly style: {
@@ -9444,10 +9444,10 @@ declare const _default: import("vue").DefineComponent<{
9444
9444
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
9445
9445
  }>> & {
9446
9446
  onClose?: (() => any) | undefined;
9447
- onBlur?: (() => any) | undefined;
9448
9447
  onFocus?: (() => any) | undefined;
9449
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
9448
+ onBlur?: (() => any) | undefined;
9450
9449
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
9450
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
9451
9451
  }>>;
9452
9452
  focusStartRef: import("vue").Ref<HTMLElement | "first" | "container" | undefined>;
9453
9453
  trapped: import("vue").Ref<boolean>;
@@ -9516,7 +9516,7 @@ declare const _default: import("vue").DefineComponent<{
9516
9516
  };
9517
9517
  }, {
9518
9518
  onKeydown: (e: KeyboardEvent) => void;
9519
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested")[], "focusin" | "focusout" | "focusAfterTrapped" | "focusAfterReleased" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9519
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested")[], "focusAfterTrapped" | "focusAfterReleased" | "focusin" | "focusout" | "focusout-prevented" | "release-requested", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
9520
9520
  loop: BooleanConstructor;
9521
9521
  trapped: BooleanConstructor;
9522
9522
  focusTrapEl: import("vue").PropType<HTMLElement>;
@@ -9791,10 +9791,10 @@ declare const _default: import("vue").DefineComponent<{
9791
9791
  readonly strategy: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, "fixed" | "absolute", unknown, "absolute", boolean>;
9792
9792
  }>> & {
9793
9793
  onClose?: (() => any) | undefined;
9794
- onBlur?: (() => any) | undefined;
9795
9794
  onFocus?: (() => any) | undefined;
9796
- onMouseenter?: ((evt: MouseEvent) => any) | undefined;
9795
+ onBlur?: (() => any) | undefined;
9797
9796
  onMouseleave?: ((evt: MouseEvent) => any) | undefined;
9797
+ onMouseenter?: ((evt: MouseEvent) => any) | undefined;
9798
9798
  }, {
9799
9799
  readonly offset: number;
9800
9800
  readonly effect: string;
@@ -10455,7 +10455,7 @@ declare const _default: import("vue").DefineComponent<{
10455
10455
  arrowOffset: number;
10456
10456
  showArrow: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
10457
10457
  }>> & Record<string, any>;
10458
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "blur" | "focus" | "keydown" | "visible-change" | "calendar-change" | "panel-change")[], "update:modelValue" | "change" | "blur" | "focus" | "keydown" | "visible-change" | "calendar-change" | "panel-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10458
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "focus" | "visible-change" | "keydown" | "blur" | "calendar-change" | "panel-change")[], "update:modelValue" | "change" | "focus" | "blur" | "keydown" | "visible-change" | "calendar-change" | "panel-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
10459
10459
  readonly disabledDate: {
10460
10460
  readonly type: import("vue").PropType<Function>;
10461
10461
  readonly required: false;
@@ -10544,8 +10544,8 @@ declare const _default: import("vue").DefineComponent<{
10544
10544
  }>> & {
10545
10545
  onChange?: ((...args: any[]) => any) | undefined;
10546
10546
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
10547
- onBlur?: ((...args: any[]) => any) | undefined;
10548
10547
  onFocus?: ((...args: any[]) => any) | undefined;
10548
+ onBlur?: ((...args: any[]) => any) | undefined;
10549
10549
  onKeydown?: ((...args: any[]) => any) | undefined;
10550
10550
  "onVisible-change"?: ((...args: any[]) => any) | undefined;
10551
10551
  "onCalendar-change"?: ((...args: any[]) => any) | undefined;