@element-plus/nightly 0.0.20240116 → 0.0.20240118

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 (358) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +326 -296
  3. package/dist/index.full.min.js +9 -9
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +11 -11
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +326 -296
  8. package/dist/locale/af.js +1 -1
  9. package/dist/locale/af.min.js +1 -1
  10. package/dist/locale/af.min.mjs +1 -1
  11. package/dist/locale/af.mjs +1 -1
  12. package/dist/locale/ar-eg.js +1 -1
  13. package/dist/locale/ar-eg.min.js +1 -1
  14. package/dist/locale/ar-eg.min.mjs +1 -1
  15. package/dist/locale/ar-eg.mjs +1 -1
  16. package/dist/locale/ar.js +1 -1
  17. package/dist/locale/ar.min.js +1 -1
  18. package/dist/locale/ar.min.mjs +1 -1
  19. package/dist/locale/ar.mjs +1 -1
  20. package/dist/locale/az.js +1 -1
  21. package/dist/locale/az.min.js +1 -1
  22. package/dist/locale/az.min.mjs +1 -1
  23. package/dist/locale/az.mjs +1 -1
  24. package/dist/locale/bg.js +1 -1
  25. package/dist/locale/bg.min.js +1 -1
  26. package/dist/locale/bg.min.mjs +1 -1
  27. package/dist/locale/bg.mjs +1 -1
  28. package/dist/locale/bn.js +1 -1
  29. package/dist/locale/bn.min.js +1 -1
  30. package/dist/locale/bn.min.mjs +1 -1
  31. package/dist/locale/bn.mjs +1 -1
  32. package/dist/locale/ca.js +1 -1
  33. package/dist/locale/ca.min.js +1 -1
  34. package/dist/locale/ca.min.mjs +1 -1
  35. package/dist/locale/ca.mjs +1 -1
  36. package/dist/locale/ckb.js +1 -1
  37. package/dist/locale/ckb.min.js +1 -1
  38. package/dist/locale/ckb.min.mjs +1 -1
  39. package/dist/locale/ckb.mjs +1 -1
  40. package/dist/locale/cs.js +1 -1
  41. package/dist/locale/cs.min.js +1 -1
  42. package/dist/locale/cs.min.mjs +1 -1
  43. package/dist/locale/cs.mjs +1 -1
  44. package/dist/locale/da.js +1 -1
  45. package/dist/locale/da.min.js +1 -1
  46. package/dist/locale/da.min.mjs +1 -1
  47. package/dist/locale/da.mjs +1 -1
  48. package/dist/locale/de.js +1 -1
  49. package/dist/locale/de.min.js +1 -1
  50. package/dist/locale/de.min.mjs +1 -1
  51. package/dist/locale/de.mjs +1 -1
  52. package/dist/locale/el.js +1 -1
  53. package/dist/locale/el.min.js +1 -1
  54. package/dist/locale/el.min.mjs +1 -1
  55. package/dist/locale/el.mjs +1 -1
  56. package/dist/locale/en.js +1 -1
  57. package/dist/locale/en.min.js +1 -1
  58. package/dist/locale/en.min.mjs +1 -1
  59. package/dist/locale/en.mjs +1 -1
  60. package/dist/locale/eo.js +1 -1
  61. package/dist/locale/eo.min.js +1 -1
  62. package/dist/locale/eo.min.mjs +1 -1
  63. package/dist/locale/eo.mjs +1 -1
  64. package/dist/locale/es.js +1 -1
  65. package/dist/locale/es.min.js +1 -1
  66. package/dist/locale/es.min.mjs +1 -1
  67. package/dist/locale/es.mjs +1 -1
  68. package/dist/locale/et.js +1 -1
  69. package/dist/locale/et.min.js +1 -1
  70. package/dist/locale/et.min.mjs +1 -1
  71. package/dist/locale/et.mjs +1 -1
  72. package/dist/locale/eu.js +1 -1
  73. package/dist/locale/eu.min.js +1 -1
  74. package/dist/locale/eu.min.mjs +1 -1
  75. package/dist/locale/eu.mjs +1 -1
  76. package/dist/locale/fa.js +1 -1
  77. package/dist/locale/fa.min.js +1 -1
  78. package/dist/locale/fa.min.mjs +1 -1
  79. package/dist/locale/fa.mjs +1 -1
  80. package/dist/locale/fi.js +1 -1
  81. package/dist/locale/fi.min.js +1 -1
  82. package/dist/locale/fi.min.mjs +1 -1
  83. package/dist/locale/fi.mjs +1 -1
  84. package/dist/locale/fr.js +1 -1
  85. package/dist/locale/fr.min.js +1 -1
  86. package/dist/locale/fr.min.mjs +1 -1
  87. package/dist/locale/fr.mjs +1 -1
  88. package/dist/locale/he.js +1 -1
  89. package/dist/locale/he.min.js +1 -1
  90. package/dist/locale/he.min.mjs +1 -1
  91. package/dist/locale/he.mjs +1 -1
  92. package/dist/locale/hr.js +1 -1
  93. package/dist/locale/hr.min.js +1 -1
  94. package/dist/locale/hr.min.mjs +1 -1
  95. package/dist/locale/hr.mjs +1 -1
  96. package/dist/locale/hu.js +1 -1
  97. package/dist/locale/hu.min.js +1 -1
  98. package/dist/locale/hu.min.mjs +1 -1
  99. package/dist/locale/hu.mjs +1 -1
  100. package/dist/locale/hy-am.js +1 -1
  101. package/dist/locale/hy-am.min.js +1 -1
  102. package/dist/locale/hy-am.min.mjs +1 -1
  103. package/dist/locale/hy-am.mjs +1 -1
  104. package/dist/locale/id.js +1 -1
  105. package/dist/locale/id.min.js +1 -1
  106. package/dist/locale/id.min.mjs +1 -1
  107. package/dist/locale/id.mjs +1 -1
  108. package/dist/locale/it.js +1 -1
  109. package/dist/locale/it.min.js +1 -1
  110. package/dist/locale/it.min.mjs +1 -1
  111. package/dist/locale/it.mjs +1 -1
  112. package/dist/locale/ja.js +1 -1
  113. package/dist/locale/ja.min.js +1 -1
  114. package/dist/locale/ja.min.mjs +1 -1
  115. package/dist/locale/ja.mjs +1 -1
  116. package/dist/locale/kk.js +1 -1
  117. package/dist/locale/kk.min.js +1 -1
  118. package/dist/locale/kk.min.mjs +1 -1
  119. package/dist/locale/kk.mjs +1 -1
  120. package/dist/locale/km.js +1 -1
  121. package/dist/locale/km.min.js +1 -1
  122. package/dist/locale/km.min.mjs +1 -1
  123. package/dist/locale/km.mjs +1 -1
  124. package/dist/locale/ko.js +1 -1
  125. package/dist/locale/ko.min.js +1 -1
  126. package/dist/locale/ko.min.mjs +1 -1
  127. package/dist/locale/ko.mjs +1 -1
  128. package/dist/locale/ku.js +1 -1
  129. package/dist/locale/ku.min.js +1 -1
  130. package/dist/locale/ku.min.mjs +1 -1
  131. package/dist/locale/ku.mjs +1 -1
  132. package/dist/locale/ky.js +1 -1
  133. package/dist/locale/ky.min.js +1 -1
  134. package/dist/locale/ky.min.mjs +1 -1
  135. package/dist/locale/ky.mjs +1 -1
  136. package/dist/locale/lt.js +1 -1
  137. package/dist/locale/lt.min.js +1 -1
  138. package/dist/locale/lt.min.mjs +1 -1
  139. package/dist/locale/lt.mjs +1 -1
  140. package/dist/locale/lv.js +1 -1
  141. package/dist/locale/lv.min.js +1 -1
  142. package/dist/locale/lv.min.mjs +1 -1
  143. package/dist/locale/lv.mjs +1 -1
  144. package/dist/locale/mg.js +1 -1
  145. package/dist/locale/mg.min.js +1 -1
  146. package/dist/locale/mg.min.mjs +1 -1
  147. package/dist/locale/mg.mjs +1 -1
  148. package/dist/locale/mn.js +1 -1
  149. package/dist/locale/mn.min.js +1 -1
  150. package/dist/locale/mn.min.mjs +1 -1
  151. package/dist/locale/mn.mjs +1 -1
  152. package/dist/locale/nb-no.js +1 -1
  153. package/dist/locale/nb-no.min.js +1 -1
  154. package/dist/locale/nb-no.min.mjs +1 -1
  155. package/dist/locale/nb-no.mjs +1 -1
  156. package/dist/locale/nl.js +1 -1
  157. package/dist/locale/nl.min.js +1 -1
  158. package/dist/locale/nl.min.mjs +1 -1
  159. package/dist/locale/nl.mjs +1 -1
  160. package/dist/locale/pa.js +1 -1
  161. package/dist/locale/pa.min.js +1 -1
  162. package/dist/locale/pa.min.mjs +1 -1
  163. package/dist/locale/pa.mjs +1 -1
  164. package/dist/locale/pl.js +1 -1
  165. package/dist/locale/pl.min.js +1 -1
  166. package/dist/locale/pl.min.mjs +1 -1
  167. package/dist/locale/pl.mjs +1 -1
  168. package/dist/locale/pt-br.js +1 -1
  169. package/dist/locale/pt-br.min.js +1 -1
  170. package/dist/locale/pt-br.min.mjs +1 -1
  171. package/dist/locale/pt-br.mjs +1 -1
  172. package/dist/locale/pt.js +1 -1
  173. package/dist/locale/pt.min.js +1 -1
  174. package/dist/locale/pt.min.mjs +1 -1
  175. package/dist/locale/pt.mjs +1 -1
  176. package/dist/locale/ro.js +1 -1
  177. package/dist/locale/ro.min.js +1 -1
  178. package/dist/locale/ro.min.mjs +1 -1
  179. package/dist/locale/ro.mjs +1 -1
  180. package/dist/locale/ru.js +1 -1
  181. package/dist/locale/ru.min.js +1 -1
  182. package/dist/locale/ru.min.mjs +1 -1
  183. package/dist/locale/ru.mjs +1 -1
  184. package/dist/locale/sk.js +1 -1
  185. package/dist/locale/sk.min.js +1 -1
  186. package/dist/locale/sk.min.mjs +1 -1
  187. package/dist/locale/sk.mjs +1 -1
  188. package/dist/locale/sl.js +1 -1
  189. package/dist/locale/sl.min.js +1 -1
  190. package/dist/locale/sl.min.mjs +1 -1
  191. package/dist/locale/sl.mjs +1 -1
  192. package/dist/locale/sr.js +1 -1
  193. package/dist/locale/sr.min.js +1 -1
  194. package/dist/locale/sr.min.mjs +1 -1
  195. package/dist/locale/sr.mjs +1 -1
  196. package/dist/locale/sv.js +1 -1
  197. package/dist/locale/sv.min.js +1 -1
  198. package/dist/locale/sv.min.mjs +1 -1
  199. package/dist/locale/sv.mjs +1 -1
  200. package/dist/locale/sw.js +1 -1
  201. package/dist/locale/sw.min.js +1 -1
  202. package/dist/locale/sw.min.mjs +1 -1
  203. package/dist/locale/sw.mjs +1 -1
  204. package/dist/locale/ta.js +1 -1
  205. package/dist/locale/ta.min.js +1 -1
  206. package/dist/locale/ta.min.mjs +1 -1
  207. package/dist/locale/ta.mjs +1 -1
  208. package/dist/locale/th.js +1 -1
  209. package/dist/locale/th.min.js +1 -1
  210. package/dist/locale/th.min.mjs +1 -1
  211. package/dist/locale/th.mjs +1 -1
  212. package/dist/locale/tk.js +1 -1
  213. package/dist/locale/tk.min.js +1 -1
  214. package/dist/locale/tk.min.mjs +1 -1
  215. package/dist/locale/tk.mjs +1 -1
  216. package/dist/locale/tr.js +1 -1
  217. package/dist/locale/tr.min.js +1 -1
  218. package/dist/locale/tr.min.mjs +1 -1
  219. package/dist/locale/tr.mjs +1 -1
  220. package/dist/locale/ug-cn.js +1 -1
  221. package/dist/locale/ug-cn.min.js +1 -1
  222. package/dist/locale/ug-cn.min.mjs +1 -1
  223. package/dist/locale/ug-cn.mjs +1 -1
  224. package/dist/locale/uk.js +1 -1
  225. package/dist/locale/uk.min.js +1 -1
  226. package/dist/locale/uk.min.mjs +1 -1
  227. package/dist/locale/uk.mjs +1 -1
  228. package/dist/locale/uz-uz.js +1 -1
  229. package/dist/locale/uz-uz.min.js +1 -1
  230. package/dist/locale/uz-uz.min.mjs +1 -1
  231. package/dist/locale/uz-uz.mjs +1 -1
  232. package/dist/locale/vi.js +1 -1
  233. package/dist/locale/vi.min.js +1 -1
  234. package/dist/locale/vi.min.mjs +1 -1
  235. package/dist/locale/vi.mjs +1 -1
  236. package/dist/locale/zh-cn.js +1 -1
  237. package/dist/locale/zh-cn.min.js +1 -1
  238. package/dist/locale/zh-cn.min.mjs +1 -1
  239. package/dist/locale/zh-cn.mjs +1 -1
  240. package/dist/locale/zh-tw.js +1 -1
  241. package/dist/locale/zh-tw.min.js +1 -1
  242. package/dist/locale/zh-tw.min.mjs +1 -1
  243. package/dist/locale/zh-tw.mjs +1 -1
  244. package/es/components/cascader/index.mjs +2 -2
  245. package/es/components/cascader/src/cascader.mjs +65 -626
  246. package/es/components/cascader/src/cascader.mjs.map +1 -1
  247. package/es/components/cascader/src/cascader2.mjs +626 -65
  248. package/es/components/cascader/src/cascader2.mjs.map +1 -1
  249. package/es/components/drawer/index.d.ts +209 -16
  250. package/es/components/drawer/src/drawer.vue.d.ts +209 -16
  251. package/es/components/drawer/src/drawer2.mjs +137 -132
  252. package/es/components/drawer/src/drawer2.mjs.map +1 -1
  253. package/es/components/icon/index.mjs +2 -2
  254. package/es/components/icon/src/icon.mjs +8 -36
  255. package/es/components/icon/src/icon.mjs.map +1 -1
  256. package/es/components/icon/src/icon2.mjs +36 -8
  257. package/es/components/icon/src/icon2.mjs.map +1 -1
  258. package/es/components/index.mjs +5 -5
  259. package/es/components/pagination/src/components/pager.mjs +216 -17
  260. package/es/components/pagination/src/components/pager.mjs.map +1 -1
  261. package/es/components/pagination/src/components/pager2.mjs +17 -216
  262. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  263. package/es/components/pagination/src/pagination.mjs +1 -1
  264. package/es/components/scrollbar/index.mjs +1 -1
  265. package/es/components/scrollbar/src/bar2.mjs +1 -1
  266. package/es/components/scrollbar/src/thumb.mjs +130 -11
  267. package/es/components/scrollbar/src/thumb.mjs.map +1 -1
  268. package/es/components/scrollbar/src/thumb2.mjs +11 -130
  269. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  270. package/es/components/select/src/select2.mjs +27 -20
  271. package/es/components/select/src/select2.mjs.map +1 -1
  272. package/es/components/select/src/useSelect.mjs +5 -3
  273. package/es/components/select/src/useSelect.mjs.map +1 -1
  274. package/es/components/select-v2/src/select-dropdown.d.ts +5 -1
  275. package/es/components/select-v2/src/select-dropdown.mjs +6 -5
  276. package/es/components/select-v2/src/select-dropdown.mjs.map +1 -1
  277. package/es/components/select-v2/src/select.mjs +23 -10
  278. package/es/components/select-v2/src/select.mjs.map +1 -1
  279. package/es/components/select-v2/src/useSelect.mjs +5 -3
  280. package/es/components/select-v2/src/useSelect.mjs.map +1 -1
  281. package/es/components/skeleton/index.mjs +2 -2
  282. package/es/components/skeleton/src/skeleton-item.mjs +18 -23
  283. package/es/components/skeleton/src/skeleton-item.mjs.map +1 -1
  284. package/es/components/skeleton/src/skeleton-item2.mjs +23 -18
  285. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  286. package/es/components/skeleton/src/skeleton2.mjs +1 -1
  287. package/es/components/upload/index.mjs +1 -1
  288. package/es/components/upload/src/upload-content2.mjs +1 -1
  289. package/es/components/upload/src/upload-dragger.mjs +11 -72
  290. package/es/components/upload/src/upload-dragger.mjs.map +1 -1
  291. package/es/components/upload/src/upload-dragger2.mjs +72 -11
  292. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  293. package/es/index.mjs +5 -5
  294. package/es/version.d.ts +1 -1
  295. package/es/version.mjs +1 -1
  296. package/es/version.mjs.map +1 -1
  297. package/lib/components/cascader/index.js +2 -2
  298. package/lib/components/cascader/src/cascader.js +66 -626
  299. package/lib/components/cascader/src/cascader.js.map +1 -1
  300. package/lib/components/cascader/src/cascader2.js +626 -66
  301. package/lib/components/cascader/src/cascader2.js.map +1 -1
  302. package/lib/components/drawer/index.d.ts +209 -16
  303. package/lib/components/drawer/src/drawer.vue.d.ts +209 -16
  304. package/lib/components/drawer/src/drawer2.js +145 -140
  305. package/lib/components/drawer/src/drawer2.js.map +1 -1
  306. package/lib/components/icon/index.js +2 -2
  307. package/lib/components/icon/src/icon.js +8 -36
  308. package/lib/components/icon/src/icon.js.map +1 -1
  309. package/lib/components/icon/src/icon2.js +36 -8
  310. package/lib/components/icon/src/icon2.js.map +1 -1
  311. package/lib/components/index.js +5 -5
  312. package/lib/components/pagination/src/components/pager.js +216 -17
  313. package/lib/components/pagination/src/components/pager.js.map +1 -1
  314. package/lib/components/pagination/src/components/pager2.js +17 -216
  315. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  316. package/lib/components/pagination/src/pagination.js +1 -1
  317. package/lib/components/scrollbar/index.js +1 -1
  318. package/lib/components/scrollbar/src/bar2.js +1 -1
  319. package/lib/components/scrollbar/src/thumb.js +130 -11
  320. package/lib/components/scrollbar/src/thumb.js.map +1 -1
  321. package/lib/components/scrollbar/src/thumb2.js +11 -130
  322. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  323. package/lib/components/select/src/select2.js +27 -20
  324. package/lib/components/select/src/select2.js.map +1 -1
  325. package/lib/components/select/src/useSelect.js +5 -3
  326. package/lib/components/select/src/useSelect.js.map +1 -1
  327. package/lib/components/select-v2/src/select-dropdown.d.ts +5 -1
  328. package/lib/components/select-v2/src/select-dropdown.js +6 -5
  329. package/lib/components/select-v2/src/select-dropdown.js.map +1 -1
  330. package/lib/components/select-v2/src/select.js +23 -10
  331. package/lib/components/select-v2/src/select.js.map +1 -1
  332. package/lib/components/select-v2/src/useSelect.js +5 -3
  333. package/lib/components/select-v2/src/useSelect.js.map +1 -1
  334. package/lib/components/skeleton/index.js +2 -2
  335. package/lib/components/skeleton/src/skeleton-item.js +18 -23
  336. package/lib/components/skeleton/src/skeleton-item.js.map +1 -1
  337. package/lib/components/skeleton/src/skeleton-item2.js +23 -18
  338. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  339. package/lib/components/skeleton/src/skeleton2.js +1 -1
  340. package/lib/components/upload/index.js +1 -1
  341. package/lib/components/upload/src/upload-content2.js +1 -1
  342. package/lib/components/upload/src/upload-dragger.js +12 -72
  343. package/lib/components/upload/src/upload-dragger.js.map +1 -1
  344. package/lib/components/upload/src/upload-dragger2.js +72 -12
  345. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  346. package/lib/index.js +5 -5
  347. package/lib/version.d.ts +1 -1
  348. package/lib/version.js +1 -1
  349. package/lib/version.js.map +1 -1
  350. package/package.json +2 -2
  351. package/theme-chalk/el-select-dropdown-v2.css +1 -1
  352. package/theme-chalk/el-select-dropdown.css +1 -1
  353. package/theme-chalk/el-select-v2.css +1 -1
  354. package/theme-chalk/el-select.css +1 -1
  355. package/theme-chalk/index.css +1 -1
  356. package/theme-chalk/src/select-dropdown.scss +8 -0
  357. package/theme-chalk/src/select.scss +2 -1
  358. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20240116 */
