@element-plus/nightly 0.0.20220104 → 0.0.20220108

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 (367) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +655 -617
  4. package/dist/index.full.min.js +8 -8
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +8 -8
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +653 -614
  9. package/es/components/cascader/index.d.ts +4 -0
  10. package/es/components/cascader/src/index.vue.d.ts +2 -0
  11. package/es/components/cascader-panel/src/index.vue_vue_type_script_lang.mjs +5 -4
  12. package/es/components/cascader-panel/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  13. package/es/components/cascader-panel/src/index.vue_vue_type_template_id_97c48f5c_lang.mjs.map +1 -1
  14. package/es/components/cascader-panel/src/menu.vue.d.ts +1 -0
  15. package/es/components/cascader-panel/src/menu.vue_vue_type_script_lang.mjs +6 -0
  16. package/es/components/cascader-panel/src/menu.vue_vue_type_script_lang.mjs.map +1 -1
  17. package/es/components/cascader-panel/src/menu.vue_vue_type_template_id_9c79e4e2_lang.mjs +19 -2
  18. package/es/components/cascader-panel/src/menu.vue_vue_type_template_id_9c79e4e2_lang.mjs.map +1 -1
  19. package/es/components/cascader-panel/src/types.d.ts +1 -0
  20. package/es/components/cascader-panel/src/types.mjs.map +1 -1
  21. package/es/components/checkbox/index.d.ts +6 -6
  22. package/es/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  23. package/es/components/checkbox/src/checkbox.vue.d.ts +2 -2
  24. package/es/components/config-provider/index.d.ts +6 -2
  25. package/es/components/config-provider/index.mjs +1 -1
  26. package/es/components/config-provider/src/config-provider.d.ts +13 -5
  27. package/es/components/config-provider/src/config-provider.mjs +12 -5
  28. package/es/components/config-provider/src/config-provider.mjs.map +1 -1
  29. package/es/components/date-picker/index.d.ts +4 -4
  30. package/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs +1 -1
  31. package/es/components/date-picker/src/date-picker-com/basic-cell-render.mjs.map +1 -1
  32. package/es/components/date-picker/src/date-picker.d.ts +2 -2
  33. package/es/components/form/index.d.ts +1 -0
  34. package/es/components/form/src/form.vue.d.ts +1 -0
  35. package/es/components/form/src/form.vue_vue_type_script_lang.mjs +14 -0
  36. package/es/components/form/src/form.vue_vue_type_script_lang.mjs.map +1 -1
  37. package/es/components/form/src/form.vue_vue_type_template_id_602d6cf6_lang.mjs +1 -4
  38. package/es/components/form/src/form.vue_vue_type_template_id_602d6cf6_lang.mjs.map +1 -1
  39. package/es/components/index.mjs +2 -2
  40. package/es/components/input/index.d.ts +1 -0
  41. package/es/components/input/src/input.vue.d.ts +1 -0
  42. package/es/components/input/src/input.vue_vue_type_script_lang.mjs +1 -0
  43. package/es/components/input/src/input.vue_vue_type_script_lang.mjs.map +1 -1
  44. package/es/components/input/src/input.vue_vue_type_template_id_3290dcb6_lang.mjs +1 -1
  45. package/es/components/input/src/input.vue_vue_type_template_id_3290dcb6_lang.mjs.map +1 -1
  46. package/es/components/input-number/index.d.ts +5 -1
  47. package/es/components/input-number/src/input-number.vue.d.ts +5 -1
  48. package/es/components/input-number/src/input-number.vue_vue_type_script_lang.mjs +15 -1
  49. package/es/components/input-number/src/input-number.vue_vue_type_script_lang.mjs.map +1 -1
  50. package/es/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.mjs +5 -4
  51. package/es/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.mjs.map +1 -1
  52. package/es/components/message/src/message-method.mjs +5 -1
  53. package/es/components/message/src/message-method.mjs.map +1 -1
  54. package/es/components/message/src/message.d.ts +3 -0
  55. package/es/components/message/src/message.mjs.map +1 -1
  56. package/es/components/message/src/message.vue.d.ts +2 -2
  57. package/es/components/message-box/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  58. package/es/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.mjs +1 -0
  59. package/es/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.mjs.map +1 -1
  60. package/es/components/notification/src/notification.vue.d.ts +4 -4
  61. package/es/components/popper/src/content.vue_vue_type_script_lang.mjs.map +1 -1
  62. package/es/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.mjs +1 -0
  63. package/es/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.mjs.map +1 -1
  64. package/es/components/radio/index.d.ts +6 -6
  65. package/es/components/radio/index.mjs +2 -2
  66. package/es/components/radio/src/radio-button.mjs +11 -5
  67. package/es/components/radio/src/radio-button.mjs.map +1 -1
  68. package/es/components/radio/src/radio-button.vue.d.ts +2 -2
  69. package/es/components/radio/src/radio-button.vue_vue_type_script_lang.mjs +1 -1
  70. package/es/components/radio/src/radio-button2.mjs +5 -11
  71. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  72. package/es/components/radio/src/radio.vue.d.ts +2 -2
  73. package/es/components/rate/index.d.ts +7 -1
  74. package/es/components/rate/src/rate.d.ts +2 -0
  75. package/es/components/rate/src/rate.mjs +5 -0
  76. package/es/components/rate/src/rate.mjs.map +1 -1
  77. package/es/components/rate/src/rate.vue.d.ts +7 -1
  78. package/es/components/rate/src/rate.vue_vue_type_script_lang.mjs +6 -0
  79. package/es/components/rate/src/rate.vue_vue_type_script_lang.mjs.map +1 -1
  80. package/es/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.mjs +3 -3
  81. package/es/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.mjs.map +1 -1
  82. package/es/components/select/index.d.ts +1 -1
  83. package/es/components/select/src/select.vue.d.ts +1 -1
  84. package/es/components/select-v2/index.d.ts +2 -2
  85. package/es/components/select-v2/src/select.vue.d.ts +1 -1
  86. package/es/components/slider/index.d.ts +22 -6
  87. package/es/components/slider/src/index.vue.d.ts +11 -3
  88. package/es/components/slider/src/index.vue_vue_type_script_lang.mjs +21 -2
  89. package/es/components/slider/src/index.vue_vue_type_script_lang.mjs.map +1 -1
  90. package/es/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.mjs +19 -19
  91. package/es/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.mjs.map +1 -1
  92. package/es/components/switch/index.d.ts +7 -2
  93. package/es/components/switch/src/switch.d.ts +2 -0
  94. package/es/components/switch/src/switch.mjs +5 -0
  95. package/es/components/switch/src/switch.mjs.map +1 -1
  96. package/es/components/switch/src/switch.vue.d.ts +7 -2
  97. package/es/components/switch/src/switch.vue_vue_type_script_lang.mjs +10 -1
  98. package/es/components/switch/src/switch.vue_vue_type_script_lang.mjs.map +1 -1
  99. package/es/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.mjs +1 -1
  100. package/es/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.mjs.map +1 -1
  101. package/es/components/table/index.d.ts +9 -0
  102. package/es/components/table/src/table/style-helper.d.ts +7 -0
  103. package/es/components/table/src/table/style-helper.mjs +20 -17
  104. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  105. package/es/components/table/src/table-body/index.mjs +5 -3
  106. package/es/components/table/src/table-body/index.mjs.map +1 -1
  107. package/es/components/table/src/table-body/styles-helper.d.ts +0 -1
  108. package/es/components/table/src/table-body/styles-helper.mjs +10 -17
  109. package/es/components/table/src/table-body/styles-helper.mjs.map +1 -1
  110. package/es/components/table/src/table-column/defaults.d.ts +1 -0
  111. package/es/components/table/src/table-column/defaults.mjs.map +1 -1
  112. package/es/components/table/src/table-column/index.mjs +1 -0
  113. package/es/components/table/src/table-column/index.mjs.map +1 -1
  114. package/es/components/table/src/table-footer/index.d.ts +4 -2
  115. package/es/components/table/src/table-footer/index.mjs +33 -18
  116. package/es/components/table/src/table-footer/index.mjs.map +1 -1
  117. package/es/components/table/src/table-footer/style-helper.d.ts +4 -2
  118. package/es/components/table/src/table-footer/style-helper.mjs +28 -31
  119. package/es/components/table/src/table-footer/style-helper.mjs.map +1 -1
  120. package/es/components/table/src/table-header/index.d.ts +3 -2
  121. package/es/components/table/src/table-header/index.mjs +89 -51
  122. package/es/components/table/src/table-header/index.mjs.map +1 -1
  123. package/es/components/table/src/table-header/style.helper.d.ts +1 -1
  124. package/es/components/table/src/table-header/style.helper.mjs +14 -24
  125. package/es/components/table/src/table-header/style.helper.mjs.map +1 -1
  126. package/es/components/table/src/table-header/utils-helper.mjs +1 -0
  127. package/es/components/table/src/table-header/utils-helper.mjs.map +1 -1
  128. package/es/components/table/src/table-layout.d.ts +1 -0
  129. package/es/components/table/src/table-layout.mjs +8 -3
  130. package/es/components/table/src/table-layout.mjs.map +1 -1
  131. package/es/components/table/src/table.vue.d.ts +9 -0
  132. package/es/components/table/src/table.vue_vue_type_script_lang.mjs +12 -2
  133. package/es/components/table/src/table.vue_vue_type_script_lang.mjs.map +1 -1
  134. package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs +62 -213
  135. package/es/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.mjs.map +1 -1
  136. package/es/components/table/src/util.d.ts +16 -2
  137. package/es/components/table/src/util.mjs +99 -6
  138. package/es/components/table/src/util.mjs.map +1 -1
  139. package/es/components/tabs/index.d.ts +4 -4
  140. package/es/components/tabs/src/tab-pane.vue.d.ts +2 -2
  141. package/es/components/time-picker/index.d.ts +4 -4
  142. package/es/components/time-picker/src/common/picker.vue.d.ts +2 -2
  143. package/es/components/time-picker/src/time-picker.d.ts +2 -2
  144. package/es/components/transfer/src/transfer-panel.vue.d.ts +1 -2
  145. package/es/components/transfer/src/transfer-panel.vue_vue_type_script_lang.mjs +2 -13
  146. package/es/components/transfer/src/transfer-panel.vue_vue_type_script_lang.mjs.map +1 -1
  147. package/es/components/transfer/src/transfer-panel.vue_vue_type_template_id_1a7d1f9c_lang.mjs +5 -18
  148. package/es/components/transfer/src/transfer-panel.vue_vue_type_template_id_1a7d1f9c_lang.mjs.map +1 -1
  149. package/es/defaults.d.ts +3 -1
  150. package/es/hooks/index.mjs +1 -1
  151. package/es/hooks/use-global-config/index.d.ts +3 -1
  152. package/es/hooks/use-global-config/index.mjs +3 -2
  153. package/es/hooks/use-global-config/index.mjs.map +1 -1
  154. package/es/hooks/use-id/index.mjs +2 -2
  155. package/es/hooks/use-id/index.mjs.map +1 -1
  156. package/es/hooks/use-locale/index.d.ts +2 -253
  157. package/es/hooks/use-locale/index.mjs +9 -29
  158. package/es/hooks/use-locale/index.mjs.map +1 -1
  159. package/es/hooks/use-popper-container/index.mjs +2 -2
  160. package/es/hooks/use-popper-container/index.mjs.map +1 -1
  161. package/es/index.d.ts +4 -1
  162. package/es/index.mjs +4 -3
  163. package/es/index.mjs.map +1 -1
  164. package/es/version.d.ts +1 -1
  165. package/es/version.mjs +1 -1
  166. package/es/version.mjs.map +1 -1
  167. package/lib/components/cascader/index.d.ts +4 -0
  168. package/lib/components/cascader/src/index.vue.d.ts +2 -0
  169. package/lib/components/cascader-panel/src/index.vue_vue_type_script_lang.js +5 -4
  170. package/lib/components/cascader-panel/src/index.vue_vue_type_script_lang.js.map +1 -1
  171. package/lib/components/cascader-panel/src/index.vue_vue_type_template_id_97c48f5c_lang.js.map +1 -1
  172. package/lib/components/cascader-panel/src/menu.vue.d.ts +1 -0
  173. package/lib/components/cascader-panel/src/menu.vue_vue_type_script_lang.js +10 -4
  174. package/lib/components/cascader-panel/src/menu.vue_vue_type_script_lang.js.map +1 -1
  175. package/lib/components/cascader-panel/src/menu.vue_vue_type_template_id_9c79e4e2_lang.js +18 -1
  176. package/lib/components/cascader-panel/src/menu.vue_vue_type_template_id_9c79e4e2_lang.js.map +1 -1
  177. package/lib/components/cascader-panel/src/types.d.ts +1 -0
  178. package/lib/components/cascader-panel/src/types.js.map +1 -1
  179. package/lib/components/checkbox/index.d.ts +6 -6
  180. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +2 -2
  181. package/lib/components/checkbox/src/checkbox.vue.d.ts +2 -2
  182. package/lib/components/config-provider/index.d.ts +6 -2
  183. package/lib/components/config-provider/index.js +1 -0
  184. package/lib/components/config-provider/index.js.map +1 -1
  185. package/lib/components/config-provider/src/config-provider.d.ts +13 -5
  186. package/lib/components/config-provider/src/config-provider.js +13 -5
  187. package/lib/components/config-provider/src/config-provider.js.map +1 -1
  188. package/lib/components/date-picker/index.d.ts +4 -4
  189. package/lib/components/date-picker/src/date-picker-com/basic-cell-render.js +1 -1
  190. package/lib/components/date-picker/src/date-picker-com/basic-cell-render.js.map +1 -1
  191. package/lib/components/date-picker/src/date-picker.d.ts +2 -2
  192. package/lib/components/form/index.d.ts +1 -0
  193. package/lib/components/form/src/form.vue.d.ts +1 -0
  194. package/lib/components/form/src/form.vue_vue_type_script_lang.js +14 -0
  195. package/lib/components/form/src/form.vue_vue_type_script_lang.js.map +1 -1
  196. package/lib/components/form/src/form.vue_vue_type_template_id_602d6cf6_lang.js +1 -4
  197. package/lib/components/form/src/form.vue_vue_type_template_id_602d6cf6_lang.js.map +1 -1
  198. package/lib/components/index.js +2 -1
  199. package/lib/components/index.js.map +1 -1
  200. package/lib/components/input/index.d.ts +1 -0
  201. package/lib/components/input/src/input.vue.d.ts +1 -0
  202. package/lib/components/input/src/input.vue_vue_type_script_lang.js +1 -0
  203. package/lib/components/input/src/input.vue_vue_type_script_lang.js.map +1 -1
  204. package/lib/components/input/src/input.vue_vue_type_template_id_3290dcb6_lang.js +1 -1
  205. package/lib/components/input/src/input.vue_vue_type_template_id_3290dcb6_lang.js.map +1 -1
  206. package/lib/components/input-number/index.d.ts +5 -1
  207. package/lib/components/input-number/src/input-number.vue.d.ts +5 -1
  208. package/lib/components/input-number/src/input-number.vue_vue_type_script_lang.js +18 -4
  209. package/lib/components/input-number/src/input-number.vue_vue_type_script_lang.js.map +1 -1
  210. package/lib/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.js +5 -4
  211. package/lib/components/input-number/src/input-number.vue_vue_type_template_id_dec60af6_lang.js.map +1 -1
  212. package/lib/components/message/src/message-method.js +5 -1
  213. package/lib/components/message/src/message-method.js.map +1 -1
  214. package/lib/components/message/src/message.d.ts +3 -0
  215. package/lib/components/message/src/message.js.map +1 -1
  216. package/lib/components/message/src/message.vue.d.ts +2 -2
  217. package/lib/components/message-box/src/index.vue_vue_type_script_lang.js.map +1 -1
  218. package/lib/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.js +1 -0
  219. package/lib/components/message-box/src/index.vue_vue_type_template_id_7035e868_lang.js.map +1 -1
  220. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  221. package/lib/components/popper/src/content.vue_vue_type_script_lang.js.map +1 -1
  222. package/lib/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.js +1 -0
  223. package/lib/components/popper/src/content.vue_vue_type_template_id_611b76f0_lang.js.map +1 -1
  224. package/lib/components/radio/index.d.ts +6 -6
  225. package/lib/components/radio/index.js +2 -2
  226. package/lib/components/radio/src/radio-button.js +10 -5
  227. package/lib/components/radio/src/radio-button.js.map +1 -1
  228. package/lib/components/radio/src/radio-button.vue.d.ts +2 -2
  229. package/lib/components/radio/src/radio-button.vue_vue_type_script_lang.js +1 -1
  230. package/lib/components/radio/src/radio-button2.js +5 -10
  231. package/lib/components/radio/src/radio-button2.js.map +1 -1
  232. package/lib/components/radio/src/radio.vue.d.ts +2 -2
  233. package/lib/components/rate/index.d.ts +7 -1
  234. package/lib/components/rate/src/rate.d.ts +2 -0
  235. package/lib/components/rate/src/rate.js +5 -0
  236. package/lib/components/rate/src/rate.js.map +1 -1
  237. package/lib/components/rate/src/rate.vue.d.ts +7 -1
  238. package/lib/components/rate/src/rate.vue_vue_type_script_lang.js +6 -0
  239. package/lib/components/rate/src/rate.vue_vue_type_script_lang.js.map +1 -1
  240. package/lib/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.js +2 -2
  241. package/lib/components/rate/src/rate.vue_vue_type_template_id_38c42df6_lang.js.map +1 -1
  242. package/lib/components/select/index.d.ts +1 -1
  243. package/lib/components/select/src/select.vue.d.ts +1 -1
  244. package/lib/components/select-v2/index.d.ts +2 -2
  245. package/lib/components/select-v2/src/select.vue.d.ts +1 -1
  246. package/lib/components/slider/index.d.ts +22 -6
  247. package/lib/components/slider/src/index.vue.d.ts +11 -3
  248. package/lib/components/slider/src/index.vue_vue_type_script_lang.js +21 -2
  249. package/lib/components/slider/src/index.vue_vue_type_script_lang.js.map +1 -1
  250. package/lib/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.js +18 -18
  251. package/lib/components/slider/src/index.vue_vue_type_template_id_24c42d04_lang.js.map +1 -1
  252. package/lib/components/switch/index.d.ts +7 -2
  253. package/lib/components/switch/src/switch.d.ts +2 -0
  254. package/lib/components/switch/src/switch.js +5 -0
  255. package/lib/components/switch/src/switch.js.map +1 -1
  256. package/lib/components/switch/src/switch.vue.d.ts +7 -2
  257. package/lib/components/switch/src/switch.vue_vue_type_script_lang.js +9 -0
  258. package/lib/components/switch/src/switch.vue_vue_type_script_lang.js.map +1 -1
  259. package/lib/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.js +1 -1
  260. package/lib/components/switch/src/switch.vue_vue_type_template_id_538fbc85_lang.js.map +1 -1
  261. package/lib/components/table/index.d.ts +9 -0
  262. package/lib/components/table/src/table/style-helper.d.ts +7 -0
  263. package/lib/components/table/src/table/style-helper.js +20 -21
  264. package/lib/components/table/src/table/style-helper.js.map +1 -1
  265. package/lib/components/table/src/table-body/index.js +5 -3
  266. package/lib/components/table/src/table-body/index.js.map +1 -1
  267. package/lib/components/table/src/table-body/styles-helper.d.ts +0 -1
  268. package/lib/components/table/src/table-body/styles-helper.js +10 -17
  269. package/lib/components/table/src/table-body/styles-helper.js.map +1 -1
  270. package/lib/components/table/src/table-column/defaults.d.ts +1 -0
  271. package/lib/components/table/src/table-column/defaults.js.map +1 -1
  272. package/lib/components/table/src/table-column/index.js +1 -0
  273. package/lib/components/table/src/table-column/index.js.map +1 -1
  274. package/lib/components/table/src/table-footer/index.d.ts +4 -2
  275. package/lib/components/table/src/table-footer/index.js +32 -17
  276. package/lib/components/table/src/table-footer/index.js.map +1 -1
  277. package/lib/components/table/src/table-footer/style-helper.d.ts +4 -2
  278. package/lib/components/table/src/table-footer/style-helper.js +28 -31
  279. package/lib/components/table/src/table-footer/style-helper.js.map +1 -1
  280. package/lib/components/table/src/table-header/index.d.ts +3 -2
  281. package/lib/components/table/src/table-header/index.js +89 -51
  282. package/lib/components/table/src/table-header/index.js.map +1 -1
  283. package/lib/components/table/src/table-header/style.helper.d.ts +1 -1
  284. package/lib/components/table/src/table-header/style.helper.js +14 -24
  285. package/lib/components/table/src/table-header/style.helper.js.map +1 -1
  286. package/lib/components/table/src/table-header/utils-helper.js +1 -0
  287. package/lib/components/table/src/table-header/utils-helper.js.map +1 -1
  288. package/lib/components/table/src/table-layout.d.ts +1 -0
  289. package/lib/components/table/src/table-layout.js +8 -3
  290. package/lib/components/table/src/table-layout.js.map +1 -1
  291. package/lib/components/table/src/table.vue.d.ts +9 -0
  292. package/lib/components/table/src/table.vue_vue_type_script_lang.js +12 -2
  293. package/lib/components/table/src/table.vue_vue_type_script_lang.js.map +1 -1
  294. package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js +62 -213
  295. package/lib/components/table/src/table.vue_vue_type_template_id_4a1660ad_lang.js.map +1 -1
  296. package/lib/components/table/src/util.d.ts +16 -2
  297. package/lib/components/table/src/util.js +104 -5
  298. package/lib/components/table/src/util.js.map +1 -1
  299. package/lib/components/tabs/index.d.ts +4 -4
  300. package/lib/components/tabs/src/tab-pane.vue.d.ts +2 -2
  301. package/lib/components/time-picker/index.d.ts +4 -4
  302. package/lib/components/time-picker/src/common/picker.vue.d.ts +2 -2
  303. package/lib/components/time-picker/src/time-picker.d.ts +2 -2
  304. package/lib/components/transfer/src/transfer-panel.vue.d.ts +1 -2
  305. package/lib/components/transfer/src/transfer-panel.vue_vue_type_script_lang.js +3 -14
  306. package/lib/components/transfer/src/transfer-panel.vue_vue_type_script_lang.js.map +1 -1
  307. package/lib/components/transfer/src/transfer-panel.vue_vue_type_template_id_1a7d1f9c_lang.js +4 -17
  308. package/lib/components/transfer/src/transfer-panel.vue_vue_type_template_id_1a7d1f9c_lang.js.map +1 -1
  309. package/lib/defaults.d.ts +3 -1
  310. package/lib/hooks/index.js +1 -4
  311. package/lib/hooks/index.js.map +1 -1
  312. package/lib/hooks/use-global-config/index.d.ts +3 -1
  313. package/lib/hooks/use-global-config/index.js +3 -2
  314. package/lib/hooks/use-global-config/index.js.map +1 -1
  315. package/lib/hooks/use-id/index.js +2 -2
  316. package/lib/hooks/use-id/index.js.map +1 -1
  317. package/lib/hooks/use-locale/index.d.ts +2 -253
  318. package/lib/hooks/use-locale/index.js +8 -31
  319. package/lib/hooks/use-locale/index.js.map +1 -1
  320. package/lib/hooks/use-popper-container/index.js +2 -2
  321. package/lib/hooks/use-popper-container/index.js.map +1 -1
  322. package/lib/index.d.ts +4 -1
  323. package/lib/index.js +5 -5
  324. package/lib/index.js.map +1 -1
  325. package/lib/version.d.ts +1 -1
  326. package/lib/version.js +1 -1
  327. package/lib/version.js.map +1 -1
  328. package/package.json +2 -2
  329. package/tags.json +1 -1
  330. package/theme-chalk/el-cascader.css +1 -1
  331. package/theme-chalk/el-checkbox.css +1 -1
  332. package/theme-chalk/el-date-picker.css +1 -1
  333. package/theme-chalk/el-form.css +1 -1
  334. package/theme-chalk/el-pagination.css +1 -1
  335. package/theme-chalk/el-radio.css +1 -1
  336. package/theme-chalk/el-rate.css +1 -1
  337. package/theme-chalk/el-select-v2.css +1 -1
  338. package/theme-chalk/el-slider.css +1 -1
  339. package/theme-chalk/el-switch.css +1 -1
  340. package/theme-chalk/el-table.css +1 -1
  341. package/theme-chalk/el-tag.css +1 -1
  342. package/theme-chalk/el-time-picker.css +1 -1
  343. package/theme-chalk/el-time-select.css +1 -1
  344. package/theme-chalk/el-transfer.css +1 -1
  345. package/theme-chalk/index.css +1 -1
  346. package/theme-chalk/src/cascader.scss +4 -0
  347. package/theme-chalk/src/checkbox.scss +40 -6
  348. package/theme-chalk/src/common/var.scss +2 -4
  349. package/theme-chalk/src/date-picker/picker-panel.scss +1 -1
  350. package/theme-chalk/src/date-picker/picker.scss +1 -0
  351. package/theme-chalk/src/form.scss +101 -24
  352. package/theme-chalk/src/pagination.scss +0 -3
  353. package/theme-chalk/src/radio.scss +21 -0
  354. package/theme-chalk/src/rate.scss +19 -2
  355. package/theme-chalk/src/select-v2.scss +2 -3
  356. package/theme-chalk/src/slider.scss +28 -77
  357. package/theme-chalk/src/switch.scss +43 -4
  358. package/theme-chalk/src/table.scss +176 -124
  359. package/theme-chalk/src/tag.scss +3 -3
  360. package/theme-chalk/src/transfer.scss +27 -31
  361. package/web-types.json +1 -1
  362. package/es/utils/isServer.d.ts +0 -2
  363. package/es/utils/isServer.mjs +0 -4
  364. package/es/utils/isServer.mjs.map +0 -1
  365. package/lib/utils/isServer.d.ts +0 -2
  366. package/lib/utils/isServer.js +0 -8
  367. package/lib/utils/isServer.js.map +0 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20220104 */
