@element-plus/nightly 0.0.20260209 → 0.0.20260210

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 (366) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.full.js +48 -7
  3. package/dist/index.full.min.js +19 -19
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +20 -20
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +48 -7
  8. package/dist/locale/af.js +1 -1
  9. package/dist/locale/af.min.js +1 -1
  10. package/dist/locale/af.min.mjs +1 -1
  11. package/dist/locale/af.mjs +1 -1
  12. package/dist/locale/ar-eg.js +1 -1
  13. package/dist/locale/ar-eg.min.js +1 -1
  14. package/dist/locale/ar-eg.min.mjs +1 -1
  15. package/dist/locale/ar-eg.mjs +1 -1
  16. package/dist/locale/ar.js +1 -1
  17. package/dist/locale/ar.min.js +1 -1
  18. package/dist/locale/ar.min.mjs +1 -1
  19. package/dist/locale/ar.mjs +1 -1
  20. package/dist/locale/az.js +1 -1
  21. package/dist/locale/az.min.js +1 -1
  22. package/dist/locale/az.min.mjs +1 -1
  23. package/dist/locale/az.mjs +1 -1
  24. package/dist/locale/bg.js +1 -1
  25. package/dist/locale/bg.min.js +1 -1
  26. package/dist/locale/bg.min.mjs +1 -1
  27. package/dist/locale/bg.mjs +1 -1
  28. package/dist/locale/bn.js +1 -1
  29. package/dist/locale/bn.min.js +1 -1
  30. package/dist/locale/bn.min.mjs +1 -1
  31. package/dist/locale/bn.mjs +1 -1
  32. package/dist/locale/ca.js +1 -1
  33. package/dist/locale/ca.min.js +1 -1
  34. package/dist/locale/ca.min.mjs +1 -1
  35. package/dist/locale/ca.mjs +1 -1
  36. package/dist/locale/ckb.js +1 -1
  37. package/dist/locale/ckb.min.js +1 -1
  38. package/dist/locale/ckb.min.mjs +1 -1
  39. package/dist/locale/ckb.mjs +1 -1
  40. package/dist/locale/cs.js +1 -1
  41. package/dist/locale/cs.min.js +1 -1
  42. package/dist/locale/cs.min.mjs +1 -1
  43. package/dist/locale/cs.mjs +1 -1
  44. package/dist/locale/da.js +1 -1
  45. package/dist/locale/da.min.js +1 -1
  46. package/dist/locale/da.min.mjs +1 -1
  47. package/dist/locale/da.mjs +1 -1
  48. package/dist/locale/de.js +1 -1
  49. package/dist/locale/de.min.js +1 -1
  50. package/dist/locale/de.min.mjs +1 -1
  51. package/dist/locale/de.mjs +1 -1
  52. package/dist/locale/el.js +1 -1
  53. package/dist/locale/el.min.js +1 -1
  54. package/dist/locale/el.min.mjs +1 -1
  55. package/dist/locale/el.mjs +1 -1
  56. package/dist/locale/en.js +1 -1
  57. package/dist/locale/en.min.js +1 -1
  58. package/dist/locale/en.min.mjs +1 -1
  59. package/dist/locale/en.mjs +1 -1
  60. package/dist/locale/eo.js +1 -1
  61. package/dist/locale/eo.min.js +1 -1
  62. package/dist/locale/eo.min.mjs +1 -1
  63. package/dist/locale/eo.mjs +1 -1
  64. package/dist/locale/es.js +1 -1
  65. package/dist/locale/es.min.js +1 -1
  66. package/dist/locale/es.min.mjs +1 -1
  67. package/dist/locale/es.mjs +1 -1
  68. package/dist/locale/et.js +1 -1
  69. package/dist/locale/et.min.js +1 -1
  70. package/dist/locale/et.min.mjs +1 -1
  71. package/dist/locale/et.mjs +1 -1
  72. package/dist/locale/eu.js +1 -1
  73. package/dist/locale/eu.min.js +1 -1
  74. package/dist/locale/eu.min.mjs +1 -1
  75. package/dist/locale/eu.mjs +1 -1
  76. package/dist/locale/fa.js +1 -1
  77. package/dist/locale/fa.min.js +1 -1
  78. package/dist/locale/fa.min.mjs +1 -1
  79. package/dist/locale/fa.mjs +1 -1
  80. package/dist/locale/fi.js +1 -1
  81. package/dist/locale/fi.min.js +1 -1
  82. package/dist/locale/fi.min.mjs +1 -1
  83. package/dist/locale/fi.mjs +1 -1
  84. package/dist/locale/fr.js +1 -1
  85. package/dist/locale/fr.min.js +1 -1
  86. package/dist/locale/fr.min.mjs +1 -1
  87. package/dist/locale/fr.mjs +1 -1
  88. package/dist/locale/he.js +1 -1
  89. package/dist/locale/he.min.js +1 -1
  90. package/dist/locale/he.min.mjs +1 -1
  91. package/dist/locale/he.mjs +1 -1
  92. package/dist/locale/hi.js +1 -1
  93. package/dist/locale/hi.min.js +1 -1
  94. package/dist/locale/hi.min.mjs +1 -1
  95. package/dist/locale/hi.mjs +1 -1
  96. package/dist/locale/hr.js +1 -1
  97. package/dist/locale/hr.min.js +1 -1
  98. package/dist/locale/hr.min.mjs +1 -1
  99. package/dist/locale/hr.mjs +1 -1
  100. package/dist/locale/hu.js +1 -1
  101. package/dist/locale/hu.min.js +1 -1
  102. package/dist/locale/hu.min.mjs +1 -1
  103. package/dist/locale/hu.mjs +1 -1
  104. package/dist/locale/hy-am.js +1 -1
  105. package/dist/locale/hy-am.min.js +1 -1
  106. package/dist/locale/hy-am.min.mjs +1 -1
  107. package/dist/locale/hy-am.mjs +1 -1
  108. package/dist/locale/id.js +1 -1
  109. package/dist/locale/id.min.js +1 -1
  110. package/dist/locale/id.min.mjs +1 -1
  111. package/dist/locale/id.mjs +1 -1
  112. package/dist/locale/it.js +1 -1
  113. package/dist/locale/it.min.js +1 -1
  114. package/dist/locale/it.min.mjs +1 -1
  115. package/dist/locale/it.mjs +1 -1
  116. package/dist/locale/ja.js +1 -1
  117. package/dist/locale/ja.min.js +1 -1
  118. package/dist/locale/ja.min.mjs +1 -1
  119. package/dist/locale/ja.mjs +1 -1
  120. package/dist/locale/kk.js +1 -1
  121. package/dist/locale/kk.min.js +1 -1
  122. package/dist/locale/kk.min.mjs +1 -1
  123. package/dist/locale/kk.mjs +1 -1
  124. package/dist/locale/km.js +1 -1
  125. package/dist/locale/km.min.js +1 -1
  126. package/dist/locale/km.min.mjs +1 -1
  127. package/dist/locale/km.mjs +1 -1
  128. package/dist/locale/ko.js +1 -1
  129. package/dist/locale/ko.min.js +1 -1
  130. package/dist/locale/ko.min.mjs +1 -1
  131. package/dist/locale/ko.mjs +1 -1
  132. package/dist/locale/ku.js +1 -1
  133. package/dist/locale/ku.min.js +1 -1
  134. package/dist/locale/ku.min.mjs +1 -1
  135. package/dist/locale/ku.mjs +1 -1
  136. package/dist/locale/ky.js +1 -1
  137. package/dist/locale/ky.min.js +1 -1
  138. package/dist/locale/ky.min.mjs +1 -1
  139. package/dist/locale/ky.mjs +1 -1
  140. package/dist/locale/lo.js +1 -1
  141. package/dist/locale/lo.min.js +1 -1
  142. package/dist/locale/lo.min.mjs +1 -1
  143. package/dist/locale/lo.mjs +1 -1
  144. package/dist/locale/lt.js +1 -1
  145. package/dist/locale/lt.min.js +1 -1
  146. package/dist/locale/lt.min.mjs +1 -1
  147. package/dist/locale/lt.mjs +1 -1
  148. package/dist/locale/lv.js +1 -1
  149. package/dist/locale/lv.min.js +1 -1
  150. package/dist/locale/lv.min.mjs +1 -1
  151. package/dist/locale/lv.mjs +1 -1
  152. package/dist/locale/mg.js +1 -1
  153. package/dist/locale/mg.min.js +1 -1
  154. package/dist/locale/mg.min.mjs +1 -1
  155. package/dist/locale/mg.mjs +1 -1
  156. package/dist/locale/mn.js +1 -1
  157. package/dist/locale/mn.min.js +1 -1
  158. package/dist/locale/mn.min.mjs +1 -1
  159. package/dist/locale/mn.mjs +1 -1
  160. package/dist/locale/ms.js +1 -1
  161. package/dist/locale/ms.min.js +1 -1
  162. package/dist/locale/ms.min.mjs +1 -1
  163. package/dist/locale/ms.mjs +1 -1
  164. package/dist/locale/my.js +1 -1
  165. package/dist/locale/my.min.js +1 -1
  166. package/dist/locale/my.min.mjs +1 -1
  167. package/dist/locale/my.mjs +1 -1
  168. package/dist/locale/nb-no.js +1 -1
  169. package/dist/locale/nb-no.min.js +1 -1
  170. package/dist/locale/nb-no.min.mjs +1 -1
  171. package/dist/locale/nb-no.mjs +1 -1
  172. package/dist/locale/nl.js +1 -1
  173. package/dist/locale/nl.min.js +1 -1
  174. package/dist/locale/nl.min.mjs +1 -1
  175. package/dist/locale/nl.mjs +1 -1
  176. package/dist/locale/no.js +1 -1
  177. package/dist/locale/no.min.js +1 -1
  178. package/dist/locale/no.min.mjs +1 -1
  179. package/dist/locale/no.mjs +1 -1
  180. package/dist/locale/pa.js +1 -1
  181. package/dist/locale/pa.min.js +1 -1
  182. package/dist/locale/pa.min.mjs +1 -1
  183. package/dist/locale/pa.mjs +1 -1
  184. package/dist/locale/pl.js +1 -1
  185. package/dist/locale/pl.min.js +1 -1
  186. package/dist/locale/pl.min.mjs +1 -1
  187. package/dist/locale/pl.mjs +1 -1
  188. package/dist/locale/pt-br.js +1 -1
  189. package/dist/locale/pt-br.min.js +1 -1
  190. package/dist/locale/pt-br.min.mjs +1 -1
  191. package/dist/locale/pt-br.mjs +1 -1
  192. package/dist/locale/pt.js +1 -1
  193. package/dist/locale/pt.min.js +1 -1
  194. package/dist/locale/pt.min.mjs +1 -1
  195. package/dist/locale/pt.mjs +1 -1
  196. package/dist/locale/ro.js +1 -1
  197. package/dist/locale/ro.min.js +1 -1
  198. package/dist/locale/ro.min.mjs +1 -1
  199. package/dist/locale/ro.mjs +1 -1
  200. package/dist/locale/ru.js +1 -1
  201. package/dist/locale/ru.min.js +1 -1
  202. package/dist/locale/ru.min.mjs +1 -1
  203. package/dist/locale/ru.mjs +1 -1
  204. package/dist/locale/sk.js +1 -1
  205. package/dist/locale/sk.min.js +1 -1
  206. package/dist/locale/sk.min.mjs +1 -1
  207. package/dist/locale/sk.mjs +1 -1
  208. package/dist/locale/sl.js +1 -1
  209. package/dist/locale/sl.min.js +1 -1
  210. package/dist/locale/sl.min.mjs +1 -1
  211. package/dist/locale/sl.mjs +1 -1
  212. package/dist/locale/sr.js +1 -1
  213. package/dist/locale/sr.min.js +1 -1
  214. package/dist/locale/sr.min.mjs +1 -1
  215. package/dist/locale/sr.mjs +1 -1
  216. package/dist/locale/sv.js +1 -1
  217. package/dist/locale/sv.min.js +1 -1
  218. package/dist/locale/sv.min.mjs +1 -1
  219. package/dist/locale/sv.mjs +1 -1
  220. package/dist/locale/sw.js +1 -1
  221. package/dist/locale/sw.min.js +1 -1
  222. package/dist/locale/sw.min.mjs +1 -1
  223. package/dist/locale/sw.mjs +1 -1
  224. package/dist/locale/ta.js +1 -1
  225. package/dist/locale/ta.min.js +1 -1
  226. package/dist/locale/ta.min.mjs +1 -1
  227. package/dist/locale/ta.mjs +1 -1
  228. package/dist/locale/te.js +1 -1
  229. package/dist/locale/te.min.js +1 -1
  230. package/dist/locale/te.min.mjs +1 -1
  231. package/dist/locale/te.mjs +1 -1
  232. package/dist/locale/th.js +1 -1
  233. package/dist/locale/th.min.js +1 -1
  234. package/dist/locale/th.min.mjs +1 -1
  235. package/dist/locale/th.mjs +1 -1
  236. package/dist/locale/tk.js +1 -1
  237. package/dist/locale/tk.min.js +1 -1
  238. package/dist/locale/tk.min.mjs +1 -1
  239. package/dist/locale/tk.mjs +1 -1
  240. package/dist/locale/tr.js +1 -1
  241. package/dist/locale/tr.min.js +1 -1
  242. package/dist/locale/tr.min.mjs +1 -1
  243. package/dist/locale/tr.mjs +1 -1
  244. package/dist/locale/ug-cn.js +1 -1
  245. package/dist/locale/ug-cn.min.js +1 -1
  246. package/dist/locale/ug-cn.min.mjs +1 -1
  247. package/dist/locale/ug-cn.mjs +1 -1
  248. package/dist/locale/uk.js +1 -1
  249. package/dist/locale/uk.min.js +1 -1
  250. package/dist/locale/uk.min.mjs +1 -1
  251. package/dist/locale/uk.mjs +1 -1
  252. package/dist/locale/uz-uz.js +1 -1
  253. package/dist/locale/uz-uz.min.js +1 -1
  254. package/dist/locale/uz-uz.min.mjs +1 -1
  255. package/dist/locale/uz-uz.mjs +1 -1
  256. package/dist/locale/vi.js +1 -1
  257. package/dist/locale/vi.min.js +1 -1
  258. package/dist/locale/vi.min.mjs +1 -1
  259. package/dist/locale/vi.mjs +1 -1
  260. package/dist/locale/zh-cn.js +1 -1
  261. package/dist/locale/zh-cn.min.js +1 -1
  262. package/dist/locale/zh-cn.min.mjs +1 -1
  263. package/dist/locale/zh-cn.mjs +1 -1
  264. package/dist/locale/zh-hk.js +1 -1
  265. package/dist/locale/zh-hk.min.js +1 -1
  266. package/dist/locale/zh-hk.min.mjs +1 -1
  267. package/dist/locale/zh-hk.mjs +1 -1
  268. package/dist/locale/zh-mo.js +1 -1
  269. package/dist/locale/zh-mo.min.js +1 -1
  270. package/dist/locale/zh-mo.min.mjs +1 -1
  271. package/dist/locale/zh-mo.mjs +1 -1
  272. package/dist/locale/zh-tw.js +1 -1
  273. package/dist/locale/zh-tw.min.js +1 -1
  274. package/dist/locale/zh-tw.min.mjs +1 -1
  275. package/dist/locale/zh-tw.mjs +1 -1
  276. package/es/components/cascader/src/cascader.vue.d.ts +1 -1
  277. package/es/components/config-provider/src/config-provider-props.d.ts +7 -0
  278. package/es/components/config-provider/src/config-provider-props.mjs +6 -0
  279. package/es/components/config-provider/src/config-provider-props.mjs.map +1 -1
  280. package/es/components/config-provider/src/config-provider.d.ts +12 -0
  281. package/es/components/descriptions/src/description-item.d.ts +1 -1
  282. package/es/components/pagination/src/pagination.d.ts +1 -1
  283. package/es/components/select/src/select.vue.d.ts +1 -1
  284. package/es/components/select-v2/src/select.vue.d.ts +2 -2
  285. package/es/components/table/index.d.ts +1 -1
  286. package/es/components/table/index.mjs.map +1 -1
  287. package/es/components/table/src/table/defaults.d.ts +11 -2
  288. package/es/components/table/src/table/defaults.mjs +4 -1
  289. package/es/components/table/src/table/defaults.mjs.map +1 -1
  290. package/es/components/table/src/table-body/td-wrapper.vue.d.ts +1 -1
  291. package/es/components/table/src/table-column/index.d.ts +1 -1
  292. package/es/components/table/src/table-column/index.mjs +5 -2
  293. package/es/components/table/src/table-column/index.mjs.map +1 -1
  294. package/es/components/table/src/table-column/watcher-helper.mjs +16 -0
  295. package/es/components/table/src/table-column/watcher-helper.mjs.map +1 -1
  296. package/es/components/table/src/table.vue.d.ts +15 -6
  297. package/es/components/table/src/table.vue.mjs +2 -2
  298. package/es/components/table/src/table.vue.mjs.map +1 -1
  299. package/es/components/table/src/table.vue2.mjs +16 -0
  300. package/es/components/table/src/table.vue2.mjs.map +1 -1
  301. package/es/components/table-v2/src/components/header.d.ts +1 -1
  302. package/es/components/table-v2/src/components/row.d.ts +1 -1
  303. package/es/components/table-v2/src/table-grid.d.ts +3 -3
  304. package/es/components/table-v2/src/table-v2.d.ts +4 -4
  305. package/es/components/tree/src/tree.vue.d.ts +2 -2
  306. package/es/components/tree-select/src/tree-select.vue.d.ts +4 -4
  307. package/es/components/tree-v2/src/composables/useTree.d.ts +1 -1
  308. package/es/components/tree-v2/src/tree.vue.d.ts +2 -2
  309. package/es/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  310. package/es/components/virtual-list/src/builders/build-list.d.ts +1 -1
  311. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  312. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
  313. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  314. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
  315. package/es/components/watermark/src/watermark.d.ts +1 -1
  316. package/es/components/watermark/src/watermark.mjs.map +1 -1
  317. package/es/version.d.ts +1 -1
  318. package/es/version.mjs +1 -1
  319. package/es/version.mjs.map +1 -1
  320. package/lib/components/cascader/src/cascader.vue.d.ts +1 -1
  321. package/lib/components/config-provider/src/config-provider-props.d.ts +7 -0
  322. package/lib/components/config-provider/src/config-provider-props.js +6 -0
  323. package/lib/components/config-provider/src/config-provider-props.js.map +1 -1
  324. package/lib/components/config-provider/src/config-provider.d.ts +12 -0
  325. package/lib/components/descriptions/src/description-item.d.ts +1 -1
  326. package/lib/components/pagination/src/pagination.d.ts +1 -1
  327. package/lib/components/select/src/select.vue.d.ts +1 -1
  328. package/lib/components/select-v2/src/select.vue.d.ts +2 -2
  329. package/lib/components/table/index.d.ts +1 -1
  330. package/lib/components/table/index.js.map +1 -1
  331. package/lib/components/table/src/table/defaults.d.ts +11 -2
  332. package/lib/components/table/src/table/defaults.js +4 -1
  333. package/lib/components/table/src/table/defaults.js.map +1 -1
  334. package/lib/components/table/src/table-body/td-wrapper.vue.d.ts +1 -1
  335. package/lib/components/table/src/table-column/index.d.ts +1 -1
  336. package/lib/components/table/src/table-column/index.js +5 -2
  337. package/lib/components/table/src/table-column/index.js.map +1 -1
  338. package/lib/components/table/src/table-column/watcher-helper.js +16 -0
  339. package/lib/components/table/src/table-column/watcher-helper.js.map +1 -1
  340. package/lib/components/table/src/table.vue.d.ts +15 -6
  341. package/lib/components/table/src/table.vue.js +2 -2
  342. package/lib/components/table/src/table.vue.js.map +1 -1
  343. package/lib/components/table/src/table.vue2.js +16 -0
  344. package/lib/components/table/src/table.vue2.js.map +1 -1
  345. package/lib/components/table-v2/src/components/header.d.ts +1 -1
  346. package/lib/components/table-v2/src/components/row.d.ts +1 -1
  347. package/lib/components/table-v2/src/table-grid.d.ts +3 -3
  348. package/lib/components/table-v2/src/table-v2.d.ts +4 -4
  349. package/lib/components/tree/src/tree.vue.d.ts +2 -2
  350. package/lib/components/tree-select/src/tree-select.vue.d.ts +4 -4
  351. package/lib/components/tree-v2/src/composables/useTree.d.ts +1 -1
  352. package/lib/components/tree-v2/src/tree.vue.d.ts +2 -2
  353. package/lib/components/virtual-list/src/builders/build-grid.d.ts +1 -1
  354. package/lib/components/virtual-list/src/builders/build-list.d.ts +1 -1
  355. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +1 -1
  356. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
  357. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +1 -1
  358. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
  359. package/lib/components/watermark/src/watermark.d.ts +1 -1
  360. package/lib/components/watermark/src/watermark.js.map +1 -1
  361. package/lib/version.d.ts +1 -1
  362. package/lib/version.js +1 -1
  363. package/lib/version.js.map +1 -1
  364. package/package.json +2 -2
  365. package/tags.json +1 -1
  366. package/web-types.json +1 -1
