@element-plus/nightly 0.0.20260427 → 0.0.20260429

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 (644) hide show
  1. package/dist/index.full.js +101 -59
  2. package/dist/index.full.min.js +6 -6
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +6 -6
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +101 -59
  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-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hi.js +1 -1
  92. package/dist/locale/hi.min.js +1 -1
  93. package/dist/locale/hi.min.mjs +1 -1
  94. package/dist/locale/hi.mjs +1 -1
  95. package/dist/locale/hr.js +1 -1
  96. package/dist/locale/hr.min.js +1 -1
  97. package/dist/locale/hr.min.mjs +1 -1
  98. package/dist/locale/hr.mjs +1 -1
  99. package/dist/locale/hu.js +1 -1
  100. package/dist/locale/hu.min.js +1 -1
  101. package/dist/locale/hu.min.mjs +1 -1
  102. package/dist/locale/hu.mjs +1 -1
  103. package/dist/locale/hy-am.js +1 -1
  104. package/dist/locale/hy-am.min.js +1 -1
  105. package/dist/locale/hy-am.min.mjs +1 -1
  106. package/dist/locale/hy-am.mjs +1 -1
  107. package/dist/locale/id.js +1 -1
  108. package/dist/locale/id.min.js +1 -1
  109. package/dist/locale/id.min.mjs +1 -1
  110. package/dist/locale/id.mjs +1 -1
  111. package/dist/locale/it.js +1 -1
  112. package/dist/locale/it.min.js +1 -1
  113. package/dist/locale/it.min.mjs +1 -1
  114. package/dist/locale/it.mjs +1 -1
  115. package/dist/locale/ja.js +1 -1
  116. package/dist/locale/ja.min.js +1 -1
  117. package/dist/locale/ja.min.mjs +1 -1
  118. package/dist/locale/ja.mjs +1 -1
  119. package/dist/locale/kk.js +1 -1
  120. package/dist/locale/kk.min.js +1 -1
  121. package/dist/locale/kk.min.mjs +1 -1
  122. package/dist/locale/kk.mjs +1 -1
  123. package/dist/locale/km.js +1 -1
  124. package/dist/locale/km.min.js +1 -1
  125. package/dist/locale/km.min.mjs +1 -1
  126. package/dist/locale/km.mjs +1 -1
  127. package/dist/locale/ko.js +1 -1
  128. package/dist/locale/ko.min.js +1 -1
  129. package/dist/locale/ko.min.mjs +1 -1
  130. package/dist/locale/ko.mjs +1 -1
  131. package/dist/locale/ku.js +1 -1
  132. package/dist/locale/ku.min.js +1 -1
  133. package/dist/locale/ku.min.mjs +1 -1
  134. package/dist/locale/ku.mjs +1 -1
  135. package/dist/locale/ky.js +1 -1
  136. package/dist/locale/ky.min.js +1 -1
  137. package/dist/locale/ky.min.mjs +1 -1
  138. package/dist/locale/ky.mjs +1 -1
  139. package/dist/locale/lo.js +1 -1
  140. package/dist/locale/lo.min.js +1 -1
  141. package/dist/locale/lo.min.mjs +1 -1
  142. package/dist/locale/lo.mjs +1 -1
  143. package/dist/locale/lt.js +1 -1
  144. package/dist/locale/lt.min.js +1 -1
  145. package/dist/locale/lt.min.mjs +1 -1
  146. package/dist/locale/lt.mjs +1 -1
  147. package/dist/locale/lv.js +1 -1
  148. package/dist/locale/lv.min.js +1 -1
  149. package/dist/locale/lv.min.mjs +1 -1
  150. package/dist/locale/lv.mjs +1 -1
  151. package/dist/locale/mg.js +1 -1
  152. package/dist/locale/mg.min.js +1 -1
  153. package/dist/locale/mg.min.mjs +1 -1
  154. package/dist/locale/mg.mjs +1 -1
  155. package/dist/locale/mn.js +1 -1
  156. package/dist/locale/mn.min.js +1 -1
  157. package/dist/locale/mn.min.mjs +1 -1
  158. package/dist/locale/mn.mjs +1 -1
  159. package/dist/locale/ms.js +1 -1
  160. package/dist/locale/ms.min.js +1 -1
  161. package/dist/locale/ms.min.mjs +1 -1
  162. package/dist/locale/ms.mjs +1 -1
  163. package/dist/locale/my.js +1 -1
  164. package/dist/locale/my.min.js +1 -1
  165. package/dist/locale/my.min.mjs +1 -1
  166. package/dist/locale/my.mjs +1 -1
  167. package/dist/locale/nb-no.js +1 -1
  168. package/dist/locale/nb-no.min.js +1 -1
  169. package/dist/locale/nb-no.min.mjs +1 -1
  170. package/dist/locale/nb-no.mjs +1 -1
  171. package/dist/locale/nl.js +1 -1
  172. package/dist/locale/nl.min.js +1 -1
  173. package/dist/locale/nl.min.mjs +1 -1
  174. package/dist/locale/nl.mjs +1 -1
  175. package/dist/locale/no.js +1 -1
  176. package/dist/locale/no.min.js +1 -1
  177. package/dist/locale/no.min.mjs +1 -1
  178. package/dist/locale/no.mjs +1 -1
  179. package/dist/locale/pa.js +1 -1
  180. package/dist/locale/pa.min.js +1 -1
  181. package/dist/locale/pa.min.mjs +1 -1
  182. package/dist/locale/pa.mjs +1 -1
  183. package/dist/locale/pl.js +1 -1
  184. package/dist/locale/pl.min.js +1 -1
  185. package/dist/locale/pl.min.mjs +1 -1
  186. package/dist/locale/pl.mjs +1 -1
  187. package/dist/locale/pt-br.js +1 -1
  188. package/dist/locale/pt-br.min.js +1 -1
  189. package/dist/locale/pt-br.min.mjs +1 -1
  190. package/dist/locale/pt-br.mjs +1 -1
  191. package/dist/locale/pt.js +1 -1
  192. package/dist/locale/pt.min.js +1 -1
  193. package/dist/locale/pt.min.mjs +1 -1
  194. package/dist/locale/pt.mjs +1 -1
  195. package/dist/locale/ro.js +1 -1
  196. package/dist/locale/ro.min.js +1 -1
  197. package/dist/locale/ro.min.mjs +1 -1
  198. package/dist/locale/ro.mjs +1 -1
  199. package/dist/locale/ru.js +1 -1
  200. package/dist/locale/ru.min.js +1 -1
  201. package/dist/locale/ru.min.mjs +1 -1
  202. package/dist/locale/ru.mjs +1 -1
  203. package/dist/locale/sk.js +1 -1
  204. package/dist/locale/sk.min.js +1 -1
  205. package/dist/locale/sk.min.mjs +1 -1
  206. package/dist/locale/sk.mjs +1 -1
  207. package/dist/locale/sl.js +1 -1
  208. package/dist/locale/sl.min.js +1 -1
  209. package/dist/locale/sl.min.mjs +1 -1
  210. package/dist/locale/sl.mjs +1 -1
  211. package/dist/locale/sr.js +1 -1
  212. package/dist/locale/sr.min.js +1 -1
  213. package/dist/locale/sr.min.mjs +1 -1
  214. package/dist/locale/sr.mjs +1 -1
  215. package/dist/locale/sv.js +1 -1
  216. package/dist/locale/sv.min.js +1 -1
  217. package/dist/locale/sv.min.mjs +1 -1
  218. package/dist/locale/sv.mjs +1 -1
  219. package/dist/locale/sw.js +1 -1
  220. package/dist/locale/sw.min.js +1 -1
  221. package/dist/locale/sw.min.mjs +1 -1
  222. package/dist/locale/sw.mjs +1 -1
  223. package/dist/locale/ta.js +1 -1
  224. package/dist/locale/ta.min.js +1 -1
  225. package/dist/locale/ta.min.mjs +1 -1
  226. package/dist/locale/ta.mjs +1 -1
  227. package/dist/locale/te.js +1 -1
  228. package/dist/locale/te.min.js +1 -1
  229. package/dist/locale/te.min.mjs +1 -1
  230. package/dist/locale/te.mjs +1 -1
  231. package/dist/locale/th.js +1 -1
  232. package/dist/locale/th.min.js +1 -1
  233. package/dist/locale/th.min.mjs +1 -1
  234. package/dist/locale/th.mjs +1 -1
  235. package/dist/locale/tk.js +1 -1
  236. package/dist/locale/tk.min.js +1 -1
  237. package/dist/locale/tk.min.mjs +1 -1
  238. package/dist/locale/tk.mjs +1 -1
  239. package/dist/locale/tr.js +1 -1
  240. package/dist/locale/tr.min.js +1 -1
  241. package/dist/locale/tr.min.mjs +1 -1
  242. package/dist/locale/tr.mjs +1 -1
  243. package/dist/locale/ug-cn.js +1 -1
  244. package/dist/locale/ug-cn.min.js +1 -1
  245. package/dist/locale/ug-cn.min.mjs +1 -1
  246. package/dist/locale/ug-cn.mjs +1 -1
  247. package/dist/locale/uk.js +1 -1
  248. package/dist/locale/uk.min.js +1 -1
  249. package/dist/locale/uk.min.mjs +1 -1
  250. package/dist/locale/uk.mjs +1 -1
  251. package/dist/locale/uz-uz.js +1 -1
  252. package/dist/locale/uz-uz.min.js +1 -1
  253. package/dist/locale/uz-uz.min.mjs +1 -1
  254. package/dist/locale/uz-uz.mjs +1 -1
  255. package/dist/locale/vi.js +1 -1
  256. package/dist/locale/vi.min.js +1 -1
  257. package/dist/locale/vi.min.mjs +1 -1
  258. package/dist/locale/vi.mjs +1 -1
  259. package/dist/locale/zh-cn.js +1 -1
  260. package/dist/locale/zh-cn.min.js +1 -1
  261. package/dist/locale/zh-cn.min.mjs +1 -1
  262. package/dist/locale/zh-cn.mjs +1 -1
  263. package/dist/locale/zh-hk.js +1 -1
  264. package/dist/locale/zh-hk.min.js +1 -1
  265. package/dist/locale/zh-hk.min.mjs +1 -1
  266. package/dist/locale/zh-hk.mjs +1 -1
  267. package/dist/locale/zh-mo.js +1 -1
  268. package/dist/locale/zh-mo.min.js +1 -1
  269. package/dist/locale/zh-mo.min.mjs +1 -1
  270. package/dist/locale/zh-mo.mjs +1 -1
  271. package/dist/locale/zh-tw.js +1 -1
  272. package/dist/locale/zh-tw.min.js +1 -1
  273. package/dist/locale/zh-tw.min.mjs +1 -1
  274. package/dist/locale/zh-tw.mjs +1 -1
  275. package/es/components/affix/src/affix.vue.d.ts +4 -4
  276. package/es/components/anchor/src/anchor.d.ts +1 -1
  277. package/es/components/anchor/src/anchor.vue.d.ts +3 -3
  278. package/es/components/autocomplete/src/autocomplete.d.ts +5 -10
  279. package/es/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
  280. package/es/components/avatar/src/avatar-group-props.d.ts +4 -8
  281. package/es/components/avatar/src/avatar-group-props.mjs +9 -5
  282. package/es/components/avatar/src/avatar-group-props.mjs.map +1 -1
  283. package/es/components/avatar/src/avatar-group.d.ts +9 -15
  284. package/es/components/avatar/src/avatar.d.ts +2 -2
  285. package/es/components/backtop/src/backtop.vue.d.ts +2 -2
  286. package/es/components/badge/src/badge.d.ts +2 -7
  287. package/es/components/badge/src/badge.mjs +9 -5
  288. package/es/components/badge/src/badge.mjs.map +1 -1
  289. package/es/components/button/src/button.d.ts +1 -1
  290. package/es/components/button/src/button.vue.d.ts +5 -5
  291. package/es/components/calendar/src/calendar.d.ts +1 -1
  292. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  293. package/es/components/card/src/card.d.ts +1 -1
  294. package/es/components/card/src/card.mjs +2 -1
  295. package/es/components/card/src/card.mjs.map +1 -1
  296. package/es/components/card/src/card.vue.d.ts +1 -1
  297. package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
  298. package/es/components/carousel/src/carousel.d.ts +3 -3
  299. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  300. package/es/components/cascader/src/cascader.d.ts +3 -8
  301. package/es/components/cascader/src/cascader.vue.d.ts +15 -15
  302. package/es/components/cascader-panel/src/index.vue.d.ts +1 -1
  303. package/es/components/cascader-panel/src/menu.vue.d.ts +1 -1
  304. package/es/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
  305. package/es/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  306. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  307. package/es/components/checkbox/src/checkbox.vue.d.ts +4 -4
  308. package/es/components/collapse/src/collapse.vue.d.ts +1 -1
  309. package/es/components/color-picker/src/color-picker.d.ts +1 -6
  310. package/es/components/color-picker/src/color-picker.vue.d.ts +10 -10
  311. package/es/components/color-picker-panel/src/color-picker-panel.d.ts +1 -6
  312. package/es/components/color-picker-panel/src/color-picker-panel.mjs +9 -5
  313. package/es/components/color-picker-panel/src/color-picker-panel.mjs.map +1 -1
  314. package/es/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
  315. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  316. package/es/components/countdown/src/countdown.d.ts +2 -7
  317. package/es/components/countdown/src/countdown.mjs +9 -5
  318. package/es/components/countdown/src/countdown.mjs.map +1 -1
  319. package/es/components/countdown/src/countdown.vue.d.ts +1 -1
  320. package/es/components/date-picker/src/date-picker.d.ts +11 -20
  321. package/es/components/date-picker/src/props.d.ts +2 -7
  322. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  323. package/es/components/descriptions/src/description-item.d.ts +13 -13
  324. package/es/components/descriptions/src/description.d.ts +1 -1
  325. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  326. package/es/components/dialog/src/dialog.vue.d.ts +8 -8
  327. package/es/components/divider/src/divider.d.ts +1 -1
  328. package/es/components/divider/src/divider.vue.d.ts +1 -1
  329. package/es/components/drawer/src/drawer.vue.d.ts +12 -12
  330. package/es/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
  331. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  332. package/es/components/dropdown/src/dropdown.d.ts +4 -9
  333. package/es/components/dropdown/src/dropdown.vue.d.ts +117 -122
  334. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  335. package/es/components/form/src/form-item.d.ts +1 -1
  336. package/es/components/form/src/form.d.ts +1 -1
  337. package/es/components/form/src/form.vue.d.ts +1 -1
  338. package/es/components/image/src/image.d.ts +1 -1
  339. package/es/components/image/src/image.vue.d.ts +2 -2
  340. package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  341. package/es/components/input/src/input.d.ts +3 -3
  342. package/es/components/input/src/input.mjs +2 -1
  343. package/es/components/input/src/input.mjs.map +1 -1
  344. package/es/components/input/src/input.vue.d.ts +9 -9
  345. package/es/components/input-number/src/input-number.d.ts +1 -1
  346. package/es/components/input-number/src/input-number.vue.d.ts +9 -9
  347. package/es/components/input-otp/src/input-otp.vue.d.ts +5 -5
  348. package/es/components/input-tag/src/input-tag.d.ts +1 -1
  349. package/es/components/input-tag/src/input-tag.vue.d.ts +11 -11
  350. package/es/components/link/src/link.d.ts +1 -1
  351. package/es/components/link/src/link.vue.d.ts +1 -1
  352. package/es/components/mention/src/mention.d.ts +4 -9
  353. package/es/components/mention/src/mention.vue.d.ts +4 -4
  354. package/es/components/menu/src/menu.d.ts +9 -9
  355. package/es/components/menu/src/sub-menu.d.ts +1 -1
  356. package/es/components/message/src/message.vue.d.ts +5 -5
  357. package/es/components/notification/src/notification.vue.d.ts +6 -6
  358. package/es/components/page-header/src/page-header.vue.d.ts +1 -1
  359. package/es/components/pagination/src/pagination.d.ts +2 -2
  360. package/es/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  361. package/es/components/popover/src/popover.d.ts +3 -8
  362. package/es/components/popover/src/popover.vue.d.ts +2 -2
  363. package/es/components/popper/src/composables/use-content.d.ts +3 -3
  364. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  365. package/es/components/popper/src/content.d.ts +8 -28
  366. package/es/components/popper/src/content.mjs +18 -10
  367. package/es/components/popper/src/content.mjs.map +1 -1
  368. package/es/components/popper/src/content.vue.d.ts +6 -6
  369. package/es/components/popper/src/popper.d.ts +2 -2
  370. package/es/components/progress/src/progress.d.ts +1 -1
  371. package/es/components/progress/src/progress.vue.d.ts +2 -2
  372. package/es/components/radio/src/radio-button.d.ts +3 -3
  373. package/es/components/radio/src/radio-button.vue.d.ts +2 -2
  374. package/es/components/radio/src/radio-group.vue.d.ts +4 -4
  375. package/es/components/radio/src/radio.d.ts +6 -6
  376. package/es/components/radio/src/radio.vue.d.ts +4 -4
  377. package/es/components/rate/src/rate.vue.d.ts +2 -2
  378. package/es/components/roving-focus-group/src/roving-focus-group.d.ts +2 -7
  379. package/es/components/roving-focus-group/src/roving-focus-group.mjs +9 -5
  380. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  381. package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +5 -14
  382. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
  383. package/es/components/row/src/row.vue.d.ts +1 -1
  384. package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
  385. package/es/components/scrollbar/src/scrollbar.mjs +6 -4
  386. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  387. package/es/components/scrollbar/src/scrollbar.vue.d.ts +5 -5
  388. package/es/components/segmented/index.d.ts +17 -3
  389. package/es/components/segmented/src/segmented.d.ts +2 -2
  390. package/es/components/segmented/src/segmented.vue.d.ts +1 -1
  391. package/es/components/select/src/option.d.ts +2 -2
  392. package/es/components/select/src/option.vue.d.ts +5 -5
  393. package/es/components/select/src/select.d.ts +3 -3
  394. package/es/components/select/src/select.vue.d.ts +91 -91
  395. package/es/components/select-v2/src/defaults.d.ts +2 -7
  396. package/es/components/select-v2/src/select.vue.d.ts +68 -77
  397. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  398. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  399. package/es/components/slider/src/button.vue.d.ts +1 -1
  400. package/es/components/slider/src/slider.vue.d.ts +8 -8
  401. package/es/components/space/src/space.d.ts +4 -4
  402. package/es/components/space/src/space.mjs +2 -1
  403. package/es/components/space/src/space.mjs.map +1 -1
  404. package/es/components/splitter/src/splitter.d.ts +1 -1
  405. package/es/components/statistic/src/statistic.d.ts +2 -7
  406. package/es/components/statistic/src/statistic.mjs +9 -5
  407. package/es/components/statistic/src/statistic.mjs.map +1 -1
  408. package/es/components/statistic/src/statistic.vue.d.ts +2 -2
  409. package/es/components/steps/src/steps.d.ts +1 -1
  410. package/es/components/steps/src/steps.vue.d.ts +1 -1
  411. package/es/components/switch/src/switch.vue.d.ts +4 -4
  412. package/es/components/table/src/table/defaults.mjs +2 -1
  413. package/es/components/table/src/table/defaults.mjs.map +1 -1
  414. package/es/components/table/src/table-column/index.d.ts +37 -40
  415. package/es/components/table/src/table-header/index.d.ts +32 -35
  416. package/es/components/table/src/table.vue.d.ts +73 -76
  417. package/es/components/table-v2/src/cell.d.ts +2 -7
  418. package/es/components/table-v2/src/cell.mjs +9 -5
  419. package/es/components/table-v2/src/cell.mjs.map +1 -1
  420. package/es/components/table-v2/src/table-grid.d.ts +1 -1
  421. package/es/components/table-v2/src/table-v2.d.ts +2 -2
  422. package/es/components/tabs/src/tabs.d.ts +4 -4
  423. package/es/components/tag/src/tag.vue.d.ts +2 -2
  424. package/es/components/time-picker/src/common/picker.vue.d.ts +17 -26
  425. package/es/components/time-picker/src/common/props.d.ts +2 -7
  426. package/es/components/time-picker/src/time-picker.d.ts +11 -20
  427. package/es/components/time-select/src/time-select.vue.d.ts +9 -9
  428. package/es/components/tooltip/src/content.d.ts +3 -13
  429. package/es/components/tooltip/src/content.vue.d.ts +4 -4
  430. package/es/components/tooltip/src/tooltip.d.ts +5 -15
  431. package/es/components/tooltip/src/tooltip.vue.d.ts +11 -11
  432. package/es/components/tooltip/src/trigger.d.ts +1 -1
  433. package/es/components/tour/src/content.d.ts +2 -2
  434. package/es/components/tour/src/step.d.ts +1 -1
  435. package/es/components/tour/src/tour.d.ts +1 -1
  436. package/es/components/tour/src/tour.vue.d.ts +5 -5
  437. package/es/components/transfer/src/transfer.vue.d.ts +1 -1
  438. package/es/components/tree/src/tree.vue.d.ts +44 -47
  439. package/es/components/tree-select/src/tree-select.vue.d.ts +40 -40
  440. package/es/components/tree-v2/src/tree.vue.d.ts +11 -11
  441. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  442. package/es/components/upload/src/upload.vue.d.ts +1 -1
  443. package/es/components/virtual-list/src/builders/build-grid.d.ts +6 -15
  444. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -15
  445. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +11 -20
  446. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -15
  447. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +11 -20
  448. package/es/components/virtual-list/src/props.d.ts +5 -20
  449. package/es/components/virtual-list/src/props.mjs +9 -5
  450. package/es/components/virtual-list/src/props.mjs.map +1 -1
  451. package/es/hooks/use-draggable/index.mjs +5 -4
  452. package/es/hooks/use-draggable/index.mjs.map +1 -1
  453. package/es/hooks/use-floating/index.d.ts +8 -8
  454. package/es/hooks/use-popper/index.d.ts +3 -3
  455. package/es/utils/vue/size.d.ts +1 -1
  456. package/es/utils/vue/typescript.d.ts +12 -4
  457. package/es/version.mjs +1 -1
  458. package/es/version.mjs.map +1 -1
  459. package/lib/components/affix/src/affix.vue.d.ts +4 -4
  460. package/lib/components/anchor/src/anchor.d.ts +1 -1
  461. package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
  462. package/lib/components/autocomplete/src/autocomplete.d.ts +5 -10
  463. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +4 -4
  464. package/lib/components/avatar/src/avatar-group-props.d.ts +4 -8
  465. package/lib/components/avatar/src/avatar-group-props.js +9 -5
  466. package/lib/components/avatar/src/avatar-group-props.js.map +1 -1
  467. package/lib/components/avatar/src/avatar-group.d.ts +9 -15
  468. package/lib/components/avatar/src/avatar.d.ts +2 -2
  469. package/lib/components/backtop/src/backtop.vue.d.ts +2 -2
  470. package/lib/components/badge/src/badge.d.ts +2 -7
  471. package/lib/components/badge/src/badge.js +9 -5
  472. package/lib/components/badge/src/badge.js.map +1 -1
  473. package/lib/components/button/src/button.d.ts +1 -1
  474. package/lib/components/button/src/button.vue.d.ts +5 -5
  475. package/lib/components/calendar/src/calendar.d.ts +1 -1
  476. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  477. package/lib/components/card/src/card.d.ts +1 -1
  478. package/lib/components/card/src/card.js +2 -1
  479. package/lib/components/card/src/card.js.map +1 -1
  480. package/lib/components/card/src/card.vue.d.ts +1 -1
  481. package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
  482. package/lib/components/carousel/src/carousel.d.ts +3 -3
  483. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  484. package/lib/components/cascader/src/cascader.d.ts +3 -8
  485. package/lib/components/cascader/src/cascader.vue.d.ts +15 -15
  486. package/lib/components/cascader-panel/src/index.vue.d.ts +1 -1
  487. package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -1
  488. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +4 -4
  489. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +2 -2
  490. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  491. package/lib/components/checkbox/src/checkbox.vue.d.ts +4 -4
  492. package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
  493. package/lib/components/color-picker/src/color-picker.d.ts +1 -6
  494. package/lib/components/color-picker/src/color-picker.vue.d.ts +10 -10
  495. package/lib/components/color-picker-panel/src/color-picker-panel.d.ts +1 -6
  496. package/lib/components/color-picker-panel/src/color-picker-panel.js +9 -5
  497. package/lib/components/color-picker-panel/src/color-picker-panel.js.map +1 -1
  498. package/lib/components/color-picker-panel/src/color-picker-panel.vue.d.ts +1 -1
  499. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  500. package/lib/components/countdown/src/countdown.d.ts +2 -7
  501. package/lib/components/countdown/src/countdown.js +9 -5
  502. package/lib/components/countdown/src/countdown.js.map +1 -1
  503. package/lib/components/countdown/src/countdown.vue.d.ts +1 -1
  504. package/lib/components/date-picker/src/date-picker.d.ts +11 -20
  505. package/lib/components/date-picker/src/props.d.ts +2 -7
  506. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +4 -4
  507. package/lib/components/descriptions/src/description-item.d.ts +13 -13
  508. package/lib/components/descriptions/src/description.d.ts +1 -1
  509. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  510. package/lib/components/dialog/src/dialog.vue.d.ts +8 -8
  511. package/lib/components/divider/src/divider.d.ts +1 -1
  512. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  513. package/lib/components/drawer/src/drawer.vue.d.ts +12 -12
  514. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
  515. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  516. package/lib/components/dropdown/src/dropdown.d.ts +4 -9
  517. package/lib/components/dropdown/src/dropdown.vue.d.ts +117 -122
  518. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  519. package/lib/components/form/src/form-item.d.ts +1 -1
  520. package/lib/components/form/src/form.d.ts +1 -1
  521. package/lib/components/form/src/form.vue.d.ts +1 -1
  522. package/lib/components/image/src/image.d.ts +1 -1
  523. package/lib/components/image/src/image.vue.d.ts +2 -2
  524. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  525. package/lib/components/input/src/input.d.ts +3 -3
  526. package/lib/components/input/src/input.js +2 -1
  527. package/lib/components/input/src/input.js.map +1 -1
  528. package/lib/components/input/src/input.vue.d.ts +9 -9
  529. package/lib/components/input-number/src/input-number.d.ts +1 -1
  530. package/lib/components/input-number/src/input-number.vue.d.ts +9 -9
  531. package/lib/components/input-otp/src/input-otp.vue.d.ts +5 -5
  532. package/lib/components/input-tag/src/input-tag.d.ts +1 -1
  533. package/lib/components/input-tag/src/input-tag.vue.d.ts +11 -11
  534. package/lib/components/link/src/link.d.ts +1 -1
  535. package/lib/components/link/src/link.vue.d.ts +1 -1
  536. package/lib/components/mention/src/mention.d.ts +4 -9
  537. package/lib/components/mention/src/mention.vue.d.ts +4 -4
  538. package/lib/components/menu/src/menu.d.ts +9 -9
  539. package/lib/components/menu/src/sub-menu.d.ts +1 -1
  540. package/lib/components/message/src/message.vue.d.ts +5 -5
  541. package/lib/components/notification/src/notification.vue.d.ts +6 -6
  542. package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
  543. package/lib/components/pagination/src/pagination.d.ts +2 -2
  544. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +1 -1
  545. package/lib/components/popover/src/popover.d.ts +3 -8
  546. package/lib/components/popover/src/popover.vue.d.ts +2 -2
  547. package/lib/components/popper/src/composables/use-content.d.ts +3 -3
  548. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  549. package/lib/components/popper/src/content.d.ts +8 -28
  550. package/lib/components/popper/src/content.js +18 -10
  551. package/lib/components/popper/src/content.js.map +1 -1
  552. package/lib/components/popper/src/content.vue.d.ts +6 -6
  553. package/lib/components/popper/src/popper.d.ts +2 -2
  554. package/lib/components/progress/src/progress.d.ts +1 -1
  555. package/lib/components/progress/src/progress.vue.d.ts +2 -2
  556. package/lib/components/radio/src/radio-button.d.ts +3 -3
  557. package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
  558. package/lib/components/radio/src/radio-group.vue.d.ts +4 -4
  559. package/lib/components/radio/src/radio.d.ts +6 -6
  560. package/lib/components/radio/src/radio.vue.d.ts +4 -4
  561. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  562. package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +2 -7
  563. package/lib/components/roving-focus-group/src/roving-focus-group.js +9 -5
  564. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  565. package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +5 -14
  566. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +2 -2
  567. package/lib/components/row/src/row.vue.d.ts +1 -1
  568. package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
  569. package/lib/components/scrollbar/src/scrollbar.js +6 -4
  570. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  571. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +5 -5
  572. package/lib/components/segmented/index.d.ts +17 -3
  573. package/lib/components/segmented/src/segmented.d.ts +2 -2
  574. package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
  575. package/lib/components/select/src/option.d.ts +2 -2
  576. package/lib/components/select/src/option.vue.d.ts +5 -5
  577. package/lib/components/select/src/select.d.ts +3 -3
  578. package/lib/components/select/src/select.vue.d.ts +91 -91
  579. package/lib/components/select-v2/src/defaults.d.ts +2 -7
  580. package/lib/components/select-v2/src/select.vue.d.ts +68 -77
  581. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  582. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  583. package/lib/components/slider/src/button.vue.d.ts +1 -1
  584. package/lib/components/slider/src/slider.vue.d.ts +8 -8
  585. package/lib/components/space/src/space.d.ts +4 -4
  586. package/lib/components/space/src/space.js +2 -1
  587. package/lib/components/space/src/space.js.map +1 -1
  588. package/lib/components/splitter/src/splitter.d.ts +1 -1
  589. package/lib/components/statistic/src/statistic.d.ts +2 -7
  590. package/lib/components/statistic/src/statistic.js +9 -5
  591. package/lib/components/statistic/src/statistic.js.map +1 -1
  592. package/lib/components/statistic/src/statistic.vue.d.ts +2 -2
  593. package/lib/components/steps/src/steps.d.ts +1 -1
  594. package/lib/components/steps/src/steps.vue.d.ts +1 -1
  595. package/lib/components/switch/src/switch.vue.d.ts +4 -4
  596. package/lib/components/table/src/table/defaults.js +2 -1
  597. package/lib/components/table/src/table/defaults.js.map +1 -1
  598. package/lib/components/table/src/table-column/index.d.ts +37 -40
  599. package/lib/components/table/src/table-header/index.d.ts +32 -35
  600. package/lib/components/table/src/table.vue.d.ts +73 -76
  601. package/lib/components/table-v2/src/cell.d.ts +2 -7
  602. package/lib/components/table-v2/src/cell.js +9 -5
  603. package/lib/components/table-v2/src/cell.js.map +1 -1
  604. package/lib/components/table-v2/src/table-grid.d.ts +1 -1
  605. package/lib/components/table-v2/src/table-v2.d.ts +2 -2
  606. package/lib/components/tabs/src/tabs.d.ts +4 -4
  607. package/lib/components/tag/src/tag.vue.d.ts +2 -2
  608. package/lib/components/time-picker/src/common/picker.vue.d.ts +17 -26
  609. package/lib/components/time-picker/src/common/props.d.ts +2 -7
  610. package/lib/components/time-picker/src/time-picker.d.ts +11 -20
  611. package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
  612. package/lib/components/tooltip/src/content.d.ts +3 -13
  613. package/lib/components/tooltip/src/content.vue.d.ts +4 -4
  614. package/lib/components/tooltip/src/tooltip.d.ts +5 -15
  615. package/lib/components/tooltip/src/tooltip.vue.d.ts +11 -11
  616. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  617. package/lib/components/tour/src/content.d.ts +2 -2
  618. package/lib/components/tour/src/step.d.ts +1 -1
  619. package/lib/components/tour/src/tour.d.ts +1 -1
  620. package/lib/components/tour/src/tour.vue.d.ts +5 -5
  621. package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
  622. package/lib/components/tree/src/tree.vue.d.ts +44 -47
  623. package/lib/components/tree-select/src/tree-select.vue.d.ts +40 -40
  624. package/lib/components/tree-v2/src/tree.vue.d.ts +11 -11
  625. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  626. package/lib/components/upload/src/upload.vue.d.ts +1 -1
  627. package/lib/components/virtual-list/src/builders/build-grid.d.ts +6 -15
  628. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -15
  629. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +11 -20
  630. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -15
  631. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +11 -20
  632. package/lib/components/virtual-list/src/props.d.ts +5 -20
  633. package/lib/components/virtual-list/src/props.js +9 -5
  634. package/lib/components/virtual-list/src/props.js.map +1 -1
  635. package/lib/hooks/use-draggable/index.js +5 -4
  636. package/lib/hooks/use-draggable/index.js.map +1 -1
  637. package/lib/hooks/use-floating/index.d.ts +8 -8
  638. package/lib/hooks/use-popper/index.d.ts +3 -3
  639. package/lib/utils/vue/size.d.ts +1 -1
  640. package/lib/utils/vue/typescript.d.ts +12 -4
  641. package/lib/version.js +1 -1
  642. package/lib/version.js.map +1 -1
  643. package/package.json +2 -2
  644. package/web-types.json +1 -1
