@element-plus/nightly 0.0.20251126 → 0.0.20251128

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 (530) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.full.js +43 -25
  3. package/dist/index.full.min.js +15 -15
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +10 -10
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +43 -25
  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/autocomplete/index.mjs +2 -2
  277. package/es/components/autocomplete/src/autocomplete.mjs +444 -60
  278. package/es/components/autocomplete/src/autocomplete.mjs.map +1 -1
  279. package/es/components/autocomplete/src/autocomplete2.mjs +60 -444
  280. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  281. package/es/components/breadcrumb/index.mjs +2 -2
  282. package/es/components/breadcrumb/src/breadcrumb-item.mjs +56 -8
  283. package/es/components/breadcrumb/src/breadcrumb-item.mjs.map +1 -1
  284. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +8 -56
  285. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  286. package/es/components/calendar/index.mjs +2 -2
  287. package/es/components/calendar/src/calendar.mjs +134 -16
  288. package/es/components/calendar/src/calendar.mjs.map +1 -1
  289. package/es/components/calendar/src/calendar2.mjs +16 -134
  290. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  291. package/es/components/calendar/src/date-table.mjs +89 -31
  292. package/es/components/calendar/src/date-table.mjs.map +1 -1
  293. package/es/components/calendar/src/date-table2.mjs +31 -89
  294. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  295. package/es/components/calendar/src/use-date-table.mjs +1 -1
  296. package/es/components/carousel/index.mjs +2 -2
  297. package/es/components/carousel/src/carousel.mjs +212 -61
  298. package/es/components/carousel/src/carousel.mjs.map +1 -1
  299. package/es/components/carousel/src/carousel2.mjs +61 -212
  300. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  301. package/es/components/checkbox/index.mjs +2 -2
  302. package/es/components/checkbox/src/checkbox-button.mjs +1 -1
  303. package/es/components/checkbox/src/checkbox-group2.mjs +1 -1
  304. package/es/components/checkbox/src/checkbox.mjs +108 -59
  305. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  306. package/es/components/checkbox/src/checkbox2.mjs +59 -108
  307. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  308. package/es/components/col/index.mjs +2 -2
  309. package/es/components/col/src/col.mjs +64 -43
  310. package/es/components/col/src/col.mjs.map +1 -1
  311. package/es/components/col/src/col2.mjs +43 -64
  312. package/es/components/col/src/col2.mjs.map +1 -1
  313. package/es/components/collection/index.mjs +1 -1
  314. package/es/components/collection/src/collection.mjs +10 -62
  315. package/es/components/collection/src/collection.mjs.map +1 -1
  316. package/es/components/collection/src/collection2.mjs +62 -10
  317. package/es/components/collection/src/collection2.mjs.map +1 -1
  318. package/es/components/color-picker-panel/src/components/alpha-slider.mjs +3 -2
  319. package/es/components/color-picker-panel/src/components/alpha-slider.mjs.map +1 -1
  320. package/es/components/color-picker-panel/src/components/hue-slider.mjs +3 -2
  321. package/es/components/color-picker-panel/src/components/hue-slider.mjs.map +1 -1
  322. package/es/components/color-picker-panel/src/components/sv-panel.mjs +3 -2
  323. package/es/components/color-picker-panel/src/components/sv-panel.mjs.map +1 -1
  324. package/es/components/date-picker-panel/src/date-picker-com/basic-date-table.mjs +3 -2
  325. package/es/components/date-picker-panel/src/date-picker-com/basic-date-table.mjs.map +1 -1
  326. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.mjs +6 -4
  327. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.mjs.map +1 -1
  328. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs +12 -8
  329. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.mjs.map +1 -1
  330. package/es/components/dropdown/src/dropdown-item-impl.mjs +2 -2
  331. package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
  332. package/es/components/dropdown/src/dropdown2.mjs +1 -1
  333. package/es/components/form/index.mjs +4 -4
  334. package/es/components/form/src/form-item.mjs +322 -46
  335. package/es/components/form/src/form-item.mjs.map +1 -1
  336. package/es/components/form/src/form-item2.mjs +46 -322
  337. package/es/components/form/src/form-item2.mjs.map +1 -1
  338. package/es/components/form/src/form.mjs +161 -54
  339. package/es/components/form/src/form.mjs.map +1 -1
  340. package/es/components/form/src/form2.mjs +54 -161
  341. package/es/components/form/src/form2.mjs.map +1 -1
  342. package/es/components/index.mjs +14 -14
  343. package/es/components/popper/index.mjs +2 -2
  344. package/es/components/popper/src/content.mjs +131 -89
  345. package/es/components/popper/src/content.mjs.map +1 -1
  346. package/es/components/popper/src/content2.mjs +89 -131
  347. package/es/components/popper/src/content2.mjs.map +1 -1
  348. package/es/components/roving-focus-group/index.mjs +3 -3
  349. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +1 -1
  350. package/es/components/roving-focus-group/src/roving-focus-group.mjs +27 -27
  351. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -1
  352. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +27 -27
  353. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -1
  354. package/es/components/roving-focus-group/src/roving-focus-item.mjs +1 -1
  355. package/es/components/splitter/index.mjs +2 -2
  356. package/es/components/splitter/src/splitter.mjs +15 -100
  357. package/es/components/splitter/src/splitter.mjs.map +1 -1
  358. package/es/components/splitter/src/splitter2.mjs +100 -15
  359. package/es/components/splitter/src/splitter2.mjs.map +1 -1
  360. package/es/components/table/src/table/defaults.d.ts +3 -3
  361. package/es/components/table/src/table/defaults.mjs +1 -1
  362. package/es/components/table/src/table/defaults.mjs.map +1 -1
  363. package/es/components/table/src/table.vue.d.ts +3 -3
  364. package/es/components/tabs/index.mjs +3 -3
  365. package/es/components/tabs/src/tab-bar.mjs +11 -92
  366. package/es/components/tabs/src/tab-bar.mjs.map +1 -1
  367. package/es/components/tabs/src/tab-bar2.mjs +92 -11
  368. package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
  369. package/es/components/tabs/src/tab-nav.mjs +1 -1
  370. package/es/components/tabs/src/tab-pane.mjs +85 -16
  371. package/es/components/tabs/src/tab-pane.mjs.map +1 -1
  372. package/es/components/tabs/src/tab-pane2.mjs +16 -85
  373. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  374. package/es/components/timeline/src/timeline.d.ts +8 -2
  375. package/es/components/timeline/src/timeline.mjs +12 -3
  376. package/es/components/timeline/src/timeline.mjs.map +1 -1
  377. package/es/components/tooltip/src/content.mjs +1 -1
  378. package/es/components/tooltip/src/content2.mjs +1 -1
  379. package/es/components/tour/index.mjs +1 -1
  380. package/es/components/tour/src/content.mjs +43 -67
  381. package/es/components/tour/src/content.mjs.map +1 -1
  382. package/es/components/tour/src/content2.mjs +67 -43
  383. package/es/components/tour/src/content2.mjs.map +1 -1
  384. package/es/components/tour/src/step.mjs +1 -1
  385. package/es/components/tour/src/tour.mjs +1 -1
  386. package/es/components/tour/src/tour2.mjs +1 -1
  387. package/es/components/transfer/src/composables/use-check.mjs +1 -1
  388. package/es/components/transfer/src/transfer-panel.mjs +19 -130
  389. package/es/components/transfer/src/transfer-panel.mjs.map +1 -1
  390. package/es/components/transfer/src/transfer-panel2.mjs +130 -19
  391. package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
  392. package/es/components/transfer/src/transfer2.mjs +1 -1
  393. package/es/components/tree-select/index.d.ts +1 -0
  394. package/es/components/tree-select/index.mjs.map +1 -1
  395. package/es/components/tree-select/src/instance.d.ts +6 -0
  396. package/es/components/tree-select/src/instance.mjs +2 -0
  397. package/es/components/tree-select/src/instance.mjs.map +1 -0
  398. package/es/index.mjs +14 -14
  399. package/es/version.d.ts +1 -1
  400. package/es/version.mjs +1 -1
  401. package/es/version.mjs.map +1 -1
  402. package/lib/components/autocomplete/index.js +2 -2
  403. package/lib/components/autocomplete/src/autocomplete.js +442 -59
  404. package/lib/components/autocomplete/src/autocomplete.js.map +1 -1
  405. package/lib/components/autocomplete/src/autocomplete2.js +59 -442
  406. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  407. package/lib/components/breadcrumb/index.js +2 -2
  408. package/lib/components/breadcrumb/src/breadcrumb-item.js +56 -8
  409. package/lib/components/breadcrumb/src/breadcrumb-item.js.map +1 -1
  410. package/lib/components/breadcrumb/src/breadcrumb-item2.js +8 -56
  411. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  412. package/lib/components/calendar/index.js +2 -2
  413. package/lib/components/calendar/src/calendar.js +134 -17
  414. package/lib/components/calendar/src/calendar.js.map +1 -1
  415. package/lib/components/calendar/src/calendar2.js +17 -134
  416. package/lib/components/calendar/src/calendar2.js.map +1 -1
  417. package/lib/components/calendar/src/date-table.js +89 -35
  418. package/lib/components/calendar/src/date-table.js.map +1 -1
  419. package/lib/components/calendar/src/date-table2.js +35 -89
  420. package/lib/components/calendar/src/date-table2.js.map +1 -1
  421. package/lib/components/calendar/src/use-date-table.js +1 -1
  422. package/lib/components/carousel/index.js +2 -2
  423. package/lib/components/carousel/src/carousel.js +212 -62
  424. package/lib/components/carousel/src/carousel.js.map +1 -1
  425. package/lib/components/carousel/src/carousel2.js +62 -212
  426. package/lib/components/carousel/src/carousel2.js.map +1 -1
  427. package/lib/components/checkbox/index.js +2 -2
  428. package/lib/components/checkbox/src/checkbox-button.js +1 -1
  429. package/lib/components/checkbox/src/checkbox-group2.js +1 -1
  430. package/lib/components/checkbox/src/checkbox.js +108 -60
  431. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  432. package/lib/components/checkbox/src/checkbox2.js +60 -108
  433. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  434. package/lib/components/col/index.js +2 -2
  435. package/lib/components/col/src/col.js +64 -43
  436. package/lib/components/col/src/col.js.map +1 -1
  437. package/lib/components/col/src/col2.js +43 -64
  438. package/lib/components/col/src/col2.js.map +1 -1
  439. package/lib/components/collection/index.js +1 -1
  440. package/lib/components/collection/src/collection.js +9 -62
  441. package/lib/components/collection/src/collection.js.map +1 -1
  442. package/lib/components/collection/src/collection2.js +62 -9
  443. package/lib/components/collection/src/collection2.js.map +1 -1
  444. package/lib/components/color-picker-panel/src/components/alpha-slider.js +3 -2
  445. package/lib/components/color-picker-panel/src/components/alpha-slider.js.map +1 -1
  446. package/lib/components/color-picker-panel/src/components/hue-slider.js +3 -2
  447. package/lib/components/color-picker-panel/src/components/hue-slider.js.map +1 -1
  448. package/lib/components/color-picker-panel/src/components/sv-panel.js +3 -2
  449. package/lib/components/color-picker-panel/src/components/sv-panel.js.map +1 -1
  450. package/lib/components/date-picker-panel/src/date-picker-com/basic-date-table.js +3 -2
  451. package/lib/components/date-picker-panel/src/date-picker-com/basic-date-table.js.map +1 -1
  452. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.js +6 -4
  453. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.js.map +1 -1
  454. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js +12 -8
  455. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.js.map +1 -1
  456. package/lib/components/dropdown/src/dropdown-item-impl.js +2 -2
  457. package/lib/components/dropdown/src/dropdown-menu.js +1 -1
  458. package/lib/components/dropdown/src/dropdown2.js +1 -1
  459. package/lib/components/form/index.js +4 -4
  460. package/lib/components/form/src/form-item.js +326 -47
  461. package/lib/components/form/src/form-item.js.map +1 -1
  462. package/lib/components/form/src/form-item2.js +47 -326
  463. package/lib/components/form/src/form-item2.js.map +1 -1
  464. package/lib/components/form/src/form.js +160 -55
  465. package/lib/components/form/src/form.js.map +1 -1
  466. package/lib/components/form/src/form2.js +55 -160
  467. package/lib/components/form/src/form2.js.map +1 -1
  468. package/lib/components/index.js +14 -14
  469. package/lib/components/popper/index.js +2 -2
  470. package/lib/components/popper/src/content.js +131 -94
  471. package/lib/components/popper/src/content.js.map +1 -1
  472. package/lib/components/popper/src/content2.js +94 -131
  473. package/lib/components/popper/src/content2.js.map +1 -1
  474. package/lib/components/roving-focus-group/index.js +2 -2
  475. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +1 -1
  476. package/lib/components/roving-focus-group/src/roving-focus-group.js +27 -31
  477. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -1
  478. package/lib/components/roving-focus-group/src/roving-focus-group2.js +31 -27
  479. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -1
  480. package/lib/components/roving-focus-group/src/roving-focus-item.js +1 -1
  481. package/lib/components/splitter/index.js +2 -2
  482. package/lib/components/splitter/src/splitter.js +16 -100
  483. package/lib/components/splitter/src/splitter.js.map +1 -1
  484. package/lib/components/splitter/src/splitter2.js +100 -16
  485. package/lib/components/splitter/src/splitter2.js.map +1 -1
  486. package/lib/components/table/src/table/defaults.d.ts +3 -3
  487. package/lib/components/table/src/table/defaults.js +1 -1
  488. package/lib/components/table/src/table/defaults.js.map +1 -1
  489. package/lib/components/table/src/table.vue.d.ts +3 -3
  490. package/lib/components/tabs/index.js +3 -3
  491. package/lib/components/tabs/src/tab-bar.js +11 -92
  492. package/lib/components/tabs/src/tab-bar.js.map +1 -1
  493. package/lib/components/tabs/src/tab-bar2.js +92 -11
  494. package/lib/components/tabs/src/tab-bar2.js.map +1 -1
  495. package/lib/components/tabs/src/tab-nav.js +1 -1
  496. package/lib/components/tabs/src/tab-pane.js +85 -16
  497. package/lib/components/tabs/src/tab-pane.js.map +1 -1
  498. package/lib/components/tabs/src/tab-pane2.js +16 -85
  499. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  500. package/lib/components/timeline/src/timeline.d.ts +8 -2
  501. package/lib/components/timeline/src/timeline.js +11 -2
  502. package/lib/components/timeline/src/timeline.js.map +1 -1
  503. package/lib/components/tooltip/src/content.js +1 -1
  504. package/lib/components/tooltip/src/content2.js +1 -1
  505. package/lib/components/tour/index.js +1 -1
  506. package/lib/components/tour/src/content.js +46 -67
  507. package/lib/components/tour/src/content.js.map +1 -1
  508. package/lib/components/tour/src/content2.js +67 -46
  509. package/lib/components/tour/src/content2.js.map +1 -1
  510. package/lib/components/tour/src/step.js +1 -1
  511. package/lib/components/tour/src/tour.js +1 -1
  512. package/lib/components/tour/src/tour2.js +1 -1
  513. package/lib/components/transfer/src/composables/use-check.js +1 -1
  514. package/lib/components/transfer/src/transfer-panel.js +21 -130
  515. package/lib/components/transfer/src/transfer-panel.js.map +1 -1
  516. package/lib/components/transfer/src/transfer-panel2.js +130 -21
  517. package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
  518. package/lib/components/transfer/src/transfer2.js +1 -1
  519. package/lib/components/tree-select/index.d.ts +1 -0
  520. package/lib/components/tree-select/index.js.map +1 -1
  521. package/lib/components/tree-select/src/instance.d.ts +6 -0
  522. package/lib/components/tree-select/src/instance.js +3 -0
  523. package/lib/components/tree-select/src/instance.js.map +1 -0
  524. package/lib/index.js +14 -14
  525. package/lib/version.d.ts +1 -1
  526. package/lib/version.js +1 -1
  527. package/lib/version.js.map +1 -1
  528. package/package.json +2 -2
  529. package/tags.json +1 -1
  530. package/web-types.json +1 -1
