@element-plus/nightly 0.0.20220102 → 0.0.20220106

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 (935) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +7914 -7042
  4. package/dist/index.full.min.js +11 -11
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +11 -11
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +7889 -7034
  9. package/es/components/autocomplete/index.d.ts +26 -18
  10. package/es/components/autocomplete/src/index.vue.d.ts +13 -10
  11. package/es/components/autocomplete/src/index.vue_vue_type_script_lang.mjs +14 -18
  12. package/es/components/autocomplete/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  13. package/es/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.mjs +52 -49
  14. package/es/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.mjs.map +1 -1
  15. package/es/components/carousel/index.d.ts +4 -4
  16. package/es/components/carousel/src/main.vue.d.ts +4 -4
  17. package/es/components/cascader/index.d.ts +1118 -6532
  18. package/es/components/cascader/src/index.vue.d.ts +559 -3267
  19. package/es/components/cascader/src/index.vue_vue_type_script_lang.mjs +10 -10
  20. package/es/components/cascader/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  21. package/es/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.mjs +12 -12
  22. package/es/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.mjs.map +1 -1
  23. package/es/components/cascader-panel/src/index.vue_vue_type_script_lang.mjs +3 -0
  24. package/es/components/cascader-panel/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  25. package/es/components/cascader-panel/src/index.vue_vue_type_template_id_97c48f5c_lang.mjs.map +1 -1
  26. package/es/components/checkbox/index.d.ts +1 -1
  27. package/es/components/checkbox/src/checkbox.vue.d.ts +1 -1
  28. package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.mjs +7 -13
  29. package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.mjs.map +1 -1
  30. package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.mjs +2 -2
  31. package/es/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.mjs.map +1 -1
  32. package/es/components/collection/index.d.ts +2 -0
  33. package/es/components/collection/index.mjs +3 -0
  34. package/es/components/{popper/src → collection}/index.mjs.map +1 -1
  35. package/es/components/collection/src/collection-item.mjs +7 -0
  36. package/es/components/collection/src/collection-item.mjs.map +1 -0
  37. package/es/components/collection/src/collection-item.vue.d.ts +2 -0
  38. package/es/components/collection/src/collection-item.vue_vue_type_script_lang.mjs +9 -0
  39. package/es/components/collection/src/collection-item.vue_vue_type_script_lang.mjs.map +1 -0
  40. package/es/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.mjs +8 -0
  41. package/es/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.mjs.map +1 -0
  42. package/es/components/collection/src/collection.d.ts +263 -0
  43. package/es/components/collection/src/collection.mjs +68 -0
  44. package/es/components/collection/src/collection.mjs.map +1 -0
  45. package/es/components/collection/src/collection.vue.d.ts +2 -0
  46. package/es/components/collection/src/collection.vue_vue_type_script_lang.mjs +8 -0
  47. package/es/components/collection/src/collection.vue_vue_type_script_lang.mjs.map +1 -0
  48. package/es/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.mjs +8 -0
  49. package/es/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.mjs.map +1 -0
  50. package/es/components/collection/src/collection2.mjs +7 -0
  51. package/es/components/collection/src/collection2.mjs.map +1 -0
  52. package/es/components/collection/src/tokens.d.ts +12 -0
  53. package/es/components/collection/src/tokens.mjs +2 -0
  54. package/es/components/collection/src/tokens.mjs.map +1 -0
  55. package/es/components/color-picker/index.d.ts +0 -2
  56. package/es/components/color-picker/src/index.vue.d.ts +0 -2
  57. package/es/components/color-picker/src/index.vue_vue_type_script_lang.mjs +2 -4
  58. package/es/components/color-picker/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  59. package/es/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.mjs +9 -10
  60. package/es/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.mjs.map +1 -1
  61. package/es/components/date-picker/index.d.ts +4 -4
  62. package/es/components/date-picker/src/date-picker.d.ts +2 -2
  63. package/es/components/descriptions/index.d.ts +4 -4
  64. package/es/components/descriptions/src/description-item.d.ts +2 -2
  65. package/es/components/dialog/index.d.ts +5 -5
  66. package/es/components/dialog/src/dialog.vue.d.ts +5 -5
  67. package/es/components/drawer/index.d.ts +5 -5
  68. package/es/components/drawer/src/drawer.vue.d.ts +5 -5
  69. package/es/components/dropdown/index.d.ts +767 -84
  70. package/es/components/dropdown/src/dropdown-item-impl.mjs +7 -0
  71. package/es/components/dropdown/src/dropdown-item-impl.mjs.map +1 -0
  72. package/es/components/dropdown/src/dropdown-item-impl.vue.d.ts +39 -0
  73. package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.mjs +53 -0
  74. package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.mjs.map +1 -0
  75. package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.mjs +33 -0
  76. package/es/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.mjs.map +1 -0
  77. package/es/components/dropdown/src/dropdown-item.vue.d.ts +17 -9
  78. package/es/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.mjs +51 -21
  79. package/es/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.mjs.map +1 -1
  80. package/es/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.mjs +30 -20
  81. package/es/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.mjs.map +1 -1
  82. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +17 -6
  83. package/es/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.mjs +59 -23
  84. package/es/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.mjs.map +1 -1
  85. package/es/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.mjs +12 -9
  86. package/es/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.mjs.map +1 -1
  87. package/es/components/dropdown/src/dropdown.d.ts +295 -1
  88. package/es/components/dropdown/src/dropdown.mjs +84 -0
  89. package/es/components/dropdown/src/dropdown.mjs.map +1 -1
  90. package/es/components/dropdown/src/dropdown.vue.d.ts +712 -73
  91. package/es/components/dropdown/src/dropdown.vue_vue_type_script_lang.mjs +60 -153
  92. package/es/components/dropdown/src/dropdown.vue_vue_type_script_lang.mjs.map +1 -1
  93. package/es/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.mjs +92 -52
  94. package/es/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.mjs.map +1 -1
  95. package/es/components/dropdown/src/tokens.d.ts +8 -0
  96. package/es/components/dropdown/src/tokens.mjs +4 -0
  97. package/es/components/dropdown/src/tokens.mjs.map +1 -0
  98. package/es/components/focus-trap/index.d.ts +5 -0
  99. package/es/components/focus-trap/index.mjs +6 -0
  100. package/es/components/focus-trap/index.mjs.map +1 -0
  101. package/es/components/focus-trap/src/focus-trap.mjs +7 -0
  102. package/es/components/focus-trap/src/focus-trap.mjs.map +1 -0
  103. package/es/components/focus-trap/src/focus-trap.vue.d.ts +21 -0
  104. package/es/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.mjs +137 -0
  105. package/es/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.mjs.map +1 -0
  106. package/es/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.mjs +8 -0
  107. package/es/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.mjs.map +1 -0
  108. package/es/components/focus-trap/src/tokens.d.ts +11 -0
  109. package/es/components/focus-trap/src/tokens.mjs +12 -0
  110. package/es/components/focus-trap/src/tokens.mjs.map +1 -0
  111. package/es/components/focus-trap/src/utils.d.ts +18 -0
  112. package/es/components/focus-trap/src/utils.mjs +92 -0
  113. package/es/components/focus-trap/src/utils.mjs.map +1 -0
  114. package/es/components/image/index.d.ts +2 -2
  115. package/es/components/image/src/image.vue.d.ts +2 -2
  116. package/es/components/index.mjs +7 -6
  117. package/es/components/index.mjs.map +1 -1
  118. package/es/components/input/index.d.ts +5 -5
  119. package/es/components/input/src/input.vue.d.ts +5 -5
  120. package/es/components/input-number/index.d.ts +12 -12
  121. package/es/components/input-number/src/input-number.vue.d.ts +12 -12
  122. package/es/components/menu/index.d.ts +9 -3
  123. package/es/components/menu/src/menu-item.vue.d.ts +4 -2
  124. package/es/components/menu/src/menu-item.vue_vue_type_script_lang.mjs +3 -3
  125. package/es/components/menu/src/menu-item.vue_vue_type_script_lang.mjs.map +1 -1
  126. package/es/components/menu/src/menu.d.ts +1 -1
  127. package/es/components/menu/src/menu.mjs +2 -1
  128. package/es/components/menu/src/menu.mjs.map +1 -1
  129. package/es/components/menu/src/sub-menu.mjs +18 -21
  130. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  131. package/es/components/menu/src/types.d.ts +2 -0
  132. package/es/components/message-box/src/index.vue.d.ts +2 -2
  133. package/es/components/pagination/index.d.ts +2 -2
  134. package/es/components/pagination/src/pagination.d.ts +2 -2
  135. package/es/components/popconfirm/index.d.ts +19 -12
  136. package/es/components/popconfirm/index.mjs +1 -1
  137. package/es/components/popconfirm/src/popconfirm.d.ts +3 -5
  138. package/es/components/popconfirm/src/popconfirm.mjs +11 -5
  139. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  140. package/es/components/popconfirm/src/popconfirm.vue.d.ts +19 -13
  141. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.mjs +22 -20
  142. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.mjs.map +1 -1
  143. package/es/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.mjs +12 -13
  144. package/es/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.mjs.map +1 -1
  145. package/es/components/popover/index.d.ts +1690 -420
  146. package/es/components/popover/src/directive.mjs +7 -13
  147. package/es/components/popover/src/directive.mjs.map +1 -1
  148. package/es/components/popover/src/index.mjs +2 -0
  149. package/es/components/popover/src/index.mjs.map +1 -1
  150. package/es/components/popover/src/index.vue.d.ts +846 -213
  151. package/es/components/popover/src/index.vue_vue_type_script_lang.mjs +41 -107
  152. package/es/components/popover/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  153. package/es/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.mjs +31 -0
  154. package/es/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.mjs.map +1 -0
  155. package/es/components/popover/src/popover.d.ts +70 -0
  156. package/es/components/popover/src/popover.mjs +31 -0
  157. package/es/components/popover/src/popover.mjs.map +1 -0
  158. package/es/components/popper/index.d.ts +7 -3479
  159. package/es/components/popper/index.mjs +13 -14
  160. package/es/components/popper/index.mjs.map +1 -1
  161. package/es/components/popper/src/arrow.mjs +7 -0
  162. package/es/components/popper/src/arrow.mjs.map +1 -0
  163. package/es/components/popper/src/arrow.vue.d.ts +12 -0
  164. package/es/components/popper/src/arrow.vue_vue_type_script_lang.mjs +27 -0
  165. package/es/components/popper/src/arrow.vue_vue_type_script_lang.mjs.map +1 -0
  166. package/es/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.mjs +13 -0
  167. package/es/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.mjs.map +1 -0
  168. package/es/components/popper/src/container.d.ts +3 -0
  169. package/es/components/popper/src/container.mjs +22 -0
  170. package/es/components/popper/src/container.mjs.map +1 -0
  171. package/es/components/popper/src/content.mjs +7 -0
  172. package/es/components/popper/src/content.mjs.map +1 -0
  173. package/es/components/popper/src/content.vue.d.ts +299 -0
  174. package/es/components/popper/src/content.vue_vue_type_script_lang.mjs +85 -0
  175. package/es/components/popper/src/content.vue_vue_type_script_lang.mjs.map +1 -0
  176. package/es/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.mjs +16 -0
  177. package/es/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.mjs.map +1 -0
  178. package/es/components/popper/src/popper.d.ts +58 -0
  179. package/es/components/popper/src/popper.mjs +98 -0
  180. package/es/components/popper/src/popper.mjs.map +1 -0
  181. package/es/components/popper/src/popper.vue.d.ts +3 -0
  182. package/es/components/popper/src/popper.vue_vue_type_script_lang.mjs +19 -0
  183. package/es/components/popper/src/popper.vue_vue_type_script_lang.mjs.map +1 -0
  184. package/es/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.mjs +8 -0
  185. package/es/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.mjs.map +1 -0
  186. package/es/components/popper/src/popper2.mjs +7 -0
  187. package/es/components/popper/src/popper2.mjs.map +1 -0
  188. package/es/components/popper/src/tokens.d.ts +14 -0
  189. package/es/components/popper/src/tokens.mjs +5 -0
  190. package/es/components/popper/src/tokens.mjs.map +1 -0
  191. package/es/components/popper/src/trigger.mjs +7 -0
  192. package/es/components/popper/src/trigger.mjs.map +1 -0
  193. package/es/components/popper/src/trigger.vue.d.ts +45 -0
  194. package/es/components/popper/src/trigger.vue_vue_type_script_lang.mjs +66 -0
  195. package/es/components/popper/src/trigger.vue_vue_type_script_lang.mjs.map +1 -0
  196. package/es/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.mjs +16 -0
  197. package/es/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.mjs.map +1 -0
  198. package/es/components/popper/src/utils.d.ts +55 -0
  199. package/es/components/popper/src/utils.mjs +76 -0
  200. package/es/components/popper/src/utils.mjs.map +1 -0
  201. package/es/components/roving-focus-group/index.d.ts +7 -0
  202. package/es/components/roving-focus-group/index.mjs +9 -0
  203. package/es/components/roving-focus-group/index.mjs.map +1 -0
  204. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs +7 -0
  205. package/es/components/roving-focus-group/src/roving-focus-group-impl.mjs.map +1 -0
  206. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +43 -0
  207. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.mjs +102 -0
  208. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.mjs.map +1 -0
  209. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.mjs +8 -0
  210. package/es/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.mjs.map +1 -0
  211. package/es/components/roving-focus-group/src/roving-focus-group.d.ts +269 -0
  212. package/es/components/roving-focus-group/src/roving-focus-group.mjs +32 -0
  213. package/es/components/roving-focus-group/src/roving-focus-group.mjs.map +1 -0
  214. package/es/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -0
  215. package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.mjs +15 -0
  216. package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.mjs.map +1 -0
  217. package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.mjs +20 -0
  218. package/es/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.mjs.map +1 -0
  219. package/es/components/roving-focus-group/src/roving-focus-group2.mjs +7 -0
  220. package/es/components/roving-focus-group/src/roving-focus-group2.mjs.map +1 -0
  221. package/es/components/roving-focus-group/src/roving-focus-item.mjs +7 -0
  222. package/es/components/roving-focus-group/src/roving-focus-item.mjs.map +1 -0
  223. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +29 -0
  224. package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.mjs +100 -0
  225. package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.mjs.map +1 -0
  226. package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.mjs +18 -0
  227. package/es/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.mjs.map +1 -0
  228. package/es/components/roving-focus-group/src/tokens.d.ts +27 -0
  229. package/es/components/roving-focus-group/src/tokens.mjs +5 -0
  230. package/es/components/roving-focus-group/src/tokens.mjs.map +1 -0
  231. package/es/components/roving-focus-group/src/utils.d.ts +8 -0
  232. package/es/components/roving-focus-group/src/utils.mjs +48 -0
  233. package/es/components/roving-focus-group/src/utils.mjs.map +1 -0
  234. package/es/components/select/index.d.ts +680 -14
  235. package/es/components/select/src/select-dropdown.vue.d.ts +1 -1
  236. package/es/components/select/src/select-dropdown.vue_vue_type_script_lang.mjs +1 -0
  237. package/es/components/select/src/select-dropdown.vue_vue_type_script_lang.mjs.map +1 -1
  238. package/es/components/select/src/select-dropdown.vue_vue_type_template_id_46cf6eee_lang.mjs.map +1 -1
  239. package/es/components/select/src/select.vue.d.ts +681 -15
  240. package/es/components/select/src/select.vue_vue_type_script_lang.mjs +25 -11
  241. package/es/components/select/src/select.vue_vue_type_script_lang.mjs.map +1 -1
  242. package/es/components/select/src/select.vue_vue_type_template_id_33774f85_lang.mjs +11 -12
  243. package/es/components/select/src/select.vue_vue_type_template_id_33774f85_lang.mjs.map +1 -1
  244. package/es/components/select/src/token.d.ts +1 -0
  245. package/es/components/select/src/token.mjs.map +1 -1
  246. package/es/components/select/src/useSelect.d.ts +671 -7
  247. package/es/components/select/src/useSelect.mjs +33 -23
  248. package/es/components/select/src/useSelect.mjs.map +1 -1
  249. package/es/components/select-v2/index.d.ts +1326 -16
  250. package/es/components/select-v2/src/select.vue.d.ts +665 -10
  251. package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs +2 -2
  252. package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs.map +1 -1
  253. package/es/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.mjs +8 -9
  254. package/es/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.mjs.map +1 -1
  255. package/es/components/select-v2/src/useSelect.d.ts +659 -4
  256. package/es/components/select-v2/src/useSelect.mjs +7 -7
  257. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  258. package/es/components/slider/src/button.vue_vue_type_script_lang.mjs +2 -2
  259. package/es/components/slider/src/button.vue_vue_type_script_lang.mjs.map +1 -1
  260. package/es/components/slot/index.d.ts +5 -0
  261. package/es/components/slot/index.mjs +2 -0
  262. package/es/components/slot/index.mjs.map +1 -0
  263. package/es/components/slot/src/only-child.d.ts +5 -0
  264. package/es/components/slot/src/only-child.mjs +61 -0
  265. package/es/components/slot/src/only-child.mjs.map +1 -0
  266. package/es/components/table/index.d.ts +13 -4
  267. package/es/components/table/src/filter-panel.vue.d.ts +654 -4
  268. package/es/components/table/src/filter-panel.vue_vue_type_script_lang.mjs +5 -7
  269. package/es/components/table/src/filter-panel.vue_vue_type_script_lang.mjs.map +1 -1
  270. package/es/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.mjs +8 -9
  271. package/es/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.mjs.map +1 -1
  272. package/es/components/table/src/table/style-helper.d.ts +7 -0
  273. package/es/components/table/src/table/style-helper.mjs +20 -17
  274. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  275. package/es/components/table/src/table-body/index.mjs +5 -3
  276. package/es/components/table/src/table-body/index.mjs.map +1 -1
  277. package/es/components/table/src/table-body/styles-helper.d.ts +0 -1
  278. package/es/components/table/src/table-body/styles-helper.mjs +10 -17
  279. package/es/components/table/src/table-body/styles-helper.mjs.map +1 -1
  280. package/es/components/table/src/table-column/defaults.d.ts +1 -0
  281. package/es/components/table/src/table-column/defaults.mjs.map +1 -1
  282. package/es/components/table/src/table-column/index.d.ts +1 -1
  283. package/es/components/table/src/table-column/index.mjs +1 -0
  284. package/es/components/table/src/table-column/index.mjs.map +1 -1
  285. package/es/components/table/src/table-footer/index.d.ts +4 -2
  286. package/es/components/table/src/table-footer/index.mjs +33 -18
  287. package/es/components/table/src/table-footer/index.mjs.map +1 -1
  288. package/es/components/table/src/table-footer/style-helper.d.ts +4 -2
  289. package/es/components/table/src/table-footer/style-helper.mjs +28 -31
  290. package/es/components/table/src/table-footer/style-helper.mjs.map +1 -1
  291. package/es/components/table/src/table-header/index.d.ts +3 -2
  292. package/es/components/table/src/table-header/index.mjs +89 -51
  293. package/es/components/table/src/table-header/index.mjs.map +1 -1
  294. package/es/components/table/src/table-header/style.helper.d.ts +1 -1
  295. package/es/components/table/src/table-header/style.helper.mjs +14 -24
  296. package/es/components/table/src/table-header/style.helper.mjs.map +1 -1
  297. package/es/components/table/src/table-header/utils-helper.mjs +1 -0
  298. package/es/components/table/src/table-header/utils-helper.mjs.map +1 -1
  299. package/es/components/table/src/table-layout.d.ts +1 -0
  300. package/es/components/table/src/table-layout.mjs +7 -1
  301. package/es/components/table/src/table-layout.mjs.map +1 -1
  302. package/es/components/table/src/table.vue.d.ts +11 -2
  303. package/es/components/table/src/table.vue_vue_type_script_lang.mjs +12 -2
  304. package/es/components/table/src/table.vue_vue_type_script_lang.mjs.map +1 -1
  305. package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs +62 -213
  306. package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs.map +1 -1
  307. package/es/components/table/src/util.d.ts +16 -2
  308. package/es/components/table/src/util.mjs +90 -1
  309. package/es/components/table/src/util.mjs.map +1 -1
  310. package/es/components/teleport/index.d.ts +11 -8
  311. package/es/components/teleport/src/teleport.d.ts +4 -3
  312. package/es/components/teleport/src/teleport.mjs +5 -1
  313. package/es/components/teleport/src/teleport.mjs.map +1 -1
  314. package/es/components/teleport/src/teleport.vue.d.ts +11 -8
  315. package/es/components/teleport/src/teleport.vue_vue_type_script_lang.mjs +1 -2
  316. package/es/components/teleport/src/teleport.vue_vue_type_script_lang.mjs.map +1 -1
  317. package/es/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.mjs +3 -2
  318. package/es/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.mjs.map +1 -1
  319. package/es/components/time-picker/index.d.ts +4 -4
  320. package/es/components/time-picker/src/common/picker.vue.d.ts +663 -9
  321. package/es/components/time-picker/src/common/picker.vue_vue_type_script_lang.mjs +29 -17
  322. package/es/components/time-picker/src/common/picker.vue_vue_type_script_lang.mjs.map +1 -1
  323. package/es/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.mjs +38 -38
  324. package/es/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.mjs.map +1 -1
  325. package/es/components/time-picker/src/time-picker.d.ts +2 -2
  326. package/es/components/time-select/index.d.ts +4 -4
  327. package/es/components/time-select/src/time-select.vue.d.ts +2 -2
  328. package/es/components/tooltip/index.d.ts +346 -430
  329. package/es/components/tooltip/index.mjs +6 -7
  330. package/es/components/tooltip/index.mjs.map +1 -1
  331. package/es/components/tooltip/src/content.mjs +7 -0
  332. package/es/components/tooltip/src/content.mjs.map +1 -0
  333. package/es/components/tooltip/src/content.vue.d.ts +809 -0
  334. package/es/components/tooltip/src/content.vue_vue_type_script_lang.mjs +135 -0
  335. package/es/components/tooltip/src/content.vue_vue_type_script_lang.mjs.map +1 -0
  336. package/es/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.mjs +65 -0
  337. package/es/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.mjs.map +1 -0
  338. package/es/components/tooltip/src/tokens.d.ts +14 -0
  339. package/es/components/tooltip/src/tokens.mjs +4 -0
  340. package/es/components/tooltip/src/tokens.mjs.map +1 -0
  341. package/es/components/tooltip/src/tooltip.d.ts +146 -0
  342. package/es/components/tooltip/src/tooltip.mjs +63 -0
  343. package/es/components/tooltip/src/tooltip.mjs.map +1 -0
  344. package/es/components/tooltip/src/tooltip.vue.d.ts +383 -0
  345. package/es/components/tooltip/src/tooltip.vue_vue_type_script_lang.mjs +104 -0
  346. package/es/components/tooltip/src/tooltip.vue_vue_type_script_lang.mjs.map +1 -0
  347. package/es/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.mjs +67 -0
  348. package/es/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.mjs.map +1 -0
  349. package/es/components/tooltip/src/tooltip2.mjs +7 -0
  350. package/es/components/tooltip/src/tooltip2.mjs.map +1 -0
  351. package/es/components/tooltip/src/trigger.mjs +7 -0
  352. package/es/components/tooltip/src/trigger.mjs.map +1 -0
  353. package/es/components/tooltip/src/trigger.vue.d.ts +39 -0
  354. package/es/components/tooltip/src/trigger.vue_vue_type_script_lang.mjs +60 -0
  355. package/es/components/tooltip/src/trigger.vue_vue_type_script_lang.mjs.map +1 -0
  356. package/es/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.mjs +27 -0
  357. package/es/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.mjs.map +1 -0
  358. package/es/components/tooltip/src/utils.d.ts +4 -0
  359. package/es/components/tooltip/src/utils.mjs +18 -0
  360. package/es/components/tooltip/src/utils.mjs.map +1 -0
  361. package/es/components/tree/index.d.ts +4 -4
  362. package/es/components/tree/src/tree.vue.d.ts +2 -2
  363. package/es/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  364. package/es/components/virtual-list/src/builders/build-list.d.ts +1 -1
  365. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
  366. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
  367. package/es/components/visual-hidden/index.d.ts +3 -0
  368. package/es/components/visual-hidden/index.mjs +4 -0
  369. package/es/components/{popper/src/renderers → visual-hidden}/index.mjs.map +0 -0
  370. package/es/components/visual-hidden/src/visual-hidden.mjs +7 -0
  371. package/es/components/visual-hidden/src/visual-hidden.mjs.map +1 -0
  372. package/es/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -0
  373. package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.mjs +34 -0
  374. package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.mjs.map +1 -0
  375. package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.mjs +8 -0
  376. package/es/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.mjs.map +1 -0
  377. package/es/directives/click-outside/index.mjs.map +1 -1
  378. package/es/hooks/index.d.ts +8 -1
  379. package/es/hooks/index.mjs +8 -2
  380. package/es/hooks/index.mjs.map +1 -1
  381. package/es/hooks/use-delayed-toggle/index.d.ts +13 -0
  382. package/es/hooks/use-delayed-toggle/index.mjs +39 -0
  383. package/es/hooks/use-delayed-toggle/index.mjs.map +1 -0
  384. package/es/hooks/use-escape-keydown/index.d.ts +1 -0
  385. package/es/hooks/use-escape-keydown/index.mjs +21 -0
  386. package/es/hooks/use-escape-keydown/index.mjs.map +1 -0
  387. package/es/hooks/use-focus/index.d.ts +3 -1
  388. package/es/hooks/use-focus/index.mjs.map +1 -1
  389. package/es/hooks/use-forward-ref/index.d.ts +13 -0
  390. package/es/hooks/use-forward-ref/index.mjs +27 -0
  391. package/es/hooks/use-forward-ref/index.mjs.map +1 -0
  392. package/es/hooks/use-id/index.d.ts +8 -0
  393. package/es/hooks/use-id/index.mjs +24 -0
  394. package/es/hooks/use-id/index.mjs.map +1 -0
  395. package/es/hooks/use-intermediate-render/index.d.ts +11 -0
  396. package/es/hooks/use-intermediate-render/index.mjs +43 -0
  397. package/es/hooks/use-intermediate-render/index.mjs.map +1 -0
  398. package/es/hooks/use-model-toggle/index.d.ts +18 -9
  399. package/es/hooks/use-model-toggle/index.mjs +103 -93
  400. package/es/hooks/use-model-toggle/index.mjs.map +1 -1
  401. package/es/hooks/use-popper-container/index.d.ts +3 -0
  402. package/es/hooks/use-popper-container/index.mjs +22 -0
  403. package/es/hooks/use-popper-container/index.mjs.map +1 -0
  404. package/es/hooks/use-restore-active/index.mjs +1 -1
  405. package/es/hooks/use-restore-active/index.mjs.map +1 -1
  406. package/es/index.mjs +15 -8
  407. package/es/index.mjs.map +1 -1
  408. package/es/utils/aria.d.ts +4 -0
  409. package/es/utils/aria.mjs +5 -1
  410. package/es/utils/aria.mjs.map +1 -1
  411. package/es/utils/dom.d.ts +9 -1
  412. package/es/utils/dom.mjs +27 -1
  413. package/es/utils/dom.mjs.map +1 -1
  414. package/es/utils/props.d.ts +2 -2
  415. package/es/utils/props.mjs +1 -1
  416. package/es/utils/props.mjs.map +1 -1
  417. package/es/version.d.ts +1 -1
  418. package/es/version.mjs +1 -1
  419. package/es/version.mjs.map +1 -1
  420. package/lib/components/autocomplete/index.d.ts +26 -18
  421. package/lib/components/autocomplete/src/index.vue.d.ts +13 -10
  422. package/lib/components/autocomplete/src/index.vue_vue_type_script_lang.js +13 -17
  423. package/lib/components/autocomplete/src/index.vue_vue_type_script_lang.js.map +1 -1
  424. package/lib/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.js +51 -48
  425. package/lib/components/autocomplete/src/index.vue_vue_type_template_id_2f09f285_lang.js.map +1 -1
  426. package/lib/components/carousel/index.d.ts +4 -4
  427. package/lib/components/carousel/src/main.vue.d.ts +4 -4
  428. package/lib/components/cascader/index.d.ts +1118 -6532
  429. package/lib/components/cascader/src/index.vue.d.ts +559 -3267
  430. package/lib/components/cascader/src/index.vue_vue_type_script_lang.js +10 -10
  431. package/lib/components/cascader/src/index.vue_vue_type_script_lang.js.map +1 -1
  432. package/lib/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.js +12 -12
  433. package/lib/components/cascader/src/index.vue_vue_type_template_id_0429c2db_lang.js.map +1 -1
  434. package/lib/components/cascader-panel/src/index.vue_vue_type_script_lang.js +3 -0
  435. package/lib/components/cascader-panel/src/index.vue_vue_type_script_lang.js.map +1 -1
  436. package/lib/components/cascader-panel/src/index.vue_vue_type_template_id_97c48f5c_lang.js.map +1 -1
  437. package/lib/components/checkbox/index.d.ts +1 -1
  438. package/lib/components/checkbox/src/checkbox.vue.d.ts +1 -1
  439. package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.js +7 -13
  440. package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_script_lang.js.map +1 -1
  441. package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.js +1 -1
  442. package/lib/components/collapse-transition/src/collapse-transition.vue_vue_type_template_id_f68ae30a_lang.js.map +1 -1
  443. package/lib/components/collection/index.d.ts +2 -0
  444. package/lib/components/collection/index.js +12 -0
  445. package/lib/components/{popper/src → collection}/index.js.map +0 -0
  446. package/lib/components/collection/src/collection-item.js +12 -0
  447. package/lib/components/collection/src/collection-item.js.map +1 -0
  448. package/lib/components/collection/src/collection-item.vue.d.ts +2 -0
  449. package/lib/components/collection/src/collection-item.vue_vue_type_script_lang.js +13 -0
  450. package/lib/components/collection/src/collection-item.vue_vue_type_script_lang.js.map +1 -0
  451. package/lib/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.js +12 -0
  452. package/lib/components/collection/src/collection-item.vue_vue_type_template_id_dd23be6a_lang.js.map +1 -0
  453. package/lib/components/collection/src/collection.d.ts +263 -0
  454. package/lib/components/collection/src/collection.js +73 -0
  455. package/lib/components/collection/src/collection.js.map +1 -0
  456. package/lib/components/collection/src/collection.vue.d.ts +2 -0
  457. package/lib/components/collection/src/collection.vue_vue_type_script_lang.js +12 -0
  458. package/lib/components/collection/src/collection.vue_vue_type_script_lang.js.map +1 -0
  459. package/lib/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.js +12 -0
  460. package/lib/components/collection/src/collection.vue_vue_type_template_id_5f9c2545_lang.js.map +1 -0
  461. package/lib/components/collection/src/collection2.js +12 -0
  462. package/lib/components/collection/src/collection2.js.map +1 -0
  463. package/lib/components/collection/src/tokens.d.ts +12 -0
  464. package/lib/components/collection/src/tokens.js +3 -0
  465. package/lib/components/collection/src/tokens.js.map +1 -0
  466. package/lib/components/color-picker/index.d.ts +0 -2
  467. package/lib/components/color-picker/src/index.vue.d.ts +0 -2
  468. package/lib/components/color-picker/src/index.vue_vue_type_script_lang.js +2 -4
  469. package/lib/components/color-picker/src/index.vue_vue_type_script_lang.js.map +1 -1
  470. package/lib/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.js +9 -10
  471. package/lib/components/color-picker/src/index.vue_vue_type_template_id_46a474d5_lang.js.map +1 -1
  472. package/lib/components/date-picker/index.d.ts +4 -4
  473. package/lib/components/date-picker/src/date-picker.d.ts +2 -2
  474. package/lib/components/descriptions/index.d.ts +4 -4
  475. package/lib/components/descriptions/src/description-item.d.ts +2 -2
  476. package/lib/components/dialog/index.d.ts +5 -5
  477. package/lib/components/dialog/src/dialog.vue.d.ts +5 -5
  478. package/lib/components/drawer/index.d.ts +5 -5
  479. package/lib/components/drawer/src/drawer.vue.d.ts +5 -5
  480. package/lib/components/dropdown/index.d.ts +767 -84
  481. package/lib/components/dropdown/src/dropdown-item-impl.js +12 -0
  482. package/lib/components/dropdown/src/dropdown-item-impl.js.map +1 -0
  483. package/lib/components/dropdown/src/dropdown-item-impl.vue.d.ts +39 -0
  484. package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.js +57 -0
  485. package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_script_lang.js.map +1 -0
  486. package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.js +37 -0
  487. package/lib/components/dropdown/src/dropdown-item-impl.vue_vue_type_template_id_6daab4f2_lang.js.map +1 -0
  488. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +17 -9
  489. package/lib/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.js +50 -20
  490. package/lib/components/dropdown/src/dropdown-item.vue_vue_type_script_lang.js.map +1 -1
  491. package/lib/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.js +29 -19
  492. package/lib/components/dropdown/src/dropdown-item.vue_vue_type_template_id_396ed16b_lang.js.map +1 -1
  493. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +17 -6
  494. package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.js +57 -21
  495. package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_script_lang.js.map +1 -1
  496. package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.js +11 -8
  497. package/lib/components/dropdown/src/dropdown-menu.vue_vue_type_template_id_617b3492_lang.js.map +1 -1
  498. package/lib/components/dropdown/src/dropdown.d.ts +295 -1
  499. package/lib/components/dropdown/src/dropdown.js +96 -0
  500. package/lib/components/dropdown/src/dropdown.js.map +1 -1
  501. package/lib/components/dropdown/src/dropdown.vue.d.ts +712 -73
  502. package/lib/components/dropdown/src/dropdown.vue_vue_type_script_lang.js +59 -152
  503. package/lib/components/dropdown/src/dropdown.vue_vue_type_script_lang.js.map +1 -1
  504. package/lib/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.js +91 -51
  505. package/lib/components/dropdown/src/dropdown.vue_vue_type_template_id_3ed790a5_lang.js.map +1 -1
  506. package/lib/components/dropdown/src/tokens.d.ts +8 -0
  507. package/lib/components/dropdown/src/tokens.js +8 -0
  508. package/lib/components/dropdown/src/tokens.js.map +1 -0
  509. package/lib/components/focus-trap/index.d.ts +5 -0
  510. package/lib/components/focus-trap/index.js +27 -0
  511. package/lib/components/focus-trap/index.js.map +1 -0
  512. package/lib/components/focus-trap/src/focus-trap.js +12 -0
  513. package/lib/components/focus-trap/src/focus-trap.js.map +1 -0
  514. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +21 -0
  515. package/lib/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.js +141 -0
  516. package/lib/components/focus-trap/src/focus-trap.vue_vue_type_script_lang.js.map +1 -0
  517. package/lib/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.js +12 -0
  518. package/lib/components/focus-trap/src/focus-trap.vue_vue_type_template_id_4a8a10c5_lang.js.map +1 -0
  519. package/lib/components/focus-trap/src/tokens.d.ts +11 -0
  520. package/lib/components/focus-trap/src/tokens.js +21 -0
  521. package/lib/components/focus-trap/src/tokens.js.map +1 -0
  522. package/lib/components/focus-trap/src/utils.d.ts +18 -0
  523. package/lib/components/focus-trap/src/utils.js +102 -0
  524. package/lib/components/focus-trap/src/utils.js.map +1 -0
  525. package/lib/components/image/index.d.ts +2 -2
  526. package/lib/components/image/src/image.vue.d.ts +2 -2
  527. package/lib/components/index.js +92 -84
  528. package/lib/components/index.js.map +1 -1
  529. package/lib/components/input/index.d.ts +5 -5
  530. package/lib/components/input/src/input.vue.d.ts +5 -5
  531. package/lib/components/input-number/index.d.ts +12 -12
  532. package/lib/components/input-number/src/input-number.vue.d.ts +12 -12
  533. package/lib/components/menu/index.d.ts +9 -3
  534. package/lib/components/menu/src/menu-item.vue.d.ts +4 -2
  535. package/lib/components/menu/src/menu-item.vue_vue_type_script_lang.js +3 -3
  536. package/lib/components/menu/src/menu-item.vue_vue_type_script_lang.js.map +1 -1
  537. package/lib/components/menu/src/menu.d.ts +1 -1
  538. package/lib/components/menu/src/menu.js +2 -1
  539. package/lib/components/menu/src/menu.js.map +1 -1
  540. package/lib/components/menu/src/sub-menu.js +18 -21
  541. package/lib/components/menu/src/sub-menu.js.map +1 -1
  542. package/lib/components/menu/src/types.d.ts +2 -0
  543. package/lib/components/message-box/src/index.vue.d.ts +2 -2
  544. package/lib/components/pagination/index.d.ts +2 -2
  545. package/lib/components/pagination/src/pagination.d.ts +2 -2
  546. package/lib/components/popconfirm/index.d.ts +19 -12
  547. package/lib/components/popconfirm/index.js +0 -1
  548. package/lib/components/popconfirm/index.js.map +1 -1
  549. package/lib/components/popconfirm/src/popconfirm.d.ts +3 -5
  550. package/lib/components/popconfirm/src/popconfirm.js +10 -5
  551. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  552. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +19 -13
  553. package/lib/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.js +20 -18
  554. package/lib/components/popconfirm/src/popconfirm.vue_vue_type_script_lang.js.map +1 -1
  555. package/lib/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.js +11 -12
  556. package/lib/components/popconfirm/src/popconfirm.vue_vue_type_template_id_16409d25_lang.js.map +1 -1
  557. package/lib/components/popover/index.d.ts +1690 -420
  558. package/lib/components/popover/src/directive.js +7 -13
  559. package/lib/components/popover/src/directive.js.map +1 -1
  560. package/lib/components/popover/src/index.js +2 -0
  561. package/lib/components/popover/src/index.js.map +1 -1
  562. package/lib/components/popover/src/index.vue.d.ts +846 -213
  563. package/lib/components/popover/src/index.vue_vue_type_script_lang.js +40 -106
  564. package/lib/components/popover/src/index.vue_vue_type_script_lang.js.map +1 -1
  565. package/lib/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.js +35 -0
  566. package/lib/components/popover/src/index.vue_vue_type_template_id_15486cf0_lang.js.map +1 -0
  567. package/lib/components/popover/src/popover.d.ts +70 -0
  568. package/lib/components/popover/src/popover.js +35 -0
  569. package/lib/components/popover/src/popover.js.map +1 -0
  570. package/lib/components/popper/index.d.ts +7 -3479
  571. package/lib/components/popper/index.js +24 -20
  572. package/lib/components/popper/index.js.map +1 -1
  573. package/lib/components/popper/src/arrow.js +12 -0
  574. package/lib/components/popper/src/arrow.js.map +1 -0
  575. package/lib/components/popper/src/arrow.vue.d.ts +12 -0
  576. package/lib/components/popper/src/arrow.vue_vue_type_script_lang.js +31 -0
  577. package/lib/components/popper/src/arrow.vue_vue_type_script_lang.js.map +1 -0
  578. package/lib/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.js +17 -0
  579. package/lib/components/popper/src/arrow.vue_vue_type_template_id_8ab40b80_lang.js.map +1 -0
  580. package/lib/components/popper/src/container.d.ts +3 -0
  581. package/lib/components/popper/src/container.js +28 -0
  582. package/lib/components/popper/src/container.js.map +1 -0
  583. package/lib/components/popper/src/content.js +12 -0
  584. package/lib/components/popper/src/content.js.map +1 -0
  585. package/lib/components/popper/src/content.vue.d.ts +299 -0
  586. package/lib/components/popper/src/content.vue_vue_type_script_lang.js +89 -0
  587. package/lib/components/popper/src/content.vue_vue_type_script_lang.js.map +1 -0
  588. package/lib/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.js +20 -0
  589. package/lib/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.js.map +1 -0
  590. package/lib/components/popper/src/popper.d.ts +58 -0
  591. package/lib/components/popper/src/popper.js +107 -0
  592. package/lib/components/popper/src/popper.js.map +1 -0
  593. package/lib/components/popper/src/popper.vue.d.ts +3 -0
  594. package/lib/components/popper/src/popper.vue_vue_type_script_lang.js +23 -0
  595. package/lib/components/popper/src/popper.vue_vue_type_script_lang.js.map +1 -0
  596. package/lib/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.js +12 -0
  597. package/lib/components/popper/src/popper.vue_vue_type_template_id_77a3d185_lang.js.map +1 -0
  598. package/lib/components/popper/src/popper2.js +12 -0
  599. package/lib/components/popper/src/popper2.js.map +1 -0
  600. package/lib/components/popper/src/tokens.d.ts +14 -0
  601. package/lib/components/popper/src/tokens.js +10 -0
  602. package/lib/components/popper/src/tokens.js.map +1 -0
  603. package/lib/components/popper/src/trigger.js +12 -0
  604. package/lib/components/popper/src/trigger.js.map +1 -0
  605. package/lib/components/popper/src/trigger.vue.d.ts +45 -0
  606. package/lib/components/popper/src/trigger.vue_vue_type_script_lang.js +70 -0
  607. package/lib/components/popper/src/trigger.vue_vue_type_script_lang.js.map +1 -0
  608. package/lib/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.js +20 -0
  609. package/lib/components/popper/src/trigger.vue_vue_type_template_id_4fb6e0af_lang.js.map +1 -0
  610. package/lib/components/popper/src/utils.d.ts +55 -0
  611. package/lib/components/popper/src/utils.js +81 -0
  612. package/lib/components/popper/src/utils.js.map +1 -0
  613. package/lib/components/roving-focus-group/index.d.ts +7 -0
  614. package/lib/components/roving-focus-group/index.js +25 -0
  615. package/lib/components/roving-focus-group/index.js.map +1 -0
  616. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js +12 -0
  617. package/lib/components/roving-focus-group/src/roving-focus-group-impl.js.map +1 -0
  618. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue.d.ts +43 -0
  619. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.js +106 -0
  620. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_script_lang.js.map +1 -0
  621. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.js +12 -0
  622. package/lib/components/roving-focus-group/src/roving-focus-group-impl.vue_vue_type_template_id_e5cee750_lang.js.map +1 -0
  623. package/lib/components/roving-focus-group/src/roving-focus-group.d.ts +269 -0
  624. package/lib/components/roving-focus-group/src/roving-focus-group.js +40 -0
  625. package/lib/components/roving-focus-group/src/roving-focus-group.js.map +1 -0
  626. package/lib/components/roving-focus-group/src/roving-focus-group.vue.d.ts +2 -0
  627. package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.js +19 -0
  628. package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_script_lang.js.map +1 -0
  629. package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.js +24 -0
  630. package/lib/components/roving-focus-group/src/roving-focus-group.vue_vue_type_template_id_91b51b76_lang.js.map +1 -0
  631. package/lib/components/roving-focus-group/src/roving-focus-group2.js +12 -0
  632. package/lib/components/roving-focus-group/src/roving-focus-group2.js.map +1 -0
  633. package/lib/components/roving-focus-group/src/roving-focus-item.js +12 -0
  634. package/lib/components/roving-focus-group/src/roving-focus-item.js.map +1 -0
  635. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +29 -0
  636. package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.js +104 -0
  637. package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_script_lang.js.map +1 -0
  638. package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.js +22 -0
  639. package/lib/components/roving-focus-group/src/roving-focus-item.vue_vue_type_template_id_5f657dbd_lang.js.map +1 -0
  640. package/lib/components/roving-focus-group/src/tokens.d.ts +27 -0
  641. package/lib/components/roving-focus-group/src/tokens.js +10 -0
  642. package/lib/components/roving-focus-group/src/tokens.js.map +1 -0
  643. package/lib/components/roving-focus-group/src/utils.d.ts +8 -0
  644. package/lib/components/roving-focus-group/src/utils.js +54 -0
  645. package/lib/components/roving-focus-group/src/utils.js.map +1 -0
  646. package/lib/components/select/index.d.ts +680 -14
  647. package/lib/components/select/src/select-dropdown.vue.d.ts +1 -1
  648. package/lib/components/select/src/select-dropdown.vue_vue_type_script_lang.js +1 -0
  649. package/lib/components/select/src/select-dropdown.vue_vue_type_script_lang.js.map +1 -1
  650. package/lib/components/select/src/select-dropdown.vue_vue_type_template_id_46cf6eee_lang.js.map +1 -1
  651. package/lib/components/select/src/select.vue.d.ts +681 -15
  652. package/lib/components/select/src/select.vue_vue_type_script_lang.js +24 -10
  653. package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
  654. package/lib/components/select/src/select.vue_vue_type_template_id_33774f85_lang.js +11 -12
  655. package/lib/components/select/src/select.vue_vue_type_template_id_33774f85_lang.js.map +1 -1
  656. package/lib/components/select/src/token.d.ts +1 -0
  657. package/lib/components/select/src/token.js.map +1 -1
  658. package/lib/components/select/src/useSelect.d.ts +671 -7
  659. package/lib/components/select/src/useSelect.js +33 -23
  660. package/lib/components/select/src/useSelect.js.map +1 -1
  661. package/lib/components/select-v2/index.d.ts +1326 -16
  662. package/lib/components/select-v2/src/select.vue.d.ts +665 -10
  663. package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js +2 -2
  664. package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js.map +1 -1
  665. package/lib/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.js +8 -9
  666. package/lib/components/select-v2/src/select.vue_vue_type_template_id_13e598a4_lang.js.map +1 -1
  667. package/lib/components/select-v2/src/useSelect.d.ts +659 -4
  668. package/lib/components/select-v2/src/useSelect.js +11 -11
  669. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  670. package/lib/components/slider/src/button.vue_vue_type_script_lang.js +1 -1
  671. package/lib/components/slider/src/button.vue_vue_type_script_lang.js.map +1 -1
  672. package/lib/components/slot/index.d.ts +5 -0
  673. package/lib/components/slot/index.js +10 -0
  674. package/lib/components/{popper/src/renderers → slot}/index.js.map +1 -1
  675. package/lib/components/slot/src/only-child.d.ts +5 -0
  676. package/lib/components/slot/src/only-child.js +65 -0
  677. package/lib/components/slot/src/only-child.js.map +1 -0
  678. package/lib/components/table/index.d.ts +13 -4
  679. package/lib/components/table/src/filter-panel.vue.d.ts +654 -4
  680. package/lib/components/table/src/filter-panel.vue_vue_type_script_lang.js +5 -7
  681. package/lib/components/table/src/filter-panel.vue_vue_type_script_lang.js.map +1 -1
  682. package/lib/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.js +8 -9
  683. package/lib/components/table/src/filter-panel.vue_vue_type_template_id_fde1c940_lang.js.map +1 -1
  684. package/lib/components/table/src/table/style-helper.d.ts +7 -0
  685. package/lib/components/table/src/table/style-helper.js +20 -21
  686. package/lib/components/table/src/table/style-helper.js.map +1 -1
  687. package/lib/components/table/src/table-body/index.js +5 -3
  688. package/lib/components/table/src/table-body/index.js.map +1 -1
  689. package/lib/components/table/src/table-body/styles-helper.d.ts +0 -1
  690. package/lib/components/table/src/table-body/styles-helper.js +10 -17
  691. package/lib/components/table/src/table-body/styles-helper.js.map +1 -1
  692. package/lib/components/table/src/table-column/defaults.d.ts +1 -0
  693. package/lib/components/table/src/table-column/defaults.js.map +1 -1
  694. package/lib/components/table/src/table-column/index.d.ts +1 -1
  695. package/lib/components/table/src/table-column/index.js +1 -0
  696. package/lib/components/table/src/table-column/index.js.map +1 -1
  697. package/lib/components/table/src/table-footer/index.d.ts +4 -2
  698. package/lib/components/table/src/table-footer/index.js +32 -17
  699. package/lib/components/table/src/table-footer/index.js.map +1 -1
  700. package/lib/components/table/src/table-footer/style-helper.d.ts +4 -2
  701. package/lib/components/table/src/table-footer/style-helper.js +28 -31
  702. package/lib/components/table/src/table-footer/style-helper.js.map +1 -1
  703. package/lib/components/table/src/table-header/index.d.ts +3 -2
  704. package/lib/components/table/src/table-header/index.js +89 -51
  705. package/lib/components/table/src/table-header/index.js.map +1 -1
  706. package/lib/components/table/src/table-header/style.helper.d.ts +1 -1
  707. package/lib/components/table/src/table-header/style.helper.js +14 -24
  708. package/lib/components/table/src/table-header/style.helper.js.map +1 -1
  709. package/lib/components/table/src/table-header/utils-helper.js +1 -0
  710. package/lib/components/table/src/table-header/utils-helper.js.map +1 -1
  711. package/lib/components/table/src/table-layout.d.ts +1 -0
  712. package/lib/components/table/src/table-layout.js +7 -1
  713. package/lib/components/table/src/table-layout.js.map +1 -1
  714. package/lib/components/table/src/table.vue.d.ts +11 -2
  715. package/lib/components/table/src/table.vue_vue_type_script_lang.js +12 -2
  716. package/lib/components/table/src/table.vue_vue_type_script_lang.js.map +1 -1
  717. package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js +62 -213
  718. package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js.map +1 -1
  719. package/lib/components/table/src/util.d.ts +16 -2
  720. package/lib/components/table/src/util.js +95 -0
  721. package/lib/components/table/src/util.js.map +1 -1
  722. package/lib/components/teleport/index.d.ts +11 -8
  723. package/lib/components/teleport/src/teleport.d.ts +4 -3
  724. package/lib/components/teleport/src/teleport.js +5 -1
  725. package/lib/components/teleport/src/teleport.js.map +1 -1
  726. package/lib/components/teleport/src/teleport.vue.d.ts +11 -8
  727. package/lib/components/teleport/src/teleport.vue_vue_type_script_lang.js +1 -2
  728. package/lib/components/teleport/src/teleport.vue_vue_type_script_lang.js.map +1 -1
  729. package/lib/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.js +3 -2
  730. package/lib/components/teleport/src/teleport.vue_vue_type_template_id_787c6a36_lang.js.map +1 -1
  731. package/lib/components/time-picker/index.d.ts +4 -4
  732. package/lib/components/time-picker/src/common/picker.vue.d.ts +663 -9
  733. package/lib/components/time-picker/src/common/picker.vue_vue_type_script_lang.js +33 -21
  734. package/lib/components/time-picker/src/common/picker.vue_vue_type_script_lang.js.map +1 -1
  735. package/lib/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.js +37 -37
  736. package/lib/components/time-picker/src/common/picker.vue_vue_type_template_id_1d54be91_lang.js.map +1 -1
  737. package/lib/components/time-picker/src/time-picker.d.ts +2 -2
  738. package/lib/components/time-select/index.d.ts +4 -4
  739. package/lib/components/time-select/src/time-select.vue.d.ts +2 -2
  740. package/lib/components/tooltip/index.d.ts +346 -430
  741. package/lib/components/tooltip/index.js +9 -7
  742. package/lib/components/tooltip/index.js.map +1 -1
  743. package/lib/components/tooltip/src/content.js +12 -0
  744. package/lib/components/tooltip/src/content.js.map +1 -0
  745. package/lib/components/tooltip/src/content.vue.d.ts +809 -0
  746. package/lib/components/tooltip/src/content.vue_vue_type_script_lang.js +139 -0
  747. package/lib/components/tooltip/src/content.vue_vue_type_script_lang.js.map +1 -0
  748. package/lib/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.js +69 -0
  749. package/lib/components/tooltip/src/content.vue_vue_type_template_id_20254f8d_lang.js.map +1 -0
  750. package/lib/components/tooltip/src/tokens.d.ts +14 -0
  751. package/lib/components/tooltip/src/tokens.js +8 -0
  752. package/lib/components/tooltip/src/tokens.js.map +1 -0
  753. package/lib/components/tooltip/src/tooltip.d.ts +146 -0
  754. package/lib/components/tooltip/src/tooltip.js +69 -0
  755. package/lib/components/tooltip/src/tooltip.js.map +1 -0
  756. package/lib/components/tooltip/src/tooltip.vue.d.ts +383 -0
  757. package/lib/components/tooltip/src/tooltip.vue_vue_type_script_lang.js +108 -0
  758. package/lib/components/tooltip/src/tooltip.vue_vue_type_script_lang.js.map +1 -0
  759. package/lib/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.js +71 -0
  760. package/lib/components/tooltip/src/tooltip.vue_vue_type_template_id_694d1617_lang.js.map +1 -0
  761. package/lib/components/tooltip/src/tooltip2.js +12 -0
  762. package/lib/components/tooltip/src/tooltip2.js.map +1 -0
  763. package/lib/components/tooltip/src/trigger.js +12 -0
  764. package/lib/components/tooltip/src/trigger.js.map +1 -0
  765. package/lib/components/tooltip/src/trigger.vue.d.ts +39 -0
  766. package/lib/components/tooltip/src/trigger.vue_vue_type_script_lang.js +64 -0
  767. package/lib/components/tooltip/src/trigger.vue_vue_type_script_lang.js.map +1 -0
  768. package/lib/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.js +31 -0
  769. package/lib/components/tooltip/src/trigger.vue_vue_type_template_id_0ec0b94c_lang.js.map +1 -0
  770. package/lib/components/tooltip/src/utils.d.ts +4 -0
  771. package/lib/components/tooltip/src/utils.js +23 -0
  772. package/lib/components/tooltip/src/utils.js.map +1 -0
  773. package/lib/components/tree/index.d.ts +4 -4
  774. package/lib/components/tree/src/tree.vue.d.ts +2 -2
  775. package/lib/components/tree-v2/src/tree-node.vue.d.ts +1 -1
  776. package/lib/components/virtual-list/src/builders/build-list.d.ts +1 -1
  777. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +1 -1
  778. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +1 -1
  779. package/lib/components/visual-hidden/index.d.ts +3 -0
  780. package/lib/components/visual-hidden/index.js +12 -0
  781. package/lib/components/visual-hidden/index.js.map +1 -0
  782. package/lib/components/visual-hidden/src/visual-hidden.js +12 -0
  783. package/lib/components/visual-hidden/src/visual-hidden.js.map +1 -0
  784. package/lib/components/visual-hidden/src/visual-hidden.vue.d.ts +12 -0
  785. package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.js +38 -0
  786. package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_script_lang.js.map +1 -0
  787. package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.js +12 -0
  788. package/lib/components/visual-hidden/src/visual-hidden.vue_vue_type_template_id_4cbd1102_lang.js.map +1 -0
  789. package/lib/directives/click-outside/index.js.map +1 -1
  790. package/lib/hooks/index.d.ts +8 -1
  791. package/lib/hooks/index.js +36 -20
  792. package/lib/hooks/index.js.map +1 -1
  793. package/lib/hooks/use-delayed-toggle/index.d.ts +13 -0
  794. package/lib/hooks/use-delayed-toggle/index.js +44 -0
  795. package/lib/hooks/use-delayed-toggle/index.js.map +1 -0
  796. package/lib/hooks/use-escape-keydown/index.d.ts +1 -0
  797. package/lib/hooks/use-escape-keydown/index.js +25 -0
  798. package/lib/hooks/use-escape-keydown/index.js.map +1 -0
  799. package/lib/hooks/use-focus/index.d.ts +3 -1
  800. package/lib/hooks/use-focus/index.js.map +1 -1
  801. package/lib/hooks/use-forward-ref/index.d.ts +13 -0
  802. package/lib/hooks/use-forward-ref/index.js +33 -0
  803. package/lib/hooks/use-forward-ref/index.js.map +1 -0
  804. package/lib/hooks/use-id/index.d.ts +8 -0
  805. package/lib/hooks/use-id/index.js +29 -0
  806. package/lib/hooks/use-id/index.js.map +1 -0
  807. package/lib/hooks/use-intermediate-render/index.d.ts +11 -0
  808. package/lib/hooks/use-intermediate-render/index.js +47 -0
  809. package/lib/hooks/use-intermediate-render/index.js.map +1 -0
  810. package/lib/hooks/use-model-toggle/index.d.ts +18 -9
  811. package/lib/hooks/use-model-toggle/index.js +102 -91
  812. package/lib/hooks/use-model-toggle/index.js.map +1 -1
  813. package/lib/hooks/use-popper-container/index.d.ts +3 -0
  814. package/lib/hooks/use-popper-container/index.js +28 -0
  815. package/lib/hooks/use-popper-container/index.js.map +1 -0
  816. package/lib/hooks/use-restore-active/index.js +1 -1
  817. package/lib/hooks/use-restore-active/index.js.map +1 -1
  818. package/lib/index.js +167 -143
  819. package/lib/index.js.map +1 -1
  820. package/lib/utils/aria.d.ts +4 -0
  821. package/lib/utils/aria.js +5 -1
  822. package/lib/utils/aria.js.map +1 -1
  823. package/lib/utils/dom.d.ts +9 -1
  824. package/lib/utils/dom.js +30 -0
  825. package/lib/utils/dom.js.map +1 -1
  826. package/lib/utils/props.d.ts +2 -2
  827. package/lib/utils/props.js +1 -1
  828. package/lib/utils/props.js.map +1 -1
  829. package/lib/version.d.ts +1 -1
  830. package/lib/version.js +1 -1
  831. package/lib/version.js.map +1 -1
  832. package/package.json +2 -2
  833. package/tags.json +1 -1
  834. package/theme-chalk/base.css +1 -1
  835. package/theme-chalk/el-collapse.css +1 -1
  836. package/theme-chalk/el-date-picker.css +1 -1
  837. package/theme-chalk/el-dropdown.css +1 -1
  838. package/theme-chalk/el-menu.css +1 -1
  839. package/theme-chalk/el-select-v2.css +1 -1
  840. package/theme-chalk/el-table-column.css +1 -1
  841. package/theme-chalk/el-table.css +1 -1
  842. package/theme-chalk/el-time-picker.css +1 -1
  843. package/theme-chalk/el-time-select.css +1 -1
  844. package/theme-chalk/el-tree.css +1 -1
  845. package/theme-chalk/index.css +1 -1
  846. package/theme-chalk/src/common/transition.scss +8 -0
  847. package/theme-chalk/src/dropdown.scss +1 -2
  848. package/theme-chalk/src/select-v2.scss +2 -3
  849. package/theme-chalk/src/table-column.scss +0 -1
  850. package/theme-chalk/src/table.scss +176 -124
  851. package/web-types.json +1 -1
  852. package/es/components/popover/src/usePopover.d.ts +0 -32
  853. package/es/components/popover/src/usePopover.mjs +0 -38
  854. package/es/components/popover/src/usePopover.mjs.map +0 -1
  855. package/es/components/popper/src/index.mjs +0 -5
  856. package/es/components/popper/src/index.vue.d.ts +0 -1737
  857. package/es/components/popper/src/index.vue_vue_type_script_lang.mjs +0 -103
  858. package/es/components/popper/src/index.vue_vue_type_script_lang.mjs.map +0 -1
  859. package/es/components/popper/src/renderers/arrow.d.ts +0 -3
  860. package/es/components/popper/src/renderers/arrow.mjs +0 -12
  861. package/es/components/popper/src/renderers/arrow.mjs.map +0 -1
  862. package/es/components/popper/src/renderers/index.d.ts +0 -3
  863. package/es/components/popper/src/renderers/index.mjs +0 -4
  864. package/es/components/popper/src/renderers/popper.d.ts +0 -23
  865. package/es/components/popper/src/renderers/popper.mjs +0 -51
  866. package/es/components/popper/src/renderers/popper.mjs.map +0 -1
  867. package/es/components/popper/src/renderers/trigger.d.ts +0 -13
  868. package/es/components/popper/src/renderers/trigger.mjs +0 -13
  869. package/es/components/popper/src/renderers/trigger.mjs.map +0 -1
  870. package/es/components/popper/src/use-popper/build-modifiers.d.ts +0 -10
  871. package/es/components/popper/src/use-popper/build-modifiers.mjs +0 -50
  872. package/es/components/popper/src/use-popper/build-modifiers.mjs.map +0 -1
  873. package/es/components/popper/src/use-popper/defaults.d.ts +0 -142
  874. package/es/components/popper/src/use-popper/defaults.mjs +0 -116
  875. package/es/components/popper/src/use-popper/defaults.mjs.map +0 -1
  876. package/es/components/popper/src/use-popper/index.d.ts +0 -1554
  877. package/es/components/popper/src/use-popper/index.mjs +0 -235
  878. package/es/components/popper/src/use-popper/index.mjs.map +0 -1
  879. package/es/components/popper/src/use-popper/popper-options.d.ts +0 -20
  880. package/es/components/popper/src/use-popper/popper-options.mjs +0 -22
  881. package/es/components/popper/src/use-popper/popper-options.mjs.map +0 -1
  882. package/es/components/tooltip/src/index.d.ts +0 -240
  883. package/es/components/tooltip/src/index.mjs +0 -101
  884. package/es/components/tooltip/src/index.mjs.map +0 -1
  885. package/es/hooks/use-popper/index.d.ts +0 -103
  886. package/es/hooks/use-popper/index.mjs +0 -256
  887. package/es/hooks/use-popper/index.mjs.map +0 -1
  888. package/es/hooks/use-popper/use-popper-options.d.ts +0 -49
  889. package/es/hooks/use-popper/use-popper-options.mjs +0 -47
  890. package/es/hooks/use-popper/use-popper-options.mjs.map +0 -1
  891. package/es/hooks/use-popper/use-target-events.d.ts +0 -13
  892. package/es/hooks/use-popper/use-target-events.mjs +0 -68
  893. package/es/hooks/use-popper/use-target-events.mjs.map +0 -1
  894. package/lib/components/popover/src/usePopover.d.ts +0 -32
  895. package/lib/components/popover/src/usePopover.js +0 -44
  896. package/lib/components/popover/src/usePopover.js.map +0 -1
  897. package/lib/components/popper/src/index.js +0 -10
  898. package/lib/components/popper/src/index.vue.d.ts +0 -1737
  899. package/lib/components/popper/src/index.vue_vue_type_script_lang.js +0 -107
  900. package/lib/components/popper/src/index.vue_vue_type_script_lang.js.map +0 -1
  901. package/lib/components/popper/src/renderers/arrow.d.ts +0 -3
  902. package/lib/components/popper/src/renderers/arrow.js +0 -16
  903. package/lib/components/popper/src/renderers/arrow.js.map +0 -1
  904. package/lib/components/popper/src/renderers/index.d.ts +0 -3
  905. package/lib/components/popper/src/renderers/index.js +0 -14
  906. package/lib/components/popper/src/renderers/popper.d.ts +0 -23
  907. package/lib/components/popper/src/renderers/popper.js +0 -55
  908. package/lib/components/popper/src/renderers/popper.js.map +0 -1
  909. package/lib/components/popper/src/renderers/trigger.d.ts +0 -13
  910. package/lib/components/popper/src/renderers/trigger.js +0 -17
  911. package/lib/components/popper/src/renderers/trigger.js.map +0 -1
  912. package/lib/components/popper/src/use-popper/build-modifiers.d.ts +0 -10
  913. package/lib/components/popper/src/use-popper/build-modifiers.js +0 -54
  914. package/lib/components/popper/src/use-popper/build-modifiers.js.map +0 -1
  915. package/lib/components/popper/src/use-popper/defaults.d.ts +0 -142
  916. package/lib/components/popper/src/use-popper/defaults.js +0 -121
  917. package/lib/components/popper/src/use-popper/defaults.js.map +0 -1
  918. package/lib/components/popper/src/use-popper/index.d.ts +0 -1554
  919. package/lib/components/popper/src/use-popper/index.js +0 -242
  920. package/lib/components/popper/src/use-popper/index.js.map +0 -1
  921. package/lib/components/popper/src/use-popper/popper-options.d.ts +0 -20
  922. package/lib/components/popper/src/use-popper/popper-options.js +0 -26
  923. package/lib/components/popper/src/use-popper/popper-options.js.map +0 -1
  924. package/lib/components/tooltip/src/index.d.ts +0 -240
  925. package/lib/components/tooltip/src/index.js +0 -105
  926. package/lib/components/tooltip/src/index.js.map +0 -1
  927. package/lib/hooks/use-popper/index.d.ts +0 -103
  928. package/lib/hooks/use-popper/index.js +0 -264
  929. package/lib/hooks/use-popper/index.js.map +0 -1
  930. package/lib/hooks/use-popper/use-popper-options.d.ts +0 -49
  931. package/lib/hooks/use-popper/use-popper-options.js +0 -53
  932. package/lib/hooks/use-popper/use-popper-options.js.map +0 -1
  933. package/lib/hooks/use-popper/use-target-events.d.ts +0 -13
  934. package/lib/hooks/use-popper/use-target-events.js +0 -73
  935. package/lib/hooks/use-popper/use-target-events.js.map +0 -1
