@element-plus/nightly 0.0.20251208 → 0.0.20251209

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 (482) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.full.js +430 -560
  3. package/dist/index.full.min.js +15 -15
  4. package/dist/index.full.min.js.map +1 -1
  5. package/dist/index.full.min.mjs +15 -15
  6. package/dist/index.full.min.mjs.map +1 -1
  7. package/dist/index.full.mjs +500 -630
  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/hi.js +1 -1
  93. package/dist/locale/hi.min.js +1 -1
  94. package/dist/locale/hi.min.mjs +1 -1
  95. package/dist/locale/hi.mjs +1 -1
  96. package/dist/locale/hr.js +1 -1
  97. package/dist/locale/hr.min.js +1 -1
  98. package/dist/locale/hr.min.mjs +1 -1
  99. package/dist/locale/hr.mjs +1 -1
  100. package/dist/locale/hu.js +1 -1
  101. package/dist/locale/hu.min.js +1 -1
  102. package/dist/locale/hu.min.mjs +1 -1
  103. package/dist/locale/hu.mjs +1 -1
  104. package/dist/locale/hy-am.js +1 -1
  105. package/dist/locale/hy-am.min.js +1 -1
  106. package/dist/locale/hy-am.min.mjs +1 -1
  107. package/dist/locale/hy-am.mjs +1 -1
  108. package/dist/locale/id.js +1 -1
  109. package/dist/locale/id.min.js +1 -1
  110. package/dist/locale/id.min.mjs +1 -1
  111. package/dist/locale/id.mjs +1 -1
  112. package/dist/locale/it.js +1 -1
  113. package/dist/locale/it.min.js +1 -1
  114. package/dist/locale/it.min.mjs +1 -1
  115. package/dist/locale/it.mjs +1 -1
  116. package/dist/locale/ja.js +1 -1
  117. package/dist/locale/ja.min.js +1 -1
  118. package/dist/locale/ja.min.mjs +1 -1
  119. package/dist/locale/ja.mjs +1 -1
  120. package/dist/locale/kk.js +1 -1
  121. package/dist/locale/kk.min.js +1 -1
  122. package/dist/locale/kk.min.mjs +1 -1
  123. package/dist/locale/kk.mjs +1 -1
  124. package/dist/locale/km.js +1 -1
  125. package/dist/locale/km.min.js +1 -1
  126. package/dist/locale/km.min.mjs +1 -1
  127. package/dist/locale/km.mjs +1 -1
  128. package/dist/locale/ko.js +1 -1
  129. package/dist/locale/ko.min.js +1 -1
  130. package/dist/locale/ko.min.mjs +1 -1
  131. package/dist/locale/ko.mjs +1 -1
  132. package/dist/locale/ku.js +1 -1
  133. package/dist/locale/ku.min.js +1 -1
  134. package/dist/locale/ku.min.mjs +1 -1
  135. package/dist/locale/ku.mjs +1 -1
  136. package/dist/locale/ky.js +1 -1
  137. package/dist/locale/ky.min.js +1 -1
  138. package/dist/locale/ky.min.mjs +1 -1
  139. package/dist/locale/ky.mjs +1 -1
  140. package/dist/locale/lo.js +1 -1
  141. package/dist/locale/lo.min.js +1 -1
  142. package/dist/locale/lo.min.mjs +1 -1
  143. package/dist/locale/lo.mjs +1 -1
  144. package/dist/locale/lt.js +1 -1
  145. package/dist/locale/lt.min.js +1 -1
  146. package/dist/locale/lt.min.mjs +1 -1
  147. package/dist/locale/lt.mjs +1 -1
  148. package/dist/locale/lv.js +1 -1
  149. package/dist/locale/lv.min.js +1 -1
  150. package/dist/locale/lv.min.mjs +1 -1
  151. package/dist/locale/lv.mjs +1 -1
  152. package/dist/locale/mg.js +1 -1
  153. package/dist/locale/mg.min.js +1 -1
  154. package/dist/locale/mg.min.mjs +1 -1
  155. package/dist/locale/mg.mjs +1 -1
  156. package/dist/locale/mn.js +1 -1
  157. package/dist/locale/mn.min.js +1 -1
  158. package/dist/locale/mn.min.mjs +1 -1
  159. package/dist/locale/mn.mjs +1 -1
  160. package/dist/locale/ms.js +1 -1
  161. package/dist/locale/ms.min.js +1 -1
  162. package/dist/locale/ms.min.mjs +1 -1
  163. package/dist/locale/ms.mjs +1 -1
  164. package/dist/locale/my.js +1 -1
  165. package/dist/locale/my.min.js +1 -1
  166. package/dist/locale/my.min.mjs +1 -1
  167. package/dist/locale/my.mjs +1 -1
  168. package/dist/locale/nb-no.js +1 -1
  169. package/dist/locale/nb-no.min.js +1 -1
  170. package/dist/locale/nb-no.min.mjs +1 -1
  171. package/dist/locale/nb-no.mjs +1 -1
  172. package/dist/locale/nl.js +1 -1
  173. package/dist/locale/nl.min.js +1 -1
  174. package/dist/locale/nl.min.mjs +1 -1
  175. package/dist/locale/nl.mjs +1 -1
  176. package/dist/locale/no.js +1 -1
  177. package/dist/locale/no.min.js +1 -1
  178. package/dist/locale/no.min.mjs +1 -1
  179. package/dist/locale/no.mjs +1 -1
  180. package/dist/locale/pa.js +1 -1
  181. package/dist/locale/pa.min.js +1 -1
  182. package/dist/locale/pa.min.mjs +1 -1
  183. package/dist/locale/pa.mjs +1 -1
  184. package/dist/locale/pl.js +1 -1
  185. package/dist/locale/pl.min.js +1 -1
  186. package/dist/locale/pl.min.mjs +1 -1
  187. package/dist/locale/pl.mjs +1 -1
  188. package/dist/locale/pt-br.js +1 -1
  189. package/dist/locale/pt-br.min.js +1 -1
  190. package/dist/locale/pt-br.min.mjs +1 -1
  191. package/dist/locale/pt-br.mjs +1 -1
  192. package/dist/locale/pt.js +1 -1
  193. package/dist/locale/pt.min.js +1 -1
  194. package/dist/locale/pt.min.mjs +1 -1
  195. package/dist/locale/pt.mjs +1 -1
  196. package/dist/locale/ro.js +1 -1
  197. package/dist/locale/ro.min.js +1 -1
  198. package/dist/locale/ro.min.mjs +1 -1
  199. package/dist/locale/ro.mjs +1 -1
  200. package/dist/locale/ru.js +1 -1
  201. package/dist/locale/ru.min.js +1 -1
  202. package/dist/locale/ru.min.mjs +1 -1
  203. package/dist/locale/ru.mjs +1 -1
  204. package/dist/locale/sk.js +1 -1
  205. package/dist/locale/sk.min.js +1 -1
  206. package/dist/locale/sk.min.mjs +1 -1
  207. package/dist/locale/sk.mjs +1 -1
  208. package/dist/locale/sl.js +1 -1
  209. package/dist/locale/sl.min.js +1 -1
  210. package/dist/locale/sl.min.mjs +1 -1
  211. package/dist/locale/sl.mjs +1 -1
  212. package/dist/locale/sr.js +1 -1
  213. package/dist/locale/sr.min.js +1 -1
  214. package/dist/locale/sr.min.mjs +1 -1
  215. package/dist/locale/sr.mjs +1 -1
  216. package/dist/locale/sv.js +1 -1
  217. package/dist/locale/sv.min.js +1 -1
  218. package/dist/locale/sv.min.mjs +1 -1
  219. package/dist/locale/sv.mjs +1 -1
  220. package/dist/locale/sw.js +1 -1
  221. package/dist/locale/sw.min.js +1 -1
  222. package/dist/locale/sw.min.mjs +1 -1
  223. package/dist/locale/sw.mjs +1 -1
  224. package/dist/locale/ta.js +1 -1
  225. package/dist/locale/ta.min.js +1 -1
  226. package/dist/locale/ta.min.mjs +1 -1
  227. package/dist/locale/ta.mjs +1 -1
  228. package/dist/locale/te.js +1 -1
  229. package/dist/locale/te.min.js +1 -1
  230. package/dist/locale/te.min.mjs +1 -1
  231. package/dist/locale/te.mjs +1 -1
  232. package/dist/locale/th.js +1 -1
  233. package/dist/locale/th.min.js +1 -1
  234. package/dist/locale/th.min.mjs +1 -1
  235. package/dist/locale/th.mjs +1 -1
  236. package/dist/locale/tk.js +1 -1
  237. package/dist/locale/tk.min.js +1 -1
  238. package/dist/locale/tk.min.mjs +1 -1
  239. package/dist/locale/tk.mjs +1 -1
  240. package/dist/locale/tr.js +1 -1
  241. package/dist/locale/tr.min.js +1 -1
  242. package/dist/locale/tr.min.mjs +1 -1
  243. package/dist/locale/tr.mjs +1 -1
  244. package/dist/locale/ug-cn.js +1 -1
  245. package/dist/locale/ug-cn.min.js +1 -1
  246. package/dist/locale/ug-cn.min.mjs +1 -1
  247. package/dist/locale/ug-cn.mjs +1 -1
  248. package/dist/locale/uk.js +1 -1
  249. package/dist/locale/uk.min.js +1 -1
  250. package/dist/locale/uk.min.mjs +1 -1
  251. package/dist/locale/uk.mjs +1 -1
  252. package/dist/locale/uz-uz.js +1 -1
  253. package/dist/locale/uz-uz.min.js +1 -1
  254. package/dist/locale/uz-uz.min.mjs +1 -1
  255. package/dist/locale/uz-uz.mjs +1 -1
  256. package/dist/locale/vi.js +1 -1
  257. package/dist/locale/vi.min.js +1 -1
  258. package/dist/locale/vi.min.mjs +1 -1
  259. package/dist/locale/vi.mjs +1 -1
  260. package/dist/locale/zh-cn.js +1 -1
  261. package/dist/locale/zh-cn.min.js +1 -1
  262. package/dist/locale/zh-cn.min.mjs +1 -1
  263. package/dist/locale/zh-cn.mjs +1 -1
  264. package/dist/locale/zh-hk.js +1 -1
  265. package/dist/locale/zh-hk.min.js +1 -1
  266. package/dist/locale/zh-hk.min.mjs +1 -1
  267. package/dist/locale/zh-hk.mjs +1 -1
  268. package/dist/locale/zh-mo.js +1 -1
  269. package/dist/locale/zh-mo.min.js +1 -1
  270. package/dist/locale/zh-mo.min.mjs +1 -1
  271. package/dist/locale/zh-mo.mjs +1 -1
  272. package/dist/locale/zh-tw.js +1 -1
  273. package/dist/locale/zh-tw.min.js +1 -1
  274. package/dist/locale/zh-tw.min.mjs +1 -1
  275. package/dist/locale/zh-tw.mjs +1 -1
  276. package/es/components/checkbox/index.mjs +2 -2
  277. package/es/components/checkbox/src/checkbox-group.mjs +94 -50
  278. package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
  279. package/es/components/checkbox/src/checkbox-group2.mjs +50 -94
  280. package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -1
  281. package/es/components/color-picker/index.mjs +2 -2
  282. package/es/components/color-picker/src/color-picker.mjs +49 -347
  283. package/es/components/color-picker/src/color-picker.mjs.map +1 -1
  284. package/es/components/color-picker/src/color-picker2.mjs +347 -49
  285. package/es/components/color-picker/src/color-picker2.mjs.map +1 -1
  286. package/es/components/date-picker/src/date-picker.mjs +1 -0
  287. package/es/components/date-picker/src/date-picker.mjs.map +1 -1
  288. package/es/components/dropdown/index.mjs +2 -2
  289. package/es/components/dropdown/src/dropdown-item-impl.mjs +1 -1
  290. package/es/components/dropdown/src/dropdown-item.mjs +1 -1
  291. package/es/components/dropdown/src/dropdown-menu.mjs +1 -1
  292. package/es/components/dropdown/src/dropdown.mjs +258 -112
  293. package/es/components/dropdown/src/dropdown.mjs.map +1 -1
  294. package/es/components/dropdown/src/dropdown2.mjs +112 -258
  295. package/es/components/dropdown/src/dropdown2.mjs.map +1 -1
  296. package/es/components/focus-trap/src/utils.mjs +1 -1
  297. package/es/components/focus-trap/src/utils.mjs.map +1 -1
  298. package/es/components/index.mjs +9 -9
  299. package/es/components/mention/src/mention-dropdown.mjs +15 -166
  300. package/es/components/mention/src/mention-dropdown.mjs.map +1 -1
  301. package/es/components/mention/src/mention-dropdown2.mjs +166 -15
  302. package/es/components/mention/src/mention-dropdown2.mjs.map +1 -1
  303. package/es/components/mention/src/mention2.mjs +1 -1
  304. package/es/components/message/index.mjs +1 -1
  305. package/es/components/message/src/message.mjs +107 -168
  306. package/es/components/message/src/message.mjs.map +1 -1
  307. package/es/components/message/src/message2.mjs +168 -107
  308. package/es/components/message/src/message2.mjs.map +1 -1
  309. package/es/components/message/src/method.mjs +2 -2
  310. package/es/components/pagination/src/components/sizes.mjs +26 -72
  311. package/es/components/pagination/src/components/sizes.mjs.map +1 -1
  312. package/es/components/pagination/src/components/sizes2.mjs +72 -26
  313. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  314. package/es/components/pagination/src/pagination.mjs +1 -1
  315. package/es/components/popover/src/popover.mjs +1 -1
  316. package/es/components/popper/index.mjs +2 -2
  317. package/es/components/popper/src/arrow.mjs +7 -30
  318. package/es/components/popper/src/arrow.mjs.map +1 -1
  319. package/es/components/popper/src/arrow2.mjs +30 -7
  320. package/es/components/popper/src/arrow2.mjs.map +1 -1
  321. package/es/components/popper/src/content.mjs +1 -1
  322. package/es/components/progress/index.mjs +2 -2
  323. package/es/components/progress/src/progress.mjs +53 -207
  324. package/es/components/progress/src/progress.mjs.map +1 -1
  325. package/es/components/progress/src/progress2.mjs +207 -53
  326. package/es/components/progress/src/progress2.mjs.map +1 -1
  327. package/es/components/result/index.mjs +2 -2
  328. package/es/components/result/src/result.mjs +30 -62
  329. package/es/components/result/src/result.mjs.map +1 -1
  330. package/es/components/result/src/result2.mjs +62 -30
  331. package/es/components/result/src/result2.mjs.map +1 -1
  332. package/es/components/scrollbar/src/bar.mjs +10 -64
  333. package/es/components/scrollbar/src/bar.mjs.map +1 -1
  334. package/es/components/scrollbar/src/bar2.mjs +64 -10
  335. package/es/components/scrollbar/src/bar2.mjs.map +1 -1
  336. package/es/components/scrollbar/src/scrollbar2.mjs +1 -1
  337. package/es/components/select/index.mjs +1 -1
  338. package/es/components/select/src/option.mjs +13 -89
  339. package/es/components/select/src/option.mjs.map +1 -1
  340. package/es/components/select/src/option2.mjs +91 -13
  341. package/es/components/select/src/option2.mjs.map +1 -1
  342. package/es/components/select/src/select2.mjs +1 -1
  343. package/es/components/select/src/useOption.mjs +1 -1
  344. package/es/components/select-v2/src/option-item.mjs +4 -2
  345. package/es/components/select-v2/src/option-item.mjs.map +1 -1
  346. package/es/components/statistic/index.mjs +2 -2
  347. package/es/components/statistic/src/statistic.mjs +25 -69
  348. package/es/components/statistic/src/statistic.mjs.map +1 -1
  349. package/es/components/statistic/src/statistic2.mjs +69 -25
  350. package/es/components/statistic/src/statistic2.mjs.map +1 -1
  351. package/es/components/tooltip/src/content2.mjs +2 -2
  352. package/es/components/tooltip/src/content2.mjs.map +1 -1
  353. package/es/components/tooltip/src/tooltip.mjs +1 -1
  354. package/es/components/tooltip/src/tooltip2.mjs +1 -1
  355. package/es/components/virtual-list/src/components/dynamic-size-grid.mjs +1 -1
  356. package/es/components/virtual-list/src/components/dynamic-size-grid.mjs.map +1 -1
  357. package/es/components/virtual-list/src/components/dynamic-size-list.mjs +1 -1
  358. package/es/components/virtual-list/src/components/dynamic-size-list.mjs.map +1 -1
  359. package/es/components/virtual-list/src/components/fixed-size-grid.mjs +1 -1
  360. package/es/components/virtual-list/src/components/fixed-size-grid.mjs.map +1 -1
  361. package/es/components/virtual-list/src/components/fixed-size-list.mjs +1 -1
  362. package/es/components/virtual-list/src/components/fixed-size-list.mjs.map +1 -1
  363. package/es/directives/trap-focus/index.mjs +1 -1
  364. package/es/directives/trap-focus/index.mjs.map +1 -1
  365. package/es/hooks/use-focus-controller/index.mjs +1 -1
  366. package/es/hooks/use-focus-controller/index.mjs.map +1 -1
  367. package/es/hooks/use-popper-container/index.mjs +1 -1
  368. package/es/hooks/use-popper-container/index.mjs.map +1 -1
  369. package/es/index.mjs +9 -9
  370. package/es/utils/dom/aria.mjs +1 -1
  371. package/es/utils/dom/aria.mjs.map +1 -1
  372. package/es/utils/error.mjs +1 -1
  373. package/es/utils/error.mjs.map +1 -1
  374. package/es/version.d.ts +1 -1
  375. package/es/version.mjs +1 -1
  376. package/es/version.mjs.map +1 -1
  377. package/lib/components/checkbox/index.js +2 -2
  378. package/lib/components/checkbox/src/checkbox-group.js +93 -51
  379. package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
  380. package/lib/components/checkbox/src/checkbox-group2.js +51 -93
  381. package/lib/components/checkbox/src/checkbox-group2.js.map +1 -1
  382. package/lib/components/color-picker/index.js +2 -2
  383. package/lib/components/color-picker/src/color-picker.js +49 -346
  384. package/lib/components/color-picker/src/color-picker.js.map +1 -1
  385. package/lib/components/color-picker/src/color-picker2.js +346 -49
  386. package/lib/components/color-picker/src/color-picker2.js.map +1 -1
  387. package/lib/components/date-picker/src/date-picker.js +1 -0
  388. package/lib/components/date-picker/src/date-picker.js.map +1 -1
  389. package/lib/components/dropdown/index.js +2 -2
  390. package/lib/components/dropdown/src/dropdown-item-impl.js +1 -1
  391. package/lib/components/dropdown/src/dropdown-item.js +1 -1
  392. package/lib/components/dropdown/src/dropdown-menu.js +1 -1
  393. package/lib/components/dropdown/src/dropdown.js +258 -117
  394. package/lib/components/dropdown/src/dropdown.js.map +1 -1
  395. package/lib/components/dropdown/src/dropdown2.js +117 -258
  396. package/lib/components/dropdown/src/dropdown2.js.map +1 -1
  397. package/lib/components/focus-trap/src/utils.js +1 -1
  398. package/lib/components/focus-trap/src/utils.js.map +1 -1
  399. package/lib/components/index.js +9 -9
  400. package/lib/components/mention/src/mention-dropdown.js +16 -166
  401. package/lib/components/mention/src/mention-dropdown.js.map +1 -1
  402. package/lib/components/mention/src/mention-dropdown2.js +166 -16
  403. package/lib/components/mention/src/mention-dropdown2.js.map +1 -1
  404. package/lib/components/mention/src/mention2.js +1 -1
  405. package/lib/components/message/index.js +1 -1
  406. package/lib/components/message/src/message.js +111 -167
  407. package/lib/components/message/src/message.js.map +1 -1
  408. package/lib/components/message/src/message2.js +167 -111
  409. package/lib/components/message/src/message2.js.map +1 -1
  410. package/lib/components/message/src/method.js +2 -2
  411. package/lib/components/pagination/src/components/sizes.js +26 -72
  412. package/lib/components/pagination/src/components/sizes.js.map +1 -1
  413. package/lib/components/pagination/src/components/sizes2.js +72 -26
  414. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  415. package/lib/components/pagination/src/pagination.js +1 -1
  416. package/lib/components/popover/src/popover.js +1 -1
  417. package/lib/components/popper/index.js +2 -2
  418. package/lib/components/popper/src/arrow.js +8 -30
  419. package/lib/components/popper/src/arrow.js.map +1 -1
  420. package/lib/components/popper/src/arrow2.js +30 -8
  421. package/lib/components/popper/src/arrow2.js.map +1 -1
  422. package/lib/components/popper/src/content.js +1 -1
  423. package/lib/components/progress/index.js +2 -2
  424. package/lib/components/progress/src/progress.js +53 -207
  425. package/lib/components/progress/src/progress.js.map +1 -1
  426. package/lib/components/progress/src/progress2.js +207 -53
  427. package/lib/components/progress/src/progress2.js.map +1 -1
  428. package/lib/components/result/index.js +2 -2
  429. package/lib/components/result/src/result.js +32 -62
  430. package/lib/components/result/src/result.js.map +1 -1
  431. package/lib/components/result/src/result2.js +62 -32
  432. package/lib/components/result/src/result2.js.map +1 -1
  433. package/lib/components/scrollbar/src/bar.js +10 -64
  434. package/lib/components/scrollbar/src/bar.js.map +1 -1
  435. package/lib/components/scrollbar/src/bar2.js +64 -10
  436. package/lib/components/scrollbar/src/bar2.js.map +1 -1
  437. package/lib/components/scrollbar/src/scrollbar2.js +1 -1
  438. package/lib/components/select/index.js +1 -1
  439. package/lib/components/select/src/option.js +14 -89
  440. package/lib/components/select/src/option.js.map +1 -1
  441. package/lib/components/select/src/option2.js +91 -14
  442. package/lib/components/select/src/option2.js.map +1 -1
  443. package/lib/components/select/src/select2.js +1 -1
  444. package/lib/components/select/src/useOption.js +1 -1
  445. package/lib/components/select-v2/src/option-item.js +4 -2
  446. package/lib/components/select-v2/src/option-item.js.map +1 -1
  447. package/lib/components/statistic/index.js +2 -2
  448. package/lib/components/statistic/src/statistic.js +25 -69
  449. package/lib/components/statistic/src/statistic.js.map +1 -1
  450. package/lib/components/statistic/src/statistic2.js +69 -25
  451. package/lib/components/statistic/src/statistic2.js.map +1 -1
  452. package/lib/components/tooltip/src/content2.js +2 -2
  453. package/lib/components/tooltip/src/content2.js.map +1 -1
  454. package/lib/components/tooltip/src/tooltip.js +1 -1
  455. package/lib/components/tooltip/src/tooltip2.js +1 -1
  456. package/lib/components/virtual-list/src/components/dynamic-size-grid.js +1 -1
  457. package/lib/components/virtual-list/src/components/dynamic-size-grid.js.map +1 -1
  458. package/lib/components/virtual-list/src/components/dynamic-size-list.js +1 -1
  459. package/lib/components/virtual-list/src/components/dynamic-size-list.js.map +1 -1
  460. package/lib/components/virtual-list/src/components/fixed-size-grid.js +1 -1
  461. package/lib/components/virtual-list/src/components/fixed-size-grid.js.map +1 -1
  462. package/lib/components/virtual-list/src/components/fixed-size-list.js +1 -1
  463. package/lib/components/virtual-list/src/components/fixed-size-list.js.map +1 -1
  464. package/lib/directives/trap-focus/index.js +1 -1
  465. package/lib/directives/trap-focus/index.js.map +1 -1
  466. package/lib/hooks/use-focus-controller/index.js +1 -1
  467. package/lib/hooks/use-focus-controller/index.js.map +1 -1
  468. package/lib/hooks/use-popper-container/index.js +1 -1
  469. package/lib/hooks/use-popper-container/index.js.map +1 -1
  470. package/lib/index.js +9 -9
  471. package/lib/utils/dom/aria.js +1 -1
  472. package/lib/utils/dom/aria.js.map +1 -1
  473. package/lib/utils/error.js +1 -1
  474. package/lib/utils/error.js.map +1 -1
  475. package/lib/version.d.ts +1 -1
  476. package/lib/version.js +1 -1
  477. package/lib/version.js.map +1 -1
  478. package/package.json +2 -2
  479. package/theme-chalk/el-menu.css +1 -1
  480. package/theme-chalk/index.css +1 -1
  481. package/theme-chalk/src/menu.scss +6 -0
  482. package/web-types.json +1 -1
@@ -1,4 +1,4 @@
1
- /*! Element Plus v0.0.20251208 */
1
+ /*! Element Plus v0.0.20251209 */
2
2
 
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue')) :
@@ -13,8 +13,6 @@
13
13
  return e instanceof Element;
14
14
  };
15
15
  const isVisible = (element) => {
16
- if (typeof process !== "undefined" && false)
17
- return true;
18
16
  const computed = getComputedStyle(element);
19
17
  return computed.position === "fixed" ? false : element.offsetParent !== null;
20
18
  };
@@ -1116,11 +1114,11 @@
1116
1114
  const hasOwn = (val, key) => hasOwnProperty$p.call(val, key);
1117
1115
  const isArray$1 = Array.isArray;
1118
1116
  const isDate$1 = (val) => toTypeString(val) === "[object Date]";
1119
- const isFunction$2 = (val) => typeof val === "function";
1120
- const isString$2 = (val) => typeof val === "string";
1117
+ const isFunction$1 = (val) => typeof val === "function";
1118
+ const isString$1 = (val) => typeof val === "string";
1121
1119
  const isObject$1 = (val) => val !== null && typeof val === "object";