@@ -1,104 +1,19 @@
1
- import { defineComponent, toRef, getCurrentInstance, watch, computed, provide, reactive, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, createVNode, createCommentVNode, nextTick } from 'vue';
2
- import { splitterProps, splitterEmits } from './splitter2.mjs';
3
- import { splitterRootContextKey } from './type.mjs';
4
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
5
- import { useContainer } from './hooks/useContainer.mjs';
6
- import { useSize } from './hooks/useSize.mjs';
7
- import { useResize } from './hooks/useResize.mjs';
8
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
9
- import { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';
1
+ import { buildProps } from '../../../utils/vue/props/runtime.mjs';
10
2
 
11
- const __default__ = defineComponent({
12
- name: "ElSplitter"
3
+ const splitterProps = buildProps({
4
+ layout: {
5
+ type: String,
6
+ default: "horizontal",
7
+ values: ["horizontal", "vertical"]
8
+ },
9
+ lazy: Boolean
13
10
  });
14
- const _sfc_main = /* @__PURE__ */ defineComponent({
15
- ...__default__,
16
- props: splitterProps,
17
- emits: splitterEmits,
18
- setup(__props, { emit: emits }) {
19
- const props = __props;
20
- const ns = useNamespace("splitter");
21
- const layout = toRef(props, "layout");
22
- const lazy = toRef(props, "lazy");
23
- const { containerEl, containerSize } = useContainer(layout);
24
- const {
25
- removeChild: unregisterPanel,
26
- children: panels,
27
- addChild: registerPanel,
28
- ChildrenSorter: PanelsSorter
29
- } = useOrderedChildren(getCurrentInstance(), "ElSplitterPanel");
30
- watch(panels, () => {
31
- panels.value.forEach((instance, index) => {
32
- instance.setIndex(index);
33
- });
34
- });
35
- const { percentSizes, pxSizes } = useSize(panels, containerSize);
36
- const {
37
- lazyOffset,
38
- movingIndex,
39
- onMoveStart,
40
- onMoving,
41
- onMoveEnd,
42
- onCollapse
43
- } = useResize(panels, containerSize, pxSizes, lazy);
44
- const splitterStyles = computed(() => {
45
- return {
46
- [ns.cssVarBlockName("bar-offset")]: lazy.value ? `${lazyOffset.value}px` : void 0
47
- };
48
- });
49
- const onResizeStart = (index) => {
50
- onMoveStart(index);
51
- emits("resizeStart", index, pxSizes.value);
52
- };
53
- const onResize = (index, offset) => {
54
- onMoving(index, offset);
55
- if (!lazy.value) {
56
- emits("resize", index, pxSizes.value);
57
- }
58
- };
59
- const onResizeEnd = async (index) => {
60
- onMoveEnd();
61
- await nextTick();
62
- emits("resizeEnd", index, pxSizes.value);
63
- };
64
- const onCollapsible = (index, type) => {
65
- onCollapse(index, type);
66
- emits("collapse", index, type, pxSizes.value);
67
- };
68
- provide(splitterRootContextKey, reactive({
69
- panels,
70
- percentSizes,
71
- pxSizes,
72
- layout,
73
- lazy,
74
- movingIndex,
75
- containerSize,
76
- onMoveStart: onResizeStart,
77
- onMoving: onResize,
78
- onMoveEnd: onResizeEnd,
79
- onCollapse: onCollapsible,
80
- registerPanel,
81
- unregisterPanel
82
- }));
83
- return (_ctx, _cache) => {
84
- return openBlock(), createElementBlock("div", {
85
- ref_key: "containerEl",
86
- ref: containerEl,
87
- class: normalizeClass([unref(ns).b(), unref(ns).e(unref(layout))]),
88
- style: normalizeStyle(unref(splitterStyles))
89
- }, [
90
- renderSlot(_ctx.$slots, "default"),
91
- createVNode(unref(PanelsSorter)),
92
- createCommentVNode(" Prevent iframe touch events from breaking "),
93
- unref(movingIndex) ? (openBlock(), createElementBlock("div", {
94
- key: 0,
95
- class: normalizeClass([unref(ns).e("mask"), unref(ns).e(`mask-${unref(layout)}`)])
96
- }, null, 2)) : createCommentVNode("v-if", true)
97
- ], 6);
98
- };
99
- }
100
- });
101
- var Splitter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "splitter.vue"]]);
11
+ const splitterEmits = {
12
+ resizeStart: (index, sizes) => true,
13
+ resize: (index, sizes) => true,
14
+ resizeEnd: (index, sizes) => true,
15
+ collapse: (index, type, sizes) => true
16
+ };
102
17
 
