element-plus 2.2.21 → 2.2.22

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 (335) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +80 -56
  4. package/dist/index.full.min.js +14 -14
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +14 -14
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +80 -56
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar.js +1 -1
  14. package/dist/locale/ar.min.js +1 -1
  15. package/dist/locale/ar.min.mjs +1 -1
  16. package/dist/locale/ar.mjs +1 -1
  17. package/dist/locale/az.js +1 -1
  18. package/dist/locale/az.min.js +1 -1
  19. package/dist/locale/az.min.mjs +1 -1
  20. package/dist/locale/az.mjs +1 -1
  21. package/dist/locale/bg.js +1 -1
  22. package/dist/locale/bg.min.js +1 -1
  23. package/dist/locale/bg.min.mjs +1 -1
  24. package/dist/locale/bg.mjs +1 -1
  25. package/dist/locale/bn.js +1 -1
  26. package/dist/locale/bn.min.js +1 -1
  27. package/dist/locale/bn.min.mjs +1 -1
  28. package/dist/locale/bn.mjs +1 -1
  29. package/dist/locale/ca.js +1 -1
  30. package/dist/locale/ca.min.js +1 -1
  31. package/dist/locale/ca.min.mjs +1 -1
  32. package/dist/locale/ca.mjs +1 -1
  33. package/dist/locale/cs.js +1 -1
  34. package/dist/locale/cs.min.js +1 -1
  35. package/dist/locale/cs.min.mjs +1 -1
  36. package/dist/locale/cs.mjs +1 -1
  37. package/dist/locale/da.js +1 -1
  38. package/dist/locale/da.min.js +1 -1
  39. package/dist/locale/da.min.mjs +1 -1
  40. package/dist/locale/da.mjs +1 -1
  41. package/dist/locale/de.js +1 -1
  42. package/dist/locale/de.min.js +1 -1
  43. package/dist/locale/de.min.mjs +1 -1
  44. package/dist/locale/de.mjs +1 -1
  45. package/dist/locale/el.js +1 -1
  46. package/dist/locale/el.min.js +1 -1
  47. package/dist/locale/el.min.mjs +1 -1
  48. package/dist/locale/el.mjs +1 -1
  49. package/dist/locale/en.js +1 -1
  50. package/dist/locale/en.min.js +1 -1
  51. package/dist/locale/en.min.mjs +1 -1
  52. package/dist/locale/en.mjs +1 -1
  53. package/dist/locale/eo.js +1 -1
  54. package/dist/locale/eo.min.js +1 -1
  55. package/dist/locale/eo.min.mjs +1 -1
  56. package/dist/locale/eo.mjs +1 -1
  57. package/dist/locale/es.js +1 -1
  58. package/dist/locale/es.min.js +1 -1
  59. package/dist/locale/es.min.mjs +1 -1
  60. package/dist/locale/es.mjs +1 -1
  61. package/dist/locale/et.js +1 -1
  62. package/dist/locale/et.min.js +1 -1
  63. package/dist/locale/et.min.mjs +1 -1
  64. package/dist/locale/et.mjs +1 -1
  65. package/dist/locale/eu.js +1 -1
  66. package/dist/locale/eu.min.js +1 -1
  67. package/dist/locale/eu.min.mjs +1 -1
  68. package/dist/locale/eu.mjs +1 -1
  69. package/dist/locale/fa.js +1 -1
  70. package/dist/locale/fa.min.js +1 -1
  71. package/dist/locale/fa.min.mjs +1 -1
  72. package/dist/locale/fa.mjs +1 -1
  73. package/dist/locale/fi.js +1 -1
  74. package/dist/locale/fi.min.js +1 -1
  75. package/dist/locale/fi.min.mjs +1 -1
  76. package/dist/locale/fi.mjs +1 -1
  77. package/dist/locale/fr.js +1 -1
  78. package/dist/locale/fr.min.js +1 -1
  79. package/dist/locale/fr.min.mjs +1 -1
  80. package/dist/locale/fr.mjs +1 -1
  81. package/dist/locale/he.js +1 -1
  82. package/dist/locale/he.min.js +1 -1
  83. package/dist/locale/he.min.mjs +1 -1
  84. package/dist/locale/he.mjs +1 -1
  85. package/dist/locale/hr.js +1 -1
  86. package/dist/locale/hr.min.js +1 -1
  87. package/dist/locale/hr.min.mjs +1 -1
  88. package/dist/locale/hr.mjs +1 -1
  89. package/dist/locale/hu.js +1 -1
  90. package/dist/locale/hu.min.js +1 -1
  91. package/dist/locale/hu.min.mjs +1 -1
  92. package/dist/locale/hu.mjs +1 -1
  93. package/dist/locale/hy-am.js +1 -1
  94. package/dist/locale/hy-am.min.js +1 -1
  95. package/dist/locale/hy-am.min.mjs +1 -1
  96. package/dist/locale/hy-am.mjs +1 -1
  97. package/dist/locale/id.js +1 -1
  98. package/dist/locale/id.min.js +1 -1
  99. package/dist/locale/id.min.mjs +1 -1
  100. package/dist/locale/id.mjs +1 -1
  101. package/dist/locale/it.js +1 -1
  102. package/dist/locale/it.min.js +1 -1
  103. package/dist/locale/it.min.mjs +1 -1
  104. package/dist/locale/it.mjs +1 -1
  105. package/dist/locale/ja.js +1 -1
  106. package/dist/locale/ja.min.js +1 -1
  107. package/dist/locale/ja.min.mjs +1 -1
  108. package/dist/locale/ja.mjs +1 -1
  109. package/dist/locale/kk.js +1 -1
  110. package/dist/locale/kk.min.js +1 -1
  111. package/dist/locale/kk.min.mjs +1 -1
  112. package/dist/locale/kk.mjs +1 -1
  113. package/dist/locale/km.js +1 -1
  114. package/dist/locale/km.min.js +1 -1
  115. package/dist/locale/km.min.mjs +1 -1
  116. package/dist/locale/km.mjs +1 -1
  117. package/dist/locale/ko.js +1 -1
  118. package/dist/locale/ko.min.js +1 -1
  119. package/dist/locale/ko.min.mjs +1 -1
  120. package/dist/locale/ko.mjs +1 -1
  121. package/dist/locale/ku.js +1 -1
  122. package/dist/locale/ku.min.js +1 -1
  123. package/dist/locale/ku.min.mjs +1 -1
  124. package/dist/locale/ku.mjs +1 -1
  125. package/dist/locale/ky.js +1 -1
  126. package/dist/locale/ky.min.js +1 -1
  127. package/dist/locale/ky.min.mjs +1 -1
  128. package/dist/locale/ky.mjs +1 -1
  129. package/dist/locale/lt.js +1 -1
  130. package/dist/locale/lt.min.js +1 -1
  131. package/dist/locale/lt.min.mjs +1 -1
  132. package/dist/locale/lt.mjs +1 -1
  133. package/dist/locale/lv.js +1 -1
  134. package/dist/locale/lv.min.js +1 -1
  135. package/dist/locale/lv.min.mjs +1 -1
  136. package/dist/locale/lv.mjs +1 -1
  137. package/dist/locale/mg.js +1 -1
  138. package/dist/locale/mg.min.js +1 -1
  139. package/dist/locale/mg.min.mjs +1 -1
  140. package/dist/locale/mg.mjs +1 -1
  141. package/dist/locale/mn.js +1 -1
  142. package/dist/locale/mn.min.js +1 -1
  143. package/dist/locale/mn.min.mjs +1 -1
  144. package/dist/locale/mn.mjs +1 -1
  145. package/dist/locale/nb-no.js +1 -1
  146. package/dist/locale/nb-no.min.js +1 -1
  147. package/dist/locale/nb-no.min.mjs +1 -1
  148. package/dist/locale/nb-no.mjs +1 -1
  149. package/dist/locale/nl.js +1 -1
  150. package/dist/locale/nl.min.js +1 -1
  151. package/dist/locale/nl.min.mjs +1 -1
  152. package/dist/locale/nl.mjs +1 -1
  153. package/dist/locale/pa.js +1 -1
  154. package/dist/locale/pa.min.js +1 -1
  155. package/dist/locale/pa.min.mjs +1 -1
  156. package/dist/locale/pa.mjs +1 -1
  157. package/dist/locale/pl.js +1 -1
  158. package/dist/locale/pl.min.js +1 -1
  159. package/dist/locale/pl.min.mjs +1 -1
  160. package/dist/locale/pl.mjs +1 -1
  161. package/dist/locale/pt-br.js +1 -1
  162. package/dist/locale/pt-br.min.js +1 -1
  163. package/dist/locale/pt-br.min.mjs +1 -1
  164. package/dist/locale/pt-br.mjs +1 -1
  165. package/dist/locale/pt.js +1 -1
  166. package/dist/locale/pt.min.js +1 -1
  167. package/dist/locale/pt.min.mjs +1 -1
  168. package/dist/locale/pt.mjs +1 -1
  169. package/dist/locale/ro.js +1 -1
  170. package/dist/locale/ro.min.js +1 -1
  171. package/dist/locale/ro.min.mjs +1 -1
  172. package/dist/locale/ro.mjs +1 -1
  173. package/dist/locale/ru.js +1 -1
  174. package/dist/locale/ru.min.js +1 -1
  175. package/dist/locale/ru.min.mjs +1 -1
  176. package/dist/locale/ru.mjs +1 -1
  177. package/dist/locale/sk.js +1 -1
  178. package/dist/locale/sk.min.js +1 -1
  179. package/dist/locale/sk.min.mjs +1 -1
  180. package/dist/locale/sk.mjs +1 -1
  181. package/dist/locale/sl.js +1 -1
  182. package/dist/locale/sl.min.js +1 -1
  183. package/dist/locale/sl.min.mjs +1 -1
  184. package/dist/locale/sl.mjs +1 -1
  185. package/dist/locale/sr.js +1 -1
  186. package/dist/locale/sr.min.js +1 -1
  187. package/dist/locale/sr.min.mjs +1 -1
  188. package/dist/locale/sr.mjs +1 -1
  189. package/dist/locale/sv.js +1 -1
  190. package/dist/locale/sv.min.js +1 -1
  191. package/dist/locale/sv.min.mjs +1 -1
  192. package/dist/locale/sv.mjs +1 -1
  193. package/dist/locale/ta.js +1 -1
  194. package/dist/locale/ta.min.js +1 -1
  195. package/dist/locale/ta.min.mjs +1 -1
  196. package/dist/locale/ta.mjs +1 -1
  197. package/dist/locale/th.js +1 -1
  198. package/dist/locale/th.min.js +1 -1
  199. package/dist/locale/th.min.mjs +1 -1
  200. package/dist/locale/th.mjs +1 -1
  201. package/dist/locale/tk.js +1 -1
  202. package/dist/locale/tk.min.js +1 -1
  203. package/dist/locale/tk.min.mjs +1 -1
  204. package/dist/locale/tk.mjs +1 -1
  205. package/dist/locale/tr.js +1 -1
  206. package/dist/locale/tr.min.js +1 -1
  207. package/dist/locale/tr.min.mjs +1 -1
  208. package/dist/locale/tr.mjs +1 -1
  209. package/dist/locale/ug-cn.js +1 -1
  210. package/dist/locale/ug-cn.min.js +1 -1
  211. package/dist/locale/ug-cn.min.mjs +1 -1
  212. package/dist/locale/ug-cn.mjs +1 -1
  213. package/dist/locale/uk.js +1 -1
  214. package/dist/locale/uk.min.js +1 -1
  215. package/dist/locale/uk.min.mjs +1 -1
  216. package/dist/locale/uk.mjs +1 -1
  217. package/dist/locale/uz-uz.js +1 -1
  218. package/dist/locale/uz-uz.min.js +1 -1
  219. package/dist/locale/uz-uz.min.mjs +1 -1
  220. package/dist/locale/uz-uz.mjs +1 -1
  221. package/dist/locale/vi.js +1 -1
  222. package/dist/locale/vi.min.js +1 -1
  223. package/dist/locale/vi.min.mjs +1 -1
  224. package/dist/locale/vi.mjs +1 -1
  225. package/dist/locale/zh-cn.js +1 -1
  226. package/dist/locale/zh-cn.min.js +1 -1
  227. package/dist/locale/zh-cn.min.mjs +1 -1
  228. package/dist/locale/zh-cn.mjs +1 -1
  229. package/dist/locale/zh-tw.js +1 -1
  230. package/dist/locale/zh-tw.min.js +1 -1
  231. package/dist/locale/zh-tw.min.mjs +1 -1
  232. package/dist/locale/zh-tw.mjs +1 -1
  233. package/es/components/autocomplete/index.d.ts +12 -8
  234. package/es/components/autocomplete/src/autocomplete.vue.d.ts +12 -8
  235. package/es/components/button/src/button-group.d.ts +6 -0
  236. package/es/components/button/src/button-group.mjs.map +1 -1
  237. package/es/components/button/src/button.mjs.map +1 -1
  238. package/es/components/cascader/index.d.ts +48 -32
  239. package/es/components/cascader/src/index.vue.d.ts +24 -16
  240. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +132 -88
  241. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +132 -88
  242. package/es/components/date-picker/src/panel-utils.d.ts +264 -176
  243. package/es/components/index.mjs +1 -1
  244. package/es/components/input/src/input.mjs.map +1 -1
  245. package/es/components/pagination/src/components/jumper.d.ts +12 -0
  246. package/es/components/pagination/src/components/jumper.mjs +9 -53
  247. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  248. package/es/components/pagination/src/components/jumper.vue.d.ts +16 -2
  249. package/es/components/pagination/src/components/jumper2.mjs +64 -0
  250. package/es/components/pagination/src/components/jumper2.mjs.map +1 -0
  251. package/es/components/pagination/src/components/pager2.mjs +2 -2
  252. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  253. package/es/components/pagination/src/pagination.mjs +4 -2
  254. package/es/components/pagination/src/pagination.mjs.map +1 -1
  255. package/es/components/scrollbar/index.d.ts +12 -8
  256. package/es/components/scrollbar/src/scrollbar.d.ts +1 -1
  257. package/es/components/scrollbar/src/scrollbar.mjs +4 -1
  258. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  259. package/es/components/scrollbar/src/scrollbar.vue.d.ts +12 -8
  260. package/es/components/scrollbar/src/scrollbar2.mjs +44 -38
  261. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  262. package/es/components/select-v2/src/useSelect.mjs +3 -2
  263. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  264. package/es/components/skeleton/index.mjs +2 -2
  265. package/es/components/skeleton/src/skeleton-item.mjs +18 -23
  266. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  267. package/es/components/skeleton/src/skeleton-item2.mjs +23 -18
  268. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  269. package/es/components/skeleton/src/skeleton2.mjs +1 -1
  270. package/es/components/table/src/table/style-helper.mjs +3 -3
  271. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  272. package/es/components/table/src/table-layout.mjs +1 -1
  273. package/es/components/table/src/table-layout.mjs.map +1 -1
  274. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +108 -72
  275. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +132 -88
  276. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +132 -88
  277. package/es/index.mjs +1 -1
  278. package/es/version.d.ts +1 -1
  279. package/es/version.mjs +1 -1
  280. package/es/version.mjs.map +1 -1
  281. package/lib/components/autocomplete/index.d.ts +12 -8
  282. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +12 -8
  283. package/lib/components/button/src/button-group.d.ts +6 -0
  284. package/lib/components/button/src/button-group.js.map +1 -1
  285. package/lib/components/button/src/button.js.map +1 -1
  286. package/lib/components/cascader/index.d.ts +48 -32
  287. package/lib/components/cascader/src/index.vue.d.ts +24 -16
  288. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +132 -88
  289. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +132 -88
  290. package/lib/components/date-picker/src/panel-utils.d.ts +264 -176
  291. package/lib/components/index.js +1 -1
  292. package/lib/components/input/src/input.js.map +1 -1
  293. package/lib/components/pagination/src/components/jumper.d.ts +12 -0
  294. package/lib/components/pagination/src/components/jumper.js +9 -53
  295. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  296. package/lib/components/pagination/src/components/jumper.vue.d.ts +16 -2
  297. package/lib/components/pagination/src/components/jumper2.js +68 -0
  298. package/lib/components/pagination/src/components/jumper2.js.map +1 -0
  299. package/lib/components/pagination/src/components/pager2.js +2 -2
  300. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  301. package/lib/components/pagination/src/pagination.js +4 -2
  302. package/lib/components/pagination/src/pagination.js.map +1 -1
  303. package/lib/components/scrollbar/index.d.ts +12 -8
  304. package/lib/components/scrollbar/src/scrollbar.d.ts +1 -1
  305. package/lib/components/scrollbar/src/scrollbar.js +4 -1
  306. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  307. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +12 -8
  308. package/lib/components/scrollbar/src/scrollbar2.js +44 -38
  309. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  310. package/lib/components/select-v2/src/useSelect.js +3 -2
  311. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  312. package/lib/components/skeleton/index.js +2 -2
  313. package/lib/components/skeleton/src/skeleton-item.js +18 -23
  314. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  315. package/lib/components/skeleton/src/skeleton-item2.js +23 -18
  316. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  317. package/lib/components/skeleton/src/skeleton2.js +1 -1
  318. package/lib/components/table/src/table/style-helper.js +3 -3
  319. package/lib/components/table/src/table/style-helper.js.map +1 -1
  320. package/lib/components/table/src/table-layout.js +1 -1
  321. package/lib/components/table/src/table-layout.js.map +1 -1
  322. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +108 -72
  323. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +132 -88
  324. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +132 -88
  325. package/lib/index.js +1 -1
  326. package/lib/version.d.ts +1 -1
  327. package/lib/version.js +1 -1
  328. package/lib/version.js.map +1 -1
  329. package/package.json +2 -2
  330. package/tags.json +1 -1
  331. package/theme-chalk/el-pagination.css +1 -1
  332. package/theme-chalk/index.css +1 -1
  333. package/theme-chalk/src/common/var.scss +5 -3
  334. package/theme-chalk/src/pagination.scss +108 -258
  335. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v2.2.21 */