1
+ /*! Element Plus v0.0.20220108 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -2976,9 +2976,9 @@
2976
2976
  return obj;
2977
2977
  };
2978
2978
 
2979
- const fallback = vue.ref({});
2979
+ const cache$1 = vue.ref({});
2980
2980
  function useGlobalConfig(key) {
2981
- const config = vue.inject(configProviderContextKey, fallback);
2981
+ const config = vue.inject(configProviderContextKey, cache$1);
2982
2982
  if (key) {
2983
2983
  return isObject$a(config.value) && hasOwn(config.value, key) ? vue.computed(() => config.value[key]) : vue.ref(void 0);
2984
2984
  } else {
@@ -3000,6 +3000,7 @@
3000
3000
  return merge(oldConfig.value, cfg);
3001
3001
  });
3002
3002
  provideFn(configProviderContextKey, context);
3003
+ cache$1.value = context.value;
3003
3004
  return context;
3004
3005
  };
3005
3006
 
@@ -3545,43 +3546,23 @@
3545
3546
  }
3546
3547
  };
3547
3548
 
3548
- const useLocaleProps = buildProps({
3549
- locale: {
3550
- type: definePropType(Object)
3551
- }
3552
- });
3553
- const localeContextKey = Symbol("localeContextKey");
3554
- let cache$1;
3555
- const provideLocale = () => {
3556
- const vm = vue.getCurrentInstance();
3557
- const props = vm.props;
3558
- const locale = vue.computed(() => props.locale || English);
3559
- const lang = vue.computed(() => locale.value.name);
3560
- const t = buildTranslator(locale);
3561
- const provides = {
3562
- locale,
3563
- lang,
3564
- t
3565
- };
3566
- cache$1 = provides;
3567
- vue.provide(localeContextKey, provides);
3568
- };
3569
3549
  const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
3570
3550
  const translate = (path, option, locale) => get_1(locale, path, path).replace(/\{(\w+)\}/g, (_, key) => {
3571
3551
  var _a;
3572
3552
  return `${(_a = option == null ? void 0 : option[key]) != null ? _a : `{${key}}`}`;
3573
3553
  });
3574
- const localeProviderMaker = (locale = English) => {
3575
- const lang = vue.ref(locale.name);
3576
- const localeRef = vue.ref(locale);
3554
+ const buildLocaleContext = (locale) => {
3555
+ const lang = vue.computed(() => vue.unref(locale).name);
3556
+ const localeRef = vue.isRef(locale) ? locale : vue.ref(locale);
3577
3557
  return {
3578
3558
  lang,
3579
3559
  locale: localeRef,
3580
- t: buildTranslator(localeRef)
3560
+ t: buildTranslator(locale)
3581
3561
  };
3582
3562
  };
3583
3563
  const useLocale = () => {
3584
- return vue.inject(localeContextKey, cache$1 || localeProviderMaker(English));
3564
+ const locale = useGlobalConfig("locale");
3565
+ return buildLocaleContext(vue.computed(() => locale.value || English));
3585
3566
  };
3586
3567
 
3587
3568
  let scrollBarWidth;
@@ -4232,8 +4213,6 @@
4232
4213
  };
4233
4214
  };
4234
4215
 
4235
- var isServer = !(globalThis ? globalThis.document : window);
4236
-
4237
4216
  const defaultIdInjection = {
4238
4217
  prefix: Math.floor(Math.random() * 1e4),
4239
4218
  current: 0
@@ -4265,7 +4244,7 @@
4265
4244
  const POPPER_CONTAINER_SELECTOR = `#${POPPER_CONTAINER_ID}`;
4266
4245
  const usePopperContainer = () => {
4267
4246
  vue.onBeforeMount(() => {
4268
- if (isServer)
4247
+ if (!isClient)
4269
4248
  return;
4270
4249
  if (!cachedContainer) {
4271
4250
  const container = document.createElement("div");
@@ -4531,7 +4510,7 @@
4531
4510
  });
4532
4511
  }
4533
4512
 
4534
- const version$1 = "0.0.20220104";
4513
+ const version$1 = "0.0.20220108";
4535
4514
 
4536
4515
  const INSTALLED_KEY = Symbol("INSTALLED_KEY");
4537
4516
  const makeInstaller = (components = []) => {
@@ -4788,11 +4767,11 @@
4788
4767
  fill: "currentColor",
4789
4768
  d: "M831.872 340.864L512 652.672 192.128 340.864a30.592 30.592 0 00-42.752 0 29.12 29.12 0 000 41.6L489.664 714.24a32 32 0 0044.672 0l340.288-331.712a29.12 29.12 0 000-41.728 30.592 30.592 0 00-42.752 0z"
4790
4769
  }, null, -1);
4791
- const _hoisted_3$1m = [
4770
+ const _hoisted_3$1n = [
4792
4771
  _hoisted_2$1B
4793
4772
  ];
4794
4773
  function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
4795
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1$, _hoisted_3$1m);
4774
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1$, _hoisted_3$1n);
4796
4775
  }
4797
4776
  var arrowDown = /* @__PURE__ */ _export_sfc(_sfc_main$B, [["render", _sfc_render$B]]);
4798
4777
 
@@ -4810,11 +4789,11 @@
4810
4789
  fill: "currentColor",
4811
4790
  d: "M609.408 149.376L277.76 489.6a32 32 0 000 44.672l331.648 340.352a29.12 29.12 0 0041.728 0 30.592 30.592 0 000-42.752L339.264 511.936l311.872-319.872a30.592 30.592 0 000-42.688 29.12 29.12 0 00-41.728 0z"
4812
4791
  }, null, -1);
4813
- const _hoisted_3$1l = [
4792
+ const _hoisted_3$1m = [
4814
4793
  _hoisted_2$1A
4815
4794
  ];
4816
4795
  function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
4817
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1_, _hoisted_3$1l);
4796
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1_, _hoisted_3$1m);
4818
4797
  }
4819
4798
  var arrowLeft = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["render", _sfc_render$A]]);
4820
4799
 
@@ -4832,11 +4811,11 @@
4832
4811
  fill: "currentColor",
4833
4812
  d: "M340.864 149.312a30.592 30.592 0 000 42.752L652.736 512 340.864 831.872a30.592 30.592 0 000 42.752 29.12 29.12 0 0041.728 0L714.24 534.336a32 32 0 000-44.672L382.592 149.376a29.12 29.12 0 00-41.728 0z"
4834
4813
  }, null, -1);
4835
- const _hoisted_3$1k = [
4814
+ const _hoisted_3$1l = [
4836
4815
  _hoisted_2$1z
4837
4816
  ];
4838
4817
  function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
4839
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1Z, _hoisted_3$1k);
4818
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1Z, _hoisted_3$1l);
4840
4819
  }
4841
4820
  var arrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["render", _sfc_render$z]]);
4842
4821
 
@@ -4854,11 +4833,11 @@
4854
4833
  fill: "currentColor",
4855
4834
  d: "M488.832 344.32l-339.84 356.672a32 32 0 000 44.16l.384.384a29.44 29.44 0 0042.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0042.688 0l.384-.384a32 32 0 000-44.16L535.168 344.32a32 32 0 00-46.336 0z"
4856
4835
  }, null, -1);
4857
- const _hoisted_3$1j = [
4836
+ const _hoisted_3$1k = [
4858
4837
  _hoisted_2$1y
4859
4838
  ];
4860
4839
  function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
4861
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1Y, _hoisted_3$1j);
4840
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1Y, _hoisted_3$1k);
4862
4841
  }
4863
4842
  var arrowUp = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["render", _sfc_render$y]]);
4864
4843
 
@@ -4876,13 +4855,13 @@
4876
4855
  fill: "currentColor",
4877
4856
  d: "M224 480h640a32 32 0 110 64H224a32 32 0 010-64z"
4878
4857
  }, null, -1);
4879
- const _hoisted_3$1i = /* @__PURE__ */ vue.createElementVNode("path", {
4858
+ const _hoisted_3$1j = /* @__PURE__ */ vue.createElementVNode("path", {
4880
4859
  fill: "currentColor",
4881
4860
  d: "M237.248 512l265.408 265.344a32 32 0 01-45.312 45.312l-288-288a32 32 0 010-45.312l288-288a32 32 0 1145.312 45.312L237.248 512z"
4882
4861
  }, null, -1);
4883
4862
  const _hoisted_4$A = [
4884
4863
  _hoisted_2$1x,
4885
- _hoisted_3$1i
4864
+ _hoisted_3$1j
4886
4865
  ];
4887
4866
  function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
4888
4867
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1X, _hoisted_4$A);
@@ -4903,11 +4882,11 @@
4903
4882
  fill: "currentColor",
4904
4883
  d: "M128 384v512h768V192H768v32a32 32 0 11-64 0v-32H320v32a32 32 0 01-64 0v-32H128v128h768v64H128zm192-256h384V96a32 32 0 1164 0v32h160a32 32 0 0132 32v768a32 32 0 01-32 32H96a32 32 0 01-32-32V160a32 32 0 0132-32h160V96a32 32 0 0164 0v32zm-32 384h64a32 32 0 010 64h-64a32 32 0 010-64zm0 192h64a32 32 0 110 64h-64a32 32 0 110-64zm192-192h64a32 32 0 010 64h-64a32 32 0 010-64zm0 192h64a32 32 0 110 64h-64a32 32 0 110-64zm192-192h64a32 32 0 110 64h-64a32 32 0 110-64zm0 192h64a32 32 0 110 64h-64a32 32 0 110-64z"
4905
4884
  }, null, -1);
4906
- const _hoisted_3$1h = [
4885
+ const _hoisted_3$1i = [
4907
4886
  _hoisted_2$1w
4908
4887
  ];
4909
4888
  function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
4910
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1W, _hoisted_3$1h);
4889
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1W, _hoisted_3$1i);
4911
4890
  }
4912
4891
  var calendar = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["render", _sfc_render$w]]);
4913
4892
 
@@ -4925,11 +4904,11 @@
4925
4904
  fill: "currentColor",
4926
4905
  d: "M384 192v640l384-320.064z"
4927
4906
  }, null, -1);
4928
- const _hoisted_3$1g = [
4907
+ const _hoisted_3$1h = [
4929
4908
  _hoisted_2$1v
4930
4909
  ];
4931
4910
  function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
4932
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1V, _hoisted_3$1g);
4911
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1V, _hoisted_3$1h);
4933
4912
  }
4934
4913
  var caretRight = /* @__PURE__ */ _export_sfc(_sfc_main$v, [["render", _sfc_render$v]]);
4935
4914
 
@@ -4947,11 +4926,11 @@
4947
4926
  fill: "currentColor",
4948
4927
  d: "M512 320L192 704h639.936z"
4949
4928
  }, null, -1);
4950
- const _hoisted_3$1f = [
4929
+ const _hoisted_3$1g = [
4951
4930
  _hoisted_2$1u
4952
4931
  ];
4953
4932
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
4954
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1U, _hoisted_3$1f);
4933
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1U, _hoisted_3$1g);
4955
4934
  }
4956
4935
  var caretTop = /* @__PURE__ */ _export_sfc(_sfc_main$u, [["render", _sfc_render$u]]);
4957
4936
 
@@ -4969,11 +4948,11 @@
4969
4948
  fill: "currentColor",
4970
4949
  d: "M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z"
4971
4950
  }, null, -1);
4972
- const _hoisted_3$1e = [
4951
+ const _hoisted_3$1f = [
4973
4952
  _hoisted_2$1t
4974
4953
  ];
4975
4954
  function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
4976
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1T, _hoisted_3$1e);
4955
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1T, _hoisted_3$1f);
4977
4956
  }
4978
4957
  var check = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["render", _sfc_render$t]]);
4979
4958
 
@@ -4991,11 +4970,11 @@
4991
4970
  fill: "currentColor",
4992
4971
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm-55.808 536.384l-99.52-99.584a38.4 38.4 0 10-54.336 54.336l126.72 126.72a38.272 38.272 0 0054.336 0l262.4-262.464a38.4 38.4 0 10-54.272-54.336L456.192 600.384z"
4993
4972
  }, null, -1);
4994
- const _hoisted_3$1d = [
4973
+ const _hoisted_3$1e = [
4995
4974
  _hoisted_2$1s
4996
4975
  ];
4997
4976
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
4998
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1S, _hoisted_3$1d);
4977
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1S, _hoisted_3$1e);
4999
4978
  }
5000
4979
  var circleCheckFilled = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render$s]]);
5001
4980
 
@@ -5013,13 +4992,13 @@
5013
4992
  fill: "currentColor",
5014
4993
  d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
5015
4994
  }, null, -1);
5016
- const _hoisted_3$1c = /* @__PURE__ */ vue.createElementVNode("path", {
4995
+ const _hoisted_3$1d = /* @__PURE__ */ vue.createElementVNode("path", {
5017
4996
  fill: "currentColor",
5018
4997
  d: "M745.344 361.344a32 32 0 0145.312 45.312l-288 288a32 32 0 01-45.312 0l-160-160a32 32 0 1145.312-45.312L480 626.752l265.344-265.408z"
5019
4998
  }, null, -1);
5020
4999
  const _hoisted_4$z = [
5021
5000
  _hoisted_2$1r,
5022
- _hoisted_3$1c
5001
+ _hoisted_3$1d
5023
5002
  ];
5024
5003
  function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
5025
5004
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1R, _hoisted_4$z);
@@ -5040,11 +5019,11 @@
5040
5019
  fill: "currentColor",
5041
5020
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm0 393.664L407.936 353.6a38.4 38.4 0 10-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1054.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1054.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 10-54.336-54.336L512 457.664z"
5042
5021
  }, null, -1);
5043
- const _hoisted_3$1b = [
5022
+ const _hoisted_3$1c = [
5044
5023
  _hoisted_2$1q
5045
5024
  ];
5046
5025
  function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
5047
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1Q, _hoisted_3$1b);
5026
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1Q, _hoisted_3$1c);
5048
5027
  }
5049
5028
  var circleCloseFilled = /* @__PURE__ */ _export_sfc(_sfc_main$q, [["render", _sfc_render$q]]);
5050
5029
 
@@ -5062,13 +5041,13 @@
5062
5041
  fill: "currentColor",
5063
5042
  d: "M466.752 512l-90.496-90.496a32 32 0 0145.248-45.248L512 466.752l90.496-90.496a32 32 0 1145.248 45.248L557.248 512l90.496 90.496a32 32 0 11-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 01-45.248-45.248L466.752 512z"
5064
5043
  }, null, -1);
5065
- const _hoisted_3$1a = /* @__PURE__ */ vue.createElementVNode("path", {
5044
+ const _hoisted_3$1b = /* @__PURE__ */ vue.createElementVNode("path", {
5066
5045
  fill: "currentColor",
5067
5046
  d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
5068
5047
  }, null, -1);
5069
5048
  const _hoisted_4$y = [
5070
5049
  _hoisted_2$1p,
5071
- _hoisted_3$1a
5050
+ _hoisted_3$1b
5072
5051
  ];
5073
5052
  function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
5074
5053
  return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1P, _hoisted_4$y);
@@ -5089,7 +5068,7 @@
5089
5068
  fill: "currentColor",
5090
5069
  d: "M512 896a384 384 0 100-768 384 384 0 000 768zm0 64a448 448 0 110-896 448 448 0 010 896z"
5091
5070
  }, null, -1);
5092
- const _hoisted_3$19 = /* @__PURE__ */ vue.createElementVNode("path", {
5071
+ const _hoisted_3$1a = /* @__PURE__ */ vue.createElementVNode("path", {
5093
5072
  fill: "currentColor",
5094
5073
  d: "M480 256a32 32 0 0132 32v256a32 32 0 01-64 0V288a32 32 0 0132-32z"
5095
5074
  }, null, -1);
@@ -5099,7 +5078,7 @@
5099
5078
  }, null, -1);
5100
5079
  const _hoisted_5$o = [
5101
5080
  _hoisted_2$1o,
5102
- _hoisted_3$19,
5081
+ _hoisted_3$1a,
5103
5082
  _hoisted_4$x
5104
5083
  ];
5105
5084
  function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
@@ -5121,11 +5100,11 @@
5121
5100
  fill: "currentColor",
5122
5101
  d: "M764.288 214.592L512 466.88 259.712 214.592a31.936 31.936 0 00-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1045.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0045.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 10-45.12-45.184z"
5123
5102
  }, null, -1);
5124
- const _hoisted_3$18 = [
5103
+ const _hoisted_3$19 = [
5125
5104
  _hoisted_2$1n
5126
5105
  ];
5127
5106
  function _sfc_render$n(_ctx, _cache, $props, $setup, $data, $options) {
5128
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1N, _hoisted_3$18);
5107
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1N, _hoisted_3$19);
5129
5108
  }
5130
5109
  var close$2 = /* @__PURE__ */ _export_sfc(_sfc_main$n, [["render", _sfc_render$n]]);
5131
5110
 
@@ -5143,11 +5122,11 @@
5143
5122
  fill: "currentColor",
5144
5123
  d: "M529.408 149.376a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L259.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L197.76 534.272a32 32 0 010-44.672l331.648-340.224zm256 0a29.12 29.12 0 0141.728 0 30.592 30.592 0 010 42.688L515.264 511.936l311.872 319.936a30.592 30.592 0 01-.512 43.264 29.12 29.12 0 01-41.216-.512L453.76 534.272a32 32 0 010-44.672l331.648-340.224z"
