@element-plus/nightly 0.0.20220817 → 0.0.20220820

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 (333) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +229 -143
  4. package/dist/index.full.min.js +12 -12
  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 +229 -143
  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/cascader/src/index.mjs +9 -3
  234. package/es/components/cascader/src/index.mjs.map +1 -1
  235. package/es/components/collection/index.mjs +1 -1
  236. package/es/components/collection/src/collection.mjs +9 -61
  237. package/es/components/collection/src/collection.mjs.map +1 -1
  238. package/es/components/collection/src/collection2.mjs +61 -9
  239. package/es/components/collection/src/collection2.mjs.map +1 -1
  240. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
  241. package/es/components/dropdown/src/dropdown.mjs +1 -1
  242. package/es/components/menu/src/menu.mjs +39 -17
  243. package/es/components/menu/src/menu.mjs.map +1 -1
  244. package/es/components/page-header/index.d.ts +46 -0
  245. package/es/components/page-header/src/page-header.vue.d.ts +46 -0
  246. package/es/components/page-header/src/page-header2.mjs +70 -28
  247. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  248. package/es/components/pagination/index.d.ts +6 -0
  249. package/es/components/pagination/src/components/next.d.ts +6 -0
  250. package/es/components/pagination/src/components/next.mjs +4 -0
  251. package/es/components/pagination/src/components/next.mjs.map +1 -1
  252. package/es/components/pagination/src/components/next.vue.d.ts +18 -1
  253. package/es/components/pagination/src/components/next2.mjs +2 -3
  254. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  255. package/es/components/pagination/src/components/prev.d.ts +6 -0
  256. package/es/components/pagination/src/components/prev.mjs +4 -0
  257. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  258. package/es/components/pagination/src/components/prev.vue.d.ts +18 -1
  259. package/es/components/pagination/src/components/prev2.mjs +2 -3
  260. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  261. package/es/components/pagination/src/pagination.d.ts +8 -0
  262. package/es/components/pagination/src/pagination.mjs +12 -0
  263. package/es/components/pagination/src/pagination.mjs.map +1 -1
  264. package/es/components/roving-focus-group/src/roving-focus-group.mjs +1 -1
  265. package/es/components/select/src/useOption.mjs +2 -2
  266. package/es/components/select/src/useOption.mjs.map +1 -1
  267. package/es/components/select/src/useSelect.mjs +2 -2
  268. package/es/components/select/src/useSelect.mjs.map +1 -1
  269. package/es/components/switch/src/switch2.mjs +2 -1
  270. package/es/components/switch/src/switch2.mjs.map +1 -1
  271. package/es/components/tree/src/model/node.mjs +3 -3
  272. package/es/components/tree/src/model/node.mjs.map +1 -1
  273. package/es/components/virtual-list/src/builders/build-list.mjs +3 -3
  274. package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
  275. package/es/version.d.ts +1 -1
  276. package/es/version.mjs +1 -1
  277. package/es/version.mjs.map +1 -1
  278. package/lib/components/cascader/src/index.js +9 -3
  279. package/lib/components/cascader/src/index.js.map +1 -1
  280. package/lib/components/collection/index.js +1 -1
  281. package/lib/components/collection/src/collection.js +8 -61
  282. package/lib/components/collection/src/collection.js.map +1 -1
  283. package/lib/components/collection/src/collection2.js +61 -8
  284. package/lib/components/collection/src/collection2.js.map +1 -1
  285. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
  286. package/lib/components/dropdown/src/dropdown.js +1 -1
  287. package/lib/components/menu/src/menu.js +39 -17
  288. package/lib/components/menu/src/menu.js.map +1 -1
  289. package/lib/components/page-header/index.d.ts +46 -0
  290. package/lib/components/page-header/src/page-header.vue.d.ts +46 -0
  291. package/lib/components/page-header/src/page-header2.js +69 -27
  292. package/lib/components/page-header/src/page-header2.js.map +1 -1
  293. package/lib/components/pagination/index.d.ts +6 -0
  294. package/lib/components/pagination/src/components/next.d.ts +6 -0
  295. package/lib/components/pagination/src/components/next.js +4 -0
  296. package/lib/components/pagination/src/components/next.js.map +1 -1
  297. package/lib/components/pagination/src/components/next.vue.d.ts +18 -1
  298. package/lib/components/pagination/src/components/next2.js +1 -2
  299. package/lib/components/pagination/src/components/next2.js.map +1 -1
  300. package/lib/components/pagination/src/components/prev.d.ts +6 -0
  301. package/lib/components/pagination/src/components/prev.js +4 -0
  302. package/lib/components/pagination/src/components/prev.js.map +1 -1
  303. package/lib/components/pagination/src/components/prev.vue.d.ts +18 -1
  304. package/lib/components/pagination/src/components/prev2.js +1 -2
  305. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  306. package/lib/components/pagination/src/pagination.d.ts +8 -0
  307. package/lib/components/pagination/src/pagination.js +12 -0
  308. package/lib/components/pagination/src/pagination.js.map +1 -1
  309. package/lib/components/roving-focus-group/src/roving-focus-group.js +1 -1
  310. package/lib/components/select/src/useOption.js +1 -1
  311. package/lib/components/select/src/useOption.js.map +1 -1
  312. package/lib/components/select/src/useSelect.js +1 -1
  313. package/lib/components/select/src/useSelect.js.map +1 -1
  314. package/lib/components/switch/src/switch2.js +2 -1
  315. package/lib/components/switch/src/switch2.js.map +1 -1
  316. package/lib/components/tree/src/model/node.js +3 -3
  317. package/lib/components/tree/src/model/node.js.map +1 -1
  318. package/lib/components/virtual-list/src/builders/build-list.js +2 -2
  319. package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
  320. package/lib/version.d.ts +1 -1
  321. package/lib/version.js +1 -1
  322. package/lib/version.js.map +1 -1
  323. package/package.json +2 -2
  324. package/tags.json +1 -1
  325. package/theme-chalk/el-input.css +1 -1
  326. package/theme-chalk/el-page-header.css +1 -1
  327. package/theme-chalk/el-select-v2.css +1 -1
  328. package/theme-chalk/el-select.css +1 -1
  329. package/theme-chalk/index.css +1 -1
  330. package/theme-chalk/src/input.scss +1 -0
  331. package/theme-chalk/src/page-header.scss +40 -26
  332. package/theme-chalk/src/select/common.scss +3 -5
  333. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20220817 */
1
+ /*! Element Plus v0.0.20220820 */
2
2
 
3
3
  import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, inject, provide, onBeforeUnmount, toRef, onUnmounted, isRef, h as h$1, Teleport, onBeforeMount, defineComponent, normalizeClass, normalizeStyle, renderSlot, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, useAttrs as useAttrs$1, onUpdated, withModifiers, reactive, cloneVNode, Text, toRefs, resolveComponent, onDeactivated, renderList, withKeys, createSlots, normalizeProps, guardReactiveProps, vModelCheckbox, vModelRadio, onBeforeUpdate, resolveDirective, vModelText, toHandlers, markRaw, effectScope, toRaw as toRaw$1, triggerRef, TransitionGroup, createApp, shallowReactive, render } from 'vue';
4
4
 
@@ -10972,7 +10972,7 @@ function useCursor(input) {
10972
10972
  return [recordCursor, setCursor];
10973
10973
  }
10974
10974
 
10975
- const version$1 = "0.0.20220817";
10975
+ const version$1 = "0.0.20220820";
10976
10976
 