1
+ /*! Element Plus v2.2.22 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -11103,7 +11103,7 @@
11103
11103
  };
11104
11104
  };
11105
11105
 
11106
- const version$1 = "2.2.21";
11106
+ const version$1 = "2.2.22";
11107
11107
 
11108
11108
  const makeInstaller = (components = []) => {
11109
11109
  const install = (app, options) => {
@@ -11152,9 +11152,9 @@
11152
11152
  return target;
11153
11153
  };
11154
11154
 
11155
- const COMPONENT_NAME$l = "ElAffix";
11155
+ const COMPONENT_NAME$m = "ElAffix";
11156
11156
  const __default__$1w = vue.defineComponent({
11157
- name: COMPONENT_NAME$l
11157
+ name: COMPONENT_NAME$m
11158
11158
  });
11159
11159
  const _sfc_main$2f = /* @__PURE__ */ vue.defineComponent({
11160
11160
  ...__default__$1w,
@@ -11230,7 +11230,7 @@
11230
11230
  if (props.target) {
11231
11231
  target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
11232
11232
  if (!target.value)
11233
- throwError(COMPONENT_NAME$l, `Target is not existed: ${props.target}`);
11233
+ throwError(COMPONENT_NAME$m, `Target is not existed: ${props.target}`);
11234
11234
  } else {
11235
11235
  target.value = document.documentElement;
11236
11236
  }
@@ -12062,7 +12062,7 @@
12062
12062
  always: Boolean
12063
12063
  });