5145
5124
  }, null, -1);
5146
- const _hoisted_3$17 = [
5125
+ const _hoisted_3$18 = [
5147
5126
  _hoisted_2$1m
5148
5127
  ];
5149
5128
  function _sfc_render$m(_ctx, _cache, $props, $setup, $data, $options) {
5150
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1M, _hoisted_3$17);
5129
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1M, _hoisted_3$18);
5151
5130
  }
5152
5131
  var dArrowLeft = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["render", _sfc_render$m]]);
5153
5132
 
@@ -5165,11 +5144,11 @@
5165
5144
  fill: "currentColor",
5166
5145
  d: "M452.864 149.312a29.12 29.12 0 0141.728.064L826.24 489.664a32 32 0 010 44.672L494.592 874.624a29.12 29.12 0 01-41.728 0 30.592 30.592 0 010-42.752L764.736 512 452.864 192a30.592 30.592 0 010-42.688zm-256 0a29.12 29.12 0 0141.728.064L570.24 489.664a32 32 0 010 44.672L238.592 874.624a29.12 29.12 0 01-41.728 0 30.592 30.592 0 010-42.752L508.736 512 196.864 192a30.592 30.592 0 010-42.688z"
5167
5146
  }, null, -1);
5168
- const _hoisted_3$16 = [
5147
+ const _hoisted_3$17 = [
5169
5148
  _hoisted_2$1l
5170
5149
  ];
5171
5150
  function _sfc_render$l(_ctx, _cache, $props, $setup, $data, $options) {
5172
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1L, _hoisted_3$16);
5151
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1L, _hoisted_3$17);
5173
5152
  }
5174
5153
  var dArrowRight = /* @__PURE__ */ _export_sfc(_sfc_main$l, [["render", _sfc_render$l]]);
5175
5154
 
@@ -5187,11 +5166,11 @@
5187
5166
  fill: "currentColor",
5188
5167
  d: "M160 256H96a32 32 0 010-64h256V95.936a32 32 0 0132-32h256a32 32 0 0132 32V192h256a32 32 0 110 64h-64v672a32 32 0 01-32 32H192a32 32 0 01-32-32V256zm448-64v-64H416v64h192zM224 896h576V256H224v640zm192-128a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32zm192 0a32 32 0 01-32-32V416a32 32 0 0164 0v320a32 32 0 01-32 32z"
5189
5168
  }, null, -1);
5190
- const _hoisted_3$15 = [
5169
+ const _hoisted_3$16 = [
5191
5170
  _hoisted_2$1k
5192
5171
  ];
5193
5172
  function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
5194
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1K, _hoisted_3$15);
5173
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1K, _hoisted_3$16);
5195
5174
  }
5196
5175
  var _delete = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["render", _sfc_render$k]]);
5197
5176
 
@@ -5209,11 +5188,11 @@
5209
5188
  fill: "currentColor",
5210
5189
  d: "M832 384H576V128H192v768h640V384zm-26.496-64L640 154.496V320h165.504zM160 64h480l256 256v608a32 32 0 01-32 32H160a32 32 0 01-32-32V96a32 32 0 0132-32zm160 448h384v64H320v-64zm0-192h160v64H320v-64zm0 384h384v64H320v-64z"
5211
5190
  }, null, -1);
5212
- const _hoisted_3$14 = [
5191
+ const _hoisted_3$15 = [
5213
5192
  _hoisted_2$1j
5214
5193
  ];
5215
5194
  function _sfc_render$j(_ctx, _cache, $props, $setup, $data, $options) {
5216
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1J, _hoisted_3$14);
5195
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1J, _hoisted_3$15);
5217
5196
  }
5218
5197
  var document$1 = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["render", _sfc_render$j]]);
5219
5198
 
@@ -5231,11 +5210,11 @@
5231
5210
  fill: "currentColor",
5232
5211
  d: "M160 96.064l192 .192a32 32 0 010 64l-192-.192V352a32 32 0 01-64 0V96h64v.064zm0 831.872V928H96V672a32 32 0 1164 0v191.936l192-.192a32 32 0 110 64l-192 .192zM864 96.064V96h64v256a32 32 0 11-64 0V160.064l-192 .192a32 32 0 110-64l192-.192zm0 831.872l-192-.192a32 32 0 010-64l192 .192V672a32 32 0 1164 0v256h-64v-.064z"
5233
5212
  }, null, -1);
5234
- const _hoisted_3$13 = [
5213
+ const _hoisted_3$14 = [
5235
5214
  _hoisted_2$1i
5236
5215
  ];
5237
5216
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
5238
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1I, _hoisted_3$13);
5217
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1I, _hoisted_3$14);
5239
5218
  }
5240
5219
  var fullScreen = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render$i]]);
5241
5220
 
@@ -5253,11 +5232,11 @@
5253
5232
  fill: "currentColor",
5254
5233
  d: "M512 64a448 448 0 110 896.064A448 448 0 01512 64zm67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344zM590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.992 12.992 0 01-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 017.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"
5255
5234
  }, null, -1);
5256
- const _hoisted_3$12 = [
5235
+ const _hoisted_3$13 = [
5257
5236
  _hoisted_2$1h
5258
5237
  ];
5259
5238
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
5260
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1H, _hoisted_3$12);
5239
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1H, _hoisted_3$13);
5261
5240
  }
5262
5241
  var infoFilled = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["render", _sfc_render$h]]);
5263
5242
 
@@ -5275,11 +5254,11 @@
5275
5254
  fill: "currentColor",
5276
5255
  d: "M512 64a32 32 0 0132 32v192a32 32 0 01-64 0V96a32 32 0 0132-32zm0 640a32 32 0 0132 32v192a32 32 0 11-64 0V736a32 32 0 0132-32zm448-192a32 32 0 01-32 32H736a32 32 0 110-64h192a32 32 0 0132 32zm-640 0a32 32 0 01-32 32H96a32 32 0 010-64h192a32 32 0 0132 32zM195.2 195.2a32 32 0 0145.248 0L376.32 331.008a32 32 0 01-45.248 45.248L195.2 240.448a32 32 0 010-45.248zm452.544 452.544a32 32 0 0145.248 0L828.8 783.552a32 32 0 01-45.248 45.248L647.744 692.992a32 32 0 010-45.248zM828.8 195.264a32 32 0 010 45.184L692.992 376.32a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0zm-452.544 452.48a32 32 0 010 45.248L240.448 828.8a32 32 0 01-45.248-45.248l135.808-135.808a32 32 0 0145.248 0z"
5277
5256
  }, null, -1);
5278
- const _hoisted_3$11 = [
5257
+ const _hoisted_3$12 = [
5279
5258
  _hoisted_2$1g
5280
5259
  ];
5281
5260
  function _sfc_render$g(_ctx, _cache, $props, $setup, $data, $options) {
5282
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1G, _hoisted_3$11);
5261
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1G, _hoisted_3$12);
5283
5262
  }
5284
5263
  var loading = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render$g]]);
5285
5264
 
@@ -5297,11 +5276,11 @@
5297
5276
  fill: "currentColor",
5298
5277
  d: "M128 544h768a32 32 0 100-64H128a32 32 0 000 64z"
5299
5278
  }, null, -1);
5300
- const _hoisted_3$10 = [
5279
+ const _hoisted_3$11 = [
5301
5280
  _hoisted_2$1f
5302
5281
  ];
5303
5282
  function _sfc_render$f(_ctx, _cache, $props, $setup, $data, $options) {
5304
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1F, _hoisted_3$10);
5283
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1F, _hoisted_3$11);
5305
5284
  }
5306
5285
  var minus = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["render", _sfc_render$f]]);
5307
5286
 
@@ -5319,11 +5298,11 @@
5319
5298
  fill: "currentColor",
5320
5299
  d: "M176 416a112 112 0 110 224 112 112 0 010-224zm336 0a112 112 0 110 224 112 112 0 010-224zm336 0a112 112 0 110 224 112 112 0 010-224z"
5321
5300
  }, null, -1);
5322
- const _hoisted_3$$ = [
5301
+ const _hoisted_3$10 = [
5323
5302
  _hoisted_2$1e
5324
5303
  ];
5325
5304
  function _sfc_render$e(_ctx, _cache, $props, $setup, $data, $options) {
5326
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1E, _hoisted_3$$);
5305
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1E, _hoisted_3$10);
5327
5306
  }
5328
5307
  var moreFilled = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", _sfc_render$e]]);
5329
5308
 
@@ -5341,11 +5320,11 @@
5341
5320
  fill: "currentColor",
5342
5321
  d: "M176 416a112 112 0 100 224 112 112 0 000-224m0 64a48 48 0 110 96 48 48 0 010-96zm336-64a112 112 0 110 224 112 112 0 010-224zm0 64a48 48 0 100 96 48 48 0 000-96zm336-64a112 112 0 110 224 112 112 0 010-224zm0 64a48 48 0 100 96 48 48 0 000-96z"
5343
5322
  }, null, -1);
5344
- const _hoisted_3$_ = [
5323
+ const _hoisted_3$$ = [
5345
5324
  _hoisted_2$1d
5346
5325
  ];
5347
5326
  function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
5348
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1D, _hoisted_3$_);
5327
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1D, _hoisted_3$$);
5349
5328
  }
5350
5329
  var more = /* @__PURE__ */ _export_sfc(_sfc_main$d, [["render", _sfc_render$d]]);
5351
5330
 
@@ -5363,11 +5342,11 @@
5363
5342
  fill: "currentColor",
5364
5343
  d: "M480 480V128a32 32 0 0164 0v352h352a32 32 0 110 64H544v352a32 32 0 11-64 0V544H128a32 32 0 010-64h352z"
5365
5344
  }, null, -1);
5366
- const _hoisted_3$Z = [
5345
+ const _hoisted_3$_ = [
5367
5346
  _hoisted_2$1c
5368
5347
  ];
5369
5348
  function _sfc_render$c(_ctx, _cache, $props, $setup, $data, $options) {
5370
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1C, _hoisted_3$Z);
5349
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1C, _hoisted_3$_);
5371
5350
  }
5372
5351
  var plus = /* @__PURE__ */ _export_sfc(_sfc_main$c, [["render", _sfc_render$c]]);
5373
5352
 
@@ -5385,11 +5364,11 @@
5385
5364
  fill: "currentColor",
5386
5365
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592 0-42.944-14.08-76.736-42.24-101.376-28.16-25.344-65.472-37.312-111.232-37.312zm-12.672 406.208a54.272 54.272 0 00-38.72 14.784 49.408 49.408 0 00-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.848 54.848 0 00523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0016.192-38.72 51.968 51.968 0 00-15.488-38.016 55.936 55.936 0 00-39.424-14.784z"
5387
5366
  }, null, -1);
5388
- const _hoisted_3$Y = [
5367
+ const _hoisted_3$Z = [
5389
5368
  _hoisted_2$1b
5390
5369
  ];
5391
5370
  function _sfc_render$b(_ctx, _cache, $props, $setup, $data, $options) {
5392
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1B, _hoisted_3$Y);
5371
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1B, _hoisted_3$Z);
5393
5372
  }
5394
5373
  var questionFilled = /* @__PURE__ */ _export_sfc(_sfc_main$b, [["render", _sfc_render$b]]);
5395
5374
 
@@ -5407,11 +5386,11 @@
5407
5386
  fill: "currentColor",
5408
5387
  d: "M289.088 296.704h92.992a32 32 0 010 64H232.96a32 32 0 01-32-32V179.712a32 32 0 0164 0v50.56a384 384 0 01643.84 282.88 384 384 0 01-383.936 384 384 384 0 01-384-384h64a320 320 0 10640 0 320 320 0 00-555.712-216.448z"
5409
5388
  }, null, -1);
5410
- const _hoisted_3$X = [
5389
+ const _hoisted_3$Y = [
5411
5390
  _hoisted_2$1a
5412
5391
  ];
5413
5392
  function _sfc_render$a(_ctx, _cache, $props, $setup, $data, $options) {
5414
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1A, _hoisted_3$X);
5393
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1A, _hoisted_3$Y);
5415
5394
  }
5416
5395
  var refreshLeft = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["render", _sfc_render$a]]);
5417
5396
 
@@ -5429,11 +5408,11 @@
5429
5408
  fill: "currentColor",
5430
5409
  d: "M784.512 230.272v-50.56a32 32 0 1164 0v149.056a32 32 0 01-32 32H667.52a32 32 0 110-64h92.992A320 320 0 10524.8 833.152a320 320 0 00320-320h64a384 384 0 01-384 384 384 384 0 01-384-384 384 384 0 01643.712-282.88z"
5431
5410
  }, null, -1);
5432
- const _hoisted_3$W = [
5411
+ const _hoisted_3$X = [
5433
5412
  _hoisted_2$19
5434
5413
  ];
5435
5414
  function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
5436
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1z, _hoisted_3$W);
5415
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1z, _hoisted_3$X);
5437
5416
  }
5438
5417
  var refreshRight = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", _sfc_render$9]]);
5439
5418
 
@@ -5451,11 +5430,11 @@
5451
5430
  fill: "currentColor",
5452
5431
  d: "M813.176 180.706a60.235 60.235 0 0160.236 60.235v481.883a60.235 60.235 0 01-60.236 60.235H210.824a60.235 60.235 0 01-60.236-60.235V240.94a60.235 60.235 0 0160.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0090.353 240.94v481.883a120.47 120.47 0 00120.47 120.47h602.353a120.47 120.47 0 00120.471-120.47V240.94a120.47 120.47 0 00-120.47-120.47zm-120.47 180.705a30.118 30.118 0 00-30.118 30.118v301.177a30.118 30.118 0 0060.236 0V331.294a30.118 30.118 0 00-30.118-30.118zm-361.412 0a30.118 30.118 0 00-30.118 30.118v301.177a30.118 30.118 0 1060.236 0V331.294a30.118 30.118 0 00-30.118-30.118zM512 361.412a30.118 30.118 0 00-30.118 30.117v30.118a30.118 30.118 0 0060.236 0V391.53A30.118 30.118 0 00512 361.412zM512 512a30.118 30.118 0 00-30.118 30.118v30.117a30.118 30.118 0 0060.236 0v-30.117A30.118 30.118 0 00512 512z"
5453
5432
  }, null, -1);
5454
- const _hoisted_3$V = [
5433
+ const _hoisted_3$W = [
5455
5434
  _hoisted_2$18
5456
5435
  ];
5457
5436
  function _sfc_render$8(_ctx, _cache, $props, $setup, $data, $options) {
5458
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1y, _hoisted_3$V);
5437
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1y, _hoisted_3$W);
5459
5438
  }
5460
5439
  var scaleToOriginal = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$8]]);
5461
5440
 
@@ -5473,11 +5452,11 @@
5473
5452
  fill: "currentColor",
5474
5453
  d: "M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704z"
5475
5454
  }, null, -1);
5476
- const _hoisted_3$U = [
5455
+ const _hoisted_3$V = [
5477
5456
  _hoisted_2$17
5478
5457
  ];
5479
5458
  function _sfc_render$7(_ctx, _cache, $props, $setup, $data, $options) {
5480
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1x, _hoisted_3$U);
5459
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1x, _hoisted_3$V);
5481
5460
  }
5482
5461
  var search = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$7]]);
5483
5462
 
@@ -5495,11 +5474,11 @@
5495
5474
  fill: "currentColor",
5496
5475
  d: "M283.84 867.84L512 747.776l228.16 119.936a6.4 6.4 0 009.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 00-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 00-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 00-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 009.28 6.72z"
5497
5476
  }, null, -1);
5498
- const _hoisted_3$T = [
5477
+ const _hoisted_3$U = [
5499
5478
  _hoisted_2$16
5500
5479
  ];
5501
5480
  function _sfc_render$6(_ctx, _cache, $props, $setup, $data, $options) {
5502
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1w, _hoisted_3$T);
5481
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1w, _hoisted_3$U);
5503
5482
  }
5504
5483
  var starFilled = /* @__PURE__ */ _export_sfc(_sfc_main$6, [["render", _sfc_render$6]]);
5505
5484
 
@@ -5517,11 +5496,11 @@
5517
5496
  fill: "currentColor",
5518
5497
  d: "M512 747.84l228.16 119.936a6.4 6.4 0 009.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 00-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 00-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 00-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 009.28 6.72L512 747.84zM313.6 924.48a70.4 70.4 0 01-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 01128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 01126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0139.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 01-102.144 74.24L512 820.096l-198.4 104.32z"
5519
5498
  }, null, -1);
5520
- const _hoisted_3$S = [
5499
+ const _hoisted_3$T = [
5521
5500
  _hoisted_2$15
5522
5501
  ];
5523
5502
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
5524
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1v, _hoisted_3$S);
5503
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1v, _hoisted_3$T);
5525
5504
  }
5526
5505
  var star = /* @__PURE__ */ _export_sfc(_sfc_main$5, [["render", _sfc_render$5]]);
5527
5506
 
@@ -5539,11 +5518,11 @@
5539
5518
  fill: "currentColor",
5540
5519
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm-55.808 536.384l-99.52-99.584a38.4 38.4 0 10-54.336 54.336l126.72 126.72a38.272 38.272 0 0054.336 0l262.4-262.464a38.4 38.4 0 10-54.272-54.336L456.192 600.384z"
5541
5520
  }, null, -1);
5542
- const _hoisted_3$R = [
5521
+ const _hoisted_3$S = [
5543
5522
  _hoisted_2$14
5544
5523
  ];
5545
5524
  function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
5546
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1u, _hoisted_3$R);
5525
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1u, _hoisted_3$S);
5547
5526
  }
5548
5527
  var successFilled = /* @__PURE__ */ _export_sfc(_sfc_main$4, [["render", _sfc_render$4]]);
5549
5528
 
@@ -5561,11 +5540,11 @@
5561
5540
  fill: "currentColor",
5562
5541
  d: "M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352zm0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288zm0 64a224 224 0 110 448 224 224 0 010-448zm0 64a160.192 160.192 0 00-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160z"
5563
5542
  }, null, -1);
5564
- const _hoisted_3$Q = [
5543
+ const _hoisted_3$R = [
5565
5544
  _hoisted_2$13
5566
5545
  ];
5567
5546
  function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
5568
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1t, _hoisted_3$Q);
5547
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1t, _hoisted_3$R);
5569
5548
  }
5570
5549
  var view = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["render", _sfc_render$3]]);
5571
5550
 
@@ -5583,11 +5562,11 @@
5583
5562
  fill: "currentColor",
5584
5563
  d: "M512 64a448 448 0 110 896 448 448 0 010-896zm0 192a58.432 58.432 0 00-58.24 63.744l23.36 256.384a35.072 35.072 0 0069.76 0l23.296-256.384A58.432 58.432 0 00512 256zm0 512a51.2 51.2 0 100-102.4 51.2 51.2 0 000 102.4z"
5585
5564
  }, null, -1);
5586
- const _hoisted_3$P = [
5565
+ const _hoisted_3$Q = [
5587
5566
  _hoisted_2$12
5588
5567
  ];
5589
5568
  function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
5590
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1s, _hoisted_3$P);
5569
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1s, _hoisted_3$Q);
5591
5570
  }
5592
5571
  var warningFilled = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["render", _sfc_render$2]]);
5593
5572
 
@@ -5605,11 +5584,11 @@
5605
5584
  fill: "currentColor",
5606
5585
  d: "M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704zm-32-384v-96a32 32 0 0164 0v96h96a32 32 0 010 64h-96v96a32 32 0 01-64 0v-96h-96a32 32 0 010-64h96z"
5607
5586
  }, null, -1);
5608
- const _hoisted_3$O = [
5587
+ const _hoisted_3$P = [
5609
5588
  _hoisted_2$11
5610
5589
  ];
5611
5590
  function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
5612
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1r, _hoisted_3$O);
5591
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1r, _hoisted_3$P);
5613
5592
  }
5614
5593
  var zoomIn = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1]]);
5615
5594
 
@@ -5627,11 +5606,11 @@
5627
5606
  fill: "currentColor",
5628
5607
  d: "M795.904 750.72l124.992 124.928a32 32 0 01-45.248 45.248L750.656 795.904a416 416 0 1145.248-45.248zM480 832a352 352 0 100-704 352 352 0 000 704zM352 448h256a32 32 0 010 64H352a32 32 0 010-64z"
5629
5608
  }, null, -1);
5630
- const _hoisted_3$N = [
5609
+ const _hoisted_3$O = [
5631
5610
  _hoisted_2$10
5632
5611
  ];
5633
5612
  function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
5634
- return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1q, _hoisted_3$N);
5613
+ return vue.openBlock(), vue.createElementBlock("svg", _hoisted_1$1q, _hoisted_3$O);
5635
5614
  }
5636
5615
  var zoomOut = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render]]);
5637
5616
 
@@ -6696,6 +6675,7 @@
6696
6675
  passwordVisible,
6697
6676
  inputOrTextarea,
6698
6677
  suffixVisible,
6678
+ needStatusIcon,
6699
6679
  resizeTextarea,
6700
6680
  handleInput,
6701
6681
  handleChange,
@@ -6721,7 +6701,7 @@
6721
6701
  class: "el-input-group__prepend"
6722
6702
  };