10977
10977
  const makeInstaller = (components = []) => {
10978
10978
  const install = (app, options) => {
@@ -11476,7 +11476,7 @@ const inputEmits = {
11476
11476
  compositionend: (evt) => evt instanceof CompositionEvent
11477
11477
  };
11478
11478
 
11479
- const _hoisted_1$13 = ["role"];
11479
+ const _hoisted_1$14 = ["role"];
11480
11480
  const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
11481
11481
  const _hoisted_3$m = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
11482
11482
  const __default__$1n = {
@@ -11903,7 +11903,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
11903
11903
  class: normalizeClass(unref(nsInput).e("count"))
11904
11904
  }, toDisplayString(unref(textLength)) + " / " + toDisplayString(unref(attrs).maxlength), 7)) : createCommentVNode("v-if", true)
11905
11905
  ], 64))
11906
- ], 16, _hoisted_1$13)), [
11906
+ ], 16, _hoisted_1$14)), [
11907
11907
  [vShow, _ctx.type !== "hidden"]
11908
11908
  ]);
11909
11909
  };
@@ -13687,7 +13687,7 @@ const _sfc_main$21 = defineComponent({
13687
13687
  };
13688
13688
  }
13689
13689
  });
13690
- const _hoisted_1$12 = ["innerHTML"];
13690
+ const _hoisted_1$13 = ["innerHTML"];
13691
13691
  const _hoisted_2$F = { key: 1 };
13692
13692
  function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13693
13693
  const _component_el_tooltip_trigger = resolveComponent("el-tooltip-trigger");
@@ -13745,7 +13745,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13745
13745
  _ctx.rawContent ? (openBlock(), createElementBlock("span", {
13746
13746
  key: 0,
13747
13747
  innerHTML: _ctx.content
13748
- }, null, 8, _hoisted_1$12)) : (openBlock(), createElementBlock("span", _hoisted_2$F, toDisplayString(_ctx.content), 1))
13748
+ }, null, 8, _hoisted_1$13)) : (openBlock(), createElementBlock("span", _hoisted_2$F, toDisplayString(_ctx.content), 1))
13749
13749
  ]),
13750
13750
  _ctx.compatShowArrow ? (openBlock(), createBlock(_component_el_popper_arrow, {
13751
13751
  key: 0,
@@ -13830,7 +13830,7 @@ const autocompleteEmits = {
13830
13830
  select: (item) => isObject$1(item)
13831
13831
  };
13832
13832
 
13833
- const _hoisted_1$11 = ["aria-expanded", "aria-owns"];
13833
+ const _hoisted_1$12 = ["aria-expanded", "aria-owns"];
13834
13834
  const _hoisted_2$E = { key: 0 };
13835
13835
  const _hoisted_3$l = ["id", "aria-selected", "onClick"];
13836
13836
  const __default__$1h = {
@@ -14155,7 +14155,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
14155
14155
  ])
14156
14156
  } : void 0
14157
14157
  ]), 1040, ["model-value", "onKeydown"])
14158
- ], 14, _hoisted_1$11)
14158
+ ], 14, _hoisted_1$12)
14159
14159
  ]),
14160
14160
  _: 3
14161
14161
  }, 8, ["visible", "placement", "popper-class", "teleported", "transition"]);
@@ -14196,7 +14196,7 @@ const avatarEmits = {
14196
14196
  error: (evt) => evt instanceof Event
14197
14197
  };
14198
14198
 
14199
- const _hoisted_1$10 = ["src", "alt", "srcset"];
14199
+ const _hoisted_1$11 = ["src", "alt", "srcset"];
14200
14200
  const __default__$1g = {
14201
14201
  name: "ElAvatar"
14202
14202
  };
@@ -14245,7 +14245,7 @@ const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
14245
14245
  srcset: _ctx.srcSet,
14246
14246
  style: normalizeStyle(unref(fitStyle)),
14247
14247
  onError: handleError
14248
- }, null, 44, _hoisted_1$10)) : _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
14248
+ }, null, 44, _hoisted_1$11)) : _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
14249
14249
  default: withCtx(() => [
14250
14250
  (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
14251
14251
  ]),
@@ -14281,7 +14281,7 @@ const backtopEmits = {
14281
14281
  click: (evt) => evt instanceof MouseEvent
14282
14282
  };
14283
14283
 
14284
- const _hoisted_1$$ = ["onClick"];
14284
+ const _hoisted_1$10 = ["onClick"];
14285
14285
  const __default__$1f = {
14286
14286
  name: "ElBacktop"
14287
14287
  };
@@ -14361,7 +14361,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14361
14361
  _: 1
14362
14362
  }, 8, ["class"])
14363
14363
  ])
14364
- ], 14, _hoisted_1$$)) : createCommentVNode("v-if", true)
14364
+ ], 14, _hoisted_1$10)) : createCommentVNode("v-if", true)
14365
14365
  ]),
14366
14366
  _: 3
14367
14367
  }, 8, ["name"]);
@@ -14390,7 +14390,7 @@ const badgeProps = buildProps({
14390
14390
  }
14391
14391
  });
14392
14392
 
14393
- const _hoisted_1$_ = ["textContent"];
14393
+ const _hoisted_1$$ = ["textContent"];
14394
14394
  const __default__$1e = {
14395
14395
  name: "ElBadge"
14396
14396
  };
@@ -14429,7 +14429,7 @@ const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
14429
14429
  unref(ns).is("dot", _ctx.isDot)
14430
14430
  ]),
14431
14431
  textContent: toDisplayString(unref(content))
14432
- }, null, 10, _hoisted_1$_), [
14432
+ }, null, 10, _hoisted_1$$), [
14433
14433
  [vShow, !_ctx.hidden && (unref(content) || _ctx.isDot)]
14434
14434
  ])
14435
14435
  ]),
@@ -15531,7 +15531,7 @@ function useButtonCustomStyle(props) {
15531
15531
  });
15532
15532
  }
15533
15533
 
15534
- const _hoisted_1$Z = ["aria-disabled", "disabled", "autofocus", "type"];
15534
+ const _hoisted_1$_ = ["aria-disabled", "disabled", "autofocus", "type"];
15535
15535
  const __default__$1b = {
15536
15536
  name: "ElButton"
15537
15537
  };
@@ -15633,7 +15633,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
15633
15633
  }, [
15634
15634
  renderSlot(_ctx.$slots, "default")
15635
15635
  ], 2)) : createCommentVNode("v-if", true)
15636
- ], 14, _hoisted_1$Z);
15636
+ ], 14, _hoisted_1$_);
15637
15637
  };
15638
15638
  }
15639
15639
  });
@@ -16298,7 +16298,7 @@ const timePickerDefaultProps = buildProps({
16298
16298
  unlinkPanels: Boolean
16299
16299
  });
16300
16300
 
16301
- const _hoisted_1$Y = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16301
+ const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16302
16302
  const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16303
16303
  const __default__$19 = {
16304
16304
  name: "Picker"
@@ -16850,7 +16850,7 @@ const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16850
16850
  onChange: handleStartChange,
16851
16851
  onFocus: handleFocusInput,
16852
16852
  onBlur: handleBlurInput
16853
- }, null, 42, _hoisted_1$Y),
16853
+ }, null, 42, _hoisted_1$Z),
16854
16854
  renderSlot(_ctx.$slots, "range-separator", {}, () => [
16855
16855
  createElementVNode("span", {
16856
16856
  class: normalizeClass(unref(nsRange).b("separator"))
@@ -17211,7 +17211,7 @@ const basicTimeSpinnerProps = buildProps({
17211
17211
  ...disabledTimeListsProps
17212
17212
  });
17213
17213
 
17214
- const _hoisted_1$X = ["onClick"];
17214
+ const _hoisted_1$Y = ["onClick"];
17215
17215
  const _hoisted_2$C = ["onMouseenter"];
17216
17216
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
17217
17217
  __name: "basic-time-spinner",
@@ -17435,7 +17435,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
17435
17435
  ], 64)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
17436
17436
  createTextVNode(toDisplayString(("0" + key).slice(-2)), 1)
17437
17437
  ], 64))