12064
12064
 
12065
- const COMPONENT_NAME$k = "Thumb";
12065
+ const COMPONENT_NAME$l = "Thumb";
12066
12066
  const _sfc_main$2b = /* @__PURE__ */ vue.defineComponent({
12067
12067
  __name: "thumb",
12068
12068
  props: thumbProps,
@@ -12071,7 +12071,7 @@
12071
12071
  const scrollbar = vue.inject(scrollbarContextKey);
12072
12072
  const ns = useNamespace("scrollbar");
12073
12073
  if (!scrollbar)
12074
- throwError(COMPONENT_NAME$k, "can not inject scrollbar context");
12074
+ throwError(COMPONENT_NAME$l, "can not inject scrollbar context");
12075
12075
  const instance = vue.ref();
12076
12076
  const thumb = vue.ref();
12077
12077
  const thumbState = vue.ref({});
@@ -12249,7 +12249,10 @@
12249
12249
  type: [String, Number],
12250
12250
  default: ""
12251
12251
  },
12252
- native: Boolean,
12252
+ native: {
12253
+ type: Boolean,
12254
+ default: false
12255
+ },
12253
12256
  wrapStyle: {
12254
12257
  type: definePropType([String, Object, Array]),
12255
12258
  default: ""
@@ -12284,8 +12287,9 @@
12284
12287
  }) => [scrollTop, scrollLeft].every(isNumber)