@@ -26,19 +26,19 @@ declare const __VLS_base: vue.DefineComponent<SwitchProps, {
26
26
  */
27
27
  checked: vue.ComputedRef<boolean>;
28
28
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
29
- change: (val: string | number | boolean) => void;
30
29
  "update:modelValue": (val: string | number | boolean) => void;
30
+ change: (val: string | number | boolean) => void;
31
31
  input: (val: string | number | boolean) => void;
32
32
  }, string, vue.PublicProps, Readonly<SwitchProps> & Readonly<{
33
33
  onChange?: ((val: string | number | boolean) => any) | undefined;
34
- "onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
35
34
  onInput?: ((val: string | number | boolean) => any) | undefined;
35
+ "onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
36
36
  }>, {
37
37
  disabled: boolean;
38
+ width: string | number;
39
+ name: string;
38
40
  modelValue: boolean | string | number;
39
41
  validateEvent: boolean;
40
- name: string;
41
- width: string | number;
42
42
  activeText: string;
43
43
  inactiveText: string;
44
44
  activeValue: boolean | string | number;
@@ -67,7 +67,8 @@ var defaults_default = {
67
67
  type: [
68
68
  String,
69
69
  Object,
70
- Array
70
+ Array,
71
+ Boolean
71
72
  ],
72
73
  default: () => ({})
73
74
  },
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.js","names":["useSizeProp"],"sources":["../../../../../../../packages/components/table/src/table/defaults.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ComponentInternalInstance,\n PropType,\n Ref,\n StyleValue,\n VNode,\n} from 'vue'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Nullable } from '@element-plus/utils'\nimport type { Store } from '../store'\nimport type { TableColumnCtx } from '../table-column/defaults'\nimport type TableLayout from '../table-layout'\nimport type {\n TableOverflowTooltipFormatter,\n TableOverflowTooltipOptions,\n} from '../util'\n\ntype DefaultRow = Record<PropertyKey, any>\n\ninterface TableRefs {\n tableWrapper: HTMLElement\n headerWrapper: HTMLElement\n footerWrapper: HTMLElement\n fixedBodyWrapper: HTMLElement\n rightFixedBodyWrapper: HTMLElement\n bodyWrapper: HTMLElement\n appendWrapper: HTMLElement\n [key: string]: any\n}\n\ninterface TableState {\n isGroup: Ref<boolean>\n resizeState: Ref<{\n width: any\n height: any\n }>\n doLayout: () => void\n debouncedUpdateLayout: () => void\n}\n\ninterface TreeProps {\n hasChildren?: string\n children?: string\n checkStrictly?: boolean\n}\n\ntype HoverState<T extends DefaultRow> = Nullable<{\n cell: HTMLElement\n column: TableColumnCtx<T>\n row: T\n}>\n\ntype RIS<T extends DefaultRow> = {\n row: T\n $index: number\n store: Store<T>\n expanded: boolean\n}\n\ntype RenderExpanded<T extends DefaultRow> = ({\n row,\n $index,\n store,\n expanded,\n}: RIS<T>) => VNode[] | undefined\n\ntype SummaryMethod<T extends DefaultRow> = (data: {\n columns: TableColumnCtx<T>[]\n data: T[]\n}) => (string | VNode)[]\n\ninterface Table<T extends DefaultRow = any> extends ComponentInternalInstance {\n $ready: boolean\n hoverState?: HoverState<T> | null\n renderExpanded: RenderExpanded<T>\n store: Store<T>\n layout: TableLayout<T>\n refs: TableRefs\n tableId: string\n state: TableState\n}\n\ntype ColumnCls<T> = string | ((data: { row: T; rowIndex: number }) => string)\ntype ColumnStyle<T> =\n | CSSProperties\n | ((data: { row: T; rowIndex: number }) => CSSProperties)\ntype CellCls<T extends DefaultRow> =\n | string\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => string)\ntype CellStyle<T extends DefaultRow> =\n | CSSProperties\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => CSSProperties)\ntype Layout = 'fixed' | 'auto'\ninterface TableProps<T extends DefaultRow> {\n data: T[]\n size?: ComponentSize\n width?: string | number\n height?: string | number\n maxHeight?: string | number\n fit?: boolean\n stripe?: boolean\n border?: boolean\n rowKey?: string | ((row: T) => string)\n context?: Table<T>\n showHeader?: boolean\n showSummary?: boolean\n sumText?: string\n summaryMethod?: SummaryMethod<T>\n rowClassName?: ColumnCls<T>\n rowStyle?: ColumnStyle<T>\n cellClassName?: CellCls<T>\n cellStyle?: CellStyle<T>\n headerRowClassName?: ColumnCls<T>\n headerRowStyle?: ColumnStyle<T>\n headerCellClassName?: CellCls<T>\n headerCellStyle?: CellStyle<T>\n highlightCurrentRow?: boolean\n currentRowKey?: string | number\n emptyText?: string\n expandRowKeys?: Array<string>\n defaultExpandAll?: boolean\n rowExpandable?: (row: T, index: number) => boolean\n defaultSort?: Sort\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n spanMethod?: (data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) =>\n | number[]\n | {\n rowspan: number\n colspan: number\n }\n | undefined\n selectOnIndeterminate?: boolean\n indent?: number\n treeProps?: TreeProps\n lazy?: boolean\n load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void\n className?: string\n style?: StyleValue\n tableLayout?: Layout\n scrollbarAlwaysOn?: boolean\n flexible?: boolean\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<T>\n appendFilterPanelTo?: string\n scrollbarTabindex?: number | string\n nativeScrollbar?: boolean\n}\n\ntype TableTooltipData<T extends DefaultRow> = Parameters<\n TableOverflowTooltipFormatter<T>\n>[0]\ntype TableSortOrder = 'ascending' | 'descending'\n\ninterface Sort {\n prop: string\n order: TableSortOrder\n init?: any\n silent?: any\n}\n\ninterface Filter<T extends DefaultRow> {\n column: TableColumnCtx<T>\n values: string[]\n silent: any\n}\n\ninterface TreeNode {\n expanded?: boolean\n loading?: boolean\n noLazyChildren?: boolean\n indent?: number\n level?: number\n display?: boolean\n}\n\ninterface RenderRowData<T extends DefaultRow> {\n store: Store<T>\n _self: Table<T>\n column: TableColumnCtx<T>\n row: T\n $index: number\n cellIndex: number\n treeNode?: TreeNode\n expanded: boolean\n}\n\ninterface TableConfigContext {\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<any>\n}\n\nexport default {\n /**\n * @description table data\n */\n data: {\n type: Array as PropType<any[]>,\n default: () => [],\n },\n /**\n * @description size of Table\n */\n size: useSizeProp,\n width: [String, Number],\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height: [String, Number],\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight: [String, Number],\n /**\n * @description whether width of column automatically fits its container\n */\n fit: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether Table is striped\n */\n stripe: Boolean,\n /**\n * @description whether Table has vertical border\n */\n border: Boolean,\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey: [String, Function] as PropType<TableProps<any>['rowKey']>,\n /**\n * @description whether Table header is visible\n */\n showHeader: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to display a summary row\n */\n showSummary: Boolean,\n /**\n * @description displayed text for the first column of summary row\n */\n sumText: String,\n /**\n * @description custom summary method\n */\n summaryMethod: Function as PropType<TableProps<any>['summaryMethod']>,\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName: [String, Function] as PropType<TableProps<any>['rowClassName']>,\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle: [Object, Function] as PropType<TableProps<any>['rowStyle']>,\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName: [String, Function] as PropType<\n TableProps<any>['cellClassName']\n >,\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle: [Object, Function] as PropType<TableProps<any>['cellStyle']>,\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName: [String, Function] as PropType<\n TableProps<any>['headerRowClassName']\n >,\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle: [Object, Function] as PropType<\n TableProps<any>['headerRowStyle']\n >,\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName: [String, Function] as PropType<\n TableProps<any>['headerCellClassName']\n >,\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle: [Object, Function] as PropType<\n TableProps<any>['headerCellStyle']\n >,\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow: Boolean,\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey: [String, Number],\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText: String,\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys: Array as PropType<TableProps<any>['expandRowKeys']>,\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll: Boolean,\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable: {\n type: Function as PropType<TableProps<any>['rowExpandable']>,\n },\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort: Object as PropType<TableProps<any>['defaultSort']>,\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect: String,\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions: Object as PropType<TableProps<any>['tooltipOptions']>,\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod: Function as PropType<TableProps<any>['spanMethod']>,\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate: {\n type: Boolean,\n default: true,\n },\n /**\n * @description horizontal indentation of tree data\n */\n indent: {\n type: Number,\n default: 16,\n },\n /**\n * @description configuration for rendering nested data\n */\n treeProps: {\n type: Object as PropType<TableProps<any>['treeProps']>,\n default: () => {\n return {\n hasChildren: 'hasChildren',\n children: 'children',\n checkStrictly: false,\n }\n },\n },\n /**\n * @description whether to lazy loading data\n */\n lazy: Boolean,\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load: Function as PropType<TableProps<any>['load']>,\n style: {\n type: [String, Object, Array] as PropType<TableProps<any>['style']>,\n default: () => ({}),\n },\n className: {\n type: String,\n default: '',\n },\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout: {\n type: String as PropType<Layout>,\n default: 'fixed',\n },\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn: Boolean,\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible: Boolean,\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip: {\n type: [Boolean, Object] as PropType<TableProps<any>['showOverflowTooltip']>,\n default: undefined,\n },\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter: Function as PropType<TableProps<any>['tooltipFormatter']>,\n appendFilterPanelTo: String,\n scrollbarTabindex: {\n type: [Number, String],\n default: undefined,\n },\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent: Boolean,\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar: Boolean,\n}\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n DefaultRow,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TreeProps,\n TableTooltipData,\n TableSortOrder,\n RenderExpanded,\n TableConfigContext,\n}\n"],"mappings":";;;;AAoNA,uBAAe;CAIb,MAAM;EACJ,MAAM;EACN,eAAe,EAAE;EAClB;CAID,MAAMA;CACN,OAAO,CAAC,QAAQ,OAAO;CAIvB,QAAQ,CAAC,QAAQ,OAAO;CAIxB,WAAW,CAAC,QAAQ,OAAO;CAI3B,KAAK;EACH,MAAM;EACN,SAAS;EACV;CAID,QAAQ;CAIR,QAAQ;CAIR,QAAQ,CAAC,QAAQ,SAAS;CAI1B,YAAY;EACV,MAAM;EACN,SAAS;EACV;CAID,aAAa;CAIb,SAAS;CAIT,eAAe;CAIf,cAAc,CAAC,QAAQ,SAAS;CAIhC,UAAU,CAAC,QAAQ,SAAS;CAI5B,eAAe,CAAC,QAAQ,SAAS;CAMjC,WAAW,CAAC,QAAQ,SAAS;CAI7B,oBAAoB,CAAC,QAAQ,SAAS;CAMtC,gBAAgB,CAAC,QAAQ,SAAS;CAMlC,qBAAqB,CAAC,QAAQ,SAAS;CAMvC,iBAAiB,CAAC,QAAQ,SAAS;CAMnC,qBAAqB;CAIrB,eAAe,CAAC,QAAQ,OAAO;CAI/B,WAAW;CAIX,eAAe;CAIf,kBAAkB;CAIlB,eAAe,EACb,MAAM,UACP;CAID,aAAa;CAIb,eAAe;CAIf,gBAAgB;CAIhB,YAAY;CAIZ,uBAAuB;EACrB,MAAM;EACN,SAAS;EACV;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CAID,WAAW;EACT,MAAM;EACN,eAAe;AACb,UAAO;IACL,aAAa;IACb,UAAU;IACV,eAAe;IAChB;;EAEJ;CAID,MAAM;CAIN,MAAM;CACN,OAAO;EACL,MAAM;GAAC;GAAQ;GAAQ;GAAM;EAC7B,gBAAgB,EAAE;EACnB;CACD,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,aAAa;EACX,MAAM;EACN,SAAS;EACV;CAID,mBAAmB;CAInB,UAAU;CAIV,qBAAqB;EACnB,MAAM,CAAC,SAAS,OAAO;EACvB,SAAS;EACV;CAID,kBAAkB;CAClB,qBAAqB;CACrB,mBAAmB;EACjB,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS;EACV;CAID,qBAAqB;EACnB,MAAM;EACN,SAAS;EACV;CAID,yBAAyB;CAIzB,iBAAiB;CAClB"}
1
+ {"version":3,"file":"defaults.js","names":["useSizeProp"],"sources":["../../../../../../../packages/components/table/src/table/defaults.ts"],"sourcesContent":["import { useSizeProp } from '@element-plus/hooks'\n\nimport type {\n CSSProperties,\n ComponentInternalInstance,\n PropType,\n Ref,\n StyleValue,\n VNode,\n} from 'vue'\nimport type { ComponentSize } from '@element-plus/constants'\nimport type { Nullable } from '@element-plus/utils'\nimport type { Store } from '../store'\nimport type { TableColumnCtx } from '../table-column/defaults'\nimport type TableLayout from '../table-layout'\nimport type {\n TableOverflowTooltipFormatter,\n TableOverflowTooltipOptions,\n} from '../util'\n\ntype DefaultRow = Record<PropertyKey, any>\n\ninterface TableRefs {\n tableWrapper: HTMLElement\n headerWrapper: HTMLElement\n footerWrapper: HTMLElement\n fixedBodyWrapper: HTMLElement\n rightFixedBodyWrapper: HTMLElement\n bodyWrapper: HTMLElement\n appendWrapper: HTMLElement\n [key: string]: any\n}\n\ninterface TableState {\n isGroup: Ref<boolean>\n resizeState: Ref<{\n width: any\n height: any\n }>\n doLayout: () => void\n debouncedUpdateLayout: () => void\n}\n\ninterface TreeProps {\n hasChildren?: string\n children?: string\n checkStrictly?: boolean\n}\n\ntype HoverState<T extends DefaultRow> = Nullable<{\n cell: HTMLElement\n column: TableColumnCtx<T>\n row: T\n}>\n\ntype RIS<T extends DefaultRow> = {\n row: T\n $index: number\n store: Store<T>\n expanded: boolean\n}\n\ntype RenderExpanded<T extends DefaultRow> = ({\n row,\n $index,\n store,\n expanded,\n}: RIS<T>) => VNode[] | undefined\n\ntype SummaryMethod<T extends DefaultRow> = (data: {\n columns: TableColumnCtx<T>[]\n data: T[]\n}) => (string | VNode)[]\n\ninterface Table<T extends DefaultRow = any> extends ComponentInternalInstance {\n $ready: boolean\n hoverState?: HoverState<T> | null\n renderExpanded: RenderExpanded<T>\n store: Store<T>\n layout: TableLayout<T>\n refs: TableRefs\n tableId: string\n state: TableState\n}\n\ntype ColumnCls<T> = string | ((data: { row: T; rowIndex: number }) => string)\ntype ColumnStyle<T> =\n | CSSProperties\n | ((data: { row: T; rowIndex: number }) => CSSProperties)\ntype CellCls<T extends DefaultRow> =\n | string\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => string)\ntype CellStyle<T extends DefaultRow> =\n | CSSProperties\n | ((data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) => CSSProperties)\ntype Layout = 'fixed' | 'auto'\ninterface TableProps<T extends DefaultRow> {\n data: T[]\n size?: ComponentSize\n width?: string | number\n height?: string | number\n maxHeight?: string | number\n fit?: boolean\n stripe?: boolean\n border?: boolean\n rowKey?: string | ((row: T) => string)\n context?: Table<T>\n showHeader?: boolean\n showSummary?: boolean\n sumText?: string\n summaryMethod?: SummaryMethod<T>\n rowClassName?: ColumnCls<T>\n rowStyle?: ColumnStyle<T>\n cellClassName?: CellCls<T>\n cellStyle?: CellStyle<T>\n headerRowClassName?: ColumnCls<T>\n headerRowStyle?: ColumnStyle<T>\n headerCellClassName?: CellCls<T>\n headerCellStyle?: CellStyle<T>\n highlightCurrentRow?: boolean\n currentRowKey?: string | number\n emptyText?: string\n expandRowKeys?: Array<string>\n defaultExpandAll?: boolean\n rowExpandable?: (row: T, index: number) => boolean\n defaultSort?: Sort\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n spanMethod?: (data: {\n row: T\n rowIndex: number\n column: TableColumnCtx<T>\n columnIndex: number\n }) =>\n | number[]\n | {\n rowspan: number\n colspan: number\n }\n | undefined\n selectOnIndeterminate?: boolean\n indent?: number\n treeProps?: TreeProps\n lazy?: boolean\n load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void\n className?: string\n style?: StyleValue\n tableLayout?: Layout\n scrollbarAlwaysOn?: boolean\n flexible?: boolean\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<T>\n appendFilterPanelTo?: string\n scrollbarTabindex?: number | string\n nativeScrollbar?: boolean\n}\n\ntype TableTooltipData<T extends DefaultRow> = Parameters<\n TableOverflowTooltipFormatter<T>\n>[0]\ntype TableSortOrder = 'ascending' | 'descending'\n\ninterface Sort {\n prop: string\n order: TableSortOrder\n init?: any\n silent?: any\n}\n\ninterface Filter<T extends DefaultRow> {\n column: TableColumnCtx<T>\n values: string[]\n silent: any\n}\n\ninterface TreeNode {\n expanded?: boolean\n loading?: boolean\n noLazyChildren?: boolean\n indent?: number\n level?: number\n display?: boolean\n}\n\ninterface RenderRowData<T extends DefaultRow> {\n store: Store<T>\n _self: Table<T>\n column: TableColumnCtx<T>\n row: T\n $index: number\n cellIndex: number\n treeNode?: TreeNode\n expanded: boolean\n}\n\ninterface TableConfigContext {\n showOverflowTooltip?: boolean | TableOverflowTooltipOptions\n tooltipEffect?: string\n tooltipOptions?: TableOverflowTooltipOptions\n tooltipFormatter?: TableOverflowTooltipFormatter<any>\n}\n\nexport default {\n /**\n * @description table data\n */\n data: {\n type: Array as PropType<any[]>,\n default: () => [],\n },\n /**\n * @description size of Table\n */\n size: useSizeProp,\n width: [String, Number],\n /**\n * @description table's height. By default it has an `auto` height. If its value is a number, the height is measured in pixels; if its value is a string, the value will be assigned to element's style.height, the height is affected by external styles\n */\n height: [String, Number],\n /**\n * @description table's max-height. The legal value is a number or the height in px\n */\n maxHeight: [String, Number],\n /**\n * @description whether width of column automatically fits its container\n */\n fit: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether Table is striped\n */\n stripe: Boolean,\n /**\n * @description whether Table has vertical border\n */\n border: Boolean,\n /**\n * @description key of row data, used for optimizing rendering. Required if `reserve-selection` is on or display tree data. When its type is String, multi-level access is supported, e.g. `user.info.id`, but `user.info[0].id` is not supported, in which case `Function` should be used\n */\n rowKey: [String, Function] as PropType<TableProps<any>['rowKey']>,\n /**\n * @description whether Table header is visible\n */\n showHeader: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to display a summary row\n */\n showSummary: Boolean,\n /**\n * @description displayed text for the first column of summary row\n */\n sumText: String,\n /**\n * @description custom summary method\n */\n summaryMethod: Function as PropType<TableProps<any>['summaryMethod']>,\n /**\n * @description function that returns custom class names for a row, or a string assigning class names for every row\n */\n rowClassName: [String, Function] as PropType<TableProps<any>['rowClassName']>,\n /**\n * @description function that returns custom style for a row, or an object assigning custom style for every row\n */\n rowStyle: [Object, Function] as PropType<TableProps<any>['rowStyle']>,\n /**\n * @description function that returns custom class names for a cell, or a string assigning class names for every cell\n */\n cellClassName: [String, Function] as PropType<\n TableProps<any>['cellClassName']\n >,\n /**\n * @description function that returns custom style for a cell, or an object assigning custom style for every cell\n */\n cellStyle: [Object, Function] as PropType<TableProps<any>['cellStyle']>,\n /**\n * @description function that returns custom class names for a row in table header, or a string assigning class names for every row in table header\n */\n headerRowClassName: [String, Function] as PropType<\n TableProps<any>['headerRowClassName']\n >,\n /**\n * @description function that returns custom style for a row in table header, or an object assigning custom style for every row in table header\n */\n headerRowStyle: [Object, Function] as PropType<\n TableProps<any>['headerRowStyle']\n >,\n /**\n * @description function that returns custom class names for a cell in table header, or a string assigning class names for every cell in table header\n */\n headerCellClassName: [String, Function] as PropType<\n TableProps<any>['headerCellClassName']\n >,\n /**\n * @description function that returns custom style for a cell in table header, or an object assigning custom style for every cell in table header\n */\n headerCellStyle: [Object, Function] as PropType<\n TableProps<any>['headerCellStyle']\n >,\n /**\n * @description whether current row is highlighted\n */\n highlightCurrentRow: Boolean,\n /**\n * @description key of current row, a set only prop\n */\n currentRowKey: [String, Number],\n /**\n * @description displayed text when data is empty. You can customize this area with `#empty`\n */\n emptyText: String,\n /**\n * @description set expanded rows by this prop, prop's value is the keys of expand rows, you should set row-key before using this prop\n */\n expandRowKeys: Array as PropType<TableProps<any>['expandRowKeys']>,\n /**\n * @description whether expand all rows by default, works when the table has a column type=\"expand\" or contains tree structure data\n */\n defaultExpandAll: Boolean,\n /**\n * @description enable expandable rows, works when the table has a column type=\"expand\"\n */\n rowExpandable: {\n type: Function as PropType<TableProps<any>['rowExpandable']>,\n },\n /**\n * @description set the default sort column and order. property `prop` is used to set default sort column, property `order` is used to set default sort order\n */\n defaultSort: Object as PropType<TableProps<any>['defaultSort']>,\n /**\n * @description the `effect` of the overflow tooltip\n */\n tooltipEffect: String,\n /**\n * @description the options for the overflow tooltip, [see the following tooltip component](tooltip.html#attributes)\n */\n tooltipOptions: Object as PropType<TableProps<any>['tooltipOptions']>,\n /**\n * @description method that returns rowspan and colspan\n */\n spanMethod: Function as PropType<TableProps<any>['spanMethod']>,\n /**\n * @description controls the behavior of master checkbox in multi-select tables when only some rows are selected (but not all). If true, all rows will be selected, else deselected\n */\n selectOnIndeterminate: {\n type: Boolean,\n default: true,\n },\n /**\n * @description horizontal indentation of tree data\n */\n indent: {\n type: Number,\n default: 16,\n },\n /**\n * @description configuration for rendering nested data\n */\n treeProps: {\n type: Object as PropType<TableProps<any>['treeProps']>,\n default: () => {\n return {\n hasChildren: 'hasChildren',\n children: 'children',\n checkStrictly: false,\n }\n },\n },\n /**\n * @description whether to lazy loading data\n */\n lazy: Boolean,\n /**\n * @description method for loading child row data, only works when `lazy` is true\n */\n load: Function as PropType<TableProps<any>['load']>,\n style: {\n type: [String, Object, Array, Boolean] as PropType<\n TableProps<any>['style']\n >,\n default: () => ({}),\n },\n className: {\n type: String,\n default: '',\n },\n /**\n * @description sets the algorithm used to lay out table cells, rows, and columns\n */\n tableLayout: {\n type: String as PropType<Layout>,\n default: 'fixed',\n },\n /**\n * @description always show scrollbar\n */\n scrollbarAlwaysOn: Boolean,\n /**\n * @description ensure main axis minimum-size doesn't follow the content\n */\n flexible: Boolean,\n /**\n * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns\n */\n showOverflowTooltip: {\n type: [Boolean, Object] as PropType<TableProps<any>['showOverflowTooltip']>,\n default: undefined,\n },\n /**\n * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`\n */\n tooltipFormatter: Function as PropType<TableProps<any>['tooltipFormatter']>,\n appendFilterPanelTo: String,\n scrollbarTabindex: {\n type: [Number, String],\n default: undefined,\n },\n /**\n * @description whether to allow drag the last column\n */\n allowDragLastColumn: {\n type: Boolean,\n default: true,\n },\n /**\n * @description whether to preserve expanded row content in DOM when collapsed\n */\n preserveExpandedContent: Boolean,\n /**\n * @description whether to use native scrollbars\n */\n nativeScrollbar: Boolean,\n}\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n DefaultRow,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TreeProps,\n TableTooltipData,\n TableSortOrder,\n RenderExpanded,\n TableConfigContext,\n}\n"],"mappings":";;;;AAoNA,uBAAe;CAIb,MAAM;EACJ,MAAM;EACN,eAAe,EAAE;EAClB;CAID,MAAMA;CACN,OAAO,CAAC,QAAQ,OAAO;CAIvB,QAAQ,CAAC,QAAQ,OAAO;CAIxB,WAAW,CAAC,QAAQ,OAAO;CAI3B,KAAK;EACH,MAAM;EACN,SAAS;EACV;CAID,QAAQ;CAIR,QAAQ;CAIR,QAAQ,CAAC,QAAQ,SAAS;CAI1B,YAAY;EACV,MAAM;EACN,SAAS;EACV;CAID,aAAa;CAIb,SAAS;CAIT,eAAe;CAIf,cAAc,CAAC,QAAQ,SAAS;CAIhC,UAAU,CAAC,QAAQ,SAAS;CAI5B,eAAe,CAAC,QAAQ,SAAS;CAMjC,WAAW,CAAC,QAAQ,SAAS;CAI7B,oBAAoB,CAAC,QAAQ,SAAS;CAMtC,gBAAgB,CAAC,QAAQ,SAAS;CAMlC,qBAAqB,CAAC,QAAQ,SAAS;CAMvC,iBAAiB,CAAC,QAAQ,SAAS;CAMnC,qBAAqB;CAIrB,eAAe,CAAC,QAAQ,OAAO;CAI/B,WAAW;CAIX,eAAe;CAIf,kBAAkB;CAIlB,eAAe,EACb,MAAM,UACP;CAID,aAAa;CAIb,eAAe;CAIf,gBAAgB;CAIhB,YAAY;CAIZ,uBAAuB;EACrB,MAAM;EACN,SAAS;EACV;CAID,QAAQ;EACN,MAAM;EACN,SAAS;EACV;CAID,WAAW;EACT,MAAM;EACN,eAAe;AACb,UAAO;IACL,aAAa;IACb,UAAU;IACV,eAAe;IAChB;;EAEJ;CAID,MAAM;CAIN,MAAM;CACN,OAAO;EACL,MAAM;GAAC;GAAQ;GAAQ;GAAO;GAAQ;EAGtC,gBAAgB,EAAE;EACnB;CACD,WAAW;EACT,MAAM;EACN,SAAS;EACV;CAID,aAAa;EACX,MAAM;EACN,SAAS;EACV;CAID,mBAAmB;CAInB,UAAU;CAIV,qBAAqB;EACnB,MAAM,CAAC,SAAS,OAAO;EACvB,SAAS;EACV;CAID,kBAAkB;CAClB,qBAAqB;CACrB,mBAAmB;EACjB,MAAM,CAAC,QAAQ,OAAO;EACtB,SAAS;EACV;CAID,qBAAqB;EACnB,MAAM;EACN,SAAS;EACV;CAID,yBAAyB;CAIzB,iBAAiB;CAClB"}
@@ -1,4 +1,3 @@
1
- import { ComponentSize } from "../../../../constants/size.js";
2
1
  import { CheckboxProps, CheckboxValueType } from "../../../checkbox/src/checkbox.js";