17438
- ], 10, _hoisted_1$X);
17438
+ ], 10, _hoisted_1$Y);
17439
17439
  }), 128))
17440
17440
  ]),
17441
17441
  _: 2
@@ -17658,7 +17658,7 @@ const panelTimeRangeProps = buildProps({
17658
17658
  }
17659
17659
  });
17660
17660
 
17661
- const _hoisted_1$W = ["disabled"];
17661
+ const _hoisted_1$X = ["disabled"];
17662
17662
  const _sfc_main$1R = /* @__PURE__ */ defineComponent({
17663
17663
  __name: "panel-time-range",
17664
17664
  props: panelTimeRangeProps,
@@ -17919,7 +17919,7 @@ const _sfc_main$1R = /* @__PURE__ */ defineComponent({
17919
17919
  class: normalizeClass([unref(nsTime).be("panel", "btn"), "confirm"]),
17920
17920
  disabled: unref(btnConfirmDisabled),
17921
17921
  onClick: _cache[1] || (_cache[1] = ($event) => handleConfirm())
17922
- }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$W)
17922
+ }, toDisplayString(unref(t)("el.datepicker.confirm")), 11, _hoisted_1$X)
17923
17923
  ], 2)
17924
17924
  ], 2)) : createCommentVNode("v-if", true);
17925
17925
  };
@@ -18006,7 +18006,7 @@ const dateTableEmits = {
18006
18006
  pick: (value) => isObject$1(value)
18007
18007
  };
18008
18008
 
18009
- const _hoisted_1$V = { key: 0 };
18009
+ const _hoisted_1$W = { key: 0 };
18010
18010
  const _hoisted_2$B = ["onClick"];
18011
18011
  const __default__$18 = {
18012
18012
  name: "DateTable"
@@ -18112,7 +18112,7 @@ const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
18112
18112
  cellspacing: "0",
18113
18113
  cellpadding: "0"
18114
18114
  }, [
18115
- !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$V, [
18115
+ !_ctx.hideHeader ? (openBlock(), createElementBlock("thead", _hoisted_1$W, [
18116
18116
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(weekDays), (day) => {
18117
18117
  return openBlock(), createElementBlock("th", { key: day }, toDisplayString(day), 1);
18118
18118
  }), 128))
@@ -18495,7 +18495,7 @@ const carouselEmits = {
18495
18495
  change: (current, prev) => [current, prev].every(isNumber)
18496
18496
  };
18497
18497
 
18498
- const _hoisted_1$U = ["onMouseenter", "onMouseleave"];
18498
+ const _hoisted_1$V = ["onMouseenter", "onMouseleave"];
18499
18499
  const _hoisted_2$A = ["onMouseenter", "onClick"];
18500
18500
  const _hoisted_3$k = { key: 0 };
18501
18501
  const __default__$15 = {
@@ -18805,7 +18805,7 @@ const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18805
18805
  ], 42, _hoisted_2$A);
18806
18806
  }), 128))
18807
18807
  ], 2)) : createCommentVNode("v-if", true)
18808
- ], 42, _hoisted_1$U);
18808
+ ], 42, _hoisted_1$V);
18809
18809
  };
18810
18810
  }
18811
18811
  });
@@ -19244,7 +19244,7 @@ const useCheckbox = (props, slots) => {
19244
19244
  };
19245
19245
  };
19246
19246
 
19247
- const _hoisted_1$T = ["tabindex", "role", "aria-checked"];
19247
+ const _hoisted_1$U = ["tabindex", "role", "aria-checked"];
19248
19248
  const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
19249
19249
  const _hoisted_3$j = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
19250
19250
  const __default__$13 = {
@@ -19332,7 +19332,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19332
19332
  createElementVNode("span", {
19333
19333
  class: normalizeClass(unref(ns).e("inner"))
19334
19334
  }, null, 2)
19335
- ], 10, _hoisted_1$T),
19335
+ ], 10, _hoisted_1$U),
19336
19336
  unref(hasOwnLabel) ? (openBlock(), createElementBlock("span", {
19337
19337
  key: 0,
19338
19338
  class: normalizeClass(unref(ns).e("label"))
@@ -19350,7 +19350,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19350
19350
  });
19351
19351
  var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox.vue"]]);
19352
19352
 
19353
- const _hoisted_1$S = ["name", "tabindex", "disabled", "true-value", "false-value"];
19353
+ const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
19354
19354
  const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
19355
19355
  const __default__$12 = {
19356
19356
  name: "ElCheckboxButton"
@@ -19398,7 +19398,7 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19398
19398
  onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
19399
19399
  onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
19400
19400
  onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
19401
- }, null, 42, _hoisted_1$S)), [
19401
+ }, null, 42, _hoisted_1$T)), [
19402
19402
  [vModelCheckbox, unref(model)]
19403
19403
  ]) : withDirectives((openBlock(), createElementBlock("input", {
19404
19404
  key: 1,
@@ -19557,7 +19557,7 @@ const useRadio = (props, emit) => {
19557
19557
  };
19558
19558
  };
19559
19559
 
19560
- const _hoisted_1$R = ["value", "name", "disabled"];
19560
+ const _hoisted_1$S = ["value", "name", "disabled"];
19561
19561
  const __default__$10 = {
19562
19562
  name: "ElRadio"
19563
19563
  };
@@ -19603,7 +19603,7 @@ const _sfc_main$1I = /* @__PURE__ */ defineComponent({
19603
19603
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19604
19604
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false),
19605
19605
  onChange: handleChange
19606
- }, null, 42, _hoisted_1$R), [
19606
+ }, null, 42, _hoisted_1$S), [
19607
19607
  [vModelRadio, unref(modelValue)]
19608
19608
  ]),
19609
19609
  createElementVNode("span", {
@@ -19633,7 +19633,7 @@ const radioButtonProps = buildProps({
19633
19633
  }
19634
19634
  });
19635
19635
 
19636
- const _hoisted_1$Q = ["value", "name", "disabled"];
19636
+ const _hoisted_1$R = ["value", "name", "disabled"];
19637
19637
  const __default__$$ = {
19638
19638
  name: "ElRadioButton"
19639
19639
  };
@@ -19674,7 +19674,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
19674
19674
  disabled: unref(disabled),
19675
19675
  onFocus: _cache[1] || (_cache[1] = ($event) => focus.value = true),
19676
19676
  onBlur: _cache[2] || (_cache[2] = ($event) => focus.value = false)
19677
- }, null, 42, _hoisted_1$Q), [
19677
+ }, null, 42, _hoisted_1$R), [
19678
19678
  [vModelRadio, unref(modelValue)]
19679
19679
  ]),
19680
19680
  createElementVNode("span", {
@@ -19727,7 +19727,7 @@ const radioGroupProps = buildProps({
19727
19727
  });
19728
19728
  const radioGroupEmits = radioEmits;
19729
19729
 
19730
- const _hoisted_1$P = ["id", "aria-label", "aria-labelledby"];
19730
+ const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
19731
19731
  const __default__$_ = {
19732
19732
  name: "ElRadioGroup"
19733
19733
  };
@@ -19779,7 +19779,7 @@ const _sfc_main$1G = /* @__PURE__ */ defineComponent({
19779
19779
  "aria-labelledby": unref(isLabeledByFormItem) ? unref(formItem).labelId : void 0
19780
19780
  }, [
19781
19781
  renderSlot(_ctx.$slots, "default")
19782
- ], 10, _hoisted_1$P);
19782
+ ], 10, _hoisted_1$Q);
19783
19783
  };
