element-plus 2.2.13 → 2.2.14

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 (343) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +292 -170
  4. package/dist/index.full.min.js +14 -14
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +15 -15
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +293 -171
  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/carousel/index.d.ts +1 -1
  234. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  235. package/es/components/cascader/src/index.mjs +9 -3
  236. package/es/components/cascader/src/index.mjs.map +1 -1
  237. package/es/components/color-picker/src/index.mjs +2 -2
  238. package/es/components/color-picker/src/index.mjs.map +1 -1
  239. package/es/components/dialog/src/use-dialog.mjs +1 -1
  240. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  241. package/es/components/menu/src/menu.mjs +39 -17
  242. package/es/components/menu/src/menu.mjs.map +1 -1
  243. package/es/components/pagination/index.d.ts +6 -0
  244. package/es/components/pagination/src/components/next.d.ts +6 -0
  245. package/es/components/pagination/src/components/next.mjs +4 -0
  246. package/es/components/pagination/src/components/next.mjs.map +1 -1
  247. package/es/components/pagination/src/components/next.vue.d.ts +18 -1
  248. package/es/components/pagination/src/components/next2.mjs +2 -3
  249. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  250. package/es/components/pagination/src/components/prev.d.ts +6 -0
  251. package/es/components/pagination/src/components/prev.mjs +4 -0
  252. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  253. package/es/components/pagination/src/components/prev.vue.d.ts +18 -1
  254. package/es/components/pagination/src/components/prev2.mjs +2 -3
  255. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  256. package/es/components/pagination/src/pagination.d.ts +8 -0
  257. package/es/components/pagination/src/pagination.mjs +12 -0
  258. package/es/components/pagination/src/pagination.mjs.map +1 -1
  259. package/es/components/popover/src/popover2.mjs +1 -1
  260. package/es/components/popover/src/popover2.mjs.map +1 -1
  261. package/es/components/select/src/useOption.mjs +2 -2
  262. package/es/components/select/src/useOption.mjs.map +1 -1
  263. package/es/components/select/src/useSelect.mjs +2 -2
  264. package/es/components/select/src/useSelect.mjs.map +1 -1
  265. package/es/components/slider/src/composables/use-marks.mjs +1 -1
  266. package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
  267. package/es/components/slot/src/only-child.mjs +3 -1
  268. package/es/components/slot/src/only-child.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/table/src/table/style-helper.mjs +3 -3
  272. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  273. package/es/components/table/src/table-body/render-helper.mjs +1 -1
  274. package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
  275. package/es/components/tree/src/model/node.mjs +3 -3
  276. package/es/components/tree/src/model/node.mjs.map +1 -1
  277. package/es/components/virtual-list/src/builders/build-list.mjs +3 -3
  278. package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
  279. package/es/hooks/use-id/index.mjs +4 -1
  280. package/es/hooks/use-id/index.mjs.map +1 -1
  281. package/es/version.d.ts +1 -1
  282. package/es/version.mjs +1 -1
  283. package/es/version.mjs.map +1 -1
  284. package/lib/components/carousel/index.d.ts +1 -1
  285. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  286. package/lib/components/cascader/src/index.js +9 -3
  287. package/lib/components/cascader/src/index.js.map +1 -1
  288. package/lib/components/color-picker/src/index.js +2 -2
  289. package/lib/components/color-picker/src/index.js.map +1 -1
  290. package/lib/components/dialog/src/use-dialog.js +1 -1
  291. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  292. package/lib/components/menu/src/menu.js +39 -17
  293. package/lib/components/menu/src/menu.js.map +1 -1
  294. package/lib/components/pagination/index.d.ts +6 -0
  295. package/lib/components/pagination/src/components/next.d.ts +6 -0
  296. package/lib/components/pagination/src/components/next.js +4 -0
  297. package/lib/components/pagination/src/components/next.js.map +1 -1
  298. package/lib/components/pagination/src/components/next.vue.d.ts +18 -1
  299. package/lib/components/pagination/src/components/next2.js +1 -2
  300. package/lib/components/pagination/src/components/next2.js.map +1 -1
  301. package/lib/components/pagination/src/components/prev.d.ts +6 -0
  302. package/lib/components/pagination/src/components/prev.js +4 -0
  303. package/lib/components/pagination/src/components/prev.js.map +1 -1
  304. package/lib/components/pagination/src/components/prev.vue.d.ts +18 -1
  305. package/lib/components/pagination/src/components/prev2.js +1 -2
  306. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  307. package/lib/components/pagination/src/pagination.d.ts +8 -0
  308. package/lib/components/pagination/src/pagination.js +12 -0
  309. package/lib/components/pagination/src/pagination.js.map +1 -1
  310. package/lib/components/popover/src/popover2.js +1 -1
  311. package/lib/components/popover/src/popover2.js.map +1 -1
  312. package/lib/components/select/src/useOption.js +1 -1
  313. package/lib/components/select/src/useOption.js.map +1 -1
  314. package/lib/components/select/src/useSelect.js +1 -1
  315. package/lib/components/select/src/useSelect.js.map +1 -1
  316. package/lib/components/slider/src/composables/use-marks.js +1 -1
  317. package/lib/components/slider/src/composables/use-marks.js.map +1 -1
  318. package/lib/components/slot/src/only-child.js +3 -1
  319. package/lib/components/slot/src/only-child.js.map +1 -1
  320. package/lib/components/switch/src/switch2.js +2 -1
  321. package/lib/components/switch/src/switch2.js.map +1 -1
  322. package/lib/components/table/src/table/style-helper.js +3 -3
  323. package/lib/components/table/src/table/style-helper.js.map +1 -1
  324. package/lib/components/table/src/table-body/render-helper.js +1 -1
  325. package/lib/components/table/src/table-body/render-helper.js.map +1 -1
  326. package/lib/components/tree/src/model/node.js +3 -3
  327. package/lib/components/tree/src/model/node.js.map +1 -1
  328. package/lib/components/virtual-list/src/builders/build-list.js +2 -2
  329. package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
  330. package/lib/hooks/use-id/index.js +4 -1
  331. package/lib/hooks/use-id/index.js.map +1 -1
  332. package/lib/version.d.ts +1 -1
  333. package/lib/version.js +1 -1
  334. package/lib/version.js.map +1 -1
  335. package/package.json +3 -3
  336. package/tags.json +1 -1
  337. package/theme-chalk/el-input.css +1 -1
  338. package/theme-chalk/el-select-v2.css +1 -1
  339. package/theme-chalk/el-select.css +1 -1
  340. package/theme-chalk/index.css +1 -1
  341. package/theme-chalk/src/input.scss +1 -0
  342. package/theme-chalk/src/select/common.scss +3 -5
  343. package/web-types.json +1 -1
