@element-plus/nightly 0.0.20260414 → 0.0.20260415

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 (660) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +446 -483
  4. package/dist/index.full.min.js +8 -8
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +8 -8
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +446 -483
  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/hi.js +1 -1
  94. package/dist/locale/hi.min.js +1 -1
  95. package/dist/locale/hi.min.mjs +1 -1
  96. package/dist/locale/hi.mjs +1 -1
  97. package/dist/locale/hr.js +1 -1
  98. package/dist/locale/hr.min.js +1 -1
  99. package/dist/locale/hr.min.mjs +1 -1
  100. package/dist/locale/hr.mjs +1 -1
  101. package/dist/locale/hu.js +1 -1
  102. package/dist/locale/hu.min.js +1 -1
  103. package/dist/locale/hu.min.mjs +1 -1
  104. package/dist/locale/hu.mjs +1 -1
  105. package/dist/locale/hy-am.js +1 -1
  106. package/dist/locale/hy-am.min.js +1 -1
  107. package/dist/locale/hy-am.min.mjs +1 -1
  108. package/dist/locale/hy-am.mjs +1 -1
  109. package/dist/locale/id.js +1 -1
  110. package/dist/locale/id.min.js +1 -1
  111. package/dist/locale/id.min.mjs +1 -1
  112. package/dist/locale/id.mjs +1 -1
  113. package/dist/locale/it.js +1 -1
  114. package/dist/locale/it.min.js +1 -1
  115. package/dist/locale/it.min.mjs +1 -1
  116. package/dist/locale/it.mjs +1 -1
  117. package/dist/locale/ja.js +1 -1
  118. package/dist/locale/ja.min.js +1 -1
  119. package/dist/locale/ja.min.mjs +1 -1
  120. package/dist/locale/ja.mjs +1 -1
  121. package/dist/locale/kk.js +1 -1
  122. package/dist/locale/kk.min.js +1 -1
  123. package/dist/locale/kk.min.mjs +1 -1
  124. package/dist/locale/kk.mjs +1 -1
  125. package/dist/locale/km.js +1 -1
  126. package/dist/locale/km.min.js +1 -1
  127. package/dist/locale/km.min.mjs +1 -1
  128. package/dist/locale/km.mjs +1 -1
  129. package/dist/locale/ko.js +1 -1
  130. package/dist/locale/ko.min.js +1 -1
  131. package/dist/locale/ko.min.mjs +1 -1
  132. package/dist/locale/ko.mjs +1 -1
  133. package/dist/locale/ku.js +1 -1
  134. package/dist/locale/ku.min.js +1 -1
  135. package/dist/locale/ku.min.mjs +1 -1
  136. package/dist/locale/ku.mjs +1 -1
  137. package/dist/locale/ky.js +1 -1
  138. package/dist/locale/ky.min.js +1 -1
  139. package/dist/locale/ky.min.mjs +1 -1
  140. package/dist/locale/ky.mjs +1 -1
  141. package/dist/locale/lo.js +1 -1
  142. package/dist/locale/lo.min.js +1 -1
  143. package/dist/locale/lo.min.mjs +1 -1
  144. package/dist/locale/lo.mjs +1 -1
  145. package/dist/locale/lt.js +1 -1
  146. package/dist/locale/lt.min.js +1 -1
  147. package/dist/locale/lt.min.mjs +1 -1
  148. package/dist/locale/lt.mjs +1 -1
  149. package/dist/locale/lv.js +1 -1
  150. package/dist/locale/lv.min.js +1 -1
  151. package/dist/locale/lv.min.mjs +1 -1
  152. package/dist/locale/lv.mjs +1 -1
  153. package/dist/locale/mg.js +1 -1
  154. package/dist/locale/mg.min.js +1 -1
  155. package/dist/locale/mg.min.mjs +1 -1
  156. package/dist/locale/mg.mjs +1 -1
  157. package/dist/locale/mn.js +1 -1
  158. package/dist/locale/mn.min.js +1 -1
  159. package/dist/locale/mn.min.mjs +1 -1
  160. package/dist/locale/mn.mjs +1 -1
  161. package/dist/locale/ms.js +1 -1
  162. package/dist/locale/ms.min.js +1 -1
  163. package/dist/locale/ms.min.mjs +1 -1
  164. package/dist/locale/ms.mjs +1 -1
  165. package/dist/locale/my.js +1 -1
  166. package/dist/locale/my.min.js +1 -1
  167. package/dist/locale/my.min.mjs +1 -1
  168. package/dist/locale/my.mjs +1 -1
  169. package/dist/locale/nb-no.js +1 -1
  170. package/dist/locale/nb-no.min.js +1 -1
  171. package/dist/locale/nb-no.min.mjs +1 -1
  172. package/dist/locale/nb-no.mjs +1 -1
  173. package/dist/locale/nl.js +1 -1
  174. package/dist/locale/nl.min.js +1 -1
  175. package/dist/locale/nl.min.mjs +1 -1
  176. package/dist/locale/nl.mjs +1 -1
  177. package/dist/locale/no.js +1 -1
  178. package/dist/locale/no.min.js +1 -1
  179. package/dist/locale/no.min.mjs +1 -1
  180. package/dist/locale/no.mjs +1 -1
  181. package/dist/locale/pa.js +1 -1
  182. package/dist/locale/pa.min.js +1 -1
  183. package/dist/locale/pa.min.mjs +1 -1
  184. package/dist/locale/pa.mjs +1 -1
  185. package/dist/locale/pl.js +1 -1
  186. package/dist/locale/pl.min.js +1 -1
  187. package/dist/locale/pl.min.mjs +1 -1
  188. package/dist/locale/pl.mjs +1 -1
  189. package/dist/locale/pt-br.js +1 -1
  190. package/dist/locale/pt-br.min.js +1 -1
  191. package/dist/locale/pt-br.min.mjs +1 -1
  192. package/dist/locale/pt-br.mjs +1 -1
  193. package/dist/locale/pt.js +1 -1
  194. package/dist/locale/pt.min.js +1 -1
  195. package/dist/locale/pt.min.mjs +1 -1
  196. package/dist/locale/pt.mjs +1 -1
  197. package/dist/locale/ro.js +1 -1
  198. package/dist/locale/ro.min.js +1 -1
  199. package/dist/locale/ro.min.mjs +1 -1
  200. package/dist/locale/ro.mjs +1 -1
  201. package/dist/locale/ru.js +1 -1
  202. package/dist/locale/ru.min.js +1 -1
  203. package/dist/locale/ru.min.mjs +1 -1
  204. package/dist/locale/ru.mjs +1 -1
  205. package/dist/locale/sk.js +1 -1
  206. package/dist/locale/sk.min.js +1 -1
  207. package/dist/locale/sk.min.mjs +1 -1
  208. package/dist/locale/sk.mjs +1 -1
  209. package/dist/locale/sl.js +1 -1
  210. package/dist/locale/sl.min.js +1 -1
  211. package/dist/locale/sl.min.mjs +1 -1
  212. package/dist/locale/sl.mjs +1 -1
  213. package/dist/locale/sr.js +1 -1
  214. package/dist/locale/sr.min.js +1 -1
  215. package/dist/locale/sr.min.mjs +1 -1
  216. package/dist/locale/sr.mjs +1 -1
  217. package/dist/locale/sv.js +1 -1
  218. package/dist/locale/sv.min.js +1 -1
  219. package/dist/locale/sv.min.mjs +1 -1
  220. package/dist/locale/sv.mjs +1 -1
  221. package/dist/locale/sw.js +1 -1
  222. package/dist/locale/sw.min.js +1 -1
  223. package/dist/locale/sw.min.mjs +1 -1
  224. package/dist/locale/sw.mjs +1 -1
  225. package/dist/locale/ta.js +1 -1
  226. package/dist/locale/ta.min.js +1 -1
  227. package/dist/locale/ta.min.mjs +1 -1
  228. package/dist/locale/ta.mjs +1 -1
  229. package/dist/locale/te.js +1 -1
  230. package/dist/locale/te.min.js +1 -1
  231. package/dist/locale/te.min.mjs +1 -1
  232. package/dist/locale/te.mjs +1 -1
  233. package/dist/locale/th.js +1 -1
  234. package/dist/locale/th.min.js +1 -1
  235. package/dist/locale/th.min.mjs +1 -1
  236. package/dist/locale/th.mjs +1 -1
  237. package/dist/locale/tk.js +1 -1
  238. package/dist/locale/tk.min.js +1 -1
  239. package/dist/locale/tk.min.mjs +1 -1
  240. package/dist/locale/tk.mjs +1 -1
  241. package/dist/locale/tr.js +1 -1
  242. package/dist/locale/tr.min.js +1 -1
  243. package/dist/locale/tr.min.mjs +1 -1
  244. package/dist/locale/tr.mjs +1 -1
  245. package/dist/locale/ug-cn.js +1 -1
  246. package/dist/locale/ug-cn.min.js +1 -1
  247. package/dist/locale/ug-cn.min.mjs +1 -1
  248. package/dist/locale/ug-cn.mjs +1 -1
  249. package/dist/locale/uk.js +1 -1
  250. package/dist/locale/uk.min.js +1 -1
  251. package/dist/locale/uk.min.mjs +1 -1
  252. package/dist/locale/uk.mjs +1 -1
  253. package/dist/locale/uz-uz.js +1 -1
  254. package/dist/locale/uz-uz.min.js +1 -1
  255. package/dist/locale/uz-uz.min.mjs +1 -1
  256. package/dist/locale/uz-uz.mjs +1 -1
  257. package/dist/locale/vi.js +1 -1
  258. package/dist/locale/vi.min.js +1 -1
  259. package/dist/locale/vi.min.mjs +1 -1
  260. package/dist/locale/vi.mjs +1 -1
  261. package/dist/locale/zh-cn.js +1 -1
  262. package/dist/locale/zh-cn.min.js +1 -1
  263. package/dist/locale/zh-cn.min.mjs +1 -1
  264. package/dist/locale/zh-cn.mjs +1 -1
  265. package/dist/locale/zh-hk.js +1 -1
  266. package/dist/locale/zh-hk.min.js +1 -1
  267. package/dist/locale/zh-hk.min.mjs +1 -1
  268. package/dist/locale/zh-hk.mjs +1 -1
  269. package/dist/locale/zh-mo.js +1 -1
  270. package/dist/locale/zh-mo.min.js +1 -1
  271. package/dist/locale/zh-mo.min.mjs +1 -1
  272. package/dist/locale/zh-mo.mjs +1 -1
  273. package/dist/locale/zh-tw.js +1 -1
  274. package/dist/locale/zh-tw.min.js +1 -1
  275. package/dist/locale/zh-tw.min.mjs +1 -1
  276. package/dist/locale/zh-tw.mjs +1 -1
  277. package/es/components/affix/src/affix.d.ts +3 -3
  278. package/es/components/affix/src/affix.mjs +1 -2
  279. package/es/components/affix/src/affix.mjs.map +1 -1
  280. package/es/components/affix/src/affix.vue.d.ts +3 -3
  281. package/es/components/affix/src/affix.vue_vue_type_script_setup_true_lang.mjs +6 -10
  282. package/es/components/affix/src/affix.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  283. package/es/components/affix/src/affix2.mjs.map +1 -1
  284. package/es/components/alert/src/alert.d.ts +2 -2
  285. package/es/components/alert/src/alert.vue.d.ts +1 -1
  286. package/es/components/anchor/src/anchor.d.ts +2 -2
  287. package/es/components/anchor/src/anchor.vue.d.ts +4 -4
  288. package/es/components/autocomplete/src/autocomplete.d.ts +4 -4
  289. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  290. package/es/components/avatar/src/avatar.d.ts +1 -1
  291. package/es/components/backtop/src/backtop.vue.d.ts +2 -2
  292. package/es/components/badge/src/badge.d.ts +1 -1
  293. package/es/components/badge/src/badge.vue.d.ts +1 -1
  294. package/es/components/button/src/button-group.vue.d.ts +1 -1
  295. package/es/components/button/src/button.d.ts +2 -2
  296. package/es/components/button/src/button.vue.d.ts +2 -2
  297. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  298. package/es/components/carousel/src/carousel.d.ts +2 -2
  299. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  300. package/es/components/cascader/src/cascader.d.ts +3 -3
  301. package/es/components/cascader/src/cascader.vue.d.ts +12 -12
  302. package/es/components/cascader-panel/src/index.vue.d.ts +3 -3
  303. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  304. package/es/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  305. package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  306. package/es/components/checkbox/src/checkbox.vue.d.ts +2 -2
  307. package/es/components/col/src/col.vue.d.ts +1 -1
  308. package/es/components/collapse/src/collapse-item.vue.d.ts +1 -1
  309. package/es/components/collapse/src/collapse.vue.d.ts +2 -2
  310. package/es/components/color-picker/src/color-picker.d.ts +1 -1
  311. package/es/components/color-picker/src/color-picker.vue.d.ts +7 -7
  312. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  313. package/es/components/countdown/src/countdown.vue.d.ts +1 -1
  314. package/es/components/date-picker/src/date-picker.d.ts +4 -4
  315. package/es/components/date-picker/src/props.d.ts +1 -1
  316. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +1 -1
  317. package/es/components/descriptions/src/description.d.ts +1 -1
  318. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  319. package/es/components/dialog/src/dialog.d.ts +1 -1
  320. package/es/components/dialog/src/dialog.mjs +1 -2
  321. package/es/components/dialog/src/dialog.mjs.map +1 -1
  322. package/es/components/dialog/src/dialog.vue.d.ts +3 -3
  323. package/es/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.mjs +91 -95
  324. package/es/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  325. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  326. package/es/components/divider/src/divider.d.ts +1 -1
  327. package/es/components/divider/src/divider.vue.d.ts +1 -1
  328. package/es/components/drawer/src/drawer.d.ts +1 -1
  329. package/es/components/drawer/src/drawer.vue.d.ts +7 -7
  330. package/es/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.mjs +110 -114
  331. package/es/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  332. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  333. package/es/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
  334. package/es/components/dropdown/src/dropdown.d.ts +4 -4
  335. package/es/components/dropdown/src/dropdown.vue.d.ts +37 -37
  336. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  337. package/es/components/form/src/form-item.d.ts +1 -1
  338. package/es/components/form/src/form.d.ts +1 -1
  339. package/es/components/image/src/image.d.ts +1 -1
  340. package/es/components/image/src/image.vue.d.ts +2 -2
  341. package/es/components/image-viewer/src/image-viewer.vue.d.ts +10 -10
  342. package/es/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.mjs +103 -107
  343. package/es/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  344. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  345. package/es/components/input/src/input.d.ts +2 -2
  346. package/es/components/input/src/input.vue.d.ts +21 -21
  347. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs +17 -11
  348. package/es/components/input/src/input.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  349. package/es/components/input/src/input2.mjs.map +1 -1
  350. package/es/components/input-number/src/input-number.d.ts +21 -1
  351. package/es/components/input-number/src/input-number.mjs +2 -0
  352. package/es/components/input-number/src/input-number.mjs.map +1 -1
  353. package/es/components/input-number/src/input-number.vue.d.ts +8 -8
  354. package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs +12 -6
  355. package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  356. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  357. package/es/components/input-otp/src/input-otp.vue.d.ts +8 -8
  358. package/es/components/input-tag/src/input-tag.d.ts +2 -2
  359. package/es/components/input-tag/src/input-tag.vue.d.ts +11 -11
  360. package/es/components/link/src/link.d.ts +1 -1
  361. package/es/components/link/src/link.vue.d.ts +1 -1
  362. package/es/components/mention/src/mention.d.ts +3 -3
  363. package/es/components/mention/src/mention.vue.d.ts +6 -6
  364. package/es/components/menu/src/menu.d.ts +9 -9
  365. package/es/components/menu/src/sub-menu.d.ts +1 -1
  366. package/es/components/message/src/message.d.ts +2 -2
  367. package/es/components/message/src/message.vue.d.ts +5 -5
  368. package/es/components/notification/src/notification.d.ts +1 -1
  369. package/es/components/notification/src/notification.vue.d.ts +4 -4
  370. package/es/components/pagination/src/pagination.d.ts +1 -1
  371. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  372. package/es/components/popconfirm/src/popconfirm.vue.d.ts +4 -4
  373. package/es/components/popover/src/popover.d.ts +3 -3
  374. package/es/components/popover/src/popover.vue.d.ts +3 -3
  375. package/es/components/popper/src/composables/use-content.d.ts +2 -2
  376. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  377. package/es/components/popper/src/content.vue.d.ts +8 -8
  378. package/es/components/progress/src/progress.vue.d.ts +1 -1
  379. package/es/components/radio/src/radio-group.vue.d.ts +5 -5
  380. package/es/components/radio/src/radio.vue.d.ts +2 -2
  381. package/es/components/rate/src/rate.vue.d.ts +2 -2
  382. package/es/components/result/src/result.d.ts +1 -1
  383. package/es/components/result/src/result.vue.d.ts +1 -1
  384. package/es/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
  385. package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -2
  386. package/es/components/row/src/row.d.ts +2 -2
  387. package/es/components/segmented/index.d.ts +3 -3
  388. package/es/components/segmented/src/segmented.d.ts +1 -1
  389. package/es/components/segmented/src/segmented.vue.d.ts +2 -2
  390. package/es/components/select/src/select.d.ts +4 -4
  391. package/es/components/select/src/select.vue.d.ts +41 -41
  392. package/es/components/select-v2/src/defaults.d.ts +4 -4
  393. package/es/components/select-v2/src/select.vue.d.ts +40 -40
  394. package/es/components/slider/src/button.vue.d.ts +1 -1
  395. package/es/components/slider/src/slider.vue.d.ts +4 -4
  396. package/es/components/space/src/space.d.ts +4 -4
  397. package/es/components/splitter/src/splitter.d.ts +1 -1
  398. package/es/components/statistic/src/statistic.vue.d.ts +2 -2
  399. package/es/components/steps/src/item.d.ts +1 -1
  400. package/es/components/steps/src/item.vue.d.ts +1 -1
  401. package/es/components/steps/src/steps.d.ts +3 -3
  402. package/es/components/steps/src/steps.vue.d.ts +1 -1
  403. package/es/components/switch/src/switch.vue.d.ts +3 -3
  404. package/es/components/table/src/table-column/index.d.ts +8 -8
  405. package/es/components/table/src/table-header/index.d.ts +7 -7
  406. package/es/components/table/src/table.vue.d.ts +11 -11
  407. package/es/components/tabs/src/tab-pane.vue.d.ts +1 -1
  408. package/es/components/tabs/src/tabs.d.ts +5 -5
  409. package/es/components/tag/src/tag.d.ts +2 -2
  410. package/es/components/tag/src/tag.vue.d.ts +2 -2
  411. package/es/components/text/src/text.d.ts +1 -1
  412. package/es/components/text/src/text.vue.d.ts +1 -1
  413. package/es/components/time-picker/src/common/picker.vue.d.ts +12 -12
  414. package/es/components/time-picker/src/common/props.d.ts +1 -1
  415. package/es/components/time-picker/src/time-picker.d.ts +4 -4
  416. package/es/components/time-select/src/time-select.vue.d.ts +8 -8
  417. package/es/components/timeline/src/timeline-item.d.ts +2 -2
  418. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  419. package/es/components/tooltip/src/content.d.ts +1 -1
  420. package/es/components/tooltip/src/content.mjs +1 -2
  421. package/es/components/tooltip/src/content.mjs.map +1 -1
  422. package/es/components/tooltip/src/content.vue.d.ts +5 -5
  423. package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs +69 -73
  424. package/es/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  425. package/es/components/tooltip/src/content2.mjs.map +1 -1
  426. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  427. package/es/components/tooltip/src/tooltip.vue.d.ts +5 -5
  428. package/es/components/tooltip/src/trigger.d.ts +1 -1
  429. package/es/components/tour/src/content.d.ts +1 -1
  430. package/es/components/tour/src/step.d.ts +1 -1
  431. package/es/components/tour/src/tour.d.ts +2 -2
  432. package/es/components/tour/src/tour.mjs +1 -2
  433. package/es/components/tour/src/tour.mjs.map +1 -1
  434. package/es/components/tour/src/tour.vue.d.ts +3 -3
  435. package/es/components/tour/src/tour.vue_vue_type_script_setup_true_lang.mjs +36 -40
  436. package/es/components/tour/src/tour.vue_vue_type_script_setup_true_lang.mjs.map +1 -1
  437. package/es/components/tour/src/tour2.mjs.map +1 -1
  438. package/es/components/transfer/src/transfer.vue.d.ts +2 -2
  439. package/es/components/tree/src/tree.vue.d.ts +7 -7
  440. package/es/components/tree-select/src/tree-select.vue.d.ts +18 -18
  441. package/es/components/upload/src/upload.vue.d.ts +1 -1
  442. package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  443. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  444. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
  445. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  446. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
  447. package/es/components/virtual-list/src/props.d.ts +2 -2
  448. package/es/components/watermark/src/watermark.vue.d.ts +1 -1
  449. package/es/hooks/use-floating/index.d.ts +8 -8
  450. package/es/hooks/use-popper/index.d.ts +2 -2
  451. package/es/version.mjs +1 -1
  452. package/es/version.mjs.map +1 -1
  453. package/lib/components/affix/src/affix.d.ts +3 -3
  454. package/lib/components/affix/src/affix.js +1 -2
  455. package/lib/components/affix/src/affix.js.map +1 -1
  456. package/lib/components/affix/src/affix.vue.d.ts +3 -3
  457. package/lib/components/affix/src/affix.vue_vue_type_script_setup_true_lang.js +7 -11
  458. package/lib/components/affix/src/affix.vue_vue_type_script_setup_true_lang.js.map +1 -1
  459. package/lib/components/affix/src/affix2.js.map +1 -1
  460. package/lib/components/alert/src/alert.d.ts +2 -2
  461. package/lib/components/alert/src/alert.vue.d.ts +1 -1
  462. package/lib/components/anchor/src/anchor.d.ts +2 -2
  463. package/lib/components/anchor/src/anchor.vue.d.ts +4 -4
  464. package/lib/components/autocomplete/src/autocomplete.d.ts +4 -4
  465. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  466. package/lib/components/avatar/src/avatar.d.ts +1 -1
  467. package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
  468. package/lib/components/badge/src/badge.d.ts +1 -1
  469. package/lib/components/badge/src/badge.vue.d.ts +1 -1
  470. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  471. package/lib/components/button/src/button.d.ts +2 -2
  472. package/lib/components/button/src/button.vue.d.ts +2 -2
  473. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  474. package/lib/components/carousel/src/carousel.d.ts +2 -2
  475. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  476. package/lib/components/cascader/src/cascader.d.ts +3 -3
  477. package/lib/components/cascader/src/cascader.vue.d.ts +12 -12
  478. package/lib/components/cascader-panel/src/index.vue.d.ts +3 -3
  479. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  480. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  481. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  482. package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -2
  483. package/lib/components/col/src/col.vue.d.ts +1 -1
  484. package/lib/components/collapse/src/collapse-item.vue.d.ts +1 -1
  485. package/lib/components/collapse/src/collapse.vue.d.ts +2 -2
  486. package/lib/components/color-picker/src/color-picker.d.ts +1 -1
  487. package/lib/components/color-picker/src/color-picker.vue.d.ts +7 -7
  488. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  489. package/lib/components/countdown/src/countdown.vue.d.ts +1 -1
  490. package/lib/components/date-picker/src/date-picker.d.ts +4 -4
  491. package/lib/components/date-picker/src/props.d.ts +1 -1
  492. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +1 -1
  493. package/lib/components/descriptions/src/description.d.ts +1 -1
  494. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  495. package/lib/components/dialog/src/dialog.d.ts +1 -1
  496. package/lib/components/dialog/src/dialog.js +1 -2
  497. package/lib/components/dialog/src/dialog.js.map +1 -1
  498. package/lib/components/dialog/src/dialog.vue.d.ts +3 -3
  499. package/lib/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.js +98 -102
  500. package/lib/components/dialog/src/dialog.vue_vue_type_script_setup_true_lang.js.map +1 -1
  501. package/lib/components/dialog/src/dialog2.js.map +1 -1
  502. package/lib/components/divider/src/divider.d.ts +1 -1
  503. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  504. package/lib/components/drawer/src/drawer.d.ts +1 -1
  505. package/lib/components/drawer/src/drawer.vue.d.ts +7 -7
  506. package/lib/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.js +118 -122
  507. package/lib/components/drawer/src/drawer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  508. package/lib/components/drawer/src/drawer2.js.map +1 -1
  509. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +3 -3
  510. package/lib/components/dropdown/src/dropdown.d.ts +4 -4
  511. package/lib/components/dropdown/src/dropdown.vue.d.ts +37 -37
  512. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  513. package/lib/components/form/src/form-item.d.ts +1 -1
  514. package/lib/components/form/src/form.d.ts +1 -1
  515. package/lib/components/image/src/image.d.ts +1 -1
  516. package/lib/components/image/src/image.vue.d.ts +2 -2
  517. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +10 -10
  518. package/lib/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.js +112 -116
  519. package/lib/components/image-viewer/src/image-viewer.vue_vue_type_script_setup_true_lang.js.map +1 -1
  520. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  521. package/lib/components/input/src/input.d.ts +2 -2
  522. package/lib/components/input/src/input.vue.d.ts +21 -21
  523. package/lib/components/input/src/input.vue_vue_type_script_setup_true_lang.js +17 -11
  524. package/lib/components/input/src/input.vue_vue_type_script_setup_true_lang.js.map +1 -1
  525. package/lib/components/input/src/input2.js.map +1 -1
  526. package/lib/components/input-number/src/input-number.d.ts +21 -1
  527. package/lib/components/input-number/src/input-number.js +2 -0
  528. package/lib/components/input-number/src/input-number.js.map +1 -1
  529. package/lib/components/input-number/src/input-number.vue.d.ts +8 -8
  530. package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js +12 -6
  531. package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js.map +1 -1
  532. package/lib/components/input-number/src/input-number2.js.map +1 -1
  533. package/lib/components/input-otp/src/input-otp.vue.d.ts +8 -8
  534. package/lib/components/input-tag/src/input-tag.d.ts +2 -2
  535. package/lib/components/input-tag/src/input-tag.vue.d.ts +11 -11
  536. package/lib/components/link/src/link.d.ts +1 -1
  537. package/lib/components/link/src/link.vue.d.ts +1 -1
  538. package/lib/components/mention/src/mention.d.ts +3 -3
  539. package/lib/components/mention/src/mention.vue.d.ts +6 -6
  540. package/lib/components/menu/src/menu.d.ts +9 -9
  541. package/lib/components/menu/src/sub-menu.d.ts +1 -1
  542. package/lib/components/message/src/message.d.ts +2 -2
  543. package/lib/components/message/src/message.vue.d.ts +5 -5
  544. package/lib/components/notification/src/notification.d.ts +1 -1
  545. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  546. package/lib/components/pagination/src/pagination.d.ts +1 -1
  547. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  548. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +4 -4
  549. package/lib/components/popover/src/popover.d.ts +3 -3
  550. package/lib/components/popover/src/popover.vue.d.ts +3 -3
  551. package/lib/components/popper/src/composables/use-content.d.ts +2 -2
  552. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  553. package/lib/components/popper/src/content.vue.d.ts +8 -8
  554. package/lib/components/progress/src/progress.vue.d.ts +1 -1
  555. package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
  556. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  557. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  558. package/lib/components/result/src/result.d.ts +1 -1
  559. package/lib/components/result/src/result.vue.d.ts +1 -1
  560. package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +1 -1
  561. package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -2
  562. package/lib/components/row/src/row.d.ts +2 -2
  563. package/lib/components/segmented/index.d.ts +3 -3
  564. package/lib/components/segmented/src/segmented.d.ts +1 -1
  565. package/lib/components/segmented/src/segmented.vue.d.ts +2 -2
  566. package/lib/components/select/src/select.d.ts +4 -4
  567. package/lib/components/select/src/select.vue.d.ts +41 -41
  568. package/lib/components/select-v2/src/defaults.d.ts +4 -4
  569. package/lib/components/select-v2/src/select.vue.d.ts +40 -40
  570. package/lib/components/slider/src/button.vue.d.ts +1 -1
  571. package/lib/components/slider/src/slider.vue.d.ts +4 -4
  572. package/lib/components/space/src/space.d.ts +4 -4
  573. package/lib/components/splitter/src/splitter.d.ts +1 -1
  574. package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
  575. package/lib/components/steps/src/item.d.ts +1 -1
  576. package/lib/components/steps/src/item.vue.d.ts +1 -1
  577. package/lib/components/steps/src/steps.d.ts +3 -3
  578. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  579. package/lib/components/switch/src/switch.vue.d.ts +3 -3
  580. package/lib/components/table/src/table-column/index.d.ts +8 -8
  581. package/lib/components/table/src/table-header/index.d.ts +7 -7
  582. package/lib/components/table/src/table.vue.d.ts +11 -11
  583. package/lib/components/tabs/src/tab-pane.vue.d.ts +1 -1
  584. package/lib/components/tabs/src/tabs.d.ts +5 -5
  585. package/lib/components/tag/src/tag.d.ts +2 -2
  586. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  587. package/lib/components/text/src/text.d.ts +1 -1
  588. package/lib/components/text/src/text.vue.d.ts +1 -1
  589. package/lib/components/time-picker/src/common/picker.vue.d.ts +12 -12
  590. package/lib/components/time-picker/src/common/props.d.ts +1 -1
  591. package/lib/components/time-picker/src/time-picker.d.ts +4 -4
  592. package/lib/components/time-select/src/time-select.vue.d.ts +8 -8
  593. package/lib/components/timeline/src/timeline-item.d.ts +2 -2
  594. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  595. package/lib/components/tooltip/src/content.d.ts +1 -1
  596. package/lib/components/tooltip/src/content.js +1 -2
  597. package/lib/components/tooltip/src/content.js.map +1 -1
  598. package/lib/components/tooltip/src/content.vue.d.ts +5 -5
  599. package/lib/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js +72 -76
  600. package/lib/components/tooltip/src/content.vue_vue_type_script_setup_true_lang.js.map +1 -1
  601. package/lib/components/tooltip/src/content2.js.map +1 -1
  602. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  603. package/lib/components/tooltip/src/tooltip.vue.d.ts +5 -5
  604. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  605. package/lib/components/tour/src/content.d.ts +1 -1
  606. package/lib/components/tour/src/step.d.ts +1 -1
  607. package/lib/components/tour/src/tour.d.ts +2 -2
  608. package/lib/components/tour/src/tour.js +1 -2
  609. package/lib/components/tour/src/tour.js.map +1 -1
  610. package/lib/components/tour/src/tour.vue.d.ts +3 -3
  611. package/lib/components/tour/src/tour.vue_vue_type_script_setup_true_lang.js +39 -43
  612. package/lib/components/tour/src/tour.vue_vue_type_script_setup_true_lang.js.map +1 -1
  613. package/lib/components/tour/src/tour2.js.map +1 -1
  614. package/lib/components/transfer/src/transfer.vue.d.ts +2 -2
  615. package/lib/components/tree/src/tree.vue.d.ts +7 -7
  616. package/lib/components/tree-select/src/tree-select.vue.d.ts +18 -18
  617. package/lib/components/upload/src/upload.vue.d.ts +1 -1
  618. package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  619. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  620. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +4 -4
  621. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  622. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +4 -4
  623. package/lib/components/virtual-list/src/props.d.ts +2 -2
  624. package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
  625. package/lib/hooks/use-floating/index.d.ts +8 -8
  626. package/lib/hooks/use-popper/index.d.ts +2 -2
  627. package/lib/version.js +1 -1
  628. package/lib/version.js.map +1 -1
  629. package/package.json +3 -3
  630. package/tags.json +1 -1
  631. package/theme-chalk/el-input.css +1 -1
  632. package/theme-chalk/index.css +1 -1
  633. package/theme-chalk/src/input.scss +4 -0
  634. package/web-types.json +1 -1
  635. package/es/components/teleport/index.d.ts +0 -9
  636. package/es/components/teleport/index.mjs +0 -10
  637. package/es/components/teleport/index.mjs.map +0 -1
  638. package/es/components/teleport/src/teleport.d.ts +0 -21
  639. package/es/components/teleport/src/teleport.mjs +0 -14
  640. package/es/components/teleport/src/teleport.mjs.map +0 -1
  641. package/es/components/teleport/src/teleport.vue.d.ts +0 -39
  642. package/es/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.mjs +0 -20
  643. package/es/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.mjs.map +0 -1
  644. package/es/components/teleport/src/teleport2.mjs +0 -8
  645. package/es/components/teleport/src/teleport2.mjs.map +0 -1
  646. package/es/components/teleport/style/css.mjs +0 -0
  647. package/es/components/teleport/style/index.mjs +0 -0
  648. package/lib/components/teleport/index.d.ts +0 -9
  649. package/lib/components/teleport/index.js +0 -13
  650. package/lib/components/teleport/index.js.map +0 -1
  651. package/lib/components/teleport/src/teleport.d.ts +0 -21
  652. package/lib/components/teleport/src/teleport.js +0 -15
  653. package/lib/components/teleport/src/teleport.js.map +0 -1
  654. package/lib/components/teleport/src/teleport.vue.d.ts +0 -39
  655. package/lib/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.js +0 -21
  656. package/lib/components/teleport/src/teleport.vue_vue_type_script_setup_true_lang.js.map +0 -1
  657. package/lib/components/teleport/src/teleport2.js +0 -9
  658. package/lib/components/teleport/src/teleport2.js.map +0 -1
  659. package/lib/components/teleport/style/css.js +0 -1
  660. package/lib/components/teleport/style/index.js +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"affix2.js","names":[],"sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <el-teleport :disabled=\"teleportDisabled\" :to=\"appendTo\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </el-teleport>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onActivated,\n onDeactivated,\n onMounted,\n ref,\n shallowRef,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport ElTeleport from '@element-plus/components/teleport'\nimport { addUnit, getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { affixEmits } from './affix'\n\nimport type { CSSProperties } from 'vue'\nimport type { AffixProps } from './affix'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = withDefaults(defineProps<AffixProps>(), {\n zIndex: 100,\n target: '',\n offset: 0,\n position: 'top',\n appendTo: 'body',\n})\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n left: rootLeft,\n update: updateRoot,\n} = useElementBounding(root, { windowScroll: false })\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst teleportDisabled = computed(() => {\n return !props.teleported || !fixed.value\n})\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n display: 'flow-root', // https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Display/Formatting_contexts#explicitly_creating_a_bfc_using_display_flow-root\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = addUnit(props.offset)\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n left: props.teleported ? `${rootLeft.value}px` : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n const { position, target, offset } = props\n const rootHeightOffset = offset + rootHeight.value\n\n if (position === 'top') {\n if (target) {\n const difference = targetRect.bottom.value - rootHeightOffset\n fixed.value = offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = offset > rootTop.value\n }\n } else if (target) {\n const difference =\n windowHeight.value - targetRect.top.value - rootHeightOffset\n fixed.value =\n windowHeight.value - offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - offset < rootBottom.value\n }\n}\n\nconst updateRootRect = async () => {\n if (!fixed.value) {\n updateRoot()\n return\n }\n\n fixed.value = false\n await nextTick()\n updateRoot()\n fixed.value = true\n}\n\nconst handleScroll = async () => {\n updateRoot()\n await nextTick()\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit(CHANGE_EVENT, val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target does not exist: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nonActivated(() => {\n nextTick(updateRootRect)\n})\n\nonDeactivated(() => {\n fixed.value = false\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot: updateRootRect,\n})\n</script>\n"],"mappings":""}