103
- export { Splitter as default };
18
+ export { splitterEmits, splitterProps };
104
19
  //# sourceMappingURL=splitter.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitter.mjs","sources":["../../../../../../packages/components/splitter/src/splitter.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n computed,\n getCurrentInstance,\n nextTick,\n provide,\n reactive,\n toRef,\n watch,\n} from 'vue'\nimport { useNamespace, useOrderedChildren } from '@element-plus/hooks'\nimport { useContainer, useResize, useSize } from './hooks'\nimport { splitterEmits, splitterProps } from './splitter'\nimport { splitterRootContextKey } from './type'\n\nimport type { PanelItemState } from './type'\n\nconst ns = useNamespace('splitter')\n\ndefineOptions({\n name: 'ElSplitter',\n})\n\nconst emits = defineEmits(splitterEmits)\n\nconst props = defineProps(splitterProps)\nconst layout = toRef(props, 'layout')\nconst lazy = toRef(props, 'lazy')\n\nconst { containerEl, containerSize } = useContainer(layout)\n\nconst {\n removeChild: unregisterPanel,\n children: panels,\n addChild: registerPanel,\n ChildrenSorter: PanelsSorter,\n} = useOrderedChildren<PanelItemState>(getCurrentInstance()!, 'ElSplitterPanel')\n\nwatch(panels, () => {\n panels.value.forEach((instance: PanelItemState, index: number) => {\n instance.setIndex(index)\n })\n})\n\nconst { percentSizes, pxSizes } = useSize(panels, containerSize)\n\nconst {\n lazyOffset,\n movingIndex,\n onMoveStart,\n onMoving,\n onMoveEnd,\n onCollapse,\n} = useResize(panels, containerSize, pxSizes, lazy)\n\nconst splitterStyles = computed(() => {\n return {\n [ns.cssVarBlockName('bar-offset')]: lazy.value\n ? `${lazyOffset.value}px`\n : undefined,\n }\n})\n\nconst onResizeStart = (index: number) => {\n onMoveStart(index)\n emits('resizeStart', index, pxSizes.value)\n}\n\nconst onResize = (index: number, offset: number) => {\n onMoving(index, offset)\n\n if (!lazy.value) {\n emits('resize', index, pxSizes.value)\n }\n}\n\nconst onResizeEnd = async (index: number) => {\n onMoveEnd()\n await nextTick()\n emits('resizeEnd', index, pxSizes.value)\n}\n\nconst onCollapsible = (index: number, type: 'start' | 'end') => {\n onCollapse(index, type)\n emits('collapse', index, type, pxSizes.value)\n}\n\nprovide(\n splitterRootContextKey,\n reactive({\n panels,\n percentSizes,\n pxSizes,\n layout,\n lazy,\n movingIndex,\n containerSize,\n onMoveStart: onResizeStart,\n onMoving: onResize,\n onMoveEnd: onResizeEnd,\n onCollapse: onCollapsible,\n registerPanel,\n unregisterPanel,\n })\n)\n</script>\n\n<template>\n <div\n ref=\"containerEl\"\n :class=\"[ns.b(), ns.e(layout)]\"\n :style=\"splitterStyles\"\n >\n <slot />\n <panels-sorter />\n <!-- Prevent iframe touch events from breaking -->\n <div v-if=\"movingIndex\" :class=\"[ns.e('mask'), ns.e(`mask-${layout}`)]\" />\n </div>\n</template>\n"],"names":["_openBlock","_createElementBlock"],"mappings":";;;;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A;AAAA,MAAA,UACH,EAAA,aAAA;AAAA,MAAA,aACC;AAAA,MAAA,eACC;AAAA,KACZ,CAAA,CAAA,CAAA;AAAA,IACA,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACF,OAACA,SAAA,EAAA,EAAAC,kBAAA,CAAA,KAAA,EAAA;AAAA,QACH,OAAA,EAAA,aAAA;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"splitter.mjs","sources":["../../../../../../packages/components/splitter/src/splitter.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type Splitter from './splitter.vue'\n\nexport const splitterProps = buildProps({\n layout: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'] as const,\n },\n lazy: Boolean,\n} as const)\n\nexport type SplitterProps = ExtractPropTypes<typeof splitterProps>\nexport type SplitterPropsPublic = __ExtractPublicPropTypes<typeof splitterProps>\nexport type SplitterInstance = InstanceType<typeof Splitter> & unknown\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\nexport const splitterEmits = {\n resizeStart: (index: number, sizes: number[]) => true,\n resize: (index: number, sizes: number[]) => true,\n resizeEnd: (index: number, sizes: number[]) => true,\n collapse: (index: number, type: 'start' | 'end', sizes: number[]) => true,\n}\n/* eslint-enable @typescript-eslint/no-unused-vars */\n\nexport type SplitterEmits = typeof splitterEmits\n"],"names":[],"mappings":";;AACY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,IAAI,EAAE,OAAO;AACf,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;AACrC,EAAE,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;AAChC,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;AACnC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,KAAK,IAAI;AACxC;;;;"}