@@ -166,12 +166,12 @@ export declare function useTree(props: TreeProps, emit: SetupContext<typeof tree
166
166
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
167
167
  readonly layout: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", never>;
168
168
  readonly className: string;
169
+ readonly scrollbarAlwaysOn: boolean;
169
170
  readonly containerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
170
171
  readonly innerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
171
172
  readonly innerProps: Record<string, unknown>;
172
173
  readonly perfMode: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
173
174
  readonly useIsScrolling: boolean;
174
- readonly scrollbarAlwaysOn: boolean;
175
175
  readonly cache: number;
176
176
  readonly initScrollOffset: number;
177
177
  }, {}> | undefined>;
@@ -41,8 +41,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaultsLocal<
41
41
  scrollToNode: (key: import("./types").TreeKey, strategy?: import("@element-plus/nightly/es/components/virtual-list").Alignment) => void;
42
42
  scrollTo: (offset: number) => void;
43
43
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
44
- check: (data: import("element-plus").TreeNodeData, checkedInfo: import("./types").CheckedInfo) => void;
45
44
  "current-change": (data: import("element-plus").TreeNodeData, node: import("./types").TreeNode) => void;
45
+ check: (data: import("element-plus").TreeNodeData, checkedInfo: import("./types").CheckedInfo) => void;
46
46
  "node-drop": (data: import("element-plus").TreeNodeData, node: import("./types").TreeNode, e: DragEvent) => void;