19784
19784
  }
19785
19785
  });
@@ -19931,7 +19931,7 @@ const _sfc_main$1F = defineComponent({
19931
19931
  };
19932
19932
  }
19933
19933
  });
19934
- const _hoisted_1$O = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19934
+ const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
19935
19935
  const _hoisted_2$x = /* @__PURE__ */ createElementVNode("span", null, null, -1);
19936
19936
  function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
19937
19937
  const _component_el_checkbox = resolveComponent("el-checkbox");
@@ -20014,7 +20014,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
20014
20014
  _: 1
20015
20015
  }, 8, ["class"]))
20016
20016
  ], 64)) : createCommentVNode("v-if", true)
20017
- ], 42, _hoisted_1$O);
20017
+ ], 42, _hoisted_1$P);
20018
20018
  }
20019
20019
  var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$A], ["__file", "node.vue"]]);
20020
20020
 
@@ -20933,9 +20933,7 @@ const _sfc_main$1B = defineComponent({
20933
20933
  updatePopperPosition();
20934
20934
  nextTick((_c = panel.value) == null ? void 0 : _c.scrollToExpandingNode);
20935
20935
  } else if (props.filterable) {
20936
- const { value } = presentText;
20937
- inputValue.value = value;
20938
- searchInputValue.value = value;
20936
+ syncPresentTextValue();
20939
20937
  }
20940
20938
  emit("visible-change", visible);
20941
20939
  }
@@ -21092,8 +21090,16 @@ const _sfc_main$1B = defineComponent({
21092
21090
  const handleClear = () => {
21093
21091
  var _a;
21094
21092
  (_a = panel.value) == null ? void 0 : _a.clearCheckedNodes();
21093
+ if (!popperVisible.value && props.filterable) {
21094
+ syncPresentTextValue();
21095
+ }
21095
21096
  togglePopperVisible(false);
21096
21097
  };
21098
+ const syncPresentTextValue = () => {
21099
+ const { value } = presentText;
21100
+ inputValue.value = value;
21101
+ searchInputValue.value = value;
21102
+ };
21097
21103
  const handleSuggestionClick = (node) => {
21098
21104
  var _a, _b;
21099
21105
  const { checked } = node;
@@ -21208,7 +21214,7 @@ const _sfc_main$1B = defineComponent({
21208
21214
  };
21209
21215
  }
21210
21216
  });
21211
- const _hoisted_1$N = { key: 0 };
21217
+ const _hoisted_1$O = { key: 0 };
21212
21218
  const _hoisted_2$w = ["placeholder"];
21213
21219
  const _hoisted_3$i = ["onClick"];
21214
21220
  function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
@@ -21319,7 +21325,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
21319
21325
  onClose: ($event) => _ctx.deleteTag(tag)
21320
21326
  }, {
21321
21327
  default: withCtx(() => [
21322
- tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$N, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
21328
+ tag.isCollapseTag === false ? (openBlock(), createElementBlock("span", _hoisted_1$O, toDisplayString(tag.text), 1)) : (openBlock(), createBlock(_component_el_tooltip, {
21323
21329
  key: 1,
21324
21330
  teleported: false,
21325
21331
  disabled: _ctx.popperVisible || !_ctx.collapseTagsTooltip,
@@ -21748,7 +21754,7 @@ const collapseItemProps = buildProps({
21748
21754
  disabled: Boolean
21749
21755
  });
21750
21756
 
21751
- const _hoisted_1$M = ["aria-expanded", "aria-controls", "aria-describedby"];
21757
+ const _hoisted_1$N = ["aria-expanded", "aria-controls", "aria-describedby"];
21752
21758
  const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
21753
21759
  const _hoisted_3$h = ["id", "aria-hidden", "aria-labelledby"];
21754
21760
  const __default__$U = {
@@ -21827,7 +21833,7 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
21827
21833
  _: 1
21828
21834
  }, 8, ["class"])
21829
21835
  ], 42, _hoisted_2$v)
21830
- ], 8, _hoisted_1$M),
21836
+ ], 8, _hoisted_1$N),
21831
21837
  createVNode(unref(_CollapseTransition), null, {
21832
21838
  default: withCtx(() => [
21833
21839
  withDirectives(createElementVNode("div", {
@@ -22455,7 +22461,7 @@ const _sfc_main$1t = defineComponent({
22455
22461
  };
22456
22462
  }
22457
22463
  });
22458
- const _hoisted_1$L = ["onClick"];
22464
+ const _hoisted_1$M = ["onClick"];
22459
22465
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22460
22466
  return openBlock(), createElementBlock("div", {
22461
22467
  class: normalizeClass(_ctx.ns.b())
@@ -22476,7 +22482,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22476
22482
  createElementVNode("div", {
22477
22483
  style: normalizeStyle({ backgroundColor: item.value })
22478
22484
  }, null, 4)
22479
- ], 10, _hoisted_1$L);
22485
+ ], 10, _hoisted_1$M);
22480
22486
  }), 128))
22481
22487
  ], 2)
22482
22488
  ], 2);
@@ -22553,9 +22559,9 @@ const _sfc_main$1s = defineComponent({
22553
22559
  };
22554
22560
  }
22555
22561
  });
22556
- const _hoisted_1$K = /* @__PURE__ */ createElementVNode("div", null, null, -1);
22562
+ const _hoisted_1$L = /* @__PURE__ */ createElementVNode("div", null, null, -1);
22557
22563
  const _hoisted_2$u = [
22558
- _hoisted_1$K
22564
+ _hoisted_1$L
22559
22565
  ];
22560
22566
  function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22561
22567
  return openBlock(), createElementBlock("div", {
@@ -22785,7 +22791,7 @@ const _sfc_main$1r = defineComponent({
22785
22791
  };
22786
22792
  }
22787
22793
  });
22788
- const _hoisted_1$J = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22794
+ const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22789
22795
  function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22790
22796
  const _component_hue_slider = resolveComponent("hue-slider");
22791
22797
  const _component_sv_panel = resolveComponent("sv-panel");
@@ -22935,7 +22941,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22935
22941
  ], 6)
22936
22942
  ], 2)
22937
22943
  ], 2)
22938
- ], 42, _hoisted_1$J)
22944
+ ], 42, _hoisted_1$K)
22939
22945
  ]),
22940
22946
  _: 1
22941
22947
  }, 8, ["visible", "popper-class", "transition"]);
@@ -23474,7 +23480,7 @@ var ElDatePickerCell = defineComponent({
23474
23480
  }
23475
23481
  });
23476
23482
 
23477
- const _hoisted_1$I = ["aria-label"];
23483
+ const _hoisted_1$J = ["aria-label"];
23478
23484
  const _hoisted_2$t = {
23479
23485
  key: 0,
23480
23486
  scope: "col"
@@ -23822,7 +23828,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
23822
23828
  ], 2);
23823
23829
  }), 128))
23824
23830
  ], 512)
23825
- ], 42, _hoisted_1$I);
23831
+ ], 42, _hoisted_1$J);
23826
23832
  };
23827
23833
  }
23828
23834
  });
@@ -23833,7 +23839,7 @@ const basicMonthTableProps = buildProps({
23833
23839
  selectionMode: selectionModeWithDefault("month")
23834
23840
  });
23835
23841
 
23836
- const _hoisted_1$H = ["aria-label"];
23842
+ const _hoisted_1$I = ["aria-label"];
23837
23843
  const _hoisted_2$s = ["aria-selected", "aria-label", "tabindex", "onKeydown"];
23838
23844
  const _hoisted_3$f = { class: "cell" };
23839
23845
  const _sfc_main$1k = /* @__PURE__ */ defineComponent({
@@ -24025,7 +24031,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
24025
24031
  ]);