@@ -1,19 +1,104 @@
1
- import { buildProps } from '../../../utils/vue/props/runtime.mjs';
1
+ import { defineComponent, toRef, getCurrentInstance, watch, computed, provide, reactive, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, createVNode, createCommentVNode, nextTick } from 'vue';
2
+ import { splitterProps, splitterEmits } from './splitter.mjs';
3
+ import { splitterRootContextKey } from './type.mjs';
4
+ import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
5
+ import { useContainer } from './hooks/useContainer.mjs';
6
+ import { useSize } from './hooks/useSize.mjs';
7
+ import { useResize } from './hooks/useResize.mjs';
8
+ import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
9
+ import { useOrderedChildren } from '../../../hooks/use-ordered-children/index.mjs';
2
10
 
3
- const splitterProps = buildProps({
4
- layout: {
5
- type: String,
6
- default: "horizontal",
7
- values: ["horizontal", "vertical"]
8
- },
9
- lazy: Boolean
11
+ const __default__ = defineComponent({
12
+ name: "ElSplitter"
10
13
  });
11
- const splitterEmits = {
12
- resizeStart: (index, sizes) => true,
13
- resize: (index, sizes) => true,
14
- resizeEnd: (index, sizes) => true,
15
- collapse: (index, type, sizes) => true
16
- };
14
+ const _sfc_main = /* @__PURE__ */ defineComponent({
15
+ ...__default__,
16
+ props: splitterProps,
17
+ emits: splitterEmits,
18
+ setup(__props, { emit: emits }) {
19
+ const props = __props;
20
+ const ns = useNamespace("splitter");
21
+ const layout = toRef(props, "layout");
22
+ const lazy = toRef(props, "lazy");
23
+ const { containerEl, containerSize } = useContainer(layout);
24
+ const {
25
+ removeChild: unregisterPanel,
26
+ children: panels,
27
+ addChild: registerPanel,
28
+ ChildrenSorter: PanelsSorter
29
+ } = useOrderedChildren(getCurrentInstance(), "ElSplitterPanel");
30
+ watch(panels, () => {
31
+ panels.value.forEach((instance, index) => {
32
+ instance.setIndex(index);
33
+ });
34
+ });
35
+ const { percentSizes, pxSizes } = useSize(panels, containerSize);
36
+ const {
37
+ lazyOffset,
38
+ movingIndex,
39
+ onMoveStart,
40
+ onMoving,
41
+ onMoveEnd,
42
+ onCollapse
43
+ } = useResize(panels, containerSize, pxSizes, lazy);
44
+ const splitterStyles = computed(() => {
45
+ return {
46
+ [ns.cssVarBlockName("bar-offset")]: lazy.value ? `${lazyOffset.value}px` : void 0
47
+ };
48
+ });
49
+ const onResizeStart = (index) => {
50
+ onMoveStart(index);
51
+ emits("resizeStart", index, pxSizes.value);
52
+ };
53
+ const onResize = (index, offset) => {
54
+ onMoving(index, offset);
55
+ if (!lazy.value) {
56
+ emits("resize", index, pxSizes.value);
57
+ }
58
+ };
59
+ const onResizeEnd = async (index) => {
60
+ onMoveEnd();
61
+ await nextTick();
62
+ emits("resizeEnd", index, pxSizes.value);
63
+ };
64
+ const onCollapsible = (index, type) => {
65
+ onCollapse(index, type);
66
+ emits("collapse", index, type, pxSizes.value);
67
+ };
68
+ provide(splitterRootContextKey, reactive({
69
+ panels,
70
+ percentSizes,
71
+ pxSizes,
72
+ layout,
73
+ lazy,
74
+ movingIndex,
75
+ containerSize,
76
+ onMoveStart: onResizeStart,
77
+ onMoving: onResize,
78
+ onMoveEnd: onResizeEnd,
79
+ onCollapse: onCollapsible,
80
+ registerPanel,
81
+ unregisterPanel
82
+ }));
83
+ return (_ctx, _cache) => {
84
+ return openBlock(), createElementBlock("div", {
85
+ ref_key: "containerEl",
86
+ ref: containerEl,
87
+ class: normalizeClass([unref(ns).b(), unref(ns).e(unref(layout))]),
88
+ style: normalizeStyle(unref(splitterStyles))
89
+ }, [
90
+ renderSlot(_ctx.$slots, "default"),
91
+ createVNode(unref(PanelsSorter)),
92
+ createCommentVNode(" Prevent iframe touch events from breaking "),
93
+ unref(movingIndex) ? (openBlock(), createElementBlock("div", {
94
+ key: 0,
95
+ class: normalizeClass([unref(ns).e("mask"), unref(ns).e(`mask-${unref(layout)}`)])
96
+ }, null, 2)) : createCommentVNode("v-if", true)
97
+ ], 6);
98
+ };
99
+ }
100
+ });
101
+ var Splitter = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "splitter.vue"]]);
17
102
 