12285
12288
  };
12286
12289
 
12290
+ const COMPONENT_NAME$k = "ElScrollbar";
12287
12291
  const __default__$1s = vue.defineComponent({
12288
- name: "ElScrollbar"
12292
+ name: COMPONENT_NAME$k
12289
12293
  });
12290
12294
  const _sfc_main$29 = /* @__PURE__ */ vue.defineComponent({
12291
12295
  ...__default__$1s,
@@ -12296,9 +12300,9 @@
12296
12300
  const ns = useNamespace("scrollbar");
12297
12301
  let stopResizeObserver = void 0;
12298
12302
  let stopResizeListener = void 0;
12299
- const scrollbar$ = vue.ref();
12300
- const wrap$ = vue.ref();
12301
- const resize$ = vue.ref();
12303
+ const scrollbarRef = vue.ref();
12304
+ const wrapRef = vue.ref();
12305
+ const resizeRef = vue.ref();
12302
12306
  const sizeWidth = vue.ref("0");
12303
12307
  const sizeHeight = vue.ref("0");
12304
12308
  const barRef = vue.ref();
@@ -12312,42 +12316,52 @@
12312
12316
  style2.maxHeight = addUnit(props.maxHeight);
12313
12317
  return [props.wrapStyle, style2];
12314
12318
  });