24026
24032
  }), 128))
24027
24033
  ], 512)
24028
- ], 42, _hoisted_1$H);
24034
+ ], 42, _hoisted_1$I);
24029
24035
  };
24030
24036
  }
24031
24037
  });
@@ -24038,7 +24044,7 @@ const basicYearTableProps = buildProps({
24038
24044
  parsedValue
24039
24045
  });
24040
24046
 
24041
- const _hoisted_1$G = ["aria-label"];
24047
+ const _hoisted_1$H = ["aria-label"];
24042
24048
  const _hoisted_2$r = ["aria-selected", "tabindex", "onKeydown"];
24043
24049
  const _hoisted_3$e = { class: "cell" };
24044
24050
  const _hoisted_4$a = { key: 1 };
@@ -24132,13 +24138,13 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
24132
24138
  ]);
24133
24139
  }), 64))
24134
24140
  ], 512)
24135
- ], 10, _hoisted_1$G);
24141
+ ], 10, _hoisted_1$H);
24136
24142
  };
24137
24143
  }
24138
24144
  });
24139
24145
  var YearTable = /* @__PURE__ */ _export_sfc(_sfc_main$1j, [["__file", "basic-year-table.vue"]]);
24140
24146
 
24141
- const _hoisted_1$F = ["onClick"];
24147
+ const _hoisted_1$G = ["onClick"];
24142
24148
  const _hoisted_2$q = ["aria-label"];
24143
24149
  const _hoisted_3$d = ["aria-label"];
24144
24150
  const _hoisted_4$9 = ["aria-label"];
@@ -24549,7 +24555,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
24549
24555
  type: "button",
24550
24556
  class: normalizeClass(unref(ppNs).e("shortcut")),
24551
24557
  onClick: ($event) => handleShortcutClick(shortcut)
24552
- }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
24558
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$G);
24553
24559
  }), 128))
24554
24560
  ], 2)) : createCommentVNode("v-if", true),
24555
24561
  createElementVNode("div", {
@@ -24863,7 +24869,7 @@ const useRangePicker = (props, {
24863
24869
  };
24864
24870
  };
24865
24871
 
24866
- const _hoisted_1$E = ["onClick"];
24872
+ const _hoisted_1$F = ["onClick"];
24867
24873
  const _hoisted_2$p = ["disabled"];
24868
24874
  const _hoisted_3$c = ["disabled"];
24869
24875
  const _hoisted_4$8 = ["disabled"];
@@ -25214,7 +25220,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
25214
25220
  type: "button",
25215
25221
  class: normalizeClass(unref(ppNs).e("shortcut")),
25216
25222
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
25217
- }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
25223
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$F);
25218
25224
  }), 128))
25219
25225
  ], 2)) : createCommentVNode("v-if", true),
25220
25226
  createElementVNode("div", {
@@ -25559,7 +25565,7 @@ const useMonthRangeHeader = ({
25559
25565
  };
25560
25566
  };
25561
25567
 
25562
- const _hoisted_1$D = ["onClick"];
25568
+ const _hoisted_1$E = ["onClick"];
25563
25569
  const _hoisted_2$o = ["disabled"];
25564
25570
  const _hoisted_3$b = ["disabled"];
25565
25571
  const __default__$O = {
@@ -25664,7 +25670,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
25664
25670
  type: "button",
25665
25671
  class: normalizeClass(unref(ppNs).e("shortcut")),
25666
25672
  onClick: ($event) => unref(handleShortcutClick)(shortcut)
25667
- }, toDisplayString(shortcut.text), 11, _hoisted_1$D);
25673
+ }, toDisplayString(shortcut.text), 11, _hoisted_1$E);
25668
25674
  }), 128))
25669
25675
  ], 2)) : createCommentVNode("v-if", true),
25670
25676
  createElementVNode("div", {
@@ -25938,7 +25944,7 @@ const descriptionsRowProps = buildProps({
25938
25944
  }
25939
25945
  });
25940
25946
 
25941
- const _hoisted_1$C = { key: 1 };
25947
+ const _hoisted_1$D = { key: 1 };
25942
25948
  const __default__$N = {
25943
25949
  name: "ElDescriptionsRow"
25944
25950
  };
@@ -25969,7 +25975,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
25969
25975
  }, null, 8, ["cell"]);
25970
25976
  }), 128))
25971
25977
  ])
25972
- ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$C, [
25978
+ ], 64)) : (openBlock(), createElementBlock("tr", _hoisted_1$D, [
25973
25979
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.row, (cell, index) => {
25974
25980
  return openBlock(), createElementBlock(Fragment, {
25975
25981
  key: `tr3-${index}`
@@ -26276,7 +26282,7 @@ const dialogContentEmits = {
26276
26282
  close: () => true
26277
26283
  };
26278
26284
 
26279
- const _hoisted_1$B = ["aria-label"];
26285
+ const _hoisted_1$C = ["aria-label"];
26280
26286
  const _hoisted_2$n = ["id"];
26281
26287
  const __default__$L = { name: "ElDialogContent" };
26282
26288
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
@@ -26333,7 +26339,7 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
26333
26339
  ]),
26334
26340
  _: 1
26335
26341
  }, 8, ["class"])
26336
- ], 10, _hoisted_1$B)) : createCommentVNode("v-if", true)
26342
+ ], 10, _hoisted_1$C)) : createCommentVNode("v-if", true)
26337
26343
  ], 2),
26338
26344
  createElementVNode("div", {
26339
26345
  id: unref(bodyId),
@@ -26573,7 +26579,7 @@ const useDialog = (props, targetRef) => {
26573
26579
  };
26574
26580
  };
26575
26581
 
26576
- const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
26582
+ const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
26577
26583
  const __default__$K = {
26578
26584
  name: "ElDialog"
26579
26585
  };
@@ -26701,7 +26707,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26701
26707
  ]),
26702
26708
  _: 3
26703
26709
  }, 8, ["trapped", "onFocusAfterTrapped", "onFocusAfterReleased", "onReleaseRequested"])
26704
- ], 42, _hoisted_1$A)
26710
+ ], 42, _hoisted_1$B)
26705
26711
  ]),
26706
26712
  _: 3
26707
26713
  }, 8, ["mask", "overlay-class", "z-index"]), [
@@ -26826,7 +26832,7 @@ const _sfc_main$1a = defineComponent({
26826
26832
  };
26827
26833
  }
26828
26834
  });
26829
- const _hoisted_1$z = ["aria-label", "aria-labelledby", "aria-describedby"];
26835
+ const _hoisted_1$A = ["aria-label", "aria-labelledby", "aria-describedby"];
26830
26836
  const _hoisted_2$m = ["id"];
26831
26837
  const _hoisted_3$a = ["aria-label"];
26832
26838
  const _hoisted_4$7 = ["id"];
@@ -26928,7 +26934,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
26928
26934
  }, [
26929
26935
  renderSlot(_ctx.$slots, "footer")
26930
26936
  ], 2)) : createCommentVNode("v-if", true)
26931
- ], 14, _hoisted_1$z)
26937
+ ], 14, _hoisted_1$A)
26932
26938
  ]),
26933
26939
  _: 3
26934
26940
  }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
@@ -27719,7 +27725,7 @@ const _sfc_main$13 = defineComponent({
27719
27725
  };
27720
27726
  }
27721
27727
  });
27722
- const _hoisted_1$y = ["aria-disabled", "tabindex", "role"];
27728
+ const _hoisted_1$z = ["aria-disabled", "tabindex", "role"];
27723
27729
  function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27724
27730
  const _component_el_icon = resolveComponent("el-icon");