1122
1120
  const isPromise = (val) => {
1123
- return isObject$1(val) && isFunction$2(val.then) && isFunction$2(val.catch);
1121
+ return isObject$1(val) && isFunction$1(val.then) && isFunction$1(val.catch);
1124
1122
  };
1125
1123
  const objectToString$1 = Object.prototype.toString;
1126
1124
  const toTypeString = (value) => objectToString$1.call(value);
@@ -1344,7 +1342,7 @@
1344
1342
  var funcTag$2 = "[object Function]";
1345
1343
  var genTag$1 = "[object GeneratorFunction]";
1346
1344
  var proxyTag = "[object Proxy]";
1347
- function isFunction$1(value) {
1345
+ function isFunction(value) {
1348
1346
  if (!isObject(value)) {
1349
1347
  return false;
1350
1348
  }
@@ -1389,7 +1387,7 @@
1389
1387
  if (!isObject(value) || isMasked(value)) {
1390
1388
  return false;
1391
1389
  }
1392
- var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
1390
+ var pattern = isFunction(value) ? reIsNative : reIsHostCtor;
1393
1391
  return pattern.test(toSource(value));
1394
1392
  }
1395
1393
 
@@ -2100,7 +2098,7 @@
2100
2098
  }
2101
2099
 
2102
2100
  function isArrayLike(value) {
2103
- return value != null && isLength(value.length) && !isFunction$1(value);
2101
+ return value != null && isLength(value.length) && !isFunction(value);
2104
2102
  }
2105
2103
 
2106
2104
  function isIterateeCall(value, index, object) {
@@ -4327,7 +4325,7 @@
4327
4325
  newValue = objValue;
4328
4326
  if (isArguments(objValue)) {
4329
4327
  newValue = toPlainObject(objValue);
4330
- } else if (!isObject(objValue) || isFunction$1(objValue)) {
4328
+ } else if (!isObject(objValue) || isFunction(objValue)) {
4331
4329
  newValue = initCloneObject(srcValue);
4332
4330
  }
4333
4331
  } else {
@@ -4873,7 +4871,7 @@
4873
4871
 
4874
4872
  function baseFunctions(object, props) {
4875
4873
  return arrayFilter(props, function(key) {
4876
- return isFunction$1(object[key]);
4874
+ return isFunction(object[key]);
4877
4875
  });
4878
4876
  }
4879
4877
 
@@ -4944,7 +4942,7 @@
4944
4942
  }
4945
4943
 
4946
4944
  var stringTag = "[object String]";
4947
- function isString$1(value) {
4945
+ function isString(value) {
4948
4946
  return typeof value == "string" || !isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag;
4949
4947
  }
4950
4948
 
@@ -4966,7 +4964,7 @@
4966
4964
  if (fromIndex < 0) {
4967
4965
  fromIndex = nativeMax$7(length + fromIndex, 0);
4968
4966
  }
4969
- return isString$1(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
4967
+ return isString(collection) ? fromIndex <= length && collection.indexOf(value, fromIndex) > -1 : !!length && baseIndexOf(collection, value, fromIndex) > -1;
4970
4968
  }
4971
4969
 
4972
4970
  var nativeMax$6 = Math.max;
@@ -5127,7 +5125,7 @@
5127
5125
  var nodeIsDate = nodeUtil && nodeUtil.isDate;
5128
5126
  var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;
5129
5127
 
5130
- function isElement$4(value) {
5128
+ function isElement$3(value) {
5131
5129
  return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);
5132
5130
  }
5133
5131
 
@@ -5186,15 +5184,15 @@
5186
5184
  }
5187
5185
 
5188
5186
  var numberTag = "[object Number]";