47
47
  "node-expand": (data: import("element-plus").TreeNodeData, node: import("./types").TreeNode) => void;
48
48
  "check-change": (data: import("element-plus").TreeNodeData, checked: boolean) => void;
@@ -79,10 +79,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaultsLocal<
79
79
  data: import("./types").TreeData;
80
80
  height: number;
81
81
  props: import("./types").TreeOptionProps;
82
+ indent: number;
82
83
  perfMode: boolean;
83
84
  itemSize: number;
84
85
  checkOnClickLeaf: boolean;
85
- indent: number;
86
86
  defaultCheckedKeys: import("./types").TreeKey[];
87
87
  defaultExpandedKeys: import("./types").TreeKey[];
88
88
  expandOnClickNode: boolean;
@@ -181,12 +181,12 @@ declare const createGrid: ({ name, clearCache, getColumnPosition, getColumnStart
181
181
  readonly data: any[];
182
182
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
183
183
  readonly className: string;
184
+ readonly scrollbarAlwaysOn: boolean;
184
185
  readonly containerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
185
186
  readonly innerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
186
187
  readonly innerProps: Record<string, unknown>;
187
188
  readonly perfMode: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
188
189
  readonly useIsScrolling: boolean;
189
- readonly scrollbarAlwaysOn: boolean;
190
190
  readonly itemKey: import("../types").GridItemKeyGetter;
191
191
  readonly columnCache: number;
192
192
  readonly initScrollLeft: number;
@@ -160,12 +160,12 @@ declare const createList: ({ name, getOffset, getItemSize, getItemOffset, getEst
160
160
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
161
161
  readonly layout: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", never>;
162
162
  readonly className: string;
163
+ readonly scrollbarAlwaysOn: boolean;
163
164
  readonly containerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
164
165
  readonly innerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
165
166
  readonly innerProps: Record<string, unknown>;
166
167
  readonly perfMode: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
167
168
  readonly useIsScrolling: boolean;
168
- readonly scrollbarAlwaysOn: boolean;
169
169
  readonly cache: number;
170
170
  readonly initScrollOffset: number;
171
171
  }, {}>;
@@ -183,12 +183,12 @@ declare const DynamicSizeGrid: import("vue").DefineComponent<{
183
183
  readonly data: any[];
184
184
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
185
185
  readonly className: string;
186
+ readonly scrollbarAlwaysOn: boolean;
186
187
  readonly containerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
187
188
  readonly innerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
188
189
  readonly innerProps: Record<string, unknown>;
189
190
  readonly perfMode: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
190
191
  readonly useIsScrolling: boolean;
191
- readonly scrollbarAlwaysOn: boolean;
192
192
  readonly itemKey: import("../types").GridItemKeyGetter;
193
193
  readonly columnCache: number;
194
194
  readonly initScrollLeft: number;
@@ -158,12 +158,12 @@ declare const DynamicSizeList: import("vue").DefineComponent<{
158
158
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
159
159
  readonly layout: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", never>;
160
160
  readonly className: string;
161
+ readonly scrollbarAlwaysOn: boolean;
161
162
  readonly containerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
162
163
  readonly innerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
163
164
  readonly innerProps: Record<string, unknown>;
164
165
  readonly perfMode: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
165
166
  readonly useIsScrolling: boolean;
166
- readonly scrollbarAlwaysOn: boolean;
167
167
  readonly cache: number;
168
168
  readonly initScrollOffset: number;
169
169
  }, {}>;
@@ -177,12 +177,12 @@ declare const FixedSizeGrid: import("vue").DefineComponent<{
177
177
  readonly data: any[];
178
178
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
179
179
  readonly className: string;
180
+ readonly scrollbarAlwaysOn: boolean;
180
181
  readonly containerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
181
182
  readonly innerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
182
183
  readonly innerProps: Record<string, unknown>;
183
184
  readonly perfMode: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
184
185
  readonly useIsScrolling: boolean;
185
- readonly scrollbarAlwaysOn: boolean;
186
186
  readonly itemKey: import("element-plus").GridItemKeyGetter;
187
187
  readonly columnCache: number;
188
188
  readonly initScrollLeft: number;
@@ -157,12 +157,12 @@ declare const FixedSizeList: import("vue").DefineComponent<{
157
157
  readonly direction: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "ltr" | "rtl", never>;
158
158
  readonly layout: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "horizontal" | "vertical", never>;
159
159
  readonly className: string;
160
+ readonly scrollbarAlwaysOn: boolean;
160
161
  readonly containerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | Element) | (() => string | Element) | ((new (...args: any[]) => string | Element) | (() => string | Element))[], unknown, unknown>;
161
162
  readonly innerElement: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [StringConstructor, ObjectConstructor], unknown, unknown>;
162
163
  readonly innerProps: Record<string, unknown>;
163
164
  readonly perfMode: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
164
165
  readonly useIsScrolling: boolean;
165
- readonly scrollbarAlwaysOn: boolean;
166
166
  readonly cache: number;
167
167
  readonly initScrollOffset: number;
168
168
  }, {}>;
@@ -3,7 +3,7 @@ import type Watermark from './watermark.vue';
3
3
  export interface WatermarkFontType {
4
4
  color?: string;
5
5
  fontSize?: number | string;
6
- fontWeight?: 'normal' | 'light' | 'weight' | number;
6
+ fontWeight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number;
7
7
  fontStyle?: 'none' | 'normal' | 'italic' | 'oblique';
8
8
  fontFamily?: string;
9
9
  fontGap?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"watermark.mjs","sources":["../../../../../../packages/components/watermark/src/watermark.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type Watermark from './watermark.vue'\n\nexport interface WatermarkFontType {\n color?: string\n fontSize?: number | string\n fontWeight?: 'normal' | 'light' | 'weight' | number\n fontStyle?: 'none' | 'normal' | 'italic' | 'oblique'\n fontFamily?: string\n fontGap?: number\n textAlign?: 'start' | 'end' | 'left' | 'right' | 'center'\n textBaseline?:\n | 'top'\n | 'hanging'\n | 'middle'\n | 'alphabetic'\n | 'ideographic'\n | 'bottom'\n}\n\nexport interface WatermarkProps {\n /**\n * @description The z-index of the appended watermark element\n */\n zIndex?: number\n /**\n * @description The rotation angle of the watermark\n */\n rotate?: number\n /**\n * @description The width of the watermark\n */\n width?: number\n /**\n * @description The height of the watermark\n */\n height?: number\n /**\n * @description Image source, it is recommended to export 2x or 3x image, high priority (support base64 format)\n */\n image?: string\n /**\n * @description Watermark text content\n */\n content?: string | string[]\n /**\n * @description Text style\n */\n font?: WatermarkFontType\n /**\n * @description The spacing between watermarks\n */\n gap?: [number, number]\n /**\n * @description The offset of the watermark from the upper left corner of the container. The default is gap/2\n */\n offset?: [number, number]\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `WatermarkProps` instead.\n */\nexport const watermarkProps = buildProps({\n /**\n * @description The z-index of the appended watermark element\n */\n zIndex: {\n type: Number,\n default: 9,\n },\n /**\n * @description The rotation angle of the watermark\n */\n rotate: {\n type: Number,\n default: -22,\n },\n /**\n * @description The width of the watermark\n */\n width: Number,\n /**\n * @description The height of the watermark\n */\n height: Number,\n /**\n * @description Image source, it is recommended to export 2x or 3x image, high priority (support base64 format)\n */\n image: String,\n /**\n * @description Watermark text content\n */\n content: {\n type: definePropType<string | string[]>([String, Array]),\n default: 'Element Plus',\n },\n /**\n * @description Text style\n */\n font: {\n type: definePropType<WatermarkFontType>(Object),\n },\n /**\n * @description The spacing between watermarks\n */\n gap: {\n type: definePropType<[number, number]>(Array),\n default: () => [100, 100],\n },\n /**\n * @description The offset of the watermark from the upper left corner of the container. The default is gap/2\n */\n offset: {\n type: definePropType<[number, number]>(Array),\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `WatermarkProps` instead.\n */\nexport type WatermarkPropsPublic = ExtractPublicPropTypes<typeof watermarkProps>\nexport type WatermarkInstance = InstanceType<typeof Watermark> & unknown\n"],"names":[],"mappings":";;AAgEO,MAAM,iBAAiB,UAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAIvC,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,KAAA,EAAO,MAAA;AAAA;AAAA;AAAA;AAAA,EAIP,MAAA,EAAQ,MAAA;AAAA;AAAA;AAAA;AAAA,EAIR,KAAA,EAAO,MAAA;AAAA;AAAA;AAAA;AAAA,EAIP,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,cAAA,CAAkC,CAAC,MAAA,EAAQ,KAAK,CAAC,CAAA;AAAA,IACvD,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,eAAkC,MAAM;AAAA,GAChD;AAAA;AAAA;AAAA;AAAA,EAIA,GAAA,EAAK;AAAA,IACH,IAAA,EAAM,eAAiC,KAAK,CAAA;AAAA,IAC5C,OAAA,EAAS,MAAM,CAAC,GAAA,EAAK,GAAG;AAAA,GAC1B;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,eAAiC,KAAK;AAAA;AAEhD,CAAU;;;;"}
1
+ {"version":3,"file":"watermark.mjs","sources":["../../../../../../packages/components/watermark/src/watermark.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\n\nimport type { ExtractPublicPropTypes } from 'vue'\nimport type Watermark from './watermark.vue'\n\nexport interface WatermarkFontType {\n color?: string\n fontSize?: number | string\n fontWeight?: 'normal' | 'bold' | 'lighter' | 'bolder' | number\n fontStyle?: 'none' | 'normal' | 'italic' | 'oblique'\n fontFamily?: string\n fontGap?: number\n textAlign?: 'start' | 'end' | 'left' | 'right' | 'center'\n textBaseline?:\n | 'top'\n | 'hanging'\n | 'middle'\n | 'alphabetic'\n | 'ideographic'\n | 'bottom'\n}\n\nexport interface WatermarkProps {\n /**\n * @description The z-index of the appended watermark element\n */\n zIndex?: number\n /**\n * @description The rotation angle of the watermark\n */\n rotate?: number\n /**\n * @description The width of the watermark\n */\n width?: number\n /**\n * @description The height of the watermark\n */\n height?: number\n /**\n * @description Image source, it is recommended to export 2x or 3x image, high priority (support base64 format)\n */\n image?: string\n /**\n * @description Watermark text content\n */\n content?: string | string[]\n /**\n * @description Text style\n */\n font?: WatermarkFontType\n /**\n * @description The spacing between watermarks\n */\n gap?: [number, number]\n /**\n * @description The offset of the watermark from the upper left corner of the container. The default is gap/2\n */\n offset?: [number, number]\n}\n\n/**\n * @deprecated Removed after 3.0.0, Use `WatermarkProps` instead.\n */\nexport const watermarkProps = buildProps({\n /**\n * @description The z-index of the appended watermark element\n */\n zIndex: {\n type: Number,\n default: 9,\n },\n /**\n * @description The rotation angle of the watermark\n */\n rotate: {\n type: Number,\n default: -22,\n },\n /**\n * @description The width of the watermark\n */\n width: Number,\n /**\n * @description The height of the watermark\n */\n height: Number,\n /**\n * @description Image source, it is recommended to export 2x or 3x image, high priority (support base64 format)\n */\n image: String,\n /**\n * @description Watermark text content\n */\n content: {\n type: definePropType<string | string[]>([String, Array]),\n default: 'Element Plus',\n },\n /**\n * @description Text style\n */\n font: {\n type: definePropType<WatermarkFontType>(Object),\n },\n /**\n * @description The spacing between watermarks\n */\n gap: {\n type: definePropType<[number, number]>(Array),\n default: () => [100, 100],\n },\n /**\n * @description The offset of the watermark from the upper left corner of the container. The default is gap/2\n */\n offset: {\n type: definePropType<[number, number]>(Array),\n },\n} as const)\n\n/**\n * @deprecated Removed after 3.0.0, Use `WatermarkProps` instead.\n */\nexport type WatermarkPropsPublic = ExtractPublicPropTypes<typeof watermarkProps>\nexport type WatermarkInstance = InstanceType<typeof Watermark> & unknown\n"],"names":[],"mappings":";;AAgEO,MAAM,iBAAiB,UAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAIvC,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,KAAA,EAAO,MAAA;AAAA;AAAA;AAAA;AAAA,EAIP,MAAA,EAAQ,MAAA;AAAA;AAAA;AAAA;AAAA,EAIR,KAAA,EAAO,MAAA;AAAA;AAAA;AAAA;AAAA,EAIP,OAAA,EAAS;AAAA,IACP,IAAA,EAAM,cAAA,CAAkC,CAAC,MAAA,EAAQ,KAAK,CAAC,CAAA;AAAA,IACvD,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,eAAkC,MAAM;AAAA,GAChD;AAAA;AAAA;AAAA;AAAA,EAIA,GAAA,EAAK;AAAA,IACH,IAAA,EAAM,eAAiC,KAAK,CAAA;AAAA,IAC5C,OAAA,EAAS,MAAM,CAAC,GAAA,EAAK,GAAG;AAAA,GAC1B;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAM,eAAiC,KAAK;AAAA;AAEhD,CAAU;;;;"}
package/es/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const version = "0.0.20260209";
1
+ export declare const version = "0.0.20260210";
package/es/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const version = "0.0.20260209";
1
+ const version = "0.0.20260210";
2
2
 
3
3
  export { version };
4
4
  //# sourceMappingURL=version.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20260209'\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
1
+ {"version":3,"file":"version.mjs","sources":["../../../packages/element-plus/version.ts"],"sourcesContent":["export const version = '0.0.20260210'\n"],"names":[],"mappings":"AAAO,MAAM,OAAA,GAAU;;;;"}
@@ -105,8 +105,8 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_WithDefaultsLocal<
105
105
  popperStyle: string | false | import("vue").CSSProperties | StyleValue[] | null;
106
106
  persistent: boolean;
107
107
  debounce: number;
108
- maxCollapseTags: number;
109
108
  filterMethod: (node: CascaderNode, keyword: string) => boolean;
109
+ maxCollapseTags: number;
110
110
  tagType: "primary" | "success" | "warning" | "info" | "danger";
111
111
  tagEffect: "dark" | "light" | "plain";
112
112
  showPrefix: boolean;
@@ -5,6 +5,7 @@ import type { CardConfigContext } from '@element-plus/nightly/es/components/card
5
5
  import type { DialogConfigContext } from '@element-plus/nightly/es/components/dialog';
6
6
  import type { MessageConfigContext } from '@element-plus/nightly/es/components/message';
7
7
  import type { LinkConfigContext } from '@element-plus/nightly/es/components/link';
8
+ import type { TableConfigContext } from '@element-plus/nightly/es/components/table';
8
9
  export type ExperimentalFeatures = {};
9
10
  export declare const configProviderProps: {
10
11
  readonly emptyValues: ArrayConstructor;
@@ -61,6 +62,12 @@ export declare const configProviderProps: {
61
62
  };
62
63
  readonly zIndex: NumberConstructor;
63
64
  readonly namespace: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "el", boolean>;
65
+ readonly table: {
66
+ readonly type: import("vue").PropType<TableConfigContext>;
67
+ readonly required: false;
68
+ readonly validator: ((val: unknown) => boolean) | undefined;
69
+ __epPropKey: true;
70
+ };
64
71
  };
65
72
  export type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>;
66
73
  export type ConfigProviderPropsPublic = ExtractPublicPropTypes<typeof configProviderProps>;
@@ -76,6 +76,12 @@ const configProviderProps = runtime.buildProps({
76
76
  type: String,
77
77
  default: "el"
78
78
  },
79
+ /**
80
+ * @description table related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#table-attribute)
81
+ */
82
+ table: {
83
+ type: runtime.definePropType(Object)
84
+ },
79
85
  ...index.useEmptyValuesProps
80
86
  });
81
87
 
@@ -1 +1 @@
1
- {"version":3,"file":"config-provider-props.js","sources":["../../../../../../packages/components/config-provider/src/config-provider-props.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type { Language } from '@element-plus/locale'\nimport type { ButtonConfigContext } from '@element-plus/components/button'\nimport type { CardConfigContext } from '@element-plus/components/card'\nimport type { DialogConfigContext } from '@element-plus/components/dialog'\nimport type { MessageConfigContext } from '@element-plus/components/message'\nimport type { LinkConfigContext } from '@element-plus/components/link'\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport type ExperimentalFeatures = {\n // TO BE Defined\n}\n\nexport const configProviderProps = buildProps({\n /**\n * @description Controlling if the users want a11y features\n */\n a11y: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Locale Object\n */\n locale: {\n type: definePropType<Language>(Object),\n },\n /**\n * @description global component size\n */\n size: useSizeProp,\n /**\n * @description button related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#button-attribute)\n */\n button: {\n type: definePropType<ButtonConfigContext>(Object),\n },\n /**\n * @description card related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#card-attribute)\n */\n card: {\n type: definePropType<CardConfigContext>(Object),\n },\n /**\n * @description dialog related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#dialog-attribute)\n */\n dialog: {\n type: definePropType<DialogConfigContext>(Object),\n },\n /**\n * @description link related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#link-attribute)\n */\n link: {\n type: definePropType<LinkConfigContext>(Object),\n },\n /**\n * @description features at experimental stage to be added, all features are default to be set to false, [see the following table](https://element-plus.org/en-US/component/config-provider.html#experimental-features) | ^[object]\n */\n experimentalFeatures: {\n type: definePropType<ExperimentalFeatures>(Object),\n },\n /**\n * @description Controls if we should handle keyboard navigation\n */\n keyboardNavigation: {\n type: Boolean,\n default: true,\n },\n /**\n * @description message related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#message-attribute)\n */\n message: {\n type: definePropType<MessageConfigContext>(Object),\n },\n /**\n * @description global Initial zIndex\n */\n zIndex: Number,\n /**\n * @description global component className prefix (cooperated with [$namespace](https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/mixins/config.scss#L1)) | ^[string]\n */\n namespace: {\n type: String,\n default: 'el',\n },\n ...useEmptyValuesProps,\n} as const)\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\nexport type ConfigProviderPropsPublic = ExtractPublicPropTypes<\n typeof configProviderProps\n>\n"],"names":["buildProps","definePropType","useSizeProp","useEmptyValuesProps"],"mappings":";;;;;;AAgBO,MAAM,sBAAsBA,kBAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAI5C,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAMC,uBAAyB,MAAM;AAAA,GACvC;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAMC,mBAAA;AAAA;AAAA;AAAA;AAAA,EAIN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAMD,uBAAoC,MAAM;AAAA,GAClD;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAMA,uBAAkC,MAAM;AAAA,GAChD;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAMA,uBAAoC,MAAM;AAAA,GAClD;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAMA,uBAAkC,MAAM;AAAA,GAChD;AAAA;AAAA;AAAA;AAAA,EAIA,oBAAA,EAAsB;AAAA,IACpB,IAAA,EAAMA,uBAAqC,MAAM;AAAA,GACnD;AAAA;AAAA;AAAA;AAAA,EAIA,kBAAA,EAAoB;AAAA,IAClB,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,OAAA,EAAS;AAAA,IACP,IAAA,EAAMA,uBAAqC,MAAM;AAAA,GACnD;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ,MAAA;AAAA;AAAA;AAAA;AAAA,EAIR,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA,EACA,GAAGE;AACL,CAAU;;;;"}
1
+ {"version":3,"file":"config-provider-props.js","sources":["../../../../../../packages/components/config-provider/src/config-provider-props.ts"],"sourcesContent":["import { buildProps, definePropType } from '@element-plus/utils'\nimport { useEmptyValuesProps, useSizeProp } from '@element-plus/hooks'\n\nimport type { ExtractPropTypes, ExtractPublicPropTypes } from 'vue'\nimport type { Language } from '@element-plus/locale'\nimport type { ButtonConfigContext } from '@element-plus/components/button'\nimport type { CardConfigContext } from '@element-plus/components/card'\nimport type { DialogConfigContext } from '@element-plus/components/dialog'\nimport type { MessageConfigContext } from '@element-plus/components/message'\nimport type { LinkConfigContext } from '@element-plus/components/link'\nimport type { TableConfigContext } from '@element-plus/components/table'\n\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\nexport type ExperimentalFeatures = {\n // TO BE Defined\n}\n\nexport const configProviderProps = buildProps({\n /**\n * @description Controlling if the users want a11y features\n */\n a11y: {\n type: Boolean,\n default: true,\n },\n /**\n * @description Locale Object\n */\n locale: {\n type: definePropType<Language>(Object),\n },\n /**\n * @description global component size\n */\n size: useSizeProp,\n /**\n * @description button related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#button-attribute)\n */\n button: {\n type: definePropType<ButtonConfigContext>(Object),\n },\n /**\n * @description card related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#card-attribute)\n */\n card: {\n type: definePropType<CardConfigContext>(Object),\n },\n /**\n * @description dialog related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#dialog-attribute)\n */\n dialog: {\n type: definePropType<DialogConfigContext>(Object),\n },\n /**\n * @description link related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#link-attribute)\n */\n link: {\n type: definePropType<LinkConfigContext>(Object),\n },\n /**\n * @description features at experimental stage to be added, all features are default to be set to false, [see the following table](https://element-plus.org/en-US/component/config-provider.html#experimental-features) | ^[object]\n */\n experimentalFeatures: {\n type: definePropType<ExperimentalFeatures>(Object),\n },\n /**\n * @description Controls if we should handle keyboard navigation\n */\n keyboardNavigation: {\n type: Boolean,\n default: true,\n },\n /**\n * @description message related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#message-attribute)\n */\n message: {\n type: definePropType<MessageConfigContext>(Object),\n },\n /**\n * @description global Initial zIndex\n */\n zIndex: Number,\n /**\n * @description global component className prefix (cooperated with [$namespace](https://github.com/element-plus/element-plus/blob/dev/packages/theme-chalk/src/mixins/config.scss#L1)) | ^[string]\n */\n namespace: {\n type: String,\n default: 'el',\n },\n /**\n * @description table related configuration, [see the following table](https://element-plus.org/en-US/component/config-provider.html#table-attribute)\n */\n table: {\n type: definePropType<TableConfigContext>(Object),\n },\n ...useEmptyValuesProps,\n} as const)\nexport type ConfigProviderProps = ExtractPropTypes<typeof configProviderProps>\nexport type ConfigProviderPropsPublic = ExtractPublicPropTypes<\n typeof configProviderProps\n>\n"],"names":["buildProps","definePropType","useSizeProp","useEmptyValuesProps"],"mappings":";;;;;;AAiBO,MAAM,sBAAsBA,kBAAA,CAAW;AAAA;AAAA;AAAA;AAAA,EAI5C,IAAA,EAAM;AAAA,IACJ,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAMC,uBAAyB,MAAM;AAAA,GACvC;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAMC,mBAAA;AAAA;AAAA;AAAA;AAAA,EAIN,MAAA,EAAQ;AAAA,IACN,IAAA,EAAMD,uBAAoC,MAAM;AAAA,GAClD;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAMA,uBAAkC,MAAM;AAAA,GAChD;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ;AAAA,IACN,IAAA,EAAMA,uBAAoC,MAAM;AAAA,GAClD;AAAA;AAAA;AAAA;AAAA,EAIA,IAAA,EAAM;AAAA,IACJ,IAAA,EAAMA,uBAAkC,MAAM;AAAA,GAChD;AAAA;AAAA;AAAA;AAAA,EAIA,oBAAA,EAAsB;AAAA,IACpB,IAAA,EAAMA,uBAAqC,MAAM;AAAA,GACnD;AAAA;AAAA;AAAA;AAAA,EAIA,kBAAA,EAAoB;AAAA,IAClB,IAAA,EAAM,OAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,OAAA,EAAS;AAAA,IACP,IAAA,EAAMA,uBAAqC,MAAM;AAAA,GACnD;AAAA;AAAA;AAAA;AAAA,EAIA,MAAA,EAAQ,MAAA;AAAA;AAAA;AAAA;AAAA,EAIR,SAAA,EAAW;AAAA,IACT,IAAA,EAAM,MAAA;AAAA,IACN,OAAA,EAAS;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,KAAA,EAAO;AAAA,IACL,IAAA,EAAMA,uBAAmC,MAAM;AAAA,GACjD;AAAA,EACA,GAAGE;AACL,CAAU;;;;"}
@@ -55,6 +55,12 @@ declare const ConfigProvider: import("vue").DefineComponent<{
55
55
  };
56
56
  readonly zIndex: NumberConstructor;
57
57
  readonly namespace: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "el", boolean>;
58
+ readonly table: {
59
+ readonly type: import("vue").PropType<import("element-plus").TableConfigContext>;
60
+ readonly required: false;
61
+ readonly validator: ((val: unknown) => boolean) | undefined;
62
+ __epPropKey: true;
63
+ };
58
64
  }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
59
65
  [key: string]: any;
60
66
  }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
@@ -112,6 +118,12 @@ declare const ConfigProvider: import("vue").DefineComponent<{
112
118
  };
113
119
  readonly zIndex: NumberConstructor;
114
120
  readonly namespace: import("@element-plus/nightly/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "el", boolean>;
121
+ readonly table: {
122
+ readonly type: import("vue").PropType<import("element-plus").TableConfigContext>;
123
+ readonly required: false;
124
+ readonly validator: ((val: unknown) => boolean) | undefined;
125
+ __epPropKey: true;
126
+ };
115
127
  }>>, {
116
128
  readonly valueOnClear: import("@element-plus/nightly/es/utils").EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | ((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null))[], unknown, unknown>;
117
129
  readonly a11y: import("@element-plus/nightly/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -69,9 +69,9 @@ declare const DescriptionItem: import("vue").DefineComponent<{
69
69
  width: import("@element-plus/nightly/es/utils").EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
70
70
  minWidth: import("@element-plus/nightly/es/utils").EpPropMergeType<(NumberConstructor | StringConstructor)[], unknown, unknown>;
71
71
  className: string;
72
+ labelClassName: string;
72
73
  align: import("@element-plus/nightly/es/utils").EpPropMergeType<StringConstructor, "center" | "left" | "right", unknown>;
73
74
  rowspan: number;
74
- labelClassName: string;
75
75
  }, {}>;
76
76
  export default DescriptionItem;
77
77
  export type DescriptionItemProps = ExtractPropTypes<typeof descriptionItemProps>;
@@ -123,10 +123,10 @@ declare const _default: import("vue").DefineComponent<{
123
123
  readonly appendSizeTo: StringConstructor;
124
124
  }>> & {
125
125
  onChange?: ((currentPage: number, pageSize: number) => any) | undefined;
126
+ "onCurrent-change"?: ((val: number) => any) | undefined;
126
127
  "onUpdate:current-page"?: ((val: number) => any) | undefined;
127
128
  "onUpdate:page-size"?: ((val: number) => any) | undefined;
128
129
  "onSize-change"?: ((val: number) => any) | undefined;
129
- "onCurrent-change"?: ((val: number) => any) | undefined;
130
130
  "onPrev-click"?: ((val: number) => any) | undefined;
131
131
  "onNext-click"?: ((val: number) => any) | undefined;
132
132
  }, {
@@ -415,6 +415,7 @@ declare const __VLS_export: import("vue").DefineComponent<{
415
415
  valueKey: string;
416
416
  debounce: number;
417
417
  fitInputWidth: boolean;
418
+ filterable: boolean;
418
419
  automaticDropdown: boolean;
419
420
  maxCollapseTags: number;
420
421
  multipleLimit: number;
@@ -425,7 +426,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
425
426
  collapseTags: boolean;
426
427
  collapseTagsTooltip: boolean;
427
428
  defaultFirstOption: boolean;
428
- filterable: boolean;
429
429
  remote: boolean;
430
430
  remoteShowSuffix: boolean;
431
431
  }, {}>;
@@ -604,8 +604,9 @@ declare const __VLS_export: import("vue").DefineComponent<{
604
604
  readonly valueKey: string;
605
605
  readonly debounce: number;
606
606
  readonly fitInputWidth: import("@element-plus/nightly/es/utils").EpPropMergeType<readonly [BooleanConstructor, NumberConstructor], unknown, number | boolean>;
607
- readonly automaticDropdown: boolean;
607
+ readonly filterable: boolean;
608
608
  readonly scrollbarAlwaysOn: boolean;
609
+ readonly automaticDropdown: boolean;
609
610
  readonly maxCollapseTags: number;
610
611
  readonly estimatedOptionHeight: number;
611
612
  readonly itemHeight: number;
@@ -617,7 +618,6 @@ declare const __VLS_export: import("vue").DefineComponent<{
617
618
  readonly collapseTags: boolean;
618
619
  readonly collapseTagsTooltip: boolean;
619
620
  readonly defaultFirstOption: boolean;
620
- readonly filterable: boolean;
621
621
  readonly remote: boolean;
622
622
  readonly remoteShowSuffix: boolean;
623
623
  }, {}>;
@@ -8,4 +8,4 @@ export default ElTable;
8
8
  export declare const ElTableColumn: SFCWithInstall<typeof TableColumn>;
9
9
  export type TableInstance = InstanceType<typeof Table> & unknown;
10
10
  export type TableColumnInstance = InstanceType<typeof TableColumn> & unknown;
11
- export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, CellCls, CellStyle, TreeNode, RenderRowData, Sort, Filter, TableColumnCtx, TableTooltipData, } from './src/table/defaults';
11
+ export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, CellCls, CellStyle, TreeNode, RenderRowData, Sort, Filter, TableColumnCtx, TableTooltipData, TableConfigContext, } from './src/table/defaults';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Table from './src/table.vue'\nimport TableColumn from './src/tableColumn'\n\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport const ElTable: SFCWithInstall<typeof Table> & {\n TableColumn: typeof TableColumn\n} = withInstall(Table, {\n TableColumn,\n})\nexport default ElTable\nexport const ElTableColumn: SFCWithInstall<typeof TableColumn> =\n withNoopInstall(TableColumn)\n\nexport type TableInstance = InstanceType<typeof Table> & unknown\n\nexport type TableColumnInstance = InstanceType<typeof TableColumn> & unknown\n\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TableTooltipData,\n} from './src/table/defaults'\n"],"names":["withInstall","Table","TableColumn","withNoopInstall"],"mappings":";;;;;;;;AAMO,MAAM,OAAA,GAETA,oBAAYC,aAAA,EAAO;AAAA,eACrBC;AACF,CAAC;AAEM,MAAM,aAAA,GACXC,wBAAgBD,aAAW;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall, withNoopInstall } from '@element-plus/utils'\nimport Table from './src/table.vue'\nimport TableColumn from './src/tableColumn'\n\nimport type { SFCWithInstall } from '@element-plus/utils'\n\nexport const ElTable: SFCWithInstall<typeof Table> & {\n TableColumn: typeof TableColumn\n} = withInstall(Table, {\n TableColumn,\n})\nexport default ElTable\nexport const ElTableColumn: SFCWithInstall<typeof TableColumn> =\n withNoopInstall(TableColumn)\n\nexport type TableInstance = InstanceType<typeof Table> & unknown\n\nexport type TableColumnInstance = InstanceType<typeof TableColumn> & unknown\n\nexport type {\n SummaryMethod,\n Table,\n TableProps,\n TableRefs,\n ColumnCls,\n ColumnStyle,\n CellCls,\n CellStyle,\n TreeNode,\n RenderRowData,\n Sort,\n Filter,\n TableColumnCtx,\n TableTooltipData,\n TableConfigContext,\n} from './src/table/defaults'\n"],"names":["withInstall","Table","TableColumn","withNoopInstall"],"mappings":";;;;;;;;AAMO,MAAM,OAAA,GAETA,oBAAYC,aAAA,EAAO;AAAA,eACrBC;AACF,CAAC;AAEM,MAAM,aAAA,GACXC,wBAAgBD,aAAW;;;;;;"}
@@ -165,6 +165,12 @@ interface RenderRowData<T extends DefaultRow> {
165
165
  treeNode?: TreeNode;
166
166
  expanded: boolean;
167
167
  }