27725
27731
  return openBlock(), createElementBlock(Fragment, null, [
@@ -27747,7 +27753,7 @@ function _sfc_render$k(_ctx, _cache, $props, $setup, $data, $options) {
27747
27753
  _: 1
27748
27754
  })) : createCommentVNode("v-if", true),
27749
27755
  renderSlot(_ctx.$slots, "default")
27750
- ], 16, _hoisted_1$y)
27756
+ ], 16, _hoisted_1$z)
27751
27757
  ], 64);
27752
27758
  }
27753
27759
  var ElDropdownItemImpl = /* @__PURE__ */ _export_sfc(_sfc_main$13, [["render", _sfc_render$k], ["__file", "dropdown-item-impl.vue"]]);
@@ -27922,7 +27928,7 @@ const _sfc_main$11 = defineComponent({
27922
27928
  };
27923
27929
  }
27924
27930
  });
27925
- const _hoisted_1$x = ["role", "aria-labelledby"];
27931
+ const _hoisted_1$y = ["role", "aria-labelledby"];
27926
27932
  function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27927
27933
  return openBlock(), createElementBlock("ul", {
27928
27934
  ref: _ctx.dropdownListWrapperRef,
@@ -27937,7 +27943,7 @@ function _sfc_render$i(_ctx, _cache, $props, $setup, $data, $options) {
27937
27943
  onMousedown: _cache[3] || (_cache[3] = (...args) => _ctx.onMousedown && _ctx.onMousedown(...args))
27938
27944
  }, [
27939
27945
  renderSlot(_ctx.$slots, "default")
27940
- ], 46, _hoisted_1$x);
27946
+ ], 46, _hoisted_1$y);
27941
27947
  }
27942
27948
  var DropdownMenu = /* @__PURE__ */ _export_sfc(_sfc_main$11, [["render", _sfc_render$i], ["__file", "dropdown-menu.vue"]]);
27943
27949
 
@@ -27959,7 +27965,7 @@ const _sfc_main$10 = defineComponent({
27959
27965
  };
27960
27966
  }
27961
27967
  });
27962
- const _hoisted_1$w = {
27968
+ const _hoisted_1$x = {
27963
27969
  viewBox: "0 0 79 86",
27964
27970
  version: "1.1",
27965
27971
  xmlns: "http://www.w3.org/2000/svg",
@@ -28006,7 +28012,7 @@ const _hoisted_21 = ["fill", "xlink:href"];
28006
28012
  const _hoisted_22 = ["fill", "mask"];
28007
28013
  const _hoisted_23 = ["fill"];
28008
28014
  function _sfc_render$h(_ctx, _cache, $props, $setup, $data, $options) {
28009
- return openBlock(), createElementBlock("svg", _hoisted_1$w, [
28015
+ return openBlock(), createElementBlock("svg", _hoisted_1$x, [
28010
28016
  createElementVNode("defs", null, [
28011
28017
  createElementVNode("linearGradient", {
28012
28018
  id: `linearGradient-1-${_ctx.id}`,
@@ -28138,7 +28144,7 @@ const emptyProps = {
28138
28144
  }
28139
28145
  };
28140
28146
 
28141
- const _hoisted_1$v = ["src"];
28147
+ const _hoisted_1$w = ["src"];
28142
28148
  const _hoisted_2$k = { key: 1 };
28143
28149
  const __default__$I = {
28144
28150
  name: "ElEmpty"
@@ -28166,7 +28172,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
28166
28172
  key: 0,
28167
28173
  src: _ctx.image,
28168
28174
  ondragstart: "return false"
28169
- }, null, 8, _hoisted_1$v)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
28175
+ }, null, 8, _hoisted_1$w)) : renderSlot(_ctx.$slots, "image", { key: 1 }, () => [
28170
28176
  createVNode(ImgEmpty)
28171
28177
  ])
28172
28178
  ], 6),
@@ -29578,7 +29584,7 @@ var FormLabelWrap = defineComponent({
29578
29584
  }
29579
29585
  });
29580
29586
 
29581
- const _hoisted_1$u = ["role", "aria-labelledby"];
29587
+ const _hoisted_1$v = ["role", "aria-labelledby"];
29582
29588
  const __default__$G = {
29583
29589
  name: "ElFormItem"
29584
29590
  };
@@ -29860,7 +29866,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
29860
29866
  _: 3
29861
29867
  }, 8, ["name"])
29862
29868
  ], 6)
29863
- ], 10, _hoisted_1$u);
29869
+ ], 10, _hoisted_1$v);
29864
29870
  };
29865
29871
  }
29866
29872
  });
@@ -29905,7 +29911,7 @@ const imageViewerEmits = {
29905
29911
  switch: (index) => isNumber(index)
29906
29912
  };
29907
29913
 
29908
- const _hoisted_1$t = ["src"];
29914
+ const _hoisted_1$u = ["src"];
29909
29915
  const __default__$F = {
29910
29916
  name: "ElImageViewer"
29911
29917
  };
@@ -30273,7 +30279,7 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
30273
30279
  onLoad: handleImgLoad,
30274
30280
  onError: handleImgError,
30275
30281
  onMousedown: handleMouseDown
30276
- }, null, 46, _hoisted_1$t)), [
30282
+ }, null, 46, _hoisted_1$u)), [
30277
30283
  [vShow, i === index.value]
30278
30284
  ]);
30279
30285
  }), 128))
@@ -30348,7 +30354,7 @@ const imageEmits = {
30348
30354
  show: () => true
30349
30355
  };
30350
30356
 
30351
- const _hoisted_1$s = ["src", "loading"];
30357
+ const _hoisted_1$t = ["src", "loading"];
30352
30358
  const _hoisted_2$j = { key: 0 };
30353
30359
  const __default__$E = {
30354
30360
  name: "ElImage",
@@ -30514,7 +30520,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
30514
30520
  onClick: clickHandler,
30515
30521
  onLoad: handleLoad,
30516
30522
  onError: handleError
30517
- }), null, 16, _hoisted_1$s)) : createCommentVNode("v-if", true),
30523
+ }), null, 16, _hoisted_1$t)) : createCommentVNode("v-if", true),
30518
30524
  isLoading.value || hasLoadError.value ? (openBlock(), createElementBlock("div", {
30519
30525
  key: 1,
30520
30526
  class: normalizeClass(unref(ns).e("wrapper"))
@@ -30613,7 +30619,7 @@ const inputNumberEmits = {
30613
30619
  [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
30614
30620
  };
30615
30621
 
30616
- const _hoisted_1$r = ["aria-label", "onKeydown"];
30622
+ const _hoisted_1$s = ["aria-label", "onKeydown"];
30617
30623
  const _hoisted_2$i = ["aria-label", "onKeydown"];
30618
30624
  const __default__$D = {
30619
30625
  name: "ElInputNumber"
@@ -30843,7 +30849,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
30843
30849
  ]),
30844
30850
  _: 1
30845
30851
  })
30846
- ], 42, _hoisted_1$r)), [
30852
+ ], 42, _hoisted_1$s)), [
30847
30853
  [unref(RepeatClick), decrease]
30848
30854
  ]) : createCommentVNode("v-if", true),
30849
30855
  _ctx.controls ? withDirectives((openBlock(), createElementBlock("span", {
@@ -30915,7 +30921,7 @@ const linkEmits = {
30915
30921
  click: (evt) => evt instanceof MouseEvent
30916
30922
  };
30917
30923
 
30918
- const _hoisted_1$q = ["href"];
30924
+ const _hoisted_1$r = ["href"];
30919
30925
  const __default__$C = {
30920
30926
  name: "ElLink"
30921
30927
  };
@@ -30954,7 +30960,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
30954
30960
  renderSlot(_ctx.$slots, "default")
30955
30961
  ], 2)) : createCommentVNode("v-if", true),
30956
30962
  _ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 2 }) : createCommentVNode("v-if", true)