6723
6703
  const _hoisted_2$_ = ["type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
6724
- const _hoisted_3$M = {
6704
+ const _hoisted_3$N = {
6725
6705
  key: 1,
6726
6706
  class: "el-input__prefix"
6727
6707
  };
@@ -6736,11 +6716,11 @@
6736
6716
  class: "el-input__count"
6737
6717
  };
6738
6718
  const _hoisted_8$b = { class: "el-input__count-inner" };
6739
- const _hoisted_9$8 = {
6719
+ const _hoisted_9$7 = {
6740
6720
  key: 3,
6741
6721
  class: "el-input-group__append"
6742
6722
  };
6743
- const _hoisted_10$8 = ["tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
6723
+ const _hoisted_10$7 = ["tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
6744
6724
  const _hoisted_11$4 = {
6745
6725
  key: 0,
6746
6726
  class: "el-input__count"
@@ -6797,7 +6777,7 @@
6797
6777
  onKeydown: _cache[7] || (_cache[7] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args))
6798
6778
  }), null, 16, _hoisted_2$_),
6799
6779
  vue.createCommentVNode(" prefix slot "),
6800
- _ctx.$slots.prefix || _ctx.prefixIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$M, [
6780
+ _ctx.$slots.prefix || _ctx.prefixIcon ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$N, [
6801
6781
  vue.createElementVNode("span", _hoisted_4$w, [
6802
6782
  vue.renderSlot(_ctx.$slots, "prefix"),
6803
6783
  _ctx.prefixIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
@@ -6852,7 +6832,7 @@
6852
6832
  vue.createElementVNode("span", _hoisted_8$b, vue.toDisplayString(_ctx.textLength) + " / " + vue.toDisplayString(_ctx.attrs.maxlength), 1)
6853
6833
  ])) : vue.createCommentVNode("v-if", true)
6854
6834
  ]),
6855
- _ctx.validateState && _ctx.validateIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
6835
+ _ctx.validateState && _ctx.validateIcon && _ctx.needStatusIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
6856
6836
  key: 0,
6857
6837
  class: "el-input__icon el-input__validateIcon"
6858
6838
  }, {
@@ -6863,7 +6843,7 @@
6863
6843
  })) : vue.createCommentVNode("v-if", true)
6864
6844
  ])) : vue.createCommentVNode("v-if", true),
6865
6845
  vue.createCommentVNode(" append slot "),
6866
- _ctx.$slots.append ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$8, [
6846
+ _ctx.$slots.append ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9$7, [
6867
6847
  vue.renderSlot(_ctx.$slots, "append")
6868
6848
  ])) : vue.createCommentVNode("v-if", true)
6869
6849
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
@@ -6887,7 +6867,7 @@
6887
6867
  onBlur: _cache[14] || (_cache[14] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
6888
6868
  onChange: _cache[15] || (_cache[15] = (...args) => _ctx.handleChange && _ctx.handleChange(...args)),
6889
6869
  onKeydown: _cache[16] || (_cache[16] = (...args) => _ctx.handleKeydown && _ctx.handleKeydown(...args))
6890
- }), null, 16, _hoisted_10$8),
6870
+ }), null, 16, _hoisted_10$7),
6891
6871
  _ctx.isWordLimitVisible ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11$4, vue.toDisplayString(_ctx.textLength) + " / " + vue.toDisplayString(_ctx.attrs.maxlength), 1)) : vue.createCommentVNode("v-if", true)
6892
6872
  ], 64))
6893
6873
  ], 38)), [
@@ -9424,6 +9404,7 @@
9424
9404
  ref: "popperContentRef",
9425
9405
  style: vue.normalizeStyle(_ctx.contentStyle),
9426
9406
  class: vue.normalizeClass(_ctx.contentClass),
9407
+ role: "tooltip",
9427
9408
  onMouseenter: _cache[0] || (_cache[0] = (e) => _ctx.$emit("mouseenter", e)),
9428
9409
  onMouseleave: _cache[1] || (_cache[1] = (e) => _ctx.$emit("mouseleave", e))
9429
9410
  }, [
@@ -10250,7 +10231,7 @@
10250
10231
 
10251
10232
  const _hoisted_1$1k = ["aria-expanded", "aria-owns"];
10252
10233
  const _hoisted_2$Y = { key: 0 };
10253
- const _hoisted_3$L = ["id", "aria-selected", "onClick"];
10234
+ const _hoisted_3$M = ["id", "aria-selected", "onClick"];
10254
10235
  function render$1S(_ctx, _cache, $props, $setup, $data, $options) {
10255
10236
  const _component_el_input = vue.resolveComponent("el-input");
10256
10237
  const _component_loading = vue.resolveComponent("loading");
@@ -10311,7 +10292,7 @@
10311
10292
  vue.renderSlot(_ctx.$slots, "default", { item }, () => [
10312
10293
  vue.createTextVNode(vue.toDisplayString(item[_ctx.valueKey]), 1)
10313
10294
  ])
10314
- ], 10, _hoisted_3$L);
10295
+ ], 10, _hoisted_3$M);
10315
10296
  }), 128))
10316
10297
  ]),
10317
10298
  _: 3
@@ -12724,7 +12705,7 @@
12724
12705
 
12725
12706
  const _hoisted_1$1d = ["id", "name", "placeholder", "value", "disabled", "readonly"];
12726
12707
  const _hoisted_2$V = { class: "el-range-separator" };
12727
- const _hoisted_3$K = ["id", "name", "placeholder", "value", "disabled", "readonly"];
12708
+ const _hoisted_3$L = ["id", "name", "placeholder", "value", "disabled", "readonly"];
12728
12709
  function render$1K(_ctx, _cache, $props, $setup, $data, $options) {
12729
12710
  const _component_el_icon = vue.resolveComponent("el-icon");
12730
12711
  const _component_el_input = vue.resolveComponent("el-input");
@@ -12847,7 +12828,7 @@
12847
12828
  onFocus: _cache[4] || (_cache[4] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
12848
12829
  onInput: _cache[5] || (_cache[5] = (...args) => _ctx.handleEndInput && _ctx.handleEndInput(...args)),
12849
12830
  onChange: _cache[6] || (_cache[6] = (...args) => _ctx.handleEndChange && _ctx.handleEndChange(...args))
12850
- }, null, 40, _hoisted_3$K),
12831
+ }, null, 40, _hoisted_3$L),
12851
12832
  _ctx.clearIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
12852
12833
  key: 1,
12853
12834
  class: vue.normalizeClass(["el-input__icon el-range__close-icon", {
@@ -13209,7 +13190,7 @@
13209
13190
 
13210
13191
  const _hoisted_1$1c = ["onClick"];
13211
13192
  const _hoisted_2$U = ["onMouseenter"];
13212
- const _hoisted_3$J = { class: "el-time-spinner__list" };
13193
+ const _hoisted_3$K = { class: "el-time-spinner__list" };
13213
13194
  function render$1J(_ctx, _cache, $props, $setup, $data, $options) {
13214
13195
  const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
13215
13196
  const _component_arrow_up = vue.resolveComponent("arrow-up");
@@ -13272,7 +13253,7 @@
13272
13253
  })), [
13273
13254
  [_directive_repeat_click, _ctx.onIncreaseClick]
13274
13255
  ]),