1
+ /*! Element Plus v0.0.20240118 */
2
2
 
3
3
  import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, defineComponent, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, onBeforeUnmount, isRef, inject, onUnmounted, h as h$1, Teleport, onBeforeMount, provide, renderSlot, normalizeClass, normalizeStyle, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, toRef, reactive, toRefs, onUpdated, TransitionGroup, useAttrs as useAttrs$1, withModifiers, cloneVNode, Text as Text$1, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, resolveComponent, onBeforeUpdate, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, resolveDirective, render, camelize as camelize$1, createApp, shallowReactive } from 'vue';
4
4
 
@@ -11559,7 +11559,7 @@ const ConfigProvider = defineComponent({
11559
11559
 
11560
11560
  const ElConfigProvider = withInstall(ConfigProvider);
11561
11561
 
11562
- const version$1 = "0.0.20240116";
11562
+ const version$1 = "0.0.20240118";
11563
11563
 
11564
11564
  const makeInstaller = (components = []) => {
11565
11565
  const install = (app, options) => {
@@ -11609,11 +11609,11 @@ var _export_sfc = (sfc, props) => {
11609
11609
  };
11610
11610
 
11611
11611
  const COMPONENT_NAME$n = "ElAffix";
11612
- const __default__$1H = defineComponent({
11612
+ const __default__$1I = defineComponent({
11613
11613
  name: COMPONENT_NAME$n
11614
11614
  });
11615
11615
  const _sfc_main$2n = /* @__PURE__ */ defineComponent({
11616
- ...__default__$1H,
11616
+ ...__default__$1I,
11617
11617
  props: affixProps,
11618
11618
  emits: affixEmits,
11619
11619
  setup(__props, { expose, emit }) {
@@ -11729,12 +11729,12 @@ const iconProps = buildProps({
11729
11729
  }
11730
11730
  });
11731
11731
 
11732
- const __default__$1G = defineComponent({
11732
+ const __default__$1H = defineComponent({
11733
11733
  name: "ElIcon",
11734
11734
  inheritAttrs: false
11735
11735
  });
11736
11736
  const _sfc_main$2m = /* @__PURE__ */ defineComponent({
11737
- ...__default__$1G,
11737
+ ...__default__$1H,
11738
11738
  props: iconProps,
11739
11739
  setup(__props) {
11740
11740
  const props = __props;
@@ -11797,11 +11797,11 @@ const alertEmits = {
11797
11797
  close: (evt) => evt instanceof MouseEvent
11798
11798
  };
11799
11799
 
11800
- const __default__$1F = defineComponent({
11800
+ const __default__$1G = defineComponent({
11801
11801
  name: "ElAlert"
11802
11802
  });
11803
11803
  const _sfc_main$2l = /* @__PURE__ */ defineComponent({
11804
- ...__default__$1F,
11804
+ ...__default__$1G,
11805
11805
  props: alertProps,
11806
11806
  emits: alertEmits,
11807
11807
  setup(__props, { emit }) {
@@ -12051,11 +12051,11 @@ const filterFields = (fields, props) => {
12051
12051
  };
12052
12052
 
12053
12053
  const COMPONENT_NAME$m = "ElForm";
12054
- const __default__$1E = defineComponent({
12054
+ const __default__$1F = defineComponent({
12055
12055
  name: COMPONENT_NAME$m
12056
12056
  });
12057
12057
  const _sfc_main$2k = /* @__PURE__ */ defineComponent({
12058
- ...__default__$1E,
12058
+ ...__default__$1F,
12059
12059
  props: formProps,
12060
12060
  emits: formEmits,
12061
12061
  setup(__props, { expose, emit }) {
@@ -13367,11 +13367,11 @@ var FormLabelWrap = defineComponent({
13367
13367
  });
13368
13368
 
13369
13369
  const _hoisted_1$15 = ["role", "aria-labelledby"];
13370
- const __default__$1D = defineComponent({
13370
+ const __default__$1E = defineComponent({
13371
13371
  name: "ElFormItem"
13372
13372
  });
13373
13373
  const _sfc_main$2j = /* @__PURE__ */ defineComponent({
13374
- ...__default__$1D,
13374
+ ...__default__$1E,
13375
13375
  props: formItemProps,
13376
13376
  setup(__props, { expose }) {
13377
13377
  const props = __props;
@@ -13862,12 +13862,12 @@ const inputEmits = {
13862
13862
  const _hoisted_1$14 = ["role"];
13863
13863
  const _hoisted_2$I = ["id", "minlength", "maxlength", "type", "disabled", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form", "autofocus"];
13864
13864
  const _hoisted_3$i = ["id", "minlength", "maxlength", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form", "autofocus"];
13865
- const __default__$1C = defineComponent({
13865
+ const __default__$1D = defineComponent({
13866
13866
  name: "ElInput",
13867
13867
  inheritAttrs: false
13868
13868
  });
13869
13869
  const _sfc_main$2i = /* @__PURE__ */ defineComponent({
13870
- ...__default__$1C,
13870
+ ...__default__$1D,
13871
13871
  props: inputProps,
13872
13872
  emits: inputEmits,
13873
13873
  setup(__props, { expose, emit }) {
@@ -14573,11 +14573,11 @@ const scrollbarEmits = {
14573
14573
  };
14574
14574
 
14575
14575
  const COMPONENT_NAME$j = "ElScrollbar";
14576
- const __default__$1B = defineComponent({
14576
+ const __default__$1C = defineComponent({
14577
14577
  name: COMPONENT_NAME$j
14578
14578
  });
14579
14579
  const _sfc_main$2f = /* @__PURE__ */ defineComponent({
14580
- ...__default__$1B,
14580
+ ...__default__$1C,
14581
14581
  props: scrollbarProps,
14582
14582
  emits: scrollbarEmits,
14583
14583
  setup(__props, { expose, emit }) {
@@ -14765,12 +14765,12 @@ const popperProps = buildProps({
14765
14765
  });
14766
14766
  const usePopperProps = popperProps;
14767
14767
 
14768
- const __default__$1A = defineComponent({
14768
+ const __default__$1B = defineComponent({
14769
14769
  name: "ElPopper",
14770
14770
  inheritAttrs: false
14771
14771
  });
14772
14772
  const _sfc_main$2e = /* @__PURE__ */ defineComponent({
14773
- ...__default__$1A,
14773
+ ...__default__$1B,
14774
14774
  props: popperProps,
14775
14775
  setup(__props, { expose }) {
14776
14776
  const props = __props;
@@ -14803,12 +14803,12 @@ const popperArrowProps = buildProps({
14803
14803
  });
14804
14804
  const usePopperArrowProps = popperArrowProps;
14805
14805
 
14806
- const __default__$1z = defineComponent({
14806
+ const __default__$1A = defineComponent({
14807
14807
  name: "ElPopperArrow",
14808
14808
  inheritAttrs: false
14809
14809
  });
14810
14810
  const _sfc_main$2d = /* @__PURE__ */ defineComponent({
14811
- ...__default__$1z,
14811
+ ...__default__$1A,
14812
14812
  props: popperArrowProps,
14813
14813
  setup(__props, { expose }) {
14814
14814
  const props = __props;
@@ -14922,12 +14922,12 @@ const popperTriggerProps = buildProps({
14922
14922
  });
14923
14923
  const usePopperTriggerProps = popperTriggerProps;
14924
14924
 
14925
- const __default__$1y = defineComponent({
14925
+ const __default__$1z = defineComponent({
14926
14926
  name: "ElPopperTrigger",
14927
14927
  inheritAttrs: false
14928
14928
  });
14929
14929
  const _sfc_main$2c = /* @__PURE__ */ defineComponent({
14930
- ...__default__$1y,
14930
+ ...__default__$1z,
14931
14931
  props: popperTriggerProps,
14932
14932
  setup(__props, { expose }) {
14933
14933
  const props = __props;
@@ -15411,10 +15411,10 @@ const _sfc_main$2b = defineComponent({
15411
15411
  };
15412
15412
  }
15413
15413
  });
15414
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
15414
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
15415
15415
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
15416
15416
  }
15417
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$v], ["__file", "focus-trap.vue"]]);
15417
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$2b, [["render", _sfc_render$u], ["__file", "focus-trap.vue"]]);
15418
15418
 
15419
15419
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
15420
15420
  const popperCoreConfigProps = buildProps({
@@ -15708,11 +15708,11 @@ const usePopperContentFocusTrap = (props, emit) => {
15708
15708
  };
15709
15709
  };
15710
15710
 
15711
- const __default__$1x = defineComponent({
15711
+ const __default__$1y = defineComponent({
15712
15712
  name: "ElPopperContent"
15713
15713
  });
15714
15714
  const _sfc_main$2a = /* @__PURE__ */ defineComponent({
15715
- ...__default__$1x,
15715
+ ...__default__$1y,
15716
15716
  props: popperContentProps,
15717
15717
  emits: popperContentEmits,
15718
15718
  setup(__props, { expose, emit }) {
@@ -15913,11 +15913,11 @@ const whenTrigger = (trigger, type, handler) => {
15913
15913
  };
15914
15914
  };
15915
15915
 
15916
- const __default__$1w = defineComponent({
15916
+ const __default__$1x = defineComponent({
15917
15917
  name: "ElTooltipTrigger"
15918
15918
  });
15919
15919
  const _sfc_main$29 = /* @__PURE__ */ defineComponent({
15920
- ...__default__$1w,
15920
+ ...__default__$1x,
15921
15921
  props: useTooltipTriggerProps,
15922
15922
  setup(__props, { expose }) {
15923
15923
  const props = __props;
@@ -15978,12 +15978,12 @@ const _sfc_main$29 = /* @__PURE__ */ defineComponent({
15978
15978
  });
15979
15979
  var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$29, [["__file", "trigger.vue"]]);
15980
15980
 
15981
- const __default__$1v = defineComponent({
15981
+ const __default__$1w = defineComponent({
15982
15982
  name: "ElTooltipContent",
15983
15983
  inheritAttrs: false
15984
15984
  });
15985
15985
  const _sfc_main$28 = /* @__PURE__ */ defineComponent({
15986
- ...__default__$1v,
15986
+ ...__default__$1w,
15987
15987
  props: useTooltipContentProps,
15988
15988
  setup(__props, { expose }) {
15989
15989
  const props = __props;
@@ -16145,11 +16145,11 @@ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$28, [["__file", "co
16145
16145
 
16146
16146
  const _hoisted_1$13 = ["innerHTML"];
16147
16147
  const _hoisted_2$H = { key: 1 };
16148
- const __default__$1u = defineComponent({
16148
+ const __default__$1v = defineComponent({
16149
16149
  name: "ElTooltip"
16150
16150
  });
16151
16151
  const _sfc_main$27 = /* @__PURE__ */ defineComponent({
16152
- ...__default__$1u,
16152
+ ...__default__$1v,
16153
16153
  props: useTooltipProps,
16154
16154
  emits: tooltipEmits,
16155
16155
  setup(__props, { expose, emit }) {
@@ -16386,12 +16386,12 @@ const _hoisted_1$12 = ["aria-expanded", "aria-owns"];
16386
16386
  const _hoisted_2$G = { key: 0 };
16387
16387
  const _hoisted_3$h = ["id", "aria-selected", "onClick"];
16388
16388
  const COMPONENT_NAME$i = "ElAutocomplete";
16389
- const __default__$1t = defineComponent({
16389
+ const __default__$1u = defineComponent({
16390
16390
  name: COMPONENT_NAME$i,
16391
16391
  inheritAttrs: false
16392
16392
  });
16393
16393
  const _sfc_main$26 = /* @__PURE__ */ defineComponent({
16394
- ...__default__$1t,
16394
+ ...__default__$1u,
16395
16395
  props: autocompleteProps,
16396
16396
  emits: autocompleteEmits,
16397
16397
  setup(__props, { expose, emit }) {
@@ -16759,11 +16759,11 @@ const avatarEmits = {
16759
16759
  };
16760
16760
 
16761
16761
  const _hoisted_1$11 = ["src", "alt", "srcset"];
16762
- const __default__$1s = defineComponent({
16762
+ const __default__$1t = defineComponent({
16763
16763
  name: "ElAvatar"
16764
16764
  });
16765
16765
  const _sfc_main$25 = /* @__PURE__ */ defineComponent({
16766
- ...__default__$1s,
16766
+ ...__default__$1t,
16767
16767
  props: avatarProps,
16768
16768
  emits: avatarEmits,
16769
16769
  setup(__props, { emit }) {
@@ -16878,11 +16878,11 @@ const useBackTop = (props, emit, componentName) => {
16878
16878
  };
16879
16879
 
16880
16880
  const COMPONENT_NAME$h = "ElBacktop";
16881
- const __default__$1r = defineComponent({
16881
+ const __default__$1s = defineComponent({
16882
16882
  name: COMPONENT_NAME$h
16883
16883
  });
16884
16884
  const _sfc_main$24 = /* @__PURE__ */ defineComponent({
16885
- ...__default__$1r,
16885
+ ...__default__$1s,
16886
16886
  props: backtopProps,
16887
16887
  emits: backtopEmits,
16888
16888
  setup(__props, { emit }) {
@@ -16944,11 +16944,11 @@ const badgeProps = buildProps({
16944
16944
  });
16945
16945
 
16946
16946
  const _hoisted_1$10 = ["textContent"];
16947
- const __default__$1q = defineComponent({
16947
+ const __default__$1r = defineComponent({
16948
16948
  name: "ElBadge"
16949
16949
  });
16950
16950
  const _sfc_main$23 = /* @__PURE__ */ defineComponent({
16951
- ...__default__$1q,
16951
+ ...__default__$1r,
16952
16952
  props: badgeProps,
16953
16953
  setup(__props, { expose }) {
16954
16954
  const props = __props;
@@ -17008,11 +17008,11 @@ const breadcrumbProps = buildProps({
17008
17008
  }
17009
17009
  });
17010
17010
 
17011
- const __default__$1p = defineComponent({
17011
+ const __default__$1q = defineComponent({
17012
17012
  name: "ElBreadcrumb"
17013
17013
  });
17014
17014
  const _sfc_main$22 = /* @__PURE__ */ defineComponent({
17015
- ...__default__$1p,
17015
+ ...__default__$1q,
17016
17016
  props: breadcrumbProps,
17017
17017
  setup(__props) {
17018
17018
  const props = __props;
@@ -17051,11 +17051,11 @@ const breadcrumbItemProps = buildProps({
17051
17051
  }
17052
17052
  });
17053
17053
 
17054
- const __default__$1o = defineComponent({
17054
+ const __default__$1p = defineComponent({
17055
17055
  name: "ElBreadcrumbItem"
17056
17056
  });
17057
17057
  const _sfc_main$21 = /* @__PURE__ */ defineComponent({
17058
- ...__default__$1o,
17058
+ ...__default__$1p,
17059
17059
  props: breadcrumbItemProps,
17060
17060
  setup(__props) {
17061
17061
  const props = __props;
@@ -18150,11 +18150,11 @@ function useButtonCustomStyle(props) {
18150
18150
  });
18151
18151
  }
18152
18152
 
18153
- const __default__$1n = defineComponent({
18153
+ const __default__$1o = defineComponent({
18154
18154
  name: "ElButton"
18155
18155
  });
18156
18156
  const _sfc_main$20 = /* @__PURE__ */ defineComponent({
18157
- ...__default__$1n,
18157
+ ...__default__$1o,
18158
18158
  props: buttonProps,
18159
18159
  emits: buttonEmits,
18160
18160
  setup(__props, { expose, emit }) {
@@ -18226,11 +18226,11 @@ const buttonGroupProps = {
18226
18226
  type: buttonProps.type
18227
18227
  };
18228
18228
 
18229
- const __default__$1m = defineComponent({
18229
+ const __default__$1n = defineComponent({
18230
18230
  name: "ElButtonGroup"
18231
18231
  });
18232
18232
  const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
18233
- ...__default__$1m,
18233
+ ...__default__$1n,
18234
18234
  props: buttonGroupProps,
18235
18235
  setup(__props) {
18236
18236
  const props = __props;
@@ -18792,11 +18792,11 @@ const timePickerDefaultProps = buildProps({
18792
18792
 
18793
18793
  const _hoisted_1$$ = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18794
18794
  const _hoisted_2$F = ["id", "name", "placeholder", "value", "disabled", "readonly"];
18795
- const __default__$1l = defineComponent({
18795
+ const __default__$1m = defineComponent({
18796
18796
  name: "Picker"
18797
18797
  });
18798
18798
  const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
18799
- ...__default__$1l,
18799
+ ...__default__$1m,
18800
18800
  props: timePickerDefaultProps,
18801
18801
  emits: [
18802
18802
  "update:modelValue",
@@ -20705,11 +20705,11 @@ const useDateTable = (props, emit) => {
20705
20705
 
20706
20706
  const _hoisted_1$Y = { key: 0 };
20707
20707
  const _hoisted_2$D = ["onClick"];
20708
- const __default__$1k = defineComponent({
20708
+ const __default__$1l = defineComponent({
20709
20709
  name: "DateTable"
20710
20710
  });
20711
20711
  const _sfc_main$1W = /* @__PURE__ */ defineComponent({
20712
- ...__default__$1k,
20712
+ ...__default__$1l,
20713
20713
  props: dateTableProps,
20714
20714
  emits: dateTableEmits,
20715
20715
  setup(__props, { expose, emit }) {
@@ -20923,11 +20923,11 @@ const calendarEmits = {
20923
20923
  };
20924
20924
 
20925
20925
  const COMPONENT_NAME$g = "ElCalendar";
20926
- const __default__$1j = defineComponent({
20926
+ const __default__$1k = defineComponent({
20927
20927
  name: COMPONENT_NAME$g
20928
20928
  });
20929
20929
  const _sfc_main$1V = /* @__PURE__ */ defineComponent({
20930
- ...__default__$1j,
20930
+ ...__default__$1k,
20931
20931
  props: calendarProps,
20932
20932
  emits: calendarEmits,
20933
20933
  setup(__props, { expose, emit }) {
@@ -21069,11 +21069,11 @@ const cardProps = buildProps({
21069
21069
  }
21070
21070
  });
21071
21071
 
21072
- const __default__$1i = defineComponent({
21072
+ const __default__$1j = defineComponent({
21073
21073
  name: "ElCard"
21074
21074
  });
21075
21075
  const _sfc_main$1U = /* @__PURE__ */ defineComponent({
21076
- ...__default__$1i,
21076
+ ...__default__$1j,
21077
21077
  props: cardProps,
21078
21078
  setup(__props) {
21079
21079
  const ns = useNamespace("card");
@@ -21422,11 +21422,11 @@ const useCarousel = (props, emit, componentName) => {
21422
21422
  const _hoisted_1$X = ["onMouseenter", "onClick"];
21423
21423
  const _hoisted_2$C = { key: 0 };
21424
21424
  const COMPONENT_NAME$f = "ElCarousel";
21425
- const __default__$1h = defineComponent({
21425
+ const __default__$1i = defineComponent({
21426
21426
  name: COMPONENT_NAME$f
21427
21427
  });
21428
21428
  const _sfc_main$1T = /* @__PURE__ */ defineComponent({
21429
- ...__default__$1h,
21429
+ ...__default__$1i,
21430
21430
  props: carouselProps,
21431
21431
  emits: carouselEmits,
21432
21432
  setup(__props, { expose, emit }) {
@@ -21702,11 +21702,11 @@ const useCarouselItem = (props, componentName) => {
21702
21702
  };
21703
21703
  };
21704
21704
 
21705
- const __default__$1g = defineComponent({
21705
+ const __default__$1h = defineComponent({
21706
21706
  name: "ElCarouselItem"
21707
21707
  });
21708
21708
  const _sfc_main$1S = /* @__PURE__ */ defineComponent({
21709
- ...__default__$1g,
21709
+ ...__default__$1h,
21710
21710
  props: carouselItemProps,
21711
21711
  setup(__props) {
21712
21712
  const props = __props;
@@ -22006,11 +22006,11 @@ const useCheckbox = (props, slots) => {
22006
22006
 
22007
22007
  const _hoisted_1$W = ["id", "indeterminate", "name", "tabindex", "disabled", "true-value", "false-value"];
22008
22008
  const _hoisted_2$B = ["id", "indeterminate", "disabled", "value", "name", "tabindex"];
22009
- const __default__$1f = defineComponent({
22009
+ const __default__$1g = defineComponent({
22010
22010
  name: "ElCheckbox"
22011
22011
  });
22012
22012
  const _sfc_main$1R = /* @__PURE__ */ defineComponent({
22013
- ...__default__$1f,
22013
+ ...__default__$1g,
22014
22014
  props: checkboxProps,
22015
22015
  emits: checkboxEmits,
22016
22016
  setup(__props) {
@@ -22118,11 +22118,11 @@ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1R, [["__file", "checkbox.v
22118
22118
 
22119
22119
  const _hoisted_1$V = ["name", "tabindex", "disabled", "true-value", "false-value"];
22120
22120
  const _hoisted_2$A = ["name", "tabindex", "disabled", "value"];
22121
- const __default__$1e = defineComponent({
22121
+ const __default__$1f = defineComponent({
22122
22122
  name: "ElCheckboxButton"
22123
22123
  });
22124
22124
  const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
22125
- ...__default__$1e,
22125
+ ...__default__$1f,
22126
22126
  props: checkboxProps,
22127
22127
  emits: checkboxEmits,
22128
22128
  setup(__props) {
@@ -22236,11 +22236,11 @@ const checkboxGroupEmits = {
22236
22236
  change: (val) => isArray$1(val)
22237
22237
  };
22238
22238
 
22239
- const __default__$1d = defineComponent({
22239
+ const __default__$1e = defineComponent({
22240
22240
  name: "ElCheckboxGroup"
22241
22241
  });
22242
22242
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
22243
- ...__default__$1d,
22243
+ ...__default__$1e,
22244
22244
  props: checkboxGroupProps,
22245
22245
  emits: checkboxGroupEmits,
22246
22246
  setup(__props, { emit }) {
@@ -22370,11 +22370,11 @@ const useRadio = (props, emit) => {
22370
22370
  };
22371
22371
 
22372
22372
  const _hoisted_1$U = ["value", "name", "disabled"];
22373
- const __default__$1c = defineComponent({
22373
+ const __default__$1d = defineComponent({
22374
22374
  name: "ElRadio"
22375
22375
  });
22376
22376
  const _sfc_main$1O = /* @__PURE__ */ defineComponent({
22377
- ...__default__$1c,
22377
+ ...__default__$1d,
22378
22378
  props: radioProps,
22379
22379
  emits: radioEmits,
22380
22380
  setup(__props, { emit }) {
@@ -22448,11 +22448,11 @@ const radioButtonProps = buildProps({
22448
22448
  });
22449
22449
 
22450
22450
  const _hoisted_1$T = ["value", "name", "disabled"];
22451
- const __default__$1b = defineComponent({
22451
+ const __default__$1c = defineComponent({
22452
22452
  name: "ElRadioButton"
22453
22453
  });
22454
22454
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
22455
- ...__default__$1b,
22455
+ ...__default__$1c,
22456
22456
  props: radioButtonProps,
22457
22457
  setup(__props) {
22458
22458
  const props = __props;
@@ -22544,11 +22544,11 @@ const radioGroupProps = buildProps({
22544
22544
  const radioGroupEmits = radioEmits;
22545
22545
 
22546
22546
  const _hoisted_1$S = ["id", "aria-label", "aria-labelledby"];
22547
- const __default__$1a = defineComponent({
22547
+ const __default__$1b = defineComponent({
22548
22548
  name: "ElRadioGroup"
22549
22549
  });
22550
22550
  const _sfc_main$1M = /* @__PURE__ */ defineComponent({
22551
- ...__default__$1a,
22551
+ ...__default__$1b,
22552
22552
  props: radioGroupProps,
22553
22553
  emits: radioGroupEmits,
22554
22554
  setup(__props, { emit }) {
@@ -22744,7 +22744,7 @@ const _sfc_main$1L = defineComponent({
22744
22744
  });
22745
22745
  const _hoisted_1$R = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
22746
22746
  const _hoisted_2$z = /* @__PURE__ */ createElementVNode("span", null, null, -1);
22747
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22747
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22748
22748
  const _component_el_checkbox = resolveComponent("el-checkbox");
22749
22749
  const _component_el_radio = resolveComponent("el-radio");
22750
22750
  const _component_check = resolveComponent("check");
@@ -22827,7 +22827,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22827
22827
  ], 64)) : createCommentVNode("v-if", true)
22828
22828
  ], 42, _hoisted_1$R);
22829
22829
  }
22830
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$u], ["__file", "node.vue"]]);
22830
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["render", _sfc_render$t], ["__file", "node.vue"]]);
22831
22831
 
22832
22832
  const _sfc_main$1K = defineComponent({
22833
22833
  name: "ElCascaderMenu",
@@ -22907,7 +22907,7 @@ const _sfc_main$1K = defineComponent({
22907
22907
  };
22908
22908
  }
22909
22909
  });
22910
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22910
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22911
22911
  const _component_el_cascader_node = resolveComponent("el-cascader-node");
22912
22912
  const _component_loading = resolveComponent("loading");
22913
22913
  const _component_el_icon = resolveComponent("el-icon");
@@ -22960,7 +22960,7 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22960
22960
  _: 1
22961
22961
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
22962
22962
  }
22963
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$t], ["__file", "menu.vue"]]);
22963
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["render", _sfc_render$s], ["__file", "menu.vue"]]);
22964
22964
 
22965
22965
  let uid = 0;
22966
22966
  const calculatePathNodes = (node) => {
@@ -23442,7 +23442,7 @@ const _sfc_main$1J = defineComponent({
23442
23442
  };
23443
23443
  }
23444
23444
  });
23445
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
23445
+ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
23446
23446
  const _component_el_cascader_menu = resolveComponent("el-cascader-menu");
23447
23447
  return openBlock(), createElementBlock("div", {
23448
23448
  class: normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
@@ -23459,7 +23459,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
23459
23459
  }), 128))
23460
23460
  ], 34);
23461
23461
  }
23462
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$s], ["__file", "index.vue"]]);
23462
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1J, [["render", _sfc_render$r], ["__file", "index.vue"]]);
23463
23463
 
23464
23464
  CascaderPanel.install = (app) => {
23465
23465
  app.component(CascaderPanel.name, CascaderPanel);
@@ -23497,11 +23497,11 @@ const tagEmits = {
23497
23497
  click: (evt) => evt instanceof MouseEvent
23498
23498
  };
23499
23499
 
23500
- const __default__$19 = defineComponent({
23500
+ const __default__$1a = defineComponent({
23501
23501
  name: "ElTag"
23502
23502
  });
23503
23503
  const _sfc_main$1I = /* @__PURE__ */ defineComponent({
23504
- ...__default__$19,
23504
+ ...__default__$1a,
23505
23505
  props: tagProps,
23506
23506
  emits: tagEmits,
23507
23507
  setup(__props, { emit }) {
@@ -23646,11 +23646,11 @@ const _hoisted_1$Q = { key: 0 };
23646
23646
  const _hoisted_2$y = ["placeholder", "onKeydown"];
23647
23647
  const _hoisted_3$g = ["onClick"];
23648
23648
  const COMPONENT_NAME$e = "ElCascader";
23649
- const __default__$18 = defineComponent({
23649
+ const __default__$19 = defineComponent({
23650
23650
  name: COMPONENT_NAME$e
23651
23651
  });
23652
23652
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
23653
- ...__default__$18,
23653
+ ...__default__$19,
23654
23654
  props: cascaderProps,
23655
23655
  emits: cascaderEmits,
23656
23656
  setup(__props, { expose, emit }) {
@@ -24262,11 +24262,11 @@ const checkTagEmits = {
24262
24262
  [CHANGE_EVENT]: (value) => isBoolean(value)
24263
24263
  };
24264
24264
 
24265
- const __default__$17 = defineComponent({
24265
+ const __default__$18 = defineComponent({
24266
24266
  name: "ElCheckTag"
24267
24267
  });
24268
24268
  const _sfc_main$1G = /* @__PURE__ */ defineComponent({
24269
- ...__default__$17,
24269
+ ...__default__$18,
24270
24270
  props: checkTagProps,
24271
24271
  emits: checkTagEmits,
24272
24272
  setup(__props, { emit }) {
@@ -24323,11 +24323,11 @@ const rowProps = buildProps({
24323
24323
  }
24324
24324
  });
24325
24325
 
24326
- const __default__$16 = defineComponent({
24326
+ const __default__$17 = defineComponent({
24327
24327
  name: "ElRow"
24328
24328
  });
24329
24329
  const _sfc_main$1F = /* @__PURE__ */ defineComponent({
24330
- ...__default__$16,
24330
+ ...__default__$17,
24331
24331
  props: rowProps,
24332
24332
  setup(__props) {
24333
24333
  const props = __props;
@@ -24409,11 +24409,11 @@ const colProps = buildProps({
24409
24409
  }
24410
24410
  });
24411
24411
 
24412
- const __default__$15 = defineComponent({
24412
+ const __default__$16 = defineComponent({
24413
24413
  name: "ElCol"
24414
24414
  });
24415
24415
  const _sfc_main$1E = /* @__PURE__ */ defineComponent({
24416
- ...__default__$15,
24416
+ ...__default__$16,
24417
24417
  props: colProps,
24418
24418
  setup(__props) {
24419
24419
  const props = __props;
@@ -24525,11 +24525,11 @@ const useCollapseDOM = () => {
24525
24525
  };
24526
24526
  };
24527
24527
 
24528
- const __default__$14 = defineComponent({
24528
+ const __default__$15 = defineComponent({
24529
24529
  name: "ElCollapse"
24530
24530
  });
24531
24531
  const _sfc_main$1D = /* @__PURE__ */ defineComponent({
24532
- ...__default__$14,
24532
+ ...__default__$15,
24533
24533
  props: collapseProps,
24534
24534
  emits: collapseEmits,
24535
24535
  setup(__props, { expose, emit }) {
@@ -24551,11 +24551,11 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
24551
24551
  });
24552
24552
  var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["__file", "collapse.vue"]]);
24553
24553
 
24554
- const __default__$13 = defineComponent({
24554
+ const __default__$14 = defineComponent({
24555
24555
  name: "ElCollapseTransition"
24556
24556
  });
24557
24557
  const _sfc_main$1C = /* @__PURE__ */ defineComponent({
24558
- ...__default__$13,
24558
+ ...__default__$14,
24559
24559
  setup(__props) {
24560
24560
  const ns = useNamespace("collapse-transition");
24561
24561
  const reset = (el) => {
@@ -24726,11 +24726,11 @@ const useCollapseItemDOM = (props, { focusing, isActive, id }) => {
24726
24726
 
24727
24727
  const _hoisted_1$P = ["id", "aria-expanded", "aria-controls", "aria-describedby", "tabindex"];
24728
24728
  const _hoisted_2$x = ["id", "aria-hidden", "aria-labelledby"];
24729
- const __default__$12 = defineComponent({
24729
+ const __default__$13 = defineComponent({
24730
24730
  name: "ElCollapseItem"
24731
24731
  });
24732
24732
  const _sfc_main$1B = /* @__PURE__ */ defineComponent({
24733
- ...__default__$12,
24733
+ ...__default__$13,
24734
24734
  props: collapseItemProps,
24735
24735
  setup(__props, { expose }) {
24736
24736
  const props = __props;
@@ -24970,11 +24970,11 @@ const useAlphaSliderDOM = (props, {
24970
24970
  };
24971
24971
 
24972
24972
  const COMPONENT_NAME$d = "ElColorAlphaSlider";
24973
- const __default__$11 = defineComponent({
24973
+ const __default__$12 = defineComponent({
24974
24974
  name: COMPONENT_NAME$d
24975
24975
  });
24976
24976
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
24977
- ...__default__$11,
24977
+ ...__default__$12,
24978
24978
  props: alphaSliderProps,
24979
24979
  setup(__props, { expose }) {
24980
24980
  const props = __props;
@@ -25113,7 +25113,7 @@ const _sfc_main$1z = defineComponent({
25113
25113
  };
25114
25114
  }
25115
25115
  });
25116
- function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
25116
+ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25117
25117
  return openBlock(), createElementBlock("div", {
25118
25118
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
25119
25119
  }, [
@@ -25132,7 +25132,7 @@ function _sfc_render$r(_ctx, _cache, $props, $setup, $data, $options) {
25132
25132
  }, null, 6)
25133
25133
  ], 2);
25134
25134
  }
25135
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$r], ["__file", "hue-slider.vue"]]);
25135
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["render", _sfc_render$q], ["__file", "hue-slider.vue"]]);
25136
25136
 
25137
25137
  const colorPickerProps = buildProps({
25138
25138
  modelValue: String,
@@ -25500,7 +25500,7 @@ const _sfc_main$1y = defineComponent({
25500
25500
  }
25501
25501
  });
25502
25502
  const _hoisted_1$O = ["onClick"];
25503
- function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25503
+ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25504
25504
  return openBlock(), createElementBlock("div", {
25505
25505
  class: normalizeClass(_ctx.ns.b())
25506
25506
  }, [
@@ -25525,7 +25525,7 @@ function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
25525
25525
  ], 2)
25526
25526
  ], 2);
25527
25527
  }
25528
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$q], ["__file", "predefine.vue"]]);
25528
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["render", _sfc_render$p], ["__file", "predefine.vue"]]);
25529
25529
 
25530
25530
  const _sfc_main$1x = defineComponent({
25531
25531
  name: "ElSlPanel",
@@ -25601,7 +25601,7 @@ const _hoisted_1$N = /* @__PURE__ */ createElementVNode("div", null, null, -1);
25601
25601
  const _hoisted_2$w = [
25602
25602
  _hoisted_1$N
25603
25603
  ];
25604
- function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25604
+ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
25605
25605
  return openBlock(), createElementBlock("div", {
25606
25606
  class: normalizeClass(_ctx.ns.b()),
25607
25607
  style: normalizeStyle({
@@ -25623,15 +25623,15 @@ function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
25623
25623
  }, _hoisted_2$w, 6)
25624
25624
  ], 6);
25625
25625
  }
25626
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$p], ["__file", "sv-panel.vue"]]);
25626
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1x, [["render", _sfc_render$o], ["__file", "sv-panel.vue"]]);
25627
25627
 
25628
25628
  const _hoisted_1$M = ["onKeydown"];
25629
25629
  const _hoisted_2$v = ["id", "aria-label", "aria-labelledby", "aria-description", "aria-disabled", "tabindex"];
25630
- const __default__$10 = defineComponent({
25630
+ const __default__$11 = defineComponent({
25631
25631
  name: "ElColorPicker"
25632
25632
  });
25633
25633
  const _sfc_main$1w = /* @__PURE__ */ defineComponent({
25634
- ...__default__$10,
25634
+ ...__default__$11,
25635
25635
  props: colorPickerProps,
25636
25636
  emits: colorPickerEmits,
25637
25637
  setup(__props, { expose, emit }) {
@@ -26005,11 +26005,11 @@ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1w, [["__file", "color-p
26005
26005
 
26006
26006
  const ElColorPicker = withInstall(ColorPicker);
26007
26007
 
26008
- const __default__$$ = defineComponent({
26008
+ const __default__$10 = defineComponent({
26009
26009
  name: "ElContainer"
26010
26010
  });
26011
26011
  const _sfc_main$1v = /* @__PURE__ */ defineComponent({
26012
- ...__default__$$,
26012
+ ...__default__$10,
26013
26013
  props: {
26014
26014
  direction: {
26015
26015
  type: String
@@ -26046,11 +26046,11 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
26046
26046
  });
26047
26047
  var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["__file", "container.vue"]]);
26048
26048
 
26049
- const __default__$_ = defineComponent({
26049
+ const __default__$$ = defineComponent({
26050
26050
  name: "ElAside"
26051
26051
  });
26052
26052
  const _sfc_main$1u = /* @__PURE__ */ defineComponent({
26053
- ...__default__$_,
26053
+ ...__default__$$,
26054
26054
  props: {
26055
26055
  width: {
26056
26056
  type: String,
@@ -26073,11 +26073,11 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
26073
26073
  });
26074
26074
  var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["__file", "aside.vue"]]);
26075
26075
 
26076
- const __default__$Z = defineComponent({
26076
+ const __default__$_ = defineComponent({
26077
26077
  name: "ElFooter"
26078
26078
  });
26079
26079
  const _sfc_main$1t = /* @__PURE__ */ defineComponent({
26080
- ...__default__$Z,
26080
+ ...__default__$_,
26081
26081
  props: {
26082
26082
  height: {
26083
26083
  type: String,
@@ -26100,11 +26100,11 @@ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
26100
26100
  });
26101
26101
  var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["__file", "footer.vue"]]);
26102
26102
 
26103
- const __default__$Y = defineComponent({
26103
+ const __default__$Z = defineComponent({
26104
26104
  name: "ElHeader"
26105
26105
  });
26106
26106
  const _sfc_main$1s = /* @__PURE__ */ defineComponent({
26107
- ...__default__$Y,
26107
+ ...__default__$Z,
26108
26108
  props: {
26109
26109
  height: {
26110
26110
  type: String,
@@ -26131,11 +26131,11 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
26131
26131
  });
26132
26132
  var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["__file", "header.vue"]]);
26133
26133
 
26134
- const __default__$X = defineComponent({
26134
+ const __default__$Y = defineComponent({
26135
26135
  name: "ElMain"
26136
26136
  });
26137
26137
  const _sfc_main$1r = /* @__PURE__ */ defineComponent({
26138
- ...__default__$X,
26138
+ ...__default__$Y,
26139
26139
  setup(__props) {
26140
26140
  const ns = useNamespace("main");
26141
26141
  return (_ctx, _cache) => {
@@ -28691,11 +28691,11 @@ const _hoisted_1$G = ["onClick"];
28691
28691
  const _hoisted_2$p = ["disabled"];
28692
28692
  const _hoisted_3$a = ["disabled"];
28693
28693
  const unit = "year";
28694
- const __default__$W = defineComponent({
28694
+ const __default__$X = defineComponent({
28695
28695
  name: "DatePickerMonthRange"
28696
28696
  });
28697
28697
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
28698
- ...__default__$W,
28698
+ ...__default__$X,
28699
28699
  props: panelMonthRangeProps,
28700
28700
  emits: panelMonthRangeEmits,
28701
28701
  setup(__props, { emit }) {
@@ -29078,11 +29078,11 @@ const descriptionsRowProps = buildProps({
29078
29078
  });
29079
29079
 
29080
29080
  const _hoisted_1$F = { key: 1 };
29081
- const __default__$V = defineComponent({
29081
+ const __default__$W = defineComponent({
29082
29082
  name: "ElDescriptionsRow"
29083
29083
  });
29084
29084
  const _sfc_main$1k = /* @__PURE__ */ defineComponent({
29085
- ...__default__$V,
29085
+ ...__default__$W,
29086
29086
  props: descriptionsRowProps,
29087
29087
  setup(__props) {
29088
29088
  const descriptions = inject(descriptionsKey, {});
@@ -29163,11 +29163,11 @@ const descriptionProps = buildProps({
29163
29163
  }
29164
29164
  });
29165
29165
 
29166
- const __default__$U = defineComponent({
29166
+ const __default__$V = defineComponent({
29167
29167
  name: "ElDescriptions"
29168
29168
  });
29169
29169
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
29170
- ...__default__$U,
29170
+ ...__default__$V,
29171
29171
  props: descriptionProps,
29172
29172
  setup(__props) {
29173
29173
  const props = __props;
@@ -29407,9 +29407,9 @@ const dialogContentEmits = {
29407
29407
  const _hoisted_1$E = ["aria-level"];
29408
29408
  const _hoisted_2$o = ["aria-label"];
29409
29409
  const _hoisted_3$9 = ["id"];
29410
- const __default__$T = defineComponent({ name: "ElDialogContent" });
29410
+ const __default__$U = defineComponent({ name: "ElDialogContent" });
29411
29411
  const _sfc_main$1i = /* @__PURE__ */ defineComponent({
29412
- ...__default__$T,
29412
+ ...__default__$U,
29413
29413
  props: dialogContentProps,
29414
29414
  emits: dialogContentEmits,
29415
29415
  setup(__props) {
@@ -29718,12 +29718,12 @@ const useDialog = (props, targetRef) => {
29718
29718
  };
29719
29719
 
29720
29720
  const _hoisted_1$D = ["aria-label", "aria-labelledby", "aria-describedby"];
29721
- const __default__$S = defineComponent({
29721
+ const __default__$T = defineComponent({
29722
29722
  name: "ElDialog",
29723
29723
  inheritAttrs: false
29724
29724
  });
29725
29725
  const _sfc_main$1h = /* @__PURE__ */ defineComponent({
29726
- ...__default__$S,
29726
+ ...__default__$T,
29727
29727
  props: dialogProps,
29728
29728
  emits: dialogEmits,
29729
29729
  setup(__props, { expose }) {
@@ -29895,11 +29895,11 @@ const dividerProps = buildProps({
29895
29895
  }
29896
29896
  });
29897
29897
 
29898
- const __default__$R = defineComponent({
29898
+ const __default__$S = defineComponent({
29899
29899
  name: "ElDivider"
29900
29900
  });
29901
29901
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
29902
- ...__default__$R,
29902
+ ...__default__$S,
29903
29903
  props: dividerProps,
29904
29904
  setup(__props) {
29905
29905
  const props = __props;
@@ -29955,18 +29955,21 @@ const drawerProps = buildProps({
29955
29955
  });
29956
29956
  const drawerEmits = dialogEmits;
29957
29957
 
29958
- const _sfc_main$1f = defineComponent({
29958
+ const _hoisted_1$C = ["aria-label", "aria-labelledby", "aria-describedby"];
29959
+ const _hoisted_2$n = ["id", "aria-level"];
29960
+ const _hoisted_3$8 = ["aria-label"];
29961
+ const _hoisted_4$6 = ["id"];
29962
+ const __default__$R = defineComponent({
29959
29963
  name: "ElDrawer",
29960
- components: {
29961
- ElOverlay,
29962
- ElFocusTrap,
29963
- ElIcon,
29964
- Close: close_default
29965
- },
29966
- inheritAttrs: false,
29964
+ inheritAttrs: false
29965
+ });
29966
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
29967
+ ...__default__$R,
29967
29968
  props: drawerProps,
29968
29969
  emits: drawerEmits,
29969
- setup(props, { slots }) {
29970
+ setup(__props, { expose }) {
29971
+ const props = __props;
29972
+ const slots = useSlots();
29970
29973
  useDeprecated({
29971
29974
  scope: "el-drawer",
29972
29975
  from: "the title slot",
@@ -29986,138 +29989,140 @@ const _sfc_main$1f = defineComponent({
29986
29989
  const focusStartRef = ref();
29987
29990
  const ns = useNamespace("drawer");
29988
29991
  const { t } = useLocale();
29992
+ const {
29993
+ afterEnter,
29994
+ afterLeave,
29995
+ beforeLeave,
29996
+ visible,
29997
+ rendered,
29998
+ titleId,
29999
+ bodyId,
30000
+ onModalClick,
30001
+ onCloseRequested,
30002
+ handleClose
30003
+ } = useDialog(props, drawerRef);
29989
30004
  const isHorizontal = computed$1(() => props.direction === "rtl" || props.direction === "ltr");
29990
30005
  const drawerSize = computed$1(() => addUnit(props.size));
29991
- return {
29992
- ...useDialog(props, drawerRef),
29993
- drawerRef,
29994
- focusStartRef,
29995
- isHorizontal,
29996
- drawerSize,
29997
- ns,
29998
- t
29999
- };
30000
- }
30001
- });
30002
- const _hoisted_1$C = ["aria-label", "aria-labelledby", "aria-describedby"];
30003
- const _hoisted_2$n = ["id", "aria-level"];
30004
- const _hoisted_3$8 = ["aria-label"];
30005
- const _hoisted_4$6 = ["id"];
30006
- function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
30007
- const _component_close = resolveComponent("close");
30008
- const _component_el_icon = resolveComponent("el-icon");
30009
- const _component_el_focus_trap = resolveComponent("el-focus-trap");
30010
- const _component_el_overlay = resolveComponent("el-overlay");
30011
- return openBlock(), createBlock(Teleport, {
30012
- to: "body",
30013
- disabled: !_ctx.appendToBody
30014
- }, [
30015
- createVNode(Transition, {
30016
- name: _ctx.ns.b("fade"),
30017
- onAfterEnter: _ctx.afterEnter,
30018
- onAfterLeave: _ctx.afterLeave,
30019
- onBeforeLeave: _ctx.beforeLeave,
30020
- persisted: ""
30021
- }, {
30022
- default: withCtx(() => [
30023
- withDirectives(createVNode(_component_el_overlay, {
30024
- mask: _ctx.modal,
30025
- "overlay-class": _ctx.modalClass,
30026
- "z-index": _ctx.zIndex,
30027
- onClick: _ctx.onModalClick
30006
+ expose({
30007
+ handleClose,
30008
+ afterEnter,
30009
+ afterLeave
30010
+ });
30011
+ return (_ctx, _cache) => {
30012
+ return openBlock(), createBlock(Teleport, {
30013
+ to: "body",
30014
+ disabled: !_ctx.appendToBody
30015
+ }, [
30016
+ createVNode(Transition, {
30017
+ name: unref(ns).b("fade"),
30018
+ onAfterEnter: unref(afterEnter),
30019
+ onAfterLeave: unref(afterLeave),
30020
+ onBeforeLeave: unref(beforeLeave),
30021
+ persisted: ""
30028
30022
  }, {
30029
30023
  default: withCtx(() => [
30030
- createVNode(_component_el_focus_trap, {
30031
- loop: "",
30032
- trapped: _ctx.visible,
30033
- "focus-trap-el": _ctx.drawerRef,
30034
- "focus-start-el": _ctx.focusStartRef,
30035
- onReleaseRequested: _ctx.onCloseRequested
30024
+ withDirectives(createVNode(unref(ElOverlay), {
30025
+ mask: _ctx.modal,
30026
+ "overlay-class": _ctx.modalClass,
30027
+ "z-index": _ctx.zIndex,
30028
+ onClick: unref(onModalClick)
30036
30029
  }, {
30037
30030
  default: withCtx(() => [
30038
- createElementVNode("div", mergeProps({
30039
- ref: "drawerRef",
30040
- "aria-modal": "true",
30041
- "aria-label": _ctx.title || void 0,
30042
- "aria-labelledby": !_ctx.title ? _ctx.titleId : void 0,
30043
- "aria-describedby": _ctx.bodyId
30044
- }, _ctx.$attrs, {
30045
- class: [_ctx.ns.b(), _ctx.direction, _ctx.visible && "open", _ctx.customClass],
30046
- style: _ctx.isHorizontal ? "width: " + _ctx.drawerSize : "height: " + _ctx.drawerSize,
30047
- role: "dialog",
30048
- onClick: _cache[1] || (_cache[1] = withModifiers(() => {
30049
- }, ["stop"]))
30050
- }), [
30051
- createElementVNode("span", {
30052
- ref: "focusStartRef",
30053
- class: normalizeClass(_ctx.ns.e("sr-focus")),
30054
- tabindex: "-1"
30055
- }, null, 2),
30056
- _ctx.withHeader ? (openBlock(), createElementBlock("header", {
30057
- key: 0,
30058
- class: normalizeClass(_ctx.ns.e("header"))
30059
- }, [
30060
- !_ctx.$slots.title ? renderSlot(_ctx.$slots, "header", {
30061
- key: 0,
30062
- close: _ctx.handleClose,
30063
- titleId: _ctx.titleId,
30064
- titleClass: _ctx.ns.e("title")
30065
- }, () => [
30066
- !_ctx.$slots.title ? (openBlock(), createElementBlock("span", {
30031
+ createVNode(unref(ElFocusTrap), {
30032
+ loop: "",
30033
+ trapped: unref(visible),
30034
+ "focus-trap-el": drawerRef.value,
30035
+ "focus-start-el": focusStartRef.value,
30036
+ onReleaseRequested: unref(onCloseRequested)
30037
+ }, {
30038
+ default: withCtx(() => [
30039
+ createElementVNode("div", mergeProps({
30040
+ ref_key: "drawerRef",
30041
+ ref: drawerRef,
30042
+ "aria-modal": "true",
30043
+ "aria-label": _ctx.title || void 0,
30044
+ "aria-labelledby": !_ctx.title ? unref(titleId) : void 0,
30045
+ "aria-describedby": unref(bodyId)
30046
+ }, _ctx.$attrs, {
30047
+ class: [unref(ns).b(), _ctx.direction, unref(visible) && "open", _ctx.customClass],
30048
+ style: unref(isHorizontal) ? "width: " + unref(drawerSize) : "height: " + unref(drawerSize),
30049
+ role: "dialog",
30050
+ onClick: _cache[1] || (_cache[1] = withModifiers(() => {
30051
+ }, ["stop"]))
30052
+ }), [
30053
+ createElementVNode("span", {
30054
+ ref_key: "focusStartRef",
30055
+ ref: focusStartRef,
30056
+ class: normalizeClass(unref(ns).e("sr-focus")),
30057
+ tabindex: "-1"
30058
+ }, null, 2),
30059
+ _ctx.withHeader ? (openBlock(), createElementBlock("header", {
30067
30060
  key: 0,
30068
- id: _ctx.titleId,
30069
- role: "heading",
30070
- "aria-level": _ctx.headerAriaLevel,
30071
- class: normalizeClass(_ctx.ns.e("title"))
30072
- }, toDisplayString(_ctx.title), 11, _hoisted_2$n)) : createCommentVNode("v-if", true)
30073
- ]) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
30074
- createCommentVNode(" DEPRECATED SLOT ")
30075
- ]),
30076
- _ctx.showClose ? (openBlock(), createElementBlock("button", {
30077
- key: 2,
30078
- "aria-label": _ctx.t("el.drawer.close"),
30079
- class: normalizeClass(_ctx.ns.e("close-btn")),
30080
- type: "button",
30081
- onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleClose && _ctx.handleClose(...args))
30082
- }, [
30083
- createVNode(_component_el_icon, {
30084
- class: normalizeClass(_ctx.ns.e("close"))
30085
- }, {
30086
- default: withCtx(() => [
30087
- createVNode(_component_close)
30061
+ class: normalizeClass(unref(ns).e("header"))
30062
+ }, [
30063
+ !_ctx.$slots.title ? renderSlot(_ctx.$slots, "header", {
30064
+ key: 0,
30065
+ close: unref(handleClose),
30066
+ titleId: unref(titleId),
30067
+ titleClass: unref(ns).e("title")
30068
+ }, () => [
30069
+ !_ctx.$slots.title ? (openBlock(), createElementBlock("span", {
30070
+ key: 0,
30071
+ id: unref(titleId),
30072
+ role: "heading",
30073
+ "aria-level": _ctx.headerAriaLevel,
30074
+ class: normalizeClass(unref(ns).e("title"))
30075
+ }, toDisplayString(_ctx.title), 11, _hoisted_2$n)) : createCommentVNode("v-if", true)
30076
+ ]) : renderSlot(_ctx.$slots, "title", { key: 1 }, () => [
30077
+ createCommentVNode(" DEPRECATED SLOT ")
30088
30078
  ]),
30089
- _: 1
30090
- }, 8, ["class"])
30091
- ], 10, _hoisted_3$8)) : createCommentVNode("v-if", true)
30092
- ], 2)) : createCommentVNode("v-if", true),
30093
- _ctx.rendered ? (openBlock(), createElementBlock("div", {
30094
- key: 1,
30095
- id: _ctx.bodyId,
30096
- class: normalizeClass(_ctx.ns.e("body"))
30097
- }, [
30098
- renderSlot(_ctx.$slots, "default")
30099
- ], 10, _hoisted_4$6)) : createCommentVNode("v-if", true),
30100
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
30101
- key: 2,
30102
- class: normalizeClass(_ctx.ns.e("footer"))
30103
- }, [
30104
- renderSlot(_ctx.$slots, "footer")
30105
- ], 2)) : createCommentVNode("v-if", true)
30106
- ], 16, _hoisted_1$C)
30079
+ _ctx.showClose ? (openBlock(), createElementBlock("button", {
30080
+ key: 2,
30081
+ "aria-label": unref(t)("el.drawer.close"),
30082
+ class: normalizeClass(unref(ns).e("close-btn")),
30083
+ type: "button",
30084
+ onClick: _cache[0] || (_cache[0] = (...args) => unref(handleClose) && unref(handleClose)(...args))
30085
+ }, [
30086
+ createVNode(unref(ElIcon), {
30087
+ class: normalizeClass(unref(ns).e("close"))
30088
+ }, {
30089
+ default: withCtx(() => [
30090
+ createVNode(unref(close_default))
30091
+ ]),
30092
+ _: 1
30093
+ }, 8, ["class"])
30094
+ ], 10, _hoisted_3$8)) : createCommentVNode("v-if", true)
30095
+ ], 2)) : createCommentVNode("v-if", true),
30096
+ unref(rendered) ? (openBlock(), createElementBlock("div", {
30097
+ key: 1,
30098
+ id: unref(bodyId),
30099
+ class: normalizeClass(unref(ns).e("body"))
30100
+ }, [
30101
+ renderSlot(_ctx.$slots, "default")
30102
+ ], 10, _hoisted_4$6)) : createCommentVNode("v-if", true),
30103
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
30104
+ key: 2,
30105
+ class: normalizeClass(unref(ns).e("footer"))
30106
+ }, [
30107
+ renderSlot(_ctx.$slots, "footer")
30108
+ ], 2)) : createCommentVNode("v-if", true)
30109
+ ], 16, _hoisted_1$C)
30110
+ ]),
30111
+ _: 3
30112
+ }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
30107
30113
  ]),
30108
30114
  _: 3
30109
- }, 8, ["trapped", "focus-trap-el", "focus-start-el", "onReleaseRequested"])
30115
+ }, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
30116
+ [vShow, unref(visible)]
30117
+ ])
30110
30118
  ]),
30111
30119
  _: 3
30112
- }, 8, ["mask", "overlay-class", "z-index", "onClick"]), [
30113
- [vShow, _ctx.visible]
30114
- ])
30115
- ]),
30116
- _: 3
30117
- }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
30118
- ], 8, ["disabled"]);
30119
- }
30120
- var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["render", _sfc_render$o], ["__file", "drawer.vue"]]);
30120
+ }, 8, ["name", "onAfterEnter", "onAfterLeave", "onBeforeLeave"])
30121
+ ], 8, ["disabled"]);
30122
+ };
30123
+ }
30124
+ });
30125
+ var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1f, [["__file", "drawer.vue"]]);
30121
30126
 
30122
30127
  const ElDrawer = withInstall(Drawer);
30123
30128
 
@@ -34292,13 +34297,13 @@ const useSelect$3 = (props, emit) => {
34292
34297
  (_b = (_a = tagTooltipRef.value) == null ? void 0 : _a.updatePopper) == null ? void 0 : _b.call(_a);
34293
34298
  };
34294
34299
  const onInputChange = () => {
34300
+ if (states.inputValue.length > 0 && !expanded.value) {
34301
+ expanded.value = true;
34302
+ }
34295
34303
  handleQueryChange(states.inputValue);
34296
34304
  };
34297
34305
  const onInput = (event) => {
34298
34306
  states.inputValue = event.target.value;
34299
- if (states.inputValue.length > 0 && !expanded.value) {
34300
- expanded.value = true;
34301
- }
34302
34307
  if (props.remote) {
34303
34308
  debouncedOnInputChange();
34304
34309
  } else {
@@ -34467,6 +34472,8 @@ const useSelect$3 = (props, emit) => {
34467
34472
  const toggleMenu = () => {
34468
34473
  if (selectDisabled.value)
34469
34474
  return;
34475
+ if (props.filterable && props.remote && isFunction$1(props.remoteMethod))
34476
+ return;
34470
34477
  if (states.menuVisibleOnFocus) {
34471
34478
  states.menuVisibleOnFocus = false;
34472
34479
  } else {
@@ -34820,9 +34827,9 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34820
34827
  return withDirectives((openBlock(), createElementBlock("div", {
34821
34828
  ref: "selectRef",
34822
34829
  class: normalizeClass([_ctx.nsSelect.b(), _ctx.nsSelect.m(_ctx.selectSize)]),
34823
- onMouseenter: _cache[15] || (_cache[15] = ($event) => _ctx.states.inputHovering = true),
34824
- onMouseleave: _cache[16] || (_cache[16] = ($event) => _ctx.states.inputHovering = false),
34825
- onClick: _cache[17] || (_cache[17] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34830
+ onMouseenter: _cache[14] || (_cache[14] = ($event) => _ctx.states.inputHovering = true),
34831
+ onMouseleave: _cache[15] || (_cache[15] = ($event) => _ctx.states.inputHovering = false),
34832
+ onClick: _cache[16] || (_cache[16] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34826
34833
  }, [
34827
34834
  createVNode(_component_el_tooltip, {
34828
34835
  ref: "tooltipRef",
@@ -34840,7 +34847,7 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34840
34847
  "gpu-acceleration": false,
34841
34848
  persistent: _ctx.persistent,
34842
34849
  onBeforeShow: _ctx.handleMenuEnter,
34843
- onHide: _cache[14] || (_cache[14] = ($event) => _ctx.states.isBeforeHide = false)
34850
+ onHide: _cache[13] || (_cache[13] = ($event) => _ctx.states.isBeforeHide = false)
34844
34851
  }, {
34845
34852
  default: withCtx(() => {
34846
34853
  var _a;
@@ -34983,18 +34990,17 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
34983
34990
  onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
34984
34991
  onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
34985
34992
  onKeydown: [
34986
- _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["prevent"]), ["down"])),
34987
- _cache[4] || (_cache[4] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["prevent"]), ["up"])),
34988
- _cache[5] || (_cache[5] = withKeys((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["esc"])),
34993
+ _cache[3] || (_cache[3] = withKeys(withModifiers(($event) => _ctx.navigateOptions("next"), ["stop", "prevent"]), ["down"])),
34994
+ _cache[4] || (_cache[4] = withKeys(withModifiers(($event) => _ctx.navigateOptions("prev"), ["stop", "prevent"]), ["up"])),
34995
+ _cache[5] || (_cache[5] = withKeys(withModifiers((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["stop", "prevent"]), ["esc"])),
34989
34996
  _cache[6] || (_cache[6] = withKeys(withModifiers((...args) => _ctx.selectOption && _ctx.selectOption(...args), ["stop", "prevent"]), ["enter"])),
34990
- _cache[7] || (_cache[7] = withKeys(withModifiers((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["stop"]), ["delete"])),
34991
- _cache[8] || (_cache[8] = withKeys(($event) => _ctx.expanded = false, ["tab"]))
34997
+ _cache[7] || (_cache[7] = withKeys(withModifiers((...args) => _ctx.deletePrevTag && _ctx.deletePrevTag(...args), ["stop", "prevent"]), ["delete"]))
34992
34998
  ],
34993
- onCompositionstart: _cache[9] || (_cache[9] = (...args) => _ctx.handleCompositionStart && _ctx.handleCompositionStart(...args)),
34994
- onCompositionupdate: _cache[10] || (_cache[10] = (...args) => _ctx.handleCompositionUpdate && _ctx.handleCompositionUpdate(...args)),
34995
- onCompositionend: _cache[11] || (_cache[11] = (...args) => _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...args)),
34996
- onInput: _cache[12] || (_cache[12] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
34997
- onClick: _cache[13] || (_cache[13] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34999
+ onCompositionstart: _cache[8] || (_cache[8] = (...args) => _ctx.handleCompositionStart && _ctx.handleCompositionStart(...args)),
35000
+ onCompositionupdate: _cache[9] || (_cache[9] = (...args) => _ctx.handleCompositionUpdate && _ctx.handleCompositionUpdate(...args)),
35001
+ onCompositionend: _cache[10] || (_cache[10] = (...args) => _ctx.handleCompositionEnd && _ctx.handleCompositionEnd(...args)),
35002
+ onInput: _cache[11] || (_cache[11] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
35003
+ onClick: _cache[12] || (_cache[12] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
34998
35004
  }, null, 46, _hoisted_1$p), [
34999
35005
  [vModelText, _ctx.states.inputValue]
35000
35006
  ]),
@@ -35090,13 +35096,21 @@ function _sfc_render$9(_ctx, _cache, $props, $setup, $data, $options) {
35090
35096
  }, 8, ["id", "wrap-class", "view-class", "class", "aria-label"]), [
35091
35097
  [vShow, _ctx.states.options.size > 0 && !_ctx.loading]
35092
35098
  ]),
35093
- _ctx.loading || _ctx.filteredOptionsCount === 0 ? renderSlot(_ctx.$slots, "empty", { key: 1 }, () => [
35094
- createElementVNode("p", {
35095
- class: normalizeClass(_ctx.nsSelect.be("dropdown", "empty"))
35096
- }, toDisplayString(_ctx.emptyText), 3)
35097
- ]) : createCommentVNode("v-if", true),
35098
- _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
35099
+ _ctx.$slots.loading && _ctx.loading ? (openBlock(), createElementBlock("div", {
35100
+ key: 1,
35101
+ class: normalizeClass(_ctx.nsSelect.be("dropdown", "loading"))
35102
+ }, [
35103
+ renderSlot(_ctx.$slots, "loading")
35104
+ ], 2)) : _ctx.loading || _ctx.filteredOptionsCount === 0 ? (openBlock(), createElementBlock("div", {
35099
35105
  key: 2,
35106
+ class: normalizeClass(_ctx.nsSelect.be("dropdown", "empty"))
35107
+ }, [
35108
+ renderSlot(_ctx.$slots, "empty", {}, () => [
35109
+ createElementVNode("span", null, toDisplayString(_ctx.emptyText), 1)
35110
+ ])
35111
+ ], 2)) : createCommentVNode("v-if", true),
35112
+ _ctx.$slots.footer ? (openBlock(), createElementBlock("div", {
35113
+ key: 3,
35100
35114
  class: normalizeClass(_ctx.nsSelect.be("dropdown", "footer"))
35101
35115
  }, [
35102
35116
  renderSlot(_ctx.$slots, "footer")
@@ -38909,6 +38923,7 @@ var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$H, [["render", _sfc_rende
38909
38923
  var ElSelectMenu = defineComponent({
38910
38924
  name: "ElSelectDropdown",
38911
38925
  props: {
38926
+ loading: Boolean,
38912
38927
  data: {
38913
38928
  type: Array,
38914
38929
  required: true
@@ -39098,7 +39113,7 @@ var ElSelectMenu = defineComponent({
39098
39113
  }
39099
39114
  };
39100
39115
  return () => {
39101
- var _a, _b, _c;
39116
+ var _a, _b, _c, _d;
39102
39117
  const {
39103
39118
  data,
39104
39119
  width
@@ -39108,18 +39123,18 @@ var ElSelectMenu = defineComponent({
39108
39123
  multiple,
39109
39124
  scrollbarAlwaysOn
39110
39125
  } = select.props;
39111
- if (data.length === 0) {
39126
+ if (slots.loading || slots.empty) {
39112
39127
  return createVNode("div", {
39113
39128
  "class": ns.b("dropdown"),
39114
39129
  "style": {
39115
39130
  width: `${width}px`
39116
39131
  }
39117
- }, [(_a = slots.empty) == null ? void 0 : _a.call(slots)]);
39132
+ }, [((_a = slots.loading) == null ? void 0 : _a.call(slots)) || ((_b = slots.empty) == null ? void 0 : _b.call(slots))]);
39118
39133
  }
39119
39134
  const List = unref(isSized) ? FixedSizeList$1 : DynamicSizeList$1;
39120
39135
  return createVNode("div", {
39121
39136
  "class": [ns.b("dropdown"), ns.is("multiple", multiple)]
39122
- }, [(_b = slots.header) == null ? void 0 : _b.call(slots), createVNode(List, mergeProps({
39137
+ }, [(_c = slots.header) == null ? void 0 : _c.call(slots), createVNode(List, mergeProps({
39123
39138
  "ref": listRef
39124
39139
  }, unref(listProps), {
39125
39140
  "className": ns.be("dropdown", "list"),
@@ -39131,7 +39146,7 @@ var ElSelectMenu = defineComponent({
39131
39146
  "onKeydown": onKeydown
39132
39147
  }), {
39133
39148
  default: (props2) => createVNode(Item, props2, null)
39134
- }), (_c = slots.footer) == null ? void 0 : _c.call(slots)]);
39149
+ }), (_d = slots.footer) == null ? void 0 : _d.call(slots)]);
39135
39150
  };
39136
39151
  }
39137
39152
  });
@@ -39428,6 +39443,8 @@ const useSelect$1 = (props, emit) => {
39428
39443
  const toggleMenu = () => {
39429
39444
  if (selectDisabled.value)
39430
39445
  return;
39446
+ if (props.filterable && props.remote && isFunction$1(props.remoteMethod))
39447
+ return;
39431
39448
  if (states.menuVisibleOnFocus) {
39432
39449
  states.menuVisibleOnFocus = false;
39433
39450
  } else {
@@ -39435,6 +39452,9 @@ const useSelect$1 = (props, emit) => {
39435
39452
  }
39436
39453
  };
39437
39454
  const onInputChange = () => {
39455
+ if (states.inputValue.length > 0 && !expanded.value) {
39456
+ expanded.value = true;
39457
+ }
39438
39458
  createNewOption(states.inputValue);
39439
39459
  handleQueryChange(states.inputValue);
39440
39460
  };
@@ -39672,9 +39692,6 @@ const useSelect$1 = (props, emit) => {
39672
39692
  };
39673
39693
  const onInput = (event) => {
39674
39694
  states.inputValue = event.target.value;
39675
- if (states.inputValue.length > 0 && !expanded.value) {
39676
- expanded.value = true;
39677
- }
39678
39695
  if (props.remote) {
39679
39696
  debouncedOnInputChange();
39680
39697
  } else {
@@ -39932,7 +39949,7 @@ const _sfc_main$G = defineComponent({
39932
39949
  };
39933
39950
  }
39934
39951
  });
39935
- const _hoisted_1$i = ["id", "autocomplete", "aria-expanded", "aria-label", "disabled", "readonly", "name", "unselectable"];
39952
+ const _hoisted_1$i = ["id", "autocomplete", "aria-expanded", "aria-label", "disabled", "readonly", "name"];
39936
39953
  const _hoisted_2$c = ["textContent"];
39937
39954
  function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
39938
39955
  const _component_el_tag = resolveComponent("el-tag");
@@ -40101,7 +40118,6 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40101
40118
  spellcheck: "false",
40102
40119
  type: "text",
40103
40120
  name: _ctx.name,
40104
- unselectable: _ctx.expanded ? "on" : void 0,
40105
40121
  onFocus: _cache[1] || (_cache[1] = (...args) => _ctx.handleFocus && _ctx.handleFocus(...args)),
40106
40122
  onBlur: _cache[2] || (_cache[2] = (...args) => _ctx.handleBlur && _ctx.handleBlur(...args)),
40107
40123
  onInput: _cache[3] || (_cache[3] = (...args) => _ctx.onInput && _ctx.onInput(...args)),
@@ -40113,7 +40129,7 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40113
40129
  _cache[8] || (_cache[8] = withKeys(withModifiers(($event) => _ctx.onKeyboardNavigate("forward"), ["stop", "prevent"]), ["down"])),
40114
40130
  _cache[9] || (_cache[9] = withKeys(withModifiers((...args) => _ctx.onKeyboardSelect && _ctx.onKeyboardSelect(...args), ["stop", "prevent"]), ["enter"])),
40115
40131
  _cache[10] || (_cache[10] = withKeys(withModifiers((...args) => _ctx.handleEsc && _ctx.handleEsc(...args), ["stop", "prevent"]), ["esc"])),
40116
- _cache[11] || (_cache[11] = withKeys(withModifiers((...args) => _ctx.handleDel && _ctx.handleDel(...args), ["stop"]), ["delete"]))
40132
+ _cache[11] || (_cache[11] = withKeys(withModifiers((...args) => _ctx.handleDel && _ctx.handleDel(...args), ["stop", "prevent"]), ["delete"]))
40117
40133
  ],
40118
40134
  onClick: _cache[12] || (_cache[12] = withModifiers((...args) => _ctx.toggleMenu && _ctx.toggleMenu(...args), ["stop"]))
40119
40135
  }, null, 46, _hoisted_1$i), [
@@ -40186,13 +40202,6 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40186
40202
  default: withCtx((scope) => [
40187
40203
  renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(scope)))
40188
40204
  ]),
40189
- empty: withCtx(() => [
40190
- renderSlot(_ctx.$slots, "empty", {}, () => [
40191
- createElementVNode("p", {
40192
- class: normalizeClass(_ctx.nsSelect.be("dropdown", "empty"))
40193
- }, toDisplayString(_ctx.emptyText ? _ctx.emptyText : ""), 3)
40194
- ])
40195
- ]),
40196
40205
  _: 2
40197
40206
  }, [
40198
40207
  _ctx.$slots.header ? {
@@ -40205,6 +40214,27 @@ function _sfc_render$5(_ctx, _cache, $props, $setup, $data, $options) {
40205
40214
  ], 2)
40206
40215
  ])
40207
40216
  } : void 0,
40217
+ _ctx.$slots.loading && _ctx.loading ? {
40218
+ name: "loading",
40219
+ fn: withCtx(() => [
40220
+ createElementVNode("div", {
40221
+ class: normalizeClass(_ctx.nsSelect.be("dropdown", "loading"))
40222
+ }, [
40223
+ renderSlot(_ctx.$slots, "loading")
40224
+ ], 2)
40225
+ ])
40226
+ } : _ctx.loading || _ctx.filteredOptions.length === 0 ? {
40227
+ name: "empty",
40228
+ fn: withCtx(() => [
40229
+ createElementVNode("div", {
40230
+ class: normalizeClass(_ctx.nsSelect.be("dropdown", "empty"))
40231
+ }, [
40232
+ renderSlot(_ctx.$slots, "empty", {}, () => [
40233
+ createElementVNode("span", null, toDisplayString(_ctx.emptyText), 1)
40234
+ ])
40235
+ ], 2)
40236
+ ])
40237
+ } : void 0,
40208
40238
  _ctx.$slots.footer ? {
40209
40239
  name: "footer",
40210
40240
  fn: withCtx(() => [