@element-plus/nightly 0.0.20220915 → 0.0.20220917

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 (894) hide show
  1. package/dist/index.full.js +789 -790
  2. package/dist/index.full.min.js +23 -23
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +23 -23
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +785 -787
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar.js +1 -1
  12. package/dist/locale/ar.min.js +1 -1
  13. package/dist/locale/ar.min.mjs +1 -1
  14. package/dist/locale/ar.mjs +1 -1
  15. package/dist/locale/az.js +1 -1
  16. package/dist/locale/az.min.js +1 -1
  17. package/dist/locale/az.min.mjs +1 -1
  18. package/dist/locale/az.mjs +1 -1
  19. package/dist/locale/bg.js +1 -1
  20. package/dist/locale/bg.min.js +1 -1
  21. package/dist/locale/bg.min.mjs +1 -1
  22. package/dist/locale/bg.mjs +1 -1
  23. package/dist/locale/bn.js +1 -1
  24. package/dist/locale/bn.min.js +1 -1
  25. package/dist/locale/bn.min.mjs +1 -1
  26. package/dist/locale/bn.mjs +1 -1
  27. package/dist/locale/ca.js +1 -1
  28. package/dist/locale/ca.min.js +1 -1
  29. package/dist/locale/ca.min.mjs +1 -1
  30. package/dist/locale/ca.mjs +1 -1
  31. package/dist/locale/cs.js +1 -1
  32. package/dist/locale/cs.min.js +1 -1
  33. package/dist/locale/cs.min.mjs +1 -1
  34. package/dist/locale/cs.mjs +1 -1
  35. package/dist/locale/da.js +1 -1
  36. package/dist/locale/da.min.js +1 -1
  37. package/dist/locale/da.min.mjs +1 -1
  38. package/dist/locale/da.mjs +1 -1
  39. package/dist/locale/de.js +1 -1
  40. package/dist/locale/de.min.js +1 -1
  41. package/dist/locale/de.min.mjs +1 -1
  42. package/dist/locale/de.mjs +1 -1
  43. package/dist/locale/el.js +1 -1
  44. package/dist/locale/el.min.js +1 -1
  45. package/dist/locale/el.min.mjs +1 -1
  46. package/dist/locale/el.mjs +1 -1
  47. package/dist/locale/en.js +1 -1
  48. package/dist/locale/en.min.js +1 -1
  49. package/dist/locale/en.min.mjs +1 -1
  50. package/dist/locale/en.mjs +1 -1
  51. package/dist/locale/eo.js +1 -1
  52. package/dist/locale/eo.min.js +1 -1
  53. package/dist/locale/eo.min.mjs +1 -1
  54. package/dist/locale/eo.mjs +1 -1
  55. package/dist/locale/es.js +1 -1
  56. package/dist/locale/es.min.js +1 -1
  57. package/dist/locale/es.min.mjs +1 -1
  58. package/dist/locale/es.mjs +1 -1
  59. package/dist/locale/et.js +1 -1
  60. package/dist/locale/et.min.js +1 -1
  61. package/dist/locale/et.min.mjs +1 -1
  62. package/dist/locale/et.mjs +1 -1
  63. package/dist/locale/eu.js +1 -1
  64. package/dist/locale/eu.min.js +1 -1
  65. package/dist/locale/eu.min.mjs +1 -1
  66. package/dist/locale/eu.mjs +1 -1
  67. package/dist/locale/fa.js +1 -1
  68. package/dist/locale/fa.min.js +1 -1
  69. package/dist/locale/fa.min.mjs +1 -1
  70. package/dist/locale/fa.mjs +1 -1
  71. package/dist/locale/fi.js +1 -1
  72. package/dist/locale/fi.min.js +1 -1
  73. package/dist/locale/fi.min.mjs +1 -1
  74. package/dist/locale/fi.mjs +1 -1
  75. package/dist/locale/fr.js +1 -1
  76. package/dist/locale/fr.min.js +1 -1
  77. package/dist/locale/fr.min.mjs +1 -1
  78. package/dist/locale/fr.mjs +1 -1
  79. package/dist/locale/he.js +1 -1
  80. package/dist/locale/he.min.js +1 -1
  81. package/dist/locale/he.min.mjs +1 -1
  82. package/dist/locale/he.mjs +1 -1
  83. package/dist/locale/hr.js +1 -1
  84. package/dist/locale/hr.min.js +1 -1
  85. package/dist/locale/hr.min.mjs +1 -1
  86. package/dist/locale/hr.mjs +1 -1
  87. package/dist/locale/hu.js +1 -1
  88. package/dist/locale/hu.min.js +1 -1
  89. package/dist/locale/hu.min.mjs +1 -1
  90. package/dist/locale/hu.mjs +1 -1
  91. package/dist/locale/hy-am.js +1 -1
  92. package/dist/locale/hy-am.min.js +1 -1
  93. package/dist/locale/hy-am.min.mjs +1 -1
  94. package/dist/locale/hy-am.mjs +1 -1
  95. package/dist/locale/id.js +1 -1
  96. package/dist/locale/id.min.js +1 -1
  97. package/dist/locale/id.min.mjs +1 -1
  98. package/dist/locale/id.mjs +1 -1
  99. package/dist/locale/it.js +1 -1
  100. package/dist/locale/it.min.js +1 -1
  101. package/dist/locale/it.min.mjs +1 -1
  102. package/dist/locale/it.mjs +1 -1
  103. package/dist/locale/ja.js +1 -1
  104. package/dist/locale/ja.min.js +1 -1
  105. package/dist/locale/ja.min.mjs +1 -1
  106. package/dist/locale/ja.mjs +1 -1
  107. package/dist/locale/kk.js +1 -1
  108. package/dist/locale/kk.min.js +1 -1
  109. package/dist/locale/kk.min.mjs +1 -1
  110. package/dist/locale/kk.mjs +1 -1
  111. package/dist/locale/km.js +1 -1
  112. package/dist/locale/km.min.js +1 -1
  113. package/dist/locale/km.min.mjs +1 -1
  114. package/dist/locale/km.mjs +1 -1
  115. package/dist/locale/ko.js +1 -1
  116. package/dist/locale/ko.min.js +1 -1
  117. package/dist/locale/ko.min.mjs +1 -1
  118. package/dist/locale/ko.mjs +1 -1
  119. package/dist/locale/ku.js +1 -1
  120. package/dist/locale/ku.min.js +1 -1
  121. package/dist/locale/ku.min.mjs +1 -1
  122. package/dist/locale/ku.mjs +1 -1
  123. package/dist/locale/ky.js +1 -1
  124. package/dist/locale/ky.min.js +1 -1
  125. package/dist/locale/ky.min.mjs +1 -1
  126. package/dist/locale/ky.mjs +1 -1
  127. package/dist/locale/lt.js +1 -1
  128. package/dist/locale/lt.min.js +1 -1
  129. package/dist/locale/lt.min.mjs +1 -1
  130. package/dist/locale/lt.mjs +1 -1
  131. package/dist/locale/lv.js +1 -1
  132. package/dist/locale/lv.min.js +1 -1
  133. package/dist/locale/lv.min.mjs +1 -1
  134. package/dist/locale/lv.mjs +1 -1
  135. package/dist/locale/mg.js +1 -1
  136. package/dist/locale/mg.min.js +1 -1
  137. package/dist/locale/mg.min.mjs +1 -1
  138. package/dist/locale/mg.mjs +1 -1
  139. package/dist/locale/mn.js +1 -1
  140. package/dist/locale/mn.min.js +1 -1
  141. package/dist/locale/mn.min.mjs +1 -1
  142. package/dist/locale/mn.mjs +1 -1
  143. package/dist/locale/nb-no.js +1 -1
  144. package/dist/locale/nb-no.min.js +1 -1
  145. package/dist/locale/nb-no.min.mjs +1 -1
  146. package/dist/locale/nb-no.mjs +1 -1
  147. package/dist/locale/nl.js +1 -1
  148. package/dist/locale/nl.min.js +1 -1
  149. package/dist/locale/nl.min.mjs +1 -1
  150. package/dist/locale/nl.mjs +1 -1
  151. package/dist/locale/pa.js +1 -1
  152. package/dist/locale/pa.min.js +1 -1
  153. package/dist/locale/pa.min.mjs +1 -1
  154. package/dist/locale/pa.mjs +1 -1
  155. package/dist/locale/pl.js +1 -1
  156. package/dist/locale/pl.min.js +1 -1
  157. package/dist/locale/pl.min.mjs +1 -1
  158. package/dist/locale/pl.mjs +1 -1
  159. package/dist/locale/pt-br.js +1 -1
  160. package/dist/locale/pt-br.min.js +1 -1
  161. package/dist/locale/pt-br.min.mjs +1 -1
  162. package/dist/locale/pt-br.mjs +1 -1
  163. package/dist/locale/pt.js +1 -1
  164. package/dist/locale/pt.min.js +1 -1
  165. package/dist/locale/pt.min.mjs +1 -1
  166. package/dist/locale/pt.mjs +1 -1
  167. package/dist/locale/ro.js +1 -1
  168. package/dist/locale/ro.min.js +1 -1
  169. package/dist/locale/ro.min.mjs +1 -1
  170. package/dist/locale/ro.mjs +1 -1
  171. package/dist/locale/ru.js +1 -1
  172. package/dist/locale/ru.min.js +1 -1
  173. package/dist/locale/ru.min.mjs +1 -1
  174. package/dist/locale/ru.mjs +1 -1
  175. package/dist/locale/sk.js +1 -1
  176. package/dist/locale/sk.min.js +1 -1
  177. package/dist/locale/sk.min.mjs +1 -1
  178. package/dist/locale/sk.mjs +1 -1
  179. package/dist/locale/sl.js +1 -1
  180. package/dist/locale/sl.min.js +1 -1
  181. package/dist/locale/sl.min.mjs +1 -1
  182. package/dist/locale/sl.mjs +1 -1
  183. package/dist/locale/sr.js +1 -1
  184. package/dist/locale/sr.min.js +1 -1
  185. package/dist/locale/sr.min.mjs +1 -1
  186. package/dist/locale/sr.mjs +1 -1
  187. package/dist/locale/sv.js +1 -1
  188. package/dist/locale/sv.min.js +1 -1
  189. package/dist/locale/sv.min.mjs +1 -1
  190. package/dist/locale/sv.mjs +1 -1
  191. package/dist/locale/ta.js +1 -1
  192. package/dist/locale/ta.min.js +1 -1
  193. package/dist/locale/ta.min.mjs +1 -1
  194. package/dist/locale/ta.mjs +1 -1
  195. package/dist/locale/th.js +1 -1
  196. package/dist/locale/th.min.js +1 -1
  197. package/dist/locale/th.min.mjs +1 -1
  198. package/dist/locale/th.mjs +1 -1
  199. package/dist/locale/tk.js +1 -1
  200. package/dist/locale/tk.min.js +1 -1
  201. package/dist/locale/tk.min.mjs +1 -1
  202. package/dist/locale/tk.mjs +1 -1
  203. package/dist/locale/tr.js +1 -1
  204. package/dist/locale/tr.min.js +1 -1
  205. package/dist/locale/tr.min.mjs +1 -1
  206. package/dist/locale/tr.mjs +1 -1
  207. package/dist/locale/ug-cn.js +1 -1
  208. package/dist/locale/ug-cn.min.js +1 -1
  209. package/dist/locale/ug-cn.min.mjs +1 -1
  210. package/dist/locale/ug-cn.mjs +1 -1
  211. package/dist/locale/uk.js +1 -1
  212. package/dist/locale/uk.min.js +1 -1
  213. package/dist/locale/uk.min.mjs +1 -1
  214. package/dist/locale/uk.mjs +1 -1
  215. package/dist/locale/uz-uz.js +1 -1
  216. package/dist/locale/uz-uz.min.js +1 -1
  217. package/dist/locale/uz-uz.min.mjs +1 -1
  218. package/dist/locale/uz-uz.mjs +1 -1
  219. package/dist/locale/vi.js +1 -1
  220. package/dist/locale/vi.min.js +1 -1
  221. package/dist/locale/vi.min.mjs +1 -1
  222. package/dist/locale/vi.mjs +1 -1
  223. package/dist/locale/zh-cn.js +1 -1
  224. package/dist/locale/zh-cn.min.js +1 -1
  225. package/dist/locale/zh-cn.min.mjs +1 -1
  226. package/dist/locale/zh-cn.mjs +1 -1
  227. package/dist/locale/zh-tw.js +1 -1
  228. package/dist/locale/zh-tw.min.js +1 -1
  229. package/dist/locale/zh-tw.min.mjs +1 -1
  230. package/dist/locale/zh-tw.mjs +1 -1
  231. package/es/components/affix/src/affix2.mjs +4 -4
  232. package/es/components/affix/src/affix2.mjs.map +1 -1
  233. package/es/components/alert/src/alert2.mjs +2 -2
  234. package/es/components/alert/src/alert2.mjs.map +1 -1
  235. package/es/components/autocomplete/index.d.ts +5 -5
  236. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  237. package/es/components/autocomplete/src/autocomplete2.mjs +4 -4
  238. package/es/components/autocomplete/src/autocomplete2.mjs.map +1 -1
  239. package/es/components/avatar/src/avatar2.mjs +2 -2
  240. package/es/components/avatar/src/avatar2.mjs.map +1 -1
  241. package/es/components/backtop/src/backtop2.mjs +4 -4
  242. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  243. package/es/components/badge/src/badge2.mjs +2 -2
  244. package/es/components/badge/src/badge2.mjs.map +1 -1
  245. package/es/components/breadcrumb/src/breadcrumb-item2.mjs +2 -2
  246. package/es/components/breadcrumb/src/breadcrumb-item2.mjs.map +1 -1
  247. package/es/components/breadcrumb/src/breadcrumb2.mjs +2 -2
  248. package/es/components/breadcrumb/src/breadcrumb2.mjs.map +1 -1
  249. package/es/components/button/src/button-group2.mjs +2 -2
  250. package/es/components/button/src/button-group2.mjs.map +1 -1
  251. package/es/components/button/src/button2.mjs +2 -2
  252. package/es/components/button/src/button2.mjs.map +1 -1
  253. package/es/components/calendar/src/calendar2.mjs +4 -4
  254. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  255. package/es/components/calendar/src/date-table2.mjs +2 -2
  256. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  257. package/es/components/card/src/card2.mjs +2 -2
  258. package/es/components/card/src/card2.mjs.map +1 -1
  259. package/es/components/carousel/index.d.ts +1 -8
  260. package/es/components/carousel/src/carousel-item2.mjs +4 -4
  261. package/es/components/carousel/src/carousel-item2.mjs.map +1 -1
  262. package/es/components/carousel/src/carousel.vue.d.ts +1 -8
  263. package/es/components/carousel/src/carousel2.mjs +4 -4
  264. package/es/components/carousel/src/carousel2.mjs.map +1 -1
  265. package/es/components/cascader/index.d.ts +12 -12
  266. package/es/components/cascader/src/index.vue.d.ts +6 -6
  267. package/es/components/check-tag/src/check-tag2.mjs +2 -2
  268. package/es/components/check-tag/src/check-tag2.mjs.map +1 -1
  269. package/es/components/checkbox/index.d.ts +102 -278
  270. package/es/components/checkbox/index.mjs +3 -3
  271. package/es/components/checkbox/index.mjs.map +1 -1
  272. package/es/components/checkbox/src/checkbox-button.mjs +22 -12
  273. package/es/components/checkbox/src/checkbox-button.mjs.map +1 -1
  274. package/es/components/checkbox/src/checkbox-button.vue.d.ts +10 -7
  275. package/es/components/checkbox/src/checkbox-group.d.ts +27 -0
  276. package/es/components/checkbox/src/checkbox-group.mjs +28 -65
  277. package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
  278. package/es/components/checkbox/src/checkbox-group.vue.d.ts +38 -129
  279. package/es/components/checkbox/src/checkbox-group2.mjs +80 -0
  280. package/es/components/checkbox/src/checkbox-group2.mjs.map +1 -0
  281. package/es/components/checkbox/src/checkbox.d.ts +4 -81
  282. package/es/components/checkbox/src/checkbox.mjs +4 -245
  283. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  284. package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
  285. package/es/components/checkbox/src/checkbox2.mjs +12 -10
  286. package/es/components/checkbox/src/checkbox2.mjs.map +1 -1
  287. package/es/components/checkbox/src/composables/index.d.ts +5 -0
  288. package/es/components/checkbox/src/composables/index.mjs +6 -0
  289. package/es/components/checkbox/src/composables/index.mjs.map +1 -0
  290. package/es/components/checkbox/src/composables/use-checkbox-disabled.d.ts +6 -0
  291. package/es/components/checkbox/src/composables/use-checkbox-disabled.mjs +28 -0
  292. package/es/components/checkbox/src/composables/use-checkbox-disabled.mjs.map +1 -0
  293. package/es/components/checkbox/src/composables/use-checkbox-event.d.ts +7 -0
  294. package/es/components/checkbox/src/composables/use-checkbox-event.mjs +53 -0
  295. package/es/components/checkbox/src/composables/use-checkbox-event.mjs.map +1 -0
  296. package/es/components/checkbox/src/composables/use-checkbox-model.d.ts +7 -0
  297. package/es/components/checkbox/src/composables/use-checkbox-model.mjs +39 -0
  298. package/es/components/checkbox/src/composables/use-checkbox-model.mjs.map +1 -0
  299. package/es/components/checkbox/src/composables/use-checkbox-status.d.ts +11 -0
  300. package/es/components/checkbox/src/composables/use-checkbox-status.mjs +47 -0
  301. package/es/components/checkbox/src/composables/use-checkbox-status.mjs.map +1 -0
  302. package/es/components/checkbox/src/composables/use-checkbox.d.ts +15 -0
  303. package/es/components/checkbox/src/composables/use-checkbox.mjs +61 -0
  304. package/es/components/checkbox/src/composables/use-checkbox.mjs.map +1 -0
  305. package/es/components/col/index.d.ts +1 -1
  306. package/es/components/col/src/col.vue.d.ts +1 -1
  307. package/es/components/col/src/col2.mjs +2 -2
  308. package/es/components/col/src/col2.mjs.map +1 -1
  309. package/es/components/collapse/src/collapse-item2.mjs +2 -2
  310. package/es/components/collapse/src/collapse-item2.mjs.map +1 -1
  311. package/es/components/collapse/src/collapse2.mjs +2 -2
  312. package/es/components/collapse/src/collapse2.mjs.map +1 -1
  313. package/es/components/collapse-transition/src/collapse-transition.mjs +2 -2
  314. package/es/components/collapse-transition/src/collapse-transition.mjs.map +1 -1
  315. package/es/components/collection/src/collection-item.mjs +3 -3
  316. package/es/components/collection/src/collection-item.mjs.map +1 -1
  317. package/es/components/collection/src/collection2.mjs +3 -3
  318. package/es/components/collection/src/collection2.mjs.map +1 -1
  319. package/es/components/color-picker/index.d.ts +5546 -405
  320. package/es/components/color-picker/index.mjs +6 -7
  321. package/es/components/color-picker/index.mjs.map +1 -1
  322. package/es/components/color-picker/src/color-picker.d.ts +37 -0
  323. package/es/components/color-picker/src/color-picker.mjs +44 -0
  324. package/es/components/color-picker/src/color-picker.mjs.map +1 -0
  325. package/es/components/color-picker/src/color-picker.vue.d.ts +6018 -0
  326. package/es/components/color-picker/src/color-picker2.mjs +324 -0
  327. package/es/components/color-picker/src/color-picker2.mjs.map +1 -0
  328. package/es/components/color-picker/src/components/alpha-slider.mjs +13 -5
  329. package/es/components/color-picker/src/components/alpha-slider.mjs.map +1 -1
  330. package/es/components/color-picker/src/components/alpha-slider.vue.d.ts +5 -6
  331. package/es/components/color-picker/src/components/hue-slider.mjs +11 -3
  332. package/es/components/color-picker/src/components/hue-slider.mjs.map +1 -1
  333. package/es/components/color-picker/src/components/hue-slider.vue.d.ts +4 -4
  334. package/es/components/color-picker/src/components/predefine.mjs +8 -5
  335. package/es/components/color-picker/src/components/predefine.mjs.map +1 -1
  336. package/es/components/color-picker/src/components/predefine.vue.d.ts +7 -7
  337. package/es/components/color-picker/src/components/sv-panel.mjs +1 -1
  338. package/es/components/color-picker/src/components/sv-panel.mjs.map +1 -1
  339. package/es/components/color-picker/src/components/sv-panel.vue.d.ts +2 -2
  340. package/{lib/components/color-picker/src → es/components/color-picker/src/utils}/color.d.ts +6 -5
  341. package/es/components/color-picker/src/{color.mjs → utils/color.mjs} +21 -7
  342. package/es/components/color-picker/src/utils/color.mjs.map +1 -0
  343. package/es/components/color-picker/src/utils/draggable.d.ts +6 -0
  344. package/es/components/color-picker/src/{draggable.mjs → utils/draggable.mjs} +1 -1
  345. package/es/components/color-picker/src/utils/draggable.mjs.map +1 -0
  346. package/es/components/container/src/aside.mjs +2 -2
  347. package/es/components/container/src/aside.mjs.map +1 -1
  348. package/es/components/container/src/container.mjs +2 -2
  349. package/es/components/container/src/container.mjs.map +1 -1
  350. package/es/components/container/src/footer.mjs +2 -2
  351. package/es/components/container/src/footer.mjs.map +1 -1
  352. package/es/components/container/src/header.mjs +2 -2
  353. package/es/components/container/src/header.mjs.map +1 -1
  354. package/es/components/container/src/main.mjs +2 -2
  355. package/es/components/container/src/main.mjs.map +1 -1
  356. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  357. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs +1 -1
  358. package/es/components/date-picker/src/date-picker-com/panel-date-range.mjs.map +1 -1
  359. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  360. package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs +3 -3
  361. package/es/components/date-picker/src/date-picker-com/panel-month-range.mjs.map +1 -1
  362. package/es/components/date-picker/src/panel-utils.d.ts +34 -34
  363. package/es/components/descriptions/src/description2.mjs +2 -2
  364. package/es/components/descriptions/src/description2.mjs.map +1 -1
  365. package/es/components/descriptions/src/descriptions-row2.mjs +2 -2
  366. package/es/components/descriptions/src/descriptions-row2.mjs.map +1 -1
  367. package/es/components/dialog/src/dialog-content2.mjs +1 -1
  368. package/es/components/dialog/src/dialog-content2.mjs.map +1 -1
  369. package/es/components/dialog/src/dialog2.mjs +2 -2
  370. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  371. package/es/components/divider/src/divider2.mjs +2 -2
  372. package/es/components/divider/src/divider2.mjs.map +1 -1
  373. package/es/components/empty/src/empty2.mjs +2 -2
  374. package/es/components/empty/src/empty2.mjs.map +1 -1
  375. package/es/components/form/src/form-item2.mjs +2 -2
  376. package/es/components/form/src/form-item2.mjs.map +1 -1
  377. package/es/components/form/src/form2.mjs +4 -4
  378. package/es/components/form/src/form2.mjs.map +1 -1
  379. package/es/components/icon/src/icon2.mjs +2 -2
  380. package/es/components/icon/src/icon2.mjs.map +1 -1
  381. package/es/components/image/src/image2.mjs +2 -2
  382. package/es/components/image/src/image2.mjs.map +1 -1
  383. package/es/components/image-viewer/src/image-viewer2.mjs +2 -2
  384. package/es/components/image-viewer/src/image-viewer2.mjs.map +1 -1
  385. package/es/components/index.mjs +3 -1
  386. package/es/components/index.mjs.map +1 -1
  387. package/es/components/input/index.d.ts +1 -1
  388. package/es/components/input/src/input.vue.d.ts +1 -1
  389. package/es/components/input/src/input2.mjs +2 -2
  390. package/es/components/input/src/input2.mjs.map +1 -1
  391. package/es/components/input-number/index.d.ts +5 -5
  392. package/es/components/input-number/src/input-number.vue.d.ts +5 -5
  393. package/es/components/input-number/src/input-number2.mjs +2 -2
  394. package/es/components/input-number/src/input-number2.mjs.map +1 -1
  395. package/es/components/link/src/link2.mjs +2 -2
  396. package/es/components/link/src/link2.mjs.map +1 -1
  397. package/es/components/loading/src/loading.mjs +3 -3
  398. package/es/components/loading/src/loading.mjs.map +1 -1
  399. package/es/components/menu/src/menu.mjs.map +1 -1
  400. package/es/components/message/src/message2.mjs +2 -2
  401. package/es/components/message/src/message2.mjs.map +1 -1
  402. package/es/components/message-box/src/index.vue.d.ts +0 -1
  403. package/es/components/notification/src/notification2.mjs +2 -2
  404. package/es/components/notification/src/notification2.mjs.map +1 -1
  405. package/es/components/page-header/src/page-header2.mjs +2 -2
  406. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  407. package/es/components/pagination/src/components/jumper.mjs +2 -2
  408. package/es/components/pagination/src/components/jumper.mjs.map +1 -1
  409. package/es/components/pagination/src/components/jumper.vue.d.ts +1 -1
  410. package/es/components/pagination/src/components/next2.mjs +2 -2
  411. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  412. package/es/components/pagination/src/components/pager2.mjs +2 -2
  413. package/es/components/pagination/src/components/pager2.mjs.map +1 -1
  414. package/es/components/pagination/src/components/prev2.mjs +2 -2
  415. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  416. package/es/components/pagination/src/components/sizes2.mjs +2 -2
  417. package/es/components/pagination/src/components/sizes2.mjs.map +1 -1
  418. package/es/components/pagination/src/components/total2.mjs +2 -2
  419. package/es/components/pagination/src/components/total2.mjs.map +1 -1
  420. package/es/components/popconfirm/src/popconfirm2.mjs +2 -2
  421. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  422. package/es/components/popover/src/popover2.mjs +3 -3
  423. package/es/components/popover/src/popover2.mjs.map +1 -1
  424. package/es/components/popper/src/arrow2.mjs +2 -2
  425. package/es/components/popper/src/arrow2.mjs.map +1 -1
  426. package/es/components/popper/src/content2.mjs +2 -2
  427. package/es/components/popper/src/content2.mjs.map +1 -1
  428. package/es/components/popper/src/popper2.mjs +2 -2
  429. package/es/components/popper/src/popper2.mjs.map +1 -1
  430. package/es/components/popper/src/trigger2.mjs +2 -2
  431. package/es/components/popper/src/trigger2.mjs.map +1 -1
  432. package/es/components/progress/src/progress2.mjs +2 -2
  433. package/es/components/progress/src/progress2.mjs.map +1 -1
  434. package/es/components/radio/index.d.ts +4 -4
  435. package/es/components/radio/src/radio-button2.mjs +2 -2
  436. package/es/components/radio/src/radio-button2.mjs.map +1 -1
  437. package/es/components/radio/src/radio-group.vue.d.ts +2 -2
  438. package/es/components/radio/src/radio-group2.mjs +2 -2
  439. package/es/components/radio/src/radio-group2.mjs.map +1 -1
  440. package/es/components/radio/src/radio2.mjs +2 -2
  441. package/es/components/radio/src/radio2.mjs.map +1 -1
  442. package/es/components/rate/index.d.ts +2 -2
  443. package/es/components/rate/src/rate.vue.d.ts +2 -2
  444. package/es/components/rate/src/rate2.mjs +2 -2
  445. package/es/components/rate/src/rate2.mjs.map +1 -1
  446. package/es/components/result/src/result2.mjs +2 -2
  447. package/es/components/result/src/result2.mjs.map +1 -1
  448. package/es/components/row/index.d.ts +1 -1
  449. package/es/components/row/src/row.vue.d.ts +1 -1
  450. package/es/components/row/src/row2.mjs +2 -2
  451. package/es/components/row/src/row2.mjs.map +1 -1
  452. package/es/components/scrollbar/index.d.ts +1 -1
  453. package/es/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  454. package/es/components/scrollbar/src/scrollbar2.mjs +3 -3
  455. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  456. package/es/components/scrollbar/src/thumb2.mjs +1 -1
  457. package/es/components/scrollbar/src/thumb2.mjs.map +1 -1
  458. package/es/components/skeleton/src/skeleton-item2.mjs +2 -2
  459. package/es/components/skeleton/src/skeleton-item2.mjs.map +1 -1
  460. package/es/components/skeleton/src/skeleton2.mjs +2 -2
  461. package/es/components/skeleton/src/skeleton2.mjs.map +1 -1
  462. package/es/components/slider/index.d.ts +6 -6
  463. package/es/components/slider/src/button2.mjs +2 -2
  464. package/es/components/slider/src/button2.mjs.map +1 -1
  465. package/es/components/slider/src/slider.vue.d.ts +6 -6
  466. package/es/components/slider/src/slider2.mjs +2 -2
  467. package/es/components/slider/src/slider2.mjs.map +1 -1
  468. package/es/components/steps/src/item2.mjs +2 -2
  469. package/es/components/steps/src/item2.mjs.map +1 -1
  470. package/es/components/steps/src/steps2.mjs +2 -2
  471. package/es/components/steps/src/steps2.mjs.map +1 -1
  472. package/es/components/switch/src/switch2.mjs +4 -4
  473. package/es/components/switch/src/switch2.mjs.map +1 -1
  474. package/es/components/tabs/src/tab-bar2.mjs +4 -4
  475. package/es/components/tabs/src/tab-bar2.mjs.map +1 -1
  476. package/es/components/tabs/src/tab-pane2.mjs +4 -4
  477. package/es/components/tabs/src/tab-pane2.mjs.map +1 -1
  478. package/es/components/tabs/src/tabs.d.ts +1 -0
  479. package/es/components/tabs/src/tabs.mjs +14 -5
  480. package/es/components/tabs/src/tabs.mjs.map +1 -1
  481. package/es/components/tabs/src/utils/pane.d.ts +22 -0
  482. package/es/components/tabs/src/utils/pane.mjs +19 -0
  483. package/es/components/tabs/src/utils/pane.mjs.map +1 -0
  484. package/es/components/tag/src/tag2.mjs +2 -2
  485. package/es/components/tag/src/tag2.mjs.map +1 -1
  486. package/es/components/time-picker/src/common/picker.mjs +2 -2
  487. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  488. package/es/components/time-picker/src/common/picker.vue.d.ts +1 -1
  489. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +1 -1
  490. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
  491. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +13 -13
  492. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +16 -16
  493. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  494. package/es/components/time-select/index.d.ts +2 -2
  495. package/es/components/time-select/src/time-select.vue.d.ts +1 -1
  496. package/es/components/time-select/src/time-select2.mjs +2 -2
  497. package/es/components/time-select/src/time-select2.mjs.map +1 -1
  498. package/es/components/timeline/src/timeline-item2.mjs +2 -2
  499. package/es/components/timeline/src/timeline-item2.mjs.map +1 -1
  500. package/es/components/tooltip-v2/src/arrow2.mjs +2 -2
  501. package/es/components/tooltip-v2/src/arrow2.mjs.map +1 -1
  502. package/es/components/tooltip-v2/src/content2.mjs +2 -2
  503. package/es/components/tooltip-v2/src/content2.mjs.map +1 -1
  504. package/es/components/tooltip-v2/src/root2.mjs +2 -2
  505. package/es/components/tooltip-v2/src/root2.mjs.map +1 -1
  506. package/es/components/tooltip-v2/src/tooltip2.mjs +2 -2
  507. package/es/components/tooltip-v2/src/tooltip2.mjs.map +1 -1
  508. package/es/components/tooltip-v2/src/trigger2.mjs +2 -2
  509. package/es/components/tooltip-v2/src/trigger2.mjs.map +1 -1
  510. package/es/components/transfer/index.d.ts +465 -1360
  511. package/es/components/transfer/src/transfer-panel.vue.d.ts +92 -271
  512. package/es/components/transfer/src/transfer-panel2.mjs +2 -2
  513. package/es/components/transfer/src/transfer-panel2.mjs.map +1 -1
  514. package/es/components/transfer/src/transfer.vue.d.ts +465 -1360
  515. package/es/components/transfer/src/transfer2.mjs +2 -2
  516. package/es/components/transfer/src/transfer2.mjs.map +1 -1
  517. package/es/components/upload/index.d.ts +4 -17
  518. package/es/components/upload/src/upload-content2.mjs +2 -2
  519. package/es/components/upload/src/upload-content2.mjs.map +1 -1
  520. package/es/components/upload/src/upload-dragger2.mjs +4 -4
  521. package/es/components/upload/src/upload-dragger2.mjs.map +1 -1
  522. package/es/components/upload/src/upload-list2.mjs +2 -2
  523. package/es/components/upload/src/upload-list2.mjs.map +1 -1
  524. package/es/components/upload/src/upload.vue.d.ts +4 -17
  525. package/es/components/upload/src/upload2.mjs +2 -2
  526. package/es/components/upload/src/upload2.mjs.map +1 -1
  527. package/es/components/upload/src/use-handlers.d.ts +4 -17
  528. package/es/components/virtual-list/src/builders/build-grid.d.ts +6 -6
  529. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
  530. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
  531. package/es/components/virtual-list/src/props.d.ts +3 -3
  532. package/es/components/virtual-list/src/props.mjs +4 -1
  533. package/es/components/virtual-list/src/props.mjs.map +1 -1
  534. package/es/components/visual-hidden/src/visual-hidden2.mjs +2 -2
  535. package/es/components/visual-hidden/src/visual-hidden2.mjs.map +1 -1
  536. package/es/index.mjs +4 -1
  537. package/es/index.mjs.map +1 -1
  538. package/es/tokens/checkbox.d.ts +8 -0
  539. package/es/tokens/checkbox.mjs +4 -0
  540. package/es/tokens/checkbox.mjs.map +1 -0
  541. package/es/tokens/index.d.ts +1 -0
  542. package/es/tokens/index.mjs +1 -0
  543. package/es/tokens/index.mjs.map +1 -1
  544. package/es/utils/vue/vnode.d.ts +5 -2
  545. package/es/utils/vue/vnode.mjs +3 -1
  546. package/es/utils/vue/vnode.mjs.map +1 -1
  547. package/es/version.d.ts +1 -1
  548. package/es/version.mjs +1 -1
  549. package/es/version.mjs.map +1 -1
  550. package/lib/components/affix/src/affix2.js +4 -4
  551. package/lib/components/affix/src/affix2.js.map +1 -1
  552. package/lib/components/alert/src/alert2.js +2 -2
  553. package/lib/components/alert/src/alert2.js.map +1 -1
  554. package/lib/components/autocomplete/index.d.ts +5 -5
  555. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  556. package/lib/components/autocomplete/src/autocomplete2.js +4 -4
  557. package/lib/components/autocomplete/src/autocomplete2.js.map +1 -1
  558. package/lib/components/avatar/src/avatar2.js +2 -2
  559. package/lib/components/avatar/src/avatar2.js.map +1 -1
  560. package/lib/components/backtop/src/backtop2.js +4 -4
  561. package/lib/components/backtop/src/backtop2.js.map +1 -1
  562. package/lib/components/badge/src/badge2.js +2 -2
  563. package/lib/components/badge/src/badge2.js.map +1 -1
  564. package/lib/components/breadcrumb/src/breadcrumb-item2.js +2 -2
  565. package/lib/components/breadcrumb/src/breadcrumb-item2.js.map +1 -1
  566. package/lib/components/breadcrumb/src/breadcrumb2.js +2 -2
  567. package/lib/components/breadcrumb/src/breadcrumb2.js.map +1 -1
  568. package/lib/components/button/src/button-group2.js +2 -2
  569. package/lib/components/button/src/button-group2.js.map +1 -1
  570. package/lib/components/button/src/button2.js +2 -2
  571. package/lib/components/button/src/button2.js.map +1 -1
  572. package/lib/components/calendar/src/calendar2.js +4 -4
  573. package/lib/components/calendar/src/calendar2.js.map +1 -1
  574. package/lib/components/calendar/src/date-table2.js +2 -2
  575. package/lib/components/calendar/src/date-table2.js.map +1 -1
  576. package/lib/components/card/src/card2.js +2 -2
  577. package/lib/components/card/src/card2.js.map +1 -1
  578. package/lib/components/carousel/index.d.ts +1 -8
  579. package/lib/components/carousel/src/carousel-item2.js +4 -4
  580. package/lib/components/carousel/src/carousel-item2.js.map +1 -1
  581. package/lib/components/carousel/src/carousel.vue.d.ts +1 -8
  582. package/lib/components/carousel/src/carousel2.js +4 -4
  583. package/lib/components/carousel/src/carousel2.js.map +1 -1
  584. package/lib/components/cascader/index.d.ts +12 -12
  585. package/lib/components/cascader/src/index.vue.d.ts +6 -6
  586. package/lib/components/check-tag/src/check-tag2.js +2 -2
  587. package/lib/components/check-tag/src/check-tag2.js.map +1 -1
  588. package/lib/components/checkbox/index.d.ts +102 -278
  589. package/lib/components/checkbox/index.js +5 -8
  590. package/lib/components/checkbox/index.js.map +1 -1
  591. package/lib/components/checkbox/src/checkbox-button.js +20 -10
  592. package/lib/components/checkbox/src/checkbox-button.js.map +1 -1
  593. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +10 -7
  594. package/lib/components/checkbox/src/checkbox-group.d.ts +27 -0
  595. package/lib/components/checkbox/src/checkbox-group.js +28 -64
  596. package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
  597. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +38 -129
  598. package/lib/components/checkbox/src/checkbox-group2.js +84 -0
  599. package/lib/components/checkbox/src/checkbox-group2.js.map +1 -0
  600. package/lib/components/checkbox/src/checkbox.d.ts +4 -81
  601. package/lib/components/checkbox/src/checkbox.js +2 -248
  602. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  603. package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
  604. package/lib/components/checkbox/src/checkbox2.js +12 -10
  605. package/lib/components/checkbox/src/checkbox2.js.map +1 -1
  606. package/lib/components/checkbox/src/composables/index.d.ts +5 -0
  607. package/lib/components/checkbox/src/composables/index.js +18 -0
  608. package/lib/components/checkbox/src/composables/index.js.map +1 -0
  609. package/lib/components/checkbox/src/composables/use-checkbox-disabled.d.ts +6 -0
  610. package/lib/components/checkbox/src/composables/use-checkbox-disabled.js +32 -0
  611. package/lib/components/checkbox/src/composables/use-checkbox-disabled.js.map +1 -0
  612. package/lib/components/checkbox/src/composables/use-checkbox-event.d.ts +7 -0
  613. package/lib/components/checkbox/src/composables/use-checkbox-event.js +57 -0
  614. package/lib/components/checkbox/src/composables/use-checkbox-event.js.map +1 -0
  615. package/lib/components/checkbox/src/composables/use-checkbox-model.d.ts +7 -0
  616. package/lib/components/checkbox/src/composables/use-checkbox-model.js +43 -0
  617. package/lib/components/checkbox/src/composables/use-checkbox-model.js.map +1 -0
  618. package/lib/components/checkbox/src/composables/use-checkbox-status.d.ts +11 -0
  619. package/lib/components/checkbox/src/composables/use-checkbox-status.js +51 -0
  620. package/lib/components/checkbox/src/composables/use-checkbox-status.js.map +1 -0
  621. package/lib/components/checkbox/src/composables/use-checkbox.d.ts +15 -0
  622. package/lib/components/checkbox/src/composables/use-checkbox.js +65 -0
  623. package/lib/components/checkbox/src/composables/use-checkbox.js.map +1 -0
  624. package/lib/components/col/index.d.ts +1 -1
  625. package/lib/components/col/src/col.vue.d.ts +1 -1
  626. package/lib/components/col/src/col2.js +2 -2
  627. package/lib/components/col/src/col2.js.map +1 -1
  628. package/lib/components/collapse/src/collapse-item2.js +2 -2
  629. package/lib/components/collapse/src/collapse-item2.js.map +1 -1
  630. package/lib/components/collapse/src/collapse2.js +2 -2
  631. package/lib/components/collapse/src/collapse2.js.map +1 -1
  632. package/lib/components/collapse-transition/src/collapse-transition.js +2 -2
  633. package/lib/components/collapse-transition/src/collapse-transition.js.map +1 -1
  634. package/lib/components/collection/src/collection-item.js +2 -2
  635. package/lib/components/collection/src/collection-item.js.map +1 -1
  636. package/lib/components/collection/src/collection2.js +2 -2
  637. package/lib/components/collection/src/collection2.js.map +1 -1
  638. package/lib/components/color-picker/index.d.ts +5546 -405
  639. package/lib/components/color-picker/index.js +9 -7
  640. package/lib/components/color-picker/index.js.map +1 -1
  641. package/lib/components/color-picker/src/color-picker.d.ts +37 -0
  642. package/lib/components/color-picker/src/color-picker.js +50 -0
  643. package/lib/components/color-picker/src/color-picker.js.map +1 -0
  644. package/lib/components/color-picker/src/color-picker.vue.d.ts +6018 -0
  645. package/lib/components/color-picker/src/color-picker2.js +328 -0
  646. package/lib/components/color-picker/src/color-picker2.js.map +1 -0
  647. package/lib/components/color-picker/src/components/alpha-slider.js +15 -7
  648. package/lib/components/color-picker/src/components/alpha-slider.js.map +1 -1
  649. package/lib/components/color-picker/src/components/alpha-slider.vue.d.ts +5 -6
  650. package/lib/components/color-picker/src/components/hue-slider.js +13 -5
  651. package/lib/components/color-picker/src/components/hue-slider.js.map +1 -1
  652. package/lib/components/color-picker/src/components/hue-slider.vue.d.ts +4 -4
  653. package/lib/components/color-picker/src/components/predefine.js +7 -4
  654. package/lib/components/color-picker/src/components/predefine.js.map +1 -1
  655. package/lib/components/color-picker/src/components/predefine.vue.d.ts +7 -7
  656. package/lib/components/color-picker/src/components/sv-panel.js +2 -2
  657. package/lib/components/color-picker/src/components/sv-panel.js.map +1 -1
  658. package/lib/components/color-picker/src/components/sv-panel.vue.d.ts +2 -2
  659. package/{es/components/color-picker/src → lib/components/color-picker/src/utils}/color.d.ts +6 -5
  660. package/lib/components/color-picker/src/{color.js → utils/color.js} +21 -7
  661. package/lib/components/color-picker/src/utils/color.js.map +1 -0
  662. package/lib/components/color-picker/src/utils/draggable.d.ts +6 -0
  663. package/lib/components/color-picker/src/{draggable.js → utils/draggable.js} +1 -1
  664. package/lib/components/color-picker/src/utils/draggable.js.map +1 -0
  665. package/lib/components/container/src/aside.js +2 -2
  666. package/lib/components/container/src/aside.js.map +1 -1
  667. package/lib/components/container/src/container.js +2 -2
  668. package/lib/components/container/src/container.js.map +1 -1
  669. package/lib/components/container/src/footer.js +2 -2
  670. package/lib/components/container/src/footer.js.map +1 -1
  671. package/lib/components/container/src/header.js +2 -2
  672. package/lib/components/container/src/header.js.map +1 -1
  673. package/lib/components/container/src/main.js +2 -2
  674. package/lib/components/container/src/main.js.map +1 -1
  675. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +17 -17
  676. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js +1 -1
  677. package/lib/components/date-picker/src/date-picker-com/panel-date-range.js.map +1 -1
  678. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +17 -17
  679. package/lib/components/date-picker/src/date-picker-com/panel-month-range.js +3 -3
  680. package/lib/components/date-picker/src/date-picker-com/panel-month-range.js.map +1 -1
  681. package/lib/components/date-picker/src/panel-utils.d.ts +34 -34
  682. package/lib/components/descriptions/src/description2.js +2 -2
  683. package/lib/components/descriptions/src/description2.js.map +1 -1
  684. package/lib/components/descriptions/src/descriptions-row2.js +2 -2
  685. package/lib/components/descriptions/src/descriptions-row2.js.map +1 -1
  686. package/lib/components/dialog/src/dialog-content2.js +1 -1
  687. package/lib/components/dialog/src/dialog-content2.js.map +1 -1
  688. package/lib/components/dialog/src/dialog2.js +2 -2
  689. package/lib/components/dialog/src/dialog2.js.map +1 -1
  690. package/lib/components/divider/src/divider2.js +2 -2
  691. package/lib/components/divider/src/divider2.js.map +1 -1
  692. package/lib/components/empty/src/empty2.js +2 -2
  693. package/lib/components/empty/src/empty2.js.map +1 -1
  694. package/lib/components/form/src/form-item2.js +2 -2
  695. package/lib/components/form/src/form-item2.js.map +1 -1
  696. package/lib/components/form/src/form2.js +4 -4
  697. package/lib/components/form/src/form2.js.map +1 -1
  698. package/lib/components/icon/src/icon2.js +2 -2
  699. package/lib/components/icon/src/icon2.js.map +1 -1
  700. package/lib/components/image/src/image2.js +2 -2
  701. package/lib/components/image/src/image2.js.map +1 -1
  702. package/lib/components/image-viewer/src/image-viewer2.js +2 -2
  703. package/lib/components/image-viewer/src/image-viewer2.js.map +1 -1
  704. package/lib/components/index.js +7 -5
  705. package/lib/components/index.js.map +1 -1
  706. package/lib/components/input/index.d.ts +1 -1
  707. package/lib/components/input/src/input.vue.d.ts +1 -1
  708. package/lib/components/input/src/input2.js +2 -2
  709. package/lib/components/input/src/input2.js.map +1 -1
  710. package/lib/components/input-number/index.d.ts +5 -5
  711. package/lib/components/input-number/src/input-number.vue.d.ts +5 -5
  712. package/lib/components/input-number/src/input-number2.js +2 -2
  713. package/lib/components/input-number/src/input-number2.js.map +1 -1
  714. package/lib/components/link/src/link2.js +2 -2
  715. package/lib/components/link/src/link2.js.map +1 -1
  716. package/lib/components/loading/src/loading.js +3 -3
  717. package/lib/components/loading/src/loading.js.map +1 -1
  718. package/lib/components/menu/src/menu.js.map +1 -1
  719. package/lib/components/message/src/message2.js +2 -2
  720. package/lib/components/message/src/message2.js.map +1 -1
  721. package/lib/components/message-box/src/index.vue.d.ts +0 -1
  722. package/lib/components/notification/src/notification2.js +2 -2
  723. package/lib/components/notification/src/notification2.js.map +1 -1
  724. package/lib/components/page-header/src/page-header2.js +2 -2
  725. package/lib/components/page-header/src/page-header2.js.map +1 -1
  726. package/lib/components/pagination/src/components/jumper.js +2 -2
  727. package/lib/components/pagination/src/components/jumper.js.map +1 -1
  728. package/lib/components/pagination/src/components/jumper.vue.d.ts +1 -1
  729. package/lib/components/pagination/src/components/next2.js +2 -2
  730. package/lib/components/pagination/src/components/next2.js.map +1 -1
  731. package/lib/components/pagination/src/components/pager2.js +2 -2
  732. package/lib/components/pagination/src/components/pager2.js.map +1 -1
  733. package/lib/components/pagination/src/components/prev2.js +2 -2
  734. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  735. package/lib/components/pagination/src/components/sizes2.js +2 -2
  736. package/lib/components/pagination/src/components/sizes2.js.map +1 -1
  737. package/lib/components/pagination/src/components/total2.js +2 -2
  738. package/lib/components/pagination/src/components/total2.js.map +1 -1
  739. package/lib/components/popconfirm/src/popconfirm2.js +2 -2
  740. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  741. package/lib/components/popover/src/popover2.js +3 -3
  742. package/lib/components/popover/src/popover2.js.map +1 -1
  743. package/lib/components/popper/src/arrow2.js +2 -2
  744. package/lib/components/popper/src/arrow2.js.map +1 -1
  745. package/lib/components/popper/src/content2.js +2 -2
  746. package/lib/components/popper/src/content2.js.map +1 -1
  747. package/lib/components/popper/src/popper2.js +2 -2
  748. package/lib/components/popper/src/popper2.js.map +1 -1
  749. package/lib/components/popper/src/trigger2.js +2 -2
  750. package/lib/components/popper/src/trigger2.js.map +1 -1
  751. package/lib/components/progress/src/progress2.js +2 -2
  752. package/lib/components/progress/src/progress2.js.map +1 -1
  753. package/lib/components/radio/index.d.ts +4 -4
  754. package/lib/components/radio/src/radio-button2.js +2 -2
  755. package/lib/components/radio/src/radio-button2.js.map +1 -1
  756. package/lib/components/radio/src/radio-group.vue.d.ts +2 -2
  757. package/lib/components/radio/src/radio-group2.js +2 -2
  758. package/lib/components/radio/src/radio-group2.js.map +1 -1
  759. package/lib/components/radio/src/radio2.js +2 -2
  760. package/lib/components/radio/src/radio2.js.map +1 -1
  761. package/lib/components/rate/index.d.ts +2 -2
  762. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  763. package/lib/components/rate/src/rate2.js +2 -2
  764. package/lib/components/rate/src/rate2.js.map +1 -1
  765. package/lib/components/result/src/result2.js +2 -2
  766. package/lib/components/result/src/result2.js.map +1 -1
  767. package/lib/components/row/index.d.ts +1 -1
  768. package/lib/components/row/src/row.vue.d.ts +1 -1
  769. package/lib/components/row/src/row2.js +2 -2
  770. package/lib/components/row/src/row2.js.map +1 -1
  771. package/lib/components/scrollbar/index.d.ts +1 -1
  772. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +1 -1
  773. package/lib/components/scrollbar/src/scrollbar2.js +3 -3
  774. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  775. package/lib/components/scrollbar/src/thumb2.js +1 -1
  776. package/lib/components/scrollbar/src/thumb2.js.map +1 -1
  777. package/lib/components/skeleton/src/skeleton-item2.js +2 -2
  778. package/lib/components/skeleton/src/skeleton-item2.js.map +1 -1
  779. package/lib/components/skeleton/src/skeleton2.js +2 -2
  780. package/lib/components/skeleton/src/skeleton2.js.map +1 -1
  781. package/lib/components/slider/index.d.ts +6 -6
  782. package/lib/components/slider/src/button2.js +2 -2
  783. package/lib/components/slider/src/button2.js.map +1 -1
  784. package/lib/components/slider/src/slider.vue.d.ts +6 -6
  785. package/lib/components/slider/src/slider2.js +2 -2
  786. package/lib/components/slider/src/slider2.js.map +1 -1
  787. package/lib/components/steps/src/item2.js +2 -2
  788. package/lib/components/steps/src/item2.js.map +1 -1
  789. package/lib/components/steps/src/steps2.js +2 -2
  790. package/lib/components/steps/src/steps2.js.map +1 -1
  791. package/lib/components/switch/src/switch2.js +4 -4
  792. package/lib/components/switch/src/switch2.js.map +1 -1
  793. package/lib/components/tabs/src/tab-bar2.js +4 -4
  794. package/lib/components/tabs/src/tab-bar2.js.map +1 -1
  795. package/lib/components/tabs/src/tab-pane2.js +4 -4
  796. package/lib/components/tabs/src/tab-pane2.js.map +1 -1
  797. package/lib/components/tabs/src/tabs.d.ts +1 -0
  798. package/lib/components/tabs/src/tabs.js +13 -4
  799. package/lib/components/tabs/src/tabs.js.map +1 -1
  800. package/lib/components/tabs/src/utils/pane.d.ts +22 -0
  801. package/lib/components/tabs/src/utils/pane.js +24 -0
  802. package/lib/components/tabs/src/utils/pane.js.map +1 -0
  803. package/lib/components/tag/src/tag2.js +2 -2
  804. package/lib/components/tag/src/tag2.js.map +1 -1
  805. package/lib/components/time-picker/src/common/picker.js +2 -2
  806. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  807. package/lib/components/time-picker/src/common/picker.vue.d.ts +1 -1
  808. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +1 -1
  809. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
  810. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +13 -13
  811. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +16 -16
  812. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  813. package/lib/components/time-select/index.d.ts +2 -2
  814. package/lib/components/time-select/src/time-select.vue.d.ts +1 -1
  815. package/lib/components/time-select/src/time-select2.js +2 -2
  816. package/lib/components/time-select/src/time-select2.js.map +1 -1
  817. package/lib/components/timeline/src/timeline-item2.js +2 -2
  818. package/lib/components/timeline/src/timeline-item2.js.map +1 -1
  819. package/lib/components/tooltip-v2/src/arrow2.js +2 -2
  820. package/lib/components/tooltip-v2/src/arrow2.js.map +1 -1
  821. package/lib/components/tooltip-v2/src/content2.js +2 -2
  822. package/lib/components/tooltip-v2/src/content2.js.map +1 -1
  823. package/lib/components/tooltip-v2/src/root2.js +2 -2
  824. package/lib/components/tooltip-v2/src/root2.js.map +1 -1
  825. package/lib/components/tooltip-v2/src/tooltip2.js +2 -2
  826. package/lib/components/tooltip-v2/src/tooltip2.js.map +1 -1
  827. package/lib/components/tooltip-v2/src/trigger2.js +2 -2
  828. package/lib/components/tooltip-v2/src/trigger2.js.map +1 -1
  829. package/lib/components/transfer/index.d.ts +465 -1360
  830. package/lib/components/transfer/src/transfer-panel.vue.d.ts +92 -271
  831. package/lib/components/transfer/src/transfer-panel2.js +2 -2
  832. package/lib/components/transfer/src/transfer-panel2.js.map +1 -1
  833. package/lib/components/transfer/src/transfer.vue.d.ts +465 -1360
  834. package/lib/components/transfer/src/transfer2.js +2 -2
  835. package/lib/components/transfer/src/transfer2.js.map +1 -1
  836. package/lib/components/upload/index.d.ts +4 -17
  837. package/lib/components/upload/src/upload-content2.js +2 -2
  838. package/lib/components/upload/src/upload-content2.js.map +1 -1
  839. package/lib/components/upload/src/upload-dragger2.js +4 -4
  840. package/lib/components/upload/src/upload-dragger2.js.map +1 -1
  841. package/lib/components/upload/src/upload-list2.js +2 -2
  842. package/lib/components/upload/src/upload-list2.js.map +1 -1
  843. package/lib/components/upload/src/upload.vue.d.ts +4 -17
  844. package/lib/components/upload/src/upload2.js +2 -2
  845. package/lib/components/upload/src/upload2.js.map +1 -1
  846. package/lib/components/upload/src/use-handlers.d.ts +4 -17
  847. package/lib/components/virtual-list/src/builders/build-grid.d.ts +6 -6
  848. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +6 -6
  849. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +6 -6
  850. package/lib/components/virtual-list/src/props.d.ts +3 -3
  851. package/lib/components/virtual-list/src/props.js +4 -1
  852. package/lib/components/virtual-list/src/props.js.map +1 -1
  853. package/lib/components/visual-hidden/src/visual-hidden2.js +2 -2
  854. package/lib/components/visual-hidden/src/visual-hidden2.js.map +1 -1
  855. package/lib/index.js +9 -5
  856. package/lib/index.js.map +1 -1
  857. package/lib/tokens/checkbox.d.ts +8 -0
  858. package/lib/tokens/checkbox.js +8 -0
  859. package/lib/tokens/checkbox.js.map +1 -0
  860. package/lib/tokens/index.d.ts +1 -0
  861. package/lib/tokens/index.js +2 -0
  862. package/lib/tokens/index.js.map +1 -1
  863. package/lib/utils/vue/vnode.d.ts +5 -2
  864. package/lib/utils/vue/vnode.js +3 -1
  865. package/lib/utils/vue/vnode.js.map +1 -1
  866. package/lib/version.d.ts +1 -1
  867. package/lib/version.js +1 -1
  868. package/lib/version.js.map +1 -1
  869. package/package.json +2 -2
  870. package/web-types.json +1 -1
  871. package/es/components/checkbox/src/checkbox.type.d.ts +0 -15
  872. package/es/components/checkbox/src/checkbox.type.mjs +0 -2
  873. package/es/components/checkbox/src/checkbox.type.mjs.map +0 -1
  874. package/es/components/color-picker/src/color.mjs.map +0 -1
  875. package/es/components/color-picker/src/draggable.d.ts +0 -6
  876. package/es/components/color-picker/src/draggable.mjs.map +0 -1
  877. package/es/components/color-picker/src/index.mjs +0 -390
  878. package/es/components/color-picker/src/index.mjs.map +0 -1
  879. package/es/components/color-picker/src/index.vue.d.ts +0 -441
  880. package/es/components/color-picker/src/useOption.d.ts +0 -6
  881. package/es/components/color-picker/src/useOption.mjs +0 -9
  882. package/es/components/color-picker/src/useOption.mjs.map +0 -1
  883. package/lib/components/checkbox/src/checkbox.type.d.ts +0 -15
  884. package/lib/components/checkbox/src/checkbox.type.js +0 -3
  885. package/lib/components/checkbox/src/checkbox.type.js.map +0 -1
  886. package/lib/components/color-picker/src/color.js.map +0 -1
  887. package/lib/components/color-picker/src/draggable.d.ts +0 -6
  888. package/lib/components/color-picker/src/draggable.js.map +0 -1
  889. package/lib/components/color-picker/src/index.js +0 -394
  890. package/lib/components/color-picker/src/index.js.map +0 -1
  891. package/lib/components/color-picker/src/index.vue.d.ts +0 -441
  892. package/lib/components/color-picker/src/useOption.d.ts +0 -6
  893. package/lib/components/color-picker/src/useOption.js +0 -14
  894. package/lib/components/color-picker/src/useOption.js.map +0 -1