13275
- vue.createElementVNode("ul", _hoisted_3$J, [
13256
+ vue.createElementVNode("ul", _hoisted_3$K, [
13276
13257
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.arrowListMap[item].value, (time, key) => {
13277
13258
  return vue.openBlock(), vue.createElementBlock("li", {
13278
13259
  key,
@@ -14329,7 +14310,7 @@
14329
14310
  class: "el-time-range-picker el-picker-panel"
14330
14311
  };
14331
14312
  const _hoisted_2$S = { class: "el-time-range-picker__content" };
14332
- const _hoisted_3$I = { class: "el-time-range-picker__cell" };
14313
+ const _hoisted_3$J = { class: "el-time-range-picker__cell" };
14333
14314
  const _hoisted_4$v = { class: "el-time-range-picker__header" };
14334
14315
  const _hoisted_5$m = { class: "el-time-range-picker__cell" };
14335
14316
  const _hoisted_6$h = { class: "el-time-range-picker__header" };
@@ -14339,7 +14320,7 @@
14339
14320
  const _component_time_spinner = vue.resolveComponent("time-spinner");
14340
14321
  return _ctx.actualVisible ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1a, [
14341
14322
  vue.createElementVNode("div", _hoisted_2$S, [
14342
- vue.createElementVNode("div", _hoisted_3$I, [
14323
+ vue.createElementVNode("div", _hoisted_3$J, [
14343
14324
  vue.createElementVNode("div", _hoisted_4$v, vue.toDisplayString(_ctx.t("el.datepicker.startTime")), 1),
14344
14325
  vue.createElementVNode("div", {
14345
14326
  class: vue.normalizeClass([{ "has-seconds": _ctx.showSeconds, "is-arrow": _ctx.arrowControl }, "el-time-range-picker__body el-time-panel__content"])
@@ -14592,7 +14573,7 @@
14592
14573
 
14593
14574
  const _hoisted_1$19 = { key: 0 };
14594
14575
  const _hoisted_2$R = ["onClick"];
14595
- const _hoisted_3$H = { class: "el-calendar-day" };
14576
+ const _hoisted_3$I = { class: "el-calendar-day" };
14596
14577
  function render$1G(_ctx, _cache, $props, $setup, $data, $options) {
14597
14578
  return vue.openBlock(), vue.createElementBlock("table", {
14598
14579
  class: vue.normalizeClass({
@@ -14622,7 +14603,7 @@
14622
14603
  class: vue.normalizeClass(_ctx.getCellClass(cell)),
14623
14604
  onClick: ($event) => _ctx.handlePickDay(cell)
14624
14605
  }, [
14625
- vue.createElementVNode("div", _hoisted_3$H, [
14606
+ vue.createElementVNode("div", _hoisted_3$I, [
14626
14607
  vue.renderSlot(_ctx.$slots, "dateCell", {
14627
14608
  data: _ctx.getSlotData(cell)
14628
14609
  }, () => [
@@ -14798,7 +14779,7 @@
14798
14779
 
14799
14780
  const _hoisted_1$18 = { class: "el-calendar" };
14800
14781
  const _hoisted_2$Q = { class: "el-calendar__header" };
14801
- const _hoisted_3$G = { class: "el-calendar__title" };
14782
+ const _hoisted_3$H = { class: "el-calendar__title" };
14802
14783
  const _hoisted_4$u = {
14803
14784
  key: 0,
14804
14785
  class: "el-calendar__button-group"
@@ -14818,7 +14799,7 @@
14818
14799
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$18, [
14819
14800
  vue.createElementVNode("div", _hoisted_2$Q, [
14820
14801
  vue.renderSlot(_ctx.$slots, "header", { date: _ctx.i18nDate }, () => [
14821
- vue.createElementVNode("div", _hoisted_3$G, vue.toDisplayString(_ctx.i18nDate), 1),
14802
+ vue.createElementVNode("div", _hoisted_3$H, vue.toDisplayString(_ctx.i18nDate), 1),
14822
14803
  _ctx.validatedRange.length === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$u, [
14823
14804
  vue.createVNode(_component_el_button_group, null, {
14824
14805
  default: vue.withCtx(() => [
@@ -15273,7 +15254,7 @@
15273
15254
 
15274
15255
  const _hoisted_1$16 = ["onMouseenter", "onClick"];
15275
15256
  const _hoisted_2$P = { class: "el-carousel__button" };
15276
- const _hoisted_3$F = { key: 0 };
15257
+ const _hoisted_3$G = { key: 0 };
15277
15258
  function render$1D(_ctx, _cache, $props, $setup, $data, $options) {
15278
15259
  const _component_arrow_left = vue.resolveComponent("arrow-left");
15279
15260
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -15360,7 +15341,7 @@
15360
15341
  onClick: vue.withModifiers(($event) => _ctx.handleIndicatorClick(index), ["stop"])
15361
15342
  }, [
15362
15343
  vue.createElementVNode("button", _hoisted_2$P, [
15363
- _ctx.hasLabel ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$F, vue.toDisplayString(item.label), 1)) : vue.createCommentVNode("v-if", true)
15344
+ _ctx.hasLabel ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$G, vue.toDisplayString(item.label), 1)) : vue.createCommentVNode("v-if", true)
15364
15345
  ])
15365
15346
  ], 42, _hoisted_1$16);
15366
15347
  }), 128))
@@ -15754,7 +15735,7 @@
15754
15735
 
15755
15736
  const _hoisted_1$14 = ["id", "aria-controls"];
15756
15737
  const _hoisted_2$O = ["tabindex", "role", "aria-checked"];
15757
- const _hoisted_3$E = /* @__PURE__ */ vue.createElementVNode("span", { class: "el-checkbox__inner" }, null, -1);
15738
+ const _hoisted_3$F = /* @__PURE__ */ vue.createElementVNode("span", { class: "el-checkbox__inner" }, null, -1);
15758
15739
  const _hoisted_4$t = ["aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
15759
15740
  const _hoisted_5$k = ["aria-hidden", "disabled", "value", "name", "tabindex"];
15760
15741
  const _hoisted_6$f = {
@@ -15783,7 +15764,7 @@
15783
15764
  role: _ctx.indeterminate ? "checkbox" : void 0,
15784
15765
  "aria-checked": _ctx.indeterminate ? "mixed" : false
15785
15766
  }, [
15786
- _hoisted_3$E,
15767
+ _hoisted_3$F,
15787
15768
  _ctx.trueLabel || _ctx.falseLabel ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("input", {
15788
15769
  key: 0,
15789
15770
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.model = $event),
@@ -15860,7 +15841,7 @@
15860
15841
 
15861
15842
  const _hoisted_1$13 = ["aria-checked", "aria-disabled"];
15862
15843
  const _hoisted_2$N = ["name", "tabindex", "disabled", "true-value", "false-value"];
15863
- const _hoisted_3$D = ["name", "tabindex", "disabled", "value"];
15844
+ const _hoisted_3$E = ["name", "tabindex", "disabled", "value"];
15864
15845
  function render$1A(_ctx, _cache, $props, $setup, $data, $options) {
15865
15846
  return vue.openBlock(), vue.createElementBlock("label", {
15866
15847
  class: vue.normalizeClass(["el-checkbox-button", [
@@ -15900,7 +15881,7 @@
15900
15881
  onChange: _cache[5] || (_cache[5] = (...args) => _ctx.handleChange && _ctx.handleChange(...args)),
15901
15882
  onFocus: _cache[6] || (_cache[6] = ($event) => _ctx.focus = true),
15902
15883
  onBlur: _cache[7] || (_cache[7] = ($event) => _ctx.focus = false)
15903
- }, null, 40, _hoisted_3$D)), [
15884
+ }, null, 40, _hoisted_3$E)), [
15904
15885
  [vue.vModelCheckbox, _ctx.model]
15905
15886
  ]),
15906
15887
  _ctx.$slots.default || _ctx.label ? (vue.openBlock(), vue.createElementBlock("span", {
@@ -16082,7 +16063,7 @@
16082
16063
 
16083
16064
  const _hoisted_1$12 = ["aria-checked", "aria-disabled", "tabindex"];
16084
16065
  const _hoisted_2$M = /* @__PURE__ */ vue.createElementVNode("span", { class: "el-radio__inner" }, null, -1);
16085
- const _hoisted_3$C = ["value", "name", "disabled"];
16066
+ const _hoisted_3$D = ["value", "name", "disabled"];
16086
16067
  function render$1z(_ctx, _cache, $props, $setup, $data, $options) {
16087
16068
  return vue.openBlock(), vue.createElementBlock("label", {
16088
16069
  class: vue.normalizeClass(["el-radio", {
@@ -16118,7 +16099,7 @@
16118
16099
  onFocus: _cache[1] || (_cache[1] = ($event) => _ctx.focus = true),
16119
16100
  onBlur: _cache[2] || (_cache[2] = ($event) => _ctx.focus = false),
16120
16101
  onChange: _cache[3] || (_cache[3] = (...args) => _ctx.handleChange && _ctx.handleChange(...args))
16121
- }, null, 40, _hoisted_3$C), [
16102
+ }, null, 40, _hoisted_3$D), [
16122
16103
  [vue.vModelRadio, _ctx.modelValue]
16123
16104
  ])
16124
16105
  ], 2),
@@ -16538,6 +16519,8 @@
16538
16519
  var script$1A = vue.defineComponent({
16539
16520
  name: "ElCascaderMenu",
16540
16521
  components: {
16522
+ Loading: loading,
16523
+ ElIcon: ElIcon$1,
16541
16524
  ElScrollbar: ElScrollbar$1,
16542
16525
  ElCascaderNode: script$1B
16543
16526
  },
@@ -16560,6 +16543,7 @@
16560
16543
  const panel = vue.inject(CASCADER_PANEL_INJECTION_KEY);
16561
16544
  const hoverZone = vue.ref(null);
16562
16545
  const isEmpty = vue.computed(() => !props.nodes.length);
16546
+ const isLoading = vue.computed(() => !panel.initialLoaded);
16563
16547
  const menuId = vue.computed(() => `cascader-menu-${id}-${props.index}`);
16564
16548
  const handleExpand = (e) => {
16565
16549
  activeNode = e.target;
@@ -16599,6 +16583,7 @@
16599
16583
  panel,
16600
16584
  hoverZone,
16601
16585
  isEmpty,
16586
+ isLoading,
16602
16587
  menuId,
16603
16588
  t,
16604
16589
  handleExpand,
@@ -16614,11 +16599,17 @@
16614
16599
  };
16615
16600
  const _hoisted_2$J = {
16616
16601
  key: 1,
16602
+ class: "el-cascader-menu__empty-text"
16603
+ };
16604
+ const _hoisted_3$C = {
16605
+ key: 2,
16617
16606
  ref: "hoverZone",
16618
16607
  class: "el-cascader-menu__hover-zone"
16619
16608
  };
16620
16609
  function render$1v(_ctx, _cache, $props, $setup, $data, $options) {
16621
16610
  const _component_el_cascader_node = vue.resolveComponent("el-cascader-node");
16611
+ const _component_loading = vue.resolveComponent("loading");
16612
+ const _component_el_icon = vue.resolveComponent("el-icon");
16622
16613
  const _component_el_scrollbar = vue.resolveComponent("el-scrollbar");
16623
16614
  return vue.openBlock(), vue.createBlock(_component_el_scrollbar, {
16624
16615
  key: _ctx.menuId,
@@ -16641,7 +16632,18 @@
16641
16632
  onExpand: _ctx.handleExpand
16642
16633
  }, null, 8, ["node", "menu-id", "onExpand"]);
16643
16634
  }), 128)),
16644
- _ctx.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$, vue.toDisplayString(_ctx.t("el.cascader.noData")), 1)) : ((_a = _ctx.panel) == null ? void 0 : _a.isHoverMenu) ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$J, null, 512)) : vue.createCommentVNode("v-if", true)
16635
+ _ctx.isLoading ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$$, [
16636
+ vue.createVNode(_component_el_icon, {
16637
+ size: "14",
16638
+ class: "is-loading"
16639
+ }, {
16640
+ default: vue.withCtx(() => [
16641
+ vue.createVNode(_component_loading)
16642
+ ]),
16643
+ _: 1
16644
+ }),
16645
+ vue.createTextVNode(" " + vue.toDisplayString(_ctx.t("el.cascader.loading")), 1)
16646
+ ])) : _ctx.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_2$J, vue.toDisplayString(_ctx.t("el.cascader.noData")), 1)) : ((_a = _ctx.panel) == null ? void 0 : _a.isHoverMenu) ? (vue.openBlock(), vue.createElementBlock("svg", _hoisted_3$C, null, 512)) : vue.createCommentVNode("v-if", true)
16645
16647
  ];
16646
16648
  }),
16647
16649
  _: 1
@@ -16899,10 +16901,10 @@
16899
16901
  },
16900
16902
  emits: [UPDATE_MODEL_EVENT, CHANGE_EVENT, "close", "expand-change"],
16901
16903
  setup(props, { emit, slots }) {
16902
- let initialLoaded = true;
16903
16904
  let manualChecked = false;
16904
16905
  const config = useCascaderConfig(props);
16905
16906
  let store = null;
16907
+ const initialLoaded = vue.ref(true);
16906
16908
  const menuList = vue.ref([]);
16907
16909
  const checkedValue = vue.ref(null);
16908
16910
  const menus = vue.ref([]);
@@ -16917,13 +16919,13 @@
16917
16919
  store = new Store(options, cfg);
16918
16920
  menus.value = [store.getNodes()];
16919
16921
  if (cfg.lazy && isEmpty(props.options)) {
16920
- initialLoaded = false;
16922
+ initialLoaded.value = false;
16921
16923
  lazyLoad(void 0, (list) => {
16922
16924
  if (list) {
16923
16925
  store = new Store(list, cfg);
16924
16926
  menus.value = [store.getNodes()];
16925
16927
  }
16926
- initialLoaded = true;
16928
+ initialLoaded.value = true;
16927
16929
  syncCheckedValue(false, true);
16928
16930
  });
16929
16931
  } else {
@@ -17004,7 +17006,7 @@
17004
17006
  const { modelValue } = props;
17005
17007
  const { lazy, multiple, checkStrictly } = config.value;
17006
17008
  const leafOnly = !checkStrictly;
17007
- if (!initialLoaded || manualChecked || !forced && isEqual$2(modelValue, checkedValue.value))
17009
+ if (!initialLoaded.value || manualChecked || !forced && isEqual$2(modelValue, checkedValue.value))
17008
17010
  return;
17009
17011
  if (lazy && !loaded) {
17010
17012
  const values = deduplicate(arrayFlat(coerceTruthyValueToArray(modelValue)));
@@ -17090,6 +17092,7 @@
17090
17092
  expandingNode,
17091
17093
  checkedNodes,
17092
17094
  isHoverMenu,
17095
+ initialLoaded,
17093
17096
  renderLabelFn,
17094
17097
  lazyLoad,
17095
17098
  expandNode,
@@ -19337,8 +19340,11 @@
19337
19340
  const _ColorPicker = script$1o;
19338
19341
  const ElColorPicker = _ColorPicker;
19339
19342
 
19343
+ const messageConfig = {};
19340
19344
  const configProviderProps = buildProps({
19341
- ...useLocaleProps,
19345
+ locale: {
19346
+ type: definePropType(Object)
19347
+ },
19342
19348
  size: {
19343
19349
  type: String,
19344
19350
  values: ["large", "default", "small"]
@@ -19346,6 +19352,9 @@
19346
19352
  button: {
19347
19353
  type: definePropType(Object)
19348
19354
  },
19355
+ message: {
19356
+ type: definePropType(Object)
19357
+ },
19349
19358
  zIndex: {
19350
19359
  type: Number
19351
19360
  }
@@ -19354,7 +19363,9 @@
19354
19363
  name: "ElConfigProvider",
19355
19364
  props: configProviderProps,
19356
19365
  setup(props, { slots }) {
19357
- provideLocale();
19366
+ vue.watch(() => props.message, (val) => {
19367
+ Object.assign(messageConfig, val != null ? val : {});
19368
+ }, { immediate: true, deep: true });
19358
19369
  const config = provideGlobalConfig(props);
19359
19370
  return () => vue.renderSlot(slots, "default", { config: config == null ? void 0 : config.value });
19360
19371
  }
@@ -19579,7 +19590,7 @@
19579
19590
  const cell = props.cell;
19580
19591
  if (picker == null ? void 0 : picker.ctx.slots.default) {
19581
19592
  const list = picker.ctx.slots.default(cell).filter((item) => {
19582
- return item.type.toString() !== "Symbol(Comment)";
19593
+ return item.patchFlag !== -2 && item.type.toString() !== "Symbol(Comment)";
19583
19594
  });
19584
19595
  if (list.length) {
19585
19596
  return list;
@@ -20180,8 +20191,8 @@
20180
20191
  const _hoisted_6$e = { class: "cell" };
20181
20192
  const _hoisted_7$a = { class: "cell" };
20182
20193
  const _hoisted_8$9 = { class: "cell" };
20183
- const _hoisted_9$7 = { class: "cell" };
20184
- const _hoisted_10$7 = { class: "cell" };
20194
+ const _hoisted_9$6 = { class: "cell" };
20195
+ const _hoisted_10$6 = { class: "cell" };
20185
20196
  const _hoisted_11$3 = /* @__PURE__ */ vue.createElementVNode("td", null, null, -1);
20186
20197
  const _hoisted_12$3 = /* @__PURE__ */ vue.createElementVNode("td", null, null, -1);
20187
20198
  function render$1b(_ctx, _cache, $props, $setup, $data, $options) {
@@ -20238,12 +20249,12 @@
20238
20249
  vue.createElementVNode("td", {
20239
20250
  class: vue.normalizeClass(["available", _ctx.getCellStyle(_ctx.startYear + 8)])
20240
20251
  }, [
20241
- vue.createElementVNode("a", _hoisted_9$7, vue.toDisplayString(_ctx.startYear + 8), 1)
20252
+ vue.createElementVNode("a", _hoisted_9$6, vue.toDisplayString(_ctx.startYear + 8), 1)
20242
20253
  ], 2),
20243
20254
  vue.createElementVNode("td", {
20244
20255
  class: vue.normalizeClass(["available", _ctx.getCellStyle(_ctx.startYear + 9)])
20245
20256
  }, [
20246
- vue.createElementVNode("a", _hoisted_10$7, vue.toDisplayString(_ctx.startYear + 9), 1)
20257
+ vue.createElementVNode("a", _hoisted_10$6, vue.toDisplayString(_ctx.startYear + 9), 1)
20247
20258
  ], 2),
20248
20259
  _hoisted_11$3,
20249
20260
  _hoisted_12$3
@@ -20664,8 +20675,8 @@
20664
20675
  const _hoisted_6$d = { class: "el-date-picker__editor-wrap" };
20665
20676
  const _hoisted_7$9 = { class: "el-date-picker__editor-wrap" };
20666
20677
  const _hoisted_8$8 = ["aria-label"];
20667
- const _hoisted_9$6 = ["aria-label"];
20668
- const _hoisted_10$6 = ["aria-label"];
20678
+ const _hoisted_9$5 = ["aria-label"];
20679
+ const _hoisted_10$5 = ["aria-label"];
20669
20680
  const _hoisted_11$2 = ["aria-label"];
20670
20681
  const _hoisted_12$2 = { class: "el-picker-panel__content" };
20671
20682
  const _hoisted_13$2 = { class: "el-picker-panel__footer" };
@@ -20763,7 +20774,7 @@
20763
20774
  ]),
20764
20775
  _: 1
20765
20776
  })
20766
- ], 8, _hoisted_9$6), [
20777
+ ], 8, _hoisted_9$5), [
20767
20778
  [vue.vShow, _ctx.currentView === "date"]
20768
20779
  ]),
20769
20780
  vue.createElementVNode("span", {
@@ -20790,7 +20801,7 @@
20790
20801
  ]),
20791
20802
  _: 1
20792
20803
  })
20793
- ], 8, _hoisted_10$6),
20804
+ ], 8, _hoisted_10$5),
20794
20805
  vue.withDirectives(vue.createElementVNode("button", {
20795
20806
  type: "button",
20796
20807
  "aria-label": _ctx.t(`el.datepicker.nextMonth`),
@@ -21299,8 +21310,8 @@
21299
21310
  const _hoisted_6$c = { class: "el-date-range-picker__editors-wrap" };
21300
21311
  const _hoisted_7$8 = { class: "el-date-range-picker__time-picker-wrap" };
21301
21312
  const _hoisted_8$7 = { class: "el-date-range-picker__time-picker-wrap" };
21302
- const _hoisted_9$5 = { class: "el-date-range-picker__editors-wrap is-right" };
21303
- const _hoisted_10$5 = { class: "el-date-range-picker__time-picker-wrap" };
21313
+ const _hoisted_9$4 = { class: "el-date-range-picker__editors-wrap is-right" };
21314
+ const _hoisted_10$4 = { class: "el-date-range-picker__time-picker-wrap" };
21304
21315
  const _hoisted_11$1 = { class: "el-date-range-picker__time-picker-wrap" };
21305
21316
  const _hoisted_12$1 = { class: "el-picker-panel__content el-date-range-picker__content is-left" };
21306
21317
  const _hoisted_13$1 = { class: "el-date-range-picker__header" };
@@ -21390,8 +21401,8 @@
21390
21401
  _: 1
21391
21402
  })
21392
21403
  ]),
21393
- vue.createElementVNode("span", _hoisted_9$5, [
21394
- vue.createElementVNode("span", _hoisted_10$5, [
21404
+ vue.createElementVNode("span", _hoisted_9$4, [
21405
+ vue.createElementVNode("span", _hoisted_10$4, [
21395
21406
  vue.createVNode(_component_el_input, {
21396
21407
  size: "small",
21397
21408
  class: "el-date-range-picker__editor",
@@ -21774,8 +21785,8 @@
21774
21785
  const _hoisted_6$b = { class: "el-date-range-picker__header" };
21775
21786
  const _hoisted_7$7 = ["disabled"];
21776
21787
  const _hoisted_8$6 = { class: "el-picker-panel__content el-date-range-picker__content is-right" };
21777
- const _hoisted_9$4 = { class: "el-date-range-picker__header" };
21778
- const _hoisted_10$4 = ["disabled"];
21788
+ const _hoisted_9$3 = { class: "el-date-range-picker__header" };
21789
+ const _hoisted_10$3 = ["disabled"];
21779
21790
  function render$18(_ctx, _cache, $props, $setup, $data, $options) {
21780
21791
  const _component_d_arrow_left = vue.resolveComponent("d-arrow-left");
21781
21792
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -21844,7 +21855,7 @@
21844
21855
  }, null, 8, ["date", "min-date", "max-date", "range-state", "disabled-date", "onChangerange", "onPick", "onSelect"])
21845
21856
  ]),
21846
21857
  vue.createElementVNode("div", _hoisted_8$6, [
21847
- vue.createElementVNode("div", _hoisted_9$4, [
21858
+ vue.createElementVNode("div", _hoisted_9$3, [
21848
21859
  _ctx.unlinkPanels ? (vue.openBlock(), vue.createElementBlock("button", {
21849
21860
  key: 0,
21850
21861
  type: "button",
@@ -21858,7 +21869,7 @@
21858
21869
  ]),
21859
21870
  _: 1
21860
21871
  })
21861
- ], 10, _hoisted_10$4)) : vue.createCommentVNode("v-if", true),
21872
+ ], 10, _hoisted_10$3)) : vue.createCommentVNode("v-if", true),
21862
21873
  vue.createElementVNode("button", {
21863
21874
  type: "button",
21864
21875
  class: "el-picker-panel__icon-btn d-arrow-right",
@@ -24136,11 +24147,11 @@
24136
24147
  "stop-color": "#E9EBEF",
24137
24148
  offset: "100%"
24138
24149
  }, null, -1);
24139
- const _hoisted_9$3 = [
24150
+ const _hoisted_9$2 = [
24140
24151
  _hoisted_7$6,
24141
24152
  _hoisted_8$5
24142
24153
  ];
24143
- const _hoisted_10$3 = ["id"];
24154
+ const _hoisted_10$2 = ["id"];
24144
24155
  const _hoisted_11 = {
24145
24156
  id: "Illustrations",
24146
24157
  stroke: "none",
@@ -24220,14 +24231,14 @@
24220
24231
  y1: "9.5%",
24221
24232
  x2: "100%",
24222
24233
  y2: "90.5%"
24223
- }, _hoisted_9$3, 8, _hoisted_6$a),
24234
+ }, _hoisted_9$2, 8, _hoisted_6$a),
24224
24235
  vue.createElementVNode("rect", {
24225
24236
  id: `path-3-${_ctx.id}`,
24226
24237
  x: "0",
24227
24238
  y: "0",
24228
24239
  width: "17",
24229
24240
  height: "36"
24230
- }, null, 8, _hoisted_10$3)
24241
+ }, null, 8, _hoisted_10$2)
24231
24242
  ]),
24232
24243
  vue.createElementVNode("g", _hoisted_11, [
24233
24244
  vue.createElementVNode("g", _hoisted_12, [
@@ -24431,6 +24442,17 @@
24431
24442
  validate(() => ({}));
24432
24443
  }
24433
24444
  });
24445
+ const formSize = useSize();
24446
+ const prefix = "el-form";
24447
+ const formKls = vue.computed(() => {
24448
+ const { labelPosition, inline } = props;
24449
+ return [
24450
+ prefix,
24451
+ `${prefix}--${formSize.value}`,
24452
+ labelPosition ? `${prefix}--label-${labelPosition}` : "",
24453
+ inline ? `${prefix}--inline` : ""
24454
+ ];
24455
+ });
24434
24456
  const addField = (field) => {
24435
24457
  if (field) {
24436
24458
  fields.push(field);
@@ -24524,6 +24546,7 @@
24524
24546
  });
24525
24547
  vue.provide(elFormKey, elForm);
24526
24548
  return {
24549
+ formKls,
24527
24550
  validate,
24528
24551
  resetFields,
24529
24552
  clearValidate,
@@ -24535,10 +24558,7 @@
24535
24558
 
24536
24559
  function render$S(_ctx, _cache, $props, $setup, $data, $options) {
24537
24560
  return vue.openBlock(), vue.createElementBlock("form", {
24538
- class: vue.normalizeClass(["el-form", [
24539
- _ctx.labelPosition ? "el-form--label-" + _ctx.labelPosition : "",
24540
- { "el-form--inline": _ctx.inline }
24541
- ]])
24561
+ class: vue.normalizeClass(_ctx.formKls)
24542
24562
  }, [
24543
24563
  vue.renderSlot(_ctx.$slots, "default")
24544
24564
  ], 2);
@@ -26944,6 +26964,7 @@
26944
26964
  currentValue: props.modelValue,
26945
26965
  userInput: null
26946
26966
  });
26967
+ const { formItem } = useFormItem();
26947
26968
  const minDisabled = vue.computed(() => _decrease(props.modelValue) < props.min);
26948
26969
  const maxDisabled = vue.computed(() => _increase(props.modelValue) > props.max);
26949
26970
  const numPrecision = vue.computed(() => {
@@ -27019,6 +27040,7 @@
27019
27040
  setCurrentValue(newVal);
27020
27041
  };
27021
27042
  const setCurrentValue = (newVal) => {
27043
+ var _a;
27022
27044
  const oldVal = data.currentValue;
27023
27045
  if (typeof newVal === "number" && props.precision !== void 0) {
27024
27046
  newVal = toPrecision(newVal, props.precision);
@@ -27036,6 +27058,7 @@
27036
27058
  emit("update:modelValue", newVal);
27037
27059
  emit("input", newVal);
27038
27060
  emit("change", newVal, oldVal);
27061
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change");
27039
27062
  data.currentValue = newVal;
27040
27063
  };
27041
27064
  const handleInput = (value) => {
@@ -27056,6 +27079,14 @@
27056
27079
  var _a, _b;
27057
27080
  (_b = (_a = input.value) == null ? void 0 : _a.blur) == null ? void 0 : _b.call(_a);
27058
27081
  };
27082
+ const handleFocus = (event) => {
27083
+ emit("focus", event);
27084
+ };
27085
+ const handleBlur = (event) => {
27086
+ var _a;
27087
+ emit("blur", event);
27088
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur");
27089
+ };
27059
27090
  vue.watch(() => props.modelValue, (value) => {
27060
27091
  let newVal = Number(value);
27061
27092
  if (!isNaN(newVal)) {
@@ -27109,7 +27140,9 @@
27109
27140
  maxDisabled,
27110
27141
  minDisabled,
27111
27142
  focus,
27112
- blur
27143
+ blur,
27144
+ handleFocus,
27145
+ handleBlur
27113
27146
  };
27114
27147
  }
27115
27148
  });
@@ -27130,7 +27163,7 @@
27130
27163
  { "is-without-controls": !_ctx.controls },
27131
27164
  { "is-controls-right": _ctx.controlsAtRight }
27132
27165
  ]),
27133
- onDragstart: _cache[4] || (_cache[4] = vue.withModifiers(() => {
27166
+ onDragstart: _cache[2] || (_cache[2] = vue.withModifiers(() => {
27134
27167
  }, ["prevent"]))
27135
27168
  }, [
27136
27169
  _ctx.controls ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("span", {
@@ -27175,15 +27208,16 @@
27175
27208
  min: _ctx.min,
27176
27209
  name: _ctx.name,
27177
27210
  label: _ctx.label,
27211
+ "validate-event": false,
27178
27212
  onKeydown: [
27179
27213
  vue.withKeys(vue.withModifiers(_ctx.increase, ["prevent"]), ["up"]),
27180
27214
  vue.withKeys(vue.withModifiers(_ctx.decrease, ["prevent"]), ["down"])
27181
27215
  ],
27182
- onBlur: _cache[2] || (_cache[2] = (event) => _ctx.$emit("blur", event)),
27183
- onFocus: _cache[3] || (_cache[3] = (event) => _ctx.$emit("focus", event)),
27216
+ onBlur: _ctx.handleBlur,
27217
+ onFocus: _ctx.handleFocus,
27184
27218
  onInput: _ctx.handleInput,
27185
27219
  onChange: _ctx.handleInputChange
27186
- }, null, 8, ["step", "model-value", "placeholder", "disabled", "size", "max", "min", "name", "label", "onKeydown", "onInput", "onChange"])
27220
+ }, null, 8, ["step", "model-value", "placeholder", "disabled", "size", "max", "min", "name", "label", "onKeydown", "onBlur", "onFocus", "onInput", "onChange"])
27187
27221
  ], 34);
27188
27222
  }
27189
27223
 
@@ -31141,6 +31175,10 @@
31141
31175
  scoreTemplate: {
31142
31176
  type: String,
31143
31177
  default: "{value}"
31178
+ },
31179
+ size: {
31180
+ type: String,
31181
+ validator: isValidComponentSize
31144
31182
  }
31145
31183
  });
31146
31184
  const rateEmits = {
@@ -31169,9 +31207,12 @@
31169
31207
  emits: rateEmits,
31170
31208
  setup(props, { emit }) {
31171
31209
  const elForm = vue.inject(elFormKey, {});
31210
+ const rateSize = useSize();
31172
31211
  const currentValue = vue.ref(props.modelValue);
31173
31212
  const hoverIndex = vue.ref(-1);
31174
31213
  const pointerAtLeftHalf = vue.ref(true);
31214
+ const prefix = "el-rate";
31215
+ const rateKls = vue.computed(() => [prefix, `${prefix}--${rateSize.value}`]);
31175
31216
  const rateDisabled = vue.computed(() => props.disabled || elForm.disabled);
31176
31217
  const text = vue.computed(() => {
31177
31218
  let result = "";
@@ -31319,6 +31360,7 @@
31319
31360
  decimalStyle,
31320
31361
  decimalIconComponent,
31321
31362
  iconComponents,
31363
+ rateKls,
31322
31364
  showDecimalIcon,
31323
31365
  getIconStyle,
31324
31366
  selectValue,
@@ -31334,7 +31376,7 @@
31334
31376
  function render$v(_ctx, _cache, $props, $setup, $data, $options) {
31335
31377
  const _component_el_icon = vue.resolveComponent("el-icon");
31336
31378
  return vue.openBlock(), vue.createElementBlock("div", {
31337
- class: "el-rate",
31379
+ class: vue.normalizeClass(_ctx.rateKls),
31338
31380
  role: "slider",
31339
31381
  "aria-valuenow": _ctx.currentValue,
31340
31382
  "aria-valuetext": _ctx.text,
@@ -31378,7 +31420,7 @@
31378
31420
  class: "el-rate__text",
31379
31421
  style: vue.normalizeStyle({ color: _ctx.textColor })
31380
31422
  }, vue.toDisplayString(_ctx.text), 5)) : vue.createCommentVNode("v-if", true)
31381
- ], 40, _hoisted_1$m);
31423
+ ], 42, _hoisted_1$m);
31382
31424
  }
31383
31425
 
31384
31426
  script$A.render = render$v;
@@ -33143,7 +33185,7 @@
33143
33185
  column: getEstimatedTotalWidth,
33144
33186
  row: getEstimatedTotalHeight
33145
33187
  };
33146
- const getOffset = (props, index, alignment, scrollOffset, cache, type, scrollBarWidth) => {
33188
+ const getOffset$1 = (props, index, alignment, scrollOffset, cache, type, scrollBarWidth) => {
33147
33189
  const [size, estimatedSizeAssociates] = [
33148
33190
  type === "row" ? props.height : props.width,
33149
33191
  ACCESS_ESTIMATED_SIZE_KEY_MAP[type]
@@ -33193,8 +33235,8 @@
33193
33235
  const item = getItemFromCache(props, idx, cache, "row");
33194
33236
  return [item.size, item.offset];
33195
33237
  },
33196
- getColumnOffset: (props, columnIndex, alignment, scrollLeft, cache, scrollBarWidth) => getOffset(props, columnIndex, alignment, scrollLeft, cache, "column", scrollBarWidth),
33197
- getRowOffset: (props, rowIndex, alignment, scrollTop, cache, scrollBarWidth) => getOffset(props, rowIndex, alignment, scrollTop, cache, "row", scrollBarWidth),
33238
+ getColumnOffset: (props, columnIndex, alignment, scrollLeft, cache, scrollBarWidth) => getOffset$1(props, columnIndex, alignment, scrollLeft, cache, "column", scrollBarWidth),
33239
+ getRowOffset: (props, rowIndex, alignment, scrollTop, cache, scrollBarWidth) => getOffset$1(props, rowIndex, alignment, scrollTop, cache, "row", scrollBarWidth),
33198
33240
  getColumnStartIndexForOffset: (props, scrollLeft, cache) => findItem(props, cache, scrollLeft, "column"),
33199
33241
  getColumnStopIndexForStartIndex: (props, startIndex, scrollLeft, cache) => {
33200
33242
  const item = getItemFromCache(props, startIndex, cache, "column");
@@ -34361,8 +34403,8 @@
34361
34403
  const _hoisted_6$6 = { class: "el-select-v2__selected-item el-select-v2__input-wrapper" };
34362
34404
  const _hoisted_7$4 = ["id", "aria-labelledby", "aria-expanded", "autocomplete", "disabled", "name", "readonly", "unselectable"];
34363
34405
  const _hoisted_8$4 = ["textContent"];
34364
- const _hoisted_9$2 = { class: "el-select-v2__suffix" };
34365
- const _hoisted_10$2 = { class: "el-select-v2__empty" };
34406
+ const _hoisted_9$1 = { class: "el-select-v2__suffix" };
34407
+ const _hoisted_10$1 = { class: "el-select-v2__empty" };
34366
34408
  function render$r(_ctx, _cache, $props, $setup, $data, $options) {
34367
34409
  const _component_el_tag = vue.resolveComponent("el-tag");
34368
34410
  const _component_el_icon = vue.resolveComponent("el-icon");
@@ -34569,7 +34611,7 @@
34569
34611
  "is-transparent": _ctx.states.isComposing || (_ctx.placeholder && _ctx.multiple ? _ctx.modelValue.length === 0 : !_ctx.hasModelValue)
34570
34612
  })
34571
34613
  }, vue.toDisplayString(_ctx.currentPlaceholder), 3)) : vue.createCommentVNode("v-if", true),
34572
- vue.createElementVNode("span", _hoisted_9$2, [
34614
+ vue.createElementVNode("span", _hoisted_9$1, [
34573
34615
  _ctx.iconComponent ? vue.withDirectives((vue.openBlock(), vue.createBlock(_component_el_icon, {
34574
34616
  key: 0,
34575
34617
  class: vue.normalizeClass(["el-select-v2__caret", "el-input__icon", _ctx.iconReverse])
@@ -34617,7 +34659,7 @@
34617
34659
  ]),
34618
34660
  empty: vue.withCtx(() => [
34619
34661
  vue.renderSlot(_ctx.$slots, "empty", {}, () => [
34620
- vue.createElementVNode("p", _hoisted_10$2, vue.toDisplayString(_ctx.emptyText ? _ctx.emptyText : ""), 1)
34662
+ vue.createElementVNode("p", _hoisted_10$1, vue.toDisplayString(_ctx.emptyText ? _ctx.emptyText : ""), 1)
34621
34663
  ])
34622
34664
  ]),
34623
34665
  _: 3
@@ -35270,9 +35312,13 @@
35270
35312
  type: Boolean,
35271
35313
  default: true
35272
35314
  },
35315
+ size: {
35316
+ type: String,
35317
+ validator: isValidComponentSize
35318
+ },
35273
35319
  inputSize: {
35274
35320
  type: String,
35275
- default: "small"
35321
+ validator: isValidComponentSize
35276
35322
  },
35277
35323
  showStops: {
35278
35324
  type: Boolean,
@@ -35342,6 +35388,15 @@
35342
35388
  setSecondValue
35343
35389
  } = useSlide(props, initData, emit);
35344
35390
  const { stops, getStopStyle } = useStops(props, initData, minValue, maxValue);
35391
+ const sliderWrapperSize = useSize();
35392
+ const sliderInputSize = vue.computed(() => props.inputSize || sliderWrapperSize.value);
35393
+ const prefix = "el-slider";
35394
+ const sliderKls = vue.computed(() => [
35395
+ prefix,
35396
+ `${prefix}--${sliderWrapperSize.value}`,
35397
+ props.vertical ? "is-vertical" : "",
35398
+ props.showInput ? "el-slider--with-input" : ""
35399
+ ]);
35345
35400
  const markList = useMarks(props);
35346
35401
  useWatch(props, initData, minValue, maxValue, emit, elFormItem);
35347
35402
  const precision = vue.computed(() => {
@@ -35384,7 +35439,10 @@
35384
35439
  setSecondValue,
35385
35440
  stops,
35386
35441
  markList,
35387
- sliderWrapper
35442
+ sliderWrapper,
35443
+ sliderWrapperSize,
35444
+ sliderInputSize,
35445
+ sliderKls
35388
35446
  };
35389
35447
  }
35390
35448
  });
@@ -35495,33 +35553,18 @@
35495
35553
  const _hoisted_2$e = { key: 1 };
35496
35554
  const _hoisted_3$c = { class: "el-slider__marks" };
35497
35555
  function render$m(_ctx, _cache, $props, $setup, $data, $options) {
35498
- const _component_el_input_number = vue.resolveComponent("el-input-number");
35499
35556
  const _component_slider_button = vue.resolveComponent("slider-button");
35500
35557
  const _component_slider_marker = vue.resolveComponent("slider-marker");
35558
+ const _component_el_input_number = vue.resolveComponent("el-input-number");
35501
35559
  return vue.openBlock(), vue.createElementBlock("div", {
35502
35560
  ref: "sliderWrapper",
35503
- class: vue.normalizeClass(["el-slider", { "is-vertical": _ctx.vertical, "el-slider--with-input": _ctx.showInput }]),
35561
+ class: vue.normalizeClass(_ctx.sliderKls),
35504
35562
  role: "slider",
35505
35563
  "aria-valuemin": _ctx.min,
35506
35564
  "aria-valuemax": _ctx.max,
35507
35565
  "aria-orientation": _ctx.vertical ? "vertical" : "horizontal",
35508
35566
  "aria-disabled": _ctx.sliderDisabled
35509
35567
  }, [
35510
- _ctx.showInput && !_ctx.range ? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
35511
- key: 0,
35512
- ref: "input",
35513
- "model-value": _ctx.firstValue,
35514
- class: "el-slider__input",
35515
- step: _ctx.step,
35516
- disabled: _ctx.sliderDisabled,
35517
- controls: _ctx.showInputControls,
35518
- min: _ctx.min,
35519
- max: _ctx.max,
35520
- debounce: _ctx.debounce,
35521
- size: _ctx.inputSize,
35522
- "onUpdate:modelValue": _ctx.setFirstValue,
35523
- onChange: _ctx.emitChange
35524
- }, null, 8, ["model-value", "step", "disabled", "controls", "min", "max", "debounce", "size", "onUpdate:modelValue", "onChange"])) : vue.createCommentVNode("v-if", true),
35525
35568
  vue.createElementVNode("div", {
35526
35569
  ref: "slider",
35527
35570
  class: vue.normalizeClass(["el-slider__runway", { "show-input": _ctx.showInput && !_ctx.range, disabled: _ctx.sliderDisabled }]),
@@ -35576,7 +35619,22 @@
35576
35619
  }), 128))
35577
35620
  ])
35578
35621
  ], 64)) : vue.createCommentVNode("v-if", true)
35579
- ], 6)
35622
+ ], 6),
35623
+ _ctx.showInput && !_ctx.range ? (vue.openBlock(), vue.createBlock(_component_el_input_number, {
35624
+ key: 0,
35625
+ ref: "input",
35626
+ "model-value": _ctx.firstValue,
35627
+ class: "el-slider__input",
35628
+ step: _ctx.step,
35629
+ disabled: _ctx.sliderDisabled,
35630
+ controls: _ctx.showInputControls,
35631
+ min: _ctx.min,
35632
+ max: _ctx.max,
35633
+ debounce: _ctx.debounce,
35634
+ size: _ctx.sliderInputSize,
35635
+ "onUpdate:modelValue": _ctx.setFirstValue,
35636
+ onChange: _ctx.emitChange
35637
+ }, null, 8, ["model-value", "step", "disabled", "controls", "min", "max", "debounce", "size", "onUpdate:modelValue", "onChange"])) : vue.createCommentVNode("v-if", true)
35580
35638
  ], 10, _hoisted_1$h);
35581
35639
  }
35582
35640
 
@@ -36157,6 +36215,10 @@
36157
36215
  },
36158
36216
  beforeChange: {
36159
36217
  type: definePropType(Function)
36218
+ },
36219
+ size: {
36220
+ type: String,
36221
+ validator: isValidComponentSize
36160
36222
  }
36161
36223
  });
36162
36224
  const switchEmits = {
@@ -36174,9 +36236,17 @@
36174
36236
  setup(props, { emit }) {
36175
36237
  const { formItem } = useFormItem();
36176
36238
  const switchDisabled = useDisabled$1(vue.computed(() => props.loading));
36239
+ const switchSize = useSize();
36177
36240
  const isModelValue = vue.ref(props.modelValue !== false);
36178
36241
  const input = vue.ref();
36179
36242
  const core = vue.ref();
36243
+ const prefix = "el-switch";
36244
+ const switchKls = vue.computed(() => [
36245
+ prefix,
36246
+ `${prefix}--${switchSize.value}`,
36247
+ switchDisabled.value ? "is-disabled" : "",
36248
+ checked.value ? "is-checked" : ""
36249
+ ]);
36180
36250
  vue.watch(() => props.modelValue, () => {
36181
36251
  isModelValue.value = true;
36182
36252
  });
@@ -36260,6 +36330,7 @@
36260
36330
  core,
36261
36331
  switchDisabled,
36262
36332
  checked,
36333
+ switchKls,
36263
36334
  handleChange,
36264
36335
  switchValue,
36265
36336
  focus
@@ -36282,7 +36353,7 @@
36282
36353
  const _component_el_icon = vue.resolveComponent("el-icon");
36283
36354
  const _component_loading = vue.resolveComponent("loading");
36284
36355
  return vue.openBlock(), vue.createElementBlock("div", {
36285
- class: vue.normalizeClass(["el-switch", { "is-disabled": _ctx.switchDisabled, "is-checked": _ctx.checked }]),
36356
+ class: vue.normalizeClass(_ctx.switchKls),
36286
36357
  role: "switch",
36287
36358
  "aria-checked": _ctx.checked,
36288
36359
  "aria-disabled": _ctx.switchDisabled,
@@ -36533,18 +36604,22 @@
36533
36604
  return options;
36534
36605
  }
36535
36606
  function parseWidth(width) {
36607
+ if (width === "")
36608
+ return width;
36536
36609
  if (width !== void 0) {
36537
36610
  width = parseInt(width, 10);
36538
- if (isNaN(width)) {
36539
- width = null;
36611
+ if (Number.isNaN(width)) {
36612
+ width = "";
36540
36613
  }
36541
36614
  }
36542
- return +width;
36615
+ return width;
36543
36616
  }
36544
36617
  function parseMinWidth(minWidth) {
36545
- if (typeof minWidth !== "undefined") {
36618
+ if (minWidth === "")
36619
+ return minWidth;
36620
+ if (minWidth !== void 0) {
36546
36621
  minWidth = parseWidth(minWidth);
36547
- if (isNaN(minWidth)) {
36622
+ if (Number.isNaN(minWidth)) {
36548
36623
  minWidth = 80;
36549
36624
  }
36550
36625
  }
@@ -36679,6 +36754,87 @@
36679
36754
  on(trigger, "mouseleave", removePopper);
36680
36755
  return popperInstance;
36681
36756
  }
36757
+ const isFixedColumn = (index, fixed, store, realColumns) => {
36758
+ let start = 0;
36759
+ let after = index;
36760
+ if (realColumns) {
36761
+ for (let i = 0; i < index; i++) {
36762
+ start += realColumns[i].colSpan;
36763
+ }
36764
+ after = start + realColumns[index].colSpan - 1;
36765
+ } else {
36766
+ start = index;
36767
+ }
36768
+ let fixedLayout;
36769
+ const columns = store.states.columns;
36770
+ switch (fixed) {
36771
+ case "left":
36772
+ if (after < store.states.fixedLeafColumnsLength.value) {
36773
+ fixedLayout = "left";
36774
+ }
36775
+ break;
36776
+ case "right":
36777
+ if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
36778
+ fixedLayout = "right";
36779
+ }
36780
+ break;
36781
+ default:
36782
+ if (after < store.states.fixedLeafColumnsLength.value) {
36783
+ fixedLayout = "left";
36784
+ } else if (start >= columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
36785
+ fixedLayout = "right";
36786
+ }
36787
+ }
36788
+ return fixedLayout ? {
36789
+ direction: fixedLayout,
36790
+ start,
36791
+ after
36792
+ } : {};
36793
+ };
36794
+ const getFixedColumnsClass = (index, fixed, store, realColumns) => {
36795
+ const classes = [];
36796
+ const { direction, start } = isFixedColumn(index, fixed, store, realColumns);
36797
+ if (direction) {
36798
+ const isLeft = direction === "left";
36799
+ classes.push(`el-table-fixed-column--${direction}`);
36800
+ if (isLeft && start === store.states.fixedLeafColumnsLength.value - 1) {
36801
+ classes.push("is-last-column");
36802
+ } else if (!isLeft && start === store.states.columns.value.length - store.states.rightFixedLeafColumnsLength.value) {
36803
+ classes.push("is-first-column");
36804
+ }
36805
+ }
36806
+ return classes;
36807
+ };
36808
+ function getOffset(offset, column) {
36809
+ return offset + (Number.isNaN(column.realWidth) ? Number(column.width) : column.realWidth);
36810
+ }
36811
+ const getFixedColumnOffset = (index, fixed, store, realColumns) => {
36812
+ const { direction, start = 0 } = isFixedColumn(index, fixed, store, realColumns);
36813
+ if (!direction) {
36814
+ return;
36815
+ }
36816
+ const styles = {};
36817
+ const isLeft = direction === "left";
36818
+ const columns = store.states.columns.value;
36819
+ if (isLeft) {
36820
+ styles.left = columns.slice(0, index).reduce(getOffset, 0);
36821
+ } else {
36822
+ styles.right = columns.slice(start + 1).reverse().reduce(getOffset, 0);
36823
+ }
36824
+ return styles;
36825
+ };
36826
+ const ensureRightFixedStyle = (style, hasGutter) => {
36827
+ if (hasGutter && style && !Number.isNaN(style.right)) {
36828
+ style.right += scrollbarWidth();
36829
+ }
36830
+ };
36831
+ const ensurePosition = (style, key) => {
36832
+ if (!style)
36833
+ return;
36834
+ if (!Number.isNaN(style[key])) {
36835
+ style[key] = `${style[key]}px`;
36836
+ }
36837
+ };
36682
36838
 
36683
36839
  function useExpand(watcherData) {
36684
36840
  const instance = vue.getCurrentInstance();
@@ -37664,6 +37820,7 @@
37664
37820
  this.footerHeight = vue.ref(44);
37665
37821
  this.viewportHeight = vue.ref(null);
37666
37822
  this.bodyHeight = vue.ref(null);
37823
+ this.bodyScrollHeight = vue.ref(0);
37667
37824
  this.fixedBodyHeight = vue.ref(null);
37668
37825
  this.gutterWidth = scrollbarWidth();
37669
37826
  for (const name in options) {
@@ -37693,8 +37850,7 @@
37693
37850
  if (this.bodyHeight.value === null) {
37694
37851
  scrollY = false;
37695
37852
  } else {
37696
- const body = bodyWrapper.querySelector(".el-table__body");
37697
- scrollY = body.offsetHeight > this.bodyHeight.value;
37853
+ scrollY = bodyWrapper.scrollHeight > this.bodyHeight.value;
37698
37854
  }
37699
37855
  this.scrollY.value = scrollY;
37700
37856
  return prevScrollY !== scrollY;
@@ -37733,9 +37889,10 @@
37733
37889
  return flattenColumns;
37734
37890
  }
37735
37891
  updateElsHeight() {
37892
+ var _a;
37736
37893
  if (!this.table.$ready)
37737
37894
  return vue.nextTick(() => this.updateElsHeight());
37738
- const { headerWrapper, appendWrapper, footerWrapper } = this.table.refs;
37895
+ const { headerWrapper, appendWrapper, footerWrapper, bodyWrapper } = this.table.refs;
37739
37896
  this.appendHeight.value = appendWrapper ? appendWrapper.offsetHeight : 0;
37740
37897
  if (this.showHeader && !headerWrapper)
37741
37898
  return;
@@ -37748,7 +37905,11 @@
37748
37905
  const tableHeight = this.tableHeight.value = this.table.vnode.el.clientHeight;
37749
37906
  const footerHeight = this.footerHeight.value = footerWrapper ? footerWrapper.offsetHeight : 0;
37750
37907
  if (this.height.value !== null) {
37908
+ if (this.bodyHeight.value === null) {
37909
+ requestAnimationFrame(() => this.updateElsHeight());
37910
+ }
37751
37911
  this.bodyHeight.value = tableHeight - headerHeight - footerHeight + (footerWrapper ? 1 : 0);
37912
+ this.bodyScrollHeight.value = (_a = bodyWrapper.querySelector(".el-table__body")) == null ? void 0 : _a.scrollHeight;
37752
37913
  }
37753
37914
  this.fixedBodyHeight.value = this.scrollX.value ? this.bodyHeight.value - this.gutterWidth : this.bodyHeight.value;
37754
37915
  this.viewportHeight.value = this.scrollX.value ? tableHeight - this.gutterWidth : tableHeight;
@@ -38365,21 +38526,6 @@
38365
38526
  function useStyle$2(props) {
38366
38527
  const instance = vue.getCurrentInstance();
38367
38528
  const parent = instance.parent;
38368
- const storeData = parent.store.states;
38369
- const isCellHidden = (index, columns) => {
38370
- let start = 0;
38371
- for (let i = 0; i < index; i++) {
38372
- start += columns[i].colSpan;
38373
- }
38374
- const after = start + columns[index].colSpan - 1;
38375
- if (props.fixed === "left") {
38376
- return after >= storeData.fixedLeafColumnsLength.value;
38377
- } else if (props.fixed === "right") {
38378
- return start < storeData.columns.value.length - storeData.rightFixedLeafColumnsLength.value;
38379
- } else {
38380
- return after < storeData.fixedLeafColumnsLength.value || start >= storeData.columns.value.length - storeData.rightFixedLeafColumnsLength.value;
38381
- }
38382
- };
38383
38529
  const getHeaderRowStyle = (rowIndex) => {
38384
38530
  const headerRowStyle = parent.props.headerRowStyle;
38385
38531
  if (typeof headerRowStyle === "function") {
@@ -38397,29 +38543,33 @@
38397
38543
  }
38398
38544
  return classes.join(" ");
38399
38545
  };
38400
- const getHeaderCellStyle = (rowIndex, columnIndex, row, column) => {
38401
- const headerCellStyle = parent.props.headerCellStyle;
38402
- if (typeof headerCellStyle === "function") {
38403
- return headerCellStyle.call(null, {
38546
+ const getHeaderCellStyle = (rowIndex, columnIndex, row, column, hasGutter) => {
38547
+ var _a;
38548
+ let headerCellStyles = (_a = parent.props.headerCellStyle) != null ? _a : {};
38549
+ if (typeof headerCellStyles === "function") {
38550
+ headerCellStyles = headerCellStyles.call(null, {
38404
38551
  rowIndex,
38405
38552
  columnIndex,
38406
38553
  row,
38407
38554
  column
38408
38555
  });
38409
38556
  }
38410
- return headerCellStyle;
38557
+ const fixedStyle = getFixedColumnOffset(columnIndex, column.fixed, props.store, row);
38558
+ ensureRightFixedStyle(fixedStyle, hasGutter);
38559
+ ensurePosition(fixedStyle, "left");
38560
+ ensurePosition(fixedStyle, "right");
38561
+ return Object.assign({}, headerCellStyles, fixedStyle);
38411
38562
  };
38412
38563
  const getHeaderCellClass = (rowIndex, columnIndex, row, column) => {
38564
+ const fixedClasses = column.isSubColumn ? [] : getFixedColumnsClass(columnIndex, column.fixed, props.store, row);
38413
38565
  const classes = [
38414
38566
  column.id,
38415
38567
  column.order,
38416
38568
  column.headerAlign,
38417
38569
  column.className,
38418
- column.labelClassName
38570
+ column.labelClassName,
38571
+ ...fixedClasses
38419
38572
  ];
38420
- if (rowIndex === 0 && isCellHidden(columnIndex, row)) {
38421
- classes.push("is-hidden");
38422
- }
38423
38573
  if (!column.children) {
38424
38574
  classes.push("is-leaf");
38425
38575
  }
@@ -38494,6 +38644,7 @@
38494
38644
  column.rowSpan = maxLevel - column.level + 1;
38495
38645
  } else {
38496
38646
  column.rowSpan = 1;
38647
+ column.children.forEach((col) => col.isSubColumn = true);
38497
38648
  }
38498
38649
  rows[column.level - 1].push(column);
38499
38650
  });
@@ -38554,7 +38705,10 @@
38554
38705
  const filterPanels = vue.ref({});
38555
38706
  const { tableLayout, onColumnsChange, onScrollableChange } = useLayoutObserver(parent);
38556
38707
  const hasGutter = vue.computed(() => {
38557
- return !props.fixed && tableLayout.gutterWidth;
38708
+ return !props.fixed && tableLayout.gutterWidth > 0 && tableLayout.bodyScrollHeight.value > tableLayout.bodyHeight.value;
38709
+ });
38710
+ const gutterWidth = vue.computed(() => {
38711
+ return tableLayout.gutterWidth;
38558
38712
  });
38559
38713
  vue.onMounted(() => {
38560
38714
  vue.nextTick(() => {
@@ -38588,6 +38742,7 @@
38588
38742
  columns: storeData.columns,
38589
38743
  filterPanels,
38590
38744
  hasGutter,
38745
+ gutterWidth,
38591
38746
  onColumnsChange,
38592
38747
  onScrollableChange,
38593
38748
  columnRows,
@@ -38607,67 +38762,101 @@
38607
38762
  };
38608
38763
  },
38609
38764
  render() {
38765
+ const {
38766
+ columns,
38767
+ isGroup,
38768
+ hasGutter,
38769
+ columnRows,
38770
+ gutterWidth,
38771
+ getHeaderCellStyle,
38772
+ getHeaderCellClass,
38773
+ getHeaderRowClass,
38774
+ getHeaderRowStyle,
38775
+ handleHeaderClick,
38776
+ handleHeaderContextMenu,
38777
+ handleMouseDown,
38778
+ handleMouseMove,
38779
+ handleSortClick,
38780
+ handleMouseOut,
38781
+ store,
38782
+ $parent
38783
+ } = this;
38784
+ let rowSpan = 1;
38610
38785
  return vue.h("table", {
38611
38786
  border: "0",
38612
38787
  cellpadding: "0",
38613
38788
  cellspacing: "0",
38614
38789
  class: "el-table__header"
38615
38790
  }, [
38616
- hColgroup(this.columns, this.hasGutter),
38791
+ hColgroup(columns, hasGutter),
38617
38792
  vue.h("thead", {
38618
- class: { "is-group": this.isGroup, "has-gutter": this.hasGutter }
38619
- }, this.columnRows.map((subColumns, rowIndex) => vue.h("tr", {
38620
- class: this.getHeaderRowClass(rowIndex),
38793
+ class: { "is-group": isGroup, "has-gutter": hasGutter }
38794
+ }, columnRows.map((subColumns, rowIndex) => vue.h("tr", {
38795
+ class: getHeaderRowClass(rowIndex),
38621
38796
  key: rowIndex,
38622
- style: this.getHeaderRowStyle(rowIndex)
38623
- }, subColumns.map((column, cellIndex) => vue.h("th", {
38624
- class: this.getHeaderCellClass(rowIndex, cellIndex, subColumns, column),
38625
- colspan: column.colSpan,
38626
- key: `${column.id}-thead`,
38627
- rowSpan: column.rowSpan,
38628
- style: this.getHeaderCellStyle(rowIndex, cellIndex, subColumns, column),
38629
- onClick: ($event) => this.handleHeaderClick($event, column),
38630
- onContextmenu: ($event) => this.handleHeaderContextMenu($event, column),
38631
- onMousedown: ($event) => this.handleMouseDown($event, column),
38632
- onMousemove: ($event) => this.handleMouseMove($event, column),
38633
- onMouseout: this.handleMouseOut
38634
- }, [
38635
- vue.h("div", {
38636
- class: [
38637
- "cell",
38638
- column.filteredValue && column.filteredValue.length > 0 ? "highlight" : "",
38639
- column.labelClassName
38640
- ]
38797
+ style: getHeaderRowStyle(rowIndex)
38798
+ }, subColumns.map((column, cellIndex) => {
38799
+ if (column.rowSpan > rowSpan) {
38800
+ rowSpan = column.rowSpan;
38801
+ }
38802
+ return vue.h("th", {
38803
+ class: getHeaderCellClass(rowIndex, cellIndex, subColumns, column),
38804
+ colspan: column.colSpan,
38805
+ key: `${column.id}-thead`,
38806
+ rowSpan: column.rowSpan,
38807
+ style: getHeaderCellStyle(rowIndex, cellIndex, subColumns, column, hasGutter),
38808
+ onClick: ($event) => handleHeaderClick($event, column),
38809
+ onContextmenu: ($event) => handleHeaderContextMenu($event, column),
38810
+ onMousedown: ($event) => handleMouseDown($event, column),
38811
+ onMousemove: ($event) => handleMouseMove($event, column),
38812
+ onMouseout: handleMouseOut
38641
38813
  }, [
38642
- column.renderHeader ? column.renderHeader({
38643
- column,
38644
- $index: cellIndex,
38645
- store: this.store,
38646
- _self: this.$parent
38647
- }) : column.label,
38648
- column.sortable && vue.h("span", {
38649
- onClick: ($event) => this.handleSortClick($event, column),
38650
- class: "caret-wrapper"
38814
+ vue.h("div", {
38815
+ class: [
38816
+ "cell",
38817
+ column.filteredValue && column.filteredValue.length > 0 ? "highlight" : "",
38818
+ column.labelClassName
38819
+ ]
38651
38820
  }, [
38652
- vue.h("i", {
38653
- onClick: ($event) => this.handleSortClick($event, column, "ascending"),
38654
- class: "sort-caret ascending"
38655
- }),
38656
- vue.h("i", {
38657
- onClick: ($event) => this.handleSortClick($event, column, "descending"),
38658
- class: "sort-caret descending"
38821
+ column.renderHeader ? column.renderHeader({
38822
+ column,
38823
+ $index: cellIndex,
38824
+ store,
38825
+ _self: $parent
38826
+ }) : column.label,
38827
+ column.sortable && vue.h("span", {
38828
+ onClick: ($event) => handleSortClick($event, column),
38829
+ class: "caret-wrapper"
38830
+ }, [
38831
+ vue.h("i", {
38832
+ onClick: ($event) => handleSortClick($event, column, "ascending"),
38833
+ class: "sort-caret ascending"
38834
+ }),
38835
+ vue.h("i", {
38836
+ onClick: ($event) => handleSortClick($event, column, "descending"),
38837
+ class: "sort-caret descending"
38838
+ })
38839
+ ]),
38840
+ column.filterable && vue.h(script$k, {
38841
+ store: $parent.store,
38842
+ placement: column.filterPlacement || "bottom-start",
38843
+ column,
38844
+ upDataColumn: (key, value) => {
38845
+ column[key] = value;
38846
+ }
38659
38847
  })
38660
- ]),
38661
- column.filterable && vue.h(script$k, {
38662
- store: this.$parent.store,
38663
- placement: column.filterPlacement || "bottom-start",
38664
- column,
38665
- upDataColumn: (key, value) => {
38666
- column[key] = value;
38667
- }
38668
- })
38669
- ])
38670
- ])))))
38848
+ ])
38849
+ ]);
38850
+ }).concat(hasGutter && rowIndex === 0 ? [
38851
+ vue.h("th", {
38852
+ class: "el-table__fixed-right-patch el-table__cell",
38853
+ key: `el-table--scrollbar`,
38854
+ rowSpan,
38855
+ style: {
38856
+ width: `${gutterWidth}px`
38857
+ }
38858
+ }, [])
38859
+ ] : []))))
38671
38860
  ]);
38672
38861
  }
38673
38862
  });
@@ -38756,15 +38945,6 @@
38756
38945
  function useStyles(props) {
38757
38946
  const instance = vue.getCurrentInstance();
38758
38947
  const parent = instance.parent;
38759
- const isColumnHidden = (index) => {
38760
- if (props.fixed === "left") {
38761
- return index >= props.store.states.fixedLeafColumnsLength.value;
38762
- } else if (props.fixed === "right") {
38763
- return index < props.store.states.columns.value.length - props.store.states.rightFixedLeafColumnsLength.value;
38764
- } else {
38765
- return index < props.store.states.fixedLeafColumnsLength.value || index >= props.store.states.columns.value.length - props.store.states.rightFixedLeafColumnsLength.value;
38766
- }
38767
- };
38768
38948
  const getRowStyle = (row, rowIndex) => {
38769
38949
  const rowStyle = parent.props.rowStyle;
38770
38950
  if (typeof rowStyle === "function") {
@@ -38799,21 +38979,23 @@
38799
38979
  };
38800
38980
  const getCellStyle = (rowIndex, columnIndex, row, column) => {
38801
38981
  const cellStyle = parent.props.cellStyle;
38982
+ let cellStyles = cellStyle != null ? cellStyle : {};
38802
38983
  if (typeof cellStyle === "function") {
38803
- return cellStyle.call(null, {
38984
+ cellStyles = cellStyle.call(null, {
38804
38985
  rowIndex,
38805
38986
  columnIndex,
38806
38987
  row,
38807
38988
  column
38808
38989
  });
38809
38990
  }
38810
- return cellStyle;
38991
+ const fixedStyle = getFixedColumnOffset(columnIndex, props.fixed, props.store);
38992
+ ensurePosition(fixedStyle, "left");
38993
+ ensurePosition(fixedStyle, "right");
38994
+ return Object.assign({}, cellStyles, fixedStyle);
38811
38995
  };
38812
38996
  const getCellClass = (rowIndex, columnIndex, row, column) => {
38813
- const classes = [column.id, column.align, column.className];
38814
- if (isColumnHidden(columnIndex)) {
38815
- classes.push("is-hidden");
38816
- }
38997
+ const fixedClasses = column.isSubColumn ? [] : getFixedColumnsClass(columnIndex, props.fixed, props.store);
38998
+ const classes = [column.id, column.align, column.className, ...fixedClasses];
38817
38999
  const cellClassName = parent.props.cellClassName;
38818
39000
  if (typeof cellClassName === "string") {
38819
39001
  classes.push(cellClassName);
@@ -38862,8 +39044,7 @@
38862
39044
  getCellStyle,
38863
39045
  getCellClass,
38864
39046
  getSpan,
38865
- getColspanRealWidth,
38866
- isColumnHidden
39047
+ getColspanRealWidth
38867
39048
  };
38868
39049
  }
38869
39050
 
@@ -39128,17 +39309,19 @@
39128
39309
  };
39129
39310
  },
39130
39311
  render() {
39131
- const data = this.store.states.data.value || [];
39312
+ const { wrappedRowRender, store } = this;
39313
+ const data = store.states.data.value || [];
39314
+ const columns = store.states.columns.value;
39132
39315
  return vue.h("table", {
39133
39316
  class: "el-table__body",
39134
39317
  cellspacing: "0",
39135
39318
  cellpadding: "0",
39136
39319
  border: "0"
39137
39320
  }, [
39138
- hColgroup(this.store.states.columns.value),
39321
+ hColgroup(columns),
39139
39322
  vue.h("tbody", {}, [
39140
39323
  data.reduce((acc, row) => {
39141
- return acc.concat(this.wrappedRowRender(row, acc.length));
39324
+ return acc.concat(wrappedRowRender(row, acc.length));
39142
39325
  }, [])
39143
39326
  ])
39144
39327
  ]);
@@ -39177,49 +39360,45 @@
39177
39360
  function useStyle$1(props) {
39178
39361
  const instance = vue.getCurrentInstance();
39179
39362
  const table = instance.parent;
39180
- const store = table.store;
39181
- const {
39182
- leftFixedLeafCount,
39183
- rightFixedLeafCount,
39184
- columnsCount,
39185
- leftFixedCount,
39186
- rightFixedCount,
39187
- columns
39188
- } = useMapState();
39363
+ const { columns } = useMapState();
39189
39364
  const hasGutter = vue.computed(() => {
39190
- return !props.fixed && !table.layout.gutterWidth;
39365
+ return !props.fixed && table.layout.gutterWidth > 0 && table.layout.height.value && table.layout.bodyScrollHeight.value > table.layout.bodyHeight.value;
39191
39366
  });
39192
- const isCellHidden = (index, columns2, column) => {
39193
- if (props.fixed || props.fixed === "left") {
39194
- return index >= leftFixedLeafCount.value;
39195
- } else if (props.fixed === "right") {
39196
- let before = 0;
39197
- for (let i = 0; i < index; i++) {
39198
- before += columns2[i].colSpan;
39199
- }
39200
- return before < columnsCount.value - rightFixedLeafCount.value;
39201
- } else if (!props.fixed && column.fixed) {
39202
- return true;
39203
- } else {
39204
- return index < leftFixedCount.value || index >= columnsCount.value - rightFixedCount.value;
39205
- }
39206
- };
39207
- const getRowClasses = (column, cellIndex) => {
39208
- const classes = [column.id, column.align, column.labelClassName];
39367
+ const gutterWidth = vue.computed(() => {
39368
+ return table.layout.gutterWidth;
39369
+ });
39370
+ const getCellClasses = (columns2, cellIndex, hasGutter2) => {
39371
+ const column = columns2[cellIndex];
39372
+ const classes = [
39373
+ "el-table__cell",
39374
+ column.id,
39375
+ column.align,
39376
+ column.labelClassName,
39377
+ ...getFixedColumnsClass(cellIndex, column.fixed, props.store)
39378
+ ];
39209
39379
  if (column.className) {
39210
39380
  classes.push(column.className);
39211
39381
  }
39212
- if (isCellHidden(cellIndex, store.states.columns.value, column)) {
39213
- classes.push("is-hidden");
39214
- }
39215
39382
  if (!column.children) {
39216
39383
  classes.push("is-leaf");
39217
39384
  }
39385
+ if (hasGutter2 && cellIndex === columns2.length - 1) {
39386
+ classes.push("last");
39387
+ }
39218
39388
  return classes;
39219
39389
  };
39390
+ const getCellStyles = (column, cellIndex, hasGutter2) => {
39391
+ const fixedStyle = getFixedColumnOffset(cellIndex, column.fixed, props.store);
39392
+ ensureRightFixedStyle(fixedStyle, hasGutter2);
39393
+ ensurePosition(fixedStyle, "left");
39394
+ ensurePosition(fixedStyle, "right");
39395
+ return fixedStyle;
39396
+ };
39220
39397
  return {
39221
39398
  hasGutter,
39222
- getRowClasses,
39399
+ gutterWidth,
39400
+ getCellClasses,
39401
+ getCellStyles,
39223
39402
  columns
39224
39403
  };
39225
39404
  }
@@ -39249,27 +39428,39 @@
39249
39428
  }
39250
39429
  },
39251
39430
  setup(props) {
39252
- const { hasGutter, getRowClasses, columns } = useStyle$1(props);
39431
+ const { hasGutter, getCellClasses, getCellStyles, columns, gutterWidth } = useStyle$1(props);
39253
39432
  return {
39254
- getRowClasses,
39433
+ getCellClasses,
39434
+ getCellStyles,
39255
39435
  hasGutter,
39436
+ gutterWidth,
39256
39437
  columns
39257
39438
  };
39258
39439
  },
39259
39440
  render() {
39441
+ const {
39442
+ hasGutter,
39443
+ gutterWidth,
39444
+ columns,
39445
+ getCellStyles,
39446
+ getCellClasses,
39447
+ summaryMethod,
39448
+ sumText
39449
+ } = this;
39450
+ const data = this.store.states.data.value;
39260
39451
  let sums = [];
39261
- if (this.summaryMethod) {
39262
- sums = this.summaryMethod({
39263
- columns: this.columns,
39264
- data: this.store.states.data.value
39452
+ if (summaryMethod) {
39453
+ sums = summaryMethod({
39454
+ columns,
39455
+ data
39265
39456
  });
39266
39457
  } else {
39267
- this.columns.forEach((column, index) => {
39458
+ columns.forEach((column, index) => {
39268
39459
  if (index === 0) {
39269
- sums[index] = this.sumText;
39460
+ sums[index] = sumText;
39270
39461
  return;
39271
39462
  }
39272
- const values = this.store.states.data.value.map((item) => Number(item[column.property]));
39463
+ const values = data.map((item) => Number(item[column.property]));
39273
39464
  const precisions = [];
39274
39465
  let notNumber = true;
39275
39466
  values.forEach((value) => {
@@ -39300,25 +39491,28 @@
39300
39491
  cellpadding: "0",
39301
39492
  border: "0"
39302
39493
  }, [
39303
- hColgroup(this.columns, this.hasGutter),
39494
+ hColgroup(columns, hasGutter),
39304
39495
  vue.h("tbody", {
39305
- class: [{ "has-gutter": this.hasGutter }]
39496
+ class: [{ "has-gutter": hasGutter }]
39306
39497
  }, [
39307
39498
  vue.h("tr", {}, [
39308
- ...this.columns.map((column, cellIndex) => vue.h("td", {
39499
+ ...columns.map((column, cellIndex) => vue.h("td", {
39309
39500
  key: cellIndex,
39310
39501
  colspan: column.colSpan,
39311
39502
  rowspan: column.rowSpan,
39312
- class: [
39313
- ...this.getRowClasses(column, cellIndex),
39314
- "el-table__cell"
39315
- ]
39503
+ class: getCellClasses(columns, cellIndex, hasGutter),
39504
+ style: getCellStyles(column, cellIndex, hasGutter)
39316
39505
  }, [
39317
39506
  vue.h("div", {
39318
39507
  class: ["cell", column.labelClassName]
39319
39508
  }, [sums[cellIndex]])
39320
39509
  ])),
39321
- this.hasGutter && hGutter()
39510
+ hasGutter && vue.h("td", {
39511
+ class: "el-table__fixed-right-patch el-table__cell",
39512
+ style: {
39513
+ width: `${gutterWidth}px`
39514
+ }
39515
+ })
39322
39516
  ])
39323
39517
  ])
39324
39518
  ]);
@@ -39413,6 +39607,17 @@
39413
39607
  const shouldUpdateHeight = vue.computed(() => {
39414
39608
  return props.height || props.maxHeight || store.states.fixedColumns.value.length > 0 || store.states.rightFixedColumns.value.length > 0;
39415
39609
  });
39610
+ const tableBodyStyles = vue.computed(() => {
39611
+ return {
39612
+ width: layout.bodyWidth.value ? `${layout.bodyWidth.value}px` : ""
39613
+ };
39614
+ });
39615
+ const borderBottomPatchStyles = vue.computed(() => {
39616
+ return {
39617
+ bottom: `${layout.gutterWidth}px`,
39618
+ right: `${layout.gutterWidth}px`
39619
+ };
39620
+ });
39416
39621
  const doLayout = () => {
39417
39622
  if (shouldUpdateHeight.value) {
39418
39623
  layout.updateElsHeight();
@@ -39449,27 +39654,18 @@
39449
39654
  el.className = classList.join(" ");
39450
39655
  };
39451
39656
  const setScrollClass = (className) => {
39452
- const { bodyWrapper } = table.refs;
39453
- setScrollClassByEl(bodyWrapper, className);
39657
+ const { tableWrapper } = table.refs;
39658
+ setScrollClassByEl(tableWrapper, className);
39454
39659
  };
39455
- const syncPostion = throttle$1(function() {
39660
+ const syncPostion = function() {
39456
39661
  if (!table.refs.bodyWrapper)
39457
39662
  return;
39458
- const { scrollLeft, scrollTop, offsetWidth, scrollWidth } = table.refs.bodyWrapper;
39459
- const {
39460
- headerWrapper,
39461
- footerWrapper,
39462
- fixedBodyWrapper,
39463
- rightFixedBodyWrapper
39464
- } = table.refs;
39663
+ const { scrollLeft, offsetWidth, scrollWidth } = table.refs.bodyWrapper;
39664
+ const { headerWrapper, footerWrapper } = table.refs;
39465
39665
  if (headerWrapper)
39466
39666
  headerWrapper.scrollLeft = scrollLeft;
39467
39667
  if (footerWrapper)
39468
39668
  footerWrapper.scrollLeft = scrollLeft;
39469
- if (fixedBodyWrapper)
39470
- fixedBodyWrapper.scrollTop = scrollTop;
39471
- if (rightFixedBodyWrapper)
39472
- rightFixedBodyWrapper.scrollTop = scrollTop;
39473
39669
  const maxScrollLeftPosition = scrollWidth - offsetWidth - 1;
39474
39670
  if (scrollLeft >= maxScrollLeftPosition) {
39475
39671
  setScrollClass("is-scrolling-right");
@@ -39478,7 +39674,7 @@
39478
39674
  } else {
39479
39675
  setScrollClass("is-scrolling-middle");
39480
39676
  }
39481
- }, 10);
39677
+ };
39482
39678
  const bindEvents = () => {
39483
39679
  table.refs.bodyWrapper.addEventListener("scroll", syncPostion, {
39484
39680
  passive: true
@@ -39630,7 +39826,9 @@
39630
39826
  resizeProxyVisible,
39631
39827
  bodyWidth,
39632
39828
  resizeState,
39633
- doLayout
39829
+ doLayout,
39830
+ tableBodyStyles,
39831
+ borderBottomPatchStyles
39634
39832
  };
39635
39833
  }
39636
39834
 
@@ -39775,7 +39973,9 @@
39775
39973
  resizeProxyVisible,
39776
39974
  bodyWidth,
39777
39975
  resizeState,
39778
- doLayout
39976
+ doLayout,
39977
+ tableBodyStyles,
39978
+ borderBottomPatchStyles
39779
39979
  } = useStyle(props, layout, store, table);
39780
39980
  const debouncedUpdateLayout = debounce$3(doLayout, 50);
39781
39981
  const tableId = `el-table_${tableIdSeed++}`;
@@ -39786,6 +39986,10 @@
39786
39986
  doLayout,
39787
39987
  debouncedUpdateLayout
39788
39988
  };
39989
+ const computedSumText = vue.computed(() => props.sumText || t("el.table.sumText"));
39990
+ const computedEmptyText = vue.computed(() => {
39991
+ return props.emptyText || t("el.table.emptyText");
39992
+ });
39789
39993
  return {
39790
39994
  layout,
39791
39995
  store,
@@ -39801,7 +40005,9 @@
39801
40005
  isGroup,
39802
40006
  bodyWidth,
39803
40007
  bodyHeight,
40008
+ tableBodyStyles,
39804
40009
  emptyBlockStyle,
40010
+ borderBottomPatchStyles,
39805
40011
  debouncedUpdateLayout,
39806
40012
  handleFixedMousewheel,
39807
40013
  fixedHeight,
@@ -39817,52 +40023,39 @@
39817
40023
  sort,
39818
40024
  t,
39819
40025
  setDragVisible,
39820
- context: table
40026
+ context: table,
40027
+ computedSumText,
40028
+ computedEmptyText
39821
40029
  };
39822
40030
  }
39823
40031
  });
39824
40032
 
39825
- const _hoisted_1$d = {
40033
+ const _hoisted_1$d = { class: "el-table__inner-wrapper" };
40034
+ const _hoisted_2$a = {
39826
40035
  ref: "hiddenColumns",
39827
40036
  class: "hidden-columns"
39828
40037
  };
39829
- const _hoisted_2$a = {
40038
+ const _hoisted_3$8 = {
39830
40039
  key: 0,
39831
40040
  ref: "headerWrapper",
39832
40041
  class: "el-table__header-wrapper"
39833
40042
  };
39834
- const _hoisted_3$8 = { class: "el-table__empty-text" };
39835
- const _hoisted_4$5 = {
40043
+ const _hoisted_4$5 = { class: "el-table__empty-text" };
40044
+ const _hoisted_5$4 = {
39836
40045
  key: 1,
39837
40046
  ref: "appendWrapper",
39838
40047
  class: "el-table__append-wrapper"
39839
40048
  };
39840
- const _hoisted_5$4 = {
39841
- key: 1,
39842
- ref: "footerWrapper",
39843
- class: "el-table__footer-wrapper"
39844
- };
39845
40049
  const _hoisted_6$3 = {
39846
- key: 0,
39847
- ref: "fixedHeaderWrapper",
39848
- class: "el-table__fixed-header-wrapper"
39849
- };
39850
- const _hoisted_7$2 = {
39851
40050
  key: 1,
39852
- ref: "fixedFooterWrapper",
39853
- class: "el-table__fixed-footer-wrapper"
40051
+ class: "el-table__border-left-patch"
39854
40052
  };
39855
- const _hoisted_8$2 = {
40053
+ const _hoisted_7$2 = {
39856
40054
  key: 0,
39857
- ref: "rightFixedHeaderWrapper",
39858
- class: "el-table__fixed-header-wrapper"
39859
- };
39860
- const _hoisted_9$1 = {
39861
- key: 1,
39862
- ref: "rightFixedFooterWrapper",
39863
- class: "el-table__fixed-footer-wrapper"
40055
+ ref: "footerWrapper",
40056
+ class: "el-table__footer-wrapper"
39864
40057
  };
39865
- const _hoisted_10$1 = {
40058
+ const _hoisted_8$2 = {
39866
40059
  ref: "resizeProxy",
39867
40060
  class: "el-table__column-resize-proxy"
39868
40061
  };
@@ -39872,6 +40065,7 @@
39872
40065
  const _component_table_footer = vue.resolveComponent("table-footer");
39873
40066
  const _directive_mousewheel = vue.resolveDirective("mousewheel");
39874
40067
  return vue.openBlock(), vue.createElementBlock("div", {
40068
+ ref: "tableWrapper",
39875
40069
  class: vue.normalizeClass([
39876
40070
  {
39877
40071
  "el-table--fit": _ctx.fit,
@@ -39893,168 +40087,28 @@
39893
40087
  onMouseleave: _cache[0] || (_cache[0] = ($event) => _ctx.handleMouseLeave())
39894
40088
  }, [
39895
40089
  vue.createElementVNode("div", _hoisted_1$d, [
39896
- vue.renderSlot(_ctx.$slots, "default")
39897
- ], 512),
39898
- _ctx.showHeader ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_2$a, [
39899
- vue.createVNode(_component_table_header, {
39900
- ref: "tableHeader",
39901
- border: _ctx.border,
39902
- "default-sort": _ctx.defaultSort,
39903
- store: _ctx.store,
39904
- style: vue.normalizeStyle({
39905
- width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
39906
- }),
39907
- onSetDragVisible: _ctx.setDragVisible
39908
- }, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
39909
- ])), [
39910
- [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
39911
- ]) : vue.createCommentVNode("v-if", true),
39912
- vue.createElementVNode("div", {
39913
- ref: "bodyWrapper",
39914
- style: vue.normalizeStyle([_ctx.bodyHeight]),
39915
- class: "el-table__body-wrapper"
39916
- }, [
39917
- vue.createVNode(_component_table_body, {
39918
- context: _ctx.context,
39919
- highlight: _ctx.highlightCurrentRow,
39920
- "row-class-name": _ctx.rowClassName,
39921
- "tooltip-effect": _ctx.tooltipEffect,
39922
- "row-style": _ctx.rowStyle,
39923
- store: _ctx.store,
39924
- stripe: _ctx.stripe,
39925
- style: vue.normalizeStyle({
39926
- width: _ctx.bodyWidth
39927
- })
39928
- }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
39929
- _ctx.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", {
39930
- key: 0,
39931
- ref: "emptyBlock",
39932
- style: vue.normalizeStyle(_ctx.emptyBlockStyle),
39933
- class: "el-table__empty-block"
39934
- }, [
39935
- vue.createElementVNode("span", _hoisted_3$8, [
39936
- vue.renderSlot(_ctx.$slots, "empty", {}, () => [
39937
- vue.createTextVNode(vue.toDisplayString(_ctx.emptyText || _ctx.t("el.table.emptyText")), 1)
39938
- ])
39939
- ])
39940
- ], 4)) : vue.createCommentVNode("v-if", true),
39941
- _ctx.$slots.append ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$5, [
39942
- vue.renderSlot(_ctx.$slots, "append")
39943
- ], 512)) : vue.createCommentVNode("v-if", true)
39944
- ], 4),
39945
- _ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
39946
- vue.createVNode(_component_table_footer, {
39947
- border: _ctx.border,
39948
- "default-sort": _ctx.defaultSort,
39949
- store: _ctx.store,
39950
- style: vue.normalizeStyle({
39951
- width: _ctx.layout.bodyWidth.value ? _ctx.layout.bodyWidth.value + "px" : ""
39952
- }),
39953
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
39954
- "summary-method": _ctx.summaryMethod
39955
- }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
39956
- ])), [
39957
- [vue.vShow, !_ctx.isEmpty],
39958
- [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
39959
- ]) : vue.createCommentVNode("v-if", true),
39960
- _ctx.store.states.fixedColumns.value.length > 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
39961
- key: 2,
39962
- ref: "fixedWrapper",
39963
- style: vue.normalizeStyle([
39964
- {
39965
- width: _ctx.layout.fixedWidth.value ? _ctx.layout.fixedWidth.value + "px" : ""
39966
- },
39967
- _ctx.fixedHeight
39968
- ]),
39969
- class: "el-table__fixed"
39970
- }, [
39971
- _ctx.showHeader ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3, [
39972
- vue.createVNode(_component_table_header, {
39973
- ref: "fixedTableHeader",
39974
- border: _ctx.border,
39975
- store: _ctx.store,
39976
- style: vue.normalizeStyle({
39977
- width: _ctx.bodyWidth
39978
- }),
39979
- fixed: "left",
39980
- onSetDragVisible: _ctx.setDragVisible
39981
- }, null, 8, ["border", "store", "style", "onSetDragVisible"])
39982
- ], 512)) : vue.createCommentVNode("v-if", true),
39983
- vue.createElementVNode("div", {
39984
- ref: "fixedBodyWrapper",
39985
- style: vue.normalizeStyle([
39986
- {
39987
- top: _ctx.layout.headerHeight.value + "px"
39988
- },
39989
- _ctx.fixedBodyHeight
39990
- ]),
39991
- class: "el-table__fixed-body-wrapper"
39992
- }, [
39993
- vue.createVNode(_component_table_body, {
39994
- highlight: _ctx.highlightCurrentRow,
39995
- "row-class-name": _ctx.rowClassName,
39996
- "tooltip-effect": _ctx.tooltipEffect,
39997
- "row-style": _ctx.rowStyle,
39998
- store: _ctx.store,
39999
- stripe: _ctx.stripe,
40000
- style: vue.normalizeStyle({
40001
- width: _ctx.bodyWidth
40002
- }),
40003
- fixed: "left"
40004
- }, null, 8, ["highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
40005
- _ctx.$slots.append ? (vue.openBlock(), vue.createElementBlock("div", {
40006
- key: 0,
40007
- style: vue.normalizeStyle({ height: _ctx.layout.appendHeight.value + "px" }),
40008
- class: "el-table__append-gutter"
40009
- }, null, 4)) : vue.createCommentVNode("v-if", true)
40010
- ], 4),
40011
- _ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, [
40012
- vue.createVNode(_component_table_footer, {
40013
- border: _ctx.border,
40014
- store: _ctx.store,
40015
- style: vue.normalizeStyle({
40016
- width: _ctx.bodyWidth
40017
- }),
40018
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
40019
- "summary-method": _ctx.summaryMethod,
40020
- fixed: "left"
40021
- }, null, 8, ["border", "store", "style", "sum-text", "summary-method"])
40022
- ], 512)), [
40023
- [vue.vShow, !_ctx.isEmpty]
40024
- ]) : vue.createCommentVNode("v-if", true)
40025
- ], 4)), [
40026
- [_directive_mousewheel, _ctx.handleFixedMousewheel]
40027
- ]) : vue.createCommentVNode("v-if", true),
40028
- _ctx.store.states.rightFixedColumns.value.length > 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
40029
- key: 3,
40030
- ref: "rightFixedWrapper",
40031
- style: vue.normalizeStyle([
40032
- {
40033
- width: _ctx.layout.rightFixedWidth.value ? _ctx.layout.rightFixedWidth.value + "px" : "",
40034
- right: _ctx.layout.scrollY.value ? (_ctx.border ? _ctx.layout.gutterWidth : _ctx.layout.gutterWidth || 0) + "px" : ""
40035
- },
40036
- _ctx.fixedHeight
40037
- ]),
40038
- class: "el-table__fixed-right"
40039
- }, [
40040
- _ctx.showHeader ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$2, [
40090
+ vue.createElementVNode("div", _hoisted_2$a, [
40091
+ vue.renderSlot(_ctx.$slots, "default")
40092
+ ], 512),
40093
+ _ctx.showHeader ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_3$8, [
40041
40094
  vue.createVNode(_component_table_header, {
40042
- ref: "rightFixedTableHeader",
40095
+ ref: "tableHeader",
40043
40096
  border: _ctx.border,
40097
+ "default-sort": _ctx.defaultSort,
40044
40098
  store: _ctx.store,
40045
- style: vue.normalizeStyle({
40046
- width: _ctx.bodyWidth
40047
- }),
40048
- fixed: "right",
40099
+ style: vue.normalizeStyle(_ctx.tableBodyStyles),
40049
40100
  onSetDragVisible: _ctx.setDragVisible
40050
- }, null, 8, ["border", "store", "style", "onSetDragVisible"])
40051
- ], 512)) : vue.createCommentVNode("v-if", true),
40101
+ }, null, 8, ["border", "default-sort", "store", "style", "onSetDragVisible"])
40102
+ ])), [
40103
+ [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
40104
+ ]) : vue.createCommentVNode("v-if", true),
40052
40105
  vue.createElementVNode("div", {
40053
- ref: "rightFixedBodyWrapper",
40054
- style: vue.normalizeStyle([{ top: _ctx.layout.headerHeight.value + "px" }, _ctx.fixedBodyHeight]),
40055
- class: "el-table__fixed-body-wrapper"
40106
+ ref: "bodyWrapper",
40107
+ style: vue.normalizeStyle(_ctx.bodyHeight),
40108
+ class: "el-table__body-wrapper"
40056
40109
  }, [
40057
40110
  vue.createVNode(_component_table_body, {
40111
+ context: _ctx.context,
40058
40112
  highlight: _ctx.highlightCurrentRow,
40059
40113
  "row-class-name": _ctx.rowClassName,
40060
40114
  "tooltip-effect": _ctx.tooltipEffect,
@@ -40063,42 +40117,45 @@
40063
40117
  stripe: _ctx.stripe,
40064
40118
  style: vue.normalizeStyle({
40065
40119
  width: _ctx.bodyWidth
40066
- }),
40067
- fixed: "right"
40068
- }, null, 8, ["highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
40069
- _ctx.$slots.append ? (vue.openBlock(), vue.createElementBlock("div", {
40120
+ })
40121
+ }, null, 8, ["context", "highlight", "row-class-name", "tooltip-effect", "row-style", "store", "stripe", "style"]),
40122
+ _ctx.isEmpty ? (vue.openBlock(), vue.createElementBlock("div", {
40070
40123
  key: 0,
40071
- style: vue.normalizeStyle({ height: _ctx.layout.appendHeight.value + "px" }),
40072
- class: "el-table__append-gutter"
40073
- }, null, 4)) : vue.createCommentVNode("v-if", true)
40124
+ ref: "emptyBlock",
40125
+ style: vue.normalizeStyle(_ctx.emptyBlockStyle),
40126
+ class: "el-table__empty-block"
40127
+ }, [
40128
+ vue.createElementVNode("span", _hoisted_4$5, [
40129
+ vue.renderSlot(_ctx.$slots, "empty", {}, () => [
40130
+ vue.createTextVNode(vue.toDisplayString(_ctx.computedEmptyText), 1)
40131
+ ])
40132
+ ])
40133
+ ], 4)) : vue.createCommentVNode("v-if", true),
40134
+ _ctx.$slots.append ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$4, [
40135
+ vue.renderSlot(_ctx.$slots, "append")
40136
+ ], 512)) : vue.createCommentVNode("v-if", true)
40074
40137
  ], 4),
40075
- _ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_9$1, [
40076
- vue.createVNode(_component_table_footer, {
40077
- border: _ctx.border,
40078
- store: _ctx.store,
40079
- style: vue.normalizeStyle({
40080
- width: _ctx.bodyWidth
40081
- }),
40082
- "sum-text": _ctx.sumText || _ctx.t("el.table.sumText"),
40083
- "summary-method": _ctx.summaryMethod,
40084
- fixed: "right"
40085
- }, null, 8, ["border", "store", "style", "sum-text", "summary-method"])
40086
- ], 512)), [
40087
- [vue.vShow, !_ctx.isEmpty]
40088
- ]) : vue.createCommentVNode("v-if", true)
40089
- ], 4)), [
40090
- [_directive_mousewheel, _ctx.handleFixedMousewheel]
40138
+ _ctx.border || _ctx.isGroup ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$3)) : vue.createCommentVNode("v-if", true),
40139
+ _ctx.layout.scrollX.value && _ctx.layout.height.value ? (vue.openBlock(), vue.createElementBlock("div", {
40140
+ key: 2,
40141
+ class: "el-table__border-bottom-patch",
40142
+ style: vue.normalizeStyle(_ctx.borderBottomPatchStyles)
40143
+ }, null, 4)) : vue.createCommentVNode("v-if", true)
40144
+ ]),
40145
+ _ctx.showSummary ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_7$2, [
40146
+ vue.createVNode(_component_table_footer, {
40147
+ border: _ctx.border,
40148
+ "default-sort": _ctx.defaultSort,
40149
+ store: _ctx.store,
40150
+ style: vue.normalizeStyle(_ctx.tableBodyStyles),
40151
+ "sum-text": _ctx.computedSumText,
40152
+ "summary-method": _ctx.summaryMethod
40153
+ }, null, 8, ["border", "default-sort", "store", "style", "sum-text", "summary-method"])
40154
+ ])), [
40155
+ [vue.vShow, !_ctx.isEmpty],
40156
+ [_directive_mousewheel, _ctx.handleHeaderFooterMousewheel]
40091
40157
  ]) : vue.createCommentVNode("v-if", true),