@@ -1,6 +1,6 @@
1
- /*! Element Plus v2.2.13 */
1
+ /*! Element Plus v2.2.14 */
2
2
 
3
- import { getCurrentScope, onScopeDispose, readonly, shallowRef, watchEffect, ref, watch, unref, 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';
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
 
5
5
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
6
6
 
@@ -198,7 +198,7 @@ function after(n, func) {
198
198
  };
199
199
  }
200
200
 
201
- function identity(value) {
201
+ function identity$1(value) {
202
202
  return value;
203
203
  }
204
204
 
@@ -268,7 +268,7 @@ var WeakMap = getNative(root, "WeakMap");
268
268
 
269
269
  var metaMap = WeakMap && new WeakMap();
270
270
 
271
- var baseSetData = !metaMap ? identity : function(func, data) {
271
+ var baseSetData = !metaMap ? identity$1 : function(func, data) {
272
272
  metaMap.set(func, data);
273
273
  return func;
274
274
  };
@@ -537,7 +537,7 @@ var defineProperty = function() {
537
537
  }
538
538
  }();
539
539
 
540
- var baseSetToString = !defineProperty ? identity : function(func, string) {
540
+ var baseSetToString = !defineProperty ? identity$1 : function(func, string) {
541
541
  return defineProperty(func, "toString", {
542
542
  "configurable": true,
543
543
  "enumerable": false,
@@ -953,7 +953,7 @@ function overRest(func, start, transform) {
953
953
  }
954
954
 
955
955
  function baseRest(func, start) {
956
- return setToString(overRest(func, start, identity), func + "");
956
+ return setToString(overRest(func, start, identity$1), func + "");
957
957
  }
958
958
 
959
959
  var MAX_SAFE_INTEGER$4 = 9007199254740991;
@@ -2863,7 +2863,7 @@ function baseIteratee(value) {
2863
2863
  return value;
2864
2864
  }
2865
2865
  if (value == null) {
2866
- return identity;
2866
+ return identity$1;
2867
2867
  }
2868
2868
  if (typeof value == "object") {
2869
2869
  return isArray$1(value) ? baseMatchesProperty(value[0], value[1]) : baseMatches(value);
@@ -3368,7 +3368,7 @@ function dropWhile(array, predicate) {
3368
3368
  }
3369
3369
 
3370
3370
  function castFunction(value) {
3371
- return typeof value == "function" ? value : identity;
3371
+ return typeof value == "function" ? value : identity$1;
3372
3372
  }
3373
3373
 
3374
3374
  function forEach(collection, iteratee) {
@@ -3931,7 +3931,7 @@ var invert = createInverter(function(result, value, key) {
3931
3931
  value = nativeObjectToString$1.call(value);
3932
3932
  }
3933
3933
  result[value] = key;
3934
- }, constant(identity));
3934
+ }, constant(identity$1));
3935
3935
 
3936
3936
  var objectProto$4 = Object.prototype;
3937
3937
  var hasOwnProperty$5 = objectProto$4.hasOwnProperty;
@@ -4201,7 +4201,7 @@ function baseExtremum(array, iteratee, comparator) {
4201
4201
  }
4202
4202
 
4203
4203
  function max$3(array) {
4204
- return array && array.length ? baseExtremum(array, identity, baseGt) : void 0;
4204
+ return array && array.length ? baseExtremum(array, identity$1, baseGt) : void 0;
4205
4205
  }
4206
4206
 
4207
4207
  function maxBy(array, iteratee) {
@@ -4226,7 +4226,7 @@ function baseMean(array, iteratee) {
4226
4226
  }
4227
4227
 
4228
4228
  function mean(array) {
4229
- return baseMean(array, identity);
4229
+ return baseMean(array, identity$1);
4230
4230
  }
4231
4231
 
4232
4232
  function meanBy(array, iteratee) {
@@ -4250,7 +4250,7 @@ var methodOf = baseRest(function(object, args) {
4250
4250
  });
4251
4251
 
4252
4252
  function min$3(array) {
4253
- return array && array.length ? baseExtremum(array, identity, baseLt) : void 0;
4253
+ return array && array.length ? baseExtremum(array, identity$1, baseLt) : void 0;
4254
4254
  }
4255
4255
 
4256
4256
  function minBy(array, iteratee) {
@@ -4497,7 +4497,7 @@ function baseOrderBy(collection, iteratees, orders) {
4497
4497
  return iteratee;
4498
4498
  });
4499
4499
  } else {
4500
- iteratees = [identity];
4500
+ iteratees = [identity$1];
4501
4501
  }
4502
4502
  var index = -1;
4503
4503
  iteratees = arrayMap(iteratees, baseUnary(baseIteratee));
@@ -5152,7 +5152,7 @@ function baseSortedIndex(array, value, retHighest) {
5152
5152
  }
5153
5153
  return high;
5154
5154
  }
5155
- return baseSortedIndexBy(array, value, identity, retHighest);
5155
+ return baseSortedIndexBy(array, value, identity$1, retHighest);
5156
5156
  }
5157
5157
 
5158
5158
  function sortedIndex(array, value) {
@@ -5276,7 +5276,7 @@ var subtract = createMathOperation(function(minuend, subtrahend) {
5276
5276
  }, 0);
5277
5277
 
5278
5278
  function sum$1(array) {
5279
- return array && array.length ? baseSum(array, identity) : 0;
5279
+ return array && array.length ? baseSum(array, identity$1) : 0;
5280
5280
  }
5281
5281
 
5282
5282
  function sumBy(array, iteratee) {
@@ -6203,7 +6203,7 @@ var util = {
6203
6203
  defaultTo,
6204
6204
  flow,
6205
6205
  flowRight,
6206
- identity,
6206
+ identity: identity$1,
6207
6207
  iteratee,
6208
6208
  matches,
6209
6209
  matchesProperty,
@@ -6522,7 +6522,7 @@ lodash.gte = lang.gte;
6522
6522
  lodash.has = object.has;
6523
6523
  lodash.hasIn = object.hasIn;
6524
6524
  lodash.head = array.head;
6525
- lodash.identity = identity;
6525
+ lodash.identity = identity$1;
6526
6526
  lodash.includes = collection.includes;
6527
6527
  lodash.indexOf = array.indexOf;
6528
6528
  lodash.inRange = number.inRange;
@@ -6691,7 +6691,7 @@ arrayEach(["initial", "tail"], function(methodName, index) {
6691
6691
  };
6692
6692
  });
6693
6693
  LazyWrapper.prototype.compact = function() {
6694
- return this.filter(identity);
6694
+ return this.filter(identity$1);
6695
6695
  };
6696
6696
  LazyWrapper.prototype.find = function(predicate) {
6697
6697
  return this.filter(predicate).head();
@@ -6887,44 +6887,36 @@ const whenMouse = (handler) => {
6887
6887
  return (e) => e.pointerType === "mouse" ? handler(e) : void 0;
6888
6888
  };
6889
6889
 
6890
- var __defProp$8 = Object.defineProperty;
6891
- var __defProps$5 = Object.defineProperties;
6892
- var __getOwnPropDescs$5 = Object.getOwnPropertyDescriptors;
6893
- var __getOwnPropSymbols$a = Object.getOwnPropertySymbols;
6894
- var __hasOwnProp$a = Object.prototype.hasOwnProperty;
6895
- var __propIsEnum$a = Object.prototype.propertyIsEnumerable;
6896
- var __defNormalProp$8 = (obj, key, value) => key in obj ? __defProp$8(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6897
- var __spreadValues$8 = (a, b) => {
6890
+ var __defProp$9 = Object.defineProperty;
6891
+ var __defProps$6 = Object.defineProperties;
6892
+ var __getOwnPropDescs$6 = Object.getOwnPropertyDescriptors;
6893
+ var __getOwnPropSymbols$b = Object.getOwnPropertySymbols;
6894
+ var __hasOwnProp$b = Object.prototype.hasOwnProperty;
6895
+ var __propIsEnum$b = Object.prototype.propertyIsEnumerable;
6896
+ var __defNormalProp$9 = (obj, key, value) => key in obj ? __defProp$9(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
6897
+ var __spreadValues$9 = (a, b) => {
6898
6898
  for (var prop in b || (b = {}))
6899
- if (__hasOwnProp$a.call(b, prop))
6900
- __defNormalProp$8(a, prop, b[prop]);
6901
- if (__getOwnPropSymbols$a)
6902
- for (var prop of __getOwnPropSymbols$a(b)) {
6903
- if (__propIsEnum$a.call(b, prop))
6904
- __defNormalProp$8(a, prop, b[prop]);
6899
+ if (__hasOwnProp$b.call(b, prop))
6900
+ __defNormalProp$9(a, prop, b[prop]);
6901
+ if (__getOwnPropSymbols$b)
6902
+ for (var prop of __getOwnPropSymbols$b(b)) {
6903
+ if (__propIsEnum$b.call(b, prop))
6904
+ __defNormalProp$9(a, prop, b[prop]);
6905
6905
  }
6906
6906
  return a;
6907
6907
  };
6908
- var __spreadProps$5 = (a, b) => __defProps$5(a, __getOwnPropDescs$5(b));
6908
+ var __spreadProps$6 = (a, b) => __defProps$6(a, __getOwnPropDescs$6(b));
6909
6909
  function computedEager(fn, options) {
6910
6910
  var _a;
6911
6911
  const result = shallowRef();
6912
6912
  watchEffect(() => {
6913
6913
  result.value = fn();
6914
- }, __spreadProps$5(__spreadValues$8({}, options), {
6914
+ }, __spreadProps$6(__spreadValues$9({}, options), {
6915
6915
  flush: (_a = options == null ? void 0 : options.flush) != null ? _a : "sync"
6916
6916
  }));
6917
6917
  return readonly(result);
6918
6918
  }
6919
6919
 
6920
- function tryOnScopeDispose(fn) {
6921
- if (getCurrentScope()) {
6922
- onScopeDispose(fn);
6923
- return true;
6924
- }
6925
- return false;
6926
- }
6927
-
6928
6920
  var _a;
6929
6921
  const isClient = typeof window !== "undefined";
6930
6922
  const isDef = (val) => typeof val !== "undefined";
@@ -6935,6 +6927,10 @@ const noop = () => {
6935
6927
  };
6936
6928
  isClient && ((_a = window == null ? void 0 : window.navigator) == null ? void 0 : _a.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
6937
6929
 
6930
+ function resolveUnref(r) {
6931
+ return typeof r === "function" ? r() : unref(r);
6932
+ }
6933
+
6938
6934
  function createFilterWrapper(filter, fn) {
6939
6935
  function wrapper(...args) {
6940
6936
  filter(() => fn.apply(this, args), { fn, thisArg: this, args });
@@ -6945,8 +6941,8 @@ function debounceFilter(ms, options = {}) {
6945
6941
  let timer;
6946
6942
  let maxTimer;
6947
6943
  const filter = (invoke) => {
6948
- const duration = unref(ms);
6949
- const maxDuration = unref(options.maxWait);
6944
+ const duration = resolveUnref(ms);
6945
+ const maxDuration = resolveUnref(options.maxWait);
6950
6946
  if (timer)
6951
6947
  clearTimeout(timer);
6952
6948
  if (duration <= 0 || maxDuration !== void 0 && maxDuration <= 0) {
@@ -6984,7 +6980,7 @@ function throttleFilter(ms, trailing = true, leading = true) {
6984
6980
  }
6985
6981
  };
6986
6982
  const filter = (invoke) => {
6987
- const duration = unref(ms);
6983
+ const duration = resolveUnref(ms);
6988
6984
  const elapsed = Date.now() - lastExec;
6989
6985
  clear();
6990
6986
  if (duration <= 0) {
@@ -7008,6 +7004,17 @@ function throttleFilter(ms, trailing = true, leading = true) {
7008
7004
  };
7009
7005
  return filter;
7010
7006
  }
7007
+ function identity(arg) {
7008
+ return arg;
7009
+ }
7010
+
7011
+ function tryOnScopeDispose(fn) {
7012
+ if (getCurrentScope()) {
7013
+ onScopeDispose(fn);
7014
+ return true;
7015
+ }
7016
+ return false;
7017
+ }
7011
7018
 
7012
7019
  function useDebounceFn(fn, ms = 200, options = {}) {
7013
7020
  return createFilterWrapper(debounceFilter(ms, options), fn);
@@ -7024,7 +7031,7 @@ function refDebounced(value, ms = 200, options = {}) {
7024
7031
  return debounced;
7025
7032
  }
7026
7033
 
7027
- function useThrottleFn(fn, ms = 200, trailing = true, leading = true) {
7034
+ function useThrottleFn(fn, ms = 200, trailing = false, leading = true) {
7028
7035
  return createFilterWrapper(throttleFilter(ms, trailing, leading), fn);
7029
7036
  }
7030
7037
 
@@ -7060,7 +7067,7 @@ function useTimeoutFn(cb, interval, options = {}) {
7060
7067
  isPending.value = false;
7061
7068
  timer = null;
7062
7069
  cb(...args);
7063
- }, unref(interval));
7070
+ }, resolveUnref(interval));
7064
7071
  }
7065
7072
  if (immediate) {
7066
7073
  isPending.value = true;
@@ -7077,7 +7084,7 @@ function useTimeoutFn(cb, interval, options = {}) {
7077
7084
 
7078
7085
  function unrefElement(elRef) {
7079
7086
  var _a;
7080
- const plain = unref(elRef);
7087
+ const plain = resolveUnref(elRef);
7081
7088
  return (_a = plain == null ? void 0 : plain.$el) != null ? _a : plain;
7082
7089
  }
7083
7090
 
@@ -7117,7 +7124,7 @@ function useEventListener(...args) {
7117
7124
  }
7118
7125
 
7119
7126
  function onClickOutside(target, handler, options = {}) {
7120
- const { window = defaultWindow, ignore, capture = true } = options;
7127
+ const { window = defaultWindow, ignore, capture = true, detectIframe = false } = options;
7121
7128
  if (!window)
7122
7129
  return;
7123
7130
  const shouldListen = ref(true);
@@ -7149,12 +7156,26 @@ function onClickOutside(target, handler, options = {}) {
7149
7156
  e.composedPath = () => path;
7150
7157
  fallback = window.setTimeout(() => listener(e), 50);
7151
7158
  }
7152
- }, { passive: true })
7153
- ];
7159
+ }, { passive: true }),
7160
+ detectIframe && useEventListener(window, "blur", (event) => {
7161
+ var _a;
7162
+ const el = unrefElement(target);
7163
+ if (((_a = document.activeElement) == null ? void 0 : _a.tagName) === "IFRAME" && !(el == null ? void 0 : el.contains(document.activeElement)))
7164
+ handler(event);
7165
+ })
7166
+ ].filter(Boolean);
7154
7167
  const stop = () => cleanup.forEach((fn) => fn());
7155
7168
  return stop;
7156
7169
  }
7157
7170
 
7171
+ function useSupported(callback, sync = false) {
7172
+ const isSupported = ref();
7173
+ const update = () => isSupported.value = Boolean(callback());
7174
+ update();
7175
+ tryOnMounted(update, sync);
7176
+ return isSupported;
7177
+ }
7178
+
7158
7179
  const _global = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
7159
7180
  const globalKey = "__vueuse_ssr_handlers__";
7160
7181
  _global[globalKey] = _global[globalKey] || {};
@@ -7170,17 +7191,17 @@ function useDocumentVisibility({ document = defaultDocument } = {}) {
7170
7191
  return visibility;
7171
7192
  }
7172
7193
 
7173
- var __getOwnPropSymbols$d = Object.getOwnPropertySymbols;
7174
- var __hasOwnProp$d = Object.prototype.hasOwnProperty;
7175
- var __propIsEnum$d = Object.prototype.propertyIsEnumerable;
7194
+ var __getOwnPropSymbols$f = Object.getOwnPropertySymbols;
7195
+ var __hasOwnProp$f = Object.prototype.hasOwnProperty;
7196
+ var __propIsEnum$f = Object.prototype.propertyIsEnumerable;
7176
7197
  var __objRest$2 = (source, exclude) => {
7177
7198
  var target = {};
7178
7199
  for (var prop in source)
7179
- if (__hasOwnProp$d.call(source, prop) && exclude.indexOf(prop) < 0)
7200
+ if (__hasOwnProp$f.call(source, prop) && exclude.indexOf(prop) < 0)
7180
7201
  target[prop] = source[prop];
7181
- if (source != null && __getOwnPropSymbols$d)
7182
- for (var prop of __getOwnPropSymbols$d(source)) {
7183
- if (exclude.indexOf(prop) < 0 && __propIsEnum$d.call(source, prop))
7202
+ if (source != null && __getOwnPropSymbols$f)
7203
+ for (var prop of __getOwnPropSymbols$f(source)) {
7204
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$f.call(source, prop))
7184
7205
  target[prop] = source[prop];
7185
7206
  }
7186
7207
  return target;
@@ -7188,7 +7209,7 @@ var __objRest$2 = (source, exclude) => {
7188
7209
  function useResizeObserver(target, callback, options = {}) {
7189
7210
  const _a = options, { window = defaultWindow } = _a, observerOptions = __objRest$2(_a, ["window"]);
7190
7211
  let observer;
7191
- const isSupported = window && "ResizeObserver" in window;
7212
+ const isSupported = useSupported(() => window && "ResizeObserver" in window);
7192
7213
  const cleanup = () => {
7193
7214
  if (observer) {
7194
7215
  observer.disconnect();
@@ -7197,7 +7218,7 @@ function useResizeObserver(target, callback, options = {}) {
7197
7218
  };
7198
7219
  const stopWatch = watch(() => unrefElement(target), (el) => {
7199
7220
  cleanup();
7200
- if (isSupported && window && el) {
7221
+ if (isSupported.value && window && el) {
7201
7222
  observer = new ResizeObserver(callback);
7202
7223
  observer.observe(el, observerOptions);
7203
7224
  }
@@ -7285,8 +7306,54 @@ var SwipeDirection;
7285
7306
  SwipeDirection2["NONE"] = "NONE";
7286
7307
  })(SwipeDirection || (SwipeDirection = {}));
7287
7308
 
7309
+ var __defProp = Object.defineProperty;
7310
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7311
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7312
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7313
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7314
+ var __spreadValues = (a, b) => {
7315
+ for (var prop in b || (b = {}))
7316
+ if (__hasOwnProp.call(b, prop))
7317
+ __defNormalProp(a, prop, b[prop]);
7318
+ if (__getOwnPropSymbols)
7319
+ for (var prop of __getOwnPropSymbols(b)) {
7320
+ if (__propIsEnum.call(b, prop))
7321
+ __defNormalProp(a, prop, b[prop]);
7322
+ }
7323
+ return a;
7324
+ };
7325
+ const _TransitionPresets = {
7326
+ easeInSine: [0.12, 0, 0.39, 0],
7327
+ easeOutSine: [0.61, 1, 0.88, 1],
7328
+ easeInOutSine: [0.37, 0, 0.63, 1],
7329
+ easeInQuad: [0.11, 0, 0.5, 0],
7330
+ easeOutQuad: [0.5, 1, 0.89, 1],
7331
+ easeInOutQuad: [0.45, 0, 0.55, 1],
7332
+ easeInCubic: [0.32, 0, 0.67, 0],
7333
+ easeOutCubic: [0.33, 1, 0.68, 1],
7334
+ easeInOutCubic: [0.65, 0, 0.35, 1],
7335
+ easeInQuart: [0.5, 0, 0.75, 0],
7336
+ easeOutQuart: [0.25, 1, 0.5, 1],
7337
+ easeInOutQuart: [0.76, 0, 0.24, 1],
7338
+ easeInQuint: [0.64, 0, 0.78, 0],
7339
+ easeOutQuint: [0.22, 1, 0.36, 1],
7340
+ easeInOutQuint: [0.83, 0, 0.17, 1],
7341
+ easeInExpo: [0.7, 0, 0.84, 0],
7342
+ easeOutExpo: [0.16, 1, 0.3, 1],
7343
+ easeInOutExpo: [0.87, 0, 0.13, 1],
7344
+ easeInCirc: [0.55, 0, 1, 0.45],
7345
+ easeOutCirc: [0, 0.55, 0.45, 1],
7346
+ easeInOutCirc: [0.85, 0, 0.15, 1],
7347
+ easeInBack: [0.36, 0, 0.66, -0.56],
7348
+ easeOutBack: [0.34, 1.56, 0.64, 1],
7349
+ easeInOutBack: [0.68, -0.6, 0.32, 1.6]
7350
+ };
7351
+ __spreadValues({
7352
+ linear: identity
7353
+ }, _TransitionPresets);
7354
+
7288
7355
  function useVModel(props, key, emit, options = {}) {
7289
- var _a;
7356
+ var _a, _b, _c;
7290
7357
  const {
7291
7358
  passive = false,
7292
7359
  eventName,
@@ -7294,7 +7361,7 @@ function useVModel(props, key, emit, options = {}) {
7294
7361
  defaultValue
7295
7362
  } = options;
7296
7363
  const vm = getCurrentInstance();
7297
- const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm));
7364
+ const _emit = emit || (vm == null ? void 0 : vm.emit) || ((_a = vm == null ? void 0 : vm.$emit) == null ? void 0 : _a.bind(vm)) || ((_c = (_b = vm == null ? void 0 : vm.proxy) == null ? void 0 : _b.$emit) == null ? void 0 : _c.bind(vm == null ? void 0 : vm.proxy));
7298
7365
  let event = eventName;
7299
7366
  if (!key) {
7300
7367
  {
@@ -7338,7 +7405,13 @@ function useWindowFocus({ window = defaultWindow } = {}) {
7338
7405
  return focused;
7339
7406
  }
7340
7407
 
7341
- function useWindowSize({ window = defaultWindow, initialWidth = Infinity, initialHeight = Infinity } = {}) {
7408
+ function useWindowSize(options = {}) {
7409
+ const {
7410
+ window = defaultWindow,
7411
+ initialWidth = Infinity,
7412
+ initialHeight = Infinity,
7413
+ listenOrientation = true
7414
+ } = options;
7342
7415
  const width = ref(initialWidth);
7343
7416
  const height = ref(initialHeight);
7344
7417
  const update = () => {
@@ -7350,6 +7423,8 @@ function useWindowSize({ window = defaultWindow, initialWidth = Infinity, initia
7350
7423
  update();
7351
7424
  tryOnMounted(update);
7352
7425
  useEventListener("resize", update, { passive: true });
7426
+ if (listenOrientation)
7427
+ useEventListener("orientationchange", update, { passive: true });
7353
7428
  return { width, height };
7354
7429
  }
7355
7430
 
@@ -8835,6 +8910,72 @@ const useFocus = (el) => {
8835
8910
  };
8836
8911
  };
8837
8912
 
8913
+ const defaultNamespace = "el";
8914
+ const statePrefix = "is-";
8915
+ const _bem = (namespace, block, blockSuffix, element, modifier) => {
8916
+ let cls = `${namespace}-${block}`;
8917
+ if (blockSuffix) {
8918
+ cls += `-${blockSuffix}`;
8919
+ }
8920
+ if (element) {
8921
+ cls += `__${element}`;
8922
+ }
8923
+ if (modifier) {
8924
+ cls += `--${modifier}`;
8925
+ }
8926
+ return cls;
8927
+ };
8928
+ const useNamespace = (block) => {
8929
+ const globalConfig = useGlobalConfig("namespace");
8930
+ const namespace = computed$1(() => globalConfig.value || defaultNamespace);
8931
+ const b = (blockSuffix = "") => _bem(unref(namespace), block, blockSuffix, "", "");
8932
+ const e = (element) => element ? _bem(unref(namespace), block, "", element, "") : "";
8933
+ const m = (modifier) => modifier ? _bem(unref(namespace), block, "", "", modifier) : "";
8934
+ const be = (blockSuffix, element) => blockSuffix && element ? _bem(unref(namespace), block, blockSuffix, element, "") : "";
8935
+ const em = (element, modifier) => element && modifier ? _bem(unref(namespace), block, "", element, modifier) : "";
8936
+ const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(unref(namespace), block, blockSuffix, "", modifier) : "";
8937
+ const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(unref(namespace), block, blockSuffix, element, modifier) : "";
8938
+ const is = (name, ...args) => {
8939
+ const state = args.length >= 1 ? args[0] : true;
8940
+ return name && state ? `${statePrefix}${name}` : "";
8941
+ };
8942
+ const cssVar = (object) => {
8943
+ const styles = {};
8944
+ for (const key in object) {
8945
+ if (object[key]) {
8946
+ styles[`--${namespace.value}-${key}`] = object[key];
8947
+ }
8948
+ }
8949
+ return styles;
8950
+ };
8951
+ const cssVarBlock = (object) => {
8952
+ const styles = {};
8953
+ for (const key in object) {
8954
+ if (object[key]) {
8955
+ styles[`--${namespace.value}-${block}-${key}`] = object[key];
8956
+ }
8957
+ }
8958
+ return styles;
8959
+ };
8960
+ const cssVarName = (name) => `--${namespace.value}-${name}`;
8961
+ const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
8962
+ return {
8963
+ namespace,
8964
+ b,
8965
+ e,
8966
+ m,
8967
+ be,
8968
+ em,
8969
+ bm,
8970
+ bem,
8971
+ is,
8972
+ cssVar,
8973
+ cssVarName,
8974
+ cssVarBlock,
8975
+ cssVarBlockName
8976
+ };
8977
+ };
8978
+
8838
8979
  const defaultIdInjection = {
8839
8980
  prefix: Math.floor(Math.random() * 1e4),
8840
8981
  current: 0
@@ -8842,7 +8983,8 @@ const defaultIdInjection = {
8842
8983
  const ID_INJECTION_KEY = Symbol("elIdInjection");
8843
8984
  const useId = (deterministicId) => {
8844
8985
  const idInjection = inject(ID_INJECTION_KEY, defaultIdInjection);
8845
- const idRef = computed$1(() => unref(deterministicId) || `el-id-${idInjection.prefix}-${idInjection.current++}`);
8986
+ const namespace = useGlobalConfig("namespace", defaultNamespace);
8987
+ const idRef = computed$1(() => unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
8846
8988
  return idRef;
8847
8989
  };
8848
8990
 
@@ -9283,72 +9425,6 @@ function computed(getterOrOptions, debugOptions, isSSR = false) {
9283
9425
  return cRef;
9284
9426
  }
9285
9427
 
9286
- const defaultNamespace = "el";
9287
- const statePrefix = "is-";
9288
- const _bem = (namespace, block, blockSuffix, element, modifier) => {
9289
- let cls = `${namespace}-${block}`;
9290
- if (blockSuffix) {
9291
- cls += `-${blockSuffix}`;
9292
- }
9293
- if (element) {
9294
- cls += `__${element}`;
9295
- }
9296
- if (modifier) {
9297
- cls += `--${modifier}`;
9298
- }
9299
- return cls;
9300
- };
9301
- const useNamespace = (block) => {
9302
- const globalConfig = useGlobalConfig("namespace");
9303
- const namespace = computed$1(() => globalConfig.value || defaultNamespace);
9304
- const b = (blockSuffix = "") => _bem(unref(namespace), block, blockSuffix, "", "");
9305
- const e = (element) => element ? _bem(unref(namespace), block, "", element, "") : "";
9306
- const m = (modifier) => modifier ? _bem(unref(namespace), block, "", "", modifier) : "";
9307
- const be = (blockSuffix, element) => blockSuffix && element ? _bem(unref(namespace), block, blockSuffix, element, "") : "";
9308
- const em = (element, modifier) => element && modifier ? _bem(unref(namespace), block, "", element, modifier) : "";
9309
- const bm = (blockSuffix, modifier) => blockSuffix && modifier ? _bem(unref(namespace), block, blockSuffix, "", modifier) : "";
9310
- const bem = (blockSuffix, element, modifier) => blockSuffix && element && modifier ? _bem(unref(namespace), block, blockSuffix, element, modifier) : "";
9311
- const is = (name, ...args) => {
9312
- const state = args.length >= 1 ? args[0] : true;
9313
- return name && state ? `${statePrefix}${name}` : "";
9314
- };
9315
- const cssVar = (object) => {
9316
- const styles = {};
9317
- for (const key in object) {
9318
- if (object[key]) {
9319
- styles[`--${namespace.value}-${key}`] = object[key];
9320
- }
9321
- }
9322
- return styles;
9323
- };
9324
- const cssVarBlock = (object) => {
9325
- const styles = {};
9326
- for (const key in object) {
9327
- if (object[key]) {
9328
- styles[`--${namespace.value}-${block}-${key}`] = object[key];
9329
- }
9330
- }
9331
- return styles;
9332
- };
9333
- const cssVarName = (name) => `--${namespace.value}-${name}`;
9334
- const cssVarBlockName = (name) => `--${namespace.value}-${block}-${name}`;
9335
- return {
9336
- namespace,
9337
- b,
9338
- e,
9339
- m,
9340
- be,
9341
- em,
9342
- bm,
9343
- bem,
9344
- is,
9345
- cssVar,
9346
- cssVarName,
9347
- cssVarBlock,
9348
- cssVarBlockName
9349
- };
9350
- };
9351
-
9352
9428
  const useLockscreen = (trigger) => {
9353
9429
  if (!isRef(trigger)) {
9354
9430
  throwError("[useLockscreen]", "You need to pass a ref param to this function");
@@ -10896,7 +10972,7 @@ function useCursor(input) {
10896
10972
  return [recordCursor, setCursor];
10897
10973
  }
10898
10974
 
10899
- const version$1 = "2.2.13";
10975
+ const version$1 = "2.2.14";
10900
10976
 
10901
10977
  const makeInstaller = (components = []) => {
10902
10978
  const install = (app, options) => {
@@ -12387,8 +12463,9 @@ function findFirstLegitChild(node) {
12387
12463
  return null;
12388
12464
  }
12389
12465
  function wrapTextContent(s) {
12466
+ const ns = useNamespace("only-child");
12390
12467
  return createVNode("span", {
12391
- "class": "el-only-child__content"
12468
+ "class": ns.e("content")
12392
12469
  }, [s]);
12393
12470
  }
12394
12471
 
@@ -20856,9 +20933,7 @@ const _sfc_main$1B = defineComponent({
20856
20933
  updatePopperPosition();
20857
20934
  nextTick((_c = panel.value) == null ? void 0 : _c.scrollToExpandingNode);
20858
20935
  } else if (props.filterable) {
20859
- const { value } = presentText;
20860
- inputValue.value = value;
20861
- searchInputValue.value = value;
20936
+ syncPresentTextValue();
20862
20937
  }
20863
20938
  emit("visible-change", visible);
20864
20939
  }
@@ -21015,8 +21090,16 @@ const _sfc_main$1B = defineComponent({
21015
21090
  const handleClear = () => {
21016
21091
  var _a;
21017
21092
  (_a = panel.value) == null ? void 0 : _a.clearCheckedNodes();
21093
+ if (!popperVisible.value && props.filterable) {
21094
+ syncPresentTextValue();
21095
+ }
21018
21096
  togglePopperVisible(false);
21019
21097
  };
21098
+ const syncPresentTextValue = () => {
21099
+ const { value } = presentText;
21100
+ inputValue.value = value;
21101
+ searchInputValue.value = value;
21102
+ };
21020
21103
  const handleSuggestionClick = (node) => {
21021
21104
  var _a, _b;
21022
21105
  const { checked } = node;
@@ -22732,7 +22815,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22732
22815
  "stop-popper-mouse-event": false,
22733
22816
  effect: "light",
22734
22817
  trigger: "click",
22735
- transition: "el-zoom-in-top",
22818
+ transition: `${_ctx.ns.namespace.value}-zoom-in-top`,
22736
22819
  persistent: ""
22737
22820
  }, {
22738
22821
  content: withCtx(() => [
@@ -22861,7 +22944,7 @@ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22861
22944
  ], 42, _hoisted_1$J)
22862
22945
  ]),
22863
22946
  _: 1
22864
- }, 8, ["visible", "popper-class"]);
22947
+ }, 8, ["visible", "popper-class", "transition"]);
22865
22948
  }
22866
22949
  var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$s], ["__file", "index.vue"]]);
22867
22950
 
@@ -26445,9 +26528,9 @@ const useDialog = (props, targetRef) => {
26445
26528
  closed.value = false;
26446
26529
  open();
26447
26530
  rendered.value = true;
26448
- emit("open");
26449
26531
  zIndex.value = props.zIndex ? zIndex.value++ : nextZIndex();
26450
26532
  nextTick(() => {
26533
+ emit("open");
26451
26534
  if (targetRef.value) {
26452
26535
  targetRef.value.scrollTop = 0;
26453
26536
  }
@@ -31439,6 +31522,7 @@ var Menu = defineComponent({
31439
31522
  const menu = ref();
31440
31523
  const nsMenu = useNamespace("menu");
31441
31524
  const nsSubMenu = useNamespace("sub-menu");
31525
+ const sliceIndex = ref(-1);
31442
31526
  const openedMenus = ref(props.defaultOpeneds && !props.collapse ? props.defaultOpeneds.slice(0) : []);
31443
31527
  const activeIndex = ref(props.defaultActive);
31444
31528
  const items = ref({});
@@ -31512,8 +31596,42 @@ var Menu = defineComponent({
31512
31596
  activeIndex.value = val;
31513
31597
  }
31514
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;
31515
31626
  const handleResize = () => {
31516
- 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;
31517
31635
  };
31518
31636
  watch(() => props.defaultActive, (currentActive) => {
31519
31637
  if (!items.value[currentActive]) {
@@ -31598,26 +31716,13 @@ var Menu = defineComponent({
31598
31716
  return result;
31599
31717
  };
31600
31718
  return () => {
31601
- var _a, _b, _c, _d;
31719
+ var _a, _b;
31602
31720
  let slot = (_b = (_a = slots.default) == null ? void 0 : _a.call(slots)) != null ? _b : [];
31603
31721
  const vShowMore = [];
31604
31722
  if (props.mode === "horizontal" && menu.value) {
31605
- const items2 = Array.from((_d = (_c = menu.value) == null ? void 0 : _c.childNodes) != null ? _d : []).filter((item) => item.nodeName !== "#text" || item.nodeValue);
31606
31723
  const originalSlot = flattedChildren(slot);
31607
- const moreItemWidth = 64;
31608
- const paddingLeft = Number.parseInt(getComputedStyle(menu.value).paddingLeft, 10);
31609
- const paddingRight = Number.parseInt(getComputedStyle(menu.value).paddingRight, 10);
31610
- const menuWidth = menu.value.clientWidth - paddingLeft - paddingRight;
31611
- let calcWidth = 0;
31612
- let sliceIndex = 0;
31613
- items2.forEach((item, index) => {
31614
- calcWidth += item.offsetWidth || 0;
31615
- if (calcWidth <= menuWidth - moreItemWidth) {
31616
- sliceIndex = index + 1;
31617
- }
31618
- });
31619
- const slotDefault = originalSlot.slice(0, sliceIndex);
31620
- 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);
31621
31726
  if ((slotMore == null ? void 0 : slotMore.length) && props.ellipsis) {
31622
31727
  slot = slotDefault;
31623
31728
  vShowMore.push(h$1(SubMenu, {
@@ -31879,6 +31984,9 @@ const paginationPrevProps = buildProps({
31879
31984
  },
31880
31985
  prevText: {
31881
31986
  type: String
31987
+ },
31988
+ prevIcon: {
31989
+ type: iconPropType
31882
31990
  }
31883
31991
  });
31884
31992
  const paginationPrevEmits = {
@@ -31907,7 +32015,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
31907
32015
  }, [
31908
32016
  _ctx.prevText ? (openBlock(), createElementBlock("span", _hoisted_2$h, toDisplayString(_ctx.prevText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
31909
32017
  default: withCtx(() => [
31910
- createVNode(unref(arrow_left_default))
32018
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.prevIcon)))
31911
32019
  ]),
31912
32020
  _: 1
31913
32021
  }))
@@ -31929,6 +32037,9 @@ const paginationNextProps = buildProps({
31929
32037
  },
31930
32038
  nextText: {
31931
32039
  type: String
32040
+ },
32041
+ nextIcon: {
32042
+ type: iconPropType
31932
32043
  }
31933
32044
  });
31934
32045
 
@@ -31954,7 +32065,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
31954
32065
  }, [
31955
32066
  _ctx.nextText ? (openBlock(), createElementBlock("span", _hoisted_2$g, toDisplayString(_ctx.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
31956
32067
  default: withCtx(() => [
31957
- createVNode(unref(arrow_right_default))
32068
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon)))
31958
32069
  ]),
31959
32070
  _: 1
31960
32071
  }))
@@ -32004,7 +32115,7 @@ function useOption$1(props, states) {
32004
32115
  } else {
32005
32116
  const valueKey = select.props.valueKey;
32006
32117
  return arr && arr.some((item) => {
32007
- return get(item, valueKey) === get(target, valueKey);
32118
+ return toRaw$1(get(item, valueKey)) === get(target, valueKey);
32008
32119
  });
32009
32120
  }
32010
32121
  };
@@ -32618,7 +32729,7 @@ const useSelect$3 = (props, states, ctx) => {
32618
32729
  const valueKey = props.valueKey;
32619
32730
  let index = -1;
32620
32731
  arr.some((item, i) => {
32621
- if (get(item, valueKey) === get(value, valueKey)) {
32732
+ if (toRaw$1(get(item, valueKey)) === get(value, valueKey)) {
32622
32733
  index = i;
32623
32734
  return true;
32624
32735
  }
@@ -33934,10 +34045,18 @@ const paginationProps = buildProps({
33934
34045
  type: String,
33935
34046
  default: ""
33936
34047
  },
34048
+ prevIcon: {
34049
+ type: iconPropType,
34050
+ default: () => arrow_left_default
34051
+ },
33937
34052
  nextText: {
33938
34053
  type: String,
33939
34054
  default: ""
33940
34055
  },
34056
+ nextIcon: {
34057
+ type: iconPropType,
34058
+ default: () => arrow_right_default
34059
+ },
33941
34060
  small: Boolean,
33942
34061
  background: Boolean,
33943
34062
  disabled: Boolean,
@@ -34085,6 +34204,7 @@ var Pagination = defineComponent({
34085
34204
  disabled: props.disabled,
34086
34205
  currentPage: currentPageBridge.value,
34087
34206
  prevText: props.prevText,
34207
+ prevIcon: props.prevIcon,
34088
34208
  onClick: prev
34089
34209
  }),
34090
34210
  jumper: h$1(Jumper),
@@ -34100,6 +34220,7 @@ var Pagination = defineComponent({
34100
34220
  currentPage: currentPageBridge.value,
34101
34221
  pageCount: pageCountBridge.value,
34102
34222
  nextText: props.nextText,
34223
+ nextIcon: props.nextIcon,
34103
34224
  onClick: next
34104
34225
  }),
34105
34226
  sizes: h$1(Sizes, {
@@ -34390,7 +34511,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
34390
34511
  return [ns.b(), props.popperClass, { [ns.m("plain")]: !!props.content }];
34391
34512
  });
34392
34513
  const gpuAcceleration = computed$1(() => {
34393
- return props.transition === "el-fade-in-linear";
34514
+ return props.transition === `${ns.namespace.value}-fade-in-linear`;
34394
34515
  });
34395
34516
  const hide = () => {
34396
34517
  var _a;
@@ -35896,11 +36017,11 @@ const createList = ({
35896
36017
  if (layout === HORIZONTAL) {
35897
36018
  if (direction === RTL) {
35898
36019
  switch (getRTLOffsetType()) {
35899
- case "negative": {
36020
+ case RTL_OFFSET_NAG: {
35900
36021
  windowElement.scrollLeft = -scrollOffset;
35901
36022
  break;
35902
36023
  }
35903
- case "positive-ascending": {
36024
+ case RTL_OFFSET_POS_ASC: {
35904
36025
  windowElement.scrollLeft = scrollOffset;
35905
36026
  break;
35906
36027
  }
@@ -38805,7 +38926,7 @@ const useMarks = (props) => {
38805
38926
  return [];
38806
38927
  }
38807
38928
  const marksKeys = Object.keys(props.marks);
38808
- return marksKeys.map(parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
38929
+ return marksKeys.map(Number.parseFloat).sort((a, b) => a - b).filter((point) => point <= props.max && point >= props.min).map((point) => ({
38809
38930
  point,
38810
38931
  position: (point - props.min) * 100 / (props.max - props.min),
38811
38932
  mark: props.marks[point]
@@ -40285,7 +40406,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40285
40406
  input.value.checked = checked.value;
40286
40407
  });
40287
40408
  expose({
40288
- focus
40409
+ focus,
40410
+ checked
40289
40411
  });
40290
40412
  return (_ctx, _cache) => {
40291
40413
  return openBlock(), createElementBlock("div", {
@@ -43092,7 +43214,7 @@ function useRender$1(props) {
43092
43214
  }, [
43093
43215
  h$1("td", {
43094
43216
  colspan: columns.length,
43095
- class: "el-table__cell el-table__expanded-cell"
43217
+ class: `${ns.e("cell")} ${ns.e("expanded-cell")}`
43096
43218
  }, [renderExpanded({ row, $index, store, expanded })])
43097
43219
  ])
43098
43220
  ]
@@ -43555,7 +43677,7 @@ function useStyle(props, layout, store, table) {
43555
43677
  layout.updateElsHeight();
43556
43678
  }
43557
43679
  layout.updateColumnsWidth();
43558
- requestAnimationFrame(syncPostion);
43680
+ requestAnimationFrame(syncPosition);
43559
43681
  };
43560
43682
  onMounted(async () => {
43561
43683
  await nextTick();
@@ -43598,7 +43720,7 @@ function useStyle(props, layout, store, table) {
43598
43720
  const { tableWrapper } = table.refs;
43599
43721
  return !!(tableWrapper && tableWrapper.classList.contains(className));
43600
43722
  };
43601
- const syncPostion = function() {
43723
+ const syncPosition = function() {
43602
43724
  if (!table.refs.scrollBarRef)
43603
43725
  return;
43604
43726
  if (!layout.scrollX.value) {
@@ -43630,7 +43752,7 @@ function useStyle(props, layout, store, table) {
43630
43752
  if (!table.refs.scrollBarRef)
43631
43753
  return;
43632
43754
  if (table.refs.scrollBarRef.wrap$) {
43633
- useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPostion, {
43755
+ useEventListener(table.refs.scrollBarRef.wrap$, "scroll", syncPosition, {
43634
43756
  passive: true
43635
43757
  });
43636
43758
  }
@@ -48879,7 +49001,7 @@ const getChildState = (node) => {
48879
49001
  return { all, none, allWithoutDisable, half: !all && !none };
48880
49002
  };
48881
49003
  const reInitChecked = function(node) {
48882
- if (node.childNodes.length === 0)
49004
+ if (node.childNodes.length === 0 || node.loading)
48883
49005
  return;
48884
49006
  const { all, none, half } = getChildState(node.childNodes);
48885
49007
  if (all) {
@@ -49262,10 +49384,10 @@ class Node {
49262
49384
  if (this.store.lazy === true && this.store.load && !this.loaded && (!this.loading || Object.keys(defaultProps).length)) {
49263
49385
  this.loading = true;
49264
49386
  const resolve = (children) => {
49265
- this.loaded = true;
49266
- this.loading = false;
49267
49387
  this.childNodes = [];
49268
49388
  this.doCreateChildren(children, defaultProps);
49389
+ this.loaded = true;
49390
+ this.loading = false;
49269
49391
  this.updateLeafState();
49270
49392
  if (callback) {
49271
49393
  callback.call(this, children);