1
+ {"version":3,"file":"affix2.js","names":[],"sources":["../../../../../../packages/components/affix/src/affix.vue"],"sourcesContent":["<template>\n <div ref=\"root\" :class=\"ns.b()\" :style=\"rootStyle\">\n <teleport :disabled=\"teleportDisabled\" :to=\"appendTo\">\n <div :class=\"{ [ns.m('fixed')]: fixed }\" :style=\"affixStyle\">\n <slot />\n </div>\n </teleport>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {\n computed,\n nextTick,\n onActivated,\n onDeactivated,\n onMounted,\n ref,\n shallowRef,\n watch,\n watchEffect,\n} from 'vue'\nimport {\n useElementBounding,\n useEventListener,\n useWindowSize,\n} from '@vueuse/core'\nimport { addUnit, getScrollContainer, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { CHANGE_EVENT } from '@element-plus/constants'\nimport { affixEmits } from './affix'\n\nimport type { CSSProperties } from 'vue'\nimport type { AffixProps } from './affix'\n\nconst COMPONENT_NAME = 'ElAffix'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = withDefaults(defineProps<AffixProps>(), {\n zIndex: 100,\n target: '',\n offset: 0,\n position: 'top',\n appendTo: 'body',\n})\nconst emit = defineEmits(affixEmits)\n\nconst ns = useNamespace('affix')\n\nconst target = shallowRef<HTMLElement>()\nconst root = shallowRef<HTMLDivElement>()\nconst scrollContainer = shallowRef<HTMLElement | Window>()\nconst { height: windowHeight } = useWindowSize()\nconst {\n height: rootHeight,\n width: rootWidth,\n top: rootTop,\n bottom: rootBottom,\n left: rootLeft,\n update: updateRoot,\n} = useElementBounding(root, { windowScroll: false })\nconst targetRect = useElementBounding(target)\n\nconst fixed = ref(false)\nconst scrollTop = ref(0)\nconst transform = ref(0)\n\nconst teleportDisabled = computed(() => {\n return !props.teleported || !fixed.value\n})\n\nconst rootStyle = computed<CSSProperties>(() => {\n return {\n display: 'flow-root', // https://developer.mozilla.org/en-US/docs/Web/CSS/Guides/Display/Formatting_contexts#explicitly_creating_a_bfc_using_display_flow-root\n height: fixed.value ? `${rootHeight.value}px` : '',\n width: fixed.value ? `${rootWidth.value}px` : '',\n }\n})\n\nconst affixStyle = computed<CSSProperties>(() => {\n if (!fixed.value) return {}\n\n const offset = addUnit(props.offset)\n return {\n height: `${rootHeight.value}px`,\n width: `${rootWidth.value}px`,\n top: props.position === 'top' ? offset : '',\n bottom: props.position === 'bottom' ? offset : '',\n left: props.teleported ? `${rootLeft.value}px` : '',\n transform: transform.value ? `translateY(${transform.value}px)` : '',\n zIndex: props.zIndex,\n }\n})\n\nconst update = () => {\n if (!scrollContainer.value) return\n\n scrollTop.value =\n scrollContainer.value instanceof Window\n ? document.documentElement.scrollTop\n : scrollContainer.value.scrollTop || 0\n\n const { position, target, offset } = props\n const rootHeightOffset = offset + rootHeight.value\n\n if (position === 'top') {\n if (target) {\n const difference = targetRect.bottom.value - rootHeightOffset\n fixed.value = offset > rootTop.value && targetRect.bottom.value > 0\n transform.value = difference < 0 ? difference : 0\n } else {\n fixed.value = offset > rootTop.value\n }\n } else if (target) {\n const difference =\n windowHeight.value - targetRect.top.value - rootHeightOffset\n fixed.value =\n windowHeight.value - offset < rootBottom.value &&\n windowHeight.value > targetRect.top.value\n transform.value = difference < 0 ? -difference : 0\n } else {\n fixed.value = windowHeight.value - offset < rootBottom.value\n }\n}\n\nconst updateRootRect = async () => {\n if (!fixed.value) {\n updateRoot()\n return\n }\n\n fixed.value = false\n await nextTick()\n updateRoot()\n fixed.value = true\n}\n\nconst handleScroll = async () => {\n updateRoot()\n await nextTick()\n emit('scroll', {\n scrollTop: scrollTop.value,\n fixed: fixed.value,\n })\n}\n\nwatch(fixed, (val) => emit(CHANGE_EVENT, val))\n\nonMounted(() => {\n if (props.target) {\n target.value =\n document.querySelector<HTMLElement>(props.target) ?? undefined\n if (!target.value)\n throwError(COMPONENT_NAME, `Target does not exist: ${props.target}`)\n } else {\n target.value = document.documentElement\n }\n scrollContainer.value = getScrollContainer(root.value!, true)\n updateRoot()\n})\n\nonActivated(() => {\n nextTick(updateRootRect)\n})\n\nonDeactivated(() => {\n fixed.value = false\n})\n\nuseEventListener(scrollContainer, 'scroll', handleScroll)\nwatchEffect(update)\n\ndefineExpose({\n /** @description update affix status */\n update,\n /** @description update rootRect info */\n updateRoot: updateRootRect,\n})\n</script>\n"],"mappings":""}
@@ -45,12 +45,12 @@ interface AlertProps {
45
45
  declare const alertProps: {
46
46
  readonly title: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
47
47
  readonly description: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
48
- readonly type: EpPropFinalized<StringConstructor, "error" | "info" | "primary" | "success" | "warning", unknown, "info", boolean>;
48
+ readonly type: EpPropFinalized<StringConstructor, "error" | "primary" | "success" | "warning" | "info", unknown, "info", boolean>;
49
49
  readonly closable: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
50
50
  readonly closeText: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
51
51
  readonly showIcon: BooleanConstructor;
52
52
  readonly center: BooleanConstructor;
53
- readonly effect: EpPropFinalized<StringConstructor, "light" | "dark", unknown, "light", boolean>;
53
+ readonly effect: EpPropFinalized<StringConstructor, "dark" | "light", unknown, "light", boolean>;
54
54
  };
55
55
  /**
56
56
  * @deprecated Removed after 3.0.0, Use `AlertProps` instead.
@@ -18,11 +18,11 @@ declare const __VLS_base: vue.DefineComponent<AlertProps, {}, {}, {}, {}, vue.Co
18
18
  onClose?: ((evt: MouseEvent) => any) | undefined;
19
19
  }>, {
20
20
  type: keyof typeof TypeComponentsMap;
21
+ effect: "light" | "dark";
21
22
  title: string;
22
23
  description: string;
23
24
  closable: boolean;
24
25
  closeText: string;
25
- effect: "light" | "dark";
26
26
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
28
  declare const _default: typeof __VLS_export;
@@ -44,7 +44,7 @@ interface AnchorProps {
44
44
  */
45
45
  declare const anchorProps: {
46
46
  container: {
47
- readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement | Window) | (() => string | HTMLElement | Window | null) | (((new (...args: any[]) => string | HTMLElement | Window) | (() => string | HTMLElement | Window | null)) | null)[], unknown, unknown>>;
47
+ readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | Window | HTMLElement) | (() => string | Window | HTMLElement | null) | (((new (...args: any[]) => string | Window | HTMLElement) | (() => string | Window | HTMLElement | null)) | null)[], unknown, unknown>>;
48
48
  readonly required: false;
49
49
  readonly validator: ((val: unknown) => boolean) | undefined;
50
50
  __epPropKey: true;
@@ -54,7 +54,7 @@ declare const anchorProps: {
54
54
  duration: EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
55
55
  marker: EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
56
56
  type: EpPropFinalized<(new (...args: any[]) => "default" | "underline") | (() => "default" | "underline") | (((new (...args: any[]) => "default" | "underline") | (() => "default" | "underline")) | null)[], unknown, unknown, string, boolean>;
57
- direction: EpPropFinalized<(new (...args: any[]) => "vertical" | "horizontal") | (() => "vertical" | "horizontal") | (((new (...args: any[]) => "vertical" | "horizontal") | (() => "vertical" | "horizontal")) | null)[], unknown, unknown, string, boolean>;
57
+ direction: EpPropFinalized<(new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical") | (((new (...args: any[]) => "horizontal" | "vertical") | (() => "horizontal" | "vertical")) | null)[], unknown, unknown, string, boolean>;
58
58
  selectScrollTop: BooleanConstructor;
59
59
  };
60
60
  /**
@@ -15,12 +15,12 @@ declare const __VLS_base: vue.DefineComponent<AnchorProps, {
15
15
  onChange?: ((href: string) => any) | undefined;
16
16
  onClick?: ((e: MouseEvent, href?: string | undefined) => any) | undefined;
17
17
  }>, {
18
- offset: number;
19
- bound: number;
20
- duration: number;
21
- marker: boolean;
22
18
  type: "default" | "underline";
19
+ offset: number;
23
20
  direction: "vertical" | "horizontal";
21
+ marker: boolean;
22
+ duration: number;
23
+ bound: number;
24
24
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
@@ -87,7 +87,7 @@ declare const autocompleteProps: {
87
87
  readonly valueKey: EpPropFinalized<StringConstructor, unknown, unknown, "value", boolean>;
88
88
  readonly modelValue: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
89
89
  readonly debounce: EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
90
- readonly placement: EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], "top" | "bottom" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
90
+ readonly placement: EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], "bottom" | "top" | "top-start" | "top-end" | "bottom-start" | "bottom-end", unknown, "bottom-start", boolean>;
91
91
  readonly fetchSuggestions: EpPropFinalized<(new (...args: any[]) => ((queryString: string, cb: AutocompleteFetchSuggestionsCallback<AutocompleteDataItem>) => Awaitable<void | AutocompleteData<AutocompleteDataItem>>) | AutocompleteData<AutocompleteDataItem>) | (() => AutocompleteFetchSuggestions<AutocompleteDataItem>) | (((new (...args: any[]) => ((queryString: string, cb: AutocompleteFetchSuggestionsCallback<AutocompleteDataItem>) => Awaitable<void | AutocompleteData<AutocompleteDataItem>>) | AutocompleteData<AutocompleteDataItem>) | (() => AutocompleteFetchSuggestions<AutocompleteDataItem>)) | null)[], unknown, unknown, () => void, boolean>;
92
92
  readonly popperClass: {
93
93
  readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
@@ -202,7 +202,7 @@ declare const autocompleteProps: {
202
202
  readonly hideLoading: BooleanConstructor;
203
203
  readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
204
204
  readonly appendTo: {
205
- readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown>>;
205
+ readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
206
206
  readonly required: false;
207
207
  readonly validator: ((val: unknown) => boolean) | undefined;
208
208
  __epPropKey: true;
@@ -210,7 +210,7 @@ declare const autocompleteProps: {
210
210
  readonly highlightFirstItem: BooleanConstructor;
211
211
  readonly fitInputWidth: BooleanConstructor;
212
212
  readonly loopNavigation: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
213
- readonly inputmode: EpPropFinalized<(new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
213
+ readonly inputmode: EpPropFinalized<(new (...args: any[]) => "search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "search" | "text" | "email" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
214
214
  readonly name: StringConstructor;
215
215
  readonly ariaLabel: StringConstructor;
216
216
  readonly id: EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
@@ -236,7 +236,7 @@ declare const autocompleteProps: {
236
236
  };
237
237
  readonly type: EpPropFinalized<(new (...args: any[]) => string) | (() => InputType) | (((new (...args: any[]) => string) | (() => InputType)) | null)[], unknown, unknown, "text", boolean>;
238
238
  readonly resize: {
239
- readonly type: vue.PropType<EpPropMergeType<StringConstructor, "vertical" | "horizontal" | "none" | "both", unknown>>;
239
+ readonly type: vue.PropType<EpPropMergeType<StringConstructor, "none" | "both" | "horizontal" | "vertical", unknown>>;
240
240
  readonly required: false;
241
241
  readonly validator: ((val: unknown) => boolean) | undefined;
242
242
  __epPropKey: true;
@@ -9,12 +9,12 @@ import { Ref } from "vue";
9
9
  //#region ../../packages/components/autocomplete/src/autocomplete.vue.d.ts
10
10
  declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
11
  props: vue.PublicProps & __VLS_PrettifyLocal<AutocompleteProps<T> & {
12
- onChange?: ((value: string | number) => any) | undefined;
13
- onBlur?: ((evt: FocusEvent) => any) | undefined;
14
- onFocus?: ((evt: FocusEvent) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
15
13
  onInput?: ((value: string | number) => any) | undefined;
16
14
  onSelect?: ((item: Record<string, any>) => any) | undefined;
17
- "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
15
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
16
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
17
+ onChange?: ((value: string | number) => any) | undefined;
18
18
  onClear?: (() => any) | undefined;
19
19
  }> & (typeof globalThis extends {
20
20
  __VLS_PROPS_FALLBACK: infer P;
@@ -54,7 +54,7 @@ declare const __VLS_export: <T extends AutocompleteDataItem = AutocompleteDataIt
54
54
  } & {
55
55
  footer?: (props: {}) => any;
56
56
  };
57
- emit: ((event: "blur", evt: FocusEvent) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "change", value: string | number) => void) & ((event: "update:modelValue", value: string | number) => void) & ((event: "input", value: string | number) => void) & ((event: "clear") => void);
57
+ emit: ((event: "update:modelValue", value: string | number) => void) & ((event: "select", item: Record<string, any>) => void) & ((event: "focus", evt: FocusEvent) => void) & ((event: "blur", evt: FocusEvent) => void) & ((event: "clear") => void) & ((event: "input", value: string | number) => void) & ((event: "change", value: string | number) => void);
58
58
  }>) => vue.VNode & {
59
59
  __ctx?: Awaited<typeof __VLS_setup>;
60
60
  };
@@ -63,7 +63,7 @@ declare const avatarProps: {
63
63
  readonly src: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
64
64
  readonly alt: StringConstructor;
65
65
  readonly srcSet: StringConstructor;
66
- readonly fit: EpPropFinalized<(new (...args: any[]) => "fill" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "none" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined) | (((new (...args: any[]) => "fill" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "none" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined)) | null)[], unknown, unknown, "cover", boolean>;
66
+ readonly fit: EpPropFinalized<(new (...args: any[]) => "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "fill" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined) | (((new (...args: any[]) => "none" | "-moz-initial" | "inherit" | "initial" | "revert" | "revert-layer" | "unset" | "fill" | "contain" | "cover" | "scale-down") | (() => csstype.Property.ObjectFit | undefined)) | null)[], unknown, unknown, "cover", boolean>;
67
67
  };
68
68
  /**
69
69
  * @deprecated Removed after 3.0.0, Use `AvatarProps` instead.
@@ -11,10 +11,10 @@ declare const __VLS_base: vue.DefineComponent<BacktopProps, {}, {}, {}, {}, vue.
11
11
  }, string, vue.PublicProps, Readonly<BacktopProps> & Readonly<{
12
12
  onClick?: ((evt: MouseEvent) => any) | undefined;
13
13
  }>, {
14
- target: string;
15
- bottom: number;
16
14
  right: number;
15
+ bottom: number;
17
16
  visibilityHeight: number;
17
+ target: string;
18
18
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
19
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
20
  declare const _default: typeof __VLS_export;
@@ -54,7 +54,7 @@ declare const badgeProps: {
54
54
  readonly max: EpPropFinalized<NumberConstructor, unknown, unknown, 99, boolean>;
55
55
  readonly isDot: BooleanConstructor;
56
56
  readonly hidden: BooleanConstructor;
57
- readonly type: EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "danger", boolean>;
57
+ readonly type: EpPropFinalized<StringConstructor, "danger" | "primary" | "success" | "warning" | "info", unknown, "danger", boolean>;
58
58
  readonly showZero: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
59
59
  readonly color: StringConstructor;
60
60
  readonly badgeStyle: {
@@ -14,9 +14,9 @@ type __VLS_Slots = {} & {
14
14
  declare const __VLS_base: vue.DefineComponent<BadgeProps, {
15
15
  /** @description badge content */content: vue.ComputedRef<string>;
16
16
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
17
- offset: [number, number];
18
17
  type: "primary" | "success" | "warning" | "info" | "danger";
19
18
  value: string | number;
19
+ offset: [number, number];
20
20
  max: number;
21
21
  showZero: boolean;
22
22
  badgeStyle: string | false | vue.CSSProperties | StyleValue[] | null;
@@ -7,7 +7,7 @@ type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
9
  declare const __VLS_base: vue.DefineComponent<ButtonGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
10
- type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
10
+ type: "" | "text" | "default" | "danger" | "primary" | "success" | "warning" | "info";
11
11
  direction: "horizontal" | "vertical";
12
12
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
13
13
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -99,14 +99,14 @@ declare const buttonProps: {
99
99
  __epPropKey: true;
100
100
  };
101
101
  readonly disabled: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
102
- readonly type: EpPropFinalized<StringConstructor, "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger", unknown, "", boolean>;
102
+ readonly type: EpPropFinalized<StringConstructor, "" | "text" | "default" | "danger" | "primary" | "success" | "warning" | "info", unknown, "", boolean>;
103
103
  readonly icon: {
104
104
  readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown>>;
105
105
  readonly required: false;
106
106
  readonly validator: ((val: unknown) => boolean) | undefined;
107
107
  __epPropKey: true;
108
108
  };
109
- readonly nativeType: EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
109
+ readonly nativeType: EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
110
110
  readonly loading: BooleanConstructor;
111
111
  readonly loadingIcon: EpPropFinalized<(new (...args: any[]) => (string | Component) & {}) | (() => string | Component) | (((new (...args: any[]) => (string | Component) & {}) | (() => string | Component)) | null)[], unknown, unknown, () => vue.DefineComponent<{}, void, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>, boolean>;
112
112
  readonly plain: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
@@ -16,7 +16,7 @@ type __VLS_Slots = {} & {
16
16
  declare const __VLS_base: vue.DefineComponent<ButtonProps, {
17
17
  /** @description button html element */ref: vue.Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>; /** @description button size */
18
18
  size: vue.ComputedRef<"" | "default" | "small" | "large">; /** @description button type */
19
- type: vue.ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">; /** @description button disabled */
19
+ type: vue.ComputedRef<"" | "text" | "default" | "danger" | "primary" | "success" | "warning" | "info">; /** @description button disabled */
20
20
  disabled: vue.ComputedRef<boolean>; /** @description whether adding space */
21
21
  shouldAddSpace: vue.ComputedRef<boolean>;
22
22
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
@@ -24,9 +24,9 @@ declare const __VLS_base: vue.DefineComponent<ButtonProps, {
24
24
  }, string, vue.PublicProps, Readonly<ButtonProps> & Readonly<{
25
25
  onClick?: ((evt: MouseEvent) => any) | undefined;
26
26
  }>, {
27
- type: ButtonType;
28
27
  text: boolean;
29
28
  disabled: boolean;
29
+ type: ButtonType;
30
30
  round: boolean;
31
31
  dashed: boolean;
32
32
  nativeType: ButtonNativeType;
@@ -37,8 +37,8 @@ declare const __VLS_base: vue.DefineComponent<CalendarProps, {
37
37
  "update:modelValue": (value: Date) => void;
38
38
  input: (value: Date) => void;
39
39
  }, string, vue.PublicProps, Readonly<CalendarProps> & Readonly<{
40
- onInput?: ((value: Date) => any) | undefined;
41
40
  "onUpdate:modelValue"?: ((value: Date) => any) | undefined;
41
+ onInput?: ((value: Date) => any) | undefined;
42
42
  }>, {
43
43
  controllerType: "button" | "select";
44
44
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
@@ -63,7 +63,7 @@ interface CarouselProps {
63
63
  declare const carouselProps: {
64
64
  readonly initialIndex: EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
65
65
  readonly height: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
66
- readonly trigger: EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
66
+ readonly trigger: EpPropFinalized<StringConstructor, "hover" | "click", unknown, "hover", boolean>;
67
67
  readonly autoplay: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
68
68
  readonly interval: EpPropFinalized<NumberConstructor, unknown, unknown, 3000, boolean>;
69
69
  readonly indicatorPosition: EpPropFinalized<StringConstructor, "" | "none" | "outside", unknown, "", boolean>;
@@ -71,7 +71,7 @@ declare const carouselProps: {
71
71
  readonly type: EpPropFinalized<StringConstructor, "" | "card", unknown, "", boolean>;
72
72
  readonly cardScale: EpPropFinalized<NumberConstructor, unknown, unknown, 0.83, boolean>;
73
73
  readonly loop: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
74
- readonly direction: EpPropFinalized<StringConstructor, "vertical" | "horizontal", unknown, "horizontal", boolean>;
74
+ readonly direction: EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
75
75
  readonly pauseOnHover: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
76
76
  readonly motionBlur: BooleanConstructor;
77
77
  };
@@ -17,9 +17,9 @@ declare const __VLS_base: vue.DefineComponent<CarouselProps, {
17
17
  onChange?: ((current: number, prev: number) => any) | undefined;
18
18
  }>, {
19
19
  type: "" | "card";
20
- direction: "horizontal" | "vertical";
21
20
  loop: boolean;
22
21
  trigger: "hover" | "click";
22
+ direction: "horizontal" | "vertical";
23
23
  height: string;
24
24
  arrow: "always" | "hover" | "never";
25
25
  initialIndex: number;
@@ -180,7 +180,7 @@ declare const cascaderProps: {
180
180
  new (): any;
181
181
  readonly prototype: any;
182
182
  }) | null)[], unknown, unknown, () => true, boolean>;
183
- placement: EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, string, boolean>;
183
+ placement: EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, string, boolean>;
184
184
  fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, string[], boolean>;
185
185
  popperClass: {
186
186
  readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | {
@@ -294,14 +294,14 @@ declare const cascaderProps: {
294
294
  effect: EpPropFinalized<(new (...args: any[]) => string) | (() => PopperEffect) | (((new (...args: any[]) => string) | (() => PopperEffect)) | null)[], unknown, unknown, string, boolean>;
295
295
  tagType: {
296
296
  default: string;
297
- type: vue.PropType<EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>>;
297
+ type: vue.PropType<EpPropMergeType<StringConstructor, "danger" | "primary" | "success" | "warning" | "info", unknown>>;
298
298
  required: false;
299
299
  validator: ((val: unknown) => boolean) | undefined;
300
300
  __epPropKey: true;
301
301
  };
302
302
  tagEffect: {
303
303
  default: string;
304
- type: vue.PropType<EpPropMergeType<StringConstructor, "light" | "dark" | "plain", unknown>>;
304
+ type: vue.PropType<EpPropMergeType<StringConstructor, "dark" | "light" | "plain", unknown>>;
305
305
  required: false;
306
306
  validator: ((val: unknown) => boolean) | undefined;
307
307
  __epPropKey: true;
@@ -36,45 +36,45 @@ declare const __VLS_base: vue.DefineComponent<CascaderComponentProps, {
36
36
  focus: () => void; /** @description blur the input element */
37
37
  blur: () => void;
38
38
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
39
- blur: (evt: FocusEvent) => void;
40
- focus: (evt: FocusEvent) => void;
41
- change: (value: CascaderValue | null | undefined) => void;
42
39
  "update:modelValue": (value: CascaderValue | null | undefined) => void;
40
+ focus: (evt: FocusEvent) => void;
41
+ blur: (evt: FocusEvent) => void;
43
42
  clear: () => void;
43
+ change: (value: CascaderValue | null | undefined) => void;
44
44
  visibleChange: (val: boolean) => void;
45
45
  expandChange: (val: CascaderValue) => void;
46
46
  removeTag: (val: CascaderNodeValue | CascaderNodePathValue) => void;
47
47
  }, string, vue.PublicProps, Readonly<CascaderComponentProps> & Readonly<{
48
- onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
49
- onBlur?: ((evt: FocusEvent) => any) | undefined;
50
- onFocus?: ((evt: FocusEvent) => any) | undefined;
51
48
  "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
49
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
50
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
51
+ onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
52
52
  onClear?: (() => any) | undefined;
53
53
  onVisibleChange?: ((val: boolean) => any) | undefined;
54
54
  onExpandChange?: ((val: CascaderValue) => any) | undefined;
55
55
  onRemoveTag?: ((val: CascaderNodeValue | CascaderNodePathValue) => any) | undefined;
56
56
  }>, {
57
- props: CascaderProps;
58
- teleported: boolean;
59
- effect: PopperEffect;
60
57
  disabled: boolean;
61
58
  clearIcon: IconPropType;
62
59
  validateEvent: boolean;
63
60
  separator: string;
61
+ props: CascaderProps;
62
+ effect: PopperEffect;
64
63
  popperStyle: string | false | vue.CSSProperties | StyleValue[] | null;
65
64
  fallbackPlacements: Placement[];
66
65
  placement: Placement;
67
66
  persistent: boolean;
67
+ teleported: boolean;
68
68
  options: CascaderOption[];
69
- debounce: number;
70
69
  valueOnClear: string | number | boolean | Function | null;
71
70
  showPrefix: boolean;
72
71
  filterMethod: (node: Node, keyword: string) => boolean;
73
72
  showAllLevels: boolean;
74
73
  maxCollapseTags: number;
74
+ debounce: number;
75
75
  beforeFilter: (value: string) => boolean | Promise<any>;
76
- tagType: "info" | "primary" | "success" | "warning" | "danger";
77
- tagEffect: "light" | "dark" | "plain";
76
+ tagType: "danger" | "primary" | "success" | "warning" | "info";
77
+ tagEffect: "dark" | "light" | "plain";
78
78
  showCheckedStrategy: "parent" | "child";
79
79
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
80
80
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -269,18 +269,18 @@ declare const __VLS_base: vue.DefineComponent<CascaderPanelProps, {
269
269
  scrollToExpandingNode: () => void;
270
270
  loadLazyRootNodes: () => void;
271
271
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
272
+ "update:modelValue": (value: CascaderValue | null | undefined) => void;
272
273
  close: () => void;
273
274
  change: (value: CascaderValue | null | undefined) => void;
274
- "update:modelValue": (value: CascaderValue | null | undefined) => void;
275
275
  "expand-change": (value: CascaderNodePathValue) => void;
276
276
  }, string, vue.PublicProps, Readonly<CascaderPanelProps> & Readonly<{
277
+ "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
277
278
  onChange?: ((value: CascaderValue | null | undefined) => any) | undefined;
278
279
  onClose?: (() => any) | undefined;
279
- "onUpdate:modelValue"?: ((value: CascaderValue | null | undefined) => any) | undefined;
280
280
  "onExpand-change"?: ((value: CascaderNodePathValue) => any) | undefined;
281
281
  }>, {
282
- props: CascaderProps;
283
282
  border: boolean;
283
+ props: CascaderProps;
284
284
  options: CascaderOption[];
285
285
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
286
286
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -24,7 +24,7 @@ interface CheckTagProps {
24
24
  declare const checkTagProps: {
25
25
  readonly checked: BooleanConstructor;
26
26
  readonly disabled: BooleanConstructor;
27
- readonly type: EpPropFinalized<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown, "primary", boolean>;
27
+ readonly type: EpPropFinalized<StringConstructor, "danger" | "primary" | "success" | "warning" | "info", unknown, "primary", boolean>;
28
28
  };
29
29
  /**
30
30
  * @deprecated Removed after 3.0.0, Use `CheckTagProps` instead.
@@ -8,11 +8,11 @@ type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_1) => any;
9
9
  };
10
10
  declare const __VLS_base: vue.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
11
- change: (val: CheckboxValueType) => void;
12
11
  "update:modelValue": (val: CheckboxValueType) => void;
12
+ change: (val: CheckboxValueType) => void;
13
13
  }, string, vue.PublicProps, Readonly<CheckboxProps> & Readonly<{
14
- onChange?: ((val: CheckboxValueType) => any) | undefined;
15
14
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
15
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
16
16
  }>, {
17
17
  id: string;
18
18
  disabled: boolean;
@@ -9,21 +9,21 @@ type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
11
  declare const __VLS_base: vue.DefineComponent<CheckboxGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
12
- change: (val: CheckboxValueType[]) => void;
13
12
  "update:modelValue": (val: CheckboxGroupValueType) => void;
13
+ change: (val: CheckboxValueType[]) => void;
14
14
  }, string, vue.PublicProps, Readonly<CheckboxGroupProps> & Readonly<{
15
- onChange?: ((val: CheckboxValueType[]) => any) | undefined;
16
15
  "onUpdate:modelValue"?: ((val: CheckboxGroupValueType) => any) | undefined;
16
+ onChange?: ((val: CheckboxValueType[]) => any) | undefined;
17
17
  }>, {
18
+ disabled: boolean;
19
+ modelValue: CheckboxGroupValueType;
18
20
  type: "checkbox" | "button";
21
+ validateEvent: boolean;
19
22
  props: {
20
23
  value?: string;
21
24
  label?: string;
22
25
  disabled?: string;
23
26
  };
24
- disabled: boolean;
25
- modelValue: CheckboxGroupValueType;
26
- validateEvent: boolean;
27
27
  tag: string;
28
28
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -8,11 +8,11 @@ type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_10) => any;
9
9
  };
10
10
  declare const __VLS_base: vue.DefineComponent<CheckboxProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
11
- change: (val: CheckboxValueType) => void;
12
11
  "update:modelValue": (val: CheckboxValueType) => void;
12
+ change: (val: CheckboxValueType) => void;
13
13
  }, string, vue.PublicProps, Readonly<CheckboxProps> & Readonly<{
14
- onChange?: ((val: CheckboxValueType) => any) | undefined;
15
14
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
15
+ onChange?: ((val: CheckboxValueType) => any) | undefined;
16
16
  }>, {
17
17
  id: string;
18
18
  disabled: boolean;
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
10
  declare const __VLS_base: vue.DefineComponent<ColProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ColProps> & Readonly<{}>, {
11
- offset: number;
12
11
  push: number;
12
+ offset: number;
13
13
  tag: string;
14
14
  span: number;
15
15
  pull: number;
@@ -19,8 +19,8 @@ type __VLS_Slots = {} & {
19
19
  declare const __VLS_base: vue.DefineComponent<CollapseItemProps, {
20
20
  /** @description current collapse-item whether active */isActive: vue.ComputedRef<boolean | undefined>;
21
21
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<CollapseItemProps> & Readonly<{}>, {
22
- title: string;
23
22
  icon: IconPropType;
23
+ title: string;
24
24
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
@@ -11,11 +11,11 @@ declare const __VLS_base: vue.DefineComponent<CollapseProps, {
11
11
  /** @description active names */activeNames: vue.Ref<(string | number)[], (string | number)[]>; /** @description set active names */
12
12
  setActiveNames: (_activeNames: CollapseActiveName[]) => void;
13
13
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
14
- change: (value: CollapseModelValue) => void;
15
14
  "update:modelValue": (value: CollapseModelValue) => void;
15
+ change: (value: CollapseModelValue) => void;
16
16
  }, string, vue.PublicProps, Readonly<CollapseProps> & Readonly<{
17
- onChange?: ((value: CollapseModelValue) => any) | undefined;
18
17
  "onUpdate:modelValue"?: ((value: CollapseModelValue) => any) | undefined;
18
+ onChange?: ((value: CollapseModelValue) => any) | undefined;
19
19
  }>, {
20
20
  modelValue: CollapseModelValue;
21
21
  expandIconPosition: CollapseIconPositionType;
@@ -210,7 +210,7 @@ declare const colorPickerProps: {
210
210
  readonly tabindex: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
211
211
  readonly teleported: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
212
212
  readonly appendTo: {
213
- readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>) | (((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>)) | null)[], unknown, unknown>>;
213
+ readonly type: vue.PropType<EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
214
214
  readonly required: false;
215
215
  readonly validator: ((val: unknown) => boolean) | undefined;
216
216
  __epPropKey: true;
@@ -29,21 +29,20 @@ declare const __VLS_export: vue.DefineComponent<ColorPickerProps, {
29
29
  */
30
30
  blur: typeof blur;
31
31
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
32
- blur: (evt: FocusEvent) => void;
33
- focus: (evt: FocusEvent) => void;
34
- change: (val: string | null) => void;
35
32
  "update:modelValue": (val: string | null) => void;
33
+ focus: (evt: FocusEvent) => void;
34
+ blur: (evt: FocusEvent) => void;
36
35
  clear: () => void;
36
+ change: (val: string | null) => void;
37
37
  activeChange: (val: string | null) => void;
38
38
  }, string, vue.PublicProps, Readonly<ColorPickerProps> & Readonly<{
39
- onChange?: ((val: string | null) => any) | undefined;
40
- onBlur?: ((evt: FocusEvent) => any) | undefined;
41
- onFocus?: ((evt: FocusEvent) => any) | undefined;
42
39
  "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
40
+ onFocus?: ((evt: FocusEvent) => any) | undefined;
41
+ onBlur?: ((evt: FocusEvent) => any) | undefined;
42
+ onChange?: ((val: string | null) => any) | undefined;
43
43
  onClear?: (() => any) | undefined;
44
44
  onActiveChange?: ((val: string | null) => any) | undefined;
45
45
  }>, {
46
- teleported: boolean;
47
46
  disabled: boolean;
48
47
  modelValue: string | null;
49
48
  clearable: boolean;
@@ -51,6 +50,7 @@ declare const __VLS_export: vue.DefineComponent<ColorPickerProps, {
51
50
  validateEvent: boolean;
52
51
  popperStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
53
52
  persistent: boolean;
53
+ teleported: boolean;
54
54
  valueOnClear: string | number | boolean | Function | null;
55
55
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
56
56
  declare const _default: typeof __VLS_export;
@@ -33,7 +33,7 @@ declare function useGlobalComponentSettings(block: string, sizeFallback?: MaybeR
33
33
  currentZIndex: vue.ComputedRef<number>;
34
34
  nextZIndex: () => number;
35
35
  };
36
- size: vue.ComputedRef<"default" | "" | "small" | "large">;
36
+ size: vue.ComputedRef<"" | "default" | "small" | "large">;
37
37
  };
38
38
  declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => vue.ComputedRef<Partial<ConfigProviderProps>> | undefined;
39
39
  //#endregion
@@ -11,8 +11,8 @@ declare const __VLS_base: vue.DefineComponent<CountdownProps, {
11
11
  */
12
12
  displayValue: vue.ComputedRef<string>;
13
13
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
14
- change: (value: number) => void;
15
14
  finish: () => void;
15
+ change: (value: number) => void;
16
16
  }, string, vue.PublicProps, Readonly<CountdownProps> & Readonly<{
17
17
  onChange?: ((value: number) => any) | undefined;
18
18
  onFinish?: (() => any) | undefined;