3
2
  import { _default as _default$1 } from "../../../checkbox/src/checkbox-button.vue.js";
4
3
  import { _default as _default$2 } from "../../../checkbox/src/checkbox-group.vue.js";
@@ -20,11 +19,11 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
20
19
  property: StringConstructor;
21
20
  prop: StringConstructor;
22
21
  width: {
23
- type: (NumberConstructor | StringConstructor)[];
22
+ type: (StringConstructor | NumberConstructor)[];
24
23
  default: string;
25
24
  };
26
25
  minWidth: {
27
- type: (NumberConstructor | StringConstructor)[];
26
+ type: (StringConstructor | NumberConstructor)[];
28
27
  default: string;
29
28
  };
30
29
  renderHeader: vue.PropType<TableColumnCtx<any>["renderHeader"]>;
@@ -76,11 +75,11 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
76
75
  property: StringConstructor;
77
76
  prop: StringConstructor;
78
77
  width: {
79
- type: (NumberConstructor | StringConstructor)[];
78
+ type: (StringConstructor | NumberConstructor)[];
80
79
  default: string;
81
80
  };
82
81
  minWidth: {
83
- type: (NumberConstructor | StringConstructor)[];
82
+ type: (StringConstructor | NumberConstructor)[];
84
83
  default: string;
85
84
  };