18
- export { splitterEmits, splitterProps };
103
+ export { Splitter as default };
19
104
  //# sourceMappingURL=splitter2.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitter2.mjs","sources":["../../../../../../packages/components/splitter/src/splitter.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type Splitter from './splitter.vue'\n\nexport const splitterProps = buildProps({\n layout: {\n type: String,\n default: 'horizontal',\n values: ['horizontal', 'vertical'] as const,\n },\n lazy: Boolean,\n} as const)\n\nexport type SplitterProps = ExtractPropTypes<typeof splitterProps>\nexport type SplitterPropsPublic = __ExtractPublicPropTypes<typeof splitterProps>\nexport type SplitterInstance = InstanceType<typeof Splitter> & unknown\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\nexport const splitterEmits = {\n resizeStart: (index: number, sizes: number[]) => true,\n resize: (index: number, sizes: number[]) => true,\n resizeEnd: (index: number, sizes: number[]) => true,\n collapse: (index: number, type: 'start' | 'end', sizes: number[]) => true,\n}\n/* eslint-enable @typescript-eslint/no-unused-vars */\n\nexport type SplitterEmits = typeof splitterEmits\n"],"names":[],"mappings":";;AACY,MAAC,aAAa,GAAG,UAAU,CAAC;AACxC,EAAE,MAAM,EAAE;AACV,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,YAAY;AACzB,IAAI,MAAM,EAAE,CAAC,YAAY,EAAE,UAAU,CAAC;AACtC,GAAG;AACH,EAAE,IAAI,EAAE,OAAO;AACf,CAAC,EAAE;AACS,MAAC,aAAa,GAAG;AAC7B,EAAE,WAAW,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;AACrC,EAAE,MAAM,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;AAChC,EAAE,SAAS,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;AACnC,EAAE,QAAQ,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,KAAK,IAAI;AACxC;;;;"}