168
+ interface TableConfigContext {
169
+ showOverflowTooltip?: boolean | TableOverflowTooltipOptions;
170
+ tooltipEffect?: string;
171
+ tooltipOptions?: TableOverflowTooltipOptions;
172
+ tooltipFormatter?: TableOverflowTooltipFormatter<any>;
173
+ }
168
174
  declare const _default: {
169
175
  /**
170
176
  * @description table data
@@ -362,7 +368,10 @@ declare const _default: {
362
368
  /**
363
369
  * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
364
370
  */
365
- showOverflowTooltip: PropType<TableProps<any>["showOverflowTooltip"]>;
371
+ showOverflowTooltip: {
372
+ type: PropType<TableProps<any>["showOverflowTooltip"]>;
373
+ default: undefined;
374
+ };
366
375
  /**
367
376
  * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`
368
377
  */
@@ -389,4 +398,4 @@ declare const _default: {
389
398
  nativeScrollbar: BooleanConstructor;
390
399
  };
391
400
  export default _default;
392
- export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, CellCls, CellStyle, DefaultRow, TreeNode, RenderRowData, Sort, Filter, TableColumnCtx, TreeProps, TableTooltipData, TableSortOrder, RenderExpanded, };
401
+ export type { SummaryMethod, Table, TableProps, TableRefs, ColumnCls, ColumnStyle, CellCls, CellStyle, DefaultRow, TreeNode, RenderRowData, Sort, Filter, TableColumnCtx, TreeProps, TableTooltipData, TableSortOrder, RenderExpanded, TableConfigContext, };
@@ -198,7 +198,10 @@ var defaultProps = {
198
198
  /**
199
199
  * @description whether to hide extra content and show them in a tooltip when hovering on the cell.It will affect all the table columns
200
200
  */
201
- showOverflowTooltip: [Boolean, Object],
201
+ showOverflowTooltip: {
202
+ type: [Boolean, Object],
203
+ default: void 0
204
+ },
202
205
  /**
203
206
  * @description function that formats cell tooltip content, works when `show-overflow-tooltip` is `true`
204
207
  */
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.js","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\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: [Boolean, Object] as PropType<\n TableProps<any>['showOverflowTooltip']\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}\n"],"names":["useSizeProp"],"mappings":"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"}
1
+ {"version":3,"file":"defaults.js","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"],"names":["useSizeProp"],"mappings":"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"}
@@ -21,8 +21,8 @@ declare const __VLS_base: import("vue").DefineComponent<{
21
21
  default: number;
22
22
  };