86
85
  renderHeader: vue.PropType<TableColumnCtx<any>["renderHeader"]>;
@@ -126,7 +125,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
126
125
  minWidth: string | number;
127
126
  width: string | number;
128
127
  resizable: boolean;
129
- showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "appendTo" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "transition" | "showAfter" | "hideAfter">> | undefined;
128
+ showOverflowTooltip: boolean | Partial<Pick<UseTooltipProps, "offset" | "effect" | "enterable" | "popperClass" | "placement" | "popperOptions" | "showArrow" | "appendTo" | "transition" | "showAfter" | "hideAfter">> | undefined;
130
129
  sortOrders: (TableSortOrder | null)[];
131
130
  sortable: string | boolean;
132
131
  reserveSelection: boolean;
@@ -140,13 +139,13 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
140
139
  change: (val: CheckboxValueType) => void;
141
140
  "update:modelValue": (val: CheckboxValueType) => void;
142
141
  }, vue.PublicProps, {
143
- id: string;
144
142
  disabled: boolean;
145
- modelValue: number | string | boolean;
146
- validateEvent: boolean;
147
- name: string;
148
143
  value: string | boolean | number | object;
144
+ id: string;
149
145
  label: string | boolean | number | object;
146
+ name: string;
147
+ modelValue: number | string | boolean;
148
+ validateEvent: boolean;
150
149
  trueValue: string | number;
151
150
  falseValue: string | number;
152
151
  trueLabel: string | number;
@@ -162,13 +161,13 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
162
161
  onChange?: ((val: CheckboxValueType) => any) | undefined;
163
162
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
164
163
  }>, {}, {}, {}, {}, {
165
- id: string;
166
164
  disabled: boolean;
167
- modelValue: number | string | boolean;
168
- validateEvent: boolean;
169
- name: string;
170
165
  value: string | boolean | number | object;
166
+ id: string;
171
167
  label: string | boolean | number | object;
168
+ name: string;
169
+ modelValue: number | string | boolean;
170
+ validateEvent: boolean;
172
171
  trueValue: string | number;
173
172
  falseValue: string | number;
174
173
  trueLabel: string | number;
@@ -184,13 +183,13 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
184
183
  change: (val: CheckboxValueType) => void;
185
184
  "update:modelValue": (val: CheckboxValueType) => void;
186
185
  }, string, {
187
- id: string;
188
186
  disabled: boolean;
189
- modelValue: number | string | boolean;
190
- validateEvent: boolean;
191
- name: string;
192
187
  value: string | boolean | number | object;
188
+ id: string;
193
189
  label: string | boolean | number | object;
190
+ name: string;
191
+ modelValue: number | string | boolean;
192
+ validateEvent: boolean;
194
193
  trueValue: string | number;
195
194
  falseValue: string | number;
196
195
  trueLabel: string | number;
@@ -200,28 +199,26 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
200
199
  default?: (props: {}) => any;
201
200
  };