1
+ {"version":3,"file":"splitter2.mjs","sources":["../../../../../../packages/components/splitter/src/splitter.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport {\n computed,\n getCurrentInstance,\n nextTick,\n provide,\n reactive,\n toRef,\n watch,\n} from 'vue'\nimport { useNamespace, useOrderedChildren } from '@element-plus/hooks'\nimport { useContainer, useResize, useSize } from './hooks'\nimport { splitterEmits, splitterProps } from './splitter'\nimport { splitterRootContextKey } from './type'\n\nimport type { PanelItemState } from './type'\n\nconst ns = useNamespace('splitter')\n\ndefineOptions({\n name: 'ElSplitter',\n})\n\nconst emits = defineEmits(splitterEmits)\n\nconst props = defineProps(splitterProps)\nconst layout = toRef(props, 'layout')\nconst lazy = toRef(props, 'lazy')\n\nconst { containerEl, containerSize } = useContainer(layout)\n\nconst {\n removeChild: unregisterPanel,\n children: panels,\n addChild: registerPanel,\n ChildrenSorter: PanelsSorter,\n} = useOrderedChildren<PanelItemState>(getCurrentInstance()!, 'ElSplitterPanel')\n\nwatch(panels, () => {\n panels.value.forEach((instance: PanelItemState, index: number) => {\n instance.setIndex(index)\n })\n})\n\nconst { percentSizes, pxSizes } = useSize(panels, containerSize)\n\nconst {\n lazyOffset,\n movingIndex,\n onMoveStart,\n onMoving,\n onMoveEnd,\n onCollapse,\n} = useResize(panels, containerSize, pxSizes, lazy)\n\nconst splitterStyles = computed(() => {\n return {\n [ns.cssVarBlockName('bar-offset')]: lazy.value\n ? `${lazyOffset.value}px`\n : undefined,\n }\n})\n\nconst onResizeStart = (index: number) => {\n onMoveStart(index)\n emits('resizeStart', index, pxSizes.value)\n}\n\nconst onResize = (index: number, offset: number) => {\n onMoving(index, offset)\n\n if (!lazy.value) {\n emits('resize', index, pxSizes.value)\n }\n}\n\nconst onResizeEnd = async (index: number) => {\n onMoveEnd()\n await nextTick()\n emits('resizeEnd', index, pxSizes.value)\n}\n\nconst onCollapsible = (index: number, type: 'start' | 'end') => {\n onCollapse(index, type)\n emits('collapse', index, type, pxSizes.value)\n}\n\nprovide(\n splitterRootContextKey,\n reactive({\n panels,\n percentSizes,\n pxSizes,\n layout,\n lazy,\n movingIndex,\n containerSize,\n onMoveStart: onResizeStart,\n onMoving: onResize,\n onMoveEnd: onResizeEnd,\n onCollapse: onCollapsible,\n registerPanel,\n unregisterPanel,\n })\n)\n</script>\n\n<template>\n <div\n ref=\"containerEl\"\n :class=\"[ns.b(), ns.e(layout)]\"\n :style=\"splitterStyles\"\n >\n <slot />\n <panels-sorter />\n <!-- Prevent iframe touch events from breaking -->\n <div v-if=\"movingIndex\" :class=\"[ns.e('mask'), ns.e(`mask-${layout}`)]\" />\n </div>\n</template>\n"],"names":["_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;mCAmBc,CAAA;AAAA,EACZ,IAAM,EAAA,YAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAJA,IAAM,MAAA,EAAA,GAAK,aAAa,UAAU,CAAA,CAAA;AASlC,IAAM,MAAA,MAAA,GAAS,KAAM,CAAA,KAAA,EAAO,QAAQ,CAAA,CAAA;AACpC,IAAM,MAAA,IAAA,GAAO,KAAM,CAAA,KAAA,EAAO,MAAM,CAAA,CAAA;AAEhC,IAAA,MAAM,EAAE,WAAA,EAAa,aAAc,EAAA,GAAI,aAAa,MAAM,CAAA,CAAA;AAE1D,IAAM,MAAA;AAAA,MACJ,WAAa,EAAA,eAAA;AAAA,MACb,QAAU,EAAA,MAAA;AAAA,MACV,QAAU,EAAA,aAAA;AAAA,MACV,cAAgB,EAAA,YAAA;AAAA,KACd,GAAA,kBAAA,CAAmC,kBAAmB,EAAA,EAA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AEA,IAAM,MAAA,WAAA,GAAc,OAAO,KAAkB,KAAA;AAC3C,MAAU,SAAA,EAAA,CAAA;AACV,MAAA,MAAM,QAAS,EAAA,CAAA;AACf,MAAM,KAAA,CAAA,WAAA,EAAa,KAAO,EAAA,OAAA,CAAQ,KAAK,CAAA,CAAA;AAAA,KACzC,CAAA;AAEA,IAAM,MAAA,aAAA,GAAgB,CAAC,KAAA,EAAe,IAA0B,KAAA;AAC9D,MAAA,UAAA,CAAW,OAAO,IAAI,CAAA,CAAA;AACtB,MAAA,KAAA,CAAM,UAAY,EAAA,KAAA,EAAO,IAAM,EAAA,OAAA,CAAQ,KAAK,CAAA,CAAA;AAAA,KAC9C,CAAA;AAEA,IAAA,OAAA,CAAA,sBAAA,EAAA,QAAA,CAAA;AAAA,MACE,MAAA;AAAA,MACA,YAAS;AAAA,MACP,OAAA;AAAA,MACA,MAAA;AAAA,MACA,IAAA;AAAA,MACA,WAAA;AAAA,MACA,aAAA;AAAA,MACA,WAAA,EAAA,aAAA;AAAA,MACA,QAAA,EAAA,QAAA;AAAA,MAAA,SACa,EAAA,WAAA;AAAA,MAAA,UACH,EAAA,aAAA;AAAA,MAAA,aACC;AAAA,MAAA,eACC;AAAA,KACZ,CAAA,CAAA,CAAA;AAAA,IACA,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACF,OAACA,SAAA,EAAA,EAAAC,kBAAA,CAAA,KAAA,EAAA;AAAA,QACH,OAAA,EAAA,aAAA;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- import type { CSSProperties, ComponentInternalInstance, PropType, Ref, VNode } from 'vue';
1
+ import type { CSSProperties, ComponentInternalInstance, PropType, Ref, StyleValue, VNode } from 'vue';
2
2
  import type { ComponentSize } from '@element-plus/nightly/es/constants';
3
3
  import type { Nullable } from '@element-plus/nightly/es/utils';
4
4
  import type { Store } from '../store';
@@ -123,7 +123,7 @@ interface TableProps<T extends DefaultRow> {
123
123
  lazy?: boolean;
124
124
  load?: (row: T, treeNode: TreeNode, resolve: (data: T[]) => void) => void;
125
125
  className?: string;
126
- style?: CSSProperties;
126
+ style?: StyleValue;
127
127
  tableLayout?: Layout;
128
128
  scrollbarAlwaysOn?: boolean;
129
129
  flexible?: boolean;
@@ -330,7 +330,7 @@ declare const _default: {
330
330
  */
331
331
  load: PropType<TableProps<any>["load"]>;
332
332
  style: {
333
- type: PropType<CSSProperties>;
333
+ type: PropType<TableProps<any>["style"]>;
334
334
  default: () => {};
335
335
  };
336
336
  className: {
@@ -61,7 +61,7 @@ var defaultProps = {
61
61
  lazy: Boolean,
62
62
  load: Function,
63
63
  style: {
64
- type: Object,
64
+ type: [String, Object, Array],
65
65
  default: () => ({})
66
66
  },
67
67
  className: {
@@ -1 +1 @@
1
- {"version":3,"file":"defaults.mjs","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 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 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?: CSSProperties\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 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: Object as PropType<CSSProperties>,\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":[],"mappings":";;AACA,mBAAe;AACf,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,KAAK;AACf,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AACzB,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,EAAE,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC7B,EAAE,GAAG,EAAE;AACP,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,MAAM,EAAE,OAAO;AACjB,EAAE,MAAM,EAAE,CAAC,MAAM,EAAE,QAAQ,CAAC;AAC5B,EAAE,UAAU,EAAE;AACd,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,WAAW,EAAE,OA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AK;AACL,GAAG;AACH,EAAE,IAAI,EAAE,OAAO;AACf,EAAE,IAAI,EAAE,QAAQ;AAChB,EAAE,KAAK,EAAE;AACT,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO,EAAE,CAAC;AACvB,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,OAAO;AACpB,GAAG;AACH,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,mBAAmB,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC;AACxC,EAAE,gBAAgB,EAAE,QAAQ;AAC5B,EAAE,mBAAmB,EAAE,MAAM;AAC7B,EAAE,iBAAiB,EAAE;AACrB,IAAI,IAAI,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AAC1B,IAAI,OAAO,EAAE,KAAK,CAAC;AACnB,GAAG;AACH,EAAE,mBAAmB,EAAE;AACvB,IAAI,IAAI,EAAE,OAAO;AACjB,IAAI,OAAO,EAAE,IAAI;AACjB,GAAG;AACH,EAAE,uBAAuB,EAAE,OAAO;AAClC,EAAE,eAAe,EAAE,OAAO;AAC1B,CAAC;;;;"}
1
+ {"version":3,"file":"defaults.mjs","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 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 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":[],"mappings":";;AACA,mBAAe;AACf,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,KAAK;AACf,IAAI,OAAO,EAAE,MAAM,EAAE;AACrB,GAAG;AACH,EAAE,IAAI,EAAE,WAAW;AACnB,EAAE,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC;AACzB,EAAE,MAAM,EAAE,CAAC,MA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,EAAE,uBAAuB,EAAE,OAAO;AAClC,EAAE,eAAe,EAAE,OAAO;AAC1B,CAAC;;;;"}
@@ -64,7 +64,7 @@ declare const _default: import("vue").DefineComponent<{
64
64
  lazy: BooleanConstructor;
65
65
  load: import("vue").PropType<import("./table/defaults").TableProps<any>["load"]>;
66
66
  style: {
67
- type: import("vue").PropType<import("vue").CSSProperties>;
67
+ type: import("vue").PropType<import("./table/defaults").TableProps<any>["style"]>;
68
68
  default: () => {};
69
69
  };
70
70
  className: {
@@ -797,7 +797,7 @@ declare const _default: import("vue").DefineComponent<{
797
797
  lazy: BooleanConstructor;
798
798
  load: import("vue").PropType<import("./table/defaults").TableProps<any>["load"]>;
799
799
  style: {
800
- type: import("vue").PropType<import("vue").CSSProperties>;
800
+ type: import("vue").PropType<import("./table/defaults").TableProps<any>["style"]>;
801
801
  default: () => {};
802
802
  };
803
803
  className: {
@@ -845,7 +845,7 @@ declare const _default: import("vue").DefineComponent<{
845
845
  "onRow-dblclick"?: ((...args: any[]) => any) | undefined;
846
846
  }, {
847
847
  data: any[];
848
- style: import("vue").CSSProperties;
848
+ style: import("vue").StyleValue | undefined;
849
849
  tableLayout: "fixed" | "auto";
850
850
  border: boolean;
851
851
  className: string;
@@ -1,9 +1,9 @@
1
1
  import Tabs from './src/tabs.mjs';
2
2
  export { tabsEmits, tabsProps } from './src/tabs.mjs';
3
- import TabPane from './src/tab-pane2.mjs';
4
- export { tabBarProps } from './src/tab-bar2.mjs';
3
+ import TabPane from './src/tab-pane.mjs';
4
+ export { tabBarProps } from './src/tab-bar.mjs';
5
5
  export { tabNavEmits, tabNavProps } from './src/tab-nav.mjs';
6
- export { tabPaneProps } from './src/tab-pane.mjs';
6
+ export { tabPaneProps } from './src/tab-pane2.mjs';
7
7
  export { tabsRootContextKey } from './src/constants.mjs';
8
8
  import { withInstall, withNoopInstall } from '../../utils/vue/install.mjs';
9
9
 
@@ -1,97 +1,16 @@
1
- import { defineComponent, inject, ref, computed, watch, nextTick, onBeforeUnmount, unref, openBlock, createElementBlock, normalizeClass, normalizeStyle, createCommentVNode } from 'vue';
2
- import { useResizeObserver } from '@vueuse/core';
3
- import { tabsRootContextKey } from './constants.mjs';
4
- import { tabBarProps } from './tab-bar2.mjs';
5
- import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
- import { capitalize } from '../../../utils/strings.mjs';
7
- import { throwError } from '../../../utils/error.mjs';
8
- import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
9
- import { isUndefined } from '../../../utils/types.mjs';
1
+ import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
2
+ import { mutable } from '../../../utils/typescript.mjs';
10
3
 
11
- const COMPONENT_NAME = "ElTabBar";
12
- const __default__ = defineComponent({
13
- name: COMPONENT_NAME
14
- });
15
- const _sfc_main = /* @__PURE__ */ defineComponent({
16
- ...__default__,
17
- props: tabBarProps,
18
- setup(__props, { expose }) {
19
- const props = __props;
20
- const rootTabs = inject(tabsRootContextKey);
21
- if (!rootTabs)
22
- throwError(COMPONENT_NAME, "<el-tabs><el-tab-bar /></el-tabs>");
23
- const ns = useNamespace("tabs");
24
- const barRef = ref();
25
- const barStyle = ref();
26
- const renderActiveBar = computed(() => {
27
- var _a;
28
- return isUndefined(rootTabs.props.defaultValue) || Boolean((_a = barStyle.value) == null ? void 0 : _a.transform);
29
- });
30
- const getBarStyle = () => {
31
- let offset = 0;
32
- let tabSize = 0;
33
- const sizeName = ["top", "bottom"].includes(rootTabs.props.tabPosition) ? "width" : "height";
34
- const sizeDir = sizeName === "width" ? "x" : "y";
35
- const position = sizeDir === "x" ? "left" : "top";
36
- props.tabs.every((tab) => {
37
- if (isUndefined(tab.paneName))
38
- return false;
39
- const $el = props.tabRefs[tab.paneName];
40
- if (!$el)
41
- return false;
42
- if (!tab.active) {
43
- return true;
44
- }
45
- offset = $el[`offset${capitalize(position)}`];
46
- tabSize = $el[`client${capitalize(sizeName)}`];
47
- const tabStyles = window.getComputedStyle($el);
48
- if (sizeName === "width") {
49
- tabSize -= Number.parseFloat(tabStyles.paddingLeft) + Number.parseFloat(tabStyles.paddingRight);
50
- offset += Number.parseFloat(tabStyles.paddingLeft);
51
- }
52
- return false;
53
- });
54
- return {
55
- [sizeName]: `${tabSize}px`,
56
- transform: `translate${capitalize(sizeDir)}(${offset}px)`
57
- };
58
- };
59
- const update = () => barStyle.value = getBarStyle();
60
- const tabObservers = [];
61
- const observerTabs = () => {
62
- tabObservers.forEach((observer) => observer.stop());
63
- tabObservers.length = 0;
64
- Object.values(props.tabRefs).forEach((tab) => {
65
- tabObservers.push(useResizeObserver(tab, update));
66
- });
67
- };
68
- watch(() => props.tabs, async () => {
69
- await nextTick();
70
- update();
71
- observerTabs();
72
- }, { immediate: true });
73
- const barObserver = useResizeObserver(barRef, () => update());
74
- onBeforeUnmount(() => {
75
- tabObservers.forEach((observer) => observer.stop());
76
- tabObservers.length = 0;
77
- barObserver.stop();
78
- });
79
- expose({
80
- ref: barRef,
81
- update
82
- });
83
- return (_ctx, _cache) => {
84
- return unref(renderActiveBar) ? (openBlock(), createElementBlock("div", {
85
- key: 0,
86
- ref_key: "barRef",
87
- ref: barRef,
88
- class: normalizeClass([unref(ns).e("active-bar"), unref(ns).is(unref(rootTabs).props.tabPosition)]),
89
- style: normalizeStyle(barStyle.value)
90
- }, null, 6)) : createCommentVNode("v-if", true);
91
- };
4
+ const tabBarProps = buildProps({
5
+ tabs: {
6
+ type: definePropType(Array),
7
+ default: () => mutable([])
8
+ },
9
+ tabRefs: {
10
+ type: definePropType(Object),
11
+ default: () => mutable({})
92
12
  }
93
13
  });
94
- var TabBar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "tab-bar.vue"]]);
95
14
 
96
- export { TabBar as default };
15
+ export { tabBarProps };
97
16
  //# sourceMappingURL=tab-bar.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tab-bar.mjs","sources":["../../../../../../packages/components/tabs/src/tab-bar.vue"],"sourcesContent":["<template>\n <div\n v-if=\"renderActiveBar\"\n ref=\"barRef\"\n :class=\"[ns.e('active-bar'), ns.is(rootTabs!.props.tabPosition)]\"\n :style=\"barStyle\"\n />\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, inject, nextTick, onBeforeUnmount, ref, watch } from 'vue'\nimport { useResizeObserver } from '@vueuse/core'\nimport { capitalize, isUndefined, throwError } from '@element-plus/utils'\nimport { useNamespace } from '@element-plus/hooks'\nimport { tabsRootContextKey } from './constants'\nimport { tabBarProps } from './tab-bar'\n\nimport type { CSSProperties } from 'vue'\n\nconst COMPONENT_NAME = 'ElTabBar'\ndefineOptions({\n name: COMPONENT_NAME,\n})\nconst props = defineProps(tabBarProps)\n\nconst rootTabs = inject(tabsRootContextKey)\nif (!rootTabs) throwError(COMPONENT_NAME, '<el-tabs><el-tab-bar /></el-tabs>')\n\nconst ns = useNamespace('tabs')\n\nconst barRef = ref<HTMLDivElement>()\nconst barStyle = ref<CSSProperties>()\n/**\n * when defaultValue is not set, the bar is always shown.\n *\n * when defaultValue is set, the bar will be hidden until style is calculated\n * to avoid the bar showing in the wrong position on initial render.\n */\nconst renderActiveBar = computed(\n () =>\n isUndefined(rootTabs.props.defaultValue) ||\n Boolean(barStyle.value?.transform)\n)\n\nconst getBarStyle = (): CSSProperties => {\n let offset = 0\n let tabSize = 0\n\n const sizeName = ['top', 'bottom'].includes(rootTabs.props.tabPosition)\n ? 'width'\n : 'height'\n const sizeDir = sizeName === 'width' ? 'x' : 'y'\n const position = sizeDir === 'x' ? 'left' : 'top'\n\n props.tabs.every((tab) => {\n if (isUndefined(tab.paneName)) return false\n const $el = props.tabRefs[tab.paneName]\n if (!$el) return false\n\n if (!tab.active) {\n return true\n }\n\n offset = $el[`offset${capitalize(position)}`]\n tabSize = $el[`client${capitalize(sizeName)}`]\n\n const tabStyles = window.getComputedStyle($el)\n\n if (sizeName === 'width') {\n tabSize -=\n Number.parseFloat(tabStyles.paddingLeft) +\n Number.parseFloat(tabStyles.paddingRight)\n offset += Number.parseFloat(tabStyles.paddingLeft)\n }\n return false\n })\n\n return {\n [sizeName]: `${tabSize}px`,\n transform: `translate${capitalize(sizeDir)}(${offset}px)`,\n }\n}\n\nconst update = () => (barStyle.value = getBarStyle())\n\nconst tabObservers = [] as ReturnType<typeof useResizeObserver>[]\nconst observerTabs = () => {\n tabObservers.forEach((observer) => observer.stop())\n tabObservers.length = 0\n\n Object.values(props.tabRefs).forEach((tab) => {\n tabObservers.push(useResizeObserver(tab, update))\n })\n}\n\nwatch(\n () => props.tabs,\n async () => {\n await nextTick()\n update()\n\n observerTabs()\n },\n { immediate: true }\n)\nconst barObserver = useResizeObserver(barRef, () => update())\n\nonBeforeUnmount(() => {\n tabObservers.forEach((observer) => observer.stop())\n tabObservers.length = 0\n barObserver.stop()\n})\n\ndefineExpose({\n /** @description tab root html element */\n ref: barRef,\n /** @description method to manually update tab bar style */\n update,\n})\n</script>\n"],"names":["_unref","_openBlock","_createElementBlock"],"mappings":";;;;;;;;;;;mCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,cAAA;AACR;;;;;;AAGA,IAAM,MAAA,QAAA,GAAW,OAAO,kBAAkB,CAAA,CAAA;AAC1C,IAAA,IAAI,CAAC,QAAA;AAEL,MAAM,yBAAwB,EAAA,mCAAA,CAAA,CAAA;AAE9B,IAAA,MAAM,iBAA6B,CAAA,MAAA,CAAA,CAAA;AACnC,IAAA,MAAM,YAA8B,EAAA,CAAA;AAOpC,IAAA,MAAM,QAAkB,GAAA,GAAA,EAAA,CAAA;AAAA,IACtB,MAAA,eACuB,GAAA,QAAA,CAAA;AACY,MACrC,IAAA,EAAA,CAAA;AAEA,MAAA,kBAAoB,CAAqB,QAAA,CAAA,KAAA,CAAA,YAAA,CAAA,IAAA,OAAA,CAAA,CAAA,EAAA,GAAA,QAAA,CAAA,KAAA,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,EAAA,CAAA,SAAA,CAAA,CAAA;AACvC,KAAA,CAAA,CAAA;AACA,IAAA,MAAI,WAA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QAAa,KAAA,QAAA,CAAS,MAAM,CAAA,CAAA;AAClD,MAAA,YAAA,CAAa,MAAS,GAAA,CAAA,CAAA;AACtB,MAAA,WAAA,CAAY,IAAK,EAAA,CAAA;AAAA,KAClB,CAAA,CAAA;AAED,IAAa,MAAA,CAAA;AAAA,MAAA,GAAA,EAAA,MAAA;AAAA,MAEX,MAAK;AAAA,KAAA,CAAA,CAAA;AAAA,IAEL,OAAA,CAAA,IAAA,EAAA,MAAA,KAAA;AAAA,MACD,OAAAA,KAAA,CAAA,eAAA,CAAA,IAAAC,SAAA,EAAA,EAAAC,kBAAA,CAAA,KAAA,EAAA;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"tab-bar.mjs","sources":["../../../../../../packages/components/tabs/src/tab-bar.ts"],"sourcesContent":["import { buildProps, definePropType, mutable } from '@element-plus/utils'\n\nimport type { ExtractPropTypes, __ExtractPublicPropTypes } from 'vue'\nimport type { TabPaneName, TabsPaneContext } from './constants'\nimport type TabBar from './tab-bar.vue'\n\nexport const tabBarProps = buildProps({\n tabs: {\n type: definePropType<TabsPaneContext[]>(Array),\n default: () => mutable([] as const),\n },\n tabRefs: {\n type: definePropType<{ [key: TabPaneName]: HTMLDivElement }>(Object),\n default: () => mutable({} as const),\n },\n} as const)\n\nexport type TabBarProps = ExtractPropTypes<typeof tabBarProps>\nexport type TabBarPropsPublic = __ExtractPublicPropTypes<typeof tabBarProps>\nexport type TabBarInstance = InstanceType<typeof TabBar> & unknown\n"],"names":[],"mappings":";;;AACY,MAAC,WAAW,GAAG,UAAU,CAAC;AACtC,EAAE,IAAI,EAAE;AACR,IAAI,IAAI,EAAE,cAAc,CAAC,KAAK,CAAC;AAC/B,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,EAAE,OAAO,EAAE;AACX,IAAI,IAAI,EAAE,cAAc,CAAC,MAAM,CAAC;AAChC,IAAI,OAAO,EAAE,MAAM,OAAO,CAAC,EAAE,CAAC;AAC9B,GAAG;AACH,CAAC;;;;"}