30957
- ], 10, _hoisted_1$q);
30963
+ ], 10, _hoisted_1$r);
30958
30964
  };
30959
30965
  }
30960
30966
  });
@@ -31516,6 +31522,7 @@ var Menu = defineComponent({
31516
31522
  const menu = ref();
31517
31523
  const nsMenu = useNamespace("menu");
31518
31524
  const nsSubMenu = useNamespace("sub-menu");
31525
+ const sliceIndex = ref(-1);
31519
31526
  const openedMenus = ref(props.defaultOpeneds && !props.collapse ? props.defaultOpeneds.slice(0) : []);
31520
31527
  const activeIndex = ref(props.defaultActive);
31521
31528
  const items = ref({});
@@ -31589,8 +31596,42 @@ var Menu = defineComponent({
31589
31596
  activeIndex.value = val;
31590
31597
  }
31591
31598
  };
31599
+ const calcSliceIndex = () => {
31600
+ var _a;
31601
+ const items2 = Array.from((_a = menu.value.childNodes) != null ? _a : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
31602
+ const moreItemWidth = 64;
31603
+ const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
31604
+ const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
31605
+ const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
31606
+ let calcWidth = 0;
31607
+ let sliceIndex2 = 0;
31608
+ items2.forEach((item, index) => {
31609
+ calcWidth += item.offsetWidth || 0;
31610
+ if (calcWidth <= menuWidth - moreItemWidth) {
31611
+ sliceIndex2 = index + 1;
31612
+ }
31613
+ });
31614
+ return sliceIndex2 === items2.length ? -1 : sliceIndex2;
31615
+ };
31616
+ const debounce = (fn, wait = 33.34) => {
31617
+ let timmer;
31618
+ return () => {
31619
+ timmer && clearTimeout(timmer);
31620
+ timmer = setTimeout(() => {
31621
+ fn();
31622
+ }, wait);
31623
+ };
31624
+ };
31625
+ let isFirstTimeRender = true;
31592
31626
  const handleResize = () => {
31593
- nextTick(() => instance.proxy.$forceUpdate());
31627
+ const callback = () => {
31628
+ sliceIndex.value = -1;
31629
+ nextTick(() => {
31630
+ sliceIndex.value = calcSliceIndex();
31631
+ });
31632
+ };
31633
+ isFirstTimeRender ? callback() : debounce(callback)();
31634
+ isFirstTimeRender = false;
31594
31635
  };
31595
31636
  watch(() => props.defaultActive, (currentActive) => {
31596
31637
  if (!items.value[currentActive]) {
@@ -31675,26 +31716,13 @@ var Menu = defineComponent({
31675
31716
  return result;
31676
31717
  };
31677
31718
  return () => {
31678
- var _a, _b, _c, _d;
31719
+ var _a, _b;
31679
31720
  let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
31680
31721
  const vShowMore = [];
31681
31722
  if (props.mode === "horizontal" && menu.value) {
31682
- const items2 = Array.from((_d = (_c = menu.value) == null ? void 0 : _c.childNodes) != null ? _d : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
31683
31723
  const originalSlot = flattedChildren(slot);
31684
- const moreItemWidth = 64;
31685
- const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
31686
- const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
31687
- const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
31688
- let calcWidth = 0;
31689
- let sliceIndex = 0;
31690
- items2.forEach((item, index) => {
31691
- calcWidth += item.offsetWidth || 0;
31692
- if (calcWidth <= menuWidth - moreItemWidth) {
31693
- sliceIndex = index + 1;
31694
- }
31695
- });
31696
- const slotDefault = originalSlot.slice(0, sliceIndex);
31697
- const slotMore = originalSlot.slice(sliceIndex);
31724
+ const slotDefault = sliceIndex.value === -1 ? originalSlot : originalSlot.slice(0, sliceIndex.value);
31725
+ const slotMore = sliceIndex.value === -1 ? [] : originalSlot.slice(sliceIndex.value);
31698
31726
  if ((slotMore == null ? void 0 : slotMore.length) && props.ellipsis) {
31699
31727
  slot = slotDefault;
31700
31728
  vShowMore.push(h$1(SubMenu, {
@@ -31891,6 +31919,7 @@ const pageHeaderEmits = {
31891
31919
  back: () => true
31892
31920
  };
31893
31921
 
31922
+ const _hoisted_1$q = ["aria-label"];
31894
31923
  const __default__$B = {
31895
31924
  name: "ElPageHeader"
31896
31925
  };
@@ -31899,47 +31928,87 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
31899
31928
  props: pageHeaderProps,
31900
31929
  emits: pageHeaderEmits,
31901
31930
  setup(__props, { emit }) {
31931
+ const slots = useSlots();
31902
31932
  const { t } = useLocale();
31903
31933
  const ns = useNamespace("page-header");
31934
+ const kls = computed$1(() => {
31935
+ return [
31936
+ ns.b(),
31937
+ {
31938
+ [ns.m("has-breadcrumb")]: !!slots.breadcrumb,
31939
+ [ns.m("has-extra")]: !!slots.extra,
31940
+ [ns.is("contentful")]: !!slots.default
31941
+ }
31942
+ ];
31943
+ });
31904
31944
  function handleClick() {
31905
31945
  emit("back");
31906
31946
  }
31907
31947
  return (_ctx, _cache) => {
31908
31948
  return openBlock(), createElementBlock("div", {
31909
- class: normalizeClass(unref(ns).b())
31949
+ class: normalizeClass(unref(kls))
31910
31950
  }, [
31911
31951
  createElementVNode("div", {
31912
- class: normalizeClass(unref(ns).e("left")),
31913
- onClick: handleClick
31952
+ class: normalizeClass(unref(ns).e("breadcrumb"))
31953
+ }, [
31954
+ renderSlot(_ctx.$slots, "breadcrumb")
31955
+ ], 2),
31956
+ createElementVNode("div", {
31957
+ class: normalizeClass(unref(ns).e("header"))
31914
31958
  }, [
31915
- _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("div", {
31916
- key: 0,
31917
- class: normalizeClass(unref(ns).e("icon"))
31918
- }, [
31919
- renderSlot(_ctx.$slots, "icon", {}, () => [
31920
- _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
31921
- default: withCtx(() => [
31922
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
31923
- ]),
31924
- _: 1
31925
- })) : createCommentVNode("v-if", true)
31926
- ])
31927
- ], 2)) : createCommentVNode("v-if", true),
31928
31959
  createElementVNode("div", {
31929
- class: normalizeClass(unref(ns).e("title"))
31960
+ class: normalizeClass(unref(ns).e("left"))
31930
31961
  }, [
31931
- renderSlot(_ctx.$slots, "title", {}, () => [
31932
- createTextVNode(toDisplayString(_ctx.title || unref(t)("el.pageHeader.title")), 1)
31933
- ])
31934
- ], 2)
31962
+ createElementVNode("div", {
31963
+ class: normalizeClass(unref(ns).e("back")),
31964
+ role: "button",
31965
+ tabindex: "0",
31966
+ onClick: handleClick
31967
+ }, [
31968
+ _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("div", {
31969
+ key: 0,
31970
+ "aria-label": _ctx.title || unref(t)("el.pageHeader.title"),
31971
+ class: normalizeClass(unref(ns).e("icon"))
31972
+ }, [
31973
+ renderSlot(_ctx.$slots, "icon", {}, () => [
31974
+ _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
31975
+ default: withCtx(() => [
31976
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
31977
+ ]),
31978
+ _: 1
31979
+ })) : createCommentVNode("v-if", true)
31980
+ ])
31981
+ ], 10, _hoisted_1$q)) : createCommentVNode("v-if", true),
31982
+ createElementVNode("div", {
31983
+ class: normalizeClass(unref(ns).e("title"))
31984
+ }, [
31985
+ renderSlot(_ctx.$slots, "title", {}, () => [
31986
+ createTextVNode(toDisplayString(_ctx.title || unref(t)("el.pageHeader.title")), 1)
31987
+ ])
31988
+ ], 2)
31989
+ ], 2),
31990
+ createVNode(unref(ElDivider), { direction: "vertical" }),
31991
+ createElementVNode("div", {
31992
+ class: normalizeClass(unref(ns).e("content"))
31993
+ }, [
31994
+ renderSlot(_ctx.$slots, "content", {}, () => [
31995
+ createTextVNode(toDisplayString(_ctx.content), 1)
31996
+ ])
31997
+ ], 2)
31998
+ ], 2),
31999
+ _ctx.$slots.extra ? (openBlock(), createElementBlock("div", {
32000
+ key: 0,
32001
+ class: normalizeClass(unref(ns).e("extra"))
32002
+ }, [
32003
+ renderSlot(_ctx.$slots, "extra")
32004
+ ], 2)) : createCommentVNode("v-if", true)
31935
32005
  ], 2),
31936
- createElementVNode("div", {
31937
- class: normalizeClass(unref(ns).e("content"))
32006
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
32007
+ key: 0,
32008
+ class: normalizeClass(unref(ns).e("main"))
31938
32009
  }, [
31939
- renderSlot(_ctx.$slots, "content", {}, () => [
31940
- createTextVNode(toDisplayString(_ctx.content), 1)
31941
- ])
31942
- ], 2)
32010
+ renderSlot(_ctx.$slots, "default")
32011
+ ], 2)) : createCommentVNode("v-if", true)
31943
32012
  ], 2);
31944
32013
  };
31945
32014
  }
@@ -31956,6 +32025,9 @@ const paginationPrevProps = buildProps({
31956
32025
  },
31957
32026
  prevText: {
31958
32027
  type: String
32028
+ },
32029
+ prevIcon: {
32030
+ type: iconPropType
31959
32031
  }
31960
32032
  });