202
201
  }) & vue.ObjectPlugin & {
203
- setPropsDefaults: (defaults: Partial<Omit<{
204
- readonly modelValue?: number | string | boolean | undefined;
205
- readonly label?: string | boolean | number | object | undefined;
206
- readonly value?: string | boolean | number | object | undefined;
207
- readonly indeterminate?: boolean | undefined;
208
- readonly disabled?: boolean | undefined;
209
- readonly checked?: boolean | undefined;
210
- readonly name?: string | undefined;
211
- readonly trueValue?: string | number | undefined;
212
- readonly falseValue?: string | number | undefined;
213
- readonly trueLabel?: string | number | undefined;
214
- readonly falseLabel?: string | number | undefined;
215
- readonly id?: string | undefined;
216
- readonly border?: boolean | undefined;
217
- readonly size?: ComponentSize | undefined;
218
- readonly tabindex?: string | number | undefined;
219
- readonly validateEvent?: boolean | undefined;
220
- readonly ariaLabel?: string | undefined;
221
- readonly ariaControls?: string | undefined;
222
- readonly onChange?: ((val: CheckboxValueType) => any) | undefined;
223
- readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
224
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps>>) => void;
202
+ setPropsDefaults: (defaults: {
203
+ readonly modelValue?: string | number | boolean | (() => string | number | boolean) | undefined;
204
+ readonly label?: string | number | boolean | (() => string | number | boolean | object) | undefined;
205
+ readonly value?: string | number | boolean | (() => string | number | boolean | object) | undefined;
206
+ readonly indeterminate?: boolean | (() => boolean) | undefined;
207
+ readonly disabled?: boolean | (() => boolean) | undefined;
208
+ readonly checked?: boolean | (() => boolean) | undefined;
209
+ readonly name?: string | (() => string) | undefined;
210
+ readonly trueValue?: string | number | (() => string | number) | undefined;
211
+ readonly falseValue?: string | number | (() => string | number) | undefined;
212
+ readonly trueLabel?: string | number | (() => string | number) | undefined;
213
+ readonly falseLabel?: string | number | (() => string | number) | undefined;
214
+ readonly id?: string | (() => string) | undefined;
215
+ readonly border?: boolean | (() => boolean) | undefined;
216
+ readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
217
+ readonly tabindex?: string | number | (() => string | number) | undefined;
218
+ readonly validateEvent?: boolean | (() => boolean) | undefined;
219
+ readonly ariaLabel?: string | (() => string) | undefined;
220
+ readonly ariaControls?: string | (() => string) | undefined;
221
+ }) => void;
225
222
  } & {
226
223
  CheckboxButton: typeof _default$1;
227
224
  CheckboxGroup: typeof _default$2;
@@ -1,4 +1,3 @@
1
- import { ComponentSize } from "../../../../constants/size.js";
2
1
  import { Translator } from "../../../../hooks/use-locale/index.js";
3
2
  import { CheckboxProps, CheckboxValueType } from "../../../checkbox/src/checkbox.js";
4
3
  import { _default as _default$1 } from "../../../checkbox/src/checkbox-button.vue.js";
@@ -127,13 +126,13 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
127
126
  change: (val: CheckboxValueType) => void;
128
127
  "update:modelValue": (val: CheckboxValueType) => void;
129
128
  }, vue.PublicProps, {
130
- id: string;
131
129
  disabled: boolean;
132
- modelValue: number | string | boolean;
133
- validateEvent: boolean;
134
- name: string;
135
130
  value: string | boolean | number | object;
131
+ id: string;
136
132
  label: string | boolean | number | object;
133
+ name: string;
134
+ modelValue: number | string | boolean;
135
+ validateEvent: boolean;
137
136
  trueValue: string | number;
138
137
  falseValue: string | number;
139
138
  trueLabel: string | number;
@@ -149,13 +148,13 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
149
148
  onChange?: ((val: CheckboxValueType) => any) | undefined;
150
149
  "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
151
150
  }>, {}, {}, {}, {}, {
152
- id: string;
153
151
  disabled: boolean;
154
- modelValue: number | string | boolean;
155
- validateEvent: boolean;
156
- name: string;
157
152
  value: string | boolean | number | object;
153
+ id: string;
158
154
  label: string | boolean | number | object;
155
+ name: string;
156
+ modelValue: number | string | boolean;
157
+ validateEvent: boolean;
159
158
  trueValue: string | number;
160
159
  falseValue: string | number;
161
160
  trueLabel: string | number;
@@ -171,13 +170,13 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
171
170
  change: (val: CheckboxValueType) => void;
172
171
  "update:modelValue": (val: CheckboxValueType) => void;
173
172
  }, string, {
174
- id: string;
175
173
  disabled: boolean;
176
- modelValue: number | string | boolean;
177
- validateEvent: boolean;
178
- name: string;
179
174
  value: string | boolean | number | object;
175
+ id: string;
180
176
  label: string | boolean | number | object;
177
+ name: string;
178
+ modelValue: number | string | boolean;
179
+ validateEvent: boolean;
181
180
  trueValue: string | number;
182
181
  falseValue: string | number;
183
182
  trueLabel: string | number;
@@ -187,28 +186,26 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
187
186
  default?: (props: {}) => any;
188
187
  };
189
188
  }) & vue.ObjectPlugin & {
190
- setPropsDefaults: (defaults: Partial<Omit<{
191
- readonly modelValue?: number | string | boolean | undefined;
192
- readonly label?: string | boolean | number | object | undefined;
193
- readonly value?: string | boolean | number | object | undefined;
194
- readonly indeterminate?: boolean | undefined;
195
- readonly disabled?: boolean | undefined;
196
- readonly checked?: boolean | undefined;
197
- readonly name?: string | undefined;
198
- readonly trueValue?: string | number | undefined;
199
- readonly falseValue?: string | number | undefined;
200
- readonly trueLabel?: string | number | undefined;
201
- readonly falseLabel?: string | number | undefined;
202
- readonly id?: string | undefined;
203
- readonly border?: boolean | undefined;
204
- readonly size?: ComponentSize | undefined;
205
- readonly tabindex?: string | number | undefined;
206
- readonly validateEvent?: boolean | undefined;
207
- readonly ariaLabel?: string | undefined;
208
- readonly ariaControls?: string | undefined;
209
- readonly onChange?: ((val: CheckboxValueType) => any) | undefined;
210
- readonly "onUpdate:modelValue"?: ((val: CheckboxValueType) => any) | undefined;
211
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps, "onChange" | "onUpdate:modelValue" | keyof vue.VNodeProps | keyof vue.AllowedComponentProps>>) => void;
189
+ setPropsDefaults: (defaults: {
190
+ readonly modelValue?: string | number | boolean | (() => string | number | boolean) | undefined;
191
+ readonly label?: string | number | boolean | (() => string | number | boolean | object) | undefined;
192
+ readonly value?: string | number | boolean | (() => string | number | boolean | object) | undefined;
193
+ readonly indeterminate?: boolean | (() => boolean) | undefined;
194
+ readonly disabled?: boolean | (() => boolean) | undefined;
195
+ readonly checked?: boolean | (() => boolean) | undefined;
196
+ readonly name?: string | (() => string) | undefined;
197
+ readonly trueValue?: string | number | (() => string | number) | undefined;
198
+ readonly falseValue?: string | number | (() => string | number) | undefined;
199
+ readonly trueLabel?: string | number | (() => string | number) | undefined;
200
+ readonly falseLabel?: string | number | (() => string | number) | undefined;
201
+ readonly id?: string | (() => string) | undefined;
202
+ readonly border?: boolean | (() => boolean) | undefined;
203
+ readonly size?: "" | "default" | "small" | "large" | (() => "" | "default" | "small" | "large") | undefined;
204
+ readonly tabindex?: string | number | (() => string | number) | undefined;
205
+ readonly validateEvent?: boolean | (() => boolean) | undefined;
206
+ readonly ariaLabel?: string | (() => string) | undefined;
207
+ readonly ariaControls?: string | (() => string) | undefined;
208
+ }) => void;
212
209
  } & {
213
210
  CheckboxButton: typeof _default$1;
214
211
  CheckboxGroup: typeof _default$2;