40092
- _ctx.store.states.rightFixedColumns.value.length > 0 ? (vue.openBlock(), vue.createElementBlock("div", {
40093
- key: 4,
40094
- ref: "rightFixedPatch",
40095
- style: vue.normalizeStyle({
40096
- width: _ctx.layout.scrollY.value ? _ctx.layout.gutterWidth + "px" : "0",
40097
- height: _ctx.layout.headerHeight.value + "px"
40098
- }),
40099
- class: "el-table__fixed-right-patch"
40100
- }, null, 4)) : vue.createCommentVNode("v-if", true),
40101
- vue.withDirectives(vue.createElementVNode("div", _hoisted_10$1, null, 512), [
40158
+ vue.withDirectives(vue.createElementVNode("div", _hoisted_8$2, null, 512), [
40102
40159
  [vue.vShow, _ctx.resizeProxyVisible]
40103
40160
  ])
40104
40161
  ], 38);
@@ -40577,6 +40634,7 @@
40577
40634
  filteredValue: [],
40578
40635
  filterPlacement: "",
40579
40636
  isColumnGroup: false,
40637
+ isSubColumn: false,
40580
40638
  filterOpened: false,
40581
40639
  sortable,
40582
40640
  index: props.index,
@@ -41670,7 +41728,6 @@
41670
41728
  ElCheckboxGroup: ElCheckboxGroup$1,