12319
+ const wrapKls = vue.computed(() => {
12320
+ return [
12321
+ props.wrapClass,
12322
+ ns.e("wrap"),
12323
+ { [ns.em("wrap", "hidden-default")]: !props.native }
12324
+ ];
12325
+ });
12326
+ const resizeKls = vue.computed(() => {
12327
+ return [ns.e("view"), props.viewClass];
12328
+ });
12315
12329
  const handleScroll = () => {
12316
12330
  var _a;
12317
- if (wrap$.value) {
12318
- (_a = barRef.value) == null ? void 0 : _a.handleScroll(wrap$.value);
12331
+ if (wrapRef.value) {
12332
+ (_a = barRef.value) == null ? void 0 : _a.handleScroll(wrapRef.value);
12319
12333
  emit("scroll", {
12320
- scrollTop: wrap$.value.scrollTop,
12321
- scrollLeft: wrap$.value.scrollLeft
12334
+ scrollTop: wrapRef.value.scrollTop,
12335
+ scrollLeft: wrapRef.value.scrollLeft
12322
12336
  });
12323
12337
  }
12324
12338
  };
12325
12339
  function scrollTo(arg1, arg2) {
12326
12340
  if (isObject$1(arg1)) {
12327
- wrap$.value.scrollTo(arg1);
12341
+ wrapRef.value.scrollTo(arg1);
12328
12342
  } else if (isNumber(arg1) && isNumber(arg2)) {
12329
- wrap$.value.scrollTo(arg1, arg2);
12343
+ wrapRef.value.scrollTo(arg1, arg2);
12330
12344
  }
12331
12345
  }
12332
12346
  const setScrollTop = (value) => {
12333
12347
  if (!isNumber(value)) {
12334
12348
  return;
12335
12349
  }
12336
- wrap$.value.scrollTop = value;
12350
+ wrapRef.value.scrollTop = value;
12337
12351
  };
12338
12352
  const setScrollLeft = (value) => {
12339
12353
  if (!isNumber(value)) {
12340
12354
  return;
12341
12355
  }
12342
- wrap$.value.scrollLeft = value;
12356
+ wrapRef.value.scrollLeft = value;
12343
12357
  };
12344
12358
  const update = () => {
12345
- if (!wrap$.value)
12359
+ if (!wrapRef.value)
12346
12360
  return;
12347
- const offsetHeight = wrap$.value.offsetHeight - GAP;
12348
- const offsetWidth = wrap$.value.offsetWidth - GAP;
12349
- const originalHeight = offsetHeight ** 2 / wrap$.value.scrollHeight;
12350
- const originalWidth = offsetWidth ** 2 / wrap$.value.scrollWidth;
12361
+ const offsetHeight = wrapRef.value.offsetHeight - GAP;
12362
+ const offsetWidth = wrapRef.value.offsetWidth - GAP;
12363
+ const originalHeight = offsetHeight ** 2 / wrapRef.value.scrollHeight;
12364
+ const originalWidth = offsetWidth ** 2 / wrapRef.value.scrollWidth;
12351
12365
  const height = Math.max(originalHeight, props.minSize);
12352
12366
  const width = Math.max(originalWidth, props.minSize);
12353
12367
  ratioY.value = originalHeight / (offsetHeight - originalHeight) / (height / (offsetHeight - height));
@@ -12360,7 +12374,7 @@
12360
12374
  stopResizeObserver == null ? void 0 : stopResizeObserver();
12361
12375
  stopResizeListener == null ? void 0 : stopResizeListener();
12362
12376
  } else {
12363
- ({ stop: stopResizeObserver } = useResizeObserver(resize$, update));
12377
+ ({ stop: stopResizeObserver } = useResizeObserver(resizeRef, update));
12364
12378
  stopResizeListener = useEventListener("resize", update);
12365
12379
  }
12366
12380
  }, { immediate: true });