23
23
  }>>, {
24
- rowspan: number;
25
24
  colspan: number;
25
+ rowspan: number;
26
26
  }, {}>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
28
  declare const _default: typeof __VLS_export;
@@ -115,10 +115,10 @@ declare const _default: import("vue").DefineComponent<{
115
115
  width: string | number;
116
116
  minWidth: string | number;
117
117
  type: string;
118
- resizable: boolean;
119
118
  showOverflowTooltip: boolean | Partial<Pick<import("element-plus").UseTooltipProps, "offset" | "transition" | "placement" | "effect" | "showAfter" | "hideAfter" | "appendTo" | "popperOptions" | "enterable" | "popperClass" | "showArrow">> | undefined;
120
119
  sortOrders: (import("../table/defaults").TableSortOrder | null)[];
121
120
  sortable: string | boolean;
121
+ resizable: boolean;
122
122
  reserveSelection: boolean;
123
123
  filterMultiple: boolean;
124
124
  }, {}>;
@@ -10,6 +10,7 @@ var watcherHelper = require('./watcher-helper.js');
10
10
  var renderHelper = require('./render-helper.js');
11
11
  var defaults = require('./defaults.js');
12
12
  var shared = require('@vue/shared');
13
+ var useGlobalConfig = require('../../../config-provider/src/hooks/use-global-config.js');
13
14
  var types = require('../../../../utils/types.js');