@@ -1,46 +1,31 @@
1
1
  import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, withDirectives, createVNode, createCommentVNode, createTextVNode, toDisplayString, vShow } from 'vue';
2
2
 
3
- const _hoisted_1 = {
3
+ const _hoisted_1 = { class: "el-table__inner-wrapper" };
4
+ const _hoisted_2 = {
4
5
  ref: "hiddenColumns",
5
6
  class: "hidden-columns"
6
7
  };
7
- const _hoisted_2 = {
8
+ const _hoisted_3 = {
8
9
  key: 0,
9
10
  ref: "headerWrapper",
10
11
  class: "el-table__header-wrapper"
11
12
  };
12
- const _hoisted_3 = { class: "el-table__empty-text" };
13
- const _hoisted_4 = {
13
+ const _hoisted_4 = { class: "el-table__empty-text" };
14
+ const _hoisted_5 = {
14
15
  key: 1,
15
16
  ref: "appendWrapper",
16
17
  class: "el-table__append-wrapper"
17
18
  };
18
- const _hoisted_5 = {
19
- key: 1,
20
- ref: "footerWrapper",
21
- class: "el-table__footer-wrapper"
22
- };
23
19
  const _hoisted_6 = {
24
- key: 0,
25
- ref: "fixedHeaderWrapper",
26
- class: "el-table__fixed-header-wrapper"
27
- };
28
- const _hoisted_7 = {
29
20
  key: 1,
30
- ref: "fixedFooterWrapper",
31
- class: "el-table__fixed-footer-wrapper"
21
+ class: "el-table__border-left-patch"
32
22
  };
33
- const _hoisted_8 = {
23
+ const _hoisted_7 = {
34
24
  key: 0,
35
- ref: "rightFixedHeaderWrapper",
36
- class: "el-table__fixed-header-wrapper"
37
- };
38
- const _hoisted_9 = {
39
- key: 1,
40
- ref: "rightFixedFooterWrapper",
41
- class: "el-table__fixed-footer-wrapper"
25
+ ref: "footerWrapper",
26
+ class: "el-table__footer-wrapper"
42
27
  };
43
- const _hoisted_10 = {
28
+ const _hoisted_8 = {
44
29
  ref: "resizeProxy",
45
30
  class: "el-table__column-resize-proxy"
46
31
  };
@@ -50,6 +35,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
50
35
  const _component_table_footer = resolveComponent("table-footer");
51
36
  const _directive_mousewheel = resolveDirective("mousewheel");
52
37
  return openBlock(), createElementBlock("div", {
38
+ ref: "tableWrapper",
53
39
  class: normalizeClass([
54
40
  {
55
41
  "el-table--fit": _ctx.fit,
@@ -71,168 +57,28 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
71
57
  onMouseleave: _cache[0] || (_cache[0] = ($event) => _ctx.handleMouseLeave())
72
58
  }, [
73
59
  createElementVNode("div", _hoisted_1, [
74
- renderSlot(_ctx.$slots, "default")
75
- ], 512),
76
- _ctx.showHeader ? withDirectives((openBlock(), createElementBlock("div", _hoisted_2, [
77
- createVNode(_component_table_header, {
78
- ref: "tableHeader",
79
- border: _ctx.border,
80
- "default-sort": _ctx.defaultSort,
81
- store: _ctx.store,
82
- style: normalizeStyle({
83
- width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
84
- }),
85
- onSetDragVisible: _ctx.setDragVisible
86
- }, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
87
- ])), [
88
- [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
89
- ]) : createCommentVNode("v-if", true),
90
- createElementVNode("div", {
91
- ref: "bodyWrapper",
92
- style: normalizeStyle([_ctx.bodyHeight]),
93
- class: "el-table__body-wrapper"
94
- }, [
95
- createVNode(_component_table_body, {
96
- context: _ctx.context,
97
- highlight: _ctx.highlightCurrentRow,
98
- "row-class-name": _ctx.rowClassName,
99
- "tooltip-effect": _ctx.tooltipEffect,
100
- "row-style": _ctx.rowStyle,
101
- store: _ctx.store,
102
- stripe: _ctx.stripe,
103
- style: normalizeStyle({
104
- width: _ctx.bodyWidth
105
- })
106
- }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
107
- _ctx.isEmpty ? (openBlock(), createElementBlock("div", {
108
- key: 0,
109
- ref: "emptyBlock",
110
- style: normalizeStyle(_ctx.emptyBlockStyle),
111
- class: "el-table__empty-block"
112
- }, [
113
- createElementVNode("span", _hoisted_3, [
114
- renderSlot(_ctx.$slots, "empty", {}, () => [
115
- createTextVNode(toDisplayString(_ctx.emptyText || _ctx.t("el.table.emptyText")), 1)
116
- ])
117
- ])
118
- ], 4)) : createCommentVNode("v-if", true),
119
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_4, [
120
- renderSlot(_ctx.$slots, "append")
121
- ], 512)) : createCommentVNode("v-if", true)
122
- ], 4),
123
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_5, [
124
- createVNode(_component_table_footer, {
125
- border: _ctx.border,
126
- "default-sort": _ctx.defaultSort,
127
- store: _ctx.store,
128
- style: normalizeStyle({
129
- width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
130
- }),
131
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
132
- "summary-method": _ctx.summaryMethod
133
- }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
134
- ])), [
135
- [vShow, !_ctx.isEmpty],
136
- [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
137
- ]) : createCommentVNode("v-if", true),
138
- _ctx.store.states.fixedColumns.value.length > 0 ? withDirectives((openBlock(), createElementBlock("div", {
139
- key: 2,
140
- ref: "fixedWrapper",
141
- style: normalizeStyle([
142
- {
143
- width: _ctx.layout.fixedWidth.value ? _ctx.layout.fixedWidth.value + "px" : ""
144
- },
145
- _ctx.fixedHeight
146
- ]),
147
- class: "el-table__fixed"
148
- }, [
149
- _ctx.showHeader ? (openBlock(), createElementBlock("div", _hoisted_6, [
150
- createVNode(_component_table_header, {
151
- ref: "fixedTableHeader",
152
- border: _ctx.border,
153
- store: _ctx.store,
154
- style: normalizeStyle({
155
- width: _ctx.bodyWidth
156
- }),
157
- fixed: "left",
158
- onSetDragVisible: _ctx.setDragVisible
159
- }, null, 8, ["border", "store", "style", "onSetDragVisible"])
160
- ], 512)) : createCommentVNode("v-if", true),
161
- createElementVNode("div", {
162
- ref: "fixedBodyWrapper",
163
- style: normalizeStyle([
164
- {
165
- top: _ctx.layout.headerHeight.value + "px"
166
- },
167
- _ctx.fixedBodyHeight
168
- ]),
169
- class: "el-table__fixed-body-wrapper"
170
- }, [
171
- createVNode(_component_table_body, {
172
- highlight: _ctx.highlightCurrentRow,
173
- "row-class-name": _ctx.rowClassName,
174
- "tooltip-effect": _ctx.tooltipEffect,
175
- "row-style": _ctx.rowStyle,
176
- store: _ctx.store,
177
- stripe: _ctx.stripe,
178
- style: normalizeStyle({
179
- width: _ctx.bodyWidth
180
- }),
181
- fixed: "left"
182
- }, null, 8, ["highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
183
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", {
184
- key: 0,
185
- style: normalizeStyle({ height: _ctx.layout.appendHeight.value + "px" }),
186
- class: "el-table__append-gutter"
187
- }, null, 4)) : createCommentVNode("v-if", true)
188
- ], 4),
189
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_7, [
190
- createVNode(_component_table_footer, {
191
- border: _ctx.border,
192
- store: _ctx.store,
193
- style: normalizeStyle({
194
- width: _ctx.bodyWidth
195
- }),
196
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
197
- "summary-method": _ctx.summaryMethod,
198
- fixed: "left"
199
- }, null, 8, ["border", "store", "style", "sum-text", "summary-method"])
200
- ], 512)), [
201
- [vShow, !_ctx.isEmpty]
202
- ]) : createCommentVNode("v-if", true)
203
- ], 4)), [
204
- [_directive_mousewheel, _ctx.handleFixedMousewheel]
205
- ]) : createCommentVNode("v-if", true),
206
- _ctx.store.states.rightFixedColumns.value.length > 0 ? withDirectives((openBlock(), createElementBlock("div", {
207
- key: 3,
208
- ref: "rightFixedWrapper",
209
- style: normalizeStyle([
210
- {
211
- width: _ctx.layout.rightFixedWidth.value ? _ctx.layout.rightFixedWidth.value + "px" : "",
212
- right: _ctx.layout.scrollY.value ? (_ctx.border ? _ctx.layout.gutterWidth : _ctx.layout.gutterWidth || 0) + "px" : ""
213
- },
214
- _ctx.fixedHeight
215
- ]),
216
- class: "el-table__fixed-right"
217
- }, [
218
- _ctx.showHeader ? (openBlock(), createElementBlock("div", _hoisted_8, [
60
+ createElementVNode("div", _hoisted_2, [
61
+ renderSlot(_ctx.$slots, "default")
62
+ ], 512),
63
+ _ctx.showHeader ? withDirectives((openBlock(), createElementBlock("div", _hoisted_3, [
219
64
  createVNode(_component_table_header, {
220
- ref: "rightFixedTableHeader",
65
+ ref: "tableHeader",
221
66
  border: _ctx.border,
67
+ "default-sort": _ctx.defaultSort,
222
68
  store: _ctx.store,
223
- style: normalizeStyle({
224
- width: _ctx.bodyWidth
225
- }),
226
- fixed: "right",
69
+ style: normalizeStyle(_ctx.tableBodyStyles),
227
70
  onSetDragVisible: _ctx.setDragVisible
228
- }, null, 8, ["border", "store", "style", "onSetDragVisible"])
229
- ], 512)) : createCommentVNode("v-if", true),
71
+ }, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
72
+ ])), [
73
+ [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
74
+ ]) : createCommentVNode("v-if", true),
230
75
  createElementVNode("div", {
231
- ref: "rightFixedBodyWrapper",
232
- style: normalizeStyle([{ top: _ctx.layout.headerHeight.value + "px" }, _ctx.fixedBodyHeight]),
233
- class: "el-table__fixed-body-wrapper"
76
+ ref: "bodyWrapper",
77
+ style: normalizeStyle(_ctx.bodyHeight),
78
+ class: "el-table__body-wrapper"
234
79
  }, [
235
80
  createVNode(_component_table_body, {
81
+ context: _ctx.context,
236
82
  highlight: _ctx.highlightCurrentRow,
237
83
  "row-class-name": _ctx.rowClassName,
238
84
  "tooltip-effect": _ctx.tooltipEffect,
@@ -241,42 +87,45 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
241
87
  stripe: _ctx.stripe,
242
88
  style: normalizeStyle({
243
89
  width: _ctx.bodyWidth
244
- }),
245
- fixed: "right"
246
- }, null, 8, ["highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
247
- _ctx.$slots.append ? (openBlock(), createElementBlock("div", {
90
+ })
91
+ }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
92
+ _ctx.isEmpty ? (openBlock(), createElementBlock("div", {
248
93
  key: 0,
249
- style: normalizeStyle({ height: _ctx.layout.appendHeight.value + "px" }),
250
- class: "el-table__append-gutter"
251
- }, null, 4)) : createCommentVNode("v-if", true)
94
+ ref: "emptyBlock",
95
+ style: normalizeStyle(_ctx.emptyBlockStyle),
96
+ class: "el-table__empty-block"
97
+ }, [
98
+ createElementVNode("span", _hoisted_4, [
99
+ renderSlot(_ctx.$slots, "empty", {}, () => [
100
+ createTextVNode(toDisplayString(_ctx.computedEmptyText), 1)
101
+ ])
102
+ ])
103
+ ], 4)) : createCommentVNode("v-if", true),
104
+ _ctx.$slots.append ? (openBlock(), createElementBlock("div", _hoisted_5, [
105
+ renderSlot(_ctx.$slots, "append")
106
+ ], 512)) : createCommentVNode("v-if", true)
252
107
  ], 4),
253
- _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_9, [
254
- createVNode(_component_table_footer, {
255
- border: _ctx.border,
256
- store: _ctx.store,
257
- style: normalizeStyle({
258
- width: _ctx.bodyWidth
259
- }),
260
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
261
- "summary-method": _ctx.summaryMethod,
262
- fixed: "right"
263
- }, null, 8, ["border", "store", "style", "sum-text", "summary-method"])
264
- ], 512)), [
265
- [vShow, !_ctx.isEmpty]
266
- ]) : createCommentVNode("v-if", true)
267
- ], 4)), [
268
- [_directive_mousewheel, _ctx.handleFixedMousewheel]
108
+ _ctx.border || _ctx.isGroup ? (openBlock(), createElementBlock("div", _hoisted_6)) : createCommentVNode("v-if", true),
109
+ _ctx.layout.scrollX.value && _ctx.layout.height.value ? (openBlock(), createElementBlock("div", {
110
+ key: 2,
111
+ class: "el-table__border-bottom-patch",
112
+ style: normalizeStyle(_ctx.borderBottomPatchStyles)
113
+ }, null, 4)) : createCommentVNode("v-if", true)
114
+ ]),
115
+ _ctx.showSummary ? withDirectives((openBlock(), createElementBlock("div", _hoisted_7, [
116
+ createVNode(_component_table_footer, {
117
+ border: _ctx.border,
118
+ "default-sort": _ctx.defaultSort,
119
+ store: _ctx.store,
120
+ style: normalizeStyle(_ctx.tableBodyStyles),
121
+ "sum-text": _ctx.computedSumText,
122
+ "summary-method": _ctx.summaryMethod
123
+ }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
124
+ ])), [
125
+ [vShow, !_ctx.isEmpty],
126
+ [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
269
127
  ]) : createCommentVNode("v-if", true),
270
- _ctx.store.states.rightFixedColumns.value.length > 0 ? (openBlock(), createElementBlock("div", {
271
- key: 4,
272
- ref: "rightFixedPatch",
273
- style: normalizeStyle({
274
- width: _ctx.layout.scrollY.value ? _ctx.layout.gutterWidth + "px" : "0",
275
- height: _ctx.layout.headerHeight.value + "px"
276
- }),
277
- class: "el-table__fixed-right-patch"
278
- }, null, 4)) : createCommentVNode("v-if", true),
279
- withDirectives(createElementVNode("div", _hoisted_10, null, 512), [
128
+ withDirectives(createElementVNode("div", _hoisted_8, null, 512), [
280
129
  [vShow, _ctx.resizeProxyVisible]
281
130
  ])
282
131
  ], 38);
@@ -1 +1 @@
1
- {"version":3,"file":"table.vue_vue_type_template_id_4a1660ad_lang.mjs","sources":["../../../../../../packages/components/table/src/table.vue?vue&type=template&id=4a1660ad&lang.js"],"sourcesContent":["<template>\n <div\n :class=\"[\n {\n 'el-table--fit': fit,\n 'el-table--striped': stripe,\n 'el-table--border': border || isGroup,\n 'el-table--hidden': isHidden,\n 'el-table--group': isGroup,\n 'el-table--fluid-height': maxHeight,\n 'el-table--scrollable-x': layout.scrollX.value,\n 'el-table--scrollable-y': layout.scrollY.value,\n 'el-table--enable-row-hover': !store.states.isComplex.value,\n 'el-table--enable-row-transition':\n (store.states.data.value || []).length !== 0 &&\n (store.states.data.value || []).length < 100,\n },\n tableSize ? `el-table--${tableSize}` : '',\n className,\n 'el-table',\n ]\"\n :style=\"style\"\n @mouseleave=\"handleMouseLeave()\"\n >\n <div ref=\"hiddenColumns\" class=\"hidden-columns\">\n <slot></slot>\n </div>\n <div\n v-if=\"showHeader\"\n ref=\"headerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__header-wrapper\"\n >\n <table-header\n ref=\"tableHeader\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"{\n width: layout.bodyWidth.value ? layout.bodyWidth.value + 'px' : '',\n }\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div ref=\"bodyWrapper\" :style=\"[bodyHeight]\" class=\"el-table__body-wrapper\">\n <table-body\n :context=\"context\"\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n />\n <div\n v-if=\"isEmpty\"\n ref=\"emptyBlock\"\n :style=\"emptyBlockStyle\"\n class=\"el-table__empty-block\"\n >\n <span class=\"el-table__empty-text\">\n <slot name=\"empty\">{{ emptyText || t('el.table.emptyText') }}</slot>\n </span>\n </div>\n <div\n v-if=\"$slots.append\"\n ref=\"appendWrapper\"\n class=\"el-table__append-wrapper\"\n >\n <slot name=\"append\"></slot>\n </div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"footerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"{\n width: layout.bodyWidth.value ? layout.bodyWidth.value + 'px' : '',\n }\"\n :sum-text=\"sumText || t('el.table.sumText')\"\n :summary-method=\"summaryMethod\"\n />\n </div>\n <div\n v-if=\"store.states.fixedColumns.value.length > 0\"\n ref=\"fixedWrapper\"\n v-mousewheel=\"handleFixedMousewheel\"\n :style=\"[\n {\n width: layout.fixedWidth.value ? layout.fixedWidth.value + 'px' : '',\n },\n fixedHeight,\n ]\"\n class=\"el-table__fixed\"\n >\n <div\n v-if=\"showHeader\"\n ref=\"fixedHeaderWrapper\"\n class=\"el-table__fixed-header-wrapper\"\n >\n <table-header\n ref=\"fixedTableHeader\"\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"left\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div\n ref=\"fixedBodyWrapper\"\n :style=\"[\n {\n top: layout.headerHeight.value + 'px',\n },\n fixedBodyHeight,\n ]\"\n class=\"el-table__fixed-body-wrapper\"\n >\n <table-body\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"left\"\n />\n <div\n v-if=\"$slots.append\"\n :style=\"{ height: layout.appendHeight.value + 'px' }\"\n class=\"el-table__append-gutter\"\n ></div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"fixedFooterWrapper\"\n class=\"el-table__fixed-footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n :sum-text=\"sumText || t('el.table.sumText')\"\n :summary-method=\"summaryMethod\"\n fixed=\"left\"\n />\n </div>\n </div>\n <div\n v-if=\"store.states.rightFixedColumns.value.length > 0\"\n ref=\"rightFixedWrapper\"\n v-mousewheel=\"handleFixedMousewheel\"\n :style=\"[\n {\n width: layout.rightFixedWidth.value\n ? layout.rightFixedWidth.value + 'px'\n : '',\n right: layout.scrollY.value\n ? (border ? layout.gutterWidth : layout.gutterWidth || 0) + 'px'\n : '',\n },\n fixedHeight,\n ]\"\n class=\"el-table__fixed-right\"\n >\n <div\n v-if=\"showHeader\"\n ref=\"rightFixedHeaderWrapper\"\n class=\"el-table__fixed-header-wrapper\"\n >\n <table-header\n ref=\"rightFixedTableHeader\"\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"right\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div\n ref=\"rightFixedBodyWrapper\"\n :style=\"[{ top: layout.headerHeight.value + 'px' }, fixedBodyHeight]\"\n class=\"el-table__fixed-body-wrapper\"\n >\n <table-body\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n fixed=\"right\"\n />\n <div\n v-if=\"$slots.append\"\n :style=\"{ height: layout.appendHeight.value + 'px' }\"\n class=\"el-table__append-gutter\"\n ></div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"rightFixedFooterWrapper\"\n class=\"el-table__fixed-footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :store=\"store\"\n :style=\"{\n width: bodyWidth,\n }\"\n :sum-text=\"sumText || t('el.table.sumText')\"\n :summary-method=\"summaryMethod\"\n fixed=\"right\"\n />\n </div>\n </div>\n <div\n v-if=\"store.states.rightFixedColumns.value.length > 0\"\n ref=\"rightFixedPatch\"\n :style=\"{\n width: layout.scrollY.value ? layout.gutterWidth + 'px' : '0',\n height: layout.headerHeight.value + 'px',\n }\"\n class=\"el-table__fixed-right-patch\"\n ></div>\n <div\n v-show=\"resizeProxyVisible\"\n ref=\"resizeProxy\"\n class=\"el-table__column-resize-proxy\"\n ></div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, getCurrentInstance, computed } from 'vue'\nimport debounce from 'lodash/debounce'\nimport { Mousewheel } from '@element-plus/directives'\nimport { useLocale } from '@element-plus/hooks'\nimport { createStore } from './store/helper'\nimport TableLayout from './table-layout'\nimport TableHeader from './table-header'\nimport TableBody from './table-body'\nimport TableFooter from './table-footer'\nimport useUtils from './table/utils-helper'\nimport useStyle from './table/style-helper'\nimport defaultProps from './table/defaults'\n\nimport type { Table } from './table/defaults'\n\nlet tableIdSeed = 1\nexport default defineComponent({\n name: 'ElTable',\n directives: {\n Mousewheel,\n },\n components: {\n TableHeader,\n TableBody,\n TableFooter,\n },\n props: defaultProps,\n emits: [\n 'select',\n 'select-all',\n 'selection-change',\n 'cell-mouse-enter',\n 'cell-mouse-leave',\n 'cell-contextmenu',\n 'cell-click',\n 'cell-dblclick',\n 'row-click',\n 'row-contextmenu',\n 'row-dblclick',\n 'header-click',\n 'header-contextmenu',\n 'sort-change',\n 'filter-change',\n 'current-change',\n 'header-dragend',\n 'expand-change',\n ],\n setup(props) {\n type Row = typeof props.data[number]\n const { t } = useLocale()\n const table = getCurrentInstance() as Table<Row>\n const store = createStore<Row>(table, props)\n table.store = store\n const layout = new TableLayout<Row>({\n store: table.store,\n table,\n fit: props.fit,\n showHeader: props.showHeader,\n })\n table.layout = layout\n\n const isEmpty = computed(() => (store.states.data.value || []).length === 0)\n\n /**\n * open functions\n */\n const {\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort,\n } = useUtils<Row>(store)\n const {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n bodyHeight,\n emptyBlockStyle,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n } = useStyle<Row>(props, layout, store, table)\n\n const debouncedUpdateLayout = debounce(doLayout, 50)\n\n const tableId = `el-table_${tableIdSeed++}`\n table.tableId = tableId\n table.state = {\n isGroup,\n resizeState,\n doLayout,\n debouncedUpdateLayout,\n }\n return {\n layout,\n store,\n handleHeaderFooterMousewheel,\n handleMouseLeave,\n tableId,\n tableSize,\n isHidden,\n isEmpty,\n renderExpanded,\n resizeProxyVisible,\n resizeState,\n isGroup,\n bodyWidth,\n bodyHeight,\n emptyBlockStyle,\n debouncedUpdateLayout,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n doLayout,\n sort,\n t,\n setDragVisible,\n context: table,\n }\n },\n})\n</script>\n"],"names":["_normalizeStyle","_withDirectives"],"mappings":";;;;EAwBS,KAAI;EAAgB;;;;EAKvB,KAAI;EAEJ;;;;;EAsCE,KAAI;EACJ;;;;EAQF,KAAI;EAEJ;;;;EA2BE,KAAI;EACJ;;;;EA4CA,KAAI;EACJ;;;;EAiCA,KAAI;EACJ;;;;EAuCA,KAAI;EACJ;;;EAyBF,KAAI;EACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAvOD;;;;;oBAMiB;;UAKhB;;+BAEiB;;;;;;;;;;;;;;8BASa;;;;QAE3B,OAAOA;iBACE;;;iCAGU;QACnB,KAAK;QACL;QACA,KAAK;;;;;;;;kCAOE;iBACH;;YAEL;;gDACwB,uBAAc;;;;;;oDAGxC;;;;;KASM;;;;;YASH;;;;sBAIQ,kBAAa;;;;;;;;eAKb;;;UACX,KAAI;;;;;;;;;;;;;;;;;;yBAsBM;;;;;UAIV;eACK,EAACA;YACH,KAAK;;;;;;iBAMDA;;;;;;;qBAOK;gCACO;mBACT;;;;;+BAMa;;;;;;;;WAMf;;;;;;;;;oCAYa;;;;sCAXH;;;;;;;+CAiByB;;;;;;;;;;;;;;;UAc3C,KAAK,EAACA;;WAGE;;;;;kCAOS;;;;yBAIPC;;;;;;YAKR;2CACgB;;;;;6BAKC;6BACA;;;;cAId;;;;;;;;kDAOiB;;;;;;;;;"}
1
+ {"version":3,"file":"table.vue_vue_type_template_id_4a1660ad_lang.mjs","sources":["../../../../../../packages/components/table/src/table.vue?vue&type=template&id=4a1660ad&lang.js"],"sourcesContent":["<template>\n <div\n ref=\"tableWrapper\"\n :class=\"[\n {\n 'el-table--fit': fit,\n 'el-table--striped': stripe,\n 'el-table--border': border || isGroup,\n 'el-table--hidden': isHidden,\n 'el-table--group': isGroup,\n 'el-table--fluid-height': maxHeight,\n 'el-table--scrollable-x': layout.scrollX.value,\n 'el-table--scrollable-y': layout.scrollY.value,\n 'el-table--enable-row-hover': !store.states.isComplex.value,\n 'el-table--enable-row-transition':\n (store.states.data.value || []).length !== 0 &&\n (store.states.data.value || []).length < 100,\n },\n tableSize ? `el-table--${tableSize}` : '',\n className,\n 'el-table',\n ]\"\n :style=\"style\"\n @mouseleave=\"handleMouseLeave()\"\n >\n <div class=\"el-table__inner-wrapper\">\n <div ref=\"hiddenColumns\" class=\"hidden-columns\">\n <slot></slot>\n </div>\n <div\n v-if=\"showHeader\"\n ref=\"headerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__header-wrapper\"\n >\n <table-header\n ref=\"tableHeader\"\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"tableBodyStyles\"\n @set-drag-visible=\"setDragVisible\"\n />\n </div>\n <div ref=\"bodyWrapper\" :style=\"bodyHeight\" class=\"el-table__body-wrapper\">\n <table-body\n :context=\"context\"\n :highlight=\"highlightCurrentRow\"\n :row-class-name=\"rowClassName\"\n :tooltip-effect=\"tooltipEffect\"\n :row-style=\"rowStyle\"\n :store=\"store\"\n :stripe=\"stripe\"\n :style=\"{\n width: bodyWidth,\n }\"\n />\n <div\n v-if=\"isEmpty\"\n ref=\"emptyBlock\"\n :style=\"emptyBlockStyle\"\n class=\"el-table__empty-block\"\n >\n <span class=\"el-table__empty-text\">\n <slot name=\"empty\">{{ computedEmptyText }}</slot>\n </span>\n </div>\n <div\n v-if=\"$slots.append\"\n ref=\"appendWrapper\"\n class=\"el-table__append-wrapper\"\n >\n <slot name=\"append\"></slot>\n </div>\n </div>\n <div v-if=\"border || isGroup\" class=\"el-table__border-left-patch\"></div>\n <div\n v-if=\"layout.scrollX.value && layout.height.value\"\n class=\"el-table__border-bottom-patch\"\n :style=\"borderBottomPatchStyles\"\n ></div>\n </div>\n <div\n v-if=\"showSummary\"\n v-show=\"!isEmpty\"\n ref=\"footerWrapper\"\n v-mousewheel=\"handleHeaderFooterMousewheel\"\n class=\"el-table__footer-wrapper\"\n >\n <table-footer\n :border=\"border\"\n :default-sort=\"defaultSort\"\n :store=\"store\"\n :style=\"tableBodyStyles\"\n :sum-text=\"computedSumText\"\n :summary-method=\"summaryMethod\"\n />\n </div>\n <div\n v-show=\"resizeProxyVisible\"\n ref=\"resizeProxy\"\n class=\"el-table__column-resize-proxy\"\n ></div>\n </div>\n</template>\n\n<script lang=\"ts\">\nimport { defineComponent, getCurrentInstance, computed } from 'vue'\nimport debounce from 'lodash/debounce'\nimport { Mousewheel } from '@element-plus/directives'\nimport { useLocale } from '@element-plus/hooks'\nimport { createStore } from './store/helper'\nimport TableLayout from './table-layout'\nimport TableHeader from './table-header'\nimport TableBody from './table-body'\nimport TableFooter from './table-footer'\nimport useUtils from './table/utils-helper'\nimport useStyle from './table/style-helper'\nimport defaultProps from './table/defaults'\n\nimport type { Table } from './table/defaults'\n\nlet tableIdSeed = 1\nexport default defineComponent({\n name: 'ElTable',\n directives: {\n Mousewheel,\n },\n components: {\n TableHeader,\n TableBody,\n TableFooter,\n },\n props: defaultProps,\n emits: [\n 'select',\n 'select-all',\n 'selection-change',\n 'cell-mouse-enter',\n 'cell-mouse-leave',\n 'cell-contextmenu',\n 'cell-click',\n 'cell-dblclick',\n 'row-click',\n 'row-contextmenu',\n 'row-dblclick',\n 'header-click',\n 'header-contextmenu',\n 'sort-change',\n 'filter-change',\n 'current-change',\n 'header-dragend',\n 'expand-change',\n ],\n setup(props) {\n type Row = typeof props.data[number]\n const { t } = useLocale()\n const table = getCurrentInstance() as Table<Row>\n const store = createStore<Row>(table, props)\n table.store = store\n const layout = new TableLayout<Row>({\n store: table.store,\n table,\n fit: props.fit,\n showHeader: props.showHeader,\n })\n table.layout = layout\n\n const isEmpty = computed(() => (store.states.data.value || []).length === 0)\n\n /**\n * open functions\n */\n const {\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n sort,\n } = useUtils<Row>(store)\n const {\n isHidden,\n renderExpanded,\n setDragVisible,\n isGroup,\n handleMouseLeave,\n handleHeaderFooterMousewheel,\n tableSize,\n bodyHeight,\n emptyBlockStyle,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n resizeProxyVisible,\n bodyWidth,\n resizeState,\n doLayout,\n tableBodyStyles,\n borderBottomPatchStyles,\n } = useStyle<Row>(props, layout, store, table)\n\n const debouncedUpdateLayout = debounce(doLayout, 50)\n\n const tableId = `el-table_${tableIdSeed++}`\n table.tableId = tableId\n table.state = {\n isGroup,\n resizeState,\n doLayout,\n debouncedUpdateLayout,\n }\n const computedSumText = computed(\n () => props.sumText || t('el.table.sumText')\n )\n\n const computedEmptyText = computed(() => {\n return props.emptyText || t('el.table.emptyText')\n })\n\n return {\n layout,\n store,\n handleHeaderFooterMousewheel,\n handleMouseLeave,\n tableId,\n tableSize,\n isHidden,\n isEmpty,\n renderExpanded,\n resizeProxyVisible,\n resizeState,\n isGroup,\n bodyWidth,\n bodyHeight,\n tableBodyStyles,\n emptyBlockStyle,\n borderBottomPatchStyles,\n debouncedUpdateLayout,\n handleFixedMousewheel,\n fixedHeight,\n fixedBodyHeight,\n setCurrentRow,\n toggleRowSelection,\n clearSelection,\n clearFilter,\n toggleAllSelection,\n toggleRowExpansion,\n clearSort,\n doLayout,\n sort,\n t,\n setDragVisible,\n context: table,\n computedSumText,\n computedEmptyText,\n }\n },\n})\n</script>\n"],"names":["_normalizeStyle","_createCommentVNode"],"mappings":";;;;;EA0BW,KAAI;EAAgB;;;;EAKvB,KAAI;EAEJ;;;;;EAoCE,KAAI;EACJ;;;;EAK0B;;;;EAU9B,KAAI;EAEJ;;;EAaA,KAAI;EACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAvEkB;;;iBAMX;;8BAEY;8BACF;;;;;;;;;;8CAKwB;;;;UAEpC,OAAOA;mBACE;;;mCAGU;UACnB,KAAK;UACL;UACA,KAAK;;;;;;;;oCAOE;mBACH;;cAEL;;;;;;;SAKM,YAAOC;;;;;;;mDAOjB;;0BAEsB;;;;mCAEZ,4BAAuB;;;;KAI3B;;;;;;"}
@@ -1,4 +1,4 @@
1
- import type { PopperInstance, IPopperOptions } from 'element-plus/es/components/popper';
1
+ import type { IPopperOptions } from 'element-plus/es/components/popper';
2
2
  import type { TableColumnCtx } from './table-column/defaults';
3
3
  export declare const getCell: (event: Event) => HTMLElement;
4
4
  export declare const orderBy: <T>(array: T[], sortKey: string, reverse: string | number, sortMethod: any, sortBy: string | (string | ((a: T, b: T, array?: T[] | undefined) => number))[]) => T[];
@@ -24,4 +24,18 @@ export declare function compose(...funcs: any[]): any;
24
24
  export declare function toggleRowStatus<T>(statusArr: T[], row: T, newVal: boolean): boolean;
25
25
  export declare function walkTreeNode(root: any, cb: any, childrenKey?: string, lazyKey?: string): void;
26
26
  export declare let removePopper: any;
27
- export declare function createTablePopper(trigger: HTMLElement, popperContent: string, popperOptions: Partial<IPopperOptions>, tooltipEffect: string): PopperInstance;
27
+ export declare function createTablePopper(trigger: HTMLElement, popperContent: string, popperOptions: Partial<IPopperOptions>, tooltipEffect: string): any;
28
+ export declare const isFixedColumn: <T>(index: number, fixed: string | boolean, store: any, realColumns?: TableColumnCtx<T>[] | undefined) => {
29
+ direction: any;
30
+ start: number;
31
+ after: number;
32
+ } | {
33
+ direction?: undefined;
34
+ start?: undefined;
35
+ after?: undefined;
36
+ };
37
+ export declare const getFixedColumnsClass: <T>(index: number, fixed: string | boolean, store: any, realColumns?: TableColumnCtx<T>[] | undefined) => string[];
38
+ export declare const getFixedColumnOffset: <T>(index: number, fixed: string | boolean, store: any, realColumns?: TableColumnCtx<T>[] | undefined) => any;
39
+ export declare function getCellStyle<T>(column: TableColumnCtx<T>, cellIndex: number, hasGutter: boolean, gutterWidth: number, store: any): any;
40
+ export declare const ensureRightFixedStyle: (style: any, hasGutter: boolean) => void;
41
+ export declare const ensurePosition: (style: any, key: string) => void;
@@ -2,6 +2,7 @@ import { hasOwn } from '@vue/shared';
2
2
  import { createPopper } from '@popperjs/core';
3
3
  import { PopupManager } from '../../../utils/popup-manager.mjs';
4
4
  import { getValueByPath } from '../../../utils/util.mjs';
5
+ import scrollbarWidth from '../../../utils/scrollbar-width.mjs';
5
6
  import { off, on } from '../../../utils/dom.mjs';
6
7
 
7
8
  const getCell = function(event) {
@@ -287,6 +288,94 @@ function createTablePopper(trigger, popperContent, popperOptions, tooltipEffect)
287
288
  on(trigger, "mouseleave", removePopper);
288
289
  return popperInstance;
289
290
  }
291
+ const isFixedColumn = (index, fixed, store, realColumns) => {
292
+ let start = 0;
293
+ let after = index;
294
+ if (realColumns) {
295
+ for (let i = 0; i < index; i++) {
296
+ start += realColumns[i].colSpan;
297
+ }
298
+ after = start + realColumns[index].colSpan - 1;
299
+ } else {
300
+ start = index;
301
+ }
302
+ let fixedLayout;
303
+ const columns = store.states.columns;
304
+ switch (fixed) {
305
+ case "left":
306
+ if (after < store.states.fixedLeafColumnsLength.value) {
307
+ fixedLayout = "left";
308
+ }
309
+ break;
310
+ case "right":
311
+ if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
312
+ fixedLayout = "right";
313
+ }
314
+ break;
315
+ default:
316
+ if (after < store.states.fixedLeafColumnsLength.value) {
317
+ fixedLayout = "left";
318
+ } else if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
319
+ fixedLayout = "right";
320
+ }
321
+ }
322
+ return fixedLayout ? {
323
+ direction: fixedLayout,
324
+ start,
325
+ after
326
+ } : {};
327
+ };
328
+ const getFixedColumnsClass = (index, fixed, store, realColumns) => {
329
+ const classes = [];
330
+ const { direction, start } = isFixedColumn(index, fixed, store, realColumns);
331
+ if (direction) {
332
+ const isLeft = direction === "left";
333
+ classes.push(`el-table-fixed-column--${direction}`);
334
+ if (isLeft && start === store.states.fixedLeafColumnsLength.value - 1) {
335
+ classes.push("is-last-column");
336
+ } else if (!isLeft && start === store.states.columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
337
+ classes.push("is-first-column");
338
+ }
339
+ }
340
+ return classes;
341
+ };
342
+ function getOffset(offset, column) {
343
+ return offset + (Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth);
344
+ }
345
+ const getFixedColumnOffset = (index, fixed, store, realColumns) => {
346
+ const { direction, start = 0 } = isFixedColumn(index, fixed, store, realColumns);
347
+ if (!direction) {
348
+ return;
349
+ }
350
+ const styles = {};
351
+ const isLeft = direction === "left";
352
+ const columns = store.states.columns.value;
353
+ if (isLeft) {
354
+ styles.left = columns.slice(0, index).reduce(getOffset, 0);
355
+ } else {
356
+ styles.right = columns.slice(start + 1).reverse().reduce(getOffset, 0);
357
+ }
358
+ return styles;
359
+ };
360
+ function getCellStyle(column, cellIndex, hasGutter, gutterWidth, store) {
361
+ const fixedStyle = getFixedColumnOffset(cellIndex, column.fixed, store);
362
+ ensureRightFixedStyle(fixedStyle, hasGutter);
363
+ ensurePosition(fixedStyle, "left");
364
+ ensurePosition(fixedStyle, "right");
365
+ return fixedStyle;
366
+ }
367
+ const ensureRightFixedStyle = (style, hasGutter) => {
368
+ if (hasGutter && style && !Number.isNaN(style.right)) {
369
+ style.right += scrollbarWidth();
370
+ }
371
+ };
372
+ const ensurePosition = (style, key) => {
373
+ if (!style)
374
+ return;
375
+ if (!Number.isNaN(style[key])) {
376
+ style[key] = `${style[key]}px`;
377
+ }
378
+ };
290
379
 
291
- export { compose, createTablePopper, getCell, getColumnByCell, getColumnById, getColumnByKey, getKeysMap, getRowIdentity, mergeOptions, orderBy, parseHeight, parseMinWidth, parseWidth, removePopper, toggleRowStatus, walkTreeNode };
380
+ export { compose, createTablePopper, ensurePosition, ensureRightFixedStyle, getCell, getCellStyle, getColumnByCell, getColumnById, getColumnByKey, getFixedColumnOffset, getFixedColumnsClass, getKeysMap, getRowIdentity, isFixedColumn, mergeOptions, orderBy, parseHeight, parseMinWidth, parseWidth, removePopper, toggleRowStatus, walkTreeNode };
292
381
  //# sourceMappingURL=util.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.mjs","sources":["../../../../../../packages/components/table/src/util.ts"],"sourcesContent":["import { hasOwn } from '@vue/shared'\nimport { createPopper } from '@popperjs/core'\nimport { PopupManager } from '@element-plus/utils/popup-manager'\nimport { getValueByPath } from '@element-plus/utils/util'\nimport { off, on } from '@element-plus/utils/dom'\n\nimport type {\n PopperInstance,\n IPopperOptions,\n} from '@element-plus/components/popper'\nimport type { Indexable, Nullable } from '@element-plus/utils/types'\nimport type { TableColumnCtx } from './table-column/defaults'\n\nexport const getCell = function (event: Event): HTMLElement {\n let cell = event.target as HTMLElement\n\n while (cell && cell.tagName.toUpperCase() !== 'HTML') {\n if (cell.tagName.toUpperCase() === 'TD') {\n return cell\n }\n cell = cell.parentNode as HTMLElement\n }\n\n return null\n}\n\nconst isObject = function (obj: unknown): boolean {\n return obj !== null && typeof obj === 'object'\n}\n\nexport const orderBy = function <T>(\n array: T[],\n sortKey: string,\n reverse: string | number,\n sortMethod,\n sortBy: string | (string | ((a: T, b: T, array?: T[]) => number))[]\n) {\n if (\n !sortKey &&\n !sortMethod &&\n (!sortBy || (Array.isArray(sortBy) && !sortBy.length))\n ) {\n return array\n }\n if (typeof reverse === 'string') {\n reverse = reverse === 'descending' ? -1 : 1\n } else {\n reverse = reverse && reverse < 0 ? -1 : 1\n }\n const getKey = sortMethod\n ? null\n : function (value, index) {\n if (sortBy) {\n if (!Array.isArray(sortBy)) {\n sortBy = [sortBy]\n }\n return sortBy.map(function (by) {\n if (typeof by === 'string') {\n return getValueByPath(value, by)\n } else {\n return by(value, index, array)\n }\n })\n }\n if (sortKey !== '$key') {\n if (isObject(value) && '$value' in value) value = value.$value\n }\n return [isObject(value) ? getValueByPath(value, sortKey) : value]\n }\n const compare = function (a, b) {\n if (sortMethod) {\n return sortMethod(a.value, b.value)\n }\n for (let i = 0, len = a.key.length; i < len; i++) {\n if (a.key[i] < b.key[i]) {\n return -1\n }\n if (a.key[i] > b.key[i]) {\n return 1\n }\n }\n return 0\n }\n return array\n .map(function (value, index) {\n return {\n value,\n index,\n key: getKey ? getKey(value, index) : null,\n }\n })\n .sort(function (a, b) {\n let order = compare(a, b)\n if (!order) {\n // make stable https://en.wikipedia.org/wiki/Sorting_algorithm#Stability\n order = a.index - b.index\n }\n return order * +reverse\n })\n .map((item) => item.value)\n}\n\nexport const getColumnById = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnId: string\n): null | TableColumnCtx<T> {\n let column = null\n table.columns.forEach(function (item) {\n if (item.id === columnId) {\n column = item\n }\n })\n return column\n}\n\nexport const getColumnByKey = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnKey: string\n): TableColumnCtx<T> {\n let column = null\n for (let i = 0; i < table.columns.length; i++) {\n const item = table.columns[i]\n if (item.columnKey === columnKey) {\n column = item\n break\n }\n }\n return column\n}\n\nexport const getColumnByCell = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n cell: HTMLElement\n): null | TableColumnCtx<T> {\n const matches = (cell.className || '').match(/el-table_[^\\s]+/gm)\n if (matches) {\n return getColumnById(table, matches[0])\n }\n return null\n}\n\nexport const getRowIdentity = <T>(\n row: T,\n rowKey: string | ((row: T) => any)\n): string => {\n if (!row) throw new Error('Row is required when get row identity')\n if (typeof rowKey === 'string') {\n if (rowKey.indexOf('.') < 0) {\n return `${row[rowKey]}`\n }\n const key = rowKey.split('.')\n let current = row\n for (let i = 0; i < key.length; i++) {\n current = current[key[i]]\n }\n return `${current}`\n } else if (typeof rowKey === 'function') {\n return rowKey.call(null, row)\n }\n}\n\nexport const getKeysMap = function <T>(\n array: T[],\n rowKey: string\n): Record<string, { row: T; index: number }> {\n const arrayMap = {}\n ;(array || []).forEach((row, index) => {\n arrayMap[getRowIdentity(row, rowKey)] = { row, index }\n })\n return arrayMap\n}\n\nexport function mergeOptions<T, K>(defaults: T, config: K): T & K {\n const options = {} as T & K\n let key\n for (key in defaults) {\n options[key] = defaults[key]\n }\n for (key in config) {\n if (hasOwn(config as unknown as Indexable<any>, key)) {\n const value = config[key]\n if (typeof value !== 'undefined') {\n options[key] = value\n }\n }\n }\n return options\n}\n\nexport function parseWidth(width: number | string): number {\n if (width !== undefined) {\n width = parseInt(width as string, 10)\n if (isNaN(width)) {\n width = null\n }\n }\n return +width\n}\n\nexport function parseMinWidth(minWidth): number {\n if (typeof minWidth !== 'undefined') {\n minWidth = parseWidth(minWidth)\n if (isNaN(minWidth)) {\n minWidth = 80\n }\n }\n return minWidth\n}\n\nexport function parseHeight(height: number | string) {\n if (typeof height === 'number') {\n return height\n }\n if (typeof height === 'string') {\n if (/^\\d+(?:px)?$/.test(height)) {\n return parseInt(height, 10)\n } else {\n return height\n }\n }\n return null\n}\n\n// https://github.com/reduxjs/redux/blob/master/src/compose.js\nexport function compose(...funcs) {\n if (funcs.length === 0) {\n return (arg) => arg\n }\n if (funcs.length === 1) {\n return funcs[0]\n }\n return funcs.reduce(\n (a, b) =>\n (...args) =>\n a(b(...args))\n )\n}\n\nexport function toggleRowStatus<T>(\n statusArr: T[],\n row: T,\n newVal: boolean\n): boolean {\n let changed = false\n const index = statusArr.indexOf(row)\n const included = index !== -1\n\n const addRow = () => {\n statusArr.push(row)\n changed = true\n }\n const removeRow = () => {\n statusArr.splice(index, 1)\n changed = true\n }\n\n if (typeof newVal === 'boolean') {\n if (newVal && !included) {\n addRow()\n } else if (!newVal && included) {\n removeRow()\n }\n } else {\n if (included) {\n removeRow()\n } else {\n addRow()\n }\n }\n return changed\n}\n\nexport function walkTreeNode(\n root,\n cb,\n childrenKey = 'children',\n lazyKey = 'hasChildren'\n) {\n const isNil = (array) => !(Array.isArray(array) && array.length)\n\n function _walker(parent, children, level) {\n cb(parent, children, level)\n children.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, level + 1)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, level + 1)\n }\n })\n }\n\n root.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, 0)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, 0)\n }\n })\n}\n\nexport let removePopper\n\nexport function createTablePopper(\n trigger: HTMLElement,\n popperContent: string,\n popperOptions: Partial<IPopperOptions>,\n tooltipEffect: string\n) {\n function renderContent(): HTMLDivElement {\n const isLight = tooltipEffect === 'light'\n const content = document.createElement('div')\n content.className = `el-popper ${isLight ? 'is-light' : 'is-dark'}`\n content.innerHTML = popperContent\n content.style.zIndex = String(PopupManager.nextZIndex())\n document.body.appendChild(content)\n return content\n }\n function renderArrow(): HTMLDivElement {\n const arrow = document.createElement('div')\n arrow.className = 'el-popper__arrow'\n return arrow\n }\n function showPopper() {\n popperInstance && popperInstance.update()\n }\n removePopper = function removePopper() {\n try {\n popperInstance && popperInstance.destroy()\n content && document.body.removeChild(content)\n off(trigger, 'mouseenter', showPopper)\n off(trigger, 'mouseleave', removePopper)\n } catch {}\n }\n let popperInstance: Nullable<PopperInstance> = null\n const content = renderContent()\n const arrow = renderArrow()\n content.appendChild(arrow)\n\n popperInstance = createPopper(trigger, content, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 8],\n },\n },\n {\n name: 'arrow',\n options: {\n element: arrow,\n padding: 10,\n },\n },\n ],\n ...popperOptions,\n })\n on(trigger, 'mouseenter', showPopper)\n on(trigger, 'mouseleave', removePopper)\n return popperInstance\n}\n"],"names":[],"mappings":";;;;;;AAKY,MAAC,OAAO,GAAG,SAAS,KAAK,EAAE;AACvC,EAAE,IAAI,IAAI,GAAG,KAAK,CAAC,MAAM,CAAC;AAC1B,EAAE,OAAO,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,MAAM,EAAE;AACxD,IAAI,IAAI,IAAI,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,IAAI,EAAE;AAC7C,MAAM,OAAO,IAAI,CAAC;AAClB,KAAK;AACL,IAAI,IAAI,GAAG,IAAI,CAAC,UAAU,CAAC;AAC3B,GAAG;AACH,EAAE,OAAO,IAAI,CAAC;AACd,EAAE;AACF,MAAM,QAAQ,GAAG,SAAS,GAAG,EAAE;AAC/B,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,OAAO,GAAG,KAAK,QAAQ,CAAC;AACjD,CAAC,CAAC;AACU,MAAC,OAAO,GAAG,SAAS,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,EAAE;AAC7E,EAAE,IAAI,CAAC,OAAO,IAAI,CAAC,UAAU,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,EAAE;AACvF,IAAI,OAAO,KAAK,CAAC;AACjB,GAAG;AACH,EAAE,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE;AACnC,IAAI,OAAO,GAAG,OAAO,KAAK,YAAY,GAAG,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AO,EAAE,CAAC;AACjD,MAAM,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AACpD,MAAM,GAAG,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;AAC7C,MAAM,GAAG,CAAC,OAAO,EAAE,YAAY,EAAE,aAAa,CAAC,CAAC;AAChD,KAAK,CAAC,OAAO,CAAC,EAAE;AAChB,KAAK;AACL,GAAG,CAAC;AACJ,EAAE,IAAI,cAAc,GAAG,IAAI,CAAC;AAC5B,EAAE,MAAM,OAAO,GAAG,aAAa,EAAE,CAAC;AAClC,EAAE,MAAM,KAAK,GAAG,WAAW,EAAE,CAAC;AAC9B,EAAE,OAAO,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;AAC7B,EAAE,cAAc,GAAG,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE;AAClD,IAAI,SAAS,EAAE;AACf,MAAM;AACN,QAAQ,IAAI,EAAE,QAAQ;AACtB,QAAQ,OAAO,EAAE;AACjB,UAAU,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACxB,SAAS;AACT,OAAO;AACP,MAAM;AACN,QAAQ,IAAI,EAAE,OAAO;AACrB,QAAQ,OAAO,EAAE;AACjB,UAAU,OAAO,EAAE,KAAK;AACxB,UAAU,OAAO,EAAE,EAAE;AACrB,SAAS;AACT,OAAO;AACP,KAAK;AACL,IAAI,GAAG,aAAa;AACpB,GAAG,CAAC,CAAC;AACL,EAAE,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,UAAU,CAAC,CAAC;AACxC,EAAE,EAAE,CAAC,OAAO,EAAE,YAAY,EAAE,YAAY,CAAC,CAAC;AAC1C,EAAE,OAAO,cAAc,CAAC;AACxB;;;;"}
1
+ {"version":3,"file":"util.mjs","sources":["../../../../../../packages/components/table/src/util.ts"],"sourcesContent":["import { hasOwn } from '@vue/shared'\nimport { createPopper } from '@popperjs/core'\nimport { PopupManager } from '@element-plus/utils/popup-manager'\nimport { getValueByPath } from '@element-plus/utils/util'\nimport scrollbarWidth from '@element-plus/utils/scrollbar-width'\nimport { off, on } from '@element-plus/utils/dom'\n\nimport type {\n PopperInstance,\n IPopperOptions,\n} from '@element-plus/components/popper'\nimport type { Indexable, Nullable } from '@element-plus/utils/types'\nimport type { TableColumnCtx } from './table-column/defaults'\n\nexport const getCell = function (event: Event): HTMLElement {\n let cell = event.target as HTMLElement\n\n while (cell && cell.tagName.toUpperCase() !== 'HTML') {\n if (cell.tagName.toUpperCase() === 'TD') {\n return cell\n }\n cell = cell.parentNode as HTMLElement\n }\n\n return null\n}\n\nconst isObject = function (obj: unknown): boolean {\n return obj !== null && typeof obj === 'object'\n}\n\nexport const orderBy = function <T>(\n array: T[],\n sortKey: string,\n reverse: string | number,\n sortMethod,\n sortBy: string | (string | ((a: T, b: T, array?: T[]) => number))[]\n) {\n if (\n !sortKey &&\n !sortMethod &&\n (!sortBy || (Array.isArray(sortBy) && !sortBy.length))\n ) {\n return array\n }\n if (typeof reverse === 'string') {\n reverse = reverse === 'descending' ? -1 : 1\n } else {\n reverse = reverse && reverse < 0 ? -1 : 1\n }\n const getKey = sortMethod\n ? null\n : function (value, index) {\n if (sortBy) {\n if (!Array.isArray(sortBy)) {\n sortBy = [sortBy]\n }\n return sortBy.map(function (by) {\n if (typeof by === 'string') {\n return getValueByPath(value, by)\n } else {\n return by(value, index, array)\n }\n })\n }\n if (sortKey !== '$key') {\n if (isObject(value) && '$value' in value) value = value.$value\n }\n return [isObject(value) ? getValueByPath(value, sortKey) : value]\n }\n const compare = function (a, b) {\n if (sortMethod) {\n return sortMethod(a.value, b.value)\n }\n for (let i = 0, len = a.key.length; i < len; i++) {\n if (a.key[i] < b.key[i]) {\n return -1\n }\n if (a.key[i] > b.key[i]) {\n return 1\n }\n }\n return 0\n }\n return array\n .map(function (value, index) {\n return {\n value,\n index,\n key: getKey ? getKey(value, index) : null,\n }\n })\n .sort(function (a, b) {\n let order = compare(a, b)\n if (!order) {\n // make stable https://en.wikipedia.org/wiki/Sorting_algorithm#Stability\n order = a.index - b.index\n }\n return order * +reverse\n })\n .map((item) => item.value)\n}\n\nexport const getColumnById = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnId: string\n): null | TableColumnCtx<T> {\n let column = null\n table.columns.forEach(function (item) {\n if (item.id === columnId) {\n column = item\n }\n })\n return column\n}\n\nexport const getColumnByKey = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n columnKey: string\n): TableColumnCtx<T> {\n let column = null\n for (let i = 0; i < table.columns.length; i++) {\n const item = table.columns[i]\n if (item.columnKey === columnKey) {\n column = item\n break\n }\n }\n return column\n}\n\nexport const getColumnByCell = function <T>(\n table: {\n columns: TableColumnCtx<T>[]\n },\n cell: HTMLElement\n): null | TableColumnCtx<T> {\n const matches = (cell.className || '').match(/el-table_[^\\s]+/gm)\n if (matches) {\n return getColumnById(table, matches[0])\n }\n return null\n}\n\nexport const getRowIdentity = <T>(\n row: T,\n rowKey: string | ((row: T) => any)\n): string => {\n if (!row) throw new Error('Row is required when get row identity')\n if (typeof rowKey === 'string') {\n if (rowKey.indexOf('.') < 0) {\n return `${row[rowKey]}`\n }\n const key = rowKey.split('.')\n let current = row\n for (let i = 0; i < key.length; i++) {\n current = current[key[i]]\n }\n return `${current}`\n } else if (typeof rowKey === 'function') {\n return rowKey.call(null, row)\n }\n}\n\nexport const getKeysMap = function <T>(\n array: T[],\n rowKey: string\n): Record<string, { row: T; index: number }> {\n const arrayMap = {}\n ;(array || []).forEach((row, index) => {\n arrayMap[getRowIdentity(row, rowKey)] = { row, index }\n })\n return arrayMap\n}\n\nexport function mergeOptions<T, K>(defaults: T, config: K): T & K {\n const options = {} as T & K\n let key\n for (key in defaults) {\n options[key] = defaults[key]\n }\n for (key in config) {\n if (hasOwn(config as unknown as Indexable<any>, key)) {\n const value = config[key]\n if (typeof value !== 'undefined') {\n options[key] = value\n }\n }\n }\n return options\n}\n\nexport function parseWidth(width: number | string): number {\n if (width !== undefined) {\n width = parseInt(width as string, 10)\n if (isNaN(width)) {\n width = null\n }\n }\n return +width\n}\n\nexport function parseMinWidth(minWidth): number {\n if (typeof minWidth !== 'undefined') {\n minWidth = parseWidth(minWidth)\n if (isNaN(minWidth)) {\n minWidth = 80\n }\n }\n return minWidth\n}\n\nexport function parseHeight(height: number | string) {\n if (typeof height === 'number') {\n return height\n }\n if (typeof height === 'string') {\n if (/^\\d+(?:px)?$/.test(height)) {\n return parseInt(height, 10)\n } else {\n return height\n }\n }\n return null\n}\n\n// https://github.com/reduxjs/redux/blob/master/src/compose.js\nexport function compose(...funcs) {\n if (funcs.length === 0) {\n return (arg) => arg\n }\n if (funcs.length === 1) {\n return funcs[0]\n }\n return funcs.reduce(\n (a, b) =>\n (...args) =>\n a(b(...args))\n )\n}\n\nexport function toggleRowStatus<T>(\n statusArr: T[],\n row: T,\n newVal: boolean\n): boolean {\n let changed = false\n const index = statusArr.indexOf(row)\n const included = index !== -1\n\n const addRow = () => {\n statusArr.push(row)\n changed = true\n }\n const removeRow = () => {\n statusArr.splice(index, 1)\n changed = true\n }\n\n if (typeof newVal === 'boolean') {\n if (newVal && !included) {\n addRow()\n } else if (!newVal && included) {\n removeRow()\n }\n } else {\n if (included) {\n removeRow()\n } else {\n addRow()\n }\n }\n return changed\n}\n\nexport function walkTreeNode(\n root,\n cb,\n childrenKey = 'children',\n lazyKey = 'hasChildren'\n) {\n const isNil = (array) => !(Array.isArray(array) && array.length)\n\n function _walker(parent, children, level) {\n cb(parent, children, level)\n children.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, level + 1)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, level + 1)\n }\n })\n }\n\n root.forEach((item) => {\n if (item[lazyKey]) {\n cb(item, null, 0)\n return\n }\n const children = item[childrenKey]\n if (!isNil(children)) {\n _walker(item, children, 0)\n }\n })\n}\n\nexport let removePopper\n\nexport function createTablePopper(\n trigger: HTMLElement,\n popperContent: string,\n popperOptions: Partial<IPopperOptions>,\n tooltipEffect: string\n) {\n function renderContent(): HTMLDivElement {\n const isLight = tooltipEffect === 'light'\n const content = document.createElement('div')\n content.className = `el-popper ${isLight ? 'is-light' : 'is-dark'}`\n content.innerHTML = popperContent\n content.style.zIndex = String(PopupManager.nextZIndex())\n document.body.appendChild(content)\n return content\n }\n function renderArrow(): HTMLDivElement {\n const arrow = document.createElement('div')\n arrow.className = 'el-popper__arrow'\n return arrow\n }\n function showPopper() {\n popperInstance && popperInstance.update()\n }\n removePopper = function removePopper() {\n try {\n popperInstance && popperInstance.destroy()\n content && document.body.removeChild(content)\n off(trigger, 'mouseenter', showPopper)\n off(trigger, 'mouseleave', removePopper)\n } catch {}\n }\n let popperInstance: Nullable<PopperInstance> = null\n const content = renderContent()\n const arrow = renderArrow()\n content.appendChild(arrow)\n\n popperInstance = createPopper(trigger, content, {\n modifiers: [\n {\n name: 'offset',\n options: {\n offset: [0, 8],\n },\n },\n {\n name: 'arrow',\n options: {\n element: arrow,\n padding: 10,\n },\n },\n ],\n ...popperOptions,\n })\n on(trigger, 'mouseenter', showPopper)\n on(trigger, 'mouseleave', removePopper)\n return popperInstance\n}\n\nexport const isFixedColumn = <T>(\n index: number,\n fixed: string | boolean,\n store: any,\n realColumns?: TableColumnCtx<T>[]\n) => {\n let start = 0\n let after = index\n if (realColumns) {\n // handle group\n for (let i = 0; i < index; i++) {\n start += realColumns[i].colSpan\n }\n after = start + realColumns[index].colSpan - 1\n } else {\n start = index\n }\n let fixedLayout\n const columns = store.states.columns\n switch (fixed) {\n case 'left':\n if (after < store.states.fixedLeafColumnsLength.value) {\n fixedLayout = 'left'\n }\n break\n case 'right':\n if (\n start >=\n columns.value.length - store.states.rightFixedLeafColumnsLength.value\n ) {\n fixedLayout = 'right'\n }\n break\n default:\n if (after < store.states.fixedLeafColumnsLength.value) {\n fixedLayout = 'left'\n } else if (\n start >=\n columns.value.length - store.states.rightFixedLeafColumnsLength.value\n ) {\n fixedLayout = 'right'\n }\n }\n return fixedLayout\n ? {\n direction: fixedLayout,\n start,\n after,\n }\n : {}\n}\n\nexport const getFixedColumnsClass = <T>(\n index: number,\n fixed: string | boolean,\n store: any,\n realColumns?: TableColumnCtx<T>[]\n) => {\n const classes: string[] = []\n const { direction, start } = isFixedColumn(index, fixed, store, realColumns)\n if (direction) {\n const isLeft = direction === 'left'\n classes.push(`el-table-fixed-column--${direction}`)\n if (isLeft && start === store.states.fixedLeafColumnsLength.value - 1) {\n classes.push('is-last-column')\n } else if (\n !isLeft &&\n start ===\n store.states.columns.value.length -\n store.states.rightFixedLeafColumnsLength.value\n ) {\n classes.push('is-first-column')\n }\n }\n return classes\n}\n\nfunction getOffset<T>(offset: number, column: TableColumnCtx<T>) {\n return (\n offset +\n (Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth)\n )\n}\n\nexport const getFixedColumnOffset = <T>(\n index: number,\n fixed: string | boolean,\n store: any,\n realColumns?: TableColumnCtx<T>[]\n) => {\n const { direction, start = 0 } = isFixedColumn(\n index,\n fixed,\n store,\n realColumns\n )\n if (!direction) {\n return\n }\n const styles: any = {}\n const isLeft = direction === 'left'\n const columns = store.states.columns.value\n if (isLeft) {\n styles.left = columns.slice(0, index).reduce(getOffset, 0)\n } else {\n styles.right = columns\n .slice(start + 1)\n .reverse()\n .reduce(getOffset, 0)\n }\n return styles\n}\n\nexport function getCellStyle<T>(\n column: TableColumnCtx<T>,\n cellIndex: number,\n hasGutter: boolean,\n gutterWidth: number,\n store: any\n) {\n const fixedStyle = getFixedColumnOffset(cellIndex, column.fixed, store)\n ensureRightFixedStyle(fixedStyle, hasGutter)\n ensurePosition(fixedStyle, 'left')\n ensurePosition(fixedStyle, 'right')\n return fixedStyle\n}\n\nexport const ensureRightFixedStyle = (style, hasGutter: boolean) => {\n if (hasGutter && style && !Number.isNaN(style.right)) {\n style.right += scrollbarWidth()\n }\n}\n\nexport const ensurePosition = (style, key: string) => {\n if (!style) return\n if (!Number.isNaN(style[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