@element-plus/nightly 0.0.20220914 → 0.0.20220916

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