14
15
 
15
16
  let columnIdSeed = 1;
@@ -21,6 +22,7 @@ var ElTableColumn = vue.defineComponent({
21
22
  props: defaults.default,
22
23
  setup(props, { slots }) {
23
24
  const instance = vue.getCurrentInstance();
25
+ const globalConfig = useGlobalConfig.useGlobalConfig("table");
24
26
  const columnConfig = vue.ref({});
25
27
  const owner = vue.computed(() => {
26
28
  let parent2 = instance.parent;
@@ -49,11 +51,12 @@ var ElTableColumn = vue.defineComponent({
49
51
  const parent = columnOrTableParent.value;
50
52
  columnId.value = `${"tableId" in parent && parent.tableId || "columnId" in parent && parent.columnId}_column_${columnIdSeed++}`;
51
53
  vue.onBeforeMount(() => {
54
+ var _a, _b, _c, _d;
52
55
  isSubColumn.value = owner.value !== parent;
53
56
  const type = props.type || "default";
54
57
  const sortable = props.sortable === "" ? true : props.sortable;
55
- const showOverflowTooltip = type === "selection" ? false : types.isUndefined(props.showOverflowTooltip) ? parent.props.showOverflowTooltip : props.showOverflowTooltip;
56
- const tooltipFormatter = types.isUndefined(props.tooltipFormatter) ? parent.props.tooltipFormatter : props.tooltipFormatter;
58
+ const showOverflowTooltip = type === "selection" ? false : types.isUndefined(props.showOverflowTooltip) ? (_b = parent.props.showOverflowTooltip) != null ? _b : (_a = globalConfig.value) == null ? void 0 : _a.showOverflowTooltip : props.showOverflowTooltip;
59
+ const tooltipFormatter = types.isUndefined(props.tooltipFormatter) ? (_d = parent.props.tooltipFormatter) != null ? _d : (_c = globalConfig.value) == null ? void 0 : _c.tooltipFormatter : props.tooltipFormatter;
57
60
  const defaults = {
58
61
  ...config.cellStarts[type],
59
62
  id: columnId.value,