41671
41729
  ElCheckbox,
41672
41730
  ElInput: ElInput$1,
41673
- ElIcon: ElIcon$1,
41674
41731
  OptionContent: ({ option }) => option
41675
41732
  },
41676
41733
  props: useCheckProps,
@@ -41696,15 +41753,7 @@
41696
41753
  const hasNoMatch = vue.computed(() => {
41697
41754
  return panelState.query.length > 0 && filteredData.value.length === 0;
41698
41755
  });
41699
- const inputIcon = vue.computed(() => {
41700
- return panelState.query.length > 0 && panelState.inputHover ? circleClose : search;
41701
- });
41702
41756
  const hasFooter = vue.computed(() => !!slots.default()[0].children.length);
41703
- const clearQuery = () => {
41704
- if (inputIcon.value === circleClose) {
41705
- panelState.query = "";
41706
- }
41707
- };
41708
41757
  const { checked, allChecked, query, inputHover, checkChangeByUser } = vue.toRefs(panelState);
41709
41758
  return {
41710
41759
  labelProp,
@@ -41720,9 +41769,8 @@
41720
41769
  inputHover,
41721
41770
  checkChangeByUser,
41722
41771
  hasNoMatch,
41723
- inputIcon,
41772
+ SearchIcon: search,
41724
41773
  hasFooter,
41725
- clearQuery,
41726
41774
  t
41727
41775
  };
41728
41776
  }
@@ -41736,7 +41784,6 @@
41736
41784
  };
41737
41785
  function render$b(_ctx, _cache, $props, $setup, $data, $options) {
41738
41786
  const _component_el_checkbox = vue.resolveComponent("el-checkbox");
41739
- const _component_el_icon = vue.resolveComponent("el-icon");
41740
41787
  const _component_el_input = vue.resolveComponent("el-input");
41741
41788
  const _component_option_content = vue.resolveComponent("option-content");
41742
41789
  const _component_el_checkbox_group = vue.resolveComponent("el-checkbox-group");
@@ -41763,25 +41810,13 @@
41763
41810
  modelValue: _ctx.query,
41764
41811
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => _ctx.query = $event),
41765
41812
  class: "el-transfer-panel__filter",
41766
- size: "small",
41813
+ size: "default",
41767
41814
  placeholder: _ctx.placeholder,
41815
+ "prefix-icon": _ctx.SearchIcon,
41816
+ clearable: "",
41768
41817
  onMouseenter: _cache[2] || (_cache[2] = ($event) => _ctx.inputHover = true),
41769
41818
  onMouseleave: _cache[3] || (_cache[3] = ($event) => _ctx.inputHover = false)
41770
- }, {
41771
- prefix: vue.withCtx(() => [
41772
- _ctx.inputIcon ? (vue.openBlock(), vue.createBlock(_component_el_icon, {
41773
- key: 0,
41774
- class: "el-input__icon",
41775
- onClick: _ctx.clearQuery
41776
- }, {
41777
- default: vue.withCtx(() => [
41778
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.inputIcon)))
41779
- ]),
41780
- _: 1
41781
- }, 8, ["onClick"])) : vue.createCommentVNode("v-if", true)
41782
- ]),
41783
- _: 1
41784
- }, 8, ["modelValue", "placeholder"])) : vue.createCommentVNode("v-if", true),
41819
+ }, null, 8, ["modelValue", "placeholder", "prefix-icon"])) : vue.createCommentVNode("v-if", true),
41785
41820
  vue.withDirectives(vue.createVNode(_component_el_checkbox_group, {
41786
41821
  modelValue: _ctx.checked,
41787
41822
  "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => _ctx.checked = $event),
@@ -47203,6 +47238,9 @@
47203
47238
  const message = function(options = {}) {
47204
47239
  if (!isClient)
47205
47240
  return { close: () => void 0 };
47241
+ if (isNumber(messageConfig.max) && instances.length >= messageConfig.max) {
47242
+ return { close: () => void 0 };
47243
+ }
47206
47244
  if (!vue.isVNode(options) && typeof options === "object" && options.grouping && !vue.isVNode(options.message) && instances.length) {
47207
47245
  const tempVm = instances.find((item) => {
47208
47246
  var _a, _b, _c;
@@ -47577,6 +47615,7 @@
47577
47615
  default: vue.withCtx(() => [
47578
47616
  vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
47579
47617
  ref: "root",
47618
+ role: "dialog",
47580
47619
  "aria-label": _ctx.title || "dialog",
47581
47620
  "aria-modal": "true",
47582
47621
  class: vue.normalizeClass([
@@ -48310,6 +48349,7 @@
48310
48349
  exports.POPPER_CONTAINER_SELECTOR = POPPER_CONTAINER_SELECTOR;
48311
48350
  exports.POPPER_CONTENT_INJECTION_KEY = POPPER_CONTENT_INJECTION_KEY;
48312
48351
  exports.POPPER_INJECTION_KEY = POPPER_INJECTION_KEY;
48352
+ exports.PopupManager = PopupManager;
48313
48353
  exports.RepeatClick = RepeatClick;
48314
48354
  exports.Resize = Resize;
48315
48355
  exports.TimePickPanel = script$1O;
@@ -48326,6 +48366,7 @@
48326
48366
  exports.barProps = barProps;
48327
48367
  exports.breadcrumbItemProps = breadcrumbItemProps;
48328
48368
  exports.breadcrumbProps = breadcrumbProps;
48369
+ exports.buildLocaleContext = buildLocaleContext;
48329
48370
  exports.buildTranslator = buildTranslator;
48330
48371
  exports.buttonEmits = buttonEmits;
48331
48372
  exports.buttonGroupContextKey = buttonGroupContextKey;
@@ -48365,14 +48406,13 @@
48365
48406
  exports.install = install;
48366
48407
  exports.linkEmits = linkEmits;
48367
48408
  exports.linkProps = linkProps;
48368
- exports.localeContextKey = localeContextKey;
48369
- exports.localeProviderMaker = localeProviderMaker;
48370
48409
  exports.makeInstaller = makeInstaller;
48371
48410
  exports.menuEmits = menuEmits;
48372
48411
  exports.menuItemEmits = menuItemEmits;
48373
48412
  exports.menuItemGroupProps = menuItemGroupProps;
48374
48413
  exports.menuItemProps = menuItemProps;
48375
48414
  exports.menuProps = menuProps;
48415
+ exports.messageConfig = messageConfig;
48376
48416
  exports.messageEmits = messageEmits;
48377
48417
  exports.messageProps = messageProps;
48378
48418
  exports.messageTypes = messageTypes;
@@ -48388,7 +48428,6 @@
48388
48428
  exports.popconfirmProps = popconfirmProps;
48389
48429
  exports.progressProps = progressProps;
48390
48430
  exports.provideGlobalConfig = provideGlobalConfig;
48391
- exports.provideLocale = provideLocale;
48392
48431
  exports.radioButtonProps = radioButtonProps;
48393
48432
  exports.radioEmits = radioEmits;
48394
48433
  exports.radioGroupEmits = radioGroupEmits;
@@ -48439,7 +48478,6 @@
48439
48478
  exports.useGlobalConfig = useGlobalConfig;
48440
48479
  exports.useId = useId;
48441
48480
  exports.useLocale = useLocale;
48442
- exports.useLocaleProps = useLocaleProps;
48443
48481
  exports.useLockscreen = useLockscreen;
48444
48482
  exports.useModal = useModal;
48445
48483
  exports.useModelToggle = useModelToggle$1;