31961
32033
  const paginationPrevEmits = {
@@ -31984,7 +32056,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
31984
32056
  }, [
31985
32057
  _ctx.prevText ? (openBlock(), createElementBlock("span", _hoisted_2$h, toDisplayString(_ctx.prevText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
31986
32058
  default: withCtx(() => [
31987
- createVNode(unref(arrow_left_default))
32059
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.prevIcon)))
31988
32060
  ]),
31989
32061
  _: 1
31990
32062
  }))
@@ -32006,6 +32078,9 @@ const paginationNextProps = buildProps({
32006
32078
  },
32007
32079
  nextText: {
32008
32080
  type: String
32081
+ },
32082
+ nextIcon: {
32083
+ type: iconPropType
32009
32084
  }
32010
32085
  });
32011
32086
 
@@ -32031,7 +32106,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
32031
32106
  }, [
32032
32107
  _ctx.nextText ? (openBlock(), createElementBlock("span", _hoisted_2$g, toDisplayString(_ctx.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
32033
32108
  default: withCtx(() => [
32034
- createVNode(unref(arrow_right_default))
32109
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon)))
32035
32110
  ]),
32036
32111
  _: 1
32037
32112
  }))
@@ -32081,7 +32156,7 @@ function useOption$1(props, states) {
32081
32156
  } else {
32082
32157
  const valueKey = select.props.valueKey;
32083
32158
  return arr && arr.some((item) => {
32084
- return get(item, valueKey) === get(target, valueKey);
32159
+ return toRaw$1(get(item, valueKey)) === get(target, valueKey);
32085
32160
  });
32086
32161
  }
32087
32162
  };
@@ -32695,7 +32770,7 @@ const useSelect$3 = (props, states, ctx) => {
32695
32770
  const valueKey = props.valueKey;
32696
32771
  let index = -1;
32697
32772
  arr.some((item, i) => {
32698
- if (get(item, valueKey) === get(value, valueKey)) {
32773
+ if (toRaw$1(get(item, valueKey)) === get(value, valueKey)) {
32699
32774
  index = i;
32700
32775
  return true;
32701
32776
  }
@@ -34011,10 +34086,18 @@ const paginationProps = buildProps({
34011
34086
  type: String,
34012
34087
  default: ""
34013
34088
  },
34089
+ prevIcon: {
34090
+ type: iconPropType,
34091
+ default: () => arrow_left_default
34092
+ },
34014
34093
  nextText: {
34015
34094
  type: String,
34016
34095
  default: ""
34017
34096
  },
34097
+ nextIcon: {
34098
+ type: iconPropType,
34099
+ default: () => arrow_right_default
34100
+ },
34018
34101
  small: Boolean,
34019
34102
  background: Boolean,
34020
34103
  disabled: Boolean,
@@ -34162,6 +34245,7 @@ var Pagination = defineComponent({
34162
34245
  disabled: props.disabled,
34163
34246
  currentPage: currentPageBridge.value,
34164
34247
  prevText: props.prevText,
34248
+ prevIcon: props.prevIcon,
34165
34249
  onClick: prev
34166
34250
  }),
34167
34251
  jumper: h$1(Jumper),
@@ -34177,6 +34261,7 @@ var Pagination = defineComponent({
34177
34261
  currentPage: currentPageBridge.value,
34178
34262
  pageCount: pageCountBridge.value,
34179
34263
  nextText: props.nextText,
34264
+ nextIcon: props.nextIcon,
34180
34265
  onClick: next
34181
34266
  }),
34182
34267
  sizes: h$1(Sizes, {
@@ -35973,11 +36058,11 @@ const createList = ({
35973
36058
  if (layout === HORIZONTAL) {
35974
36059
  if (direction === RTL) {
35975
36060
  switch (getRTLOffsetType()) {
35976
- case "negative": {
36061
+ case RTL_OFFSET_NAG: {
35977
36062
  windowElement.scrollLeft = -scrollOffset;
35978
36063
  break;
35979
36064
  }
35980
- case "positive-ascending": {
36065
+ case RTL_OFFSET_POS_ASC: {
35981
36066
  windowElement.scrollLeft = scrollOffset;
35982
36067
  break;
35983
36068
  }
@@ -40362,7 +40447,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40362
40447
  input.value.checked = checked.value;
40363
40448
  });
40364
40449
  expose({
40365
- focus
40450
+ focus,
40451
+ checked
40366
40452
  });
40367
40453
  return (_ctx, _cache) => {
40368
40454
  return openBlock(), createElementBlock("div", {
@@ -48956,7 +49042,7 @@ const getChildState = (node) => {
48956
49042
  return { all, none, allWithoutDisable, half: !all && !none };
48957
49043
  };
48958
49044
  const reInitChecked = function(node) {
48959
- if (node.childNodes.length === 0)
49045
+ if (node.childNodes.length === 0 || node.loading)
48960
49046
  return;
48961
49047
  const { all, none, half } = getChildState(node.childNodes);
48962
49048
  if (all) {
@@ -49339,10 +49425,10 @@ class Node {
49339
49425
  if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {
49340
49426
  this.loading = true;
49341
49427
  const resolve = (children) => {
49342
- this.loaded = true;
49343
- this.loading = false;
49344
49428
  this.childNodes = [];
49345
49429
  this.doCreateChildren(children, defaultProps);
49430
+ this.loaded = true;
49431
+ this.loading = false;
49346
49432
  this.updateLeafState();
49347
49433
  if (callback) {
49348
49434
  callback.call(this, children);