@@ -1,6 +1,6 @@
1
- /*! Element Plus v0.0.20220915 */
1
+ /*! Element Plus v0.0.20220917 */
2
2
 
3
- import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, inject, provide, onBeforeUnmount, toRef, onUnmounted, isRef, h as h$1, Teleport, onBeforeMount, defineComponent, normalizeClass, normalizeStyle, renderSlot, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, useAttrs as useAttrs$1, onUpdated, withModifiers, reactive, cloneVNode, Text, toRefs, resolveComponent, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, onBeforeUpdate, resolveDirective, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, triggerRef, TransitionGroup, createApp, shallowReactive, render } from 'vue';
3
+ import { getCurrentScope, onScopeDispose, unref, readonly, shallowRef, watchEffect, ref, watch, getCurrentInstance, onMounted, nextTick, computed as computed$1, openBlock, createElementBlock, createElementVNode, warn, isVNode, Fragment, Comment, inject, provide, onBeforeUnmount, toRef, onUnmounted, isRef, h as h$1, Teleport, onBeforeMount, defineComponent, normalizeClass, normalizeStyle, renderSlot, mergeProps, useSlots, createBlock, Transition, withCtx, withDirectives, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode, vShow, useAttrs as useAttrs$1, onUpdated, withModifiers, reactive, cloneVNode, Text, toRefs, resolveComponent, onDeactivated, renderList, withKeys, createSlots, normalizeProps, toRaw as toRaw$1, vModelCheckbox, vModelRadio, onBeforeUpdate, resolveDirective, vModelText, toHandlers, guardReactiveProps, markRaw, effectScope, triggerRef, shallowReactive, TransitionGroup, createApp, render } from 'vue';
4
4
 