5189
- function isNumber$2(value) {
5187
+ function isNumber$1(value) {
5190
5188
  return typeof value == "number" || isObjectLike(value) && baseGetTag(value) == numberTag;
5191
5189
  }
5192
5190
 
5193
5191
  function isNaN$1(value) {
5194
- return isNumber$2(value) && value != +value;
5192
+ return isNumber$1(value) && value != +value;
5195
5193
  }
5196
5194
 
5197
- var isMaskable = coreJsData ? isFunction$1 : stubFalse;
5195
+ var isMaskable = coreJsData ? isFunction : stubFalse;
5198
5196
 
5199
5197
  var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.";
5200
5198
  function isNative(value) {
@@ -5397,7 +5395,7 @@
5397
5395
 
5398
5396
  function mixin$1(object, source, options) {
5399
5397
  var props = keys(source), methodNames = baseFunctions(source, props);
5400
- var chain = !(isObject(options) && "chain" in options) || !!options.chain, isFunc = isFunction$1(object);
5398
+ var chain = !(isObject(options) && "chain" in options) || !!options.chain, isFunc = isFunction(object);
5401
5399
  arrayEach(methodNames, function(methodName) {
5402
5400
  var func = source[methodName];
5403
5401
  object[methodName] = func;
@@ -5458,7 +5456,7 @@
5458
5456
  return [];
5459
5457
  }
5460
5458
  if (isArrayLike(value)) {
5461
- return isString$1(value) ? stringToArray(value) : copyArray(value);
5459
+ return isString(value) ? stringToArray(value) : copyArray(value);
5462
5460
  }
5463
5461
  if (symIterator$1 && value[symIterator$1]) {
5464
5462
  return iteratorToArray(value[symIterator$1]());
@@ -6095,7 +6093,7 @@
6095
6093
  index = length;
6096
6094
  value = defaultValue;
6097
6095
  }
6098
- object = isFunction$1(value) ? value.call(object) : value;
6096
+ object = isFunction(value) ? value.call(object) : value;
6099
6097
  }
6100
6098
  return object;
6101
6099
  }
@@ -6182,7 +6180,7 @@
6182
6180
  return 0;
6183
6181
  }
6184
6182
  if (isArrayLike(collection)) {
6185
- return isString$1(collection) ? stringSize(collection) : collection.length;
6183
+ return isString(collection) ? stringSize(collection) : collection.length;
6186
6184
  }
6187
6185
  var tag = getTag$1(collection);
6188
6186
  if (tag == mapTag || tag == setTag) {
@@ -6636,7 +6634,7 @@
6636
6634
  if (isArrLike) {
6637
6635
  accumulator = isArr ? new Ctor() : [];
6638
6636
  } else if (isObject(object)) {
6639
- accumulator = isFunction$1(Ctor) ? baseCreate(getPrototype(object)) : {};
6637
+ accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};
6640
6638
  } else {
6641
6639
  accumulator = {};
6642
6640
  }
@@ -7166,13 +7164,13 @@
7166
7164
  isBoolean: isBoolean$1,
7167
7165
  isBuffer,
7168
7166
  isDate,
7169
- isElement: isElement$4,
7167
+ isElement: isElement$3,
7170
7168
  isEmpty: isEmpty$1,
7171
7169
  isEqual: isEqual$1,
7172
7170
  isEqualWith,
7173
7171
  isError,
7174
7172
  isFinite,
7175
- isFunction: isFunction$1,
7173
+ isFunction,
7176
7174
  isInteger,
7177
7175
  isLength,
7178
7176
  isMap,
@@ -7182,14 +7180,14 @@
7182
7180
  isNative,
7183
7181
  isNil,
7184
7182
  isNull,
7185
- isNumber: isNumber$2,
7183
+ isNumber: isNumber$1,
7186
7184
  isObject,
7187
7185
  isObjectLike,
7188
7186
  isPlainObject,
7189
7187
  isRegExp,
7190
7188
  isSafeInteger,
7191
7189
  isSet,
7192
- isString: isString$1,
7190
+ isString,
7193
7191
  isSymbol,
7194
7192
  isTypedArray,
7195
7193
  isUndefined: isUndefined$1,
@@ -7952,16 +7950,16 @@
7952
7950
 
7953
7951
  const isUndefined = (val) => val === void 0;
7954
7952
  const isBoolean = (val) => typeof val === "boolean";
7955
- const isNumber$1 = (val) => typeof val === "number";
7953
+ const isNumber = (val) => typeof val === "number";
7956
7954
  const isEmpty = (val) => !val && val !== 0 || isArray$1(val) && val.length === 0 || isObject$1(val) && !Object.keys(val).length;
7957
- const isElement$3 = (e) => {
7955
+ const isElement$2 = (e) => {
7958
7956
  if (typeof Element === "undefined")
7959
7957
  return false;
7960
7958
  return e instanceof Element;
7961
7959
  };
7962
7960
  const isPropAbsent = (prop) => isNil(prop);
7963
7961
  const isStringNumber = (val) => {
7964
- if (!isString$2(val)) {
7962
+ if (!isString$1(val)) {
7965
7963
  return false;
7966
7964
  }
7967
7965
  return !Number.isNaN(Number(val));
@@ -7993,17 +7991,12 @@
7993
7991
  this.name = "ElementPlusError";
7994
7992
  }
7995
7993
  }
7996
- function throwError$1(scope, m) {
7994
+ function throwError(scope, m) {
7997
7995
  throw new ElementPlusError(`[${scope}] ${m}`);
7998
7996
  }
7999
7997
  function debugWarn(scope, message) {
8000
- if (typeof process !== "undefined" && false) {
8001
- const error = isString(scope) ? new ElementPlusError(`[${scope}] ${message}`) : scope;
8002
- console.warn(error);
8003
- }
8004
7998
  }
8005
7999
 
8006
- const SCOPE$a = "utils/dom/style";
8007
8000
  const classNameToArray = (cls = "") => cls.split(" ").filter((item) => !!item.trim());
8008
8001
  const hasClass = (el, cls) => {
8009
8002
  if (!el || !cls)
@@ -8052,12 +8045,11 @@
8052
8045
  function addUnit(value, defaultUnit = "px") {
8053
8046
  if (!value && value !== 0)
8054
8047
  return "";
8055
- if (isNumber$1(value) || isStringNumber(value)) {
8048
+ if (isNumber(value) || isStringNumber(value)) {
8056
8049
  return `${value}${defaultUnit}`;
8057
- } else if (isString$2(value)) {
8050
+ } else if (isString$1(value)) {
8058
8051
  return value;
8059
8052
  }
8060
- debugWarn(SCOPE$a, "binding value must be a string or number");
8061
8053
  }
8062
8054
 
8063
8055
  const isScroll = (el, isVertical) => {
@@ -8145,7 +8137,7 @@
8145
8137
  }
8146
8138
  if (time < duration) {
8147
8139
  handle = rAF(scroll);
8148
- } else if (isFunction$2(callback)) {
8140
+ } else if (isFunction$1(callback)) {
8149
8141
  callback();
8150
8142
  }
8151
8143
  };
@@ -8170,7 +8162,7 @@
8170
8162
  const getElement = (target) => {
8171
8163
  if (!isClient || target === "")
8172
8164
  return null;
8173
- if (isString$2(target)) {
8165
+ if (isString$1(target)) {
8174
8166
  try {
8175
8167
  return document.querySelector(target);
8176
8168
  } catch (e) {
@@ -9002,7 +8994,6 @@
9002
8994
 
9003
8995
  const isValidComponentSize = (val) => ["", ...componentSizes].includes(val);
9004
8996
 
9005
- const SCOPE$9 = "utils/vue/vnode";
9006
8997
  var PatchFlags = /* @__PURE__ */ ((PatchFlags2) => {
9007
8998
  PatchFlags2[PatchFlags2["TEXT"] = 1] = "TEXT";
9008
8999
  PatchFlags2[PatchFlags2["CLASS"] = 2] = "CLASS";
@@ -9030,7 +9021,6 @@
9030
9021
  }
9031
9022
  const getNormalizedProps = (node) => {
9032
9023
  if (!vue.isVNode(node)) {
9033
- debugWarn(SCOPE$9, "[getNormalizedProps] must be a VNode");
9034
9024
  return {};
9035
9025
  }
9036
9026
  const raw = node.props || {};
@@ -9107,7 +9097,6 @@
9107
9097
  });
9108
9098
  const instance = vue.getCurrentInstance();
9109
9099
  if (!instance) {
9110
- debugWarn("use-attrs", "getCurrentInstance() returned null. useAttrs() must be called at the top of a setup function");
9111
9100
  return vue.computed(() => ({}));
9112
9101
  }
9113
9102
  return vue.computed(() => {
@@ -9136,11 +9125,6 @@
9136
9125
 
9137
9126
  const useDeprecated = ({ from, replacement, scope, version, ref, type = "API" }, condition) => {
9138
9127
  vue.watch(() => vue.unref(condition), (val) => {
9139
- if (val) {
9140
- debugWarn(scope, `[${type}] ${from} is about to be deprecated in version ${version}, please use ${replacement} instead.
9141
- For more detail, please visit: ${ref}
9142
- `);
9143
- }
9144
9128
  }, {
9145
9129
  immediate: true
9146
9130
  });
@@ -9536,7 +9520,7 @@ For more detail, please visit: ${ref}
9536
9520
 
9537
9521
  const useLockscreen = (trigger, options = {}) => {
9538
9522
  if (!vue.isRef(trigger)) {
9539
- throwError$1("[useLockscreen]", "You need to pass a ref param to this function");
9523
+ throwError("[useLockscreen]", "You need to pass a ref param to this function");
9540
9524
  }
9541
9525
  const ns = options.ns || useNamespace("popup");
9542
9526
  const hiddenCls = vue.computed(() => ns.bm("parent", "hidden"));
@@ -9622,7 +9606,7 @@ For more detail, please visit: ${ref}
9622
9606
  const instance = vue.getCurrentInstance();
9623
9607
  const { emit } = instance;
9624
9608
  const props = instance.props;
9625
- const hasUpdateHandler = vue.computed(() => isFunction$2(props[updateEventKeyRaw]));
9609
+ const hasUpdateHandler = vue.computed(() => isFunction$1(props[updateEventKeyRaw]));
9626
9610
  const isModelBindingAbsent = vue.computed(() => props[name] === null);
9627
9611
  const doShow = (event) => {
9628
9612
  if (indicator.value === true) {
@@ -9632,7 +9616,7 @@ For more detail, please visit: ${ref}
9632
9616
  if (toggleReason) {
9633
9617
  toggleReason.value = event;
9634
9618
  }
9635
- if (isFunction$2(onShow)) {
9619
+ if (isFunction$1(onShow)) {
9636
9620
  onShow(event);
9637
9621
  }
9638
9622
  };
@@ -9644,12 +9628,12 @@ For more detail, please visit: ${ref}
9644
9628
  if (toggleReason) {
9645
9629
  toggleReason.value = event;
9646
9630
  }
9647
- if (isFunction$2(onHide)) {
9631
+ if (isFunction$1(onHide)) {
9648
9632
  onHide(event);
9649
9633
  }
9650
9634
  };
9651
9635
  const show = (event) => {
9652
- if (props.disabled === true || isFunction$2(shouldProceed) && !shouldProceed())
9636
+ if (props.disabled === true || isFunction$1(shouldProceed) && !shouldProceed())
9653
9637
  return;
9654
9638
  const shouldEmit = hasUpdateHandler.value && isClient;
9655
9639
  if (shouldEmit) {
@@ -9911,7 +9895,7 @@ For more detail, please visit: ${ref}
9911
9895
  };
9912
9896
  const dispatcher = (type) => {
9913
9897
  if (type === "leading") {
9914
- if (isNumber$1(throttle)) {
9898
+ if (isNumber(throttle)) {
9915
9899
  dispatchThrottling(throttle);
9916
9900
  } else {
9917
9901
  dispatchThrottling(throttle.leading);
@@ -10015,13 +9999,6 @@ For more detail, please visit: ${ref}
10015
9999
  };
10016
10000
  const useId = (deterministicId) => {
10017
10001
  const idInjection = useIdInjection();
10018
- if (!isClient && idInjection === defaultIdInjection) {
10019
- debugWarn("IdInjection", `Looks like you are using server rendering, you must provide a id provider to ensure the hydration process to be succeed
10020
- usage: app.provide(ID_INJECTION_KEY, {
10021
- prefix: number,
10022
- current: number,
10023
- })`);
10024
- }
10025
10002
  const namespace = useGetDerivedNamespace();
10026
10003
  const idRef = computedEager(() => vue.unref(deterministicId) || `${namespace.value}-id-${idInjection.prefix}-${idInjection.current++}`);
10027
10004
  return idRef;
@@ -10074,7 +10051,7 @@ usage: app.provide(ID_INJECTION_KEY, {
10074
10051
  vue.onBeforeMount(() => {
10075
10052
  if (!isClient)
10076
10053
  return;
10077
- if (typeof process !== "undefined" && false || !document.body.querySelector(selector.value)) {
10054
+ if (!document.body.querySelector(selector.value)) {
10078
10055
  createContainer(id.value);
10079
10056
  }
10080
10057
  });
@@ -10153,7 +10130,7 @@ usage: app.provide(ID_INJECTION_KEY, {
10153
10130
  registerTimeout(() => {
10154
10131
  open(event);
10155
10132
  const _autoClose = vue.unref(autoClose);
10156
- if (isNumber$1(_autoClose) && _autoClose > 0) {
10133
+ if (isNumber(_autoClose) && _autoClose > 0) {
10157
10134
  registerTimeoutForAutoClose(() => {
10158
10135
  close(event);
10159
10136
  }, _autoClose);
@@ -10207,7 +10184,7 @@ usage: app.provide(ID_INJECTION_KEY, {
10207
10184
  const zIndexInjection = zIndexOverrides || (vue.getCurrentInstance() ? vue.inject(zIndexContextKey, void 0) : void 0);
10208
10185
  const initialZIndex = vue.computed(() => {
10209
10186
  const zIndexFromInjection = vue.unref(zIndexInjection);
10210
- return isNumber$1(zIndexFromInjection) ? zIndexFromInjection : defaultInitialZIndex;
10187
+ return isNumber(zIndexFromInjection) ? zIndexFromInjection : defaultInitialZIndex;
10211
10188
  });
10212
10189
  const currentZIndex = vue.computed(() => initialZIndex.value + zIndex.value);
10213
10190
  const nextZIndex = () => {
@@ -10215,10 +10192,7 @@ usage: app.provide(ID_INJECTION_KEY, {
10215
10192
  zIndex.value = increasingInjection.current;
10216
10193
  return currentZIndex.value;
10217
10194
  };
10218
- if (!isClient && !vue.inject(ZINDEX_INJECTION_KEY)) {
10219
- debugWarn("ZIndexInjection", `Looks like you are using server rendering, you must provide a z-index provider to ensure the hydration process to be succeed
10220
- usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
10221
- }
10195
+ if (!isClient && !vue.inject(ZINDEX_INJECTION_KEY)) ;
10222
10196
  return {
10223
10197
  initialZIndex,
10224
10198
  currentZIndex,
@@ -11414,7 +11388,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11414
11388
  function isNode$1(value) {
11415
11389
  return value instanceof Node || value instanceof getWindow$1(value).Node;
11416
11390
  }
11417
- function isElement$2(value) {
11391
+ function isElement$1(value) {
11418
11392
  return value instanceof Element || value instanceof getWindow$1(value).Element;
11419
11393
  }
11420
11394
  function isHTMLElement$1(value) {
@@ -11450,7 +11424,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11450
11424
  }
11451
11425
  function isContainingBlock$1(elementOrCss) {
11452
11426
  const webkit = isWebKit();
11453
- const css = isElement$2(elementOrCss) ? getComputedStyle$2(elementOrCss) : elementOrCss;
11427
+ const css = isElement$1(elementOrCss) ? getComputedStyle$2(elementOrCss) : elementOrCss;
11454
11428
 
11455
11429
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
11456
11430
  return css.transform !== 'none' || css.perspective !== 'none' || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || ['transform', 'perspective', 'filter'].some(value => (css.willChange || '').includes(value)) || ['paint', 'layout', 'strict', 'content'].some(value => (css.contain || '').includes(value));
@@ -11478,7 +11452,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11478
11452
  return getWindow$1(element).getComputedStyle(element);
11479
11453
  }
11480
11454
  function getNodeScroll$1(element) {
11481
- if (isElement$2(element)) {
11455
+ if (isElement$1(element)) {
11482
11456
  return {
11483
11457
  scrollLeft: element.scrollLeft,
11484
11458
  scrollTop: element.scrollTop
@@ -11553,7 +11527,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11553
11527
  }
11554
11528
 
11555
11529
  function unwrapElement(element) {
11556
- return !isElement$2(element) ? element.contextElement : element;
11530
+ return !isElement$1(element) ? element.contextElement : element;
11557
11531
  }
11558
11532
 
11559
11533
  function getScale(element) {
@@ -11617,7 +11591,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11617
11591
  let scale = createCoords(1);
11618
11592
  if (includeScale) {
11619
11593
  if (offsetParent) {
11620
- if (isElement$2(offsetParent)) {
11594
+ if (isElement$1(offsetParent)) {
11621
11595
  scale = getScale(offsetParent);
11622
11596
  }
11623
11597
  } else {
@@ -11631,7 +11605,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11631
11605
  let height = clientRect.height / scale.y;
11632
11606
  if (domElement) {
11633
11607
  const win = getWindow$1(domElement);
11634
- const offsetWin = offsetParent && isElement$2(offsetParent) ? getWindow$1(offsetParent) : offsetParent;
11608
+ const offsetWin = offsetParent && isElement$1(offsetParent) ? getWindow$1(offsetParent) : offsetParent;
11635
11609
  let currentWin = win;
11636
11610
  let currentIFrame = currentWin.frameElement;
11637
11611
  while (currentIFrame && offsetParent && offsetWin !== currentWin) {
@@ -11776,7 +11750,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11776
11750
  rect = getViewportRect$1(element, strategy);
11777
11751
  } else if (clippingAncestor === 'document') {
11778
11752
  rect = getDocumentRect$1(getDocumentElement$1(element));
11779
- } else if (isElement$2(clippingAncestor)) {
11753
+ } else if (isElement$1(clippingAncestor)) {
11780
11754
  rect = getInnerBoundingClientRect$1(clippingAncestor, strategy);
11781
11755
  } else {
11782
11756
  const visualOffsets = getVisualOffsets(element);
@@ -11790,7 +11764,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11790
11764
  }
11791
11765
  function hasFixedPositionAncestor(element, stopNode) {
11792
11766
  const parentNode = getParentNode$1(element);
11793
- if (parentNode === stopNode || !isElement$2(parentNode) || isLastTraversableNode(parentNode)) {
11767
+ if (parentNode === stopNode || !isElement$1(parentNode) || isLastTraversableNode(parentNode)) {
11794
11768
  return false;
11795
11769
  }
11796
11770
  return getComputedStyle$2(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
@@ -11804,13 +11778,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11804
11778
  if (cachedResult) {
11805
11779
  return cachedResult;
11806
11780
  }
11807
- let result = getOverflowAncestors$1(element, [], false).filter(el => isElement$2(el) && getNodeName$1(el) !== 'body');
11781
+ let result = getOverflowAncestors$1(element, [], false).filter(el => isElement$1(el) && getNodeName$1(el) !== 'body');
11808
11782
  let currentContainingBlockComputedStyle = null;
11809
11783
  const elementIsFixed = getComputedStyle$2(element).position === 'fixed';
11810
11784
  let currentNode = elementIsFixed ? getParentNode$1(element) : element;
11811
11785
 
11812
11786
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
11813
- while (isElement$2(currentNode) && !isLastTraversableNode(currentNode)) {
11787
+ while (isElement$1(currentNode) && !isLastTraversableNode(currentNode)) {
11814
11788
  const computedStyle = getComputedStyle$2(currentNode);
11815
11789
  const currentNodeIsContaining = isContainingBlock$1(currentNode);
11816
11790
  if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
@@ -11925,7 +11899,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11925
11899
  if (!isHTMLElement$1(element)) {
11926
11900
  let svgOffsetParent = getParentNode$1(element);
11927
11901
  while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
11928
- if (isElement$2(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
11902
+ if (isElement$1(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
11929
11903
  return svgOffsetParent;
11930
11904
  }
11931
11905
  svgOffsetParent = getParentNode$1(svgOffsetParent);
@@ -11970,7 +11944,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
11970
11944
  getClientRects,
11971
11945
  getDimensions: getDimensions$1,
11972
11946
  getScale,
11973
- isElement: isElement$2,
11947
+ isElement: isElement$1,
11974
11948
  isRTL: isRTL$1
11975
11949
  };
11976
11950
 
@@ -12279,7 +12253,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12279
12253
  const wrapperRef = vue.shallowRef();
12280
12254
  const isFocused = vue.ref(false);
12281
12255
  const handleFocus = (event) => {
12282
- const cancelFocus = isFunction$2(beforeFocus) ? beforeFocus(event) : false;
12256
+ const cancelFocus = isFunction$1(beforeFocus) ? beforeFocus(event) : false;
12283
12257
  if (vue.unref(disabled) || isFocused.value || cancelFocus)
12284
12258
  return;
12285
12259
  isFocused.value = true;
@@ -12288,7 +12262,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12288
12262
  };
12289
12263
  const handleBlur = (event) => {
12290
12264
  var _a;
12291
- const cancelBlur = isFunction$2(beforeBlur) ? beforeBlur(event) : false;
12265
+ const cancelBlur = isFunction$1(beforeBlur) ? beforeBlur(event) : false;
12292
12266
  if (vue.unref(disabled) || event.relatedTarget && ((_a = wrapperRef.value) == null ? void 0 : _a.contains(event.relatedTarget)) || cancelBlur)
12293
12267
  return;
12294
12268
  isFocused.value = false;
@@ -12313,15 +12287,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12313
12287
  useEventListener(wrapperRef, "focus", handleFocus, true);
12314
12288
  useEventListener(wrapperRef, "blur", handleBlur, true);
12315
12289
  useEventListener(wrapperRef, "click", handleClick, true);
12316
- if (typeof process !== "undefined" && false) {
12317
- onMounted(() => {
12318
- const targetEl = isElement(target.value) ? target.value : document.querySelector("input,textarea");
12319
- if (targetEl) {
12320
- useEventListener(targetEl, "focus", handleFocus, true);
12321
- useEventListener(targetEl, "blur", handleBlur, true);
12322
- }
12323
- });
12324
- }
12325
12290
  return {
12326
12291
  isFocused,
12327
12292
  wrapperRef,
@@ -12366,7 +12331,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12366
12331
  }
12367
12332
 
12368
12333
  const emptyValuesContextKey = Symbol("emptyValuesContextKey");
12369
- const SCOPE$8 = "use-empty-values";
12334
+ const SCOPE$6 = "use-empty-values";
12370
12335
  const DEFAULT_EMPTY_VALUES = ["", void 0, null];
12371
12336
  const DEFAULT_VALUE_ON_CLEAR = void 0;
12372
12337
  const useEmptyValuesProps = buildProps({
@@ -12380,7 +12345,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12380
12345
  ]),
12381
12346
  default: void 0,
12382
12347
  validator: (val) => {
12383
- val = isFunction$2(val) ? val() : val;
12348
+ val = isFunction$1(val) ? val() : val;
12384
12349
  if (isArray$1(val)) {
12385
12350
  return val.every((item) => !item);
12386
12351
  }
@@ -12392,11 +12357,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12392
12357
  const config = vue.getCurrentInstance() ? vue.inject(emptyValuesContextKey, vue.ref({})) : vue.ref({});
12393
12358
  const emptyValues = vue.computed(() => props.emptyValues || config.value.emptyValues || DEFAULT_EMPTY_VALUES);
12394
12359
  const valueOnClear = vue.computed(() => {
12395
- if (isFunction$2(props.valueOnClear)) {
12360
+ if (isFunction$1(props.valueOnClear)) {
12396
12361
  return props.valueOnClear();
12397
12362
  } else if (props.valueOnClear !== void 0) {
12398
12363
  return props.valueOnClear;
12399
- } else if (isFunction$2(config.value.valueOnClear)) {
12364
+ } else if (isFunction$1(config.value.valueOnClear)) {
12400
12365
  return config.value.valueOnClear();
12401
12366
  } else if (config.value.valueOnClear !== void 0) {
12402
12367
  return config.value.valueOnClear;
@@ -12414,9 +12379,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12414
12379
  }
12415
12380
  return result;
12416
12381
  };
12417
- if (!isEmptyValue(valueOnClear.value)) {
12418
- debugWarn(SCOPE$8, "value-on-clear should be a value of empty-values");
12419
- }
12382
+ if (!isEmptyValue(valueOnClear.value)) ;
12420
12383
  return {
12421
12384
  emptyValues,
12422
12385
  valueOnClear,
@@ -12482,7 +12445,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12482
12445
  const oldConfig = inSetup ? useGlobalConfig() : void 0;
12483
12446
  const provideFn = (_a = app == null ? void 0 : app.provide) != null ? _a : inSetup ? vue.provide : void 0;
12484
12447
  if (!provideFn) {
12485
- debugWarn("provideGlobalConfig", "provideGlobalConfig() can only be used inside setup().");
12486
12448
  return;
12487
12449
  }
12488
12450
  const context = vue.computed(() => {
@@ -12573,7 +12535,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12573
12535
 
12574
12536
  const ElConfigProvider = withInstall(ConfigProvider);
12575
12537
 
12576
- const version$1 = "0.0.20251208";
12538
+ const version$1 = "0.0.20251209";
12577
12539
 
12578
12540
  const makeInstaller = (components = []) => {
12579
12541
  const install = (app, options) => {
@@ -12610,7 +12572,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12610
12572
  }
12611
12573
  });
12612
12574
  const affixEmits = {
12613
- scroll: ({ scrollTop, fixed }) => isNumber$1(scrollTop) && isBoolean(fixed),
12575
+ scroll: ({ scrollTop, fixed }) => isNumber(scrollTop) && isBoolean(fixed),
12614
12576
  [CHANGE_EVENT]: (fixed) => isBoolean(fixed)
12615
12577
  };
12616
12578
 
@@ -12622,9 +12584,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12622
12584
  return target;
12623
12585
  };
12624
12586
 
12625
- const COMPONENT_NAME$p = "ElAffix";
12587
+ const COMPONENT_NAME$o = "ElAffix";
12626
12588
  const __default__$1Y = vue.defineComponent({
12627
- name: COMPONENT_NAME$p
12589
+ name: COMPONENT_NAME$o
12628
12590
  });
12629
12591
  const _sfc_main$2v = /* @__PURE__ */ vue.defineComponent({
12630
12592
  ...__default__$1Y,
@@ -12713,7 +12675,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12713
12675
  if (props.target) {
12714
12676
  target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
12715
12677
  if (!target.value)
12716
- throwError$1(COMPONENT_NAME$p, `Target does not exist: ${props.target}`);
12678
+ throwError(COMPONENT_NAME$o, `Target does not exist: ${props.target}`);
12717
12679
  } else {
12718
12680
  target.value = document.documentElement;
12719
12681
  }
@@ -12847,9 +12809,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
12847
12809
  visible.value = false;
12848
12810
  emit("close", evt);
12849
12811
  };
12850
- if (props.showAfter || props.hideAfter || props.autoClose) {
12851
- debugWarn("el-alert", "The `show-after`, `hide-after`, and `auto-close` attributes were removed after 2.11.8. Please use `v-if` and `v-show` to manually replace them, visit: https://github.com/element-plus/element-plus/pull/22560");
12852
- }
12812
+ if (props.showAfter || props.hideAfter || props.autoClose) ;
12853
12813
  return (_ctx, _cache) => {
12854
12814
  return vue.openBlock(), vue.createBlock(vue.Transition, {
12855
12815
  name: vue.unref(ns).b("fade"),
@@ -13057,10 +13017,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13057
13017
  }
13058
13018
  });
13059
13019
  const formEmits = {
13060
- validate: (prop, isValid, message) => (isArray$1(prop) || isString$2(prop)) && isBoolean(isValid) && isString$2(message)
13020
+ validate: (prop, isValid, message) => (isArray$1(prop) || isString$1(prop)) && isBoolean(isValid) && isString$1(message)
13061
13021
  };
13062
13022
 
13063
- const SCOPE$7 = "ElForm";
13064
13023
  function useFormLabelWidth() {
13065
13024
  const potentialLabelWidthArr = vue.ref([]);
13066
13025
  const autoLabelWidth = vue.computed(() => {
@@ -13071,9 +13030,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13071
13030
  });
13072
13031
  function getLabelWidthIndex(width) {
13073
13032
  const index = potentialLabelWidthArr.value.indexOf(width);
13074
- if (index === -1 && autoLabelWidth.value === "0") {
13075
- debugWarn(SCOPE$7, `unexpected width ${width}`);
13076
- }
13033
+ if (index === -1 && autoLabelWidth.value === "0") ;
13077
13034
  return index;
13078
13035
  }
13079
13036
  function registerLabelWidth(val, oldVal) {
@@ -13101,9 +13058,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13101
13058
  return normalized.length > 0 ? fields.filter((field) => field.propString && normalized.includes(field.propString)) : fields;
13102
13059
  };
13103
13060
 
13104
- const COMPONENT_NAME$o = "ElForm";
13061
+ const COMPONENT_NAME$n = "ElForm";
13105
13062
  const __default__$1V = vue.defineComponent({
13106
- name: COMPONENT_NAME$o
13063
+ name: COMPONENT_NAME$n
13107
13064
  });
13108
13065
  const _sfc_main$2s = /* @__PURE__ */ vue.defineComponent({
13109
13066
  ...__default__$1V,
@@ -13139,7 +13096,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13139
13096
  };
13140
13097
  const resetFields = (properties = []) => {
13141
13098
  if (!props.model) {
13142
- debugWarn(COMPONENT_NAME$o, "model is required for resetFields to work.");
13143
13099
  return;
13144
13100
  }
13145
13101
  filterFields(fields, properties).forEach((field) => field.resetField());
@@ -13149,9 +13105,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13149
13105
  };
13150
13106
  const isValidatable = vue.computed(() => {
13151
13107
  const hasModel = !!props.model;
13152
- if (!hasModel) {
13153
- debugWarn(COMPONENT_NAME$o, "model is required for validate to work.");
13154
- }
13155
13108
  return hasModel;
13156
13109
  });
13157
13110
  const obtainValidateFields = (props2) => {
@@ -13159,7 +13112,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13159
13112
  return [];
13160
13113
  const filteredFields = filterFields(fields, props2);
13161
13114
  if (!filteredFields.length) {
13162
- debugWarn(COMPONENT_NAME$o, "please pass correct props!");
13163
13115
  return [];
13164
13116
  }
13165
13117
  return filteredFields;
@@ -13190,7 +13142,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13190
13142
  };
13191
13143
  const validateField = async (modelProps = [], callback) => {
13192
13144
  let result = false;
13193
- const shouldThrow = !isFunction$2(callback);
13145
+ const shouldThrow = !isFunction$1(callback);
13194
13146
  try {
13195
13147
  result = await doValidateField(modelProps);
13196
13148
  if (result === true) {
@@ -13220,7 +13172,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
13220
13172
  };
13221
13173
  vue.watch(() => props.rules, () => {
13222
13174
  if (props.validateOnRuleChange) {
13223
- validate().catch((err) => debugWarn(err));
13175
+ validate().catch((err) => debugWarn());
13224
13176
  }
13225
13177
  }, { deep: true, flush: "post" });
13226
13178
  vue.provide(formContextKey, vue.reactive({
@@ -14350,9 +14302,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
14350
14302
  }
14351
14303
  });
14352
14304
 
14353
- const COMPONENT_NAME$n = "ElLabelWrap";
14305
+ const COMPONENT_NAME$m = "ElLabelWrap";
14354
14306
  var FormLabelWrap = vue.defineComponent({
14355
- name: COMPONENT_NAME$n,
14307
+ name: COMPONENT_NAME$m,
14356
14308
  props: {
14357
14309
  isAutoWidth: Boolean,
14358
14310
  updateAll: Boolean
@@ -14363,7 +14315,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
14363
14315
  const formContext = vue.inject(formContextKey, void 0);
14364
14316
  const formItemContext = vue.inject(formItemContextKey);
14365
14317
  if (!formItemContext)
14366
- throwError$1(COMPONENT_NAME$n, "usage: <el-form-item><label-wrap /></el-form-item>");
14318
+ throwError(COMPONENT_NAME$m, "usage: <el-form-item><label-wrap /></el-form-item>");
14367
14319
  const ns = useNamespace("form");
14368
14320
  const el = vue.ref();
14369
14321
  const computedWidth = vue.ref(0);
@@ -14603,7 +14555,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
14603
14555
  if (isResettingField || !props.prop) {
14604
14556
  return false;
14605
14557
  }
14606
- const hasCallback = isFunction$2(callback);
14558
+ const hasCallback = isFunction$1(callback);
14607
14559
  if (!validateEnabled.value) {
14608
14560
  callback == null ? void 0 : callback(false);
14609
14561
  return false;
@@ -14813,7 +14765,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
14813
14765
  }
14814
14766
  hiddenTextarea.value = "";
14815
14767
  const singleRowHeight = hiddenTextarea.scrollHeight - paddingSize;
14816
- if (isNumber$1(minRows)) {
14768
+ if (isNumber(minRows)) {
14817
14769
  let minHeight = singleRowHeight * minRows;
14818
14770
  if (boxSizing === "border-box") {
14819
14771
  minHeight = minHeight + paddingSize + borderSize;
@@ -14821,7 +14773,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
14821
14773
  height = Math.max(minHeight, height);
14822
14774
  result.minHeight = `${minHeight}px`;
14823
14775
  }
14824
- if (isNumber$1(maxRows)) {
14776
+ if (isNumber(maxRows)) {
14825
14777
  let maxHeight = singleRowHeight * maxRows;
14826
14778
  if (boxSizing === "border-box") {
14827
14779
  maxHeight = maxHeight + paddingSize + borderSize;
@@ -14938,9 +14890,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
14938
14890
  name: String
14939
14891
  });
14940
14892
  const inputEmits = {
14941
- [UPDATE_MODEL_EVENT]: (value) => isString$2(value),
14942
- input: (value) => isString$2(value),
14943
- change: (value, evt) => isString$2(value) && (evt instanceof Event || evt === void 0),
14893
+ [UPDATE_MODEL_EVENT]: (value) => isString$1(value),
14894
+ input: (value) => isString$1(value),
14895
+ change: (value, evt) => isString$1(value) && (evt instanceof Event || evt === void 0),
14944
14896
  focus: (evt) => evt instanceof FocusEvent,
14945
14897
  blur: (evt) => evt instanceof FocusEvent,
14946
14898
  clear: () => true,
@@ -14952,9 +14904,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
14952
14904
  compositionend: (evt) => evt instanceof CompositionEvent
14953
14905
  };
14954
14906
 
14955
- const COMPONENT_NAME$m = "ElInput";
14907
+ const COMPONENT_NAME$l = "ElInput";
14956
14908
  const __default__$1T = vue.defineComponent({
14957
- name: COMPONENT_NAME$m,
14909
+ name: COMPONENT_NAME$l,
14958
14910
  inheritAttrs: false
14959
14911
  });
14960
14912
  const _sfc_main$2q = /* @__PURE__ */ vue.defineComponent({
@@ -15004,7 +14956,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
15004
14956
  afterBlur() {
15005
14957
  var _a;
15006
14958
  if (props.validateEvent) {
15007
- (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "blur").catch((err) => debugWarn(err));
14959
+ (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "blur").catch((err) => debugWarn());
15008
14960
  }
15009
14961
  }
15010
14962
  });
@@ -15175,7 +15127,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
15175
15127
  var _a;
15176
15128
  vue.nextTick(() => resizeTextarea());
15177
15129
  if (props.validateEvent) {
15178
- (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn(err));
15130
+ (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
15179
15131
  }
15180
15132
  });
15181
15133
  vue.watch(nativeInputValue, (newValue) => {
@@ -15201,9 +15153,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
15201
15153
  resizeTextarea();
15202
15154
  });
15203
15155
  vue.onMounted(() => {
15204
- if (!props.formatter && props.parser) {
15205
- debugWarn(COMPONENT_NAME$m, "If you set the parser, you also need to set the formatter.");
15206
- }
15156
+ if (!props.formatter && props.parser) ;
15207
15157
  setNativeInputValue();
15208
15158
  vue.nextTick(resizeTextarea);
15209
15159
  });
@@ -15465,7 +15415,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
15465
15415
  always: Boolean
15466
15416
  });
15467
15417
 
15468
- const COMPONENT_NAME$l = "Thumb";
15418
+ const COMPONENT_NAME$k = "Thumb";
15469
15419
  const _sfc_main$2p = /* @__PURE__ */ vue.defineComponent({
15470
15420
  __name: "thumb",
15471
15421
  props: thumbProps,
@@ -15474,7 +15424,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
15474
15424
  const scrollbar = vue.inject(scrollbarContextKey);
15475
15425
  const ns = useNamespace("scrollbar");
15476
15426
  if (!scrollbar)
15477
- throwError$1(COMPONENT_NAME$l, "can not inject scrollbar context");
15427
+ throwError(COMPONENT_NAME$k, "can not inject scrollbar context");
15478
15428
  const instance = vue.ref();
15479
15429
  const thumb = vue.ref();
15480
15430
  const thumbState = vue.ref({});
@@ -15721,12 +15671,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
15721
15671
  scroll: ({
15722
15672
  scrollTop,
15723
15673
  scrollLeft
15724
- }) => [scrollTop, scrollLeft].every(isNumber$1)
15674
+ }) => [scrollTop, scrollLeft].every(isNumber)
15725
15675
  };
15726
15676
 
15727
- const COMPONENT_NAME$k = "ElScrollbar";
15677
+ const COMPONENT_NAME$j = "ElScrollbar";
15728
15678
  const __default__$1S = vue.defineComponent({
15729
- name: COMPONENT_NAME$k
15679
+ name: COMPONENT_NAME$j
15730
15680
  });
15731
15681
  const _sfc_main$2n = /* @__PURE__ */ vue.defineComponent({
15732
15682
  ...__default__$1S,
@@ -15831,20 +15781,18 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
15831
15781
  function scrollTo(arg1, arg2) {
15832
15782
  if (isObject$1(arg1)) {
15833
15783
  wrapRef.value.scrollTo(arg1);
15834
- } else if (isNumber$1(arg1) && isNumber$1(arg2)) {
15784
+ } else if (isNumber(arg1) && isNumber(arg2)) {
15835
15785
  wrapRef.value.scrollTo(arg1, arg2);
15836
15786
  }
15837
15787
  }
15838
15788
  const setScrollTop = (value) => {
15839
- if (!isNumber$1(value)) {
15840
- debugWarn(COMPONENT_NAME$k, "value must be a number");
15789
+ if (!isNumber(value)) {
15841
15790
  return;
15842
15791
  }
15843
15792
  wrapRef.value.scrollTop = value;
15844
15793
  };
15845
15794
  const setScrollLeft = (value) => {
15846
- if (!isNumber$1(value)) {
15847
- debugWarn(COMPONENT_NAME$k, "value must be a number");
15795
+ if (!isNumber(value)) {
15848
15796
  return;
15849
15797
  }
15850
15798
  wrapRef.value.scrollLeft = value;
@@ -16046,12 +15994,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16046
15994
  return null;
16047
15995
  const [firstLegitNode, length] = findFirstLegitChild(defaultSlot);
16048
15996
  if (!firstLegitNode) {
16049
- debugWarn(NAME, "no valid child node found");
16050
15997
  return null;
16051
15998
  }
16052
- if (length > 1) {
16053
- debugWarn(NAME, "requires exact only one valid child.");
16054
- }
16055
15999
  return vue.withDirectives(vue.cloneVNode(firstLegitNode, attrs), [[forwardRefDirective]]);
16056
16000
  };
16057
16001
  }
@@ -16167,7 +16111,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16167
16111
  vue.watch(triggerRef, (el, prevEl) => {
16168
16112
  virtualTriggerAriaStopWatch == null ? void 0 : virtualTriggerAriaStopWatch();
16169
16113
  virtualTriggerAriaStopWatch = void 0;
16170
- if (isElement$3(prevEl)) {
16114
+ if (isElement$2(prevEl)) {
16171
16115
  TRIGGER_ELE_EVENTS.forEach((eventName) => {
16172
16116
  const handler = props[eventName];
16173
16117
  if (handler) {
@@ -16175,7 +16119,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16175
16119
  }
16176
16120
  });
16177
16121
  }
16178
- if (isElement$3(el)) {
16122
+ if (isElement$2(el)) {
16179
16123
  TRIGGER_ELE_EVENTS.forEach((eventName) => {
16180
16124
  const handler = props[eventName];
16181
16125
  if (handler) {
@@ -16195,7 +16139,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16195
16139
  }, { immediate: true });
16196
16140
  }
16197
16141
  }
16198
- if (isElement$3(prevEl) && isFocusable(prevEl)) {
16142
+ if (isElement$2(prevEl) && isFocusable(prevEl)) {
16199
16143
  [
16200
16144
  "aria-controls",
16201
16145
  "aria-describedby",
@@ -16210,7 +16154,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16210
16154
  vue.onBeforeUnmount(() => {
16211
16155
  virtualTriggerAriaStopWatch == null ? void 0 : virtualTriggerAriaStopWatch();
16212
16156
  virtualTriggerAriaStopWatch = void 0;
16213
- if (triggerRef.value && isElement$3(triggerRef.value)) {
16157
+ if (triggerRef.value && isElement$2(triggerRef.value)) {
16214
16158
  const el = triggerRef.value;
16215
16159
  TRIGGER_ELE_EVENTS.forEach((eventName) => {
16216
16160
  const handler = props[eventName];
@@ -16281,8 +16225,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16281
16225
  }
16282
16226
  };
16283
16227
  const isHidden = (element, container) => {
16284
- if (typeof process !== "undefined" && false)
16285
- return false;
16286
16228
  if (getComputedStyle(element).visibility === "hidden")
16287
16229
  return true;
16288
16230
  while (element) {
@@ -16570,7 +16512,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16570
16512
  if (!focusEvent.defaultPrevented) {
16571
16513
  vue.nextTick(() => {
16572
16514
  let focusStartEl = props.focusStartEl;
16573
- if (!isString$2(focusStartEl)) {
16515
+ if (!isString$1(focusStartEl)) {
16574
16516
  tryFocus(focusStartEl);
16575
16517
  if (document.activeElement !== focusStartEl) {
16576
16518
  focusStartEl = "first";
@@ -16867,7 +16809,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16867
16809
  const { nextZIndex } = useZIndex();
16868
16810
  const ns = useNamespace("popper");
16869
16811
  const contentAttrs = vue.computed(() => vue.unref(attributes).popper);
16870
- const contentZIndex = vue.ref(isNumber$1(props.zIndex) ? props.zIndex : nextZIndex());
16812
+ const contentZIndex = vue.ref(isNumber(props.zIndex) ? props.zIndex : nextZIndex());
16871
16813
  const contentClass = vue.computed(() => [
16872
16814
  ns.b(),
16873
16815
  ns.is("pure", props.pure),
@@ -16884,7 +16826,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
16884
16826
  const ariaModal = vue.computed(() => role.value === "dialog" ? "false" : void 0);
16885
16827
  const arrowStyle = vue.computed(() => vue.unref(styles).arrow || {});
16886
16828
  const updateZIndex = () => {
16887
- contentZIndex.value = isNumber$1(props.zIndex) ? props.zIndex : nextZIndex();
16829
+ contentZIndex.value = isNumber(props.zIndex) ? props.zIndex : nextZIndex();
16888
16830
  };
16889
16831
  return {
16890
16832
  ariaModal,
@@ -17006,14 +16948,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
17006
16948
  triggerTargetAriaStopWatch = void 0;
17007
16949
  const el = vue.unref(triggerTargetEl || contentRef.value);
17008
16950
  const prevEl = vue.unref(prevTriggerTargetEl || contentRef.value);
17009
- if (isElement$3(el)) {
16951
+ if (isElement$2(el)) {
17010
16952
  triggerTargetAriaStopWatch = vue.watch([role, () => props.ariaLabel, ariaModal, () => props.id], (watches) => {
17011
16953
  ["role", "aria-label", "aria-modal", "id"].forEach((key, idx) => {
17012
16954
  isNil(watches[idx]) ? el.removeAttribute(key) : el.setAttribute(key, watches[idx]);
17013
16955
  });
17014
16956
  }, { immediate: true });
17015
16957
  }
17016
- if (prevEl !== el && isElement$3(prevEl)) {
16958
+ if (prevEl !== el && isElement$2(prevEl)) {
17017
16959
  ["role", "aria-label", "aria-modal", "id"].forEach((key) => {
17018
16960
  prevEl.removeAttribute(key);
17019
16961
  });
@@ -17640,18 +17582,18 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
17640
17582
  }
17641
17583
  });
17642
17584
  const autocompleteEmits = {
17643
- [UPDATE_MODEL_EVENT]: (value) => isString$2(value) || isNumber$1(value),
17644
- [INPUT_EVENT]: (value) => isString$2(value) || isNumber$1(value),
17645
- [CHANGE_EVENT]: (value) => isString$2(value) || isNumber$1(value),
17585
+ [UPDATE_MODEL_EVENT]: (value) => isString$1(value) || isNumber(value),
17586
+ [INPUT_EVENT]: (value) => isString$1(value) || isNumber(value),
17587
+ [CHANGE_EVENT]: (value) => isString$1(value) || isNumber(value),
17646
17588
  focus: (evt) => evt instanceof FocusEvent,
17647
17589
  blur: (evt) => evt instanceof FocusEvent,
17648
17590
  clear: () => true,
17649
17591
  select: (item) => isObject$1(item)
17650
17592
  };
17651
17593
 
17652
- const COMPONENT_NAME$j = "ElAutocomplete";
17594
+ const COMPONENT_NAME$i = "ElAutocomplete";
17653
17595
  const __default__$1K = vue.defineComponent({
17654
- name: COMPONENT_NAME$j,
17596
+ name: COMPONENT_NAME$i,
17655
17597
  inheritAttrs: false
17656
17598
  });
17657
17599
  const _sfc_main$2d = /* @__PURE__ */ vue.defineComponent({
@@ -17708,7 +17650,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
17708
17650
  suggestions.value = suggestionList;
17709
17651
  highlightedIndex.value = props.highlightFirstItem ? 0 : -1;
17710
17652
  } else {
17711
- throwError$1(COMPONENT_NAME$j, "autocomplete suggestions must be an array");
17653
+ throwError(COMPONENT_NAME$i, "autocomplete suggestions must be an array");
17712
17654
  }
17713
17655
  };
17714
17656
  loading.value = true;
@@ -18084,7 +18026,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
18084
18026
  type: [Number, String],
18085
18027
  values: componentSizes,
18086
18028
  default: "",
18087
- validator: (val) => isNumber$1(val)
18029
+ validator: (val) => isNumber(val)
18088
18030
  },
18089
18031
  shape: {
18090
18032
  type: String,
@@ -18123,7 +18065,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
18123
18065
  const avatarClass = vue.computed(() => {
18124
18066
  const { size, icon, shape } = props;
18125
18067
  const classList = [ns.b()];
18126
- if (isString$2(size))
18068
+ if (isString$1(size))
18127
18069
  classList.push(ns.m(size));
18128
18070
  if (icon)
18129
18071
  classList.push(ns.m("icon"));
@@ -18133,7 +18075,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
18133
18075
  });
18134
18076
  const sizeStyle = vue.computed(() => {
18135
18077
  const { size } = props;
18136
- return isNumber$1(size) ? ns.cssVarBlock({
18078
+ return isNumber(size) ? ns.cssVarBlock({
18137
18079
  size: addUnit(size)
18138
18080
  }) : void 0;
18139
18081
  });
@@ -18215,7 +18157,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
18215
18157
  if (props.target) {
18216
18158
  el.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
18217
18159
  if (!el.value) {
18218
- throwError$1(componentName, `target does not exist: ${props.target}`);
18160
+ throwError(componentName, `target does not exist: ${props.target}`);
18219
18161
  }
18220
18162
  container.value = el.value;
18221
18163
  }
@@ -18227,9 +18169,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
18227
18169
  };
18228
18170
  };
18229
18171
 
18230
- const COMPONENT_NAME$i = "ElBacktop";
18172
+ const COMPONENT_NAME$h = "ElBacktop";
18231
18173
  const __default__$1I = vue.defineComponent({
18232
- name: COMPONENT_NAME$i
18174
+ name: COMPONENT_NAME$h
18233
18175
  });
18234
18176
  const _sfc_main$2b = /* @__PURE__ */ vue.defineComponent({
18235
18177
  ...__default__$1I,
@@ -18238,7 +18180,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
18238
18180
  setup(__props, { emit }) {
18239
18181
  const props = __props;
18240
18182
  const ns = useNamespace("backtop");
18241
- const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME$i);
18183
+ const { handleClick, visible } = useBackTop(props, emit, COMPONENT_NAME$h);
18242
18184
  const backTopStyle = vue.computed(() => ({
18243
18185
  right: `${props.right}px`,
18244
18186
  bottom: `${props.bottom}px`
@@ -18320,7 +18262,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
18320
18262
  const content = vue.computed(() => {
18321
18263
  if (props.isDot)
18322
18264
  return "";
18323
- if (isNumber$1(props.value) && isNumber$1(props.max)) {
18265
+ if (isNumber(props.value) && isNumber(props.max)) {
18324
18266
  return props.max < props.value ? `${props.max}+` : `${props.value}`;
18325
18267
  }
18326
18268
  return `${props.value}`;
@@ -20637,7 +20579,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
20637
20579
  handleChange();
20638
20580
  pickerVisible.value = false;
20639
20581
  hasJustTabExitedInput = false;
20640
- props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn(err)));
20582
+ props.validateEvent && (formItem == null ? void 0 : formItem.validate("blur").catch((err) => debugWarn()));
20641
20583
  }
20642
20584
  });
20643
20585
  const hovering = vue.ref(false);
@@ -20674,7 +20616,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
20674
20616
  if (isClear || !valueEquals(val, valueOnOpen.value)) {
20675
20617
  emit(CHANGE_EVENT, val);
20676
20618
  isClear && (valueOnOpen.value = val);
20677
- props.validateEvent && (formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err)));
20619
+ props.validateEvent && (formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn()));
20678
20620
  }
20679
20621
  };
20680
20622
  const emitKeydown = (e) => {
@@ -21262,7 +21204,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21262
21204
  let excludes = [];
21263
21205
  if (isArray$1(binding.arg)) {
21264
21206
  excludes = binding.arg;
21265
- } else if (isElement$3(binding.arg)) {
21207
+ } else if (isElement$2(binding.arg)) {
21266
21208
  excludes.push(binding.arg);
21267
21209
  }
21268
21210
  return function(mouseup, mousedown) {
@@ -21314,14 +21256,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21314
21256
 
21315
21257
  const REPEAT_INTERVAL = 100;
21316
21258
  const REPEAT_DELAY = 600;
21317
- const SCOPE$6 = "_RepeatClick";
21259
+ const SCOPE$5 = "_RepeatClick";
21318
21260
  const vRepeatClick = {
21319
21261
  beforeMount(el, binding) {
21320
21262
  const value = binding.value;
21321
- const { interval = REPEAT_INTERVAL, delay = REPEAT_DELAY } = isFunction$2(value) ? {} : value;
21263
+ const { interval = REPEAT_INTERVAL, delay = REPEAT_DELAY } = isFunction$1(value) ? {} : value;
21322
21264
  let intervalId;
21323
21265
  let delayId;
21324
- const handler = () => isFunction$2(value) ? value() : value.handler();
21266
+ const handler = () => isFunction$1(value) ? value() : value.handler();
21325
21267
  const clear = () => {
21326
21268
  if (delayId) {
21327
21269
  clearTimeout(delayId);
@@ -21344,13 +21286,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21344
21286
  }, interval);
21345
21287
  }, delay);
21346
21288
  };
21347
- el[SCOPE$6] = { start, clear };
21289
+ el[SCOPE$5] = { start, clear };
21348
21290
  el.addEventListener("mousedown", start);
21349
21291
  },
21350
21292
  unmounted(el) {
21351
- if (!el[SCOPE$6])
21293
+ if (!el[SCOPE$5])
21352
21294
  return;
21353
- const { start, clear } = el[SCOPE$6];
21295
+ const { start, clear } = el[SCOPE$5];
21354
21296
  if (start) {
21355
21297
  el.removeEventListener("mousedown", start);
21356
21298
  }
@@ -21358,7 +21300,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21358
21300
  clear();
21359
21301
  document.removeEventListener("mouseup", clear);
21360
21302
  }
21361
- el[SCOPE$6] = null;
21303
+ el[SCOPE$5] = null;
21362
21304
  }
21363
21305
  };
21364
21306
 
@@ -21388,12 +21330,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21388
21330
  e.preventDefault();
21389
21331
  focusableElement[0].focus();
21390
21332
  }
21391
- if (typeof process !== "undefined" && false) {
21392
- const index = focusableElement.indexOf(e.target);
21393
- if (index !== -1) {
21394
- (_a = focusableElement[goingBackward ? index - 1 : index + 1]) == null ? void 0 : _a.focus();
21395
- }
21396
- }
21397
21333
  }
21398
21334
  };
21399
21335
  const TrapFocus = {
@@ -21432,7 +21368,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21432
21368
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
21433
21369
  */
21434
21370
 
21435
- const SCOPE$5 = "_Mousewheel";
21371
+ const SCOPE$4 = "_Mousewheel";
21436
21372
  const mousewheel = function(element, callback) {
21437
21373
  if (element && element.addEventListener) {
21438
21374
  removeWheelHandler(element);
@@ -21440,15 +21376,15 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21440
21376
  const normalized = Y(event);
21441
21377
  callback && Reflect.apply(callback, this, [event, normalized]);
21442
21378
  };
21443
- element[SCOPE$5] = { wheelHandler: fn };
21379
+ element[SCOPE$4] = { wheelHandler: fn };
21444
21380
  element.addEventListener("wheel", fn, { passive: true });
21445
21381
  }
21446
21382
  };
21447
21383
  const removeWheelHandler = (element) => {
21448
21384
  var _a;
21449
- if ((_a = element[SCOPE$5]) == null ? void 0 : _a.wheelHandler) {
21450
- element.removeEventListener("wheel", element[SCOPE$5].wheelHandler);
21451
- element[SCOPE$5] = null;
21385
+ if ((_a = element[SCOPE$4]) == null ? void 0 : _a.wheelHandler) {
21386
+ element.removeEventListener("wheel", element[SCOPE$4].wheelHandler);
21387
+ element[SCOPE$4] = null;
21452
21388
  }
21453
21389
  };
21454
21390
  const Mousewheel = {
@@ -21773,7 +21709,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
21773
21709
  vue.unref(ns).is("disabled", vue.unref(timeList)[item][time])
21774
21710
  ])
21775
21711
  }, [
21776
- vue.unref(isNumber$1)(time) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
21712
+ vue.unref(isNumber)(time) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
21777
21713
  item === "hours" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
21778
21714
  vue.createTextVNode(vue.toDisplayString(("0" + (_ctx.amPmMode ? time % 12 || 12 : time)).slice(-2)) + vue.toDisplayString(getAmPmFlag(time)), 1)
21779
21715
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
@@ -22612,14 +22548,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
22612
22548
  const rangeArrDayjs = props.range.map((_) => dayjs(_).locale(lang.value));
22613
22549
  const [startDayjs, endDayjs] = rangeArrDayjs;
22614
22550
  if (startDayjs.isAfter(endDayjs)) {
22615
- debugWarn(componentName, "end time should be greater than start time");
22616
22551
  return [];
22617
22552
  }
22618
22553
  if (startDayjs.isSame(endDayjs, "month")) {
22619
22554
  return calculateValidatedDateRange(startDayjs, endDayjs);
22620
22555
  } else {
22621
22556
  if (startDayjs.add(1, "month").month() !== endDayjs.month()) {
22622
- debugWarn(componentName, "start time and end time interval must not exceed two months");
22623
22557
  return [];
22624
22558
  }
22625
22559
  return calculateValidatedDateRange(startDayjs, endDayjs);
@@ -22648,7 +22582,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
22648
22582
  } else if (firstMonth + 2 === lastMonth || (firstMonth + 1) % 11 === lastMonth) {
22649
22583
  return threeConsecutiveMonth(firstDay, lastDay);
22650
22584
  } else {
22651
- debugWarn(componentName, "start time and end time interval must not exceed two months");
22652
22585
  return [];
22653
22586
  }
22654
22587
  };
@@ -22693,9 +22626,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
22693
22626
  [INPUT_EVENT]: (value) => isDate$1(value)
22694
22627
  };
22695
22628
 
22696
- const COMPONENT_NAME$h = "ElCalendar";
22629
+ const COMPONENT_NAME$g = "ElCalendar";
22697
22630
  const __default__$1z = vue.defineComponent({
22698
- name: COMPONENT_NAME$h
22631
+ name: COMPONENT_NAME$g
22699
22632
  });
22700
22633
  const _sfc_main$1$ = /* @__PURE__ */ vue.defineComponent({
22701
22634
  ...__default__$1z,
@@ -22711,7 +22644,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
22711
22644
  realSelectedDay,
22712
22645
  selectDate,
22713
22646
  validatedRange
22714
- } = useCalendar(props, emit, COMPONENT_NAME$h);
22647
+ } = useCalendar(props, emit);
22715
22648
  const { t } = useLocale();
22716
22649
  const i18nDate = vue.computed(() => {
22717
22650
  const pickedMonth = `el.datepicker.month${date.value.format("M")}`;
@@ -22951,7 +22884,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
22951
22884
  motionBlur: Boolean
22952
22885
  });
22953
22886
  const carouselEmits = {
22954
- change: (current, prev) => [current, prev].every(isNumber$1)
22887
+ change: (current, prev) => [current, prev].every(isNumber)
22955
22888
  };
22956
22889
 
22957
22890
  const carouselContextKey = Symbol("carouselContextKey");
@@ -23019,7 +22952,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
23019
22952
  }
23020
22953
  };
23021
22954
  function setActiveItem(index) {
23022
- if (isString$2(index)) {
22955
+ if (isString$1(index)) {
23023
22956
  const filteredItems = items.value.filter((item) => item.props.name === index);
23024
22957
  if (filteredItems.length > 0) {
23025
22958
  index = items.value.indexOf(filteredItems[0]);
@@ -23027,7 +22960,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
23027
22960
  }
23028
22961
  index = Number(index);
23029
22962
  if (Number.isNaN(index) || index !== Math.floor(index)) {
23030
- debugWarn(componentName, "index must be integer.");
23031
22963
  return;
23032
22964
  }
23033
22965
  const itemCount = items.value.length;
@@ -23218,9 +23150,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
23218
23150
  };
23219
23151
  };
23220
23152
 
23221
- const COMPONENT_NAME$g = "ElCarousel";
23153
+ const COMPONENT_NAME$f = "ElCarousel";
23222
23154
  const __default__$1x = vue.defineComponent({
23223
- name: COMPONENT_NAME$g
23155
+ name: COMPONENT_NAME$f
23224
23156
  });
23225
23157
  const _sfc_main$1Z = /* @__PURE__ */ vue.defineComponent({
23226
23158
  ...__default__$1x,
@@ -23252,7 +23184,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
23252
23184
  ItemsSorter,
23253
23185
  throttledArrowClick,
23254
23186
  throttledIndicatorHover
23255
- } = useCarousel(props, emit, COMPONENT_NAME$g);
23187
+ } = useCarousel(props, emit);
23256
23188
  const ns = useNamespace("carousel");
23257
23189
  const { t } = useLocale();
23258
23190
  const carouselClasses = vue.computed(() => {
@@ -23434,12 +23366,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
23434
23366
  const useCarouselItem = (props) => {
23435
23367
  const carouselContext = vue.inject(carouselContextKey);
23436
23368
  const instance = vue.getCurrentInstance();
23437
- if (!carouselContext) {
23438
- debugWarn(CAROUSEL_ITEM_NAME, "usage: <el-carousel></el-carousel-item></el-carousel>");
23439
- }
23440
- if (!instance) {
23441
- debugWarn(CAROUSEL_ITEM_NAME, "compositional hook can only be invoked inside setups");
23442
- }
23443
23369
  const carouselItemRef = vue.ref();
23444
23370
  const hover = vue.ref(false);
23445
23371
  const translate = vue.ref(0);
@@ -23672,8 +23598,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
23672
23598
  ...useAriaProps(["ariaControls"])
23673
23599
  };
23674
23600
  const checkboxEmits = {
23675
- [UPDATE_MODEL_EVENT]: (val) => isString$2(val) || isNumber$1(val) || isBoolean(val),
23676
- change: (val) => isString$2(val) || isNumber$1(val) || isBoolean(val)
23601
+ [UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val),
23602
+ change: (val) => isString$1(val) || isNumber(val) || isBoolean(val)
23677
23603
  };
23678
23604
 
23679
23605
  const checkboxGroupContextKey = Symbol("checkboxGroupContextKey");
@@ -23743,7 +23669,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
23743
23669
  const validateEvent = vue.computed(() => (checkboxGroup == null ? void 0 : checkboxGroup.validateEvent) || props.validateEvent);
23744
23670
  vue.watch(() => props.modelValue, () => {
23745
23671
  if (validateEvent.value) {
23746
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
23672
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
23747
23673
  }
23748
23674
  });
23749
23675
  return {
@@ -24198,7 +24124,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
24198
24124
  });
24199
24125
  vue.watch(() => props.modelValue, (newVal, oldValue) => {
24200
24126
  if (props.validateEvent && !isEqual$1(newVal, oldValue)) {
24201
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
24127
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
24202
24128
  }
24203
24129
  });
24204
24130
  return (_ctx, _cache) => {
@@ -24259,8 +24185,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
24259
24185
  border: Boolean
24260
24186
  });
24261
24187
  const radioEmits = {
24262
- [UPDATE_MODEL_EVENT]: (val) => isString$2(val) || isNumber$1(val) || isBoolean(val),
24263
- [CHANGE_EVENT]: (val) => isString$2(val) || isNumber$1(val) || isBoolean(val)
24188
+ [UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val),
24189
+ [CHANGE_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val)
24264
24190
  };
24265
24191
 
24266
24192
  const radioGroupKey = Symbol("radioGroupKey");
@@ -24551,7 +24477,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
24551
24477
  }));
24552
24478
  vue.watch(() => props.modelValue, (newVal, oldValue) => {
24553
24479
  if (props.validateEvent && !isEqual$1(newVal, oldValue)) {
24554
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
24480
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
24555
24481
  }
24556
24482
  });
24557
24483
  return (_ctx, _cache) => {
@@ -24954,13 +24880,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
24954
24880
  get isDisabled() {
24955
24881
  const { data, parent, config } = this;
24956
24882
  const { disabled, checkStrictly } = config;
24957
- const isDisabled = isFunction$2(disabled) ? disabled(data, this) : !!data[disabled];
24883
+ const isDisabled = isFunction$1(disabled) ? disabled(data, this) : !!data[disabled];
24958
24884
  return isDisabled || !checkStrictly && !!(parent == null ? void 0 : parent.isDisabled);
24959
24885
  }
24960
24886
  get isLeaf() {
24961
24887
  const { data, config, childrenData, loaded } = this;
24962
24888
  const { lazy, leaf } = config;
24963
- const isLeaf = isFunction$2(leaf) ? leaf(data, this) : data[leaf];
24889
+ const isLeaf = isFunction$1(leaf) ? leaf(data, this) : data[leaf];
24964
24890
  return isUndefined(isLeaf) ? lazy && !loaded ? false : !(isArray$1(childrenData) && childrenData.length) : !!isLeaf;
24965
24891
  }
24966
24892
  get valueByOption() {
@@ -25784,7 +25710,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
25784
25710
  afterBlur() {
25785
25711
  var _a;
25786
25712
  if (props.validateEvent) {
25787
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn(err));
25713
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn());
25788
25714
  }
25789
25715
  }
25790
25716
  });
@@ -25808,7 +25734,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
25808
25734
  emit(UPDATE_MODEL_EVENT, value);
25809
25735
  emit(CHANGE_EVENT, value);
25810
25736
  if (props.validateEvent) {
25811
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
25737
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
25812
25738
  }
25813
25739
  }
25814
25740
  });
@@ -26575,7 +26501,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
26575
26501
  const pos = ["span", "offset", "pull", "push"];
26576
26502
  pos.forEach((prop) => {
26577
26503
  const size = props[prop];
26578
- if (isNumber$1(size)) {
26504
+ if (isNumber(size)) {
26579
26505
  if (prop === "span")
26580
26506
  classes.push(ns.b(`${props[prop]}`));
26581
26507
  else if (size > 0)
@@ -26584,7 +26510,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
26584
26510
  });
26585
26511
  const sizes = ["xs", "sm", "md", "lg", "xl"];
26586
26512
  sizes.forEach((size) => {
26587
- if (isNumber$1(props[size])) {
26513
+ if (isNumber(props[size])) {
26588
26514
  classes.push(ns.b(`${size}-${props[size]}`));
26589
26515
  } else if (isObject$1(props[size])) {
26590
26516
  Object.entries(props[size]).forEach(([prop, sizeProp]) => {
@@ -26614,7 +26540,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
26614
26540
 
26615
26541
  const ElCol = withInstall(Col);
26616
26542
 
26617
- const emitChangeFn = (value) => isNumber$1(value) || isString$2(value) || isArray$1(value);
26543
+ const emitChangeFn = (value) => isNumber(value) || isString$1(value) || isArray$1(value);
26618
26544
  const collapseProps = buildProps({
26619
26545
  accordion: Boolean,
26620
26546
  modelValue: {
@@ -26636,7 +26562,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
26636
26562
 
26637
26563
  const collapseContextKey = Symbol("collapseContextKey");
26638
26564
 
26639
- const SCOPE$4 = "ElCollapse";
26565
+ const SCOPE$3 = "ElCollapse";
26640
26566
  const useCollapse = (props, emit) => {
26641
26567
  const activeNames = vue.ref(castArray$1(props.modelValue));
26642
26568
  const setActiveNames = (_activeNames) => {
@@ -26671,7 +26597,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
26671
26597
  isBoolean(shouldChange)
26672
26598
  ].includes(true);
26673
26599
  if (!isPromiseOrBool) {
26674
- throwError$1(SCOPE$4, "beforeCollapse must return type `Promise<boolean>` or `boolean`");
26600
+ throwError(SCOPE$3, "beforeCollapse must return type `Promise<boolean>` or `boolean`");
26675
26601
  }
26676
26602
  if (isPromise(shouldChange)) {
26677
26603
  shouldChange.then((result) => {
@@ -26679,7 +26605,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
26679
26605
  handleChange(name);
26680
26606
  }
26681
26607
  }).catch((e) => {
26682
- debugWarn(SCOPE$4, `some error occurred: ${e}`);
26683
26608
  });
26684
26609
  } else if (shouldChange) {
26685
26610
  handleChange(name);
@@ -27397,7 +27322,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
27397
27322
  }
27398
27323
  });
27399
27324
  const colorPickerPanelEmits = {
27400
- [UPDATE_MODEL_EVENT]: (val) => isString$2(val) || isNil(val)
27325
+ [UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNil(val)
27401
27326
  };
27402
27327
  const ROOT_COMMON_COLOR_INJECTION_KEY = Symbol("colorCommonPickerKey");
27403
27328
  const colorPickerPanelContextKey = Symbol("colorPickerPanelContextKey");
@@ -27843,7 +27768,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
27843
27768
  function handleFocusout() {
27844
27769
  var _a;
27845
27770
  if (props.validateEvent) {
27846
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn(err));
27771
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn());
27847
27772
  }
27848
27773
  }
27849
27774
  function update() {
@@ -27867,7 +27792,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
27867
27792
  emit(UPDATE_MODEL_EVENT, val);
27868
27793
  customInput.value = val;
27869
27794
  if (props.validateEvent) {
27870
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
27795
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
27871
27796
  }
27872
27797
  });
27873
27798
  vue.provide(colorPickerPanelContextKey, {
@@ -27975,9 +27900,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
27975
27900
  ...useAriaProps(["ariaLabel"])
27976
27901
  });
27977
27902
  const colorPickerEmits = {
27978
- [UPDATE_MODEL_EVENT]: (val) => isString$2(val) || isNil(val),
27979
- [CHANGE_EVENT]: (val) => isString$2(val) || isNil(val),
27980
- activeChange: (val) => isString$2(val) || isNil(val),
27903
+ [UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNil(val),
27904
+ [CHANGE_EVENT]: (val) => isString$1(val) || isNil(val),
27905
+ activeChange: (val) => isString$1(val) || isNil(val),
27981
27906
  focus: (evt) => evt instanceof FocusEvent,
27982
27907
  blur: (evt) => evt instanceof FocusEvent
27983
27908
  };
@@ -28018,7 +27943,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
28018
27943
  setShowPicker(false);
28019
27944
  resetColor();
28020
27945
  if (props.validateEvent) {
28021
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn(err));
27946
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn());
28022
27947
  }
28023
27948
  }
28024
27949
  });
@@ -28092,7 +28017,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
28092
28017
  emit(UPDATE_MODEL_EVENT, value);
28093
28018
  emit(CHANGE_EVENT, value);
28094
28019
  if (props.validateEvent) {
28095
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
28020
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
28096
28021
  }
28097
28022
  debounceSetShowPicker(false);
28098
28023
  vue.nextTick(() => {
@@ -28111,7 +28036,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
28111
28036
  emit(UPDATE_MODEL_EVENT, valueOnClear.value);
28112
28037
  emit(CHANGE_EVENT, valueOnClear.value);
28113
28038
  if (props.modelValue !== valueOnClear.value && props.validateEvent) {
28114
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
28039
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
28115
28040
  }
28116
28041
  resetColor();
28117
28042
  }
@@ -28868,7 +28793,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
28868
28793
  if (isArray$1(value)) {
28869
28794
  return value.map((v) => correctlyParseUserInput(v, format, lang, defaultFormat));
28870
28795
  }
28871
- if (isString$2(value)) {
28796
+ if (isString$1(value)) {
28872
28797
  const dayjsValue = (defaultFormat == null ? void 0 : defaultFormat.value) ? dayjs(value) : dayjs(value, format);
28873
28798
  if (!dayjsValue.isValid()) {
28874
28799
  return dayjsValue;
@@ -29883,7 +29808,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
29883
29808
  return `${year.value} ${yearTranslation}`;
29884
29809
  });
29885
29810
  const handleShortcutClick = (shortcut) => {
29886
- const shortcutValue = isFunction$2(shortcut.value) ? shortcut.value() : shortcut.value;
29811
+ const shortcutValue = isFunction$1(shortcut.value) ? shortcut.value() : shortcut.value;
29887
29812
  if (shortcutValue) {
29888
29813
  isShortcut = true;
29889
29814
  emit(dayjs(shortcutValue).locale(lang.value));
@@ -30164,7 +30089,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
30164
30089
  const map = mapping[keyboardMode.value];
30165
30090
  if (!map)
30166
30091
  return;
30167
- map.offset(newDate, isFunction$2(map[code]) ? map[code](newDate) : (_a = map[code]) != null ? _a : 0);
30092
+ map.offset(newDate, isFunction$1(map[code]) ? map[code](newDate) : (_a = map[code]) != null ? _a : 0);
30168
30093
  if (disabledDate && disabledDate(newDate)) {
30169
30094
  break;
30170
30095
  }
@@ -30485,7 +30410,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
30485
30410
  const attrs = vue.useAttrs();
30486
30411
  const slots = vue.useSlots();
30487
30412
  const handleShortcutClick = (shortcut) => {
30488
- const shortcutValues = isFunction$2(shortcut.value) ? shortcut.value() : shortcut.value;
30413
+ const shortcutValues = isFunction$1(shortcut.value) ? shortcut.value() : shortcut.value;
30489
30414
  if (shortcutValues) {
30490
30415
  emit("pick", [
30491
30416
  dayjs(shortcutValues[0]).locale(lang.value),
@@ -32297,6 +32222,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
32297
32222
  "onUpdate:modelValue": onModelValueUpdated
32298
32223
  }), {
32299
32224
  default: (scopedProps) => vue.createVNode(ElDatePickerPanel, vue.mergeProps({
32225
+ "disabled": props.disabled,
32300
32226
  "border": false
32301
32227
  }, scopedProps), _isSlot$6(slots) ? slots : {
32302
32228
  default: () => [slots]
@@ -32508,7 +32434,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
32508
32434
  }
32509
32435
  });
32510
32436
 
32511
- const COMPONENT_NAME$f = "ElDescriptionsItem";
32437
+ const COMPONENT_NAME$e = "ElDescriptionsItem";
32512
32438
 
32513
32439
  const __default__$10 = vue.defineComponent({
32514
32440
  name: "ElDescriptions"
@@ -32540,7 +32466,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
32540
32466
  return [];
32541
32467
  const children = flattedChildren(slots.default()).filter((node) => {
32542
32468
  var _a;
32543
- return ((_a = node == null ? void 0 : node.type) == null ? void 0 : _a.name) === COMPONENT_NAME$f;
32469
+ return ((_a = node == null ? void 0 : node.type) == null ? void 0 : _a.name) === COMPONENT_NAME$e;
32544
32470
  });
32545
32471
  const rows = [];
32546
32472
  let temp = [];
@@ -32673,7 +32599,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
32673
32599
  }
32674
32600
  });
32675
32601
  const DescriptionItem = vue.defineComponent({
32676
- name: COMPONENT_NAME$f,
32602
+ name: COMPONENT_NAME$e,
32677
32603
  props: descriptionItemProps
32678
32604
  });
32679
32605
 
@@ -32932,7 +32858,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
32932
32858
  };
32933
32859
  const dialogContextKey = Symbol("dialogContextKey");
32934
32860
 
32935
- const COMPONENT_NAME$e = "ElDialog";
32936
32861
  const useDialog = (props, targetRef) => {
32937
32862
  var _a;
32938
32863
  const instance = vue.getCurrentInstance();
@@ -33003,10 +32928,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
33003
32928
  return (el) => {
33004
32929
  if (isArray$1(userHook)) {
33005
32930
  userHook.forEach((fn) => {
33006
- if (isFunction$2(fn))
32931
+ if (isFunction$1(fn))
33007
32932
  fn(el);
33008
32933
  });
33009
- } else if (isFunction$2(userHook)) {
32934
+ } else if (isFunction$1(userHook)) {
33010
32935
  userHook(el);
33011
32936
  }
33012
32937
  defaultHook();
@@ -33017,7 +32942,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
33017
32942
  config2.onAfterLeave = _mergeHook(config2.onAfterLeave, afterLeave);
33018
32943
  if (!config2.name) {
33019
32944
  config2.name = DEFAULT_DIALOG_TRANSITION;
33020
- debugWarn(COMPONENT_NAME$e, `transition.name is missing when using object syntax, fallback to '${DEFAULT_DIALOG_TRANSITION}'`);
33021
32945
  }
33022
32946
  return config2;
33023
32947
  }
@@ -34892,8 +34816,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
34892
34816
  const imageViewerEmits = {
34893
34817
  close: () => true,
34894
34818
  error: (evt) => evt instanceof Event,
34895
- switch: (index) => isNumber$1(index),
34896
- rotate: (deg) => isNumber$1(deg)
34819
+ switch: (index) => isNumber(index),
34820
+ rotate: (deg) => isNumber(deg)
34897
34821
  };
34898
34822
 
34899
34823
  const __default__$V = vue.defineComponent({
@@ -35431,7 +35355,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35431
35355
  const imageEmits = {
35432
35356
  load: (evt) => evt instanceof Event,
35433
35357
  error: (evt) => evt instanceof Event,
35434
- switch: (val) => isNumber$1(val),
35358
+ switch: (val) => isNumber(val),
35435
35359
  close: () => true,
35436
35360
  show: () => true
35437
35361
  };
@@ -35525,9 +35449,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35525
35449
  return;
35526
35450
  await vue.nextTick();
35527
35451
  const { scrollContainer } = props;
35528
- if (isElement$3(scrollContainer)) {
35452
+ if (isElement$2(scrollContainer)) {
35529
35453
  _scrollContainer.value = scrollContainer;
35530
- } else if (isString$2(scrollContainer) && scrollContainer !== "") {
35454
+ } else if (isString$1(scrollContainer) && scrollContainer !== "") {
35531
35455
  _scrollContainer.value = (_a = document.querySelector(scrollContainer)) != null ? _a : void 0;
35532
35456
  } else if (container.value) {
35533
35457
  const scrollContainer2 = getScrollContainer(container.value);
@@ -35700,7 +35624,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35700
35624
  },
35701
35625
  valueOnClear: {
35702
35626
  type: [String, Number, null],
35703
- validator: (val) => val === null || isNumber$1(val) || ["min", "max"].includes(val),
35627
+ validator: (val) => val === null || isNumber(val) || ["min", "max"].includes(val),
35704
35628
  default: null
35705
35629
  },
35706
35630
  name: String,
@@ -35728,8 +35652,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35728
35652
  [CHANGE_EVENT]: (cur, prev) => prev !== cur,
35729
35653
  blur: (e) => e instanceof FocusEvent,
35730
35654
  focus: (e) => e instanceof FocusEvent,
35731
- [INPUT_EVENT]: (val) => isNumber$1(val) || isNil(val),
35732
- [UPDATE_MODEL_EVENT]: (val) => isNumber$1(val) || isNil(val)
35655
+ [INPUT_EVENT]: (val) => isNumber(val) || isNil(val),
35656
+ [UPDATE_MODEL_EVENT]: (val) => isNumber(val) || isNil(val)
35733
35657
  };
35734
35658
 
35735
35659
  const __default__$T = vue.defineComponent({
@@ -35749,14 +35673,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35749
35673
  userInput: null
35750
35674
  });
35751
35675
  const { formItem } = useFormItem();
35752
- const minDisabled = vue.computed(() => isNumber$1(props.modelValue) && props.modelValue <= props.min);
35753
- const maxDisabled = vue.computed(() => isNumber$1(props.modelValue) && props.modelValue >= props.max);
35676
+ const minDisabled = vue.computed(() => isNumber(props.modelValue) && props.modelValue <= props.min);
35677
+ const maxDisabled = vue.computed(() => isNumber(props.modelValue) && props.modelValue >= props.max);
35754
35678
  const numPrecision = vue.computed(() => {
35755
35679
  const stepPrecision = getPrecision(props.step);
35756
35680
  if (!isUndefined(props.precision)) {
35757
- if (stepPrecision > props.precision) {
35758
- debugWarn("InputNumber", "precision should not be less than the decimal places of step");
35759
- }
35681
+ if (stepPrecision > props.precision) ;
35760
35682
  return props.precision;
35761
35683
  } else {
35762
35684
  return Math.max(getPrecision(props.modelValue), stepPrecision);
@@ -35774,7 +35696,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35774
35696
  let currentValue = data.currentValue;
35775
35697
  if (isNil(currentValue))
35776
35698
  return "";
35777
- if (isNumber$1(currentValue)) {
35699
+ if (isNumber(currentValue)) {
35778
35700
  if (Number.isNaN(currentValue))
35779
35701
  return "";
35780
35702
  if (!isUndefined(props.precision)) {
@@ -35814,13 +35736,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35814
35736
  return precision;
35815
35737
  };
35816
35738
  const ensurePrecision = (val, coefficient = 1) => {
35817
- if (!isNumber$1(val))
35739
+ if (!isNumber(val))
35818
35740
  return data.currentValue;
35819
35741
  if (val >= Number.MAX_SAFE_INTEGER && coefficient === 1) {
35820
- debugWarn("InputNumber", "The value has reached the maximum safe integer limit.");
35821
35742
  return val;
35822
35743
  } else if (val <= Number.MIN_SAFE_INTEGER && coefficient === -1) {
35823
- debugWarn("InputNumber", "The value has reached the minimum safe integer limit.");
35824
35744
  return val;
35825
35745
  }
35826
35746
  return toPrecision(val + props.step * coefficient);
@@ -35866,7 +35786,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35866
35786
  const verifyValue = (value, update) => {
35867
35787
  const { max, min, step, precision, stepStrictly, valueOnClear } = props;
35868
35788
  if (max < min) {
35869
- throwError$1("InputNumber", "min should not be greater than max.");
35789
+ throwError("InputNumber", "min should not be greater than max.");
35870
35790
  }
35871
35791
  let newVal = Number(value);
35872
35792
  if (isNil(value) || Number.isNaN(newVal)) {
@@ -35876,7 +35796,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35876
35796
  if (valueOnClear === null) {
35877
35797
  return null;
35878
35798
  }
35879
- newVal = isString$2(valueOnClear) ? { min, max }[valueOnClear] : valueOnClear;
35799
+ newVal = isString$1(valueOnClear) ? { min, max }[valueOnClear] : valueOnClear;
35880
35800
  }
35881
35801
  if (stepStrictly) {
35882
35802
  newVal = toPrecision(Math.round(toPrecision(newVal / step)) * step, precision);
@@ -35909,7 +35829,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35909
35829
  emit(CHANGE_EVENT, newVal, oldVal);
35910
35830
  }
35911
35831
  if (props.validateEvent) {
35912
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn(err));
35832
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn());
35913
35833
  }
35914
35834
  data.currentValue = newVal;
35915
35835
  };
@@ -35921,7 +35841,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35921
35841
  };
35922
35842
  const handleInputChange = (value) => {
35923
35843
  const newVal = value !== "" ? Number(value) : "";
35924
- if (isNumber$1(newVal) && !Number.isNaN(newVal) || value === "") {
35844
+ if (isNumber(newVal) && !Number.isNaN(newVal) || value === "") {
35925
35845
  setCurrentValue(newVal);
35926
35846
  }
35927
35847
  setCurrentValueToModelValue();
@@ -35946,7 +35866,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35946
35866
  }
35947
35867
  emit("blur", event);
35948
35868
  if (props.validateEvent) {
35949
- (_b = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _b.call(formItem, "blur").catch((err) => debugWarn(err));
35869
+ (_b = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _b.call(formItem, "blur").catch((err) => debugWarn());
35950
35870
  }
35951
35871
  };
35952
35872
  const setCurrentValueToModelValue = () => {
@@ -35984,7 +35904,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
35984
35904
  }
35985
35905
  innerInput.setAttribute("aria-valuenow", data.currentValue || data.currentValue === 0 ? String(data.currentValue) : "");
35986
35906
  innerInput.setAttribute("aria-disabled", String(inputNumberDisabled.value));
35987
- if (!isNumber$1(modelValue) && modelValue != null) {
35907
+ if (!isNumber(modelValue) && modelValue != null) {
35988
35908
  let val = Number(modelValue);
35989
35909
  if (Number.isNaN(val)) {
35990
35910
  val = null;
@@ -36163,10 +36083,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
36163
36083
  const inputTagEmits = {
36164
36084
  [UPDATE_MODEL_EVENT]: (value) => isArray$1(value) || isUndefined(value),
36165
36085
  [CHANGE_EVENT]: (value) => isArray$1(value) || isUndefined(value),
36166
- [INPUT_EVENT]: (value) => isString$2(value),
36167
- "add-tag": (value) => isString$2(value) || isArray$1(value),
36168
- "remove-tag": (value, index) => isString$2(value) && isNumber$1(index),
36169
- "drag-tag": (oldIndex, newIndex, value) => isNumber$1(oldIndex) && isNumber$1(newIndex) && isString$2(value),
36086
+ [INPUT_EVENT]: (value) => isString$1(value),
36087
+ "add-tag": (value) => isString$1(value) || isArray$1(value),
36088
+ "remove-tag": (value, index) => isString$1(value) && isNumber(index),
36089
+ "drag-tag": (oldIndex, newIndex, value) => isNumber(oldIndex) && isNumber(newIndex) && isString$1(value),
36170
36090
  focus: (evt) => evt instanceof FocusEvent,
36171
36091
  blur: (evt) => evt instanceof FocusEvent,
36172
36092
  clear: () => true
@@ -36424,7 +36344,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
36424
36344
  inputValue.value = void 0;
36425
36345
  }
36426
36346
  if (props.validateEvent) {
36427
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn(err));
36347
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn());
36428
36348
  }
36429
36349
  }
36430
36350
  });
@@ -36437,7 +36357,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
36437
36357
  vue.watch(() => props.modelValue, () => {
36438
36358
  var _a;
36439
36359
  if (props.validateEvent) {
36440
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, CHANGE_EVENT).catch((err) => debugWarn(err));
36360
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, CHANGE_EVENT).catch((err) => debugWarn());
36441
36361
  }
36442
36362
  });
36443
36363
  return {
@@ -37186,10 +37106,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
37186
37106
  const nsSubMenu = useNamespace("sub-menu");
37187
37107
  const rootMenu = vue.inject(MENU_INJECTION_KEY);
37188
37108
  if (!rootMenu)
37189
- throwError$1(COMPONENT_NAME$d, "can not inject root menu");
37109
+ throwError(COMPONENT_NAME$d, "can not inject root menu");
37190
37110
  const subMenu = vue.inject(`${SUB_MENU_INJECTION_KEY}${parentMenu.value.uid}`);
37191
37111
  if (!subMenu)
37192
- throwError$1(COMPONENT_NAME$d, "can not inject sub menu");
37112
+ throwError(COMPONENT_NAME$d, "can not inject sub menu");
37193
37113
  const items = vue.ref({});
37194
37114
  const subMenus = vue.ref({});
37195
37115
  let timeout;
@@ -37354,7 +37274,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
37354
37274
  transform: opened.value ? props.expandCloseIcon && props.expandOpenIcon || props.collapseCloseIcon && props.collapseOpenIcon && rootMenu.props.collapse ? "none" : "rotateZ(180deg)" : "none"
37355
37275
  }
37356
37276
  }, {
37357
- default: () => isString$2(subMenuTitleIcon.value) ? vue.h(instance.appContext.components[subMenuTitleIcon.value]) : vue.h(subMenuTitleIcon.value)
37277
+ default: () => isString$1(subMenuTitleIcon.value) ? vue.h(instance.appContext.components[subMenuTitleIcon.value]) : vue.h(subMenuTitleIcon.value)
37358
37278
  })
37359
37279
  ];
37360
37280
  const child = rootMenu.isMenuPopup ? vue.h(ElTooltip, {
@@ -37497,11 +37417,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
37497
37417
  default: true
37498
37418
  }
37499
37419
  });
37500
- const checkIndexPath = (indexPath) => isArray$1(indexPath) && indexPath.every((path) => isString$2(path));
37420
+ const checkIndexPath = (indexPath) => isArray$1(indexPath) && indexPath.every((path) => isString$1(path));
37501
37421
  const menuEmits = {
37502
- close: (index, indexPath) => isString$2(index) && checkIndexPath(indexPath),
37503
- open: (index, indexPath) => isString$2(index) && checkIndexPath(indexPath),
37504
- select: (index, indexPath, item, routerResult) => isString$2(index) && checkIndexPath(indexPath) && isObject$1(item) && (isUndefined(routerResult) || routerResult instanceof Promise)
37422
+ close: (index, indexPath) => isString$1(index) && checkIndexPath(indexPath),
37423
+ open: (index, indexPath) => isString$1(index) && checkIndexPath(indexPath),
37424
+ select: (index, indexPath, item, routerResult) => isString$1(index) && checkIndexPath(indexPath) && isObject$1(item) && (isUndefined(routerResult) || routerResult instanceof Promise)
37505
37425
  };
37506
37426
  const DEFAULT_MORE_ITEM_WIDTH = 64;
37507
37427
  var Menu = vue.defineComponent({
@@ -37777,7 +37697,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
37777
37697
  disabled: Boolean
37778
37698
  });
37779
37699
  const menuItemEmits = {
37780
- click: (item) => isString$2(item.index) && isArray$1(item.indexPath)
37700
+ click: (item) => isString$1(item.index) && isArray$1(item.indexPath)
37781
37701
  };
37782
37702
 
37783
37703
  const COMPONENT_NAME$c = "ElMenuItem";
@@ -37790,17 +37710,17 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
37790
37710
  emits: menuItemEmits,
37791
37711
  setup(__props, { expose, emit }) {
37792
37712
  const props = __props;
37793
- isPropAbsent(props.index) && debugWarn(COMPONENT_NAME$c, 'Missing required prop: "index"');
37713
+ isPropAbsent(props.index) && debugWarn();
37794
37714
  const instance = vue.getCurrentInstance();
37795
37715
  const rootMenu = vue.inject(MENU_INJECTION_KEY);
37796
37716
  const nsMenu = useNamespace("menu");
37797
37717
  const nsMenuItem = useNamespace("menu-item");
37798
37718
  if (!rootMenu)
37799
- throwError$1(COMPONENT_NAME$c, "can not inject root menu");
37719
+ throwError(COMPONENT_NAME$c, "can not inject root menu");
37800
37720
  const { parentMenu, indexPath } = useMenu(instance, vue.toRef(props, "index"));
37801
37721
  const subMenu = vue.inject(`${SUB_MENU_INJECTION_KEY}${parentMenu.value.uid}`);
37802
37722
  if (!subMenu)
37803
- throwError$1(COMPONENT_NAME$c, "can not inject sub menu");
37723
+ throwError(COMPONENT_NAME$c, "can not inject sub menu");
37804
37724
  const active = vue.computed(() => props.index === rootMenu.activeIndex);
37805
37725
  const item = vue.reactive({
37806
37726
  index: props.index,
@@ -38173,7 +38093,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
38173
38093
  function useOption$1(props, states) {
38174
38094
  const select = vue.inject(selectKey);
38175
38095
  if (!select) {
38176
- throwError$1(COMPONENT_NAME$b, "usage: <el-select><el-option /></el-select/>");
38096
+ throwError(COMPONENT_NAME$b, "usage: <el-select><el-option /></el-select/>");
38177
38097
  }
38178
38098
  const selectGroup = vue.inject(selectGroupKey, { disabled: false });
38179
38099
  const itemSelected = vue.computed(() => {
@@ -38323,12 +38243,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
38323
38243
  "aria-disabled": _ctx.isDisabled || void 0,
38324
38244
  "aria-selected": _ctx.itemSelected,
38325
38245
  onMousemove: _ctx.hoverItem,
38326
- onClick: vue.withModifiers(_ctx.selectOptionClick, ["stop"])
38246
+ onClick: vue.withModifiers(_ctx.selectOptionClick, ["stop"]),
38247
+ onMousedown: vue.withModifiers(() => {
38248
+ }, ["prevent"])
38327
38249
  }, [
38328
38250
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
38329
38251
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.currentLabel), 1)
38330
38252
  ])
38331
- ], 42, ["id", "aria-disabled", "aria-selected", "onMousemove", "onClick"])), [
38253
+ ], 42, ["id", "aria-disabled", "aria-selected", "onMousemove", "onClick", "onMousedown"])), [
38332
38254
  [vue.vShow, _ctx.visible]
38333
38255
  ]);
38334
38256
  }
@@ -38453,7 +38375,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
38453
38375
  expanded.value = false;
38454
38376
  states.menuVisibleOnFocus = false;
38455
38377
  if (props.validateEvent) {
38456
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn(err));
38378
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "blur").catch((err) => debugWarn());
38457
38379
  }
38458
38380
  }
38459
38381
  });
@@ -38508,9 +38430,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
38508
38430
  return props.filterable && props.allowCreate && states.inputValue !== "" && !hasExistingOption;
38509
38431
  });
38510
38432
  const updateOptions = () => {
38511
- if (props.filterable && isFunction$2(props.filterMethod))
38433
+ if (props.filterable && isFunction$1(props.filterMethod))
38512
38434
  return;
38513
- if (props.filterable && props.remote && isFunction$2(props.remoteMethod))
38435
+ if (props.filterable && props.remote && isFunction$1(props.remoteMethod))
38514
38436
  return;
38515
38437
  optionsArray.value.forEach((option) => {
38516
38438
  var _a;
@@ -38549,7 +38471,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
38549
38471
  }
38550
38472
  setSelected();
38551
38473
  if (!isEqual$1(val, oldVal) && props.validateEvent) {
38552
- formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn(err));
38474
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
38553
38475
  }
38554
38476
  }, {
38555
38477
  flush: "post",
@@ -38575,7 +38497,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
38575
38497
  flush: "post"
38576
38498
  });
38577
38499
  vue.watch([() => states.hoveringIndex, optionsArray], ([val]) => {
38578
- if (isNumber$1(val) && val > -1) {
38500
+ if (isNumber(val) && val > -1) {
38579
38501
  hoverOption.value = optionsArray.value[val] || {};
38580
38502
  } else {
38581
38503
  hoverOption.value = {};
@@ -38594,9 +38516,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
38594
38516
  return;
38595
38517
  }
38596
38518
  states.previousQuery = val;
38597
- if (props.filterable && isFunction$2(props.filterMethod)) {
38519
+ if (props.filterable && isFunction$1(props.filterMethod)) {
38598
38520
  props.filterMethod(val);
38599
- } else if (props.filterable && props.remote && isFunction$2(props.remoteMethod)) {
38521
+ } else if (props.filterable && props.remote && isFunction$1(props.remoteMethod)) {
38600
38522
  props.remoteMethod(val);
38601
38523
  }
38602
38524
  if (props.defaultFirstOption && (props.filterable || props.remote) && filteredOptionsCount.value) {
@@ -39132,7 +39054,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
39132
39054
  var _a2, _b2, _c, _d;
39133
39055
  const name = (_a2 = (item == null ? void 0 : item.type) || {}) == null ? void 0 : _a2.name;
39134
39056
  if (name === "ElOptionGroup") {
39135
- filterOptions(!isString$2(item.children) && !isArray$1(item.children) && isFunction$2((_b2 = item.children) == null ? void 0 : _b2.default) ? (_c = item.children) == null ? void 0 : _c.default() : item.children);
39057
+ filterOptions(!isString$1(item.children) && !isArray$1(item.children) && isFunction$1((_b2 = item.children) == null ? void 0 : _b2.default) ? (_c = item.children) == null ? void 0 : _c.default() : item.children);
39136
39058
  } else if (name === "ElOption") {
39137
39059
  valueList.push((_d = item.props) == null ? void 0 : _d.value);
39138
39060
  } else if (isArray$1(item.children)) {
@@ -40325,7 +40247,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
40325
40247
  pagerCount: {
40326
40248
  type: Number,
40327
40249
  validator: (value) => {
40328
- return isNumber$1(value) && Math.trunc(value) === value && value > 4 && value < 22 && value % 2 === 1;
40250
+ return isNumber(value) && Math.trunc(value) === value && value > 4 && value < 22 && value % 2 === 1;
40329
40251
  },
40330
40252
  default: 7
40331
40253
  },
@@ -40374,13 +40296,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
40374
40296
  appendSizeTo: String
40375
40297
  });
40376
40298
  const paginationEmits = {
40377
- "update:current-page": (val) => isNumber$1(val),
40378
- "update:page-size": (val) => isNumber$1(val),
40379
- "size-change": (val) => isNumber$1(val),
40380
- change: (currentPage, pageSize) => isNumber$1(currentPage) && isNumber$1(pageSize),
40381
- "current-change": (val) => isNumber$1(val),
40382
- "prev-click": (val) => isNumber$1(val),
40383
- "next-click": (val) => isNumber$1(val)
40299
+ "update:current-page": (val) => isNumber(val),
40300
+ "update:page-size": (val) => isNumber(val),
40301
+ "size-change": (val) => isNumber(val),
40302
+ change: (currentPage, pageSize) => isNumber(currentPage) && isNumber(pageSize),
40303
+ "current-change": (val) => isNumber(val),
40304
+ "prev-click": (val) => isNumber(val),
40305
+ "next-click": (val) => isNumber(val)
40384
40306
  };
40385
40307
  const componentName = "ElPagination";
40386
40308
  var Pagination = vue.defineComponent({
@@ -41105,7 +41027,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
41105
41027
  function getColors(color) {
41106
41028
  const span = 100 / color.length;
41107
41029
  const seriesColors = color.map((seriesColor, index) => {
41108
- if (isString$2(seriesColor)) {
41030
+ if (isString$1(seriesColor)) {
41109
41031
  return {
41110
41032
  color: seriesColor,
41111
41033
  percentage: (index + 1) * span
@@ -41118,9 +41040,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
41118
41040
  const getCurrentColor = (percentage) => {
41119
41041
  var _a;
41120
41042
  const { color } = props;
41121
- if (isFunction$2(color)) {
41043
+ if (isFunction$1(color)) {
41122
41044
  return color(percentage);
41123
- } else if (isString$2(color)) {
41045
+ } else if (isString$1(color)) {
41124
41046
  return color;
41125
41047
  } else {
41126
41048
  const colors = getColors(color);
@@ -41298,8 +41220,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
41298
41220
  ...useAriaProps(["ariaLabel"])
41299
41221
  });
41300
41222
  const rateEmits = {
41301
- [CHANGE_EVENT]: (value) => isNumber$1(value),
41302
- [UPDATE_MODEL_EVENT]: (value) => isNumber$1(value)
41223
+ [CHANGE_EVENT]: (value) => isNumber(value),
41224
+ [UPDATE_MODEL_EVENT]: (value) => isNumber(value)
41303
41225
  };
41304
41226
 
41305
41227
  const __default__$D = vue.defineComponent({
@@ -41385,7 +41307,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
41385
41307
  } : icons;
41386
41308
  });
41387
41309
  const decimalIconComponent = vue.computed(() => getValueFromMap(props.modelValue, componentMap.value));
41388
- const voidComponent = vue.computed(() => rateDisabled.value ? isString$2(props.disabledVoidIcon) ? props.disabledVoidIcon : vue.markRaw(props.disabledVoidIcon) : isString$2(props.voidIcon) ? props.voidIcon : vue.markRaw(props.voidIcon));
41310
+ const voidComponent = vue.computed(() => rateDisabled.value ? isString$1(props.disabledVoidIcon) ? props.disabledVoidIcon : vue.markRaw(props.disabledVoidIcon) : isString$1(props.voidIcon) ? props.voidIcon : vue.markRaw(props.voidIcon));
41389
41311
  const activeComponent = vue.computed(() => getValueFromMap(currentValue.value, componentMap.value));
41390
41312
  function showDecimalIcon(item) {
41391
41313
  const showWhenDisabled = rateDisabled.value && valueDecimal.value > 0 && item - 1 < props.modelValue && item > props.modelValue;
@@ -42106,7 +42028,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42106
42028
  const states = vue.ref({
42107
42029
  isScrolling: false,
42108
42030
  scrollDir: "forward",
42109
- scrollOffset: isNumber$1(props.initScrollOffset) ? props.initScrollOffset : 0,
42031
+ scrollOffset: isNumber(props.initScrollOffset) ? props.initScrollOffset : 0,
42110
42032
  updateRequested: false,
42111
42033
  isScrollbarDragging: false,
42112
42034
  scrollbarAlwaysOn: props.scrollbarAlwaysOn
@@ -42139,8 +42061,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42139
42061
  },
42140
42062
  {
42141
42063
  direction: props.direction,
42142
- height: isNumber$1(props.height) ? `${props.height}px` : props.height,
42143
- width: isNumber$1(props.width) ? `${props.width}px` : props.width
42064
+ height: isNumber(props.height) ? `${props.height}px` : props.height,
42065
+ width: isNumber(props.width) ? `${props.width}px` : props.width
42144
42066
  },
42145
42067
  props.style
42146
42068
  ]);
@@ -42289,7 +42211,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42289
42211
  return;
42290
42212
  const { initScrollOffset } = props;
42291
42213
  const windowElement = vue.unref(windowRef);
42292
- if (isNumber$1(initScrollOffset) && windowElement) {
42214
+ if (isNumber(initScrollOffset) && windowElement) {
42293
42215
  if (vue.unref(_isHorizontal)) {
42294
42216
  windowElement.scrollLeft = initScrollOffset;
42295
42217
  } else {
@@ -42400,7 +42322,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42400
42322
  vue.h(Inner, vue.mergeProps(ctx.innerProps, {
42401
42323
  style: innerStyle,
42402
42324
  ref: "innerRef"
42403
- }), !isString$2(Inner) ? {
42325
+ }), !isString$1(Inner) ? {
42404
42326
  default: () => children
42405
42327
  } : children)
42406
42328
  ];
@@ -42420,7 +42342,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42420
42342
  onScroll,
42421
42343
  ref: "windowRef",
42422
42344
  key: 0
42423
- }, !isString$2(Container) ? { default: () => [InnerNode] } : [InnerNode]);
42345
+ }, !isString$1(Container) ? { default: () => [InnerNode] } : [InnerNode]);
42424
42346
  return vue.h("div", {
42425
42347
  key: 0,
42426
42348
  class: [ns.e("wrapper"), states.scrollbarAlwaysOn ? "always-on" : ""]
@@ -42437,14 +42359,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42437
42359
  getEstimatedTotalSize: ({ total, itemSize }) => itemSize * total,
42438
42360
  getOffset: ({ height, total, itemSize, layout, width }, index, alignment, scrollOffset) => {
42439
42361
  const size = isHorizontal(layout) ? width : height;
42440
- if (typeof process !== "undefined" && false) {
42441
- throwError("[ElVirtualList]", `
42442
- You should set
42443
- width/height
42444
- to number when your layout is
42445
- horizontal/vertical
42446
- `);
42447
- }
42448
42362
  const lastItemOffset = Math.max(0, total * itemSize - size);
42449
42363
  const maxOffset = Math.min(lastItemOffset, index * itemSize);
42450
42364
  const minOffset = Math.max(0, (index + 1) * itemSize - size);
@@ -42638,13 +42552,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42638
42552
  },
42639
42553
  clearCache: false,
42640
42554
  validateProps: ({ itemSize }) => {
42641
- if (typeof process !== "undefined" && false) {
42642
- if (typeof itemSize !== "function") {
42643
- throwError(SCOPE, `
42644
- itemSize is required as function, but the given value was ${typeof itemSize}
42645
- `);
42646
- }
42647
- }
42648
42555
  }
42649
42556
  });
42650
42557
  var DynamicSizeList$1 = DynamicSizeList;
@@ -42768,8 +42675,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42768
42675
  const innerRef = vue.ref();
42769
42676
  const states = vue.ref({
42770
42677
  isScrolling: false,
42771
- scrollLeft: isNumber$1(props.initScrollLeft) ? props.initScrollLeft : 0,
42772
- scrollTop: isNumber$1(props.initScrollTop) ? props.initScrollTop : 0,
42678
+ scrollLeft: isNumber(props.initScrollLeft) ? props.initScrollLeft : 0,
42679
+ scrollTop: isNumber(props.initScrollTop) ? props.initScrollTop : 0,
42773
42680
  updateRequested: false,
42774
42681
  xAxisScrollDir: FORWARD,
42775
42682
  yAxisScrollDir: FORWARD
@@ -42824,8 +42731,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
42824
42731
  },
42825
42732
  {
42826
42733
  direction: props.direction,
42827
- height: isNumber$1(props.height) ? `${props.height}px` : props.height,
42828
- width: isNumber$1(props.width) ? `${props.width}px` : props.width
42734
+ height: isNumber(props.height) ? `${props.height}px` : props.height,
42735
+ width: isNumber(props.width) ? `${props.width}px` : props.width
42829
42736
  },
42830
42737
  (_a = props.style) != null ? _a : {}
42831
42738
  ];
@@ -43018,10 +42925,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43018
42925
  const { initScrollLeft, initScrollTop } = props;
43019
42926
  const windowElement = vue.unref(windowRef);
43020
42927
  if (windowElement) {
43021
- if (isNumber$1(initScrollLeft)) {
42928
+ if (isNumber(initScrollLeft)) {
43022
42929
  windowElement.scrollLeft = initScrollLeft;
43023
42930
  }
43024
- if (isNumber$1(initScrollTop)) {
42931
+ if (isNumber(initScrollTop)) {
43025
42932
  windowElement.scrollTop = initScrollTop;
43026
42933
  }
43027
42934
  }
@@ -43145,7 +43052,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43145
43052
  vue.h(Inner, vue.mergeProps(props.innerProps, {
43146
43053
  style: vue.unref(innerStyle),
43147
43054
  ref: innerRef
43148
- }), !isString$2(Inner) ? {
43055
+ }), !isString$1(Inner) ? {
43149
43056
  default: () => children
43150
43057
  } : children)
43151
43058
  ];
@@ -43164,7 +43071,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43164
43071
  style: vue.unref(windowStyle),
43165
43072
  onScroll,
43166
43073
  ref: windowRef
43167
- }, !isString$2(Container) ? { default: () => Inner } : Inner),
43074
+ }, !isString$1(Container) ? { default: () => Inner } : Inner),
43168
43075
  horizontalScrollbar,
43169
43076
  verticalScrollbar
43170
43077
  ]);
@@ -43282,20 +43189,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43282
43189
  initCache: () => void 0,
43283
43190
  clearCache: true,
43284
43191
  validateProps: ({ columnWidth, rowHeight }) => {
43285
- if (typeof process !== "undefined" && false) {
43286
- if (!isNumber(columnWidth)) {
43287
- throwError(SCOPE, `
43288
- "columnWidth" must be passed as number,
43289
- instead ${typeof columnWidth} was given.
43290
- `);
43291
- }
43292
- if (!isNumber(rowHeight)) {
43293
- throwError(SCOPE, `
43294
- "columnWidth" must be passed as number,
43295
- instead ${typeof rowHeight} was given.
43296
- `);
43297
- }
43298
- }
43299
43192
  }
43300
43193
  });
43301
43194
  var FixedSizeGrid$1 = FixedSizeGrid;
@@ -43480,10 +43373,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43480
43373
  const resetAfter = ({ columnIndex, rowIndex }, forceUpdate) => {
43481
43374
  var _a, _b;
43482
43375
  forceUpdate = isUndefined(forceUpdate) ? true : forceUpdate;
43483
- if (isNumber$1(columnIndex)) {
43376
+ if (isNumber(columnIndex)) {
43484
43377
  cache.value.lastVisitedColumnIndex = Math.min(cache.value.lastVisitedColumnIndex, columnIndex - 1);
43485
43378
  }
43486
- if (isNumber$1(rowIndex)) {
43379
+ if (isNumber(rowIndex)) {
43487
43380
  cache.value.lastVisitedRowIndex = Math.min(cache.value.lastVisitedRowIndex, rowIndex - 1);
43488
43381
  }
43489
43382
  (_a = instance.exposed) == null ? void 0 : _a.getItemStyleCache.value(-1, null, null);
@@ -43522,20 +43415,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43522
43415
  },
43523
43416
  clearCache: false,
43524
43417
  validateProps: ({ columnWidth, rowHeight }) => {
43525
- if (typeof process !== "undefined" && false) {
43526
- if (!isFunction(columnWidth)) {
43527
- throwError(SCOPE, `
43528
- "columnWidth" must be passed as function,
43529
- instead ${typeof columnWidth} was given.
43530
- `);
43531
- }
43532
- if (!isFunction(rowHeight)) {
43533
- throwError(SCOPE, `
43534
- "rowHeight" must be passed as function,
43535
- instead ${typeof rowHeight} was given.
43536
- `);
43537
- }
43538
- }
43539
43418
  }
43540
43419
  });
43541
43420
  var DynamicSizeGrid$1 = DynamicSizeGrid;
@@ -43712,7 +43591,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43712
43591
  type: [Boolean, Number],
43713
43592
  default: true,
43714
43593
  validator(val) {
43715
- return isBoolean(val) || isNumber$1(val);
43594
+ return isBoolean(val) || isNumber(val);
43716
43595
  }
43717
43596
  },
43718
43597
  suffixIcon: {
@@ -43745,7 +43624,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43745
43624
  clear: () => true
43746
43625
  };
43747
43626
  const optionV2Emits = {
43748
- hover: (index) => isNumber$1(index),
43627
+ hover: (index) => isNumber(index),
43749
43628
  select: (val, index) => true
43750
43629
  };
43751
43630
 
@@ -43784,7 +43663,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43784
43663
  _ctx.ns.is("hovering", _ctx.hovering)
43785
43664
  ]),
43786
43665
  onMousemove: _ctx.hoverItem,
43787
- onClick: vue.withModifiers(_ctx.selectOptionClick, ["stop"])
43666
+ onClick: vue.withModifiers(_ctx.selectOptionClick, ["stop"]),
43667
+ onMousedown: vue.withModifiers(() => {
43668
+ }, ["prevent"])
43788
43669
  }, [
43789
43670
  vue.renderSlot(_ctx.$slots, "default", {
43790
43671
  item: _ctx.item,
@@ -43793,7 +43674,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
43793
43674
  }, () => [
43794
43675
  vue.createElementVNode("span", null, vue.toDisplayString(_ctx.getLabel(_ctx.item)), 1)
43795
43676
  ])
43796
- ], 46, ["id", "aria-selected", "aria-disabled", "onMousemove", "onClick"]);
43677
+ ], 46, ["id", "aria-selected", "aria-disabled", "onMousemove", "onClick", "onMousedown"]);
43797
43678
  }
43798
43679
  var OptionItem = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["render", _sfc_render$6], ["__file", "option-item.vue"]]);
43799
43680
 
@@ -44171,7 +44052,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
44171
44052
  expanded.value = false;
44172
44053
  states.menuVisibleOnFocus = false;
44173
44054
  if (props.validateEvent) {
44174
- (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "blur").catch((err) => debugWarn(err));
44055
+ (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "blur").catch((err) => debugWarn());
44175
44056
  }
44176
44057
  }
44177
44058
  });
@@ -44220,8 +44101,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
44220
44101
  }
44221
44102
  return null;
44222
44103
  });
44223
- const isFilterMethodValid = vue.computed(() => props.filterable && isFunction$2(props.filterMethod));
44224
- const isRemoteMethodValid = vue.computed(() => props.filterable && props.remote && isFunction$2(props.remoteMethod));
44104
+ const isFilterMethodValid = vue.computed(() => props.filterable && isFunction$1(props.filterMethod));
44105
+ const isRemoteMethodValid = vue.computed(() => props.filterable && props.remote && isFunction$1(props.remoteMethod));
44225
44106
  const filterOptions = (query) => {
44226
44107
  const regexp = new RegExp(escapeStringRegexp(query), "i");
44227
44108
  const isValidOption = (o) => {
@@ -44270,7 +44151,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
44270
44151
  const collapseTagSize = vue.computed(() => selectSize.value === "small" ? "small" : "default");
44271
44152
  const calculatePopperSize = () => {
44272
44153
  var _a;
44273
- if (isNumber$1(props.fitInputWidth)) {
44154
+ if (isNumber(props.fitInputWidth)) {
44274
44155
  popperSize.value = props.fitInputWidth;
44275
44156
  return;
44276
44157
  }
@@ -44400,9 +44281,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
44400
44281
  return;
44401
44282
  }
44402
44283
  states.previousQuery = val;
44403
- if (props.filterable && isFunction$2(props.filterMethod)) {
44284
+ if (props.filterable && isFunction$1(props.filterMethod)) {
44404
44285
  props.filterMethod(val);
44405
- } else if (props.filterable && props.remote && isFunction$2(props.remoteMethod)) {
44286
+ } else if (props.filterable && props.remote && isFunction$1(props.remoteMethod)) {
44406
44287
  props.remoteMethod(val);
44407
44288
  }
44408
44289
  if (props.defaultFirstOption && (props.filterable || props.remote) && filteredOptions.value.length) {
@@ -44744,7 +44625,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
44744
44625
  initStates(true);
44745
44626
  }
44746
44627
  if (!isEqual$1(val, oldVal) && props.validateEvent) {
44747
- (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn(err));
44628
+ (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
44748
44629
  }
44749
44630
  }, {
44750
44631
  deep: true
@@ -44777,7 +44658,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
44777
44658
  v = get(optionValue, valueKey);
44778
44659
  }
44779
44660
  if (duplicateValue.get(v)) {
44780
- debugWarn("ElSelectV2", `The option values you provided seem to be duplicated, which may cause some problems, please check.`);
44781
44661
  break;
44782
44662
  } else {
44783
44663
  duplicateValue.set(v, true);
@@ -45480,7 +45360,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
45480
45360
  },
45481
45361
  ...useAriaProps(["ariaLabel"])
45482
45362
  });
45483
- const isValidValue$1 = (value) => isNumber$1(value) || isArray$1(value) && value.every(isNumber$1);
45363
+ const isValidValue$1 = (value) => isNumber(value) || isArray$1(value) && value.every(isNumber);
45484
45364
  const sliderEmits = {
45485
45365
  [UPDATE_MODEL_EVENT]: isValidValue$1,
45486
45366
  [INPUT_EVENT]: isValidValue$1,
@@ -45500,7 +45380,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
45500
45380
  }
45501
45381
  initData.oldValue = [initData.firstValue, initData.secondValue];
45502
45382
  } else {
45503
- if (!isNumber$1(props.modelValue) || Number.isNaN(props.modelValue)) {
45383
+ if (!isNumber(props.modelValue) || Number.isNaN(props.modelValue)) {
45504
45384
  initData.firstValue = props.min;
45505
45385
  } else {
45506
45386
  initData.firstValue = Math.min(props.max, Math.max(props.min, props.modelValue));
@@ -45921,7 +45801,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
45921
45801
  if (!props.showStops || props.min > props.max)
45922
45802
  return [];
45923
45803
  if (props.step === 0) {
45924
- debugWarn("ElSlider", "step should not be 0.");
45925
45804
  return [];
45926
45805
  }
45927
45806
  const stopCount = Math.ceil((props.max - props.min) / props.step);
@@ -45959,7 +45838,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
45959
45838
  const setValues = () => {
45960
45839
  var _a, _b;
45961
45840
  if (props.min > props.max) {
45962
- throwError$1("Slider", "min should not be greater than max.");
45841
+ throwError("Slider", "min should not be greater than max.");
45963
45842
  }
45964
45843
  const val = props.modelValue;
45965
45844
  if (props.range && isArray$1(val)) {
@@ -45976,12 +45855,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
45976
45855
  initData.secondValue = val[1];
45977
45856
  if (valueChanged()) {
45978
45857
  if (props.validateEvent) {
45979
- (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn(err));
45858
+ (_a = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _a.call(elFormItem, "change").catch((err) => debugWarn());
45980
45859
  }
45981
45860
  initData.oldValue = val.slice();
45982
45861
  }
45983
45862
  }
45984
- } else if (!props.range && isNumber$1(val) && !Number.isNaN(val)) {
45863
+ } else if (!props.range && isNumber(val) && !Number.isNaN(val)) {
45985
45864
  if (val < props.min) {
45986
45865
  _emit(props.min);
45987
45866
  } else if (val > props.max) {
@@ -45990,7 +45869,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
45990
45869
  initData.firstValue = val;
45991
45870
  if (valueChanged()) {
45992
45871
  if (props.validateEvent) {
45993
- (_b = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _b.call(elFormItem, "change").catch((err) => debugWarn(err));
45872
+ (_b = elFormItem == null ? void 0 : elFormItem.validate) == null ? void 0 : _b.call(elFormItem, "change").catch((err) => debugWarn());
45994
45873
  }
45995
45874
  initData.oldValue = val;
45996
45875
  }
@@ -46030,7 +45909,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46030
45909
  }
46031
45910
  });
46032
45911
  const sliderButtonEmits = {
46033
- [UPDATE_MODEL_EVENT]: (value) => isNumber$1(value)
45912
+ [UPDATE_MODEL_EVENT]: (value) => isNumber(value)
46034
45913
  };
46035
45914
 
46036
45915
  const __default__$z = vue.defineComponent({
@@ -46132,9 +46011,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46132
46011
  setup(props) {
46133
46012
  const ns = useNamespace("slider");
46134
46013
  const label = vue.computed(() => {
46135
- return isString$2(props.mark) ? props.mark : props.mark.label;
46014
+ return isString$1(props.mark) ? props.mark : props.mark.label;
46136
46015
  });
46137
- const style = vue.computed(() => isString$2(props.mark) ? void 0 : props.mark.style);
46016
+ const style = vue.computed(() => isString$1(props.mark) ? void 0 : props.mark.style);
46138
46017
  return () => vue.h("div", {
46139
46018
  class: ns.e("marks-text"),
46140
46019
  style: style.value
@@ -46412,7 +46291,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46412
46291
  verticalSize.value = v;
46413
46292
  } else {
46414
46293
  let val;
46415
- if (isNumber$1(size)) {
46294
+ if (isNumber(size)) {
46416
46295
  val = size;
46417
46296
  } else {
46418
46297
  val = SIZE_MAP[size || "small"] || SIZE_MAP.small;
@@ -46465,7 +46344,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46465
46344
  spacer: {
46466
46345
  type: definePropType([Object, String, Number, Array]),
46467
46346
  default: null,
46468
- validator: (val) => vue.isVNode(val) || isNumber$1(val) || isString$2(val)
46347
+ validator: (val) => vue.isVNode(val) || isNumber(val) || isString$1(val)
46469
46348
  },
46470
46349
  wrap: Boolean,
46471
46350
  fill: Boolean,
@@ -46477,7 +46356,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46477
46356
  type: [String, Array, Number],
46478
46357
  values: componentSizes,
46479
46358
  validator: (val) => {
46480
- return isNumber$1(val) || isArray$1(val) && val.length === 2 && val.every(isNumber$1);
46359
+ return isNumber(val) || isArray$1(val) && val.length === 2 && val.every(isNumber);
46481
46360
  }
46482
46361
  }
46483
46362
  });
@@ -46596,9 +46475,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46596
46475
  const ns = useNamespace("statistic");
46597
46476
  const displayValue = vue.computed(() => {
46598
46477
  const { value, formatter, precision, decimalSeparator, groupSeparator } = props;
46599
- if (isFunction$2(formatter))
46478
+ if (isFunction$1(formatter))
46600
46479
  return formatter(value);
46601
- if (!isNumber$1(value) || Number.isNaN(value))
46480
+ if (!isNumber(value) || Number.isNaN(value))
46602
46481
  return value;
46603
46482
  let [integer, decimal = ""] = String(value).split(".");
46604
46483
  decimal = decimal.padEnd(precision, "0").slice(0, precision > 0 ? precision : 0);
@@ -46670,7 +46549,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46670
46549
  });
46671
46550
  const countdownEmits = {
46672
46551
  finish: () => true,
46673
- [CHANGE_EVENT]: (value) => isNumber$1(value)
46552
+ [CHANGE_EVENT]: (value) => isNumber(value)
46674
46553
  };
46675
46554
 
46676
46555
  const timeUnits = [
@@ -46683,7 +46562,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46683
46562
  ["S", 1]
46684
46563
  ];
46685
46564
  const getTime = (value) => {
46686
- return isNumber$1(value) ? new Date(value).getTime() : value.valueOf();
46565
+ return isNumber(value) ? new Date(value).getTime() : value.valueOf();
46687
46566
  };
46688
46567
  const formatTime$1 = (timestamp, format) => {
46689
46568
  let timeLeft = timestamp;
@@ -46809,7 +46688,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46809
46688
  }
46810
46689
  });
46811
46690
  const stepsEmits = {
46812
- [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber$1)
46691
+ [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
46813
46692
  };
46814
46693
 
46815
46694
  const STEPS_INJECTION_KEY = "ElSteps";
@@ -46933,7 +46812,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
46933
46812
  });
46934
46813
  const style = vue.computed(() => {
46935
46814
  const style2 = {
46936
- flexBasis: isNumber$1(space.value) ? `${space.value}px` : space.value ? space.value : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`
46815
+ flexBasis: isNumber(space.value) ? `${space.value}px` : space.value ? space.value : `${100 / (stepsCount.value - (isCenter.value ? 0 : 1))}%`
46937
46816
  };
46938
46817
  if (isVertical.value)
46939
46818
  return style2;
@@ -47132,9 +47011,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47132
47011
  ...useAriaProps(["ariaLabel"])
47133
47012
  });
47134
47013
  const switchEmits = {
47135
- [UPDATE_MODEL_EVENT]: (val) => isBoolean(val) || isString$2(val) || isNumber$1(val),
47136
- [CHANGE_EVENT]: (val) => isBoolean(val) || isString$2(val) || isNumber$1(val),
47137
- [INPUT_EVENT]: (val) => isBoolean(val) || isString$2(val) || isNumber$1(val)
47014
+ [UPDATE_MODEL_EVENT]: (val) => isBoolean(val) || isString$1(val) || isNumber(val),
47015
+ [CHANGE_EVENT]: (val) => isBoolean(val) || isString$1(val) || isNumber(val),
47016
+ [INPUT_EVENT]: (val) => isBoolean(val) || isString$1(val) || isNumber(val)
47138
47017
  };
47139
47018
 
47140
47019
  const COMPONENT_NAME$9 = "ElSwitch";
@@ -47196,7 +47075,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47196
47075
  var _a;
47197
47076
  input.value.checked = val;
47198
47077
  if (props.validateEvent) {
47199
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn(err));
47078
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn());
47200
47079
  }
47201
47080
  });
47202
47081
  const handleChange = () => {
@@ -47222,7 +47101,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47222
47101
  isBoolean(shouldChange)
47223
47102
  ].includes(true);
47224
47103
  if (!isPromiseOrBool) {
47225
- throwError$1(COMPONENT_NAME$9, "beforeChange must return type `Promise<boolean>` or `boolean`");
47104
+ throwError(COMPONENT_NAME$9, "beforeChange must return type `Promise<boolean>` or `boolean`");
47226
47105
  }
47227
47106
  if (isPromise(shouldChange)) {
47228
47107
  shouldChange.then((result) => {
@@ -47230,7 +47109,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47230
47109
  handleChange();
47231
47110
  }
47232
47111
  }).catch((e) => {
47233
- debugWarn(COMPONENT_NAME$9, `some error occurred: ${e}`);
47234
47112
  });
47235
47113
  } else if (shouldChange) {
47236
47114
  handleChange();
@@ -47366,7 +47244,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47366
47244
  if (!sortKey && !sortMethod && (!sortBy || isArray$1(sortBy) && !sortBy.length)) {
47367
47245
  return array;
47368
47246
  }
47369
- if (isString$2(reverse)) {
47247
+ if (isString$1(reverse)) {
47370
47248
  reverse = reverse === "descending" ? -1 : 1;
47371
47249
  } else {
47372
47250
  reverse = reverse && reverse < 0 ? -1 : 1;
@@ -47374,7 +47252,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47374
47252
  const getKey = sortMethod ? null : function(value, index) {
47375
47253
  if (sortBy) {
47376
47254
  return flatMap(castArray$1(sortBy), (by) => {
47377
- if (isString$2(by)) {
47255
+ if (isString$1(by)) {
47378
47256
  return get(value, by);
47379
47257
  } else {
47380
47258
  return by(value, index, array);
@@ -47437,7 +47315,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47437
47315
  }
47438
47316
  }
47439
47317
  if (!column)
47440
- throwError$1("ElTable", `No column matching with column-key: ${columnKey}`);
47318
+ throwError("ElTable", `No column matching with column-key: ${columnKey}`);
47441
47319
  return column;
47442
47320
  };
47443
47321
  const getColumnByCell = function(table, cell, namespace) {
@@ -47450,7 +47328,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47450
47328
  const getRowIdentity = (row, rowKey) => {
47451
47329
  if (!row)
47452
47330
  throw new Error("Row is required when get row identity");
47453
- if (isString$2(rowKey)) {
47331
+ if (isString$1(rowKey)) {
47454
47332
  if (!rowKey.includes(".")) {
47455
47333
  return `${row[rowKey]}`;
47456
47334
  }
@@ -47460,7 +47338,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47460
47338
  current = current[element];
47461
47339
  }
47462
47340
  return `${current}`;
47463
- } else if (isFunction$2(rowKey)) {
47341
+ } else if (isFunction$1(rowKey)) {
47464
47342
  return rowKey.call(null, row);
47465
47343
  }
47466
47344
  return "";
@@ -47518,10 +47396,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47518
47396
  return minWidth;
47519
47397
  }
47520
47398
  function parseHeight(height) {
47521
- if (isNumber$1(height)) {
47399
+ if (isNumber(height)) {
47522
47400
  return height;
47523
47401
  }
47524
- if (isString$2(height)) {
47402
+ if (isString$1(height)) {
47525
47403
  if (/^\d+(?:px)?$/.test(height)) {
47526
47404
  return Number.parseInt(height, 10);
47527
47405
  } else {
@@ -47624,7 +47502,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
47624
47502
  strategy: "fixed",
47625
47503
  ...props.popperOptions
47626
47504
  };
47627
- const tooltipFormatterContent = isFunction$2(column == null ? void 0 : column.tooltipFormatter) ? column.tooltipFormatter({
47505
+ const tooltipFormatterContent = isFunction$1(column == null ? void 0 : column.tooltipFormatter) ? column.tooltipFormatter({
47628
47506
  row,
47629
47507
  column,
47630
47508
  cellValue: getProp(row, column.property).value
@@ -48140,7 +48018,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
48140
48018
 
48141
48019
  const sortData = (data, states) => {
48142
48020
  const sortingColumn = states.sortingColumn;
48143
- if (!sortingColumn || isString$2(sortingColumn.sortable)) {
48021
+ if (!sortingColumn || isString$1(sortingColumn.sortable)) {
48144
48022
  return data;
48145
48023
  }
48146
48024
  return orderBy(data, states.sortProp, states.sortOrder, sortingColumn.sortMethod, sortingColumn.sortBy);
@@ -48427,7 +48305,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
48427
48305
  const keys = Object.keys(panels);
48428
48306
  if (!keys.length)
48429
48307
  return;
48430
- if (isString$2(columnKeys)) {
48308
+ if (isString$1(columnKeys)) {
48431
48309
  columnKeys = [columnKeys];
48432
48310
  }
48433
48311
  if (isArray$1(columnKeys)) {
@@ -48881,10 +48759,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
48881
48759
  vue.nextTick(() => this.setHeight(value, prop));
48882
48760
  return;
48883
48761
  }
48884
- if (el && isNumber$1(value)) {
48762
+ if (el && isNumber(value)) {
48885
48763
  el.style[prop] = `${value}px`;
48886
48764
  this.updateElsHeight();
48887
- } else if (el && isString$2(value)) {
48765
+ } else if (el && isString$1(value)) {
48888
48766
  el.style[prop] = value;
48889
48767
  this.updateElsHeight();
48890
48768
  }
@@ -48928,9 +48806,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
48928
48806
  const bodyWidth = (_a = this.table.vnode.el) == null ? void 0 : _a.clientWidth;
48929
48807
  let bodyMinWidth = 0;
48930
48808
  const flattenColumns = this.getFlattenColumns();
48931
- const flexColumns = flattenColumns.filter((column) => !isNumber$1(column.width));
48809
+ const flexColumns = flattenColumns.filter((column) => !isNumber(column.width));
48932
48810
  flattenColumns.forEach((column) => {
48933
- if (isNumber$1(column.width) && column.realWidth)
48811
+ if (isNumber(column.width) && column.realWidth)
48934
48812
  column.realWidth = null;
48935
48813
  });
48936
48814
  if (flexColumns.length > 0 && fit) {
@@ -49507,7 +49385,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
49507
49385
  if (!props.border || column.children && column.children.length > 0)
49508
49386
  return;
49509
49387
  const el = event.target;
49510
- const target = isElement$3(el) ? el.closest("th") : null;
49388
+ const target = isElement$2(el) ? el.closest("th") : null;
49511
49389
  if (!target) {
49512
49390
  return;
49513
49391
  }
@@ -49599,7 +49477,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
49599
49477
  const ns = useNamespace("table");
49600
49478
  const getHeaderRowStyle = (rowIndex) => {
49601
49479
  const headerRowStyle = parent == null ? void 0 : parent.props.headerRowStyle;
49602
- if (isFunction$2(headerRowStyle)) {
49480
+ if (isFunction$1(headerRowStyle)) {
49603
49481
  return headerRowStyle.call(null, { rowIndex });
49604
49482
  }
49605
49483
  return headerRowStyle;
@@ -49607,9 +49485,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
49607
49485
  const getHeaderRowClass = (rowIndex) => {
49608
49486
  const classes = [];
49609
49487
  const headerRowClassName = parent == null ? void 0 : parent.props.headerRowClassName;
49610
- if (isString$2(headerRowClassName)) {
49488
+ if (isString$1(headerRowClassName)) {
49611
49489
  classes.push(headerRowClassName);
49612
- } else if (isFunction$2(headerRowClassName)) {
49490
+ } else if (isFunction$1(headerRowClassName)) {
49613
49491
  classes.push(headerRowClassName.call(null, { rowIndex }));
49614
49492
  }
49615
49493
  return classes.join(" ");
@@ -49617,7 +49495,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
49617
49495
  const getHeaderCellStyle = (rowIndex, columnIndex, row, column) => {
49618
49496
  var _a;
49619
49497
  let headerCellStyles = (_a = parent == null ? void 0 : parent.props.headerCellStyle) != null ? _a : {};
49620
- if (isFunction$2(headerCellStyles)) {
49498
+ if (isFunction$1(headerCellStyles)) {
49621
49499
  headerCellStyles = headerCellStyles.call(null, {
49622
49500
  rowIndex,
49623
49501
  columnIndex,
@@ -49647,9 +49525,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
49647
49525
  classes.push("is-sortable");
49648
49526
  }
49649
49527
  const headerCellClassName = parent == null ? void 0 : parent.props.headerCellClassName;
49650
- if (isString$2(headerCellClassName)) {
49528
+ if (isString$1(headerCellClassName)) {
49651
49529
  classes.push(headerCellClassName);
49652
- } else if (isFunction$2(headerCellClassName)) {
49530
+ } else if (isFunction$1(headerCellClassName)) {
49653
49531
  classes.push(headerCellClassName.call(null, {
49654
49532
  rowIndex,
49655
49533
  columnIndex,
@@ -50107,7 +49985,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
50107
49985
  const ns = useNamespace("table");
50108
49986
  const getRowStyle = (row, rowIndex) => {
50109
49987
  const rowStyle = parent == null ? void 0 : parent.props.rowStyle;
50110
- if (isFunction$2(rowStyle)) {
49988
+ if (isFunction$1(rowStyle)) {
50111
49989
  return rowStyle.call(null, {
50112
49990
  row,
50113
49991
  rowIndex
@@ -50125,9 +50003,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
50125
50003
  classes.push(ns.em("row", "striped"));
50126
50004
  }
50127
50005
  const rowClassName = parent == null ? void 0 : parent.props.rowClassName;
50128
- if (isString$2(rowClassName)) {
50006
+ if (isString$1(rowClassName)) {
50129
50007
  classes.push(rowClassName);
50130
- } else if (isFunction$2(rowClassName)) {
50008
+ } else if (isFunction$1(rowClassName)) {
50131
50009
  classes.push(rowClassName.call(null, {
50132
50010
  row,
50133
50011
  rowIndex
@@ -50138,7 +50016,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
50138
50016
  const getCellStyle = (rowIndex, columnIndex, row, column) => {
50139
50017
  const cellStyle = parent == null ? void 0 : parent.props.cellStyle;
50140
50018
  let cellStyles = cellStyle != null ? cellStyle : {};
50141
- if (isFunction$2(cellStyle)) {
50019
+ if (isFunction$1(cellStyle)) {
50142
50020
  cellStyles = cellStyle.call(null, {
50143
50021
  rowIndex,
50144
50022
  columnIndex,
@@ -50155,9 +50033,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
50155
50033
  const fixedClasses = getFixedColumnsClass(ns.b(), columnIndex, props == null ? void 0 : props.fixed, props.store, void 0, offset);
50156
50034
  const classes = [column.id, column.align, column.className, ...fixedClasses];
50157
50035
  const cellClassName = parent == null ? void 0 : parent.props.cellClassName;
50158
- if (isString$2(cellClassName)) {
50036
+ if (isString$1(cellClassName)) {
50159
50037
  classes.push(cellClassName);
50160
- } else if (isFunction$2(cellClassName)) {
50038
+ } else if (isFunction$1(cellClassName)) {
50161
50039
  classes.push(cellClassName.call(null, {
50162
50040
  rowIndex,
50163
50041
  columnIndex,
@@ -50172,7 +50050,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
50172
50050
  let rowspan = 1;
50173
50051
  let colspan = 1;
50174
50052
  const fn = parent == null ? void 0 : parent.props.spanMethod;
50175
- if (isFunction$2(fn)) {
50053
+ if (isFunction$1(fn)) {
50176
50054
  const result = fn({
50177
50055
  row,
50178
50056
  column,
@@ -51176,7 +51054,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
51176
51054
  };
51177
51055
  const setScrollPosition = (position, offset) => {
51178
51056
  const scrollbar = scrollBarRef.value;
51179
- if (scrollbar && isNumber$1(offset) && ["Top", "Left"].includes(position)) {
51057
+ if (scrollbar && isNumber(offset) && ["Top", "Left"].includes(position)) {
51180
51058
  scrollbar[`setScroll${position}`](offset);
51181
51059
  }
51182
51060
  };
@@ -51618,9 +51496,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
51618
51496
  }) {
51619
51497
  let i = $index + 1;
51620
51498
  const index = column.index;
51621
- if (isNumber$1(index)) {
51499
+ if (isNumber(index)) {
51622
51500
  i = $index + index;
51623
- } else if (isFunction$2(index)) {
51501
+ } else if (isFunction$1(index)) {
51624
51502
  i = index($index);
51625
51503
  }
51626
51504
  return vue.h("div", {}, [i]);
@@ -51911,9 +51789,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
51911
51789
  }
51912
51790
  };
51913
51791
  const setColumnRenders = (column) => {
51914
- if (props.renderHeader) {
51915
- debugWarn("TableColumn", "Comparing to render-header, scoped-slot header is easier to use. We recommend users to use scoped-slot header.");
51916
- } else if (column.type !== "selection") {
51792
+ if (props.renderHeader) ; else if (column.type !== "selection") {
51917
51793
  column.renderHeader = (scope) => {
51918
51794
  instance.columnConfig.value["label"];
51919
51795
  if (slots.header) {
@@ -52188,7 +52064,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
52188
52064
  children.push(childNode);
52189
52065
  } else if (childNode.type === vue.Fragment && isArray$1(childNode.children)) {
52190
52066
  childNode.children.forEach((vnode2) => {
52191
- if ((vnode2 == null ? void 0 : vnode2.patchFlag) !== 1024 && !isString$2(vnode2 == null ? void 0 : vnode2.children)) {
52067
+ if ((vnode2 == null ? void 0 : vnode2.patchFlag) !== 1024 && !isString$1(vnode2 == null ? void 0 : vnode2.children)) {
52192
52068
  children.push(vnode2);
52193
52069
  }
52194
52070
  });
@@ -52419,7 +52295,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
52419
52295
  const leftTableHeights = vue.shallowRef({});
52420
52296
  const mainTableHeights = vue.shallowRef({});
52421
52297
  const rightTableHeights = vue.shallowRef({});
52422
- const isDynamic = vue.computed(() => isNumber$1(props.estimatedRowHeight));
52298
+ const isDynamic = vue.computed(() => isNumber(props.estimatedRowHeight));
52423
52299
  function onRowsRendered(params) {
52424
52300
  var _a;
52425
52301
  (_a = props.onRowsRendered) == null ? void 0 : _a.call(props, params);
@@ -52580,7 +52456,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
52580
52456
  return isArray$1(listLike) ? listLike.reduce(sumReducer, 0) : listLike;
52581
52457
  };
52582
52458
  const tryCall = (fLike, params, defaultRet = {}) => {
52583
- return isFunction$2(fLike) ? fLike(params) : fLike != null ? fLike : defaultRet;
52459
+ return isFunction$1(fLike) ? fLike(params) : fLike != null ? fLike : defaultRet;
52584
52460
  };
52585
52461
  const enforceUnit = (style) => {
52586
52462
  ["width", "maxWidth", "minWidth", "height"].forEach((key) => {
@@ -52615,7 +52491,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
52615
52491
  const fixedTableHeight = vue.computed(() => {
52616
52492
  const { maxHeight } = props;
52617
52493
  const tableHeight = vue.unref(mainTableHeight);
52618
- if (isNumber$1(maxHeight) && maxHeight > 0)
52494
+ if (isNumber(maxHeight) && maxHeight > 0)
52619
52495
  return tableHeight;
52620
52496
  const totalHeight = vue.unref(rowsHeight) + vue.unref(headerHeight) + vue.unref(fixedRowsHeight);
52621
52497
  return Math.min(tableHeight, totalHeight);
@@ -52751,7 +52627,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
52751
52627
  const rowsHeight = vue.computed(() => {
52752
52628
  const { estimatedRowHeight, rowHeight } = props;
52753
52629
  const _data = vue.unref(data);
52754
- if (isNumber$1(estimatedRowHeight)) {
52630
+ if (isNumber(estimatedRowHeight)) {
52755
52631
  return Object.values(vue.unref(rowHeights)).reduce((acc, curr) => acc + curr, 0);
52756
52632
  }
52757
52633
  return _data.length * rowHeight;
@@ -53261,7 +53137,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
53261
53137
  const measured = vue.ref(false);
53262
53138
  const rowRef = vue.ref();
53263
53139
  const measurable = vue.computed(() => {
53264
- return isNumber$1(props.estimatedRowHeight) && props.rowIndex >= 0;
53140
+ return isNumber(props.estimatedRowHeight) && props.rowIndex >= 0;
53265
53141
  });
53266
53142
  const doMeasure = (isInit = false) => {
53267
53143
  const $rowRef = vue.unref(rowRef);
@@ -53300,7 +53176,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
53300
53176
  const handlers = props.rowEventHandlers || {};
53301
53177
  const eventHandlers2 = {};
53302
53178
  Object.entries(handlers).forEach(([eventName, handler]) => {
53303
- if (isFunction$2(handler)) {
53179
+ if (isFunction$1(handler)) {
53304
53180
  eventHandlers2[eventName] = (event) => {
53305
53181
  handler({
53306
53182
  event,
@@ -53575,7 +53451,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
53575
53451
  }
53576
53452
  vue.watch(() => props.bodyWidth, () => {
53577
53453
  var _a;
53578
- if (isNumber$1(props.estimatedRowHeight))
53454
+ if (isNumber(props.estimatedRowHeight))
53579
53455
  (_a = bodyRef.value) == null ? void 0 : _a.resetAfter({
53580
53456
  columnIndex: 0
53581
53457
  }, false);
@@ -53661,7 +53537,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
53661
53537
  getRowHeight,
53662
53538
  onScroll
53663
53539
  } = props;
53664
- const isDynamicRowEnabled = isNumber$1(estimatedRowHeight);
53540
+ const isDynamicRowEnabled = isNumber(estimatedRowHeight);
53665
53541
  const Grid = isDynamicRowEnabled ? DynamicSizeGrid$1 : FixedSizeGrid$1;
53666
53542
  const _headerHeight = vue.unref(headerHeight);
53667
53543
  return vue.createVNode("div", {
@@ -53892,7 +53768,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
53892
53768
  dataKey,
53893
53769
  dataGetter
53894
53770
  } = column;
53895
- const cellData = isFunction$2(dataGetter) ? dataGetter({
53771
+ const cellData = isFunction$1(dataGetter) ? dataGetter({
53896
53772
  columns,
53897
53773
  column,
53898
53774
  columnIndex,
@@ -54390,7 +54266,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
54390
54266
  const props = __props;
54391
54267
  const rootTabs = vue.inject(tabsRootContextKey);
54392
54268
  if (!rootTabs)
54393
- throwError$1(COMPONENT_NAME$4, "<el-tabs><el-tab-bar /></el-tabs>");
54269
+ throwError(COMPONENT_NAME$4, "<el-tabs><el-tab-bar /></el-tabs>");
54394
54270
  const ns = useNamespace("tabs");
54395
54271
  const barRef = vue.ref();
54396
54272
  const barStyle = vue.ref();
@@ -54500,7 +54376,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
54500
54376
  }) {
54501
54377
  const rootTabs = vue.inject(tabsRootContextKey);
54502
54378
  if (!rootTabs)
54503
- throwError$1(COMPONENT_NAME$3, `<el-tabs><tab-nav /></el-tabs>`);
54379
+ throwError(COMPONENT_NAME$3, `<el-tabs><tab-nav /></el-tabs>`);
54504
54380
  const ns = useNamespace("tabs");
54505
54381
  const visibility = useDocumentVisibility();
54506
54382
  const focused = useWindowFocus();
@@ -54793,7 +54669,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
54793
54669
  default: 0
54794
54670
  }
54795
54671
  });
54796
- const isPaneName = (value) => isString$2(value) || isNumber$1(value);
54672
+ const isPaneName = (value) => isString$1(value) || isNumber(value);
54797
54673
  const tabsEmits = {
54798
54674
  [UPDATE_MODEL_EVENT]: (name) => isPaneName(name),
54799
54675
  tabClick: (pane, ev) => ev instanceof Event,
@@ -54969,7 +54845,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
54969
54845
  const slots = vue.useSlots();
54970
54846
  const tabsRoot = vue.inject(tabsRootContextKey);
54971
54847
  if (!tabsRoot)
54972
- throwError$1(COMPONENT_NAME$2, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
54848
+ throwError(COMPONENT_NAME$2, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
54973
54849
  const ns = useNamespace("tab-pane");
54974
54850
  const paneRef = vue.ref();
54975
54851
  const index = vue.ref();
@@ -55597,7 +55473,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
55597
55473
  const propsAlias = usePropsAlias(props);
55598
55474
  const filteredData = vue.computed(() => {
55599
55475
  return props.data.filter((item) => {
55600
- if (isFunction$2(props.filterMethod)) {
55476
+ if (isFunction$1(props.filterMethod)) {
55601
55477
  return props.filterMethod(panelState.query, item);
55602
55478
  } else {
55603
55479
  const label = String(item[propsAlias.value.label] || item[propsAlias.value.key]);
@@ -55912,7 +55788,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
55912
55788
  vue.watch(() => props.modelValue, () => {
55913
55789
  var _a;
55914
55790
  if (props.validateEvent) {
55915
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn(err));
55791
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn());
55916
55792
  }
55917
55793
  });
55918
55794
  const optionRender = vue.computed(() => (option) => {
@@ -56101,9 +55977,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
56101
55977
  const props = node.store.props;
56102
55978
  const data = node.data || {};
56103
55979
  const config = props[prop];
56104
- if (isFunction$2(config)) {
55980
+ if (isFunction$1(config)) {
56105
55981
  return config(data, node);
56106
- } else if (isString$2(config)) {
55982
+ } else if (isString$1(config)) {
56107
55983
  return data[config];
56108
55984
  } else if (isUndefined(config)) {
56109
55985
  const dataProp = data[prop];
@@ -56891,7 +56767,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
56891
56767
  const treeNodeDragStart = ({ event, treeNode }) => {
56892
56768
  if (!event.dataTransfer)
56893
56769
  return;
56894
- if (isFunction$2(props.allowDrag) && !props.allowDrag(treeNode.node)) {
56770
+ if (isFunction$1(props.allowDrag) && !props.allowDrag(treeNode.node)) {
56895
56771
  event.preventDefault();
56896
56772
  return false;
56897
56773
  }
@@ -56918,7 +56794,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
56918
56794
  let dropInner = true;
56919
56795
  let dropNext = true;
56920
56796
  let userAllowDropInner = true;
56921
- if (isFunction$2(props.allowDrop)) {
56797
+ if (isFunction$1(props.allowDrop)) {
56922
56798
  dropPrev = props.allowDrop(draggingNode.node, dropNode.node, "prev");
56923
56799
  userAllowDropInner = dropInner = props.allowDrop(draggingNode.node, dropNode.node, "inner");
56924
56800
  dropNext = props.allowDrop(draggingNode.node, dropNode.node, "next");
@@ -57074,9 +56950,6 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
57074
56950
  const dragEvents = vue.inject(dragEventsKey);
57075
56951
  const instance = vue.getCurrentInstance();
57076
56952
  vue.provide(NODE_INSTANCE_INJECTION_KEY, instance);
57077
- if (!tree) {
57078
- debugWarn("Tree", "Can not find node's tree.");
57079
- }
57080
56953
  if (props.node.expanded) {
57081
56954
  expanded.value = true;
57082
56955
  childNodeRendered.value = true;
@@ -57111,13 +56984,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
57111
56984
  return {};
57112
56985
  }
57113
56986
  let className;
57114
- if (isFunction$2(nodeClassFunc)) {
56987
+ if (isFunction$1(nodeClassFunc)) {
57115
56988
  const { data } = node;
57116
56989
  className = nodeClassFunc(data, node);
57117
56990
  } else {
57118
56991
  className = nodeClassFunc;
57119
56992
  }
57120
- if (isString$2(className)) {
56993
+ if (isString$1(className)) {
57121
56994
  return { [className]: true };
57122
56995
  } else {
57123
56996
  return className;
@@ -57939,7 +57812,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
57939
57812
  const getNodeValByProp = (prop, data) => {
57940
57813
  var _a;
57941
57814
  const propVal = propsMap.value[prop];
57942
- if (isFunction$2(propVal)) {
57815
+ if (isFunction$1(propVal)) {
57943
57816
  return propVal(data, (_a = tree.value) == null ? void 0 : _a.getNode(getNodeValByProp("value", data)));
57944
57817
  } else {
57945
57818
  return data[propVal];
@@ -58481,7 +58354,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
58481
58354
  const hiddenNodeKeySet = vue.ref(/* @__PURE__ */ new Set([]));
58482
58355
  const hiddenExpandIconKeySet = vue.ref(/* @__PURE__ */ new Set([]));
58483
58356
  const filterable = vue.computed(() => {
58484
- return isFunction$2(props.filterMethod);
58357
+ return isFunction$1(props.filterMethod);
58485
58358
  });
58486
58359
  function doFilter(query) {
58487
58360
  var _a;
@@ -58873,13 +58746,13 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
58873
58746
  if (!nodeClassFunc)
58874
58747
  return {};
58875
58748
  let className;
58876
- if (isFunction$2(nodeClassFunc)) {
58749
+ if (isFunction$1(nodeClassFunc)) {
58877
58750
  const { data } = node;
58878
58751
  className = nodeClassFunc(data, node);
58879
58752
  } else {
58880
58753
  className = nodeClassFunc;
58881
58754
  }
58882
- return isString$2(className) ? { [className]: true } : className;
58755
+ return isString$1(className) ? { [className]: true } : className;
58883
58756
  };
58884
58757
  const handleClick = (e) => {
58885
58758
  emit("click", props.node, e);
@@ -59104,7 +58977,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
59104
58977
 
59105
58978
  const uploadContextKey = Symbol("uploadContextKey");
59106
58979
 
59107
- const SCOPE$3 = "ElUpload";
58980
+ const SCOPE$2 = "ElUpload";
59108
58981
  class UploadAjaxError extends Error {
59109
58982
  constructor(message, status, method, url) {
59110
58983
  super(message);
@@ -59138,7 +59011,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
59138
59011
  }
59139
59012
  const ajaxUpload = (option) => {
59140
59013
  if (typeof XMLHttpRequest === "undefined")
59141
- throwError$1(SCOPE$3, "XMLHttpRequest is undefined");
59014
+ throwError(SCOPE$2, "XMLHttpRequest is undefined");
59142
59015
  const xhr = new XMLHttpRequest();
59143
59016
  const action = option.action;
59144
59017
  if (xhr.upload) {
@@ -59499,7 +59372,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
59499
59372
  setup(__props, { emit }) {
59500
59373
  const uploaderContext = vue.inject(uploadContextKey);
59501
59374
  if (!uploaderContext) {
59502
- throwError$1(COMPONENT_NAME$1, "usage: <el-upload><el-upload-dragger /></el-upload>");
59375
+ throwError(COMPONENT_NAME$1, "usage: <el-upload><el-upload-dragger /></el-upload>");
59503
59376
  }
59504
59377
  const ns = useNamespace("upload");
59505
59378
  const dragover = vue.ref(false);
@@ -59644,7 +59517,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
59644
59517
  }), beforeData);
59645
59518
  };
59646
59519
  const resolveData = async (data, rawFile) => {
59647
- if (isFunction$2(data)) {
59520
+ if (isFunction$1(data)) {
59648
59521
  return data(rawFile);
59649
59522
  }
59650
59523
  return data;
@@ -59765,7 +59638,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
59765
59638
  });
59766
59639
  var UploadContent = /* @__PURE__ */ _export_sfc(_sfc_main$h, [["__file", "upload-content.vue"]]);
59767
59640
 
59768
- const SCOPE$2 = "ElUpload";
59641
+ const SCOPE$1 = "ElUpload";
59769
59642
  const revokeFileObjectURL = (file) => {
59770
59643
  var _a;
59771
59644
  if ((_a = file.url) == null ? void 0 : _a.startsWith("blob:")) {
@@ -59830,7 +59703,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
59830
59703
  try {
59831
59704
  uploadFile.url = URL.createObjectURL(file);
59832
59705
  } catch (err) {
59833
- debugWarn(SCOPE$2, err.message);
59706
+ debugWarn(SCOPE$1, err.message);
59834
59707
  props.onError(err, uploadFile, uploadFiles.value);
59835
59708
  }
59836
59709
  }
@@ -59840,7 +59713,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
59840
59713
  const handleRemove = async (file) => {
59841
59714
  const uploadFile = file instanceof File ? getFile(file) : file;
59842
59715
  if (!uploadFile)
59843
- throwError$1(SCOPE$2, "file to be removed not found");
59716
+ throwError(SCOPE$1, "file to be removed not found");
59844
59717
  const doRemove = (file2) => {
59845
59718
  abort(file2);
59846
59719
  removeFile(file2);
@@ -61093,7 +60966,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61093
60966
  function isHTMLElement(value) {
61094
60967
  return value instanceof getWindow(value).HTMLElement;
61095
60968
  }
61096
- function isElement$1(value) {
60969
+ function isElement(value) {
61097
60970
  return value instanceof getWindow(value).Element;
61098
60971
  }
61099
60972
  function isNode(value) {
@@ -61163,7 +61036,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61163
61036
  scaleY = element.offsetHeight > 0 ? round(clientRect.height) / element.offsetHeight || 1 : 1;
61164
61037
  }
61165
61038
 
61166
- const win = isElement$1(element) ? getWindow(element) : window;
61039
+ const win = isElement(element) ? getWindow(element) : window;
61167
61040
  const addVisualOffsets = !isLayoutViewport() && isFixedStrategy;
61168
61041
  const x = (clientRect.left + (addVisualOffsets ? (_win$visualViewport$o = (_win$visualViewport = win.visualViewport) == null ? void 0 : _win$visualViewport.offsetLeft) != null ? _win$visualViewport$o : 0 : 0)) / scaleX;
61169
61042
  const y = (clientRect.top + (addVisualOffsets ? (_win$visualViewport$o2 = (_win$visualViewport2 = win.visualViewport) == null ? void 0 : _win$visualViewport2.offsetTop) != null ? _win$visualViewport$o2 : 0 : 0)) / scaleY;
@@ -61186,7 +61059,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61186
61059
  }
61187
61060
 
61188
61061
  function getNodeScroll(element) {
61189
- if (isElement$1(element)) {
61062
+ if (isElement(element)) {
61190
61063
  return {
61191
61064
  scrollLeft: element.scrollLeft,
61192
61065
  scrollTop: element.scrollTop
@@ -61540,7 +61413,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61540
61413
  return rectToClientRect(getViewportRect(element, strategy));
61541
61414
  }
61542
61415
 
61543
- if (isElement$1(clippingParent)) {
61416
+ if (isElement(clippingParent)) {
61544
61417
  return getInnerBoundingClientRect(clippingParent, strategy);
61545
61418
  }
61546
61419
 
@@ -61555,12 +61428,12 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61555
61428
  const canEscapeClipping = ['absolute', 'fixed'].includes(getComputedStyle$1(element).position);
61556
61429
  const clipperElement = canEscapeClipping && isHTMLElement(element) ? getOffsetParent(element) : element;
61557
61430
 
61558
- if (!isElement$1(clipperElement)) {
61431
+ if (!isElement(clipperElement)) {
61559
61432
  return [];
61560
61433
  } // @ts-ignore isElement check ensures we return Array<Element>
61561
61434
 
61562
61435
 
61563
- return clippingAncestors.filter(clippingAncestors => isElement$1(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
61436
+ return clippingAncestors.filter(clippingAncestors => isElement(clippingAncestors) && contains(clippingAncestors, clipperElement) && getNodeName(clippingAncestors) !== 'body');
61564
61437
  } // Gets the maximum area that the element is visible in due to any number of
61565
61438
  // clipping ancestors
61566
61439
 
@@ -61594,7 +61467,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61594
61467
  const platform = {
61595
61468
  getClippingRect,
61596
61469
  convertOffsetParentRelativeRectToViewportRelativeRect,
61597
- isElement: isElement$1,
61470
+ isElement,
61598
61471
  getDimensions,
61599
61472
  getOffsetParent,
61600
61473
  getDocumentElement,
@@ -61633,7 +61506,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61633
61506
  } = options;
61634
61507
  const ancestorScroll = _ancestorScroll && !animationFrame;
61635
61508
  const ancestorResize = _ancestorResize && !animationFrame;
61636
- const ancestors = ancestorScroll || ancestorResize ? [...(isElement$1(reference) ? getOverflowAncestors(reference) : []), ...getOverflowAncestors(floating)] : [];
61509
+ const ancestors = ancestorScroll || ancestorResize ? [...(isElement(reference) ? getOverflowAncestors(reference) : []), ...getOverflowAncestors(floating)] : [];
61637
61510
  ancestors.forEach(ancestor => {
61638
61511
  ancestorScroll && ancestor.addEventListener('scroll', update, {
61639
61512
  passive: true
@@ -61651,7 +61524,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61651
61524
 
61652
61525
  initialUpdate = false;
61653
61526
  });
61654
- isElement$1(reference) && !animationFrame && observer.observe(reference);
61527
+ isElement(reference) && !animationFrame && observer.observe(reference);
61655
61528
  observer.observe(floating);
61656
61529
  }
61657
61530
 
@@ -61705,9 +61578,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
61705
61578
  const posInfo = vue.ref(null);
61706
61579
  const getTargetEl = () => {
61707
61580
  let targetEl;
61708
- if (isString$2(target.value)) {
61581
+ if (isString$1(target.value)) {
61709
61582
  targetEl = document.querySelector(target.value);
61710
- } else if (isFunction$2(target.value)) {
61583
+ } else if (isFunction$1(target.value)) {
61711
61584
  targetEl = target.value();
61712
61585
  } else {
61713
61586
  targetEl = target.value;
@@ -62183,10 +62056,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
62183
62056
  });
62184
62057
  const tourEmits = {
62185
62058
  [UPDATE_MODEL_EVENT]: (value) => isBoolean(value),
62186
- ["update:current"]: (current) => isNumber$1(current),
62187
- close: (current) => isNumber$1(current),
62059
+ ["update:current"]: (current) => isNumber(current),
62060
+ close: (current) => isNumber(current),
62188
62061
  finish: () => true,
62189
- change: (current) => isNumber$1(current)
62062
+ change: (current) => isNumber(current)
62190
62063
  };
62191
62064
 
62192
62065
  const __default__$b = vue.defineComponent({
@@ -62597,8 +62470,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
62597
62470
  selectScrollTop: Boolean
62598
62471
  });
62599
62472
  const anchorEmits = {
62600
- change: (href) => isString$2(href),
62601
- click: (e, href) => e instanceof MouseEvent && (isString$2(href) || isUndefined(href))
62473
+ change: (href) => isString$1(href),
62474
+ click: (e, href) => e instanceof MouseEvent && (isString$1(href) || isUndefined(href))
62602
62475
  };
62603
62476
 
62604
62477
  const anchorKey = Symbol("anchor");
@@ -62930,8 +62803,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
62930
62803
  ...useAriaProps(["ariaLabel"])
62931
62804
  });
62932
62805
  const segmentedEmits = {
62933
- [UPDATE_MODEL_EVENT]: (val) => isString$2(val) || isNumber$1(val) || isBoolean(val),
62934
- [CHANGE_EVENT]: (val) => isString$2(val) || isNumber$1(val) || isBoolean(val)
62806
+ [UPDATE_MODEL_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val),
62807
+ [CHANGE_EVENT]: (val) => isString$1(val) || isNumber(val) || isBoolean(val)
62935
62808
  };
62936
62809
 
62937
62810
  const __default__$7 = vue.defineComponent({
@@ -63042,7 +62915,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
63042
62915
  var _a;
63043
62916
  updateSelect();
63044
62917
  if (props.validateEvent) {
63045
- (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn(err));
62918
+ (_a = formItem == null ? void 0 : formItem.validate) == null ? void 0 : _a.call(formItem, "change").catch((err) => debugWarn());
63046
62919
  }
63047
62920
  }, {
63048
62921
  flush: "post"
@@ -63254,9 +63127,9 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
63254
63127
  type: definePropType([String, Array]),
63255
63128
  default: "@",
63256
63129
  validator: (val) => {
63257
- if (isString$2(val))
63130
+ if (isString$1(val))
63258
63131
  return val.length === 1;
63259
- return val.every((v) => isString$2(v) && v.length === 1);
63132
+ return val.every((v) => isString$1(v) && v.length === 1);
63260
63133
  }
63261
63134
  },
63262
63135
  split: {
@@ -63270,7 +63143,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
63270
63143
  validator: (val) => {
63271
63144
  if (val === false)
63272
63145
  return true;
63273
- return isFunction$2(val);
63146
+ return isFunction$1(val);
63274
63147
  }
63275
63148
  },
63276
63149
  placement: {
@@ -63300,11 +63173,11 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
63300
63173
  }
63301
63174
  });
63302
63175
  const mentionEmits = {
63303
- [UPDATE_MODEL_EVENT]: (value) => isString$2(value),
63304
- "whole-remove": (pattern, prefix) => isString$2(pattern) && isString$2(prefix),
63305
- input: (value) => isString$2(value),
63306
- search: (pattern, prefix) => isString$2(pattern) && isString$2(prefix),
63307
- select: (option, prefix) => isObject$1(option) && isString$2(prefix),
63176
+ [UPDATE_MODEL_EVENT]: (value) => isString$1(value),
63177
+ "whole-remove": (pattern, prefix) => isString$1(pattern) && isString$1(prefix),
63178
+ input: (value) => isString$1(value),
63179
+ search: (pattern, prefix) => isString$1(pattern) && isString$1(prefix),
63180
+ select: (option, prefix) => isObject$1(option) && isString$1(prefix),
63308
63181
  focus: (evt) => evt instanceof FocusEvent,
63309
63182
  blur: (evt) => evt instanceof FocusEvent
63310
63183
  };
@@ -63325,7 +63198,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
63325
63198
  ariaLabel: String
63326
63199
  });
63327
63200
  const mentionDropdownEmits = {
63328
- select: (option) => isString$2(option.value)
63201
+ select: (option) => isString$1(option.value)
63329
63202
  };
63330
63203
 
63331
63204
  const __default__$6 = vue.defineComponent({
@@ -63585,7 +63458,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
63585
63458
  return;
63586
63459
  const inputValue = inputEl.value;
63587
63460
  const matchOption = options.value.find((item) => item.value === pattern);
63588
- const isWhole = isFunction$2(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
63461
+ const isWhole = isFunction$1(props.checkIsWhole) ? props.checkIsWhole(pattern, prefix) : matchOption;
63589
63462
  if (isWhole && splitIndex !== -1 && splitIndex + 1 === selectionEnd) {
63590
63463
  event.preventDefault();
63591
63464
  const newValue = inputValue.slice(0, prefixIndex) + inputValue.slice(splitIndex + 1);
@@ -63800,10 +63673,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
63800
63673
  return Number(str.slice(0, -2));
63801
63674
  }
63802
63675
  function isPct(itemSize) {
63803
- return isString$2(itemSize) && itemSize.endsWith("%");
63676
+ return isString$1(itemSize) && itemSize.endsWith("%");
63804
63677
  }
63805
63678
  function isPx(itemSize) {
63806
- return isString$2(itemSize) && itemSize.endsWith("px");
63679
+ return isString$1(itemSize) && itemSize.endsWith("px");
63807
63680
  }
63808
63681
  function useSize(panels, containerSize) {
63809
63682
  const propSizes = vue.computed(() => panels.value.map((i) => i.size));
@@ -64265,7 +64138,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64265
64138
  const ns = useNamespace("splitter-panel");
64266
64139
  const splitterContext = vue.inject(splitterRootContextKey);
64267
64140
  if (!splitterContext)
64268
- throwError$1(COMPONENT_NAME, "usage: <el-splitter><el-splitter-panel /></el-splitter/>");
64141
+ throwError(COMPONENT_NAME, "usage: <el-splitter><el-splitter-panel /></el-splitter/>");
64269
64142
  const { panels, layout, lazy, containerSize, pxSizes } = vue.toRefs(splitterContext);
64270
64143
  const {
64271
64144
  registerPanel,
@@ -64521,7 +64394,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64521
64394
  ElSplitterPanel
64522
64395
  ];
64523
64396
 
64524
- const SCOPE$1 = "ElInfiniteScroll";
64397
+ const SCOPE = "ElInfiniteScroll";
64525
64398
  const CHECK_INTERVAL = 50;
64526
64399
  const DEFAULT_DELAY = 200;
64527
64400
  const DEFAULT_DISTANCE = 0;
@@ -64556,18 +64429,18 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64556
64429
  }, {});
64557
64430
  };
64558
64431
  const destroyObserver = (el) => {
64559
- const { observer } = el[SCOPE$1];
64432
+ const { observer } = el[SCOPE];
64560
64433
  if (observer) {
64561
64434
  observer.disconnect();
64562
- delete el[SCOPE$1].observer;
64435
+ delete el[SCOPE].observer;
64563
64436
  }
64564
64437
  };
64565
64438
  const handleScroll = (el, cb) => {
64566
- const { container, containerEl, instance, observer, lastScrollTop } = el[SCOPE$1];
64439
+ const { container, containerEl, instance, observer, lastScrollTop } = el[SCOPE];
64567
64440
  const { disabled, distance } = getScrollOptions(el, instance);
64568
64441
  const { clientHeight, scrollHeight, scrollTop } = containerEl;
64569
64442
  const delta = scrollTop - lastScrollTop;
64570
- el[SCOPE$1].lastScrollTop = scrollTop;
64443
+ el[SCOPE].lastScrollTop = scrollTop;
64571
64444
  if (observer || disabled || delta < 0)
64572
64445
  return;
64573
64446
  let shouldTrigger = false;
@@ -64583,7 +64456,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64583
64456
  }
64584
64457
  };
64585
64458
  function checkFull(el, cb) {
64586
- const { containerEl, instance } = el[SCOPE$1];
64459
+ const { containerEl, instance } = el[SCOPE];
64587
64460
  const { disabled } = getScrollOptions(el, instance);
64588
64461
  if (disabled || containerEl.clientHeight === 0)
64589
64462
  return;
@@ -64597,14 +64470,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64597
64470
  async mounted(el, binding) {
64598
64471
  const { instance, value: cb } = binding;
64599
64472
  useDeprecated({
64600
- scope: SCOPE$1,
64473
+ scope: SCOPE,
64601
64474
  from: "the directive v-infinite-scroll",
64602
64475
  replacement: "the el-scrollbar infinite scroll",
64603
64476
  version: "3.0.0",
64604
64477
  ref: "https://element-plus.org/en-US/component/scrollbar#infinite-scroll"
64605
64478
  }, true);
64606
- if (!isFunction$2(cb)) {
64607
- throwError$1(SCOPE$1, "'v-infinite-scroll' binding value must be a function");
64479
+ if (!isFunction$1(cb)) {
64480
+ throwError(SCOPE, "'v-infinite-scroll' binding value must be a function");
64608
64481
  }
64609
64482
  await vue.nextTick();
64610
64483
  const { delay, immediate } = getScrollOptions(el, instance);
@@ -64613,7 +64486,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64613
64486
  const onScroll = throttle(handleScroll.bind(null, el, cb), delay);
64614
64487
  if (!container)
64615
64488
  return;
64616
- el[SCOPE$1] = {
64489
+ el[SCOPE] = {
64617
64490
  instance,
64618
64491
  container,
64619
64492
  containerEl,
@@ -64624,24 +64497,24 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64624
64497
  };
64625
64498
  if (immediate) {
64626
64499
  const observer = new MutationObserver(throttle(checkFull.bind(null, el, cb), CHECK_INTERVAL));
64627
- el[SCOPE$1].observer = observer;
64500
+ el[SCOPE].observer = observer;
64628
64501
  observer.observe(el, { childList: true, subtree: true });
64629
64502
  checkFull(el, cb);
64630
64503
  }
64631
64504
  container.addEventListener("scroll", onScroll);
64632
64505
  },
64633
64506
  unmounted(el) {
64634
- if (!el[SCOPE$1])
64507
+ if (!el[SCOPE])
64635
64508
  return;
64636
- const { container, onScroll } = el[SCOPE$1];
64509
+ const { container, onScroll } = el[SCOPE];
64637
64510
  container == null ? void 0 : container.removeEventListener("scroll", onScroll);
64638
64511
  destroyObserver(el);
64639
64512
  },
64640
64513
  async updated(el) {
64641
- if (!el[SCOPE$1]) {
64514
+ if (!el[SCOPE]) {
64642
64515
  await vue.nextTick();
64643
64516
  } else {
64644
- const { containerEl, cb, observer } = el[SCOPE$1];
64517
+ const { containerEl, cb, observer } = el[SCOPE];
64645
64518
  if (containerEl.clientHeight && observer) {
64646
64519
  checkFull(el, cb);
64647
64520
  }
@@ -64808,7 +64681,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64808
64681
  const resolveOptions = (options) => {
64809
64682
  var _a, _b, _c, _d;
64810
64683
  let target;
64811
- if (isString$2(options.target)) {
64684
+ if (isString$1(options.target)) {
64812
64685
  target = (_a = document.querySelector(options.target)) != null ? _a : document.body;
64813
64686
  } else {
64814
64687
  target = options.target || document.body;
@@ -64878,7 +64751,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
64878
64751
  const vm = binding.instance;
64879
64752
  const getBindingProp = (key) => isObject$1(binding.value) ? binding.value[key] : void 0;
64880
64753
  const resolveExpression = (key) => {
64881
- const data = isString$2(key) && (vm == null ? void 0 : vm[key]) || key;
64754
+ const data = isString$1(key) && (vm == null ? void 0 : vm[key]) || key;
64882
64755
  return vue.ref(data);
64883
64756
  };
64884
64757
  const getProp = (name) => resolveExpression(getBindingProp(name) || el.getAttribute(getAttributeName(name)));
@@ -65254,17 +65127,16 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65254
65127
  const appendTo = normalized.appendTo;
65255
65128
  if (!appendTo) {
65256
65129
  normalized.appendTo = document.body;
65257
- } else if (isString$2(normalized.appendTo)) {
65130
+ } else if (isString$1(normalized.appendTo)) {
65258
65131
  let appendTo2 = document.querySelector(normalized.appendTo);
65259
- if (!isElement$3(appendTo2)) {
65260
- debugWarn("ElMessage", "the appendTo option is not an HTMLElement. Falling back to document.body.");
65132
+ if (!isElement$2(appendTo2)) {
65261
65133
  appendTo2 = document.body;
65262
65134
  }
65263
65135
  normalized.appendTo = appendTo2;
65264
65136
  }
65265
65137
  };
65266
65138
  const normalizePlacement = (normalized) => {
65267
- if (!normalized.placement && isString$2(messageConfig.placement) && messageConfig.placement) {
65139
+ if (!normalized.placement && isString$1(messageConfig.placement) && messageConfig.placement) {
65268
65140
  normalized.placement = messageConfig.placement;
65269
65141
  }
65270
65142
  if (!normalized.placement) {
@@ -65276,7 +65148,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65276
65148
  }
65277
65149
  };
65278
65150
  const normalizeOptions = (params) => {
65279
- const options = !params || isString$2(params) || vue.isVNode(params) || isFunction$2(params) ? { message: params } : params;
65151
+ const options = !params || isString$1(params) || vue.isVNode(params) || isFunction$1(params) ? { message: params } : params;
65280
65152
  const normalized = {
65281
65153
  ...messageDefaults,
65282
65154
  ...options
@@ -65286,10 +65158,10 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65286
65158
  if (isBoolean(messageConfig.grouping) && !normalized.grouping) {
65287
65159
  normalized.grouping = messageConfig.grouping;
65288
65160
  }
65289
- if (isNumber$1(messageConfig.duration) && normalized.duration === 3e3) {
65161
+ if (isNumber(messageConfig.duration) && normalized.duration === 3e3) {
65290
65162
  normalized.duration = messageConfig.duration;
65291
65163
  }
65292
- if (isNumber$1(messageConfig.offset) && normalized.offset === 16) {
65164
+ if (isNumber(messageConfig.offset) && normalized.offset === 16) {
65293
65165
  normalized.offset = messageConfig.offset;
65294
65166
  }
65295
65167
  if (isBoolean(messageConfig.showClose) && !normalized.showClose) {
@@ -65325,8 +65197,8 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65325
65197
  vue.render(null, container);
65326
65198
  }
65327
65199
  };
65328
- const vnode = vue.createVNode(MessageConstructor, props, isFunction$2(props.message) || vue.isVNode(props.message) ? {
65329
- default: isFunction$2(props.message) ? props.message : () => props.message
65200
+ const vnode = vue.createVNode(MessageConstructor, props, isFunction$1(props.message) || vue.isVNode(props.message) ? {
65201
+ default: isFunction$1(props.message) ? props.message : () => props.message
65330
65202
  } : null);
65331
65203
  vnode.appContext = context || message._context;
65332
65204
  vue.render(vnode, container);
@@ -65362,7 +65234,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65362
65234
  return instance2.handler;
65363
65235
  }
65364
65236
  }
65365
- if (isNumber$1(messageConfig.max) && instances.length >= messageConfig.max) {
65237
+ if (isNumber(messageConfig.max) && instances.length >= messageConfig.max) {
65366
65238
  return { close: () => void 0 };
65367
65239
  }
65368
65240
  const instance = createMessage(normalized, context);
@@ -65614,14 +65486,14 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65614
65486
  return false;
65615
65487
  }
65616
65488
  const inputValidator = state.inputValidator;
65617
- if (isFunction$2(inputValidator)) {
65489
+ if (isFunction$1(inputValidator)) {
65618
65490
  const validateResult = inputValidator(state.inputValue);
65619
65491
  if (validateResult === false) {
65620
65492
  state.editorErrorMessage = state.inputErrorMessage || t("el.messagebox.error");
65621
65493
  state.validateError = true;
65622
65494
  return false;
65623
65495
  }
65624
- if (isString$2(validateResult)) {
65496
+ if (isString$1(validateResult)) {
65625
65497
  state.editorErrorMessage = validateResult;
65626
65498
  state.validateError = true;
65627
65499
  return false;
@@ -65878,22 +65750,21 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65878
65750
  const getAppendToElement = (props) => {
65879
65751
  let appendTo = document.body;
65880
65752
  if (props.appendTo) {
65881
- if (isString$2(props.appendTo)) {
65753
+ if (isString$1(props.appendTo)) {
65882
65754
  appendTo = document.querySelector(props.appendTo);
65883
65755
  }
65884
- if (isElement$3(props.appendTo)) {
65756
+ if (isElement$2(props.appendTo)) {
65885
65757
  appendTo = props.appendTo;
65886
65758
  }
65887
- if (!isElement$3(appendTo)) {
65888
- debugWarn("ElMessageBox", "the appendTo option is not an HTMLElement. Falling back to document.body.");
65759
+ if (!isElement$2(appendTo)) {
65889
65760
  appendTo = document.body;
65890
65761
  }
65891
65762
  }
65892
65763
  return appendTo;
65893
65764
  };
65894
65765
  const initInstance = (props, container, appContext = null) => {
65895
- const vnode = vue.createVNode(MessageBoxConstructor, props, isFunction$2(props.message) || vue.isVNode(props.message) ? {
65896
- default: isFunction$2(props.message) ? props.message : () => props.message
65766
+ const vnode = vue.createVNode(MessageBoxConstructor, props, isFunction$1(props.message) || vue.isVNode(props.message) ? {
65767
+ default: isFunction$1(props.message) ? props.message : () => props.message
65897
65768
  } : null);
65898
65769
  vnode.appContext = appContext;
65899
65770
  vue.render(vnode, container);
@@ -65949,7 +65820,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
65949
65820
  if (!isClient)
65950
65821
  return Promise.reject();
65951
65822
  let callback;
65952
- if (isString$2(options) || vue.isVNode(options)) {
65823
+ if (isString$1(options) || vue.isVNode(options)) {
65953
65824
  options = {
65954
65825
  message: options
65955
65826
  };
@@ -66238,7 +66109,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
66238
66109
  const notify = function(options = {}, context) {
66239
66110
  if (!isClient)
66240
66111
  return { close: () => void 0 };
66241
- if (isString$2(options) || vue.isVNode(options)) {
66112
+ if (isString$1(options) || vue.isVNode(options)) {
66242
66113
  options = { message: options };
66243
66114
  }
66244
66115
  const position = options.position || "top-right";
@@ -66259,17 +66130,16 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
66259
66130
  }
66260
66131
  };
66261
66132
  let appendTo = document.body;
66262
- if (isElement$3(options.appendTo)) {
66133
+ if (isElement$2(options.appendTo)) {
66263
66134
  appendTo = options.appendTo;
66264
- } else if (isString$2(options.appendTo)) {
66135
+ } else if (isString$1(options.appendTo)) {
66265
66136
  appendTo = document.querySelector(options.appendTo);
66266
66137
  }
66267
- if (!isElement$3(appendTo)) {
66268
- debugWarn("ElNotification", "the appendTo option is not an HTMLElement. Falling back to document.body.");
66138
+ if (!isElement$2(appendTo)) {
66269
66139
  appendTo = document.body;
66270
66140
  }
66271
66141
  const container = document.createElement("div");
66272
- const vm = vue.createVNode(NotificationConstructor, props, isFunction$2(props.message) ? props.message : vue.isVNode(props.message) ? () => props.message : null);
66142
+ const vm = vue.createVNode(NotificationConstructor, props, isFunction$1(props.message) ? props.message : vue.isVNode(props.message) ? () => props.message : null);
66273
66143
  vm.appContext = isUndefined(context) ? notify._context : context;
66274
66144
  vm.props.onDestroy = () => {
66275
66145
  vue.render(null, container);
@@ -66285,7 +66155,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
66285
66155
  };
66286
66156
  notificationTypes.forEach((type) => {
66287
66157
  notify[type] = (options = {}, appContext) => {
66288
- if (isString$2(options) || vue.isVNode(options)) {
66158
+ if (isString$1(options) || vue.isVNode(options)) {
66289
66159
  options = {
66290
66160
  message: options
66291
66161
  };
@@ -66525,7 +66395,7 @@ usage: app.provide(ZINDEX_INJECTION_KEY, { current: 0 })`);
66525
66395
  exports.ROOT_TREE_INJECTION_KEY = ROOT_TREE_INJECTION_KEY$1;
66526
66396
  exports.RowAlign = RowAlign;
66527
66397
  exports.RowJustify = RowJustify;
66528
- exports.SCOPE = SCOPE$8;
66398
+ exports.SCOPE = SCOPE$6;
66529
66399
  exports.SIZE_INJECTION_KEY = SIZE_INJECTION_KEY;
66530
66400
  exports.STEPS_INJECTION_KEY = STEPS_INJECTION_KEY;
66531
66401
  exports.SUB_MENU_INJECTION_KEY = SUB_MENU_INJECTION_KEY;