@@ -12369,14 +12383,14 @@
12369
12383
  vue.nextTick(() => {
12370
12384
  var _a;
12371
12385
  update();
12372
- if (wrap$.value) {
12373
- (_a = barRef.value) == null ? void 0 : _a.handleScroll(wrap$.value);
12386
+ if (wrapRef.value) {
12387
+ (_a = barRef.value) == null ? void 0 : _a.handleScroll(wrapRef.value);
12374
12388
  }
12375
12389
  });
12376
12390
  });
12377
12391
  vue.provide(scrollbarContextKey, vue.reactive({
12378
- scrollbarElement: scrollbar$,
12379
- wrapElement: wrap$
12392
+ scrollbarElement: scrollbarRef,
12393
+ wrapElement: wrapRef
12380
12394
  }));
12381
12395
  vue.onMounted(() => {
12382
12396
  if (!props.native)
@@ -12386,7 +12400,7 @@
12386
12400
  });
12387
12401
  vue.onUpdated(() => update());
12388
12402
  expose({
12389
- wrap$,
12403
+ wrapRef,
12390
12404
  update,
12391
12405
  scrollTo,
12392
12406
  setScrollTop,
@@ -12395,25 +12409,21 @@
12395
12409
  });
12396
12410
  return (_ctx, _cache) => {
12397
12411
  return vue.openBlock(), vue.createElementBlock("div", {
12398
- ref_key: "scrollbar$",
12399
- ref: scrollbar$,
12412
+ ref_key: "scrollbarRef",
12413
+ ref: scrollbarRef,
12400
12414
  class: vue.normalizeClass(vue.unref(ns).b())
12401
12415
  }, [
12402
12416
  vue.createElementVNode("div", {
12403
- ref_key: "wrap$",
12404
- ref: wrap$,
12405
- class: vue.normalizeClass([
12406
- _ctx.wrapClass,
12407
- vue.unref(ns).e("wrap"),
12408
- { [vue.unref(ns).em("wrap", "hidden-default")]: !_ctx.native }
12409
- ]),
12417
+ ref_key: "wrapRef",
12418
+ ref: wrapRef,
12419
+ class: vue.normalizeClass(vue.unref(wrapKls)),
12410
12420
  style: vue.normalizeStyle(vue.unref(style)),
12411
12421
  onScroll: handleScroll
12412
12422
  }, [
12413
12423
  (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.tag), {
12414
- ref_key: "resize$",
12415
- ref: resize$,
12416
- class: vue.normalizeClass([vue.unref(ns).e("view"), _ctx.viewClass]),
12424
+ ref_key: "resizeRef",
12425
+ ref: resizeRef,
12426
+ class: vue.normalizeClass(vue.unref(resizeKls)),
12417
12427
  style: vue.normalizeStyle(_ctx.viewStyle)
12418
12428
  }, {
12419
12429
  default: vue.withCtx(() => [
@@ -34271,12 +34281,20 @@
34271
34281
  });
34272
34282
  var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
34273
34283
 
34284
+ const paginationJumperProps = buildProps({
34285
+ size: {
34286
+ type: String,
34287
+ values: componentSizes
34288
+ }
34289
+ });
34290
+
34274
34291
  const _hoisted_1$m = ["disabled"];
34275
34292
  const __default__$z = vue.defineComponent({
34276
34293
  name: "ElPaginationJumper"
34277
34294
  });
34278
34295
  const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
34279
34296
  ...__default__$z,
34297
+ props: paginationJumperProps,
34280
34298
  setup(__props) {
34281
34299
  const { t } = useLocale();
34282
34300
  const ns = useNamespace("pagination");
@@ -34299,9 +34317,11 @@
34299
34317
  class: vue.normalizeClass(vue.unref(ns).e("jump")),
34300
34318
  disabled: vue.unref(disabled)
34301
34319
  }, [
34302
- vue.createTextVNode(vue.toDisplayString(vue.unref(t)("el.pagination.goto")) + " ", 1),
34320
+ vue.createElementVNode("span", {
34321
+ class: vue.normalizeClass([vue.unref(ns).e("goto")])
34322
+ }, vue.toDisplayString(vue.unref(t)("el.pagination.goto")), 3),
34303
34323
  vue.createVNode(vue.unref(ElInput), {
34304
- size: "small",
34324
+ size: _ctx.size,
34305
34325
  class: vue.normalizeClass([vue.unref(ns).e("editor"), vue.unref(ns).is("in-pagination")]),
34306
34326
  min: 1,
34307
34327
  max: vue.unref(pageCount),
@@ -34311,8 +34331,10 @@
34311
34331
  type: "number",
34312
34332
  "onUpdate:modelValue": handleInput,
34313
34333
  onChange: handleChange
34314
- }, null, 8, ["class", "max", "disabled", "model-value"]),
34315
- vue.createTextVNode(" " + vue.toDisplayString(vue.unref(t)("el.pagination.pageClassifier")), 1)
34334
+ }, null, 8, ["size", "class", "max", "disabled", "model-value"]),
34335
+ vue.createElementVNode("span", {
34336
+ class: vue.normalizeClass([vue.unref(ns).e("classifier")])
34337
+ }, vue.toDisplayString(vue.unref(t)("el.pagination.pageClassifier")), 3)
34316
34338
  ], 10, _hoisted_1$m);
34317
34339
  };
34318
34340
  }
@@ -34523,7 +34545,7 @@
34523
34545
  onFocus: _cache[2] || (_cache[2] = ($event) => onFocus(true)),
34524
34546
  onBlur: _cache[3] || (_cache[3] = ($event) => quickPrevFocus.value = false)
34525
34547
  }, [
34526
- quickPrevHover.value || quickPrevFocus.value ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_left_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
34548
+ (quickPrevHover.value || quickPrevFocus.value) && !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_left_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
34527
34549
  ], 42, _hoisted_3$7)) : vue.createCommentVNode("v-if", true),
34528
34550
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(pagers), (pager) => {
34529
34551
  return vue.openBlock(), vue.createElementBlock("li", {
@@ -34550,7 +34572,7 @@
34550
34572
  onFocus: _cache[6] || (_cache[6] = ($event) => onFocus()),
34551
34573
  onBlur: _cache[7] || (_cache[7] = ($event) => quickNextFocus.value = false)
34552
34574
  }, [
34553
- quickNextHover.value || quickNextFocus.value ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_right_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
34575
+ (quickNextHover.value || quickNextFocus.value) && !_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(d_arrow_right_default), { key: 0 })) : (vue.openBlock(), vue.createBlock(vue.unref(more_filled_default), { key: 1 }))
34554
34576
  ], 42, _hoisted_5$4)) : vue.createCommentVNode("v-if", true),
34555
34577
  _ctx.pageCount > 1 ? (vue.openBlock(), vue.createElementBlock("li", {
34556
34578
  key: 3,
@@ -34760,7 +34782,9 @@
34760
34782
  prevIcon: props.prevIcon,
34761
34783
  onClick: prev
34762
34784
  }),
34763
- jumper: vue.h(Jumper),
34785
+ jumper: vue.h(Jumper, {
34786
+ size: props.small ? "small" : "default"
34787
+ }),
34764
34788
  pager: vue.h(Pager, {
34765
34789
  currentPage: currentPageBridge.value,
34766
34790
  pageCount: pageCountBridge.value,
@@ -38347,9 +38371,9 @@
38347
38371
  });
38348
38372
  const filteredOptions = vue.computed(() => {
38349
38373
  const isValidOption = (o) => {
38350
- var _a;
38351
38374
  const query = states.inputValue;
38352
- const containsQueryString = query ? (_a = o.label) == null ? void 0 : _a.includes(query) : true;
38375
+ const regexp = new RegExp(escapeStringRegexp(query), "i");
38376
+ const containsQueryString = query ? regexp.test(o.label || "") : true;
38353
38377
  return containsQueryString;
38354
38378
  };
38355
38379
  if (props.loading) {
@@ -42543,7 +42567,7 @@
42543
42567
  if (this.table.vnode.el && scrollBarRef) {
42544
42568
  let scrollY = true;
42545
42569
  const prevScrollY = this.scrollY.value;
42546
- scrollY = scrollBarRef.wrap$.scrollHeight > scrollBarRef.wrap$.clientHeight;
42570
+ scrollY = scrollBarRef.wrapRef.scrollHeight > scrollBarRef.wrapRef.clientHeight;
42547
42571
  this.scrollY.value = scrollY;
42548
42572
  return prevScrollY !== scrollY;
42549
42573
  }
@@ -44320,7 +44344,7 @@
44320
44344
  }
44321
44345
  return;
44322
44346
  }
44323
- const scrollContainer = table.refs.scrollBarRef.wrap$;
44347
+ const scrollContainer = table.refs.scrollBarRef.wrapRef;
44324
44348
  if (!scrollContainer)
44325
44349
  return;
44326
44350
  const { scrollLeft, offsetWidth, scrollWidth } = scrollContainer;
@@ -44341,8 +44365,8 @@
44341
44365
  const bindEvents = () => {
44342
44366
  if (!table.refs.scrollBarRef)
44343
44367
  return;
44344
- if (table.refs.scrollBarRef.wrap$) {
44345
- useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPosition, {
44368
+ if (table.refs.scrollBarRef.wrapRef) {
44369
+ useEventListener(table.refs.scrollBarRef.wrapRef, "scroll", syncPosition, {
44346
44370
  passive: true
44347
44371
  });
44348
44372
  }