5
5
  var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
6
6
 
@@ -8691,7 +8691,9 @@ const flattedChildren = (children) => {
8691
8691
  const vNodes = isArray(children) ? children : [children];
8692
8692
  const result = [];
8693
8693
  vNodes.forEach((child) => {
8694
- if (isArray(child.children)) {
8694
+ if (isArray(child)) {
8695
+ result.push(...flattedChildren(child));
8696
+ } else if (isVNode(child) && isArray(child.children)) {
8695
8697
  result.push(...flattedChildren(child.children));
8696
8698
  } else {
8697
8699
  result.push(child);
@@ -8746,6 +8748,8 @@ const buttonGroupContextKey = Symbol("buttonGroupContextKey");
8746
8748
 
8747
8749
  const carouselContextKey = Symbol("carouselContextKey");
8748
8750
 
8751
+ const checkboxGroupContextKey = Symbol("checkboxGroupContextKey");
8752
+
8749
8753
  const collapseContextKey = Symbol("collapseContextKey");
8750
8754
 
8751
8755
  const configProviderContextKey = Symbol();
@@ -8841,7 +8845,7 @@ const useSize = (fallback, ignore = {}) => {
8841
8845
  const formItem = ignore.formItem ? { size: void 0 } : inject(formItemContextKey, void 0);
8842
8846
  return computed$1(() => size.value || unref(fallback) || (formItem == null ? void 0 : formItem.size) || (form == null ? void 0 : form.size) || globalConfig.value || "");
8843
8847
  };
8844
- const useDisabled$1 = (fallback) => {
8848
+ const useDisabled = (fallback) => {
8845
8849
  const disabled = useProp("disabled");
8846
8850
  const form = inject(formContextKey, void 0);
8847
8851
  return computed$1(() => disabled.value || unref(fallback) || (form == null ? void 0 : form.disabled) || false);
@@ -11036,7 +11040,7 @@ function useCursor(input) {
11036
11040
  return [recordCursor, setCursor];
11037
11041
  }
11038
11042
 
11039
- const version$1 = "0.0.20220915";
11043
+ const version$1 = "0.0.20220917";
11040
11044
 
11041
11045
  const makeInstaller = (components = []) => {
11042
11046
  const install = (app, options) => {
@@ -11085,16 +11089,16 @@ var _export_sfc = (sfc, props) => {
11085
11089
  return target;
11086
11090
  };
11087
11091
 
11088
- const __default__$1q = {
11089
- name: "ElAffix"
11090
- };
11092
+ const COMPONENT_NAME$k = "ElAffix";
11093
+ const __default__$1r = defineComponent({
11094
+ name: COMPONENT_NAME$k
11095
+ });
11091
11096
  const _sfc_main$2f = /* @__PURE__ */ defineComponent({
11092
- ...__default__$1q,
11097
+ ...__default__$1r,
11093
11098
  props: affixProps,
11094
11099
  emits: affixEmits,
11095
11100
  setup(__props, { expose, emit }) {
11096
11101
  const props = __props;
11097
- const COMPONENT_NAME = "ElAffix";
11098
11102
  const ns = useNamespace("affix");
11099
11103
  const target = shallowRef();
11100
11104
  const root = shallowRef();
@@ -11162,7 +11166,7 @@ const _sfc_main$2f = /* @__PURE__ */ defineComponent({
11162
11166
  if (props.target) {
11163
11167
  target.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
11164
11168
  if (!target.value)
11165
- throwError(COMPONENT_NAME, `Target is not existed: ${props.target}`);
11169
+ throwError(COMPONENT_NAME$k, `Target is not existed: ${props.target}`);
11166
11170
  } else {
11167
11171
  target.value = document.documentElement;
11168
11172
  }
@@ -11205,12 +11209,12 @@ const iconProps = buildProps({
11205
11209
  }
11206
11210
  });
11207
11211
 
11208
- const __default__$1p = {
11212
+ const __default__$1q = defineComponent({
11209
11213
  name: "ElIcon",
11210
11214
  inheritAttrs: false
11211
- };
11215
+ });
11212
11216
  const _sfc_main$2e = /* @__PURE__ */ defineComponent({
11213
- ...__default__$1p,
11217
+ ...__default__$1q,
11214
11218
  props: iconProps,
11215
11219
  setup(__props) {
11216
11220
  const props = __props;
@@ -11273,11 +11277,11 @@ const alertEmits = {
11273
11277
  close: (evt) => evt instanceof MouseEvent
11274
11278
  };
11275
11279
 
11276
- const __default__$1o = {
11280
+ const __default__$1p = defineComponent({
11277
11281
  name: "ElAlert"
11278
- };
11282
+ });
11279
11283
  const _sfc_main$2d = /* @__PURE__ */ defineComponent({
11280
- ...__default__$1o,
11284
+ ...__default__$1p,
11281
11285
  props: alertProps,
11282
11286
  emits: alertEmits,
11283
11287
  setup(__props, { emit }) {
@@ -11545,12 +11549,12 @@ const inputEmits = {
11545
11549
  const _hoisted_1$14 = ["role"];
11546
11550
  const _hoisted_2$G = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder"];
11547
11551
  const _hoisted_3$l = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder"];
11548
- const __default__$1n = {
11552
+ const __default__$1o = defineComponent({
11549
11553
  name: "ElInput",
11550
11554
  inheritAttrs: false
11551
- };
11555
+ });
11552
11556
  const _sfc_main$2c = /* @__PURE__ */ defineComponent({
11553
- ...__default__$1n,
11557
+ ...__default__$1o,
11554
11558
  props: inputProps,
11555
11559
  emits: inputEmits,
11556
11560
  setup(__props, { expose, emit }) {
@@ -11581,7 +11585,7 @@ const _sfc_main$2c = /* @__PURE__ */ defineComponent({
11581
11585
  formItemContext: formItem
11582
11586
  });
11583
11587
  const inputSize = useSize();
11584
- const inputDisabled = useDisabled$1();
11588
+ const inputDisabled = useDisabled();
11585
11589
  const nsInput = useNamespace("input");
11586
11590
  const nsTextarea = useNamespace("textarea");
11587
11591
  const input = shallowRef();
@@ -12024,16 +12028,16 @@ const thumbProps = buildProps({
12024
12028
  always: Boolean
12025
12029
  });
12026
12030
 
12031
+ const COMPONENT_NAME$j = "Thumb";
12027
12032
  const _sfc_main$2b = /* @__PURE__ */ defineComponent({
12028
12033
  __name: "thumb",
12029
12034
  props: thumbProps,
12030
12035
  setup(__props) {
12031
12036
  const props = __props;
12032
- const COMPONENT_NAME = "Thumb";
12033
12037
  const scrollbar = inject(scrollbarContextKey);
12034
12038
  const ns = useNamespace("scrollbar");
12035
12039
  if (!scrollbar)
12036
- throwError(COMPONENT_NAME, "can not inject scrollbar context");
12040
+ throwError(COMPONENT_NAME$j, "can not inject scrollbar context");
12037
12041
  const instance = ref();
12038
12042
  const thumb = ref();
12039
12043
  const thumbState = ref({});
@@ -12246,11 +12250,11 @@ const scrollbarEmits = {
12246
12250
  }) => [scrollTop, scrollLeft].every(isNumber)
12247
12251
  };
12248
12252
 
12249
- const __default__$1m = {
12253
+ const __default__$1n = defineComponent({
12250
12254
  name: "ElScrollbar"
12251
- };
12255
+ });
12252
12256
  const _sfc_main$29 = /* @__PURE__ */ defineComponent({
12253
- ...__default__$1m,
12257
+ ...__default__$1n,
12254
12258
  props: scrollbarProps,
12255
12259
  emits: scrollbarEmits,
12256
12260
  setup(__props, { expose, emit }) {
@@ -12422,12 +12426,12 @@ const usePopperProps = buildProps({
12422
12426
  }
12423
12427
  });
12424
12428
 
12425
- const __default__$1l = {
12429
+ const __default__$1m = defineComponent({
12426
12430
  name: "ElPopperRoot",
12427
12431
  inheritAttrs: false
12428
- };
12432
+ });
12429
12433
  const _sfc_main$28 = /* @__PURE__ */ defineComponent({
12430
- ...__default__$1l,
12434
+ ...__default__$1m,
12431
12435
  props: usePopperProps,
12432
12436
  setup(__props, { expose }) {
12433
12437
  const props = __props;
@@ -12459,12 +12463,12 @@ const usePopperArrowProps = buildProps({
12459
12463
  }
12460
12464
  });
12461
12465
 
12462
- const __default__$1k = {
12466
+ const __default__$1l = defineComponent({
12463
12467
  name: "ElPopperArrow",
12464
12468
  inheritAttrs: false
12465
- };
12469
+ });
12466
12470
  const _sfc_main$27 = /* @__PURE__ */ defineComponent({
12467
- ...__default__$1k,
12471
+ ...__default__$1l,
12468
12472
  props: usePopperArrowProps,
12469
12473
  setup(__props, { expose }) {
12470
12474
  const props = __props;
@@ -12562,12 +12566,12 @@ const usePopperTriggerProps = buildProps({
12562
12566
  open: Boolean
12563
12567
  });
12564
12568
 
12565
- const __default__$1j = {
12569
+ const __default__$1k = defineComponent({
12566
12570
  name: "ElPopperTrigger",
12567
12571
  inheritAttrs: false
12568
- };
12572
+ });
12569
12573
  const _sfc_main$26 = /* @__PURE__ */ defineComponent({
12570
- ...__default__$1j,
12574
+ ...__default__$1k,
12571
12575
  props: usePopperTriggerProps,
12572
12576
  setup(__props, { expose }) {
12573
12577
  const props = __props;
@@ -12969,10 +12973,10 @@ const _sfc_main$25 = defineComponent({
12969
12973
  };
12970
12974
  }
12971
12975
  });
12972
- function _sfc_render$E(_ctx, _cache, $props, $setup, $data, $options) {
12976
+ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
12973
12977
  return renderSlot(_ctx.$slots, "default", { handleKeydown: _ctx.onKeydown });
12974
12978
  }
12975
- var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$E], ["__file", "focus-trap.vue"]]);
12979
+ var ElFocusTrap = /* @__PURE__ */ _export_sfc(_sfc_main$25, [["render", _sfc_render$D], ["__file", "focus-trap.vue"]]);
12976
12980
 
12977
12981
  const POSITIONING_STRATEGIES = ["fixed", "absolute"];
12978
12982
  const usePopperCoreConfigProps = buildProps({
@@ -13129,11 +13133,11 @@ function deriveExtraModifiers(options, modifiers) {
13129
13133
  }
13130
13134
  }
13131
13135
 
13132
- const __default__$1i = {
13136
+ const __default__$1j = defineComponent({
13133
13137
  name: "ElPopperContent"
13134
- };
13138
+ });
13135
13139
  const _sfc_main$24 = /* @__PURE__ */ defineComponent({
13136
- ...__default__$1i,
13140
+ ...__default__$1j,
13137
13141
  props: usePopperContentProps,
13138
13142
  emits: usePopperContentEmits,
13139
13143
  setup(__props, { expose, emit }) {
@@ -13504,7 +13508,7 @@ const _sfc_main$23 = defineComponent({
13504
13508
  };
13505
13509
  }
13506
13510
  });
13507
- function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13511
+ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13508
13512
  const _component_el_popper_content = resolveComponent("el-popper-content");
13509
13513
  return openBlock(), createBlock(Teleport, {
13510
13514
  disabled: !_ctx.teleported,
@@ -13559,7 +13563,7 @@ function _sfc_render$D(_ctx, _cache, $props, $setup, $data, $options) {
13559
13563
  }, 8, ["name", "onAfterLeave", "onBeforeEnter", "onAfterEnter", "onBeforeLeave"])
13560
13564
  ], 8, ["disabled", "to"]);
13561
13565
  }
13562
- var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$D], ["__file", "content.vue"]]);
13566
+ var ElTooltipContent = /* @__PURE__ */ _export_sfc(_sfc_main$23, [["render", _sfc_render$C], ["__file", "content.vue"]]);
13563
13567
 
13564
13568
  const isTriggerType = (trigger, type) => {
13565
13569
  if (isArray(trigger)) {
@@ -13624,7 +13628,7 @@ const _sfc_main$22 = defineComponent({
13624
13628
  };
13625
13629
  }
13626
13630
  });
13627
- function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13631
+ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13628
13632
  const _component_el_popper_trigger = resolveComponent("el-popper-trigger");
13629
13633
  return openBlock(), createBlock(_component_el_popper_trigger, {
13630
13634
  id: _ctx.id,
@@ -13646,7 +13650,7 @@ function _sfc_render$C(_ctx, _cache, $props, $setup, $data, $options) {
13646
13650
  _: 3
13647
13651
  }, 8, ["id", "virtual-ref", "open", "virtual-triggering", "class", "onBlur", "onClick", "onContextmenu", "onFocus", "onMouseenter", "onMouseleave", "onKeydown"]);
13648
13652
  }
13649
- var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$C], ["__file", "trigger.vue"]]);
13653
+ var ElTooltipTrigger = /* @__PURE__ */ _export_sfc(_sfc_main$22, [["render", _sfc_render$B], ["__file", "trigger.vue"]]);
13650
13654
 
13651
13655
  const { useModelToggleProps, useModelToggle, useModelToggleEmits } = createModelToggleComposable("visible");
13652
13656
  const _sfc_main$21 = defineComponent({
@@ -13766,7 +13770,7 @@ const _sfc_main$21 = defineComponent({
13766
13770
  });
13767
13771
  const _hoisted_1$13 = ["innerHTML"];
13768
13772
  const _hoisted_2$F = { key: 1 };
13769
- function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13773
+ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
13770
13774
  const _component_el_tooltip_trigger = resolveComponent("el-tooltip-trigger");
13771
13775
  const _component_el_popper_arrow = resolveComponent("el-popper-arrow");
13772
13776
  const _component_el_tooltip_content = resolveComponent("el-tooltip-content");
@@ -13835,7 +13839,7 @@ function _sfc_render$B(_ctx, _cache, $props, $setup, $data, $options) {
13835
13839
  _: 3
13836
13840
  }, 8, ["role"]);
13837
13841
  }
13838
- var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$B], ["__file", "tooltip.vue"]]);
13842
+ var Tooltip = /* @__PURE__ */ _export_sfc(_sfc_main$21, [["render", _sfc_render$A], ["__file", "tooltip.vue"]]);
13839
13843
 
13840
13844
  const ElTooltip = withInstall(Tooltip);
13841
13845
 
@@ -13910,20 +13914,20 @@ const autocompleteEmits = {
13910
13914
  const _hoisted_1$12 = ["aria-expanded", "aria-owns"];
13911
13915
  const _hoisted_2$E = { key: 0 };
13912
13916
  const _hoisted_3$k = ["id", "aria-selected", "onClick"];
13913
- const __default__$1h = {
13914
- name: "ElAutocomplete",
13917
+ const COMPONENT_NAME$i = "ElAutocomplete";
13918
+ const __default__$1i = defineComponent({
13919
+ name: COMPONENT_NAME$i,
13915
13920
  inheritAttrs: false
13916
- };
13921
+ });
13917
13922
  const _sfc_main$20 = /* @__PURE__ */ defineComponent({
13918
- ...__default__$1h,
13923
+ ...__default__$1i,
13919
13924
  props: autocompleteProps,
13920
13925
  emits: autocompleteEmits,
13921
13926
  setup(__props, { expose, emit }) {
13922
13927
  const props = __props;
13923
- const COMPONENT_NAME = "ElAutocomplete";
13924
13928
  const attrs = useAttrs();
13925
13929
  const rawAttrs = useAttrs$1();
13926
- const disabled = useDisabled$1();
13930
+ const disabled = useDisabled();
13927
13931
  const ns = useNamespace("autocomplete");
13928
13932
  const inputRef = ref();
13929
13933
  const regionRef = ref();
@@ -13974,7 +13978,7 @@ const _sfc_main$20 = /* @__PURE__ */ defineComponent({
13974
13978
  suggestions.value = suggestionList;
13975
13979
  highlightedIndex.value = props.highlightFirstItem ? 0 : -1;
13976
13980
  } else {
13977
- throwError(COMPONENT_NAME, "autocomplete suggestions must be an array");
13981
+ throwError(COMPONENT_NAME$i, "autocomplete suggestions must be an array");
13978
13982
  }
13979
13983
  };
13980
13984
  loading.value = true;
@@ -14276,11 +14280,11 @@ const avatarEmits = {
14276
14280
  };
14277
14281
 
14278
14282
  const _hoisted_1$11 = ["src", "alt", "srcset"];
14279
- const __default__$1g = {
14283
+ const __default__$1h = defineComponent({
14280
14284
  name: "ElAvatar"
14281
- };
14285
+ });
14282
14286
  const _sfc_main$1$ = /* @__PURE__ */ defineComponent({
14283
- ...__default__$1g,
14287
+ ...__default__$1h,
14284
14288
  props: avatarProps,
14285
14289
  emits: avatarEmits,
14286
14290
  setup(__props, { emit }) {
@@ -14361,16 +14365,16 @@ const backtopEmits = {
14361
14365
  };
14362
14366
 
14363
14367
  const _hoisted_1$10 = ["onClick"];
14364
- const __default__$1f = {
14365
- name: "ElBacktop"
14366
- };
14368
+ const COMPONENT_NAME$h = "ElBacktop";
14369
+ const __default__$1g = defineComponent({
14370
+ name: COMPONENT_NAME$h
14371
+ });
14367
14372
  const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14368
- ...__default__$1f,
14373
+ ...__default__$1g,
14369
14374
  props: backtopProps,
14370
14375
  emits: backtopEmits,
14371
14376
  setup(__props, { emit }) {
14372
14377
  const props = __props;
14373
- const COMPONENT_NAME = "ElBacktop";
14374
14378
  const ns = useNamespace("backtop");
14375
14379
  const el = shallowRef();
14376
14380
  const container = shallowRef();
@@ -14414,7 +14418,7 @@ const _sfc_main$1_ = /* @__PURE__ */ defineComponent({
14414
14418
  if (props.target) {
14415
14419
  el.value = (_a = document.querySelector(props.target)) != null ? _a : void 0;
14416
14420
  if (!el.value) {
14417
- throwError(COMPONENT_NAME, `target is not existed: ${props.target}`);
14421
+ throwError(COMPONENT_NAME$h, `target is not existed: ${props.target}`);
14418
14422
  }
14419
14423
  container.value = el.value;
14420
14424
  }
@@ -14470,11 +14474,11 @@ const badgeProps = buildProps({
14470
14474
  });
14471
14475
 
14472
14476
  const _hoisted_1$$ = ["textContent"];
14473
- const __default__$1e = {
14477
+ const __default__$1f = defineComponent({
14474
14478
  name: "ElBadge"
14475
- };
14479
+ });
14476
14480
  const _sfc_main$1Z = /* @__PURE__ */ defineComponent({
14477
- ...__default__$1e,
14481
+ ...__default__$1f,
14478
14482
  props: badgeProps,
14479
14483
  setup(__props, { expose }) {
14480
14484
  const props = __props;
@@ -14532,11 +14536,11 @@ const breadcrumbProps = buildProps({
14532
14536
  }
14533
14537
  });
14534
14538
 
14535
- const __default__$1d = {
14539
+ const __default__$1e = defineComponent({
14536
14540
  name: "ElBreadcrumb"
14537
- };
14541
+ });
14538
14542
  const _sfc_main$1Y = /* @__PURE__ */ defineComponent({
14539
- ...__default__$1d,
14543
+ ...__default__$1e,
14540
14544
  props: breadcrumbProps,
14541
14545
  setup(__props) {
14542
14546
  const props = __props;
@@ -14575,11 +14579,11 @@ const breadcrumbItemProps = buildProps({
14575
14579
  }
14576
14580
  });
14577
14581
 
14578
- const __default__$1c = {
14582
+ const __default__$1d = defineComponent({
14579
14583
  name: "ElBreadcrumbItem"
14580
- };
14584
+ });
14581
14585
  const _sfc_main$1X = /* @__PURE__ */ defineComponent({
14582
- ...__default__$1c,
14586
+ ...__default__$1d,
14583
14587
  props: breadcrumbItemProps,
14584
14588
  setup(__props) {
14585
14589
  const props = __props;
@@ -15558,7 +15562,7 @@ function darken(color, amount = 20) {
15558
15562
  return color.mix("#141414", amount).toString();
15559
15563
  }
15560
15564
  function useButtonCustomStyle(props) {
15561
- const _disabled = useDisabled$1();
15565
+ const _disabled = useDisabled();
15562
15566
  const ns = useNamespace("button");
15563
15567
  return computed$1(() => {
15564
15568
  let styles = {};
@@ -15609,11 +15613,11 @@ function useButtonCustomStyle(props) {
15609
15613
  }
15610
15614
 
15611
15615
  const _hoisted_1$_ = ["aria-disabled", "disabled", "autofocus", "type"];
15612
- const __default__$1b = {
15616
+ const __default__$1c = defineComponent({
15613
15617
  name: "ElButton"
15614
- };
15618
+ });
15615
15619
  const _sfc_main$1W = /* @__PURE__ */ defineComponent({
15616
- ...__default__$1b,
15620
+ ...__default__$1c,
15617
15621
  props: buttonProps,
15618
15622
  emits: buttonEmits,
15619
15623
  setup(__props, { expose, emit }) {
@@ -15631,7 +15635,7 @@ const _sfc_main$1W = /* @__PURE__ */ defineComponent({
15631
15635
  const ns = useNamespace("button");
15632
15636
  const { form } = useFormItem();
15633
15637
  const _size = useSize(computed$1(() => buttonGroupContext == null ? void 0 : buttonGroupContext.size));
15634
- const _disabled = useDisabled$1();
15638
+ const _disabled = useDisabled();
15635
15639
  const _ref = ref();
15636
15640
  const _type = computed$1(() => props.type || (buttonGroupContext == null ? void 0 : buttonGroupContext.type) || "");
15637
15641
  const autoInsertSpace = computed$1(() => {
@@ -15721,11 +15725,11 @@ const buttonGroupProps = {
15721
15725
  type: buttonProps.type
15722
15726
  };
15723
15727
 
15724
- const __default__$1a = {
15728
+ const __default__$1b = defineComponent({
15725
15729
  name: "ElButtonGroup"
15726
- };
15730
+ });
15727
15731
  const _sfc_main$1V = /* @__PURE__ */ defineComponent({
15728
- ...__default__$1a,
15732
+ ...__default__$1b,
15729
15733
  props: buttonGroupProps,
15730
15734
  setup(__props) {
15731
15735
  const props = __props;
@@ -16377,11 +16381,11 @@ const timePickerDefaultProps = buildProps({
16377
16381
 
16378
16382
  const _hoisted_1$Z = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16379
16383
  const _hoisted_2$D = ["id", "name", "placeholder", "value", "disabled", "readonly"];
16380
- const __default__$19 = {
16384
+ const __default__$1a = defineComponent({
16381
16385
  name: "Picker"
16382
- };
16386
+ });
16383
16387
  const _sfc_main$1U = /* @__PURE__ */ defineComponent({
16384
- ...__default__$19,
16388
+ ...__default__$1a,
16385
16389
  props: timePickerDefaultProps,
16386
16390
  emits: [
16387
16391
  "update:modelValue",
@@ -17501,7 +17505,7 @@ const _sfc_main$1T = /* @__PURE__ */ defineComponent({
17501
17505
  return openBlock(), createBlock(unref(ElScrollbar), {
17502
17506
  key: item,
17503
17507
  ref_for: true,
17504
- ref: (scollbar) => setRef(scollbar, item),
17508
+ ref: (scrollbar) => setRef(scrollbar, item),
17505
17509
  class: normalizeClass(unref(ns).be("spinner", "wrapper")),
17506
17510
  "wrap-style": "max-height: inherit;",
17507
17511
  "view-class": unref(ns).be("spinner", "list"),
@@ -18107,11 +18111,11 @@ const dateTableEmits = {
18107
18111
 
18108
18112
  const _hoisted_1$W = { key: 0 };
18109
18113
  const _hoisted_2$B = ["onClick"];
18110
- const __default__$18 = {
18114
+ const __default__$19 = defineComponent({
18111
18115
  name: "DateTable"
18112
- };
18116
+ });
18113
18117
  const _sfc_main$1Q = /* @__PURE__ */ defineComponent({
18114
- ...__default__$18,
18118
+ ...__default__$19,
18115
18119
  props: dateTableProps,
18116
18120
  emits: dateTableEmits,
18117
18121
  setup(__props, { expose, emit }) {
@@ -18266,11 +18270,12 @@ const calendarEmits = {
18266
18270
  [INPUT_EVENT]: (value) => isDate(value)
18267
18271
  };
18268
18272
 
18269
- const __default__$17 = {
18270
- name: "ElCalendar"
18271
- };
18273
+ const COMPONENT_NAME$g = "ElCalendar";
18274
+ const __default__$18 = defineComponent({
18275
+ name: COMPONENT_NAME$g
18276
+ });
18272
18277
  const _sfc_main$1P = /* @__PURE__ */ defineComponent({
18273
- ...__default__$17,
18278
+ ...__default__$18,
18274
18279
  props: calendarProps,
18275
18280
  emits: calendarEmits,
18276
18281
  setup(__props, { expose, emit }) {
@@ -18510,11 +18515,11 @@ const cardProps = buildProps({
18510
18515
  }
18511
18516
  });
18512
18517
 
18513
- const __default__$16 = {
18518
+ const __default__$17 = defineComponent({
18514
18519
  name: "ElCard"
18515
- };
18520
+ });
18516
18521
  const _sfc_main$1O = /* @__PURE__ */ defineComponent({
18517
- ...__default__$16,
18522
+ ...__default__$17,
18518
18523
  props: cardProps,
18519
18524
  setup(__props) {
18520
18525
  const ns = useNamespace("card");
@@ -18606,17 +18611,17 @@ const carouselEmits = {
18606
18611
  const _hoisted_1$V = ["onMouseenter", "onMouseleave"];
18607
18612
  const _hoisted_2$A = ["onMouseenter", "onClick"];
18608
18613
  const _hoisted_3$j = { key: 0 };
18609
- const __default__$15 = {
18614
+ const THROTTLE_TIME = 300;
18615
+ const __default__$16 = defineComponent({
18610
18616
  name: "ElCarousel"
18611
- };
18617
+ });
18612
18618
  const _sfc_main$1N = /* @__PURE__ */ defineComponent({
18613
- ...__default__$15,
18619
+ ...__default__$16,
18614
18620
  props: carouselProps,
18615
18621
  emits: carouselEmits,
18616
18622
  setup(__props, { expose, emit }) {
18617
18623
  const props = __props;
18618
18624
  const ns = useNamespace("carousel");
18619
- const THROTTLE_TIME = 300;
18620
18625
  const activeIndex = ref(-1);
18621
18626
  const timer = ref(null);
18622
18627
  const hover = ref(false);
@@ -18927,18 +18932,18 @@ const carouselItemProps = buildProps({
18927
18932
  }
18928
18933
  });
18929
18934
 
18930
- const __default__$14 = {
18935
+ const CARD_SCALE = 0.83;
18936
+ const __default__$15 = defineComponent({
18931
18937
  name: "ElCarouselItem"
18932
- };
18938
+ });
18933
18939
  const _sfc_main$1M = /* @__PURE__ */ defineComponent({
18934
- ...__default__$14,
18940
+ ...__default__$15,
18935
18941
  props: carouselItemProps,
18936
18942
  setup(__props) {
18937
18943
  const props = __props;
18938
18944
  const ns = useNamespace("carousel");
18939
18945
  const carouselContext = inject(carouselContextKey);
18940
18946
  const instance = getCurrentInstance();
18941
- const CARD_SCALE = 0.83;
18942
18947
  const hover = ref(false);
18943
18948
  const translate = ref(0);
18944
18949
  const scale = ref(1);
@@ -19070,50 +19075,10 @@ const ElCarousel = withInstall(Carousel, {
19070
19075
  });
19071
19076
  const ElCarouselItem = withNoopInstall(CarouselItem);
19072
19077
 
19073
- const useCheckboxGroupProps = {
19074
- modelValue: {
19075
- type: Array,
19076
- default: () => []
19077
- },
19078
- disabled: Boolean,
19079
- min: {
19080
- type: Number,
19081
- default: void 0
19082
- },
19083
- max: {
19084
- type: Number,
19085
- default: void 0
19086
- },
19087
- size: useSizeProp,
19088
- id: {
19089
- type: String,
19090
- default: void 0
19091
- },
19092
- label: {
19093
- type: String,
19094
- default: void 0
19095
- },
19096
- fill: {
19097
- type: String,
19098
- default: void 0
19099
- },
19100
- textColor: {
19101
- type: String,
19102
- default: void 0
19103
- },
19104
- tag: {
19105
- type: String,
19106
- default: "div"
19107
- },
19108
- validateEvent: {
19109
- type: Boolean,
19110
- default: true
19111
- }
19112
- };
19113
19078
  const checkboxProps = {
19114
19079
  modelValue: {
19115
19080
  type: [Number, String, Boolean],
19116
- default: () => void 0
19081
+ default: void 0
19117
19082
  },
19118
19083
  label: {
19119
19084
  type: [String, Boolean, Number, Object]
@@ -19149,45 +19114,89 @@ const checkboxProps = {
19149
19114
  default: true
19150
19115
  }
19151
19116
  };
19152
- const useCheckboxGroup = () => {
19153
- const { form: elForm, formItem: elFormItem } = useFormItem();
19154
- const checkboxGroup = inject("CheckboxGroup", {});
19155
- const isGroup = computed$1(() => checkboxGroup && (checkboxGroup == null ? void 0 : checkboxGroup.name) === "ElCheckboxGroup");
19156
- const elFormItemSize = computed$1(() => {
19157
- return elFormItem == null ? void 0 : elFormItem.size;
19117
+ const checkboxEmits = {
19118
+ [UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),
19119
+ change: (val) => isString(val) || isNumber(val) || isBoolean(val)
19120
+ };
19121
+
19122
+ const useCheckboxDisabled = ({
19123
+ model,
19124
+ isChecked
19125
+ }) => {
19126
+ const checkboxGroup = inject(checkboxGroupContextKey, void 0);
19127
+ const isLimitDisabled = computed$1(() => {
19128
+ var _a, _b;
19129
+ const max = (_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value;
19130
+ const min = (_b = checkboxGroup == null ? void 0 : checkboxGroup.min) == null ? void 0 : _b.value;
19131
+ return !isUndefined(max) && model.value.length >= max && !isChecked.value || !isUndefined(min) && model.value.length <= min && isChecked.value;
19158
19132
  });
19133
+ const isDisabled = useDisabled(computed$1(() => (checkboxGroup == null ? void 0 : checkboxGroup.disabled.value) || isLimitDisabled.value));
19159
19134
  return {
19160
- isGroup,
19161
- checkboxGroup,
19162
- elForm,
19163
- elFormItemSize,
19164
- elFormItem
19135
+ isDisabled,
19136
+ isLimitDisabled
19165
19137
  };
19166
19138
  };
19167
- const useCheckboxGroupId = (props, { elFormItem }) => {
19168
- const { inputId: groupId, isLabeledByFormItem } = useFormItemInputId(props, {
19169
- formItemContext: elFormItem
19139
+
19140
+ const useCheckboxEvent = (props, {
19141
+ model,
19142
+ isLimitExceeded,
19143
+ hasOwnLabel,
19144
+ isDisabled,
19145
+ isLabeledByFormItem
19146
+ }) => {
19147
+ const checkboxGroup = inject(checkboxGroupContextKey, void 0);
19148
+ const { formItem } = useFormItem();
19149
+ const { emit } = getCurrentInstance();
19150
+ function getLabeledValue(value) {
19151
+ var _a, _b;
19152
+ return value === props.trueLabel || value === true ? (_a = props.trueLabel) != null ? _a : true : (_b = props.falseLabel) != null ? _b : false;
19153
+ }
19154
+ function emitChangeEvent(checked, e) {
19155
+ emit("change", getLabeledValue(checked), e);
19156
+ }
19157
+ function handleChange(e) {
19158
+ if (isLimitExceeded.value)
19159
+ return;
19160
+ const target = e.target;
19161
+ emit("change", getLabeledValue(target.checked), e);
19162
+ }
19163
+ async function onClickRoot(e) {
19164
+ if (isLimitExceeded.value)
19165
+ return;
19166
+ if (!hasOwnLabel.value && !isDisabled.value && isLabeledByFormItem.value) {
19167
+ model.value = getLabeledValue([false, props.falseLabel].includes(model.value));
19168
+ await nextTick();
19169
+ emitChangeEvent(model.value, e);
19170
+ }
19171
+ }
19172
+ const validateEvent = computed$1(() => (checkboxGroup == null ? void 0 : checkboxGroup.validateEvent) || props.validateEvent);
19173
+ watch(() => props.modelValue, () => {
19174
+ if (validateEvent.value) {
19175
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
19176
+ }
19170
19177
  });
19171
19178
  return {
19172
- isLabeledByFormItem,
19173
- groupId
19179
+ handleChange,
19180
+ onClickRoot
19174
19181
  };
19175
19182
  };
19176
- const useModel = (props) => {
19183
+
19184
+ const useCheckboxModel = (props) => {
19177
19185
  const selfModel = ref(false);
19178
19186
  const { emit } = getCurrentInstance();
19179
- const { isGroup, checkboxGroup, elFormItem } = useCheckboxGroup();
19187
+ const checkboxGroup = inject(checkboxGroupContextKey, void 0);
19188
+ const isGroup = computed$1(() => isUndefined(checkboxGroup) === false);
19180
19189
  const isLimitExceeded = ref(false);
19181
19190
  const model = computed$1({
19182
19191
  get() {
19183
19192
  var _a, _b;
19184
- return isGroup.value ? (_a = checkboxGroup.modelValue) == null ? void 0 : _a.value : (_b = props.modelValue) != null ? _b : selfModel.value;
19193
+ return isGroup.value ? (_a = checkboxGroup == null ? void 0 : checkboxGroup.modelValue) == null ? void 0 : _a.value : (_b = props.modelValue) != null ? _b : selfModel.value;
19185
19194
  },
19186
19195
  set(val) {
19187
- var _a;
19188
- if (isGroup.value && Array.isArray(val)) {
19189
- isLimitExceeded.value = checkboxGroup.max !== void 0 && val.length > checkboxGroup.max.value;
19190
- isLimitExceeded.value === false && ((_a = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _a.call(checkboxGroup, val));
19196
+ var _a, _b;
19197
+ if (isGroup.value && isArray(val)) {
19198
+ isLimitExceeded.value = ((_a = checkboxGroup == null ? void 0 : checkboxGroup.max) == null ? void 0 : _a.value) !== void 0 && val.length > (checkboxGroup == null ? void 0 : checkboxGroup.max.value);
19199
+ isLimitExceeded.value === false && ((_b = checkboxGroup == null ? void 0 : checkboxGroup.changeEvent) == null ? void 0 : _b.call(checkboxGroup, val));
19191
19200
  } else {
19192
19201
  emit(UPDATE_MODEL_EVENT, val);
19193
19202
  selfModel.value = val;
@@ -19197,19 +19206,18 @@ const useModel = (props) => {
19197
19206
  return {
19198
19207
  model,
19199
19208
  isGroup,
19200
- isLimitExceeded,
19201
- elFormItem
19209
+ isLimitExceeded
19202
19210
  };
19203
19211
  };
19212
+
19204
19213
  const useCheckboxStatus = (props, slots, { model }) => {
19205
- const { isGroup, checkboxGroup } = useCheckboxGroup();
19206
- const focus = ref(false);
19207
- const size = useSize(checkboxGroup == null ? void 0 : checkboxGroup.checkboxGroupSize, { prop: true });
19214
+ const checkboxGroup = inject(checkboxGroupContextKey, void 0);
19215
+ const isFocused = ref(false);
19208
19216
  const isChecked = computed$1(() => {
19209
19217
  const value = model.value;
19210
- if (toTypeString(value) === "[object Boolean]") {
19218
+ if (isBoolean(value)) {
19211
19219
  return value;
19212
- } else if (Array.isArray(value)) {
19220
+ } else if (isArray(value)) {
19213
19221
  return value.map(toRaw$1).includes(props.label);
19214
19222
  } else if (value !== null && value !== void 0) {
19215
19223
  return value === props.trueLabel;
@@ -19217,45 +19225,31 @@ const useCheckboxStatus = (props, slots, { model }) => {
19217
19225
  return !!value;
19218
19226
  }
19219
19227
  });
19228
+ const checkboxButtonSize = useSize(computed$1(() => {
19229
+ var _a;
19230
+ return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
19231
+ }), {
19232
+ prop: true
19233
+ });
19220
19234
  const checkboxSize = useSize(computed$1(() => {
19221
19235
  var _a;
19222
- return isGroup.value ? (_a = checkboxGroup == null ? void 0 : checkboxGroup.checkboxGroupSize) == null ? void 0 : _a.value : void 0;
19236
+ return (_a = checkboxGroup == null ? void 0 : checkboxGroup.size) == null ? void 0 : _a.value;
19223
19237
  }));
19224
19238
  const hasOwnLabel = computed$1(() => {
19225
19239
  return !!(slots.default || props.label);
19226
19240
  });
19227
19241
  return {
19242
+ checkboxButtonSize,
19228
19243
  isChecked,
19229
- focus,
19230
- size,
19244
+ isFocused,
19231
19245
  checkboxSize,
19232
19246
  hasOwnLabel
19233
19247
  };
19234
19248
  };
19235
- const useDisabled = (props, {
19236
- model,
19237
- isChecked
19238
- }) => {
19239
- const { elForm, isGroup, checkboxGroup } = useCheckboxGroup();
19240
- const isLimitDisabled = computed$1(() => {
19241
- var _a, _b;
19242
- const max = (_a = checkboxGroup.max) == null ? void 0 : _a.value;
19243
- const min = (_b = checkboxGroup.min) == null ? void 0 : _b.value;
19244
- return !!(max || min) && model.value.length >= max && !isChecked.value || model.value.length <= min && isChecked.value;
19245
- });
19246
- const isDisabled = computed$1(() => {
19247
- var _a, _b;
19248
- const disabled = props.disabled || (elForm == null ? void 0 : elForm.disabled);
19249
- return (_b = isGroup.value ? ((_a = checkboxGroup.disabled) == null ? void 0 : _a.value) || disabled || isLimitDisabled.value : disabled) != null ? _b : false;
19250
- });
19251
- return {
19252
- isDisabled,
19253
- isLimitDisabled
19254
- };
19255
- };
19249
+
19256
19250
  const setStoreValue = (props, { model }) => {
19257
19251
  function addToStore() {
19258
- if (Array.isArray(model.value) && !model.value.includes(props.label)) {
19252
+ if (isArray(model.value) && !model.value.includes(props.label)) {
19259
19253
  model.value.push(props.label);
19260
19254
  } else {
19261
19255
  model.value = props.trueLabel || true;
@@ -19263,71 +19257,23 @@ const setStoreValue = (props, { model }) => {
19263
19257
  }
19264
19258
  props.checked && addToStore();
19265
19259
  };
19266
- const useEvent$1 = (props, {
19267
- model,
19268
- isLimitExceeded,
19269
- hasOwnLabel,
19270
- isDisabled,
19271
- isLabeledByFormItem
19272
- }) => {
19273
- const { elFormItem, checkboxGroup } = useCheckboxGroup();
19274
- const { emit } = getCurrentInstance();
19275
- function getLabeledValue(value) {
19276
- var _a, _b;
19277
- return value === props.trueLabel || value === true ? (_a = props.trueLabel) != null ? _a : true : (_b = props.falseLabel) != null ? _b : false;
19278
- }
19279
- function emitChangeEvent(checked, e) {
19280
- emit("change", getLabeledValue(checked), e);
19281
- }
19282
- function handleChange(e) {
19283
- if (isLimitExceeded.value)
19284
- return;
19285
- const target = e.target;
19286
- emit("change", getLabeledValue(target.checked), e);
19287
- }
19288
- async function onClickRoot(e) {
19289
- if (isLimitExceeded.value)
19290
- return;
19291
- if (!hasOwnLabel.value && !isDisabled.value && isLabeledByFormItem.value) {
19292
- model.value = getLabeledValue([false, props.falseLabel].includes(model.value));
19293
- await nextTick();
19294
- emitChangeEvent(model.value, e);
19295
- }
19296
- }
19297
- const validateEvent = computed$1(() => {
19298
- var _a;
19299
- return ((_a = checkboxGroup.validateEvent) == null ? void 0 : _a.value) || props.validateEvent;
19300
- });
19301
- watch(() => props.modelValue, () => {
19302
- if (validateEvent.value) {
19303
- elFormItem == null ? void 0 : elFormItem.validate("change").catch((err) => debugWarn());
19304
- }
19305
- });
19306
- return {
19307
- handleChange,
19308
- onClickRoot
19309
- };
19310
- };
19311
- const checkboxEmits = {
19312
- [UPDATE_MODEL_EVENT]: (val) => isString(val) || isNumber(val) || isBoolean(val),
19313
- change: (val) => isString(val) || isNumber(val) || isBoolean(val)
19314
- };
19315
- const checkboxGroupEmits = {
19316
- [UPDATE_MODEL_EVENT]: (val) => isArray(val),
19317
- change: (val) => isArray(val)
19318
- };
19319
19260
  const useCheckbox = (props, slots) => {
19320
- const { model, isGroup, isLimitExceeded, elFormItem } = useModel(props);
19321
- const { focus, size, isChecked, checkboxSize, hasOwnLabel } = useCheckboxStatus(props, slots, {
19322
- model
19323
- });
19324
- const { isDisabled } = useDisabled(props, { model, isChecked });
19261
+ const { formItem: elFormItem } = useFormItem();
19262
+ const { model, isGroup, isLimitExceeded } = useCheckboxModel(props);
19263
+ const {
19264
+ isFocused,
19265
+ isChecked,
19266
+ checkboxButtonSize,
19267
+ checkboxSize,
19268
+ hasOwnLabel
19269
+ } = useCheckboxStatus(props, slots, { model });
19270
+ const { isDisabled } = useCheckboxDisabled({ model, isChecked });
19325
19271
  const { inputId, isLabeledByFormItem } = useFormItemInputId(props, {
19326
19272
  formItemContext: elFormItem,
19327
19273
  disableIdGeneration: hasOwnLabel,
19328
19274
  disableIdManagement: isGroup
19329
19275
  });
19330
- const { handleChange, onClickRoot } = useEvent$1(props, {
19276
+ const { handleChange, onClickRoot } = useCheckboxEvent(props, {
19331
19277
  model,
19332
19278
  isLimitExceeded,
19333
19279
  hasOwnLabel,
@@ -19336,30 +19282,28 @@ const useCheckbox = (props, slots) => {
19336
19282
  });
19337
19283
  setStoreValue(props, { model });
19338
19284
  return {
19339
- elFormItem,
19340
19285
  inputId,
19341
19286
  isLabeledByFormItem,
19342
19287
  isChecked,
19343
19288
  isDisabled,
19344
- isGroup,
19289
+ isFocused,
19290
+ checkboxButtonSize,
19345
19291
  checkboxSize,
19346
19292
  hasOwnLabel,
19347
19293
  model,
19348
19294
  handleChange,
19349
- onClickRoot,
19350
- focus,
19351
- size
19295
+ onClickRoot
19352
19296
  };
19353
19297
  };
19354
19298
 
19355
19299
  const _hoisted_1$U = ["tabindex", "role", "aria-checked"];
19356
19300
  const _hoisted_2$z = ["id", "aria-hidden", "name", "tabindex", "disabled", "true-value", "false-value"];
19357
19301
  const _hoisted_3$i = ["id", "aria-hidden", "disabled", "value", "name", "tabindex"];
19358
- const __default__$13 = {
19302
+ const __default__$14 = defineComponent({
19359
19303
  name: "ElCheckbox"
19360
- };
19304
+ });
19361
19305
  const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19362
- ...__default__$13,
19306
+ ...__default__$14,
19363
19307
  props: checkboxProps,
19364
19308
  emits: checkboxEmits,
19365
19309
  setup(__props) {
@@ -19370,12 +19314,12 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19370
19314
  isLabeledByFormItem,
19371
19315
  isChecked,
19372
19316
  isDisabled,
19317
+ isFocused,
19373
19318
  checkboxSize,
19374
19319
  hasOwnLabel,
19375
19320
  model,
19376
19321
  handleChange,
19377
- onClickRoot,
19378
- focus
19322
+ onClickRoot
19379
19323
  } = useCheckbox(props, slots);
19380
19324
  const ns = useNamespace("checkbox");
19381
19325
  return (_ctx, _cache) => {
@@ -19397,7 +19341,7 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19397
19341
  unref(ns).is("disabled", unref(isDisabled)),
19398
19342
  unref(ns).is("checked", unref(isChecked)),
19399
19343
  unref(ns).is("indeterminate", _ctx.indeterminate),
19400
- unref(ns).is("focus", unref(focus))
19344
+ unref(ns).is("focus", unref(isFocused))
19401
19345
  ]),
19402
19346
  tabindex: _ctx.indeterminate ? 0 : void 0,
19403
19347
  role: _ctx.indeterminate ? "checkbox" : void 0,
@@ -19416,8 +19360,8 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19416
19360
  "true-value": _ctx.trueLabel,
19417
19361
  "false-value": _ctx.falseLabel,
19418
19362
  onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
19419
- onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
19420
- onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
19363
+ onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
19364
+ onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
19421
19365
  }, null, 42, _hoisted_2$z)), [
19422
19366
  [vModelCheckbox, unref(model)]
19423
19367
  ]) : withDirectives((openBlock(), createElementBlock("input", {
@@ -19432,8 +19376,8 @@ const _sfc_main$1L = /* @__PURE__ */ defineComponent({
19432
19376
  name: _ctx.name,
19433
19377
  tabindex: _ctx.tabindex,
19434
19378
  onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
19435
- onFocus: _cache[6] || (_cache[6] = ($event) => focus.value = true),
19436
- onBlur: _cache[7] || (_cache[7] = ($event) => focus.value = false)
19379
+ onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
19380
+ onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
19437
19381
  }, null, 42, _hoisted_3$i)), [
19438
19382
  [vModelCheckbox, unref(model)]
19439
19383
  ]),
@@ -19460,18 +19404,25 @@ var Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$1L, [["__file", "checkbox.v
19460
19404
 
19461
19405
  const _hoisted_1$T = ["name", "tabindex", "disabled", "true-value", "false-value"];
19462
19406
  const _hoisted_2$y = ["name", "tabindex", "disabled", "value"];
19463
- const __default__$12 = {
19407
+ const __default__$13 = defineComponent({
19464
19408
  name: "ElCheckboxButton"
19465
- };
19409
+ });
19466
19410
  const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19467
- ...__default__$12,
19411
+ ...__default__$13,
19468
19412
  props: checkboxProps,
19469
19413
  emits: checkboxEmits,
19470
19414
  setup(__props) {
19471
19415
  const props = __props;
19472
19416
  const slots = useSlots();
19473
- const { focus, isChecked, isDisabled, size, model, handleChange } = useCheckbox(props, slots);
19474
- const { checkboxGroup } = useCheckboxGroup();
19417
+ const {
19418
+ isFocused,
19419
+ isChecked,
19420
+ isDisabled,
19421
+ checkboxButtonSize,
19422
+ model,
19423
+ handleChange
19424
+ } = useCheckbox(props, slots);
19425
+ const checkboxGroup = inject(checkboxGroupContextKey);
19475
19426
  const ns = useNamespace("checkbox");
19476
19427
  const activeStyle = computed$1(() => {
19477
19428
  var _a, _b, _c, _d;
@@ -19487,10 +19438,10 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19487
19438
  return openBlock(), createElementBlock("label", {
19488
19439
  class: normalizeClass([
19489
19440
  unref(ns).b("button"),
19490
- unref(ns).bm("button", unref(size)),
19441
+ unref(ns).bm("button", unref(checkboxButtonSize)),
19491
19442
  unref(ns).is("disabled", unref(isDisabled)),
19492
19443
  unref(ns).is("checked", unref(isChecked)),
19493
- unref(ns).is("focus", unref(focus))
19444
+ unref(ns).is("focus", unref(isFocused))
19494
19445
  ])
19495
19446
  }, [
19496
19447
  _ctx.trueLabel || _ctx.falseLabel ? withDirectives((openBlock(), createElementBlock("input", {
@@ -19504,8 +19455,8 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19504
19455
  "true-value": _ctx.trueLabel,
19505
19456
  "false-value": _ctx.falseLabel,
19506
19457
  onChange: _cache[1] || (_cache[1] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
19507
- onFocus: _cache[2] || (_cache[2] = ($event) => focus.value = true),
19508
- onBlur: _cache[3] || (_cache[3] = ($event) => focus.value = false)
19458
+ onFocus: _cache[2] || (_cache[2] = ($event) => isFocused.value = true),
19459
+ onBlur: _cache[3] || (_cache[3] = ($event) => isFocused.value = false)
19509
19460
  }, null, 42, _hoisted_1$T)), [
19510
19461
  [vModelCheckbox, unref(model)]
19511
19462
  ]) : withDirectives((openBlock(), createElementBlock("input", {
@@ -19518,8 +19469,8 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19518
19469
  disabled: unref(isDisabled),
19519
19470
  value: _ctx.label,
19520
19471
  onChange: _cache[5] || (_cache[5] = (...args) => unref(handleChange) && unref(handleChange)(...args)),
19521
- onFocus: _cache[6] || (_cache[6] = ($event) => focus.value = true),
19522
- onBlur: _cache[7] || (_cache[7] = ($event) => focus.value = false)
19472
+ onFocus: _cache[6] || (_cache[6] = ($event) => isFocused.value = true),
19473
+ onBlur: _cache[7] || (_cache[7] = ($event) => isFocused.value = false)
19523
19474
  }, null, 42, _hoisted_2$y)), [
19524
19475
  [vModelCheckbox, unref(model)]
19525
19476
  ]),
@@ -19538,26 +19489,50 @@ const _sfc_main$1K = /* @__PURE__ */ defineComponent({
19538
19489
  });
19539
19490
  var CheckboxButton = /* @__PURE__ */ _export_sfc(_sfc_main$1K, [["__file", "checkbox-button.vue"]]);
19540
19491
 
19541
- const __default__$11 = {
19542
- name: "ElCheckboxGroup"
19492
+ const checkboxGroupProps = buildProps({
19493
+ modelValue: {
19494
+ type: definePropType(Array),
19495
+ default: () => []
19496
+ },
19497
+ disabled: Boolean,
19498
+ min: Number,
19499
+ max: Number,
19500
+ size: useSizeProp,
19501
+ label: String,
19502
+ fill: String,
19503
+ textColor: String,
19504
+ tag: {
19505
+ type: String,
19506
+ default: "div"
19507
+ },
19508
+ validateEvent: {
19509
+ type: Boolean,
19510
+ default: true
19511
+ }
19512
+ });
19513
+ const checkboxGroupEmits = {
19514
+ [UPDATE_MODEL_EVENT]: (val) => isArray(val),
19515
+ change: (val) => isArray(val)
19543
19516
  };
19517
+
19518
+ const __default__$12 = defineComponent({
19519
+ name: "ElCheckboxGroup"
19520
+ });
19544
19521
  const _sfc_main$1J = /* @__PURE__ */ defineComponent({
19545
- ...__default__$11,
19546
- props: useCheckboxGroupProps,
19522
+ ...__default__$12,
19523
+ props: checkboxGroupProps,
19547
19524
  emits: checkboxGroupEmits,
19548
19525
  setup(__props, { emit }) {
19549
19526
  const props = __props;
19550
- const { elFormItem } = useCheckboxGroup();
19551
- const { groupId, isLabeledByFormItem } = useCheckboxGroupId(props, {
19552
- elFormItem
19553
- });
19554
- const checkboxGroupSize = useSize();
19555
19527
  const ns = useNamespace("checkbox");
19556
- const changeEvent = (value) => {
19528
+ const { formItem } = useFormItem();
19529
+ const { inputId: groupId, isLabeledByFormItem } = useFormItemInputId(props, {
19530
+ formItemContext: formItem
19531
+ });
19532
+ const changeEvent = async (value) => {
19557
19533
  emit(UPDATE_MODEL_EVENT, value);
19558
- nextTick(() => {
19559
- emit("change", value);
19560
- });
19534
+ await nextTick();
19535
+ emit("change", value);
19561
19536
  };
19562
19537
  const modelValue = computed$1({
19563
19538
  get() {
@@ -19567,16 +19542,22 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
19567
19542
  changeEvent(val);
19568
19543
  }
19569
19544
  });
19570
- provide("CheckboxGroup", {
19571
- name: "ElCheckboxGroup",
19572
- ...toRefs(props),
19545
+ provide(checkboxGroupContextKey, {
19546
+ ...pick(toRefs(props), [
19547
+ "size",
19548
+ "min",
19549
+ "max",
19550
+ "disabled",
19551
+ "validateEvent",
19552
+ "fill",
19553
+ "textColor"
19554
+ ]),
19573
19555
  modelValue,
19574
- checkboxGroupSize,
19575
19556
  changeEvent
19576
19557
  });
19577
19558
  watch(() => props.modelValue, () => {
19578
19559
  if (props.validateEvent) {
19579
- elFormItem == null ? void 0 : elFormItem.validate("change").catch((err) => debugWarn());
19560
+ formItem == null ? void 0 : formItem.validate("change").catch((err) => debugWarn());
19580
19561
  }
19581
19562
  });
19582
19563
  return (_ctx, _cache) => {
@@ -19586,7 +19567,7 @@ const _sfc_main$1J = /* @__PURE__ */ defineComponent({
19586
19567
  class: normalizeClass(unref(ns).b("group")),
19587
19568
  role: "group",
19588
19569
  "aria-label": !unref(isLabeledByFormItem) ? _ctx.label || "checkbox-group" : void 0,
19589
- "aria-labelledby": unref(isLabeledByFormItem) ? (_a = unref(elFormItem)) == null ? void 0 : _a.labelId : void 0
19570
+ "aria-labelledby": unref(isLabeledByFormItem) ? (_a = unref(formItem)) == null ? void 0 : _a.labelId : void 0
19590
19571
  }, {
19591
19572
  default: withCtx(() => [
19592
19573
  renderSlot(_ctx.$slots, "default")
@@ -19648,7 +19629,7 @@ const useRadio = (props, emit) => {
19648
19629
  }
19649
19630
  });
19650
19631
  const size = useSize(computed$1(() => radioGroup == null ? void 0 : radioGroup.size));
19651
- const disabled = useDisabled$1(computed$1(() => radioGroup == null ? void 0 : radioGroup.disabled));
19632
+ const disabled = useDisabled(computed$1(() => radioGroup == null ? void 0 : radioGroup.disabled));
19652
19633
  const focus = ref(false);
19653
19634
  const tabIndex = computed$1(() => {
19654
19635
  return disabled.value || isGroup.value && modelValue.value !== props.label ? -1 : 0;
@@ -19666,11 +19647,11 @@ const useRadio = (props, emit) => {
19666
19647
  };
19667
19648
 
19668
19649
  const _hoisted_1$S = ["value", "name", "disabled"];
19669
- const __default__$10 = {
19650
+ const __default__$11 = defineComponent({
19670
19651
  name: "ElRadio"
19671
- };
19652
+ });
19672
19653
  const _sfc_main$1I = /* @__PURE__ */ defineComponent({
19673
- ...__default__$10,
19654
+ ...__default__$11,
19674
19655
  props: radioProps,
19675
19656
  emits: radioEmits,
19676
19657
  setup(__props, { emit }) {
@@ -19742,11 +19723,11 @@ const radioButtonProps = buildProps({
19742
19723
  });
19743
19724
 
19744
19725
  const _hoisted_1$R = ["value", "name", "disabled"];
19745
- const __default__$$ = {
19726
+ const __default__$10 = defineComponent({
19746
19727
  name: "ElRadioButton"
19747
- };
19728
+ });
19748
19729
  const _sfc_main$1H = /* @__PURE__ */ defineComponent({
19749
- ...__default__$$,
19730
+ ...__default__$10,
19750
19731
  props: radioButtonProps,
19751
19732
  setup(__props) {
19752
19733
  const props = __props;
@@ -19836,11 +19817,11 @@ const radioGroupProps = buildProps({
19836
19817
  const radioGroupEmits = radioEmits;
19837
19818
 
19838
19819
  const _hoisted_1$Q = ["id", "aria-label", "aria-labelledby"];
19839
- const __default__$_ = {
19820
+ const __default__$$ = defineComponent({
19840
19821
  name: "ElRadioGroup"
19841
- };
19822
+ });
19842
19823
  const _sfc_main$1G = /* @__PURE__ */ defineComponent({
19843
- ...__default__$_,
19824
+ ...__default__$$,
19844
19825
  props: radioGroupProps,
19845
19826
  emits: radioGroupEmits,
19846
19827
  setup(__props, { emit }) {
@@ -20036,7 +20017,7 @@ const _sfc_main$1F = defineComponent({
20036
20017
  });
20037
20018
  const _hoisted_1$P = ["id", "aria-haspopup", "aria-owns", "aria-expanded", "tabindex"];
20038
20019
  const _hoisted_2$x = /* @__PURE__ */ createElementVNode("span", null, null, -1);
20039
- function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
20020
+ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20040
20021
  const _component_el_checkbox = resolveComponent("el-checkbox");
20041
20022
  const _component_el_radio = resolveComponent("el-radio");
20042
20023
  const _component_check = resolveComponent("check");
@@ -20119,7 +20100,7 @@ function _sfc_render$A(_ctx, _cache, $props, $setup, $data, $options) {
20119
20100
  ], 64)) : createCommentVNode("v-if", true)
20120
20101
  ], 42, _hoisted_1$P);
20121
20102
  }
20122
- var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$A], ["__file", "node.vue"]]);
20103
+ var ElCascaderNode = /* @__PURE__ */ _export_sfc(_sfc_main$1F, [["render", _sfc_render$z], ["__file", "node.vue"]]);
20123
20104
 
20124
20105
  const _sfc_main$1E = defineComponent({
20125
20106
  name: "ElCascaderMenu",
@@ -20199,7 +20180,7 @@ const _sfc_main$1E = defineComponent({
20199
20180
  };
20200
20181
  }
20201
20182
  });
20202
- function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20183
+ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20203
20184
  const _component_el_cascader_node = resolveComponent("el-cascader-node");
20204
20185
  const _component_loading = resolveComponent("loading");
20205
20186
  const _component_el_icon = resolveComponent("el-icon");
@@ -20252,7 +20233,7 @@ function _sfc_render$z(_ctx, _cache, $props, $setup, $data, $options) {
20252
20233
  _: 1
20253
20234
  }, 8, ["class", "wrap-class", "view-class", "onMousemove", "onMouseleave"]);
20254
20235
  }
20255
- var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$z], ["__file", "menu.vue"]]);
20236
+ var ElCascaderMenu = /* @__PURE__ */ _export_sfc(_sfc_main$1E, [["render", _sfc_render$y], ["__file", "menu.vue"]]);
20256
20237
 
20257
20238
  let uid = 0;
20258
20239
  const calculatePathNodes = (node) => {
@@ -20723,7 +20704,7 @@ const _sfc_main$1D = defineComponent({
20723
20704
  };
20724
20705
  }
20725
20706
  });
20726
- function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20707
+ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
20727
20708
  const _component_el_cascader_menu = resolveComponent("el-cascader-menu");
20728
20709
  return openBlock(), createElementBlock("div", {
20729
20710
  class: normalizeClass([_ctx.ns.b("panel"), _ctx.ns.is("bordered", _ctx.border)]),
@@ -20740,7 +20721,7 @@ function _sfc_render$y(_ctx, _cache, $props, $setup, $data, $options) {
20740
20721
  }), 128))
20741
20722
  ], 34);
20742
20723
  }
20743
- var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$y], ["__file", "index.vue"]]);
20724
+ var CascaderPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1D, [["render", _sfc_render$x], ["__file", "index.vue"]]);
20744
20725
 
20745
20726
  CascaderPanel.install = (app) => {
20746
20727
  app.component(CascaderPanel.name, CascaderPanel);
@@ -20778,11 +20759,11 @@ const tagEmits = {
20778
20759
  click: (evt) => evt instanceof MouseEvent
20779
20760
  };
20780
20761
 
20781
- const __default__$Z = {
20762
+ const __default__$_ = defineComponent({
20782
20763
  name: "ElTag"
20783
- };
20764
+ });
20784
20765
  const _sfc_main$1C = /* @__PURE__ */ defineComponent({
20785
- ...__default__$Z,
20766
+ ...__default__$_,
20786
20767
  props: tagProps,
20787
20768
  emits: tagEmits,
20788
20769
  setup(__props, { emit }) {
@@ -20888,9 +20869,9 @@ const popperOptions = {
20888
20869
  }
20889
20870
  ]
20890
20871
  };
20891
- const COMPONENT_NAME$a = "ElCascader";
20872
+ const COMPONENT_NAME$f = "ElCascader";
20892
20873
  const _sfc_main$1B = defineComponent({
20893
- name: COMPONENT_NAME$a,
20874
+ name: COMPONENT_NAME$f,
20894
20875
  components: {
20895
20876
  ElCascaderPanel: _CascaderPanel,
20896
20877
  ElInput,
@@ -21316,7 +21297,7 @@ const _sfc_main$1B = defineComponent({
21316
21297
  const _hoisted_1$O = { key: 0 };
21317
21298
  const _hoisted_2$w = ["placeholder"];
21318
21299
  const _hoisted_3$h = ["onClick"];
21319
- function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
21300
+ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
21320
21301
  const _component_circle_close = resolveComponent("circle-close");
21321
21302
  const _component_el_icon = resolveComponent("el-icon");
21322
21303
  const _component_arrow_down = resolveComponent("arrow-down");
@@ -21544,7 +21525,7 @@ function _sfc_render$x(_ctx, _cache, $props, $setup, $data, $options) {
21544
21525
  _: 3
21545
21526
  }, 8, ["visible", "teleported", "popper-class", "popper-options", "transition", "onHide"]);
21546
21527
  }
21547
- var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$x], ["__file", "index.vue"]]);
21528
+ var Cascader = /* @__PURE__ */ _export_sfc(_sfc_main$1B, [["render", _sfc_render$w], ["__file", "index.vue"]]);
21548
21529
 
21549
21530
  Cascader.install = (app) => {
21550
21531
  app.component(Cascader.name, Cascader);
@@ -21563,11 +21544,11 @@ const checkTagEmits = {
21563
21544
  [CHANGE_EVENT]: (value) => isBoolean(value)
21564
21545
  };
21565
21546
 
21566
- const __default__$Y = {
21547
+ const __default__$Z = defineComponent({
21567
21548
  name: "ElCheckTag"
21568
- };
21549
+ });
21569
21550
  const _sfc_main$1A = /* @__PURE__ */ defineComponent({
21570
- ...__default__$Y,
21551
+ ...__default__$Z,
21571
21552
  props: checkTagProps,
21572
21553
  emits: checkTagEmits,
21573
21554
  setup(__props, { emit }) {
@@ -21635,11 +21616,11 @@ const colProps = buildProps({
21635
21616
  }
21636
21617
  });
21637
21618
 
21638
- const __default__$X = {
21619
+ const __default__$Y = defineComponent({
21639
21620
  name: "ElCol"
21640
- };
21621
+ });
21641
21622
  const _sfc_main$1z = /* @__PURE__ */ defineComponent({
21642
- ...__default__$X,
21623
+ ...__default__$Y,
21643
21624
  props: colProps,
21644
21625
  setup(__props) {
21645
21626
  const props = __props;
@@ -21709,11 +21690,11 @@ const collapseEmits = {
21709
21690
  [CHANGE_EVENT]: emitChangeFn
21710
21691
  };
21711
21692
 
21712
- const __default__$W = {
21693
+ const __default__$X = defineComponent({
21713
21694
  name: "ElCollapse"
21714
- };
21695
+ });
21715
21696
  const _sfc_main$1y = /* @__PURE__ */ defineComponent({
21716
- ...__default__$W,
21697
+ ...__default__$X,
21717
21698
  props: collapseProps,
21718
21699
  emits: collapseEmits,
21719
21700
  setup(__props, { expose, emit }) {
@@ -21764,11 +21745,11 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
21764
21745
  });
21765
21746
  var Collapse = /* @__PURE__ */ _export_sfc(_sfc_main$1y, [["__file", "collapse.vue"]]);
21766
21747
 
21767
- const __default__$V = {
21748
+ const __default__$W = defineComponent({
21768
21749
  name: "ElCollapseTransition"
21769
- };
21750
+ });
21770
21751
  const _sfc_main$1x = /* @__PURE__ */ defineComponent({
21771
- ...__default__$V,
21752
+ ...__default__$W,
21772
21753
  setup(__props) {
21773
21754
  const ns = useNamespace("collapse-transition");
21774
21755
  const on = {
@@ -21856,11 +21837,11 @@ const collapseItemProps = buildProps({
21856
21837
  const _hoisted_1$N = ["aria-expanded", "aria-controls", "aria-describedby"];
21857
21838
  const _hoisted_2$v = ["id", "tabindex", "onKeypress"];
21858
21839
  const _hoisted_3$g = ["id", "aria-hidden", "aria-labelledby"];
21859
- const __default__$U = {
21840
+ const __default__$V = defineComponent({
21860
21841
  name: "ElCollapseItem"
21861
- };
21842
+ });
21862
21843
  const _sfc_main$1w = /* @__PURE__ */ defineComponent({
21863
- ...__default__$U,
21844
+ ...__default__$V,
21864
21845
  props: collapseItemProps,
21865
21846
  setup(__props, { expose }) {
21866
21847
  const props = __props;
@@ -22016,11 +21997,11 @@ const _sfc_main$1v = defineComponent({
22016
21997
  setup(props) {
22017
21998
  const ns = useNamespace("color-alpha-slider");
22018
21999
  const instance = getCurrentInstance();
22019
- const thumb = shallowRef(null);
22020
- const bar = shallowRef(null);
22000
+ const thumb = shallowRef();
22001
+ const bar = shallowRef();
22021
22002
  const thumbLeft = ref(0);
22022
22003
  const thumbTop = ref(0);
22023
- const background = ref(null);
22004
+ const background = ref();
22024
22005
  watch(() => props.color.get("alpha"), () => {
22025
22006
  update();
22026
22007
  });
@@ -22028,6 +22009,8 @@ const _sfc_main$1v = defineComponent({
22028
22009
  update();
22029
22010
  });
22030
22011
  function getThumbLeft() {
22012
+ if (!thumb.value)
22013
+ return 0;
22031
22014
  if (props.vertical)
22032
22015
  return 0;
22033
22016
  const el = instance.vnode.el;
@@ -22037,6 +22020,8 @@ const _sfc_main$1v = defineComponent({
22037
22020
  return Math.round(alpha * (el.offsetWidth - thumb.value.offsetWidth / 2) / 100);
22038
22021
  }
22039
22022
  function getThumbTop() {
22023
+ if (!thumb.value)
22024
+ return 0;
22040
22025
  const el = instance.vnode.el;
22041
22026
  if (!props.vertical)
22042
22027
  return 0;
@@ -22050,7 +22035,7 @@ const _sfc_main$1v = defineComponent({
22050
22035
  const { r, g, b } = props.color.toRgb();
22051
22036
  return `linear-gradient(to right, rgba(${r}, ${g}, ${b}, 0) 0%, rgba(${r}, ${g}, ${b}, 1) 100%)`;
22052
22037
  }
22053
- return null;
22038
+ return "";
22054
22039
  }
22055
22040
  function handleClick(event) {
22056
22041
  const target = event.target;
@@ -22059,6 +22044,8 @@ const _sfc_main$1v = defineComponent({
22059
22044
  }
22060
22045
  }
22061
22046
  function handleDrag(event) {
22047
+ if (!bar.value || !thumb.value)
22048
+ return;
22062
22049
  const el = instance.vnode.el;
22063
22050
  const rect = el.getBoundingClientRect();
22064
22051
  const { clientX, clientY } = getClientXY(event);
@@ -22080,6 +22067,8 @@ const _sfc_main$1v = defineComponent({
22080
22067
  background.value = getBackground();
22081
22068
  }
22082
22069
  onMounted(() => {
22070
+ if (!bar.value || !thumb.value)
22071
+ return;
22083
22072
  const dragConfig = {
22084
22073
  drag: (event) => {
22085
22074
  handleDrag(event);
@@ -22104,7 +22093,7 @@ const _sfc_main$1v = defineComponent({
22104
22093
  };
22105
22094
  }
22106
22095
  });
22107
- function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
22096
+ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22108
22097
  return openBlock(), createElementBlock("div", {
22109
22098
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
22110
22099
  }, [
@@ -22126,7 +22115,7 @@ function _sfc_render$w(_ctx, _cache, $props, $setup, $data, $options) {
22126
22115
  }, null, 6)
22127
22116
  ], 2);
22128
22117
  }
22129
- var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$w], ["__file", "alpha-slider.vue"]]);
22118
+ var AlphaSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1v, [["render", _sfc_render$v], ["__file", "alpha-slider.vue"]]);
22130
22119
 
22131
22120
  const _sfc_main$1u = defineComponent({
22132
22121
  name: "ElColorHueSlider",
@@ -22140,8 +22129,8 @@ const _sfc_main$1u = defineComponent({
22140
22129
  setup(props) {
22141
22130
  const ns = useNamespace("color-hue-slider");
22142
22131
  const instance = getCurrentInstance();
22143
- const thumb = ref(null);
22144
- const bar = ref(null);
22132
+ const thumb = ref();
22133
+ const bar = ref();
22145
22134
  const thumbLeft = ref(0);
22146
22135
  const thumbTop = ref(0);
22147
22136
  const hueValue = computed$1(() => {
@@ -22157,6 +22146,8 @@ const _sfc_main$1u = defineComponent({
22157
22146
  }
22158
22147
  }
22159
22148
  function handleDrag(event) {
22149
+ if (!bar.value || !thumb.value)
22150
+ return;
22160
22151
  const el = instance.vnode.el;
22161
22152
  const rect = el.getBoundingClientRect();
22162
22153
  const { clientX, clientY } = getClientXY(event);
@@ -22175,6 +22166,8 @@ const _sfc_main$1u = defineComponent({
22175
22166
  props.color.set("hue", hue);
22176
22167
  }
22177
22168
  function getThumbLeft() {
22169
+ if (!thumb.value)
22170
+ return 0;
22178
22171
  const el = instance.vnode.el;
22179
22172
  if (props.vertical)
22180
22173
  return 0;
@@ -22184,6 +22177,8 @@ const _sfc_main$1u = defineComponent({
22184
22177
  return Math.round(hue * (el.offsetWidth - thumb.value.offsetWidth / 2) / 360);
22185
22178
  }
22186
22179
  function getThumbTop() {
22180
+ if (!thumb.value)
22181
+ return 0;
22187
22182
  const el = instance.vnode.el;
22188
22183
  if (!props.vertical)
22189
22184
  return 0;
@@ -22197,6 +22192,8 @@ const _sfc_main$1u = defineComponent({
22197
22192
  thumbTop.value = getThumbTop();
22198
22193
  }
22199
22194
  onMounted(() => {
22195
+ if (!bar.value || !thumb.value)
22196
+ return;
22200
22197
  const dragConfig = {
22201
22198
  drag: (event) => {
22202
22199
  handleDrag(event);
@@ -22221,7 +22218,7 @@ const _sfc_main$1u = defineComponent({
22221
22218
  };
22222
22219
  }
22223
22220
  });
22224
- function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22221
+ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22225
22222
  return openBlock(), createElementBlock("div", {
22226
22223
  class: normalizeClass([_ctx.ns.b(), _ctx.ns.is("vertical", _ctx.vertical)])
22227
22224
  }, [
@@ -22240,12 +22237,41 @@ function _sfc_render$v(_ctx, _cache, $props, $setup, $data, $options) {
22240
22237
  }, null, 6)
22241
22238
  ], 2);
22242
22239
  }
22243
- var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$v], ["__file", "hue-slider.vue"]]);
22240
+ var HueSlider = /* @__PURE__ */ _export_sfc(_sfc_main$1u, [["render", _sfc_render$u], ["__file", "hue-slider.vue"]]);
22244
22241
 
22245
- const OPTIONS_KEY = Symbol();
22246
- const useOptions = () => {
22247
- return inject(OPTIONS_KEY);
22242
+ const colorPickerProps = buildProps({
22243
+ modelValue: String,
22244
+ id: String,
22245
+ showAlpha: Boolean,
22246
+ colorFormat: String,
22247
+ disabled: Boolean,
22248
+ size: useSizeProp,
22249
+ popperClass: {
22250
+ type: String,
22251
+ default: ""
22252
+ },
22253
+ label: {
22254
+ type: String,
22255
+ default: void 0
22256
+ },
22257
+ tabindex: {
22258
+ type: [String, Number],
22259
+ default: 0
22260
+ },
22261
+ predefine: {
22262
+ type: definePropType(Array)
22263
+ },
22264
+ validateEvent: {
22265
+ type: Boolean,
22266
+ default: true
22267
+ }
22268
+ });
22269
+ const colorPickerEmits = {
22270
+ change: (color) => isString(color),
22271
+ activeChange: (color) => isString(color),
22272
+ [UPDATE_MODEL_EVENT]: (color) => isString(color)
22248
22273
  };
22274
+ const colorPickerContextKey = Symbol("colorPickerContextKey");
22249
22275
 
22250
22276
  const hsv2hsl = function(hue, sat, val) {
22251
22277
  return [
@@ -22273,8 +22299,15 @@ const bound01 = function(value, max) {
22273
22299
  }
22274
22300
  return value % max / Number.parseFloat(max);
22275
22301
  };
22276
- const INT_HEX_MAP = { 10: "A", 11: "B", 12: "C", 13: "D", 14: "E", 15: "F" };
22277
- const hexOne = function(value) {
22302
+ const INT_HEX_MAP = {
22303
+ 10: "A",
22304
+ 11: "B",
22305
+ 12: "C",
22306
+ 13: "D",
22307
+ 14: "E",
22308
+ 15: "F"
22309
+ };
22310
+ const hexOne = (value) => {
22278
22311
  value = Math.min(Math.round(value), 255);
22279
22312
  const high = Math.floor(value / 16);
22280
22313
  const low = value % 16;
@@ -22285,7 +22318,14 @@ const toHex = function({ r, g, b }) {
22285
22318
  return "";
22286
22319
  return `#${hexOne(r)}${hexOne(g)}${hexOne(b)}`;
22287
22320
  };
22288
- const HEX_INT_MAP = { A: 10, B: 11, C: 12, D: 13, E: 14, F: 15 };
22321
+ const HEX_INT_MAP = {
22322
+ A: 10,
22323
+ B: 11,
22324
+ C: 12,
22325
+ D: 13,
22326
+ E: 14,
22327
+ F: 15
22328
+ };
22289
22329
  const parseHexChannel = function(hex) {
22290
22330
  if (hex.length === 2) {
22291
22331
  return (HEX_INT_MAP[hex[0].toUpperCase()] || +hex[0]) * 16 + (HEX_INT_MAP[hex[1].toUpperCase()] || +hex[1]);
@@ -22308,7 +22348,7 @@ const hsl2hsv = function(hue, sat, light) {
22308
22348
  v: v * 100
22309
22349
  };
22310
22350
  };
22311
- const rgb2hsv = function(r, g, b) {
22351
+ const rgb2hsv = (r, g, b) => {
22312
22352
  r = bound01(r, 255);
22313
22353
  g = bound01(g, 255);
22314
22354
  b = bound01(b, 255);
@@ -22359,7 +22399,7 @@ const hsv2rgb = function(h, s, v) {
22359
22399
  };
22360
22400
  };
22361
22401
  class Color {
22362
- constructor(options) {
22402
+ constructor(options = {}) {
22363
22403
  this._hue = 0;
22364
22404
  this._saturation = 100;
22365
22405
  this._value = 100;
@@ -22367,7 +22407,6 @@ class Color {
22367
22407
  this.enableAlpha = false;
22368
22408
  this.format = "hex";
22369
22409
  this.value = "";
22370
- options = options || {};
22371
22410
  for (const option in options) {
22372
22411
  if (hasOwn(options, option)) {
22373
22412
  this[option] = options[option];
@@ -22520,7 +22559,10 @@ class Color {
22520
22559
 
22521
22560
  const _sfc_main$1t = defineComponent({
22522
22561
  props: {
22523
- colors: { type: Array, required: true },
22562
+ colors: {
22563
+ type: Array,
22564
+ required: true
22565
+ },
22524
22566
  color: {
22525
22567
  type: Object,
22526
22568
  required: true
@@ -22528,7 +22570,7 @@ const _sfc_main$1t = defineComponent({
22528
22570
  },
22529
22571
  setup(props) {
22530
22572
  const ns = useNamespace("color-predefine");
22531
- const { currentColor } = useOptions();
22573
+ const { currentColor } = inject(colorPickerContextKey);
22532
22574
  const rgbaColors = ref(parseColors(props.colors, props.color));
22533
22575
  watch(() => currentColor.value, (val) => {
22534
22576
  const color = new Color();
@@ -22561,7 +22603,7 @@ const _sfc_main$1t = defineComponent({
22561
22603
  }
22562
22604
  });
22563
22605
  const _hoisted_1$M = ["onClick"];
22564
- function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22606
+ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22565
22607
  return openBlock(), createElementBlock("div", {
22566
22608
  class: normalizeClass(_ctx.ns.b())
22567
22609
  }, [
@@ -22586,7 +22628,7 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
22586
22628
  ], 2)
22587
22629
  ], 2);
22588
22630
  }
22589
- var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$u], ["__file", "predefine.vue"]]);
22631
+ var Predefine = /* @__PURE__ */ _export_sfc(_sfc_main$1t, [["render", _sfc_render$t], ["__file", "predefine.vue"]]);
22590
22632
 
22591
22633
  const _sfc_main$1s = defineComponent({
22592
22634
  name: "ElSlPanel",
@@ -22662,7 +22704,7 @@ const _hoisted_1$L = /* @__PURE__ */ createElementVNode("div", null, null, -1);
22662
22704
  const _hoisted_2$u = [
22663
22705
  _hoisted_1$L
22664
22706
  ];
22665
- function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22707
+ function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22666
22708
  return openBlock(), createElementBlock("div", {
22667
22709
  class: normalizeClass(_ctx.ns.b()),
22668
22710
  style: normalizeStyle({
@@ -22684,62 +22726,30 @@ function _sfc_render$t(_ctx, _cache, $props, $setup, $data, $options) {
22684
22726
  }, _hoisted_2$u, 6)
22685
22727
  ], 6);
22686
22728
  }
22687
- var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$t], ["__file", "sv-panel.vue"]]);
22729
+ var SvPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1s, [["render", _sfc_render$s], ["__file", "sv-panel.vue"]]);
22688
22730
 
22689
- const _sfc_main$1r = defineComponent({
22690
- name: "ElColorPicker",
22691
- components: {
22692
- ElButton,
22693
- ElTooltip,
22694
- ElInput,
22695
- ElIcon,
22696
- Close: close_default,
22697
- ArrowDown: arrow_down_default,
22698
- SvPanel,
22699
- HueSlider,
22700
- AlphaSlider,
22701
- Predefine
22702
- },
22703
- directives: {
22704
- ClickOutside
22705
- },
22706
- props: {
22707
- modelValue: String,
22708
- id: String,
22709
- showAlpha: Boolean,
22710
- colorFormat: String,
22711
- disabled: Boolean,
22712
- size: {
22713
- type: String,
22714
- validator: isValidComponentSize
22715
- },
22716
- popperClass: String,
22717
- label: {
22718
- type: String,
22719
- default: void 0
22720
- },
22721
- tabindex: {
22722
- type: [String, Number],
22723
- default: 0
22724
- },
22725
- predefine: Array,
22726
- validateEvent: {
22727
- type: Boolean,
22728
- default: true
22729
- }
22730
- },
22731
- emits: ["change", "active-change", UPDATE_MODEL_EVENT],
22732
- setup(props, { emit }) {
22731
+ const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex", "onKeydown"];
22732
+ const __default__$U = defineComponent({
22733
+ name: "ElColorPicker"
22734
+ });
22735
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
22736
+ ...__default__$U,
22737
+ props: colorPickerProps,
22738
+ emits: colorPickerEmits,
22739
+ setup(__props, { expose, emit }) {
22740
+ const props = __props;
22733
22741
  const { t } = useLocale();
22734
22742
  const ns = useNamespace("color");
22735
- const { form, formItem } = useFormItem();
22743
+ const { formItem } = useFormItem();
22744
+ const colorSize = useSize();
22745
+ const colorDisabled = useDisabled();
22736
22746
  const { inputId: buttonId, isLabeledByFormItem } = useFormItemInputId(props, {
22737
22747
  formItemContext: formItem
22738
22748
  });
22739
22749
  const hue = ref();
22740
- const svPanel = ref();
22750
+ const sv = ref();
22741
22751
  const alpha = ref();
22742
- const popper = ref(null);
22752
+ const popper = ref();
22743
22753
  let shouldActiveChange = true;
22744
22754
  const color = reactive(new Color({
22745
22755
  enableAlpha: props.showAlpha,
@@ -22755,10 +22765,6 @@ const _sfc_main$1r = defineComponent({
22755
22765
  }
22756
22766
  return displayedRgb(color, props.showAlpha);
22757
22767
  });
22758
- const colorSize = useSize();
22759
- const colorDisabled = computed$1(() => {
22760
- return !!(props.disabled || (form == null ? void 0 : form.disabled));
22761
- });
22762
22768
  const currentColor = computed$1(() => {
22763
22769
  return !props.modelValue && !showPanelColor.value ? "" : color.value;
22764
22770
  });
@@ -22768,24 +22774,6 @@ const _sfc_main$1r = defineComponent({
22768
22774
  const buttonAriaLabelledby = computed$1(() => {
22769
22775
  return isLabeledByFormItem.value ? formItem == null ? void 0 : formItem.labelId : void 0;
22770
22776
  });
22771
- watch(() => props.modelValue, (newVal) => {
22772
- if (!newVal) {
22773
- showPanelColor.value = false;
22774
- } else if (newVal && newVal !== color.value) {
22775
- shouldActiveChange = false;
22776
- color.fromString(newVal);
22777
- }
22778
- });
22779
- watch(() => currentColor.value, (val) => {
22780
- customInput.value = val;
22781
- shouldActiveChange && emit("active-change", val);
22782
- shouldActiveChange = true;
22783
- });
22784
- watch(() => color.value, () => {
22785
- if (!props.modelValue && !showPanelColor.value) {
22786
- showPanelColor.value = true;
22787
- }
22788
- });
22789
22777
  function displayedRgb(color2, showAlpha) {
22790
22778
  if (!(color2 instanceof Color)) {
22791
22779
  throw new TypeError("color should be instance of _color Class");
@@ -22854,204 +22842,189 @@ const _sfc_main$1r = defineComponent({
22854
22842
  customInput.value = currentColor.value;
22855
22843
  }
22856
22844
  });
22845
+ watch(() => props.modelValue, (newVal) => {
22846
+ if (!newVal) {
22847
+ showPanelColor.value = false;
22848
+ } else if (newVal && newVal !== color.value) {
22849
+ shouldActiveChange = false;
22850
+ color.fromString(newVal);
22851
+ }
22852
+ });
22853
+ watch(() => currentColor.value, (val) => {
22854
+ customInput.value = val;
22855
+ shouldActiveChange && emit("activeChange", val);
22856
+ shouldActiveChange = true;
22857
+ });
22858
+ watch(() => color.value, () => {
22859
+ if (!props.modelValue && !showPanelColor.value) {
22860
+ showPanelColor.value = true;
22861
+ }
22862
+ });
22857
22863
  watch(() => showPicker.value, () => {
22858
22864
  nextTick(() => {
22859
22865
  var _a, _b, _c;
22860
22866
  (_a = hue.value) == null ? void 0 : _a.update();
22861
- (_b = svPanel.value) == null ? void 0 : _b.update();
22867
+ (_b = sv.value) == null ? void 0 : _b.update();
22862
22868
  (_c = alpha.value) == null ? void 0 : _c.update();
22863
22869
  });
22864
22870
  });
22865
- provide(OPTIONS_KEY, {
22871
+ provide(colorPickerContextKey, {
22866
22872
  currentColor
22867
22873
  });
22868
- return {
22869
- color,
22870
- colorDisabled,
22871
- colorSize,
22872
- displayedColor,
22873
- showPanelColor,
22874
- showPicker,
22875
- customInput,
22876
- buttonId,
22877
- buttonAriaLabel,
22878
- buttonAriaLabelledby,
22879
- handleConfirm,
22880
- hide,
22881
- handleTrigger,
22882
- clear,
22883
- confirmValue,
22884
- t,
22885
- ns,
22886
- hue,
22887
- svPanel,
22888
- alpha,
22889
- popper
22890
- };
22891
- }
22892
- });
22893
- const _hoisted_1$K = ["id", "aria-label", "aria-labelledby", "aria-description", "tabindex"];
22894
- function _sfc_render$s(_ctx, _cache, $props, $setup, $data, $options) {
22895
- const _component_hue_slider = resolveComponent("hue-slider");
22896
- const _component_sv_panel = resolveComponent("sv-panel");
22897
- const _component_alpha_slider = resolveComponent("alpha-slider");
22898
- const _component_predefine = resolveComponent("predefine");
22899
- const _component_el_input = resolveComponent("el-input");
22900
- const _component_el_button = resolveComponent("el-button");
22901
- const _component_arrow_down = resolveComponent("arrow-down");
22902
- const _component_el_icon = resolveComponent("el-icon");
22903
- const _component_close = resolveComponent("close");
22904
- const _component_el_tooltip = resolveComponent("el-tooltip");
22905
- const _directive_click_outside = resolveDirective("click-outside");
22906
- return openBlock(), createBlock(_component_el_tooltip, {
22907
- ref: "popper",
22908
- visible: _ctx.showPicker,
22909
- "show-arrow": false,
22910
- "fallback-placements": ["bottom", "top", "right", "left"],
22911
- offset: 0,
22912
- "gpu-acceleration": false,
22913
- "popper-class": [_ctx.ns.be("picker", "panel"), _ctx.ns.b("dropdown"), _ctx.popperClass],
22914
- "stop-popper-mouse-event": false,
22915
- effect: "light",
22916
- trigger: "click",
22917
- transition: `${_ctx.ns.namespace.value}-zoom-in-top`,
22918
- persistent: ""
22919
- }, {
22920
- content: withCtx(() => [
22921
- withDirectives((openBlock(), createElementBlock("div", null, [
22922
- createElementVNode("div", {
22923
- class: normalizeClass(_ctx.ns.be("dropdown", "main-wrapper"))
22924
- }, [
22925
- createVNode(_component_hue_slider, {
22926
- ref: "hue",
22927
- class: "hue-slider",
22928
- color: _ctx.color,
22929
- vertical: ""
22930
- }, null, 8, ["color"]),
22931
- createVNode(_component_sv_panel, {
22932
- ref: "svPanel",
22933
- color: _ctx.color
22934
- }, null, 8, ["color"])
22935
- ], 2),
22936
- _ctx.showAlpha ? (openBlock(), createBlock(_component_alpha_slider, {
22937
- key: 0,
22938
- ref: "alpha",
22939
- color: _ctx.color
22940
- }, null, 8, ["color"])) : createCommentVNode("v-if", true),
22941
- _ctx.predefine ? (openBlock(), createBlock(_component_predefine, {
22942
- key: 1,
22943
- ref: "predefine",
22944
- color: _ctx.color,
22945
- colors: _ctx.predefine
22946
- }, null, 8, ["color", "colors"])) : createCommentVNode("v-if", true),
22947
- createElementVNode("div", {
22948
- class: normalizeClass(_ctx.ns.be("dropdown", "btns"))
22949
- }, [
22950
- createElementVNode("span", {
22951
- class: normalizeClass(_ctx.ns.be("dropdown", "value"))
22952
- }, [
22953
- createVNode(_component_el_input, {
22954
- modelValue: _ctx.customInput,
22955
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => _ctx.customInput = $event),
22956
- "validate-event": false,
22957
- size: "small",
22958
- onKeyup: withKeys(_ctx.handleConfirm, ["enter"]),
22959
- onBlur: _ctx.handleConfirm
22960
- }, null, 8, ["modelValue", "onKeyup", "onBlur"])
22961
- ], 2),
22962
- createVNode(_component_el_button, {
22963
- class: normalizeClass(_ctx.ns.be("dropdown", "link-btn")),
22964
- text: "",
22965
- size: "small",
22966
- onClick: _ctx.clear
22967
- }, {
22968
- default: withCtx(() => [
22969
- createTextVNode(toDisplayString(_ctx.t("el.colorpicker.clear")), 1)
22970
- ]),
22971
- _: 1
22972
- }, 8, ["class", "onClick"]),
22973
- createVNode(_component_el_button, {
22974
- plain: "",
22975
- size: "small",
22976
- class: normalizeClass(_ctx.ns.be("dropdown", "btn")),
22977
- onClick: _ctx.confirmValue
22978
- }, {
22979
- default: withCtx(() => [
22980
- createTextVNode(toDisplayString(_ctx.t("el.colorpicker.confirm")), 1)
22981
- ]),
22982
- _: 1
22983
- }, 8, ["class", "onClick"])
22984
- ], 2)
22985
- ])), [
22986
- [_directive_click_outside, _ctx.hide]
22987
- ])
22988
- ]),
22989
- default: withCtx(() => [
22990
- createElementVNode("div", {
22991
- id: _ctx.buttonId,
22992
- class: normalizeClass([
22993
- _ctx.ns.b("picker"),
22994
- _ctx.ns.is("disabled", _ctx.colorDisabled),
22995
- _ctx.ns.bm("picker", _ctx.colorSize)
22996
- ]),
22997
- role: "button",
22998
- "aria-label": _ctx.buttonAriaLabel,
22999
- "aria-labelledby": _ctx.buttonAriaLabelledby,
23000
- "aria-description": _ctx.t("el.colorpicker.description", { color: _ctx.modelValue || "" }),
23001
- tabindex: _ctx.tabindex,
23002
- onKeydown: _cache[2] || (_cache[2] = withKeys((...args) => _ctx.handleTrigger && _ctx.handleTrigger(...args), ["enter"]))
23003
- }, [
23004
- _ctx.colorDisabled ? (openBlock(), createElementBlock("div", {
23005
- key: 0,
23006
- class: normalizeClass(_ctx.ns.be("picker", "mask"))
23007
- }, null, 2)) : createCommentVNode("v-if", true),
23008
- createElementVNode("div", {
23009
- class: normalizeClass(_ctx.ns.be("picker", "trigger")),
23010
- onClick: _cache[1] || (_cache[1] = (...args) => _ctx.handleTrigger && _ctx.handleTrigger(...args))
23011
- }, [
23012
- createElementVNode("span", {
23013
- class: normalizeClass([_ctx.ns.be("picker", "color"), _ctx.ns.is("alpha", _ctx.showAlpha)])
23014
- }, [
23015
- createElementVNode("span", {
23016
- class: normalizeClass(_ctx.ns.be("picker", "color-inner")),
23017
- style: normalizeStyle({
23018
- backgroundColor: _ctx.displayedColor
23019
- })
22874
+ expose({
22875
+ color
22876
+ });
22877
+ return (_ctx, _cache) => {
22878
+ return openBlock(), createBlock(unref(ElTooltip), {
22879
+ ref_key: "popper",
22880
+ ref: popper,
22881
+ visible: showPicker.value,
22882
+ "show-arrow": false,
22883
+ "fallback-placements": ["bottom", "top", "right", "left"],
22884
+ offset: 0,
22885
+ "gpu-acceleration": false,
22886
+ "popper-class": [unref(ns).be("picker", "panel"), unref(ns).b("dropdown"), _ctx.popperClass],
22887
+ "stop-popper-mouse-event": false,
22888
+ effect: "light",
22889
+ trigger: "click",
22890
+ transition: `${unref(ns).namespace.value}-zoom-in-top`,
22891
+ persistent: ""
22892
+ }, {
22893
+ content: withCtx(() => [
22894
+ withDirectives((openBlock(), createElementBlock("div", null, [
22895
+ createElementVNode("div", {
22896
+ class: normalizeClass(unref(ns).be("dropdown", "main-wrapper"))
23020
22897
  }, [
23021
- withDirectives(createVNode(_component_el_icon, {
23022
- class: normalizeClass([_ctx.ns.be("picker", "icon"), _ctx.ns.is("icon-arrow-down")])
22898
+ createVNode(HueSlider, {
22899
+ ref_key: "hue",
22900
+ ref: hue,
22901
+ class: "hue-slider",
22902
+ color: unref(color),
22903
+ vertical: ""
22904
+ }, null, 8, ["color"]),
22905
+ createVNode(SvPanel, {
22906
+ ref: "svPanel",
22907
+ color: unref(color)
22908
+ }, null, 8, ["color"])
22909
+ ], 2),
22910
+ _ctx.showAlpha ? (openBlock(), createBlock(AlphaSlider, {
22911
+ key: 0,
22912
+ ref_key: "alpha",
22913
+ ref: alpha,
22914
+ color: unref(color)
22915
+ }, null, 8, ["color"])) : createCommentVNode("v-if", true),
22916
+ _ctx.predefine ? (openBlock(), createBlock(Predefine, {
22917
+ key: 1,
22918
+ ref: "predefine",
22919
+ color: unref(color),
22920
+ colors: _ctx.predefine
22921
+ }, null, 8, ["color", "colors"])) : createCommentVNode("v-if", true),
22922
+ createElementVNode("div", {
22923
+ class: normalizeClass(unref(ns).be("dropdown", "btns"))
22924
+ }, [
22925
+ createElementVNode("span", {
22926
+ class: normalizeClass(unref(ns).be("dropdown", "value"))
22927
+ }, [
22928
+ createVNode(unref(ElInput), {
22929
+ modelValue: customInput.value,
22930
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => customInput.value = $event),
22931
+ "validate-event": false,
22932
+ size: "small",
22933
+ onKeyup: withKeys(handleConfirm, ["enter"]),
22934
+ onBlur: handleConfirm
22935
+ }, null, 8, ["modelValue", "onKeyup"])
22936
+ ], 2),
22937
+ createVNode(unref(ElButton), {
22938
+ class: normalizeClass(unref(ns).be("dropdown", "link-btn")),
22939
+ text: "",
22940
+ size: "small",
22941
+ onClick: clear
23023
22942
  }, {
23024
22943
  default: withCtx(() => [
23025
- createVNode(_component_arrow_down)
22944
+ createTextVNode(toDisplayString(unref(t)("el.colorpicker.clear")), 1)
23026
22945
  ]),
23027
22946
  _: 1
23028
- }, 8, ["class"]), [
23029
- [vShow, _ctx.modelValue || _ctx.showPanelColor]
23030
- ]),
23031
- !_ctx.modelValue && !_ctx.showPanelColor ? (openBlock(), createBlock(_component_el_icon, {
23032
- key: 0,
23033
- class: normalizeClass([_ctx.ns.be("picker", "empty"), _ctx.ns.is("icon-close")])
22947
+ }, 8, ["class"]),
22948
+ createVNode(unref(ElButton), {
22949
+ plain: "",
22950
+ size: "small",
22951
+ class: normalizeClass(unref(ns).be("dropdown", "btn")),
22952
+ onClick: confirmValue
23034
22953
  }, {
23035
22954
  default: withCtx(() => [
23036
- createVNode(_component_close)
22955
+ createTextVNode(toDisplayString(unref(t)("el.colorpicker.confirm")), 1)
23037
22956
  ]),
23038
22957
  _: 1
23039
- }, 8, ["class"])) : createCommentVNode("v-if", true)
23040
- ], 6)
23041
- ], 2)
23042
- ], 2)
23043
- ], 42, _hoisted_1$K)
23044
- ]),
23045
- _: 1
23046
- }, 8, ["visible", "popper-class", "transition"]);
23047
- }
23048
- var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["render", _sfc_render$s], ["__file", "index.vue"]]);
22958
+ }, 8, ["class"])
22959
+ ], 2)
22960
+ ])), [
22961
+ [unref(ClickOutside), hide]
22962
+ ])
22963
+ ]),
22964
+ default: withCtx(() => [
22965
+ createElementVNode("div", {
22966
+ id: unref(buttonId),
22967
+ class: normalizeClass([
22968
+ unref(ns).b("picker"),
22969
+ unref(ns).is("disabled", unref(colorDisabled)),
22970
+ unref(ns).bm("picker", unref(colorSize))
22971
+ ]),
22972
+ role: "button",
22973
+ "aria-label": unref(buttonAriaLabel),
22974
+ "aria-labelledby": unref(buttonAriaLabelledby),
22975
+ "aria-description": unref(t)("el.colorpicker.description", { color: _ctx.modelValue || "" }),
22976
+ tabindex: _ctx.tabindex,
22977
+ onKeydown: withKeys(handleTrigger, ["enter"])
22978
+ }, [
22979
+ unref(colorDisabled) ? (openBlock(), createElementBlock("div", {
22980
+ key: 0,
22981
+ class: normalizeClass(unref(ns).be("picker", "mask"))
22982
+ }, null, 2)) : createCommentVNode("v-if", true),
22983
+ createElementVNode("div", {
22984
+ class: normalizeClass(unref(ns).be("picker", "trigger")),
22985
+ onClick: handleTrigger
22986
+ }, [
22987
+ createElementVNode("span", {
22988
+ class: normalizeClass([unref(ns).be("picker", "color"), unref(ns).is("alpha", _ctx.showAlpha)])
22989
+ }, [
22990
+ createElementVNode("span", {
22991
+ class: normalizeClass(unref(ns).be("picker", "color-inner")),
22992
+ style: normalizeStyle({
22993
+ backgroundColor: unref(displayedColor)
22994
+ })
22995
+ }, [
22996
+ withDirectives(createVNode(unref(ElIcon), {
22997
+ class: normalizeClass([unref(ns).be("picker", "icon"), unref(ns).is("icon-arrow-down")])
22998
+ }, {
22999
+ default: withCtx(() => [
23000
+ createVNode(unref(arrow_down_default))
23001
+ ]),
23002
+ _: 1
23003
+ }, 8, ["class"]), [
23004
+ [vShow, _ctx.modelValue || showPanelColor.value]
23005
+ ]),
23006
+ !_ctx.modelValue && !showPanelColor.value ? (openBlock(), createBlock(unref(ElIcon), {
23007
+ key: 0,
23008
+ class: normalizeClass([unref(ns).be("picker", "empty"), unref(ns).is("icon-close")])
23009
+ }, {
23010
+ default: withCtx(() => [
23011
+ createVNode(unref(close_default))
23012
+ ]),
23013
+ _: 1
23014
+ }, 8, ["class"])) : createCommentVNode("v-if", true)
23015
+ ], 6)
23016
+ ], 2)
23017
+ ], 2)
23018
+ ], 42, _hoisted_1$K)
23019
+ ]),
23020
+ _: 1
23021
+ }, 8, ["visible", "popper-class", "transition"]);
23022
+ };
23023
+ }
23024
+ });
23025
+ var ColorPicker = /* @__PURE__ */ _export_sfc(_sfc_main$1r, [["__file", "color-picker.vue"]]);
23049
23026
 
23050
- ColorPicker.install = (app) => {
23051
- app.component(ColorPicker.name, ColorPicker);
23052
- };
23053
- const _ColorPicker = ColorPicker;
23054
- const ElColorPicker = _ColorPicker;
23027
+ const ElColorPicker = withInstall(ColorPicker);
23055
23028
 
23056
23029
  const messageConfig = {};
23057
23030
  const configProviderProps = buildProps({
@@ -23096,9 +23069,9 @@ const ConfigProvider = defineComponent({
23096
23069
 
23097
23070
  const ElConfigProvider = withInstall(ConfigProvider);
23098
23071
 
23099
- const __default__$T = {
23072
+ const __default__$T = defineComponent({
23100
23073
  name: "ElContainer"
23101
- };
23074
+ });
23102
23075
  const _sfc_main$1q = /* @__PURE__ */ defineComponent({
23103
23076
  ...__default__$T,
23104
23077
  props: {
@@ -23137,9 +23110,9 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
23137
23110
  });
23138
23111
  var Container = /* @__PURE__ */ _export_sfc(_sfc_main$1q, [["__file", "container.vue"]]);
23139
23112
 
23140
- const __default__$S = {
23113
+ const __default__$S = defineComponent({
23141
23114
  name: "ElAside"
23142
- };
23115
+ });
23143
23116
  const _sfc_main$1p = /* @__PURE__ */ defineComponent({
23144
23117
  ...__default__$S,
23145
23118
  props: {
@@ -23164,9 +23137,9 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
23164
23137
  });
23165
23138
  var Aside = /* @__PURE__ */ _export_sfc(_sfc_main$1p, [["__file", "aside.vue"]]);
23166
23139
 
23167
- const __default__$R = {
23140
+ const __default__$R = defineComponent({
23168
23141
  name: "ElFooter"
23169
- };
23142
+ });
23170
23143
  const _sfc_main$1o = /* @__PURE__ */ defineComponent({
23171
23144
  ...__default__$R,
23172
23145
  props: {
@@ -23191,9 +23164,9 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
23191
23164
  });
23192
23165
  var Footer$2 = /* @__PURE__ */ _export_sfc(_sfc_main$1o, [["__file", "footer.vue"]]);
23193
23166
 
23194
- const __default__$Q = {
23167
+ const __default__$Q = defineComponent({
23195
23168
  name: "ElHeader"
23196
- };
23169
+ });
23197
23170
  const _sfc_main$1n = /* @__PURE__ */ defineComponent({
23198
23171
  ...__default__$Q,
23199
23172
  props: {
@@ -23222,9 +23195,9 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
23222
23195
  });
23223
23196
  var Header$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1n, [["__file", "header.vue"]]);
23224
23197
 
23225
- const __default__$P = {
23198
+ const __default__$P = defineComponent({
23226
23199
  name: "ElMain"
23227
- };
23200
+ });
23228
23201
  const _sfc_main$1m = /* @__PURE__ */ defineComponent({
23229
23202
  ...__default__$P,
23230
23203
  setup(__props) {
@@ -24975,6 +24948,7 @@ const _hoisted_2$p = ["disabled"];
24975
24948
  const _hoisted_3$b = ["disabled"];
24976
24949
  const _hoisted_4$8 = ["disabled"];
24977
24950
  const _hoisted_5$6 = ["disabled"];
24951
+ const unit$1 = "month";
24978
24952
  const _sfc_main$1h = /* @__PURE__ */ defineComponent({
24979
24953
  __name: "panel-date-range",
24980
24954
  props: panelDateRangeProps,
@@ -24986,7 +24960,6 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
24986
24960
  ],
24987
24961
  setup(__props, { emit }) {
24988
24962
  const props = __props;
24989
- const unit = "month";
24990
24963
  const pickerBase = inject("EP_PICKER_BASE");
24991
24964
  const {
24992
24965
  disabledDate,
@@ -25000,7 +24973,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
25000
24973
  const defaultValue = toRef(pickerBase.props, "defaultValue");
25001
24974
  const { lang } = useLocale();
25002
24975
  const leftDate = ref(dayjs().locale(lang.value));
25003
- const rightDate = ref(dayjs().locale(lang.value).add(1, unit));
24976
+ const rightDate = ref(dayjs().locale(lang.value).add(1, unit$1));
25004
24977
  const {
25005
24978
  minDate,
25006
24979
  maxDate,
@@ -25016,7 +24989,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
25016
24989
  defaultValue,
25017
24990
  leftDate,
25018
24991
  rightDate,
25019
- unit,
24992
+ unit: unit$1,
25020
24993
  onParsedValueChanged
25021
24994
  });
25022
24995
  const dateUserInput = ref({
@@ -25282,9 +25255,9 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
25282
25255
  const minDateMonth = (minDate2 == null ? void 0 : minDate2.month()) || 0;
25283
25256
  const maxDateYear = maxDate2.year();
25284
25257
  const maxDateMonth = maxDate2.month();
25285
- rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit) : maxDate2;
25258
+ rightDate.value = minDateYear === maxDateYear && minDateMonth === maxDateMonth ? maxDate2.add(1, unit$1) : maxDate2;
25286
25259
  } else {
25287
- rightDate.value = leftDate.value.add(1, unit);
25260
+ rightDate.value = leftDate.value.add(1, unit$1);
25288
25261
  if (maxDate2) {
25289
25262
  rightDate.value = rightDate.value.hour(maxDate2.hour()).minute(maxDate2.minute()).second(maxDate2.second());
25290
25263
  }
@@ -25673,16 +25646,16 @@ const useMonthRangeHeader = ({
25673
25646
  const _hoisted_1$E = ["onClick"];
25674
25647
  const _hoisted_2$o = ["disabled"];
25675
25648
  const _hoisted_3$a = ["disabled"];
25676
- const __default__$O = {
25649
+ const unit = "year";
25650
+ const __default__$O = defineComponent({
25677
25651
  name: "DatePickerMonthRange"
25678
- };
25652
+ });
25679
25653
  const _sfc_main$1g = /* @__PURE__ */ defineComponent({
25680
25654
  ...__default__$O,
25681
25655
  props: panelMonthRangeProps,
25682
25656
  emits: panelMonthRangeEmits,
25683
25657
  setup(__props, { emit }) {
25684
25658
  const props = __props;
25685
- const unit = "year";
25686
25659
  const { lang } = useLocale();
25687
25660
  const pickerBase = inject("EP_PICKER_BASE");
25688
25661
  const { shortcuts, disabledDate, format } = pickerBase.props;
@@ -26058,9 +26031,9 @@ const descriptionsRowProps = buildProps({
26058
26031
  });
26059
26032
 
26060
26033
  const _hoisted_1$D = { key: 1 };
26061
- const __default__$N = {
26034
+ const __default__$N = defineComponent({
26062
26035
  name: "ElDescriptionsRow"
26063
- };
26036
+ });
26064
26037
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
26065
26038
  ...__default__$N,
26066
26039
  props: descriptionsRowProps,
@@ -26143,9 +26116,9 @@ const descriptionProps = buildProps({
26143
26116
  }
26144
26117
  });
26145
26118
 
26146
- const __default__$M = {
26119
+ const __default__$M = defineComponent({
26147
26120
  name: "ElDescriptions"
26148
- };
26121
+ });
26149
26122
  const _sfc_main$1e = /* @__PURE__ */ defineComponent({
26150
26123
  ...__default__$M,
26151
26124
  props: descriptionProps,
@@ -26388,7 +26361,7 @@ const dialogContentEmits = {
26388
26361
 
26389
26362
  const _hoisted_1$C = ["aria-label"];
26390
26363
  const _hoisted_2$n = ["id"];
26391
- const __default__$L = { name: "ElDialogContent" };
26364
+ const __default__$L = defineComponent({ name: "ElDialogContent" });
26392
26365
  const _sfc_main$1d = /* @__PURE__ */ defineComponent({
26393
26366
  ...__default__$L,
26394
26367
  props: dialogContentProps,
@@ -26692,10 +26665,10 @@ const useDialog = (props, targetRef) => {
26692
26665
  };
26693
26666
 
26694
26667
  const _hoisted_1$B = ["aria-label", "aria-labelledby", "aria-describedby"];
26695
- const __default__$K = {
26668
+ const __default__$K = defineComponent({
26696
26669
  name: "ElDialog",
26697
26670
  inheritAttrs: false
26698
- };
26671
+ });
26699
26672
  const _sfc_main$1c = /* @__PURE__ */ defineComponent({
26700
26673
  ...__default__$K,
26701
26674
  props: dialogProps,
@@ -26866,9 +26839,9 @@ const dividerProps = buildProps({
26866
26839
  }
26867
26840
  });
26868
26841
 
26869
- const __default__$J = {
26842
+ const __default__$J = defineComponent({
26870
26843
  name: "ElDivider"
26871
- };
26844
+ });
26872
26845
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
26873
26846
  ...__default__$J,
26874
26847
  props: dividerProps,
@@ -27077,18 +27050,18 @@ var Drawer = /* @__PURE__ */ _export_sfc(_sfc_main$1a, [["render", _sfc_render$r
27077
27050
 
27078
27051
  const ElDrawer = withInstall(Drawer);
27079
27052
 
27080
- const _sfc_main$19 = {
27053
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
27081
27054
  inheritAttrs: false
27082
- };
27055
+ });
27083
27056
  function _sfc_render$q(_ctx, _cache, $props, $setup, $data, $options) {
27084
27057
  return renderSlot(_ctx.$slots, "default");
27085
27058
  }
27086
27059
  var Collection = /* @__PURE__ */ _export_sfc(_sfc_main$19, [["render", _sfc_render$q], ["__file", "collection.vue"]]);
27087
27060
 
27088
- const _sfc_main$18 = {
27061
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
27089
27062
  name: "ElCollectionItem",
27090
27063
  inheritAttrs: false
27091
- };
27064
+ });
27092
27065
  function _sfc_render$p(_ctx, _cache, $props, $setup, $data, $options) {
27093
27066
  return renderSlot(_ctx.$slots, "default");
27094
27067
  }
@@ -28271,9 +28244,9 @@ const emptyProps = {
28271
28244
 
28272
28245
  const _hoisted_1$w = ["src"];
28273
28246
  const _hoisted_2$k = { key: 1 };
28274
- const __default__$I = {
28247
+ const __default__$I = defineComponent({
28275
28248
  name: "ElEmpty"
28276
- };
28249
+ });
28277
28250
  const _sfc_main$$ = /* @__PURE__ */ defineComponent({
28278
28251
  ...__default__$I,
28279
28252
  props: emptyProps,
@@ -28406,9 +28379,10 @@ const filterFields = (fields, props) => {
28406
28379
  return normalized.length > 0 ? fields.filter((field) => field.prop && normalized.includes(field.prop)) : fields;
28407
28380
  };
28408
28381
 
28409
- const __default__$H = {
28410
- name: "ElForm"
28411
- };
28382
+ const COMPONENT_NAME$e = "ElForm";
28383
+ const __default__$H = defineComponent({
28384
+ name: COMPONENT_NAME$e
28385
+ });
28412
28386
  const _sfc_main$_ = /* @__PURE__ */ defineComponent({
28413
28387
  ...__default__$H,
28414
28388
  props: formProps,
@@ -29629,9 +29603,9 @@ const formItemProps = buildProps({
29629
29603
  }
29630
29604
  });
29631
29605
 
29632
- const COMPONENT_NAME$9 = "ElLabelWrap";
29606
+ const COMPONENT_NAME$d = "ElLabelWrap";
29633
29607
  var FormLabelWrap = defineComponent({
29634
- name: COMPONENT_NAME$9,
29608
+ name: COMPONENT_NAME$d,
29635
29609
  props: {
29636
29610
  isAutoWidth: Boolean,
29637
29611
  updateAll: Boolean
@@ -29642,7 +29616,7 @@ var FormLabelWrap = defineComponent({
29642
29616
  const formContext = inject(formContextKey, void 0);
29643
29617
  const formItemContext = inject(formItemContextKey);
29644
29618
  if (!formItemContext)
29645
- throwError(COMPONENT_NAME$9, "usage: <el-form-item><label-wrap /></el-form-item>");
29619
+ throwError(COMPONENT_NAME$d, "usage: <el-form-item><label-wrap /></el-form-item>");
29646
29620
  const ns = useNamespace("form");
29647
29621
  const el = ref();
29648
29622
  const computedWidth = ref(0);
@@ -29715,9 +29689,9 @@ var FormLabelWrap = defineComponent({
29715
29689
  });
29716
29690
 
29717
29691
  const _hoisted_1$v = ["role", "aria-labelledby"];
29718
- const __default__$G = {
29692
+ const __default__$G = defineComponent({
29719
29693
  name: "ElFormItem"
29720
- };
29694
+ });
29721
29695
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
29722
29696
  ...__default__$G,
29723
29697
  props: formItemProps,
@@ -30055,9 +30029,9 @@ const imageViewerEmits = {
30055
30029
  };
30056
30030
 
30057
30031
  const _hoisted_1$u = ["src"];
30058
- const __default__$F = {
30032
+ const __default__$F = defineComponent({
30059
30033
  name: "ElImageViewer"
30060
- };
30034
+ });
30061
30035
  const _sfc_main$Y = /* @__PURE__ */ defineComponent({
30062
30036
  ...__default__$F,
30063
30037
  props: imageViewerProps,
@@ -30504,10 +30478,10 @@ const imageEmits = {
30504
30478
 
30505
30479
  const _hoisted_1$t = ["src", "loading"];
30506
30480
  const _hoisted_2$j = { key: 0 };
30507
- const __default__$E = {
30481
+ const __default__$E = defineComponent({
30508
30482
  name: "ElImage",
30509
30483
  inheritAttrs: false
30510
- };
30484
+ });
30511
30485
  const _sfc_main$X = /* @__PURE__ */ defineComponent({
30512
30486
  ...__default__$E,
30513
30487
  props: imageProps,
@@ -30770,9 +30744,9 @@ const inputNumberEmits = {
30770
30744
 
30771
30745
  const _hoisted_1$s = ["aria-label", "onKeydown"];
30772
30746
  const _hoisted_2$i = ["aria-label", "onKeydown"];
30773
- const __default__$D = {
30747
+ const __default__$D = defineComponent({
30774
30748
  name: "ElInputNumber"
30775
- };
30749
+ });
30776
30750
  const _sfc_main$W = /* @__PURE__ */ defineComponent({
30777
30751
  ...__default__$D,
30778
30752
  props: inputNumberProps,
@@ -30802,7 +30776,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
30802
30776
  return props.controls && props.controlsPosition === "right";
30803
30777
  });
30804
30778
  const inputNumberSize = useSize();
30805
- const inputNumberDisabled = useDisabled$1();
30779
+ const inputNumberDisabled = useDisabled();
30806
30780
  const displayValue = computed$1(() => {
30807
30781
  if (data.userInput !== null) {
30808
30782
  return data.userInput;
@@ -31071,9 +31045,9 @@ const linkEmits = {
31071
31045
  };
31072
31046
 
31073
31047
  const _hoisted_1$r = ["href"];
31074
- const __default__$C = {
31048
+ const __default__$C = defineComponent({
31075
31049
  name: "ElLink"
31076
- };
31050
+ });
31077
31051
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
31078
31052
  ...__default__$C,
31079
31053
  props: linkProps,
@@ -31382,9 +31356,9 @@ const subMenuProps = buildProps({
31382
31356
  type: iconPropType
31383
31357
  }
31384
31358
  });
31385
- const COMPONENT_NAME$8 = "ElSubMenu";
31359
+ const COMPONENT_NAME$c = "ElSubMenu";
31386
31360
  var SubMenu = defineComponent({
31387
- name: COMPONENT_NAME$8,
31361
+ name: COMPONENT_NAME$c,
31388
31362
  props: subMenuProps,
31389
31363
  setup(props, { slots, expose }) {
31390
31364
  const instance = getCurrentInstance();
@@ -31393,10 +31367,10 @@ var SubMenu = defineComponent({
31393
31367
  const nsSubMenu = useNamespace("sub-menu");
31394
31368
  const rootMenu = inject("rootMenu");
31395
31369
  if (!rootMenu)
31396
- throwError(COMPONENT_NAME$8, "can not inject root menu");
31370
+ throwError(COMPONENT_NAME$c, "can not inject root menu");
31397
31371
  const subMenu = inject(`subMenu:${parentMenu.value.uid}`);
31398
31372
  if (!subMenu)
31399
- throwError(COMPONENT_NAME$8, "can not inject sub menu");
31373
+ throwError(COMPONENT_NAME$c, "can not inject sub menu");
31400
31374
  const items = ref({});
31401
31375
  const subMenus = ref({});
31402
31376
  let timeout;
@@ -31926,9 +31900,9 @@ const menuItemEmits = {
31926
31900
  click: (item) => isString(item.index) && Array.isArray(item.indexPath)
31927
31901
  };
31928
31902
 
31929
- const COMPONENT_NAME$7 = "ElMenuItem";
31903
+ const COMPONENT_NAME$b = "ElMenuItem";
31930
31904
  const _sfc_main$T = defineComponent({
31931
- name: COMPONENT_NAME$7,
31905
+ name: COMPONENT_NAME$b,
31932
31906
  components: {
31933
31907
  ElTooltip
31934
31908
  },
@@ -31940,11 +31914,11 @@ const _sfc_main$T = defineComponent({
31940
31914
  const nsMenu = useNamespace("menu");
31941
31915
  const nsMenuItem = useNamespace("menu-item");
31942
31916
  if (!rootMenu)
31943
- throwError(COMPONENT_NAME$7, "can not inject root menu");
31917
+ throwError(COMPONENT_NAME$b, "can not inject root menu");
31944
31918
  const { parentMenu, indexPath } = useMenu(instance, toRef(props, "index"));
31945
31919
  const subMenu = inject(`subMenu:${parentMenu.value.uid}`);
31946
31920
  if (!subMenu)
31947
- throwError(COMPONENT_NAME$7, "can not inject sub menu");
31921
+ throwError(COMPONENT_NAME$b, "can not inject sub menu");
31948
31922
  const active = computed$1(() => props.index === rootMenu.activeIndex);
31949
31923
  const item = reactive({
31950
31924
  index: props.index,
@@ -32022,9 +31996,9 @@ const menuItemGroupProps = {
32022
31996
  title: String
32023
31997
  };
32024
31998
 
32025
- const COMPONENT_NAME$6 = "ElMenuItemGroup";
31999
+ const COMPONENT_NAME$a = "ElMenuItemGroup";
32026
32000
  const _sfc_main$S = defineComponent({
32027
- name: COMPONENT_NAME$6,
32001
+ name: COMPONENT_NAME$a,
32028
32002
  props: menuItemGroupProps,
32029
32003
  setup() {
32030
32004
  const ns = useNamespace("menu-item-group");
@@ -32076,9 +32050,9 @@ const pageHeaderEmits = {
32076
32050
  };
32077
32051
 
32078
32052
  const _hoisted_1$q = ["aria-label"];
32079
- const __default__$B = {
32053
+ const __default__$B = defineComponent({
32080
32054
  name: "ElPageHeader"
32081
- };
32055
+ });
32082
32056
  const _sfc_main$R = /* @__PURE__ */ defineComponent({
32083
32057
  ...__default__$B,
32084
32058
  props: pageHeaderProps,
@@ -32192,9 +32166,9 @@ const paginationPrevEmits = {
32192
32166
 
32193
32167
  const _hoisted_1$p = ["disabled", "aria-disabled"];
32194
32168
  const _hoisted_2$h = { key: 0 };
32195
- const __default__$A = {
32169
+ const __default__$A = defineComponent({
32196
32170
  name: "ElPaginationPrev"
32197
- };
32171
+ });
32198
32172
  const _sfc_main$Q = /* @__PURE__ */ defineComponent({
32199
32173
  ...__default__$A,
32200
32174
  props: paginationPrevProps,
@@ -32242,9 +32216,9 @@ const paginationNextProps = buildProps({
32242
32216
 
32243
32217
  const _hoisted_1$o = ["disabled", "aria-disabled"];
32244
32218
  const _hoisted_2$g = { key: 0 };
32245
- const __default__$z = {
32219
+ const __default__$z = defineComponent({
32246
32220
  name: "ElPaginationNext"
32247
- };
32221
+ });
32248
32222
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
32249
32223
  ...__default__$z,
32250
32224
  props: paginationNextProps,
@@ -33157,10 +33131,10 @@ const useSelect$3 = (props, states, ctx) => {
33157
33131
  };
33158
33132
  };
33159
33133
 
33160
- const COMPONENT_NAME$5 = "ElSelect";
33134
+ const COMPONENT_NAME$9 = "ElSelect";
33161
33135
  const _sfc_main$M = defineComponent({
33162
- name: COMPONENT_NAME$5,
33163
- componentName: COMPONENT_NAME$5,
33136
+ name: COMPONENT_NAME$9,
33137
+ componentName: COMPONENT_NAME$9,
33164
33138
  components: {
33165
33139
  ElInput,
33166
33140
  ElSelectMenu: ElSelectMenu$1,
@@ -33883,9 +33857,9 @@ const paginationSizesProps = buildProps({
33883
33857
  }
33884
33858
  });
33885
33859
 
33886
- const __default__$y = {
33860
+ const __default__$y = defineComponent({
33887
33861
  name: "ElPaginationSizes"
33888
- };
33862
+ });
33889
33863
  const _sfc_main$K = /* @__PURE__ */ defineComponent({
33890
33864
  ...__default__$y,
33891
33865
  props: paginationSizesProps,
@@ -33945,9 +33919,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
33945
33919
  var Sizes = /* @__PURE__ */ _export_sfc(_sfc_main$K, [["__file", "sizes.vue"]]);
33946
33920
 
33947
33921
  const _hoisted_1$m = ["disabled"];
33948
- const __default__$x = {
33922
+ const __default__$x = defineComponent({
33949
33923
  name: "ElPaginationJumper"
33950
- };
33924
+ });
33951
33925
  const _sfc_main$J = /* @__PURE__ */ defineComponent({
33952
33926
  ...__default__$x,
33953
33927
  setup(__props) {
@@ -34000,9 +33974,9 @@ const paginationTotalProps = buildProps({
34000
33974
  });
34001
33975
 
34002
33976
  const _hoisted_1$l = ["disabled"];
34003
- const __default__$w = {
33977
+ const __default__$w = defineComponent({
34004
33978
  name: "ElPaginationTotal"
34005
- };
33979
+ });
34006
33980
  const _sfc_main$I = /* @__PURE__ */ defineComponent({
34007
33981
  ...__default__$w,
34008
33982
  props: paginationTotalProps,
@@ -34044,9 +34018,9 @@ const _hoisted_3$7 = ["tabindex"];
34044
34018
  const _hoisted_4$5 = ["aria-current", "tabindex"];
34045
34019
  const _hoisted_5$4 = ["tabindex"];
34046
34020
  const _hoisted_6$1 = ["aria-current", "tabindex"];
34047
- const __default__$v = {
34021
+ const __default__$v = defineComponent({
34048
34022
  name: "ElPaginationPager"
34049
- };
34023
+ });
34050
34024
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
34051
34025
  ...__default__$v,
34052
34026
  props: paginationPagerProps,
@@ -34540,9 +34514,9 @@ const popconfirmProps = buildProps({
34540
34514
  }
34541
34515
  });
34542
34516
 
34543
- const __default__$u = {
34517
+ const __default__$u = defineComponent({
34544
34518
  name: "ElPopconfirm"
34545
- };
34519
+ });
34546
34520
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
34547
34521
  ...__default__$u,
34548
34522
  props: popconfirmProps,
@@ -34706,16 +34680,16 @@ const popoverEmits = {
34706
34680
  "after-leave": () => true
34707
34681
  };
34708
34682
 
34709
- const __default__$t = {
34683
+ const updateEventKeyRaw = `onUpdate:visible`;
34684
+ const __default__$t = defineComponent({
34710
34685
  name: "ElPopover"
34711
- };
34686
+ });
34712
34687
  const _sfc_main$F = /* @__PURE__ */ defineComponent({
34713
34688
  ...__default__$t,
34714
34689
  props: popoverProps,
34715
34690
  emits: popoverEmits,
34716
34691
  setup(__props, { expose, emit }) {
34717
34692
  const props = __props;
34718
- const updateEventKeyRaw = `onUpdate:visible`;
34719
34693
  const onUpdateVisible = computed$1(() => {
34720
34694
  return props[updateEventKeyRaw];
34721
34695
  });
@@ -34897,9 +34871,9 @@ const _hoisted_2$d = { viewBox: "0 0 100 100" };
34897
34871
  const _hoisted_3$6 = ["d", "stroke", "stroke-width"];
34898
34872
  const _hoisted_4$4 = ["d", "stroke", "opacity", "stroke-linecap", "stroke-width"];
34899
34873
  const _hoisted_5$3 = { key: 0 };
34900
- const __default__$s = {
34874
+ const __default__$s = defineComponent({
34901
34875
  name: "ElProgress"
34902
- };
34876
+ });
34903
34877
  const _sfc_main$E = /* @__PURE__ */ defineComponent({
34904
34878
  ...__default__$s,
34905
34879
  props: progressProps,
@@ -35181,9 +35155,9 @@ const rateEmits = {
35181
35155
 
35182
35156
  const _hoisted_1$i = ["id", "aria-label", "aria-labelledby", "aria-valuenow", "aria-valuetext", "aria-valuemax"];
35183
35157
  const _hoisted_2$c = ["onMousemove", "onClick"];
35184
- const __default__$r = {
35158
+ const __default__$r = defineComponent({
35185
35159
  name: "ElRate"
35186
- };
35160
+ });
35187
35161
  const _sfc_main$D = /* @__PURE__ */ defineComponent({
35188
35162
  ...__default__$r,
35189
35163
  props: rateProps,
@@ -35450,9 +35424,9 @@ const resultProps = buildProps({
35450
35424
  }
35451
35425
  });
35452
35426
 
35453
- const __default__$q = {
35427
+ const __default__$q = defineComponent({
35454
35428
  name: "ElResult"
35455
- };
35429
+ });
35456
35430
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
35457
35431
  ...__default__$q,
35458
35432
  props: resultProps,
@@ -35542,9 +35516,9 @@ const rowProps = buildProps({
35542
35516
  }
35543
35517
  });
35544
35518
 
35545
- const __default__$p = {
35519
+ const __default__$p = defineComponent({
35546
35520
  name: "ElRow"
35547
- };
35521
+ });
35548
35522
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
35549
35523
  ...__default__$p,
35550
35524
  props: rowProps,
@@ -35793,7 +35767,10 @@ const virtualizedGridProps = buildProps({
35793
35767
  initScrollTop: initScrollOffset,
35794
35768
  itemKey: {
35795
35769
  type: definePropType(Function),
35796
- default: ({ columnIndex, rowIndex }) => `${rowIndex}:${columnIndex}`
35770
+ default: ({
35771
+ columnIndex,
35772
+ rowIndex
35773
+ }) => `${rowIndex}:${columnIndex}`
35797
35774
  },
35798
35775
  rowCache: cache,
35799
35776
  rowHeight: itemSize,
@@ -38975,9 +38952,9 @@ const skeletonItemProps = buildProps({
38975
38952
  }
38976
38953
  });
38977
38954
 
38978
- const __default__$o = {
38955
+ const __default__$o = defineComponent({
38979
38956
  name: "ElSkeletonItem"
38980
- };
38957
+ });
38981
38958
  const _sfc_main$x = /* @__PURE__ */ defineComponent({
38982
38959
  ...__default__$o,
38983
38960
  props: skeletonItemProps,
@@ -38994,9 +38971,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
38994
38971
  });
38995
38972
  var SkeletonItem = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__file", "skeleton-item.vue"]]);
38996
38973
 
38997
- const __default__$n = {
38974
+ const __default__$n = defineComponent({
38998
38975
  name: "ElSkeleton"
38999
- };
38976
+ });
39000
38977
  const _sfc_main$w = /* @__PURE__ */ defineComponent({
39001
38978
  ...__default__$n,
39002
38979
  props: skeletonProps,
@@ -39648,9 +39625,9 @@ const sliderButtonEmits = {
39648
39625
  };
39649
39626
 
39650
39627
  const _hoisted_1$f = ["tabindex"];
39651
- const __default__$m = {
39628
+ const __default__$m = defineComponent({
39652
39629
  name: "ElSliderButton"
39653
- };
39630
+ });
39654
39631
  const _sfc_main$v = /* @__PURE__ */ defineComponent({
39655
39632
  ...__default__$m,
39656
39633
  props: sliderButtonProps,
@@ -39758,9 +39735,9 @@ var SliderMarker = defineComponent({
39758
39735
 
39759
39736
  const _hoisted_1$e = ["id", "role", "aria-label", "aria-labelledby"];
39760
39737
  const _hoisted_2$a = { key: 1 };
39761
- const __default__$l = {
39738
+ const __default__$l = defineComponent({
39762
39739
  name: "ElSlider"
39763
- };
39740
+ });
39764
39741
  const _sfc_main$u = /* @__PURE__ */ defineComponent({
39765
39742
  ...__default__$l,
39766
39743
  props: sliderProps,
@@ -40202,9 +40179,9 @@ const stepsEmits = {
40202
40179
  [CHANGE_EVENT]: (newVal, oldVal) => [newVal, oldVal].every(isNumber)
40203
40180
  };
40204
40181
 
40205
- const __default__$k = {
40182
+ const __default__$k = defineComponent({
40206
40183
  name: "ElSteps"
40207
- };
40184
+ });
40208
40185
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
40209
40186
  ...__default__$k,
40210
40187
  props: stepsProps,
@@ -40252,9 +40229,9 @@ const stepProps = buildProps({
40252
40229
  }
40253
40230
  });
40254
40231
 
40255
- const __default__$j = {
40232
+ const __default__$j = defineComponent({
40256
40233
  name: "ElStep"
40257
- };
40234
+ });
40258
40235
  const _sfc_main$s = defineComponent({
40259
40236
  ...__default__$j,
40260
40237
  props: stepProps,
@@ -40534,16 +40511,16 @@ const _hoisted_3$4 = ["aria-hidden"];
40534
40511
  const _hoisted_4$2 = ["aria-hidden"];
40535
40512
  const _hoisted_5$1 = ["aria-hidden"];
40536
40513
  const _hoisted_6 = ["aria-hidden"];
40537
- const __default__$i = {
40538
- name: "ElSwitch"
40539
- };
40514
+ const COMPONENT_NAME$8 = "ElSwitch";
40515
+ const __default__$i = defineComponent({
40516
+ name: COMPONENT_NAME$8
40517
+ });
40540
40518
  const _sfc_main$r = /* @__PURE__ */ defineComponent({
40541
40519
  ...__default__$i,
40542
40520
  props: switchProps,
40543
40521
  emits: switchEmits,
40544
40522
  setup(__props, { expose, emit }) {
40545
40523
  const props = __props;
40546
- const COMPONENT_NAME = "ElSwitch";
40547
40524
  const vm = getCurrentInstance();
40548
40525
  const { formItem } = useFormItem();
40549
40526
  const switchSize = useSize();
@@ -40551,7 +40528,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40551
40528
  useDeprecated({
40552
40529
  from: '"value"',
40553
40530
  replacement: '"model-value" or "v-model"',
40554
- scope: COMPONENT_NAME,
40531
+ scope: COMPONENT_NAME$8,
40555
40532
  version: "2.3.0",
40556
40533
  ref: "https://element-plus.org/en-US/component/switch.html#attributes",
40557
40534
  type: "Attribute"
@@ -40562,7 +40539,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40562
40539
  const { inputId } = useFormItemInputId(props, {
40563
40540
  formItemContext: formItem
40564
40541
  });
40565
- const switchDisabled = useDisabled$1(computed$1(() => props.loading));
40542
+ const switchDisabled = useDisabled(computed$1(() => props.loading));
40566
40543
  const isControlled = ref(props.modelValue !== false);
40567
40544
  const input = ref();
40568
40545
  const core = ref();
@@ -40620,7 +40597,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
40620
40597
  isBoolean(shouldChange)
40621
40598
  ].includes(true);
40622
40599
  if (!isPromiseOrBool) {
40623
- throwError(COMPONENT_NAME, "beforeChange must return type `Promise<boolean>` or `boolean`");
40600
+ throwError(COMPONENT_NAME$8, "beforeChange must return type `Promise<boolean>` or `boolean`");
40624
40601
  }
40625
40602
  if (isPromise(shouldChange)) {
40626
40603
  shouldChange.then((result) => {
@@ -46072,9 +46049,9 @@ const TableV2HeaderRow = defineComponent({
46072
46049
  });
46073
46050
  var HeaderRow = TableV2HeaderRow;
46074
46051
 
46075
- const COMPONENT_NAME$4 = "ElTableV2Header";
46052
+ const COMPONENT_NAME$7 = "ElTableV2Header";
46076
46053
  const TableV2Header = defineComponent({
46077
- name: COMPONENT_NAME$4,
46054
+ name: COMPONENT_NAME$7,
46078
46055
  props: tableV2HeaderProps,
46079
46056
  setup(props, {
46080
46057
  slots,
@@ -46270,9 +46247,9 @@ const useTableRow = (props) => {
46270
46247
  onExpand
46271
46248
  };
46272
46249
  };
46273
- const COMPONENT_NAME$3 = "ElTableV2TableRow";
46250
+ const COMPONENT_NAME$6 = "ElTableV2TableRow";
46274
46251
  const TableV2Row = defineComponent({
46275
- name: COMPONENT_NAME$3,
46252
+ name: COMPONENT_NAME$6,
46276
46253
  props: tableV2RowProps,
46277
46254
  setup(props, {
46278
46255
  expose,
@@ -46390,7 +46367,7 @@ const ExpandIcon = (props) => {
46390
46367
  };
46391
46368
  var ExpandIcon$1 = ExpandIcon;
46392
46369
 
46393
- const COMPONENT_NAME$2 = "ElTableV2Grid";
46370
+ const COMPONENT_NAME$5 = "ElTableV2Grid";
46394
46371
  const useTableGrid = (props) => {
46395
46372
  const headerRef = ref();
46396
46373
  const bodyRef = ref();
@@ -46493,7 +46470,7 @@ const useTableGrid = (props) => {
46493
46470
  };
46494
46471
  };
46495
46472
  const TableGrid = defineComponent({
46496
- name: COMPONENT_NAME$2,
46473
+ name: COMPONENT_NAME$5,
46497
46474
  props: tableV2GridProps,
46498
46475
  setup(props, {
46499
46476
  slots,
@@ -46941,9 +46918,9 @@ Overlay.displayName = "ElTableV2Overlay";
46941
46918
  function _isSlot(s) {
46942
46919
  return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !isVNode(s);
46943
46920
  }
46944
- const COMPONENT_NAME$1 = "ElTableV2";
46921
+ const COMPONENT_NAME$4 = "ElTableV2";
46945
46922
  const TableV2 = defineComponent({
46946
- name: COMPONENT_NAME$1,
46923
+ name: COMPONENT_NAME$4,
46947
46924
  props: tableV2Props,
46948
46925
  setup(props, {
46949
46926
  slots,
@@ -47246,19 +47223,19 @@ const tabBarProps = buildProps({
47246
47223
  }
47247
47224
  });
47248
47225
 
47249
- const __default__$h = {
47250
- name: "ElTabBar"
47251
- };
47226
+ const COMPONENT_NAME$3 = "ElTabBar";
47227
+ const __default__$h = defineComponent({
47228
+ name: COMPONENT_NAME$3
47229
+ });
47252
47230
  const _sfc_main$o = /* @__PURE__ */ defineComponent({
47253
47231
  ...__default__$h,
47254
47232
  props: tabBarProps,
47255
47233
  setup(__props, { expose }) {
47256
47234
  const props = __props;
47257
- const COMPONENT_NAME = "ElTabBar";
47258
47235
  const instance = getCurrentInstance();
47259
47236
  const rootTabs = inject(tabsRootContextKey);
47260
47237
  if (!rootTabs)
47261
- throwError(COMPONENT_NAME, "<el-tabs><el-tab-bar /></el-tabs>");
47238
+ throwError(COMPONENT_NAME$3, "<el-tabs><el-tab-bar /></el-tabs>");
47262
47239
  const ns = useNamespace("tabs");
47263
47240
  const barRef = ref();
47264
47241
  const barStyle = ref();
@@ -47335,9 +47312,9 @@ const tabNavEmits = {
47335
47312
  tabClick: (tab, tabName, ev) => ev instanceof Event,
47336
47313
  tabRemove: (tab, ev) => ev instanceof Event
47337
47314
  };
47338
- const COMPONENT_NAME = "ElTabNav";
47315
+ const COMPONENT_NAME$2 = "ElTabNav";
47339
47316
  const TabNav = defineComponent({
47340
- name: COMPONENT_NAME,
47317
+ name: COMPONENT_NAME$2,
47341
47318
  props: tabNavProps,
47342
47319
  emits: tabNavEmits,
47343
47320
  setup(props, {
@@ -47347,7 +47324,7 @@ const TabNav = defineComponent({
47347
47324
  const vm = getCurrentInstance();
47348
47325
  const rootTabs = inject(tabsRootContextKey);
47349
47326
  if (!rootTabs)
47350
- throwError(COMPONENT_NAME, `<el-tabs><tab-nav /></el-tabs>`);
47327
+ throwError(COMPONENT_NAME$2, `<el-tabs><tab-nav /></el-tabs>`);
47351
47328
  const ns = useNamespace("tabs");
47352
47329
  const visibility = useDocumentVisibility();
47353
47330
  const focused = useWindowFocus();
@@ -47567,6 +47544,19 @@ const TabNav = defineComponent({
47567
47544
  }
47568
47545
  });
47569
47546
 
47547
+ const getTabPanes = (vm) => {
47548
+ const nodes = flattedChildren(vm.subTree);
47549
+ return nodes.filter((n) => {
47550
+ var _a;
47551
+ return isVNode(n) && ((_a = n.type) == null ? void 0 : _a.name) === "ElTabPane" && !!n.component;
47552
+ });
47553
+ };
47554
+ const getOrderedPanes = (vm, panes) => {
47555
+ const nodes = getTabPanes(vm);
47556
+ const uids = nodes.map((n) => n.component.uid);
47557
+ return uids.map((uid) => panes[uid]).filter((p) => !!p);
47558
+ };
47559
+
47570
47560
  const tabsProps = buildProps({
47571
47561
  type: {
47572
47562
  type: String,
@@ -47612,9 +47602,11 @@ var Tabs = defineComponent({
47612
47602
  expose
47613
47603
  }) {
47614
47604
  var _a, _b;
47605
+ const vm = getCurrentInstance();
47615
47606
  const ns = useNamespace("tabs");
47616
47607
  const nav$ = ref();
47617
- const panes = reactive({});
47608
+ const panes = shallowReactive({});
47609
+ const orderedPanes = shallowRef([]);
47618
47610
  const currentName = ref((_b = (_a = props.modelValue) != null ? _a : props.activeName) != null ? _b : "0");
47619
47611
  const changeCurrentName = (value) => {
47620
47612
  currentName.value = value;
@@ -47667,8 +47659,14 @@ var Tabs = defineComponent({
47667
47659
  (_a2 = nav$.value) == null ? void 0 : _a2.scrollToActiveTab();
47668
47660
  });
47669
47661
  {
47670
- const registerPane = (pane) => panes[pane.uid] = pane;
47671
- const unregisterPane = (uid) => delete panes[uid];
47662
+ const registerPane = (pane) => {
47663
+ panes[pane.uid] = pane;
47664
+ orderedPanes.value = getOrderedPanes(vm, panes);
47665
+ };
47666
+ const unregisterPane = (uid) => {
47667
+ delete panes[uid];
47668
+ orderedPanes.value = getOrderedPanes(vm, panes);
47669
+ };
47672
47670
  provide(tabsRootContextKey, {
47673
47671
  props,
47674
47672
  currentName,
@@ -47700,7 +47698,7 @@ var Tabs = defineComponent({
47700
47698
  "currentName": currentName.value,
47701
47699
  "editable": props.editable,
47702
47700
  "type": props.type,
47703
- "panes": Object.values(panes),
47701
+ "panes": orderedPanes.value,
47704
47702
  "stretch": props.stretch,
47705
47703
  "onTabClick": handleTabClick,
47706
47704
  "onTabRemove": handleTabRemove
@@ -47732,20 +47730,20 @@ const tabPaneProps = buildProps({
47732
47730
  });
47733
47731
 
47734
47732
  const _hoisted_1$a = ["id", "aria-hidden", "aria-labelledby"];
47735
- const __default__$g = {
47736
- name: "ElTabPane"
47737
- };
47733
+ const COMPONENT_NAME$1 = "ElTabPane";
47734
+ const __default__$g = defineComponent({
47735
+ name: COMPONENT_NAME$1
47736
+ });
47738
47737
  const _sfc_main$n = /* @__PURE__ */ defineComponent({
47739
47738
  ...__default__$g,
47740
47739
  props: tabPaneProps,
47741
47740
  setup(__props) {
47742
47741
  const props = __props;
47743
- const COMPONENT_NAME = "ElTabPane";
47744
47742
  const instance = getCurrentInstance();
47745
47743
  const slots = useSlots();
47746
47744
  const tabsRoot = inject(tabsRootContextKey);
47747
47745
  if (!tabsRoot)
47748
- throwError(COMPONENT_NAME, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
47746
+ throwError(COMPONENT_NAME$1, "usage: <el-tabs><el-tab-pane /></el-tabs/>");
47749
47747
  const ns = useNamespace("tab-pane");
47750
47748
  const index = ref();
47751
47749
  const isClosable = computed$1(() => props.closable || tabsRoot.props.closable);
@@ -47903,9 +47901,9 @@ const nextTime = (time, step) => {
47903
47901
  return formatTime(next);
47904
47902
  };
47905
47903
 
47906
- const __default__$f = {
47904
+ const __default__$f = defineComponent({
47907
47905
  name: "ElTimeSelect"
47908
- };
47906
+ });
47909
47907
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
47910
47908
  ...__default__$f,
47911
47909
  props: timeSelectProps,
@@ -47916,7 +47914,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
47916
47914
  const { Option: ElOption } = ElSelect;
47917
47915
  const nsInput = useNamespace("input");
47918
47916
  const select = ref();
47919
- const _disabled = useDisabled$1();
47917
+ const _disabled = useDisabled();
47920
47918
  const value = computed$1(() => props.modelValue);
47921
47919
  const start = computed$1(() => {
47922
47920
  const time = parseTime(props.start);
@@ -48071,9 +48069,9 @@ const timelineItemProps = buildProps({
48071
48069
  }
48072
48070
  });
48073
48071
 
48074
- const __default__$e = {
48072
+ const __default__$e = defineComponent({
48075
48073
  name: "ElTimelineItem"
48076
- };
48074
+ });
48077
48075
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
48078
48076
  ...__default__$e,
48079
48077
  props: timelineItemProps,
@@ -48274,9 +48272,9 @@ const tooltipV2Props = buildProps({
48274
48272
  }
48275
48273
  });
48276
48274
 
48277
- const __default__$d = {
48275
+ const __default__$d = defineComponent({
48278
48276
  name: "ElTooltipV2Root"
48279
- };
48277
+ });
48280
48278
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
48281
48279
  ...__default__$d,
48282
48280
  props: tooltipV2RootProps,
@@ -48347,9 +48345,9 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
48347
48345
  });
48348
48346
  var TooltipV2Root = /* @__PURE__ */ _export_sfc(_sfc_main$k, [["__file", "root.vue"]]);
48349
48347
 
48350
- const __default__$c = {
48348
+ const __default__$c = defineComponent({
48351
48349
  name: "ElTooltipV2Arrow"
48352
- };
48350
+ });
48353
48351
  const _sfc_main$j = /* @__PURE__ */ defineComponent({
48354
48352
  ...__default__$c,
48355
48353
  props: {
@@ -48390,9 +48388,9 @@ const visualHiddenProps = buildProps({
48390
48388
  }
48391
48389
  });
48392
48390
 
48393
- const __default__$b = {
48391
+ const __default__$b = defineComponent({
48394
48392
  name: "ElVisuallyHidden"
48395
- };
48393
+ });
48396
48394
  const _sfc_main$i = /* @__PURE__ */ defineComponent({
48397
48395
  ...__default__$b,
48398
48396
  props: visualHiddenProps,
@@ -48425,9 +48423,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
48425
48423
  var ElVisuallyHidden = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__file", "visual-hidden.vue"]]);
48426
48424
 
48427
48425
  const _hoisted_1$9 = ["data-side"];
48428
- const __default__$a = {
48426
+ const __default__$a = defineComponent({
48429
48427
  name: "ElTooltipV2Content"
48430
- };
48428
+ });
48431
48429
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
48432
48430
  ...__default__$a,
48433
48431
  props: { ...tooltipV2ContentProps, ...tooltipV2CommonProps },
@@ -48557,9 +48555,9 @@ var ForwardRef = defineComponent({
48557
48555
  }
48558
48556
  });
48559
48557
 
48560
- const __default__$9 = {
48558
+ const __default__$9 = defineComponent({
48561
48559
  name: "ElTooltipV2Trigger"
48562
- };
48560
+ });
48563
48561
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
48564
48562
  ...__default__$9,
48565
48563
  props: {
@@ -48640,9 +48638,9 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
48640
48638
  });
48641
48639
  var TooltipV2Trigger = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__file", "trigger.vue"]]);
48642
48640
 
48643
- const __default__$8 = {
48641
+ const __default__$8 = defineComponent({
48644
48642
  name: "ElTooltipV2"
48645
- };
48643
+ });
48646
48644
  const _sfc_main$f = /* @__PURE__ */ defineComponent({
48647
48645
  ...__default__$8,
48648
48646
  props: tooltipV2Props,
@@ -48961,9 +48959,9 @@ const useMove = (props, checkedState, emit) => {
48961
48959
  };
48962
48960
  };
48963
48961
 
48964
- const __default__$7 = {
48962
+ const __default__$7 = defineComponent({
48965
48963
  name: "ElTransferPanel"
48966
- };
48964
+ });
48967
48965
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
48968
48966
  ...__default__$7,
48969
48967
  props: transferPanelProps,
@@ -49082,9 +49080,9 @@ var TransferPanel = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__file", "transf
49082
49080
 
49083
49081
  const _hoisted_1$8 = { key: 0 };
49084
49082
  const _hoisted_2$6 = { key: 0 };
49085
- const __default__$6 = {
49083
+ const __default__$6 = defineComponent({
49086
49084
  name: "ElTransfer"
49087
- };
49085
+ });
49088
49086
  const _sfc_main$d = /* @__PURE__ */ defineComponent({
49089
49087
  ...__default__$6,
49090
49088
  props: transferProps,
@@ -52198,9 +52196,9 @@ const _hoisted_2$4 = ["src"];
52198
52196
  const _hoisted_3$2 = ["onClick"];
52199
52197
  const _hoisted_4$1 = ["onClick"];
52200
52198
  const _hoisted_5 = ["onClick"];
52201
- const __default__$5 = {
52199
+ const __default__$5 = defineComponent({
52202
52200
  name: "ElUploadList"
52203
- };
52201
+ });
52204
52202
  const _sfc_main$6 = /* @__PURE__ */ defineComponent({
52205
52203
  ...__default__$5,
52206
52204
  props: uploadListProps,
@@ -52367,16 +52365,16 @@ const uploadDraggerEmits = {
52367
52365
  };
52368
52366
 
52369
52367
  const _hoisted_1$4 = ["onDrop", "onDragover"];
52370
- const __default__$4 = {
52371
- name: "ElUploadDrag"
52372
- };
52368
+ const COMPONENT_NAME = "ElUploadDrag";
52369
+ const __default__$4 = defineComponent({
52370
+ name: COMPONENT_NAME
52371
+ });
52373
52372
  const _sfc_main$5 = /* @__PURE__ */ defineComponent({
52374
52373
  ...__default__$4,
52375
52374
  props: uploadDraggerProps,
52376
52375
  emits: uploadDraggerEmits,
52377
52376
  setup(__props, { emit }) {
52378
52377
  const props = __props;
52379
- const COMPONENT_NAME = "ElUploadDrag";
52380
52378
  const uploaderContext = inject(uploadContextKey);
52381
52379
  if (!uploaderContext) {
52382
52380
  throwError(COMPONENT_NAME, "usage: <el-upload><el-upload-dragger /></el-upload>");
@@ -52464,10 +52462,10 @@ const uploadContentProps = buildProps({
52464
52462
 
52465
52463
  const _hoisted_1$3 = ["onKeydown"];
52466
52464
  const _hoisted_2$3 = ["name", "multiple", "accept"];
52467
- const __default__$3 = {
52465
+ const __default__$3 = defineComponent({
52468
52466
  name: "ElUploadContent",
52469
52467
  inheritAttrs: false
52470
- };
52468
+ });
52471
52469
  const _sfc_main$4 = /* @__PURE__ */ defineComponent({
52472
52470
  ...__default__$3,
52473
52471
  props: uploadContentProps,
@@ -52750,16 +52748,16 @@ const useHandlers = (props, uploadRef) => {
52750
52748
  };
52751
52749
  };
52752
52750
 
52753
- const __default__$2 = {
52751
+ const __default__$2 = defineComponent({
52754
52752
  name: "ElUpload"
52755
- };
52753
+ });
52756
52754
  const _sfc_main$3 = /* @__PURE__ */ defineComponent({
52757
52755
  ...__default__$2,
52758
52756
  props: uploadProps,
52759
52757
  setup(__props, { expose }) {
52760
52758
  const props = __props;
52761
52759
  const slots = useSlots();
52762
- const disabled = useDisabled$1();
52760
+ const disabled = useDisabled();
52763
52761
  const uploadRef = shallowRef();
52764
52762
  const {
52765
52763
  abort,
@@ -53145,13 +53143,13 @@ function createLoadingComponent(options) {
53145
53143
  const svg = data.spinner || data.svg;
53146
53144
  const spinner = h$1("svg", {
53147
53145
  class: "circular",
53148
- viewBox: data.svgViewBox ? data.svgViewBox : "25 25 50 50",
53146
+ viewBox: data.svgViewBox ? data.svgViewBox : "0 0 50 50",
53149
53147
  ...svg ? { innerHTML: svg } : {}
53150
53148
  }, [
53151
53149
  h$1("circle", {
53152
53150
  class: "path",
53153
- cx: "50",
53154
- cy: "50",
53151
+ cx: "25",
53152
+ cy: "25",
53155
53153
  r: "20",
53156
53154
  fill: "none"
53157
53155
  })
@@ -53465,9 +53463,9 @@ const getLastOffset = (id) => {
53465
53463
 
53466
53464
  const _hoisted_1$2 = ["id"];
53467
53465
  const _hoisted_2$2 = ["innerHTML"];
53468
- const __default__$1 = {
53466
+ const __default__$1 = defineComponent({
53469
53467
  name: "ElMessage"
53470
- };
53468
+ });
53471
53469
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
53472
53470
  ...__default__$1,
53473
53471
  props: messageProps,
@@ -54368,9 +54366,9 @@ const _hoisted_1 = ["id"];
54368
54366
  const _hoisted_2 = ["textContent"];
54369
54367
  const _hoisted_3 = { key: 0 };
54370
54368
  const _hoisted_4 = ["innerHTML"];
54371
- const __default__ = {
54369
+ const __default__ = defineComponent({
54372
54370
  name: "ElNotification"
54373
- };
54371
+ });
54374
54372
  const _sfc_main = /* @__PURE__ */ defineComponent({
54375
54373
  ...__default__,
54376
54374
  props: notificationProps,
@@ -54623,4 +54621,4 @@ var installer = makeInstaller([...Components, ...Plugins]);
54623
54621
  const install = installer.install;
54624
54622
  const version = installer.version;
54625
54623
 
54626
- export { BAR_MAP, CASCADER_PANEL_INJECTION_KEY, CHANGE_EVENT, ClickOutside, CommonPicker, CommonProps, DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, COLLECTION_INJECTION_KEY as DROPDOWN_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, DROPDOWN_INJECTION_KEY, DefaultProps, DynamicSizeGrid$1 as DynamicSizeGrid, DynamicSizeList$1 as DynamicSizeList, EVENT_CODE, Effect, ElAffix, ElAlert, ElAside, ElAutoResizer, ElAutocomplete, ElAvatar, ElBacktop, ElBadge, ElBreadcrumb, ElBreadcrumbItem, ElButton, ElButtonGroup$1 as ElButtonGroup, ElCalendar, ElCard, ElCarousel, ElCarouselItem, ElCascader, ElCascaderPanel, ElCheckTag, ElCheckbox, ElCheckboxButton, ElCheckboxGroup$1 as ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElCollapseTransition, ElCollection, ElCollectionItem, ElColorPicker, ElConfigProvider, ElContainer, ElDatePicker, ElDescriptions, ElDescriptionsItem, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownItem, ElDropdownMenu, ElEmpty, ElFooter, ElForm, ElFormItem, ElHeader, ElIcon, ElImage, ElImageViewer, ElInfiniteScroll, ElInput, ElInputNumber, ElLink, ElLoading, vLoading as ElLoadingDirective, Loading as ElLoadingService, ElMain, ElMenu, ElMenuItem, ElMenuItemGroup, ElMessage, ElMessageBox, ElNotification, ElOption, ElOptionGroup, ElOverlay, ElPageHeader, ElPagination, ElPopconfirm, ElPopover, ElPopoverDirective, ElPopper, ElPopperArrow, ElPopperContent, ElPopperTrigger, ElProgress, ElRadio, ElRadioButton, ElRadioGroup, ElRate, ElResult, ElRow, ElScrollbar, ElSelect, ElSelectV2, ElSkeleton, ElSkeletonItem, ElSlider, ElSpace, ElStep, ElSteps, ElSubMenu, ElSwitch, ElTabPane, ElTable, ElTableColumn, ElTableV2, ElTabs, ElTag, ElTimePicker, ElTimeSelect, ElTimeline, ElTimelineItem, ElTooltip, ElTransfer, ElTree, ElTreeSelect, ElTreeV2, ElUpload, FIRST_KEYS, FIRST_LAST_KEYS, FORWARD_REF_INJECTION_KEY, FixedSizeGrid$1 as FixedSizeGrid, FixedSizeList$1 as FixedSizeList, GAP, ID_INJECTION_KEY, INPUT_EVENT, INSTALLED_KEY, IconComponentMap, IconMap, LAST_KEYS, LEFT_CHECK_CHANGE_EVENT, Mousewheel, POPPER_CONTAINER_ID, POPPER_CONTAINER_SELECTOR, POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY, RIGHT_CHECK_CHANGE_EVENT, ROOT_PICKER_INJECTION_KEY, RepeatClick, RowAlign, RowJustify, TOOLTIP_INJECTION_KEY, TOOLTIP_V2_OPEN, TableV2$1 as TableV2, Alignment as TableV2Alignment, FixedDir as TableV2FixedDir, placeholderSign as TableV2Placeholder, SortOrder as TableV2SortOrder, TimePickPanel, TrapFocus, UPDATE_MODEL_EVENT, WEEK_DAYS, affixEmits, affixProps, alertEffects, alertEmits, alertProps, arrowMiddleware, autoResizerProps, autocompleteEmits, autocompleteProps, avatarEmits, avatarProps, backtopEmits, backtopProps, badgeProps, breadcrumbItemProps, breadcrumbKey, breadcrumbProps, buildLocaleContext, buildTimeList, buildTranslator, buttonEmits, buttonGroupContextKey, buttonNativeTypes, buttonProps, buttonTypes, calendarEmits, calendarProps, cardProps, carouselContextKey, carouselEmits, carouselItemProps, carouselProps, checkTagEmits, checkTagProps, checkboxEmits, checkboxGroupEmits, checkboxProps, colProps, collapseContextKey, collapseEmits, collapseItemProps, collapseProps, componentSizeMap, componentSizes, configProviderContextKey, configProviderProps, createModelToggleComposable, dateEquals, datePickTypes, dayjs, installer as default, defaultNamespace, descriptionProps, dialogEmits, dialogInjectionKey, dialogProps, dividerProps, drawerEmits, drawerProps, dropdownItemProps, dropdownMenuProps, dropdownProps, elPaginationKey, emitChangeFn, emptyProps, extractDateFormat, extractTimeFormat, formContextKey, formEmits, formItemContextKey, formItemProps, formItemValidateStates, formProps, formatter, genFileId, getPositionDataWithUnit, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, inputEmits, inputNumberEmits, inputNumberProps, inputProps, install, linkEmits, linkProps, makeInstaller, makeList, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuProps, messageConfig, messageDefaults, messageEmits, messageProps, messageTypes, notificationEmits, notificationProps, notificationTypes, overlayEmits, overlayProps, pageHeaderEmits, pageHeaderProps, paginationEmits, paginationProps, parseDate, popconfirmProps, popoverEmits, popoverProps, progressProps, provideGlobalConfig, radioButtonProps, radioEmits, radioGroupEmits, radioGroupKey, radioGroupProps, radioProps, radioPropsBase, rangeArr, rateEmits, rateProps, renderThumbStyle$1 as renderThumbStyle, resultProps, roleTypes, rowContextKey, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, selectGroupKey, selectKey, selectV2InjectionKey, skeletonItemProps, skeletonProps, sliderContextKey, sliderEmits, sliderProps, spaceProps, stepProps, stepsEmits, stepsProps, subMenuProps, switchEmits, switchProps, tabBarProps, tabNavEmits, tabNavProps, tabPaneProps, tableV2Props, tableV2RowProps, tabsEmits, tabsProps, tabsRootContextKey, tagEmits, tagProps, thumbProps, timePickerDefaultProps, timeUnits, timelineItemProps, tooltipV2ContentKey, tooltipV2RootKey, transferCheckedChangeFn, transferEmits, transferProps, translate, uploadBaseProps, uploadContentProps, uploadContextKey, uploadDraggerEmits, uploadDraggerProps, uploadListEmits, uploadListProps, uploadListTypes, uploadProps, useAttrs, useCascaderConfig, useCheckbox, useCheckboxGroup, useCheckboxGroupId, useCheckboxGroupProps, useCursor, useDelayedRender, useDelayedToggle, useDelayedToggleProps, useDeprecated, useDialog, useDisabled$1 as useDisabled, useDraggable, useEscapeKeydown, useFloating, useFloatingProps, useFocus, useFormItem, useFormItemInputId, useForwardRef, useForwardRefDirective, useGlobalConfig, useId, useLocale, useLockscreen, useModal, useModelToggle$1 as useModelToggle, useModelToggleEmits$1 as useModelToggleEmits, useModelToggleProps$1 as useModelToggleProps, useNamespace, usePopperArrowProps, usePopperContainer, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps, usePopperProps, usePopperTriggerProps, usePreventGlobal, useProp, useRestoreActive, useSameTarget, useSize, useSizeProp, useSpace, useTeleport, useThrottleRender, useTimeout, useTooltipContentProps, useTooltipProps, useTooltipTriggerProps, useTransitionFallthrough, useTransitionFallthroughEmits, useZIndex, vLoading, valueEquals, version, virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps };
54624
+ export { BAR_MAP, CASCADER_PANEL_INJECTION_KEY, CHANGE_EVENT, ClickOutside, CommonPicker, CommonProps, DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, COLLECTION_INJECTION_KEY as DROPDOWN_COLLECTION_INJECTION_KEY, COLLECTION_ITEM_INJECTION_KEY as DROPDOWN_COLLECTION_ITEM_INJECTION_KEY, DROPDOWN_INJECTION_KEY, DefaultProps, DynamicSizeGrid$1 as DynamicSizeGrid, DynamicSizeList$1 as DynamicSizeList, EVENT_CODE, Effect, ElAffix, ElAlert, ElAside, ElAutoResizer, ElAutocomplete, ElAvatar, ElBacktop, ElBadge, ElBreadcrumb, ElBreadcrumbItem, ElButton, ElButtonGroup$1 as ElButtonGroup, ElCalendar, ElCard, ElCarousel, ElCarouselItem, ElCascader, ElCascaderPanel, ElCheckTag, ElCheckbox, ElCheckboxButton, ElCheckboxGroup$1 as ElCheckboxGroup, ElCol, ElCollapse, ElCollapseItem, ElCollapseTransition, ElCollection, ElCollectionItem, ElColorPicker, ElConfigProvider, ElContainer, ElDatePicker, ElDescriptions, ElDescriptionsItem, ElDialog, ElDivider, ElDrawer, ElDropdown, ElDropdownItem, ElDropdownMenu, ElEmpty, ElFooter, ElForm, ElFormItem, ElHeader, ElIcon, ElImage, ElImageViewer, ElInfiniteScroll, ElInput, ElInputNumber, ElLink, ElLoading, vLoading as ElLoadingDirective, Loading as ElLoadingService, ElMain, ElMenu, ElMenuItem, ElMenuItemGroup, ElMessage, ElMessageBox, ElNotification, ElOption, ElOptionGroup, ElOverlay, ElPageHeader, ElPagination, ElPopconfirm, ElPopover, ElPopoverDirective, ElPopper, ElPopperArrow, ElPopperContent, ElPopperTrigger, ElProgress, ElRadio, ElRadioButton, ElRadioGroup, ElRate, ElResult, ElRow, ElScrollbar, ElSelect, ElSelectV2, ElSkeleton, ElSkeletonItem, ElSlider, ElSpace, ElStep, ElSteps, ElSubMenu, ElSwitch, ElTabPane, ElTable, ElTableColumn, ElTableV2, ElTabs, ElTag, ElTimePicker, ElTimeSelect, ElTimeline, ElTimelineItem, ElTooltip, ElTransfer, ElTree, ElTreeSelect, ElTreeV2, ElUpload, FIRST_KEYS, FIRST_LAST_KEYS, FORWARD_REF_INJECTION_KEY, FixedSizeGrid$1 as FixedSizeGrid, FixedSizeList$1 as FixedSizeList, GAP, ID_INJECTION_KEY, INPUT_EVENT, INSTALLED_KEY, IconComponentMap, IconMap, LAST_KEYS, LEFT_CHECK_CHANGE_EVENT, Mousewheel, POPPER_CONTAINER_ID, POPPER_CONTAINER_SELECTOR, POPPER_CONTENT_INJECTION_KEY, POPPER_INJECTION_KEY, RIGHT_CHECK_CHANGE_EVENT, ROOT_PICKER_INJECTION_KEY, RepeatClick, RowAlign, RowJustify, TOOLTIP_INJECTION_KEY, TOOLTIP_V2_OPEN, TableV2$1 as TableV2, Alignment as TableV2Alignment, FixedDir as TableV2FixedDir, placeholderSign as TableV2Placeholder, SortOrder as TableV2SortOrder, TimePickPanel, TrapFocus, UPDATE_MODEL_EVENT, WEEK_DAYS, affixEmits, affixProps, alertEffects, alertEmits, alertProps, arrowMiddleware, autoResizerProps, autocompleteEmits, autocompleteProps, avatarEmits, avatarProps, backtopEmits, backtopProps, badgeProps, breadcrumbItemProps, breadcrumbKey, breadcrumbProps, buildLocaleContext, buildTimeList, buildTranslator, buttonEmits, buttonGroupContextKey, buttonNativeTypes, buttonProps, buttonTypes, calendarEmits, calendarProps, cardProps, carouselContextKey, carouselEmits, carouselItemProps, carouselProps, checkTagEmits, checkTagProps, checkboxEmits, checkboxGroupContextKey, checkboxGroupEmits, checkboxGroupProps, checkboxProps, colProps, collapseContextKey, collapseEmits, collapseItemProps, collapseProps, colorPickerContextKey, colorPickerEmits, colorPickerProps, componentSizeMap, componentSizes, configProviderContextKey, configProviderProps, createModelToggleComposable, dateEquals, datePickTypes, dayjs, installer as default, defaultNamespace, descriptionProps, dialogEmits, dialogInjectionKey, dialogProps, dividerProps, drawerEmits, drawerProps, dropdownItemProps, dropdownMenuProps, dropdownProps, elPaginationKey, emitChangeFn, emptyProps, extractDateFormat, extractTimeFormat, formContextKey, formEmits, formItemContextKey, formItemProps, formItemValidateStates, formProps, formatter, genFileId, getPositionDataWithUnit, iconProps, imageEmits, imageProps, imageViewerEmits, imageViewerProps, inputEmits, inputNumberEmits, inputNumberProps, inputProps, install, linkEmits, linkProps, makeInstaller, makeList, menuEmits, menuItemEmits, menuItemGroupProps, menuItemProps, menuProps, messageConfig, messageDefaults, messageEmits, messageProps, messageTypes, notificationEmits, notificationProps, notificationTypes, overlayEmits, overlayProps, pageHeaderEmits, pageHeaderProps, paginationEmits, paginationProps, parseDate, popconfirmProps, popoverEmits, popoverProps, progressProps, provideGlobalConfig, radioButtonProps, radioEmits, radioGroupEmits, radioGroupKey, radioGroupProps, radioProps, radioPropsBase, rangeArr, rateEmits, rateProps, renderThumbStyle$1 as renderThumbStyle, resultProps, roleTypes, rowContextKey, rowProps, scrollbarContextKey, scrollbarEmits, scrollbarProps, selectGroupKey, selectKey, selectV2InjectionKey, skeletonItemProps, skeletonProps, sliderContextKey, sliderEmits, sliderProps, spaceProps, stepProps, stepsEmits, stepsProps, subMenuProps, switchEmits, switchProps, tabBarProps, tabNavEmits, tabNavProps, tabPaneProps, tableV2Props, tableV2RowProps, tabsEmits, tabsProps, tabsRootContextKey, tagEmits, tagProps, thumbProps, timePickerDefaultProps, timeUnits, timelineItemProps, tooltipV2ContentKey, tooltipV2RootKey, transferCheckedChangeFn, transferEmits, transferProps, translate, uploadBaseProps, uploadContentProps, uploadContextKey, uploadDraggerEmits, uploadDraggerProps, uploadListEmits, uploadListProps, uploadListTypes, uploadProps, useAttrs, useCascaderConfig, useCursor, useDelayedRender, useDelayedToggle, useDelayedToggleProps, useDeprecated, useDialog, useDisabled, useDraggable, useEscapeKeydown, useFloating, useFloatingProps, useFocus, useFormItem, useFormItemInputId, useForwardRef, useForwardRefDirective, useGlobalConfig, useId, useLocale, useLockscreen, useModal, useModelToggle$1 as useModelToggle, useModelToggleEmits$1 as useModelToggleEmits, useModelToggleProps$1 as useModelToggleProps, useNamespace, usePopperArrowProps, usePopperContainer, usePopperContentEmits, usePopperContentProps, usePopperCoreConfigProps, usePopperProps, usePopperTriggerProps, usePreventGlobal, useProp, useRestoreActive, useSameTarget, useSize, useSizeProp, useSpace, useTeleport, useThrottleRender, useTimeout, useTooltipContentProps, useTooltipProps, useTooltipTriggerProps, useTransitionFallthrough, useTransitionFallthroughEmits, useZIndex, vLoading, valueEquals, version, virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps };