@element-plus/nightly 0.0.20260505 → 0.0.20260506

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 (633) hide show
  1. package/dist/index.full.js +2 -2
  2. package/dist/index.full.min.js +2 -2
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +2 -2
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +2 -2
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar-eg.js +1 -1
  12. package/dist/locale/ar-eg.min.js +1 -1
  13. package/dist/locale/ar-eg.min.mjs +1 -1
  14. package/dist/locale/ar-eg.mjs +1 -1
  15. package/dist/locale/ar.js +1 -1
  16. package/dist/locale/ar.min.js +1 -1
  17. package/dist/locale/ar.min.mjs +1 -1
  18. package/dist/locale/ar.mjs +1 -1
  19. package/dist/locale/az.js +1 -1
  20. package/dist/locale/az.min.js +1 -1
  21. package/dist/locale/az.min.mjs +1 -1
  22. package/dist/locale/az.mjs +1 -1
  23. package/dist/locale/bg.js +1 -1
  24. package/dist/locale/bg.min.js +1 -1
  25. package/dist/locale/bg.min.mjs +1 -1
  26. package/dist/locale/bg.mjs +1 -1
  27. package/dist/locale/bn.js +1 -1
  28. package/dist/locale/bn.min.js +1 -1
  29. package/dist/locale/bn.min.mjs +1 -1
  30. package/dist/locale/bn.mjs +1 -1
  31. package/dist/locale/ca.js +1 -1
  32. package/dist/locale/ca.min.js +1 -1
  33. package/dist/locale/ca.min.mjs +1 -1
  34. package/dist/locale/ca.mjs +1 -1
  35. package/dist/locale/ckb.js +1 -1
  36. package/dist/locale/ckb.min.js +1 -1
  37. package/dist/locale/ckb.min.mjs +1 -1
  38. package/dist/locale/ckb.mjs +1 -1
  39. package/dist/locale/cs.js +1 -1
  40. package/dist/locale/cs.min.js +1 -1
  41. package/dist/locale/cs.min.mjs +1 -1
  42. package/dist/locale/cs.mjs +1 -1
  43. package/dist/locale/da.js +1 -1
  44. package/dist/locale/da.min.js +1 -1
  45. package/dist/locale/da.min.mjs +1 -1
  46. package/dist/locale/da.mjs +1 -1
  47. package/dist/locale/de.js +1 -1
  48. package/dist/locale/de.min.js +1 -1
  49. package/dist/locale/de.min.mjs +1 -1
  50. package/dist/locale/de.mjs +1 -1
  51. package/dist/locale/el.js +1 -1
  52. package/dist/locale/el.min.js +1 -1
  53. package/dist/locale/el.min.mjs +1 -1
  54. package/dist/locale/el.mjs +1 -1
  55. package/dist/locale/en.js +1 -1
  56. package/dist/locale/en.min.js +1 -1
  57. package/dist/locale/en.min.mjs +1 -1
  58. package/dist/locale/en.mjs +1 -1
  59. package/dist/locale/eo.js +1 -1
  60. package/dist/locale/eo.min.js +1 -1
  61. package/dist/locale/eo.min.mjs +1 -1
  62. package/dist/locale/eo.mjs +1 -1
  63. package/dist/locale/es.js +1 -1
  64. package/dist/locale/es.min.js +1 -1
  65. package/dist/locale/es.min.mjs +1 -1
  66. package/dist/locale/es.mjs +1 -1
  67. package/dist/locale/et.js +1 -1
  68. package/dist/locale/et.min.js +1 -1
  69. package/dist/locale/et.min.mjs +1 -1
  70. package/dist/locale/et.mjs +1 -1
  71. package/dist/locale/eu.js +1 -1
  72. package/dist/locale/eu.min.js +1 -1
  73. package/dist/locale/eu.min.mjs +1 -1
  74. package/dist/locale/eu.mjs +1 -1
  75. package/dist/locale/fa.js +1 -1
  76. package/dist/locale/fa.min.js +1 -1
  77. package/dist/locale/fa.min.mjs +1 -1
  78. package/dist/locale/fa.mjs +1 -1
  79. package/dist/locale/fi.js +1 -1
  80. package/dist/locale/fi.min.js +1 -1
  81. package/dist/locale/fi.min.mjs +1 -1
  82. package/dist/locale/fi.mjs +1 -1
  83. package/dist/locale/fr.js +1 -1
  84. package/dist/locale/fr.min.js +1 -1
  85. package/dist/locale/fr.min.mjs +1 -1
  86. package/dist/locale/fr.mjs +1 -1
  87. package/dist/locale/he.js +1 -1
  88. package/dist/locale/he.min.js +1 -1
  89. package/dist/locale/he.min.mjs +1 -1
  90. package/dist/locale/he.mjs +1 -1
  91. package/dist/locale/hi.js +1 -1
  92. package/dist/locale/hi.min.js +1 -1
  93. package/dist/locale/hi.min.mjs +1 -1
  94. package/dist/locale/hi.mjs +1 -1
  95. package/dist/locale/hr.js +1 -1
  96. package/dist/locale/hr.min.js +1 -1
  97. package/dist/locale/hr.min.mjs +1 -1
  98. package/dist/locale/hr.mjs +1 -1
  99. package/dist/locale/hu.js +1 -1
  100. package/dist/locale/hu.min.js +1 -1
  101. package/dist/locale/hu.min.mjs +1 -1
  102. package/dist/locale/hu.mjs +1 -1
  103. package/dist/locale/hy-am.js +1 -1
  104. package/dist/locale/hy-am.min.js +1 -1
  105. package/dist/locale/hy-am.min.mjs +1 -1
  106. package/dist/locale/hy-am.mjs +1 -1
  107. package/dist/locale/id.js +1 -1
  108. package/dist/locale/id.min.js +1 -1
  109. package/dist/locale/id.min.mjs +1 -1
  110. package/dist/locale/id.mjs +1 -1
  111. package/dist/locale/it.js +1 -1
  112. package/dist/locale/it.min.js +1 -1
  113. package/dist/locale/it.min.mjs +1 -1
  114. package/dist/locale/it.mjs +1 -1
  115. package/dist/locale/ja.js +1 -1
  116. package/dist/locale/ja.min.js +1 -1
  117. package/dist/locale/ja.min.mjs +1 -1
  118. package/dist/locale/ja.mjs +1 -1
  119. package/dist/locale/kk.js +1 -1
  120. package/dist/locale/kk.min.js +1 -1
  121. package/dist/locale/kk.min.mjs +1 -1
  122. package/dist/locale/kk.mjs +1 -1
  123. package/dist/locale/km.js +1 -1
  124. package/dist/locale/km.min.js +1 -1
  125. package/dist/locale/km.min.mjs +1 -1
  126. package/dist/locale/km.mjs +1 -1
  127. package/dist/locale/ko.js +1 -1
  128. package/dist/locale/ko.min.js +1 -1
  129. package/dist/locale/ko.min.mjs +1 -1
  130. package/dist/locale/ko.mjs +1 -1
  131. package/dist/locale/ku.js +1 -1
  132. package/dist/locale/ku.min.js +1 -1
  133. package/dist/locale/ku.min.mjs +1 -1
  134. package/dist/locale/ku.mjs +1 -1
  135. package/dist/locale/ky.js +1 -1
  136. package/dist/locale/ky.min.js +1 -1
  137. package/dist/locale/ky.min.mjs +1 -1
  138. package/dist/locale/ky.mjs +1 -1
  139. package/dist/locale/lo.js +1 -1
  140. package/dist/locale/lo.min.js +1 -1
  141. package/dist/locale/lo.min.mjs +1 -1
  142. package/dist/locale/lo.mjs +1 -1
  143. package/dist/locale/lt.js +1 -1
  144. package/dist/locale/lt.min.js +1 -1
  145. package/dist/locale/lt.min.mjs +1 -1
  146. package/dist/locale/lt.mjs +1 -1
  147. package/dist/locale/lv.js +1 -1
  148. package/dist/locale/lv.min.js +1 -1
  149. package/dist/locale/lv.min.mjs +1 -1
  150. package/dist/locale/lv.mjs +1 -1
  151. package/dist/locale/mg.js +1 -1
  152. package/dist/locale/mg.min.js +1 -1
  153. package/dist/locale/mg.min.mjs +1 -1
  154. package/dist/locale/mg.mjs +1 -1
  155. package/dist/locale/mn.js +1 -1
  156. package/dist/locale/mn.min.js +1 -1
  157. package/dist/locale/mn.min.mjs +1 -1
  158. package/dist/locale/mn.mjs +1 -1
  159. package/dist/locale/ms.js +1 -1
  160. package/dist/locale/ms.min.js +1 -1
  161. package/dist/locale/ms.min.mjs +1 -1
  162. package/dist/locale/ms.mjs +1 -1
  163. package/dist/locale/my.js +1 -1
  164. package/dist/locale/my.min.js +1 -1
  165. package/dist/locale/my.min.mjs +1 -1
  166. package/dist/locale/my.mjs +1 -1
  167. package/dist/locale/nb-no.js +1 -1
  168. package/dist/locale/nb-no.min.js +1 -1
  169. package/dist/locale/nb-no.min.mjs +1 -1
  170. package/dist/locale/nb-no.mjs +1 -1
  171. package/dist/locale/nl.js +1 -1
  172. package/dist/locale/nl.min.js +1 -1
  173. package/dist/locale/nl.min.mjs +1 -1
  174. package/dist/locale/nl.mjs +1 -1
  175. package/dist/locale/no.js +1 -1
  176. package/dist/locale/no.min.js +1 -1
  177. package/dist/locale/no.min.mjs +1 -1
  178. package/dist/locale/no.mjs +1 -1
  179. package/dist/locale/pa.js +1 -1
  180. package/dist/locale/pa.min.js +1 -1
  181. package/dist/locale/pa.min.mjs +1 -1
  182. package/dist/locale/pa.mjs +1 -1
  183. package/dist/locale/pl.js +1 -1
  184. package/dist/locale/pl.min.js +1 -1
  185. package/dist/locale/pl.min.mjs +1 -1
  186. package/dist/locale/pl.mjs +1 -1
  187. package/dist/locale/pt-br.js +1 -1
  188. package/dist/locale/pt-br.min.js +1 -1
  189. package/dist/locale/pt-br.min.mjs +1 -1
  190. package/dist/locale/pt-br.mjs +1 -1
  191. package/dist/locale/pt.js +1 -1
  192. package/dist/locale/pt.min.js +1 -1
  193. package/dist/locale/pt.min.mjs +1 -1
  194. package/dist/locale/pt.mjs +1 -1
  195. package/dist/locale/ro.js +1 -1
  196. package/dist/locale/ro.min.js +1 -1
  197. package/dist/locale/ro.min.mjs +1 -1
  198. package/dist/locale/ro.mjs +1 -1
  199. package/dist/locale/ru.js +1 -1
  200. package/dist/locale/ru.min.js +1 -1
  201. package/dist/locale/ru.min.mjs +1 -1
  202. package/dist/locale/ru.mjs +1 -1
  203. package/dist/locale/sk.js +1 -1
  204. package/dist/locale/sk.min.js +1 -1
  205. package/dist/locale/sk.min.mjs +1 -1
  206. package/dist/locale/sk.mjs +1 -1
  207. package/dist/locale/sl.js +1 -1
  208. package/dist/locale/sl.min.js +1 -1
  209. package/dist/locale/sl.min.mjs +1 -1
  210. package/dist/locale/sl.mjs +1 -1
  211. package/dist/locale/sr.js +1 -1
  212. package/dist/locale/sr.min.js +1 -1
  213. package/dist/locale/sr.min.mjs +1 -1
  214. package/dist/locale/sr.mjs +1 -1
  215. package/dist/locale/sv.js +1 -1
  216. package/dist/locale/sv.min.js +1 -1
  217. package/dist/locale/sv.min.mjs +1 -1
  218. package/dist/locale/sv.mjs +1 -1
  219. package/dist/locale/sw.js +1 -1
  220. package/dist/locale/sw.min.js +1 -1
  221. package/dist/locale/sw.min.mjs +1 -1
  222. package/dist/locale/sw.mjs +1 -1
  223. package/dist/locale/ta.js +1 -1
  224. package/dist/locale/ta.min.js +1 -1
  225. package/dist/locale/ta.min.mjs +1 -1
  226. package/dist/locale/ta.mjs +1 -1
  227. package/dist/locale/te.js +1 -1
  228. package/dist/locale/te.min.js +1 -1
  229. package/dist/locale/te.min.mjs +1 -1
  230. package/dist/locale/te.mjs +1 -1
  231. package/dist/locale/th.js +1 -1
  232. package/dist/locale/th.min.js +1 -1
  233. package/dist/locale/th.min.mjs +1 -1
  234. package/dist/locale/th.mjs +1 -1
  235. package/dist/locale/tk.js +1 -1
  236. package/dist/locale/tk.min.js +1 -1
  237. package/dist/locale/tk.min.mjs +1 -1
  238. package/dist/locale/tk.mjs +1 -1
  239. package/dist/locale/tr.js +1 -1
  240. package/dist/locale/tr.min.js +1 -1
  241. package/dist/locale/tr.min.mjs +1 -1
  242. package/dist/locale/tr.mjs +1 -1
  243. package/dist/locale/ug-cn.js +1 -1
  244. package/dist/locale/ug-cn.min.js +1 -1
  245. package/dist/locale/ug-cn.min.mjs +1 -1
  246. package/dist/locale/ug-cn.mjs +1 -1
  247. package/dist/locale/uk.js +1 -1
  248. package/dist/locale/uk.min.js +1 -1
  249. package/dist/locale/uk.min.mjs +1 -1
  250. package/dist/locale/uk.mjs +1 -1
  251. package/dist/locale/uz-uz.js +1 -1
  252. package/dist/locale/uz-uz.min.js +1 -1
  253. package/dist/locale/uz-uz.min.mjs +1 -1
  254. package/dist/locale/uz-uz.mjs +1 -1
  255. package/dist/locale/vi.js +1 -1
  256. package/dist/locale/vi.min.js +1 -1
  257. package/dist/locale/vi.min.mjs +1 -1
  258. package/dist/locale/vi.mjs +1 -1
  259. package/dist/locale/zh-cn.js +1 -1
  260. package/dist/locale/zh-cn.min.js +1 -1
  261. package/dist/locale/zh-cn.min.mjs +1 -1
  262. package/dist/locale/zh-cn.mjs +1 -1
  263. package/dist/locale/zh-hk.js +1 -1
  264. package/dist/locale/zh-hk.min.js +1 -1
  265. package/dist/locale/zh-hk.min.mjs +1 -1
  266. package/dist/locale/zh-hk.mjs +1 -1
  267. package/dist/locale/zh-mo.js +1 -1
  268. package/dist/locale/zh-mo.min.js +1 -1
  269. package/dist/locale/zh-mo.min.mjs +1 -1
  270. package/dist/locale/zh-mo.mjs +1 -1
  271. package/dist/locale/zh-tw.js +1 -1
  272. package/dist/locale/zh-tw.min.js +1 -1
  273. package/dist/locale/zh-tw.min.mjs +1 -1
  274. package/dist/locale/zh-tw.mjs +1 -1
  275. package/es/component.mjs +3 -3
  276. package/es/components/affix/src/affix.vue.d.ts +4 -4
  277. package/es/components/alert/src/alert.d.ts +1 -1
  278. package/es/components/alert/src/alert.vue.d.ts +2 -2
  279. package/es/components/anchor/src/anchor.vue.d.ts +3 -3
  280. package/es/components/autocomplete/src/autocomplete.d.ts +3 -3
  281. package/es/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  282. package/es/components/avatar/src/avatar.d.ts +1 -1
  283. package/es/components/backtop/src/backtop.vue.d.ts +1 -1
  284. package/es/components/badge/src/badge.d.ts +1 -1
  285. package/es/components/button/src/button-group.vue.d.ts +1 -1
  286. package/es/components/button/src/button.d.ts +1 -1
  287. package/es/components/button/src/button.vue.d.ts +3 -3
  288. package/es/components/calendar/src/calendar.d.ts +1 -1
  289. package/es/components/calendar/src/calendar.vue.d.ts +1 -1
  290. package/es/components/card/src/card.d.ts +1 -1
  291. package/es/components/card/src/card.vue.d.ts +1 -1
  292. package/es/components/carousel/src/carousel-item.vue.d.ts +1 -1
  293. package/es/components/carousel/src/carousel.d.ts +1 -1
  294. package/es/components/carousel/src/carousel.vue.d.ts +2 -2
  295. package/es/components/cascader/src/cascader.d.ts +4 -4
  296. package/es/components/cascader/src/cascader.vue.d.ts +12 -12
  297. package/es/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.mjs +2 -2
  298. package/es/components/cascader-panel/src/index.vue.d.ts +6 -6
  299. package/es/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.mjs +1 -1
  300. package/es/components/cascader-panel/src/menu.vue.d.ts +2 -2
  301. package/es/components/check-tag/src/check-tag.d.ts +1 -1
  302. package/es/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
  303. package/es/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  304. package/es/components/checkbox/src/checkbox.d.ts +8 -8
  305. package/es/components/checkbox/src/checkbox.vue.d.ts +5 -5
  306. package/es/components/col/src/col.vue.d.ts +1 -1
  307. package/es/components/collapse/src/collapse.d.ts +1 -1
  308. package/es/components/collapse/src/collapse.vue.d.ts +1 -1
  309. package/es/components/color-picker/src/color-picker.vue.d.ts +8 -8
  310. package/es/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.mjs +1 -1
  311. package/es/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  312. package/es/components/countdown/src/countdown.vue.d.ts +2 -2
  313. package/es/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.mjs +1 -1
  314. package/es/components/date-picker/src/date-picker.d.ts +8 -8
  315. package/es/components/date-picker/src/props.d.ts +1 -1
  316. package/es/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.mjs +1 -1
  317. package/es/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.mjs +1 -1
  318. package/es/components/date-picker-panel/src/date-picker-panel.d.ts +3 -3
  319. package/es/components/descriptions/src/description-item.d.ts +19 -19
  320. package/es/components/descriptions/src/description.vue.d.ts +1 -1
  321. package/es/components/dialog/src/dialog.vue.d.ts +5 -5
  322. package/es/components/divider/src/divider.d.ts +1 -1
  323. package/es/components/divider/src/divider.vue.d.ts +1 -1
  324. package/es/components/drawer/src/drawer.vue.d.ts +6 -6
  325. package/es/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
  326. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  327. package/es/components/dropdown/src/dropdown.d.ts +3 -3
  328. package/es/components/dropdown/src/dropdown.vue.d.ts +56 -56
  329. package/es/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  330. package/es/components/form/src/form-item.d.ts +2 -2
  331. package/es/components/form/src/form-item.vue.d.ts +1 -1
  332. package/es/components/form/src/form.d.ts +2 -2
  333. package/es/components/form/src/form.vue.d.ts +1 -1
  334. package/es/components/image/src/image.d.ts +1 -1
  335. package/es/components/image/src/image.vue.d.ts +4 -4
  336. package/es/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  337. package/es/components/index.mjs +6 -6
  338. package/es/components/input/src/input.d.ts +2 -2
  339. package/es/components/input/src/input.vue.d.ts +16 -16
  340. package/es/components/input-number/src/input-number.d.ts +2 -2
  341. package/es/components/input-number/src/input-number.vue.d.ts +7 -7
  342. package/es/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.mjs +1 -1
  343. package/es/components/input-otp/src/input-otp.vue.d.ts +8 -8
  344. package/es/components/input-tag/src/input-tag.d.ts +1 -1
  345. package/es/components/input-tag/src/input-tag.vue.d.ts +10 -10
  346. package/es/components/link/src/link.d.ts +2 -2
  347. package/es/components/mention/src/mention.d.ts +2 -2
  348. package/es/components/mention/src/mention.vue.d.ts +4 -4
  349. package/es/components/menu/src/menu.d.ts +2 -2
  350. package/es/components/menu/src/menu.mjs +1 -1
  351. package/es/components/menu/src/utils/menu-item.mjs +1 -1
  352. package/es/components/menu/src/utils/submenu.mjs +1 -1
  353. package/es/components/message/src/message.d.ts +2 -2
  354. package/es/components/message/src/message.vue.d.ts +3 -3
  355. package/es/components/message-box/src/index.vue_vue_type_script_lang.mjs +1 -1
  356. package/es/components/notification/src/notification.d.ts +2 -2
  357. package/es/components/notification/src/notification.vue.d.ts +4 -4
  358. package/es/components/page-header/src/page-header.vue.d.ts +1 -1
  359. package/es/components/pagination/src/pagination.d.ts +4 -4
  360. package/es/components/popconfirm/src/popconfirm.d.ts +2 -2
  361. package/es/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
  362. package/es/components/popover/src/popover.d.ts +2 -2
  363. package/es/components/popover/src/popover.vue.d.ts +5 -5
  364. package/es/components/popper/src/composables/use-content.d.ts +4 -4
  365. package/es/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  366. package/es/components/popper/src/content.vue.d.ts +6 -6
  367. package/es/components/popper/src/popper.d.ts +2 -2
  368. package/es/components/progress/src/progress.vue.d.ts +1 -1
  369. package/es/components/radio/src/radio-button.d.ts +3 -3
  370. package/es/components/radio/src/radio-button.vue.d.ts +3 -3
  371. package/es/components/radio/src/radio-group.vue.d.ts +5 -5
  372. package/es/components/radio/src/radio.d.ts +6 -6
  373. package/es/components/radio/src/radio.vue.d.ts +5 -5
  374. package/es/components/rate/src/rate.vue.d.ts +2 -2
  375. package/es/components/result/src/result.d.ts +1 -1
  376. package/es/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  377. package/es/components/row/src/row.d.ts +1 -1
  378. package/es/components/row/src/row.vue.d.ts +1 -1
  379. package/es/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
  380. package/es/components/segmented/index.d.ts +3 -3
  381. package/es/components/segmented/src/segmented.d.ts +1 -1
  382. package/es/components/segmented/src/segmented.vue.d.ts +1 -1
  383. package/es/components/select/src/option.d.ts +2 -2
  384. package/es/components/select/src/option.vue.d.ts +5 -5
  385. package/es/components/select/src/select.d.ts +4 -4
  386. package/es/components/select/src/select.vue.d.ts +67 -67
  387. package/es/components/select/src/select.vue_vue_type_script_lang.mjs +1 -1
  388. package/es/components/select-v2/src/defaults.d.ts +2 -2
  389. package/es/components/select-v2/src/select.vue.d.ts +48 -48
  390. package/es/components/select-v2/src/select.vue_vue_type_script_lang.mjs +1 -1
  391. package/es/components/skeleton/src/skeleton-item.d.ts +1 -1
  392. package/es/components/slider/src/button.vue.d.ts +2 -2
  393. package/es/components/slider/src/slider.vue.d.ts +6 -6
  394. package/es/components/space/src/space.d.ts +2 -2
  395. package/es/components/splitter/src/splitter.vue.d.ts +2 -2
  396. package/es/components/steps/src/item.d.ts +1 -1
  397. package/es/components/steps/src/item.vue.d.ts +1 -1
  398. package/es/components/steps/src/steps.d.ts +2 -2
  399. package/es/components/switch/src/switch.vue.d.ts +4 -4
  400. package/es/components/table/src/table-column/index.d.ts +24 -24
  401. package/es/components/table/src/table-footer/index.d.ts +1 -1
  402. package/es/components/table/src/table-header/index.d.ts +15 -15
  403. package/es/components/table/src/table.vue.d.ts +40 -40
  404. package/es/components/table/src/table.vue_vue_type_script_lang.mjs +1 -1
  405. package/es/components/table-v2/src/table-grid.d.ts +1 -1
  406. package/es/components/table-v2/src/table-v2.d.ts +2 -2
  407. package/es/components/tabs/src/tabs.d.ts +4 -4
  408. package/es/components/tag/src/tag.d.ts +1 -1
  409. package/es/components/text/src/text.d.ts +1 -1
  410. package/es/components/time-picker/src/common/picker.vue.d.ts +12 -12
  411. package/es/components/time-picker/src/common/props.d.ts +1 -1
  412. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.mjs +1 -1
  413. package/es/components/time-picker/src/time-picker.d.ts +8 -8
  414. package/es/components/time-select/src/time-select.vue.d.ts +9 -9
  415. package/es/components/timeline/src/timeline-item.d.ts +1 -1
  416. package/es/components/timeline/src/timeline-item.vue.d.ts +1 -1
  417. package/es/components/tooltip/src/content.vue.d.ts +4 -4
  418. package/es/components/tooltip/src/tooltip.d.ts +2 -2
  419. package/es/components/tooltip/src/tooltip.vue.d.ts +10 -10
  420. package/es/components/tooltip/src/trigger.d.ts +1 -1
  421. package/es/components/tour/src/content.d.ts +1 -1
  422. package/es/components/tour/src/step.d.ts +1 -1
  423. package/es/components/tour/src/tour.d.ts +1 -1
  424. package/es/components/tour/src/tour.vue.d.ts +7 -7
  425. package/es/components/transfer/src/transfer.vue.d.ts +1 -1
  426. package/es/components/tree/src/tree.vue.d.ts +27 -27
  427. package/es/components/tree-select/src/tree-select.vue.d.ts +30 -30
  428. package/es/components/tree-v2/src/tree.vue.d.ts +14 -14
  429. package/es/components/upload/src/upload-content.vue.d.ts +1 -1
  430. package/es/components/upload/src/upload.vue.d.ts +2 -2
  431. package/es/components/virtual-list/src/builders/build-grid.d.ts +7 -7
  432. package/es/components/virtual-list/src/components/dynamic-size-grid.d.ts +7 -7
  433. package/es/components/virtual-list/src/components/dynamic-size-list.d.ts +8 -8
  434. package/es/components/virtual-list/src/components/fixed-size-grid.d.ts +7 -7
  435. package/es/components/virtual-list/src/components/fixed-size-list.d.ts +8 -8
  436. package/es/components/watermark/src/watermark.vue.d.ts +1 -1
  437. package/es/constants/index.mjs +2 -2
  438. package/es/directives/trap-focus/index.mjs +1 -1
  439. package/es/hooks/use-floating/index.d.ts +8 -8
  440. package/es/hooks/use-popper/index.d.ts +4 -4
  441. package/es/index.mjs +13 -13
  442. package/es/plugin.mjs +1 -1
  443. package/es/utils/vue/vnode.d.ts +4 -4
  444. package/es/version.mjs +1 -1
  445. package/es/version.mjs.map +1 -1
  446. package/lib/component.js +109 -109
  447. package/lib/components/affix/src/affix.vue.d.ts +4 -4
  448. package/lib/components/alert/src/alert.d.ts +1 -1
  449. package/lib/components/alert/src/alert.vue.d.ts +2 -2
  450. package/lib/components/anchor/src/anchor.vue.d.ts +3 -3
  451. package/lib/components/autocomplete/src/autocomplete.d.ts +3 -3
  452. package/lib/components/autocomplete/src/autocomplete.vue.d.ts +5 -5
  453. package/lib/components/avatar/src/avatar.d.ts +1 -1
  454. package/lib/components/backtop/src/backtop.vue.d.ts +1 -1
  455. package/lib/components/badge/src/badge.d.ts +1 -1
  456. package/lib/components/button/src/button-group.vue.d.ts +1 -1
  457. package/lib/components/button/src/button.d.ts +1 -1
  458. package/lib/components/button/src/button.vue.d.ts +3 -3
  459. package/lib/components/calendar/src/calendar.d.ts +1 -1
  460. package/lib/components/calendar/src/calendar.vue.d.ts +1 -1
  461. package/lib/components/card/src/card.d.ts +1 -1
  462. package/lib/components/card/src/card.vue.d.ts +1 -1
  463. package/lib/components/carousel/src/carousel-item.vue.d.ts +1 -1
  464. package/lib/components/carousel/src/carousel.d.ts +1 -1
  465. package/lib/components/carousel/src/carousel.vue.d.ts +2 -2
  466. package/lib/components/cascader/src/cascader.d.ts +4 -4
  467. package/lib/components/cascader/src/cascader.vue.d.ts +12 -12
  468. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js +40 -40
  469. package/lib/components/cascader/src/cascader.vue_vue_type_script_setup_true_lang.js.map +1 -1
  470. package/lib/components/cascader-panel/src/index.vue.d.ts +6 -6
  471. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js +12 -12
  472. package/lib/components/cascader-panel/src/index.vue_vue_type_script_setup_true_lang.js.map +1 -1
  473. package/lib/components/cascader-panel/src/menu.vue.d.ts +2 -2
  474. package/lib/components/check-tag/src/check-tag.d.ts +1 -1
  475. package/lib/components/checkbox/src/checkbox-button.vue.d.ts +5 -5
  476. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +5 -5
  477. package/lib/components/checkbox/src/checkbox.d.ts +8 -8
  478. package/lib/components/checkbox/src/checkbox.vue.d.ts +5 -5
  479. package/lib/components/col/src/col.vue.d.ts +1 -1
  480. package/lib/components/collapse/src/collapse.d.ts +1 -1
  481. package/lib/components/collapse/src/collapse.vue.d.ts +1 -1
  482. package/lib/components/color-picker/src/color-picker.vue.d.ts +8 -8
  483. package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js +18 -18
  484. package/lib/components/color-picker/src/color-picker.vue_vue_type_script_setup_true_lang.js.map +1 -1
  485. package/lib/components/config-provider/src/hooks/use-global-config.d.ts +1 -1
  486. package/lib/components/countdown/src/countdown.vue.d.ts +2 -2
  487. package/lib/components/countdown/src/countdown.vue_vue_type_script_setup_true_lang.js +1 -1
  488. package/lib/components/date-picker/src/date-picker.d.ts +8 -8
  489. package/lib/components/date-picker/src/props.d.ts +1 -1
  490. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js +18 -18
  491. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue_vue_type_script_setup_true_lang.js.map +1 -1
  492. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js +23 -23
  493. package/lib/components/date-picker-panel/src/date-picker-com/panel-date-range.vue_vue_type_script_setup_true_lang.js.map +1 -1
  494. package/lib/components/date-picker-panel/src/date-picker-panel.d.ts +3 -3
  495. package/lib/components/descriptions/src/description-item.d.ts +19 -19
  496. package/lib/components/descriptions/src/description.vue.d.ts +1 -1
  497. package/lib/components/dialog/src/dialog.vue.d.ts +5 -5
  498. package/lib/components/divider/src/divider.d.ts +1 -1
  499. package/lib/components/divider/src/divider.vue.d.ts +1 -1
  500. package/lib/components/drawer/src/drawer.vue.d.ts +6 -6
  501. package/lib/components/dropdown/src/dropdown-item.vue.d.ts +4 -4
  502. package/lib/components/dropdown/src/dropdown-menu.vue.d.ts +1 -1
  503. package/lib/components/dropdown/src/dropdown.d.ts +3 -3
  504. package/lib/components/dropdown/src/dropdown.vue.d.ts +56 -56
  505. package/lib/components/focus-trap/src/focus-trap.vue.d.ts +1 -1
  506. package/lib/components/form/src/form-item.d.ts +2 -2
  507. package/lib/components/form/src/form-item.vue.d.ts +1 -1
  508. package/lib/components/form/src/form.d.ts +2 -2
  509. package/lib/components/form/src/form.vue.d.ts +1 -1
  510. package/lib/components/image/src/image.d.ts +1 -1
  511. package/lib/components/image/src/image.vue.d.ts +4 -4
  512. package/lib/components/image-viewer/src/image-viewer.vue.d.ts +2 -2
  513. package/lib/components/index.js +125 -125
  514. package/lib/components/input/src/input.d.ts +2 -2
  515. package/lib/components/input/src/input.vue.d.ts +16 -16
  516. package/lib/components/input-number/src/input-number.d.ts +2 -2
  517. package/lib/components/input-number/src/input-number.vue.d.ts +7 -7
  518. package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js +12 -12
  519. package/lib/components/input-number/src/input-number.vue_vue_type_script_setup_true_lang.js.map +1 -1
  520. package/lib/components/input-otp/src/input-otp.vue.d.ts +8 -8
  521. package/lib/components/input-tag/src/input-tag.d.ts +1 -1
  522. package/lib/components/input-tag/src/input-tag.vue.d.ts +10 -10
  523. package/lib/components/link/src/link.d.ts +2 -2
  524. package/lib/components/mention/src/mention.d.ts +2 -2
  525. package/lib/components/mention/src/mention.vue.d.ts +4 -4
  526. package/lib/components/menu/src/menu.d.ts +2 -2
  527. package/lib/components/menu/src/menu.js +7 -7
  528. package/lib/components/menu/src/menu.js.map +1 -1
  529. package/lib/components/menu/src/utils/menu-item.js +11 -11
  530. package/lib/components/menu/src/utils/menu-item.js.map +1 -1
  531. package/lib/components/menu/src/utils/submenu.js +9 -9
  532. package/lib/components/menu/src/utils/submenu.js.map +1 -1
  533. package/lib/components/message/src/message.d.ts +2 -2
  534. package/lib/components/message/src/message.vue.d.ts +3 -3
  535. package/lib/components/message-box/src/index.vue_vue_type_script_lang.js +19 -19
  536. package/lib/components/message-box/src/index.vue_vue_type_script_lang.js.map +1 -1
  537. package/lib/components/notification/src/notification.d.ts +2 -2
  538. package/lib/components/notification/src/notification.vue.d.ts +4 -4
  539. package/lib/components/page-header/src/page-header.vue.d.ts +1 -1
  540. package/lib/components/pagination/src/pagination.d.ts +4 -4
  541. package/lib/components/popconfirm/src/popconfirm.d.ts +2 -2
  542. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +2 -2
  543. package/lib/components/popover/src/popover.d.ts +2 -2
  544. package/lib/components/popover/src/popover.vue.d.ts +5 -5
  545. package/lib/components/popper/src/composables/use-content.d.ts +4 -4
  546. package/lib/components/popper/src/composables/use-focus-trap.d.ts +1 -1
  547. package/lib/components/popper/src/content.vue.d.ts +6 -6
  548. package/lib/components/popper/src/popper.d.ts +2 -2
  549. package/lib/components/progress/src/progress.vue.d.ts +1 -1
  550. package/lib/components/radio/src/radio-button.d.ts +3 -3
  551. package/lib/components/radio/src/radio-button.vue.d.ts +3 -3
  552. package/lib/components/radio/src/radio-group.vue.d.ts +5 -5
  553. package/lib/components/radio/src/radio.d.ts +6 -6
  554. package/lib/components/radio/src/radio.vue.d.ts +5 -5
  555. package/lib/components/rate/src/rate.vue.d.ts +2 -2
  556. package/lib/components/result/src/result.d.ts +1 -1
  557. package/lib/components/roving-focus-group/src/roving-focus-item.vue.d.ts +1 -1
  558. package/lib/components/row/src/row.d.ts +1 -1
  559. package/lib/components/row/src/row.vue.d.ts +1 -1
  560. package/lib/components/scrollbar/src/scrollbar.vue.d.ts +2 -2
  561. package/lib/components/segmented/index.d.ts +3 -3
  562. package/lib/components/segmented/src/segmented.d.ts +1 -1
  563. package/lib/components/segmented/src/segmented.vue.d.ts +1 -1
  564. package/lib/components/select/src/option.d.ts +2 -2
  565. package/lib/components/select/src/option.vue.d.ts +5 -5
  566. package/lib/components/select/src/select.d.ts +4 -4
  567. package/lib/components/select/src/select.vue.d.ts +67 -67
  568. package/lib/components/select/src/select.vue_vue_type_script_lang.js +10 -10
  569. package/lib/components/select/src/select.vue_vue_type_script_lang.js.map +1 -1
  570. package/lib/components/select-v2/src/defaults.d.ts +2 -2
  571. package/lib/components/select-v2/src/select.vue.d.ts +48 -48
  572. package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js +10 -10
  573. package/lib/components/select-v2/src/select.vue_vue_type_script_lang.js.map +1 -1
  574. package/lib/components/skeleton/src/skeleton-item.d.ts +1 -1
  575. package/lib/components/slider/src/button.vue.d.ts +2 -2
  576. package/lib/components/slider/src/slider.vue.d.ts +6 -6
  577. package/lib/components/space/src/space.d.ts +2 -2
  578. package/lib/components/splitter/src/splitter.vue.d.ts +2 -2
  579. package/lib/components/steps/src/item.d.ts +1 -1
  580. package/lib/components/steps/src/item.vue.d.ts +1 -1
  581. package/lib/components/steps/src/steps.d.ts +2 -2
  582. package/lib/components/switch/src/switch.vue.d.ts +4 -4
  583. package/lib/components/table/src/table-column/index.d.ts +24 -24
  584. package/lib/components/table/src/table-footer/index.d.ts +1 -1
  585. package/lib/components/table/src/table-header/index.d.ts +15 -15
  586. package/lib/components/table/src/table.vue.d.ts +40 -40
  587. package/lib/components/table/src/table.vue_vue_type_script_lang.js +8 -8
  588. package/lib/components/table/src/table.vue_vue_type_script_lang.js.map +1 -1
  589. package/lib/components/table-v2/src/table-grid.d.ts +1 -1
  590. package/lib/components/table-v2/src/table-v2.d.ts +2 -2
  591. package/lib/components/tabs/src/tabs.d.ts +4 -4
  592. package/lib/components/tag/src/tag.d.ts +1 -1
  593. package/lib/components/text/src/text.d.ts +1 -1
  594. package/lib/components/time-picker/src/common/picker.vue.d.ts +12 -12
  595. package/lib/components/time-picker/src/common/props.d.ts +1 -1
  596. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js +10 -10
  597. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue_vue_type_script_setup_true_lang.js.map +1 -1
  598. package/lib/components/time-picker/src/time-picker.d.ts +8 -8
  599. package/lib/components/time-select/src/time-select.vue.d.ts +9 -9
  600. package/lib/components/timeline/src/timeline-item.d.ts +1 -1
  601. package/lib/components/timeline/src/timeline-item.vue.d.ts +1 -1
  602. package/lib/components/tooltip/src/content.vue.d.ts +4 -4
  603. package/lib/components/tooltip/src/tooltip.d.ts +2 -2
  604. package/lib/components/tooltip/src/tooltip.vue.d.ts +10 -10
  605. package/lib/components/tooltip/src/trigger.d.ts +1 -1
  606. package/lib/components/tour/src/content.d.ts +1 -1
  607. package/lib/components/tour/src/step.d.ts +1 -1
  608. package/lib/components/tour/src/tour.d.ts +1 -1
  609. package/lib/components/tour/src/tour.vue.d.ts +7 -7
  610. package/lib/components/transfer/src/transfer.vue.d.ts +1 -1
  611. package/lib/components/tree/src/tree.vue.d.ts +27 -27
  612. package/lib/components/tree-select/src/tree-select.vue.d.ts +30 -30
  613. package/lib/components/tree-v2/src/tree.vue.d.ts +14 -14
  614. package/lib/components/upload/src/upload-content.vue.d.ts +1 -1
  615. package/lib/components/upload/src/upload.vue.d.ts +2 -2
  616. package/lib/components/virtual-list/src/builders/build-grid.d.ts +7 -7
  617. package/lib/components/virtual-list/src/components/dynamic-size-grid.d.ts +7 -7
  618. package/lib/components/virtual-list/src/components/dynamic-size-list.d.ts +8 -8
  619. package/lib/components/virtual-list/src/components/fixed-size-grid.d.ts +7 -7
  620. package/lib/components/virtual-list/src/components/fixed-size-list.d.ts +8 -8
  621. package/lib/components/watermark/src/watermark.vue.d.ts +1 -1
  622. package/lib/constants/index.js +2 -2
  623. package/lib/directives/trap-focus/index.js +5 -5
  624. package/lib/directives/trap-focus/index.js.map +1 -1
  625. package/lib/hooks/use-floating/index.d.ts +8 -8
  626. package/lib/hooks/use-popper/index.d.ts +4 -4
  627. package/lib/index.js +269 -269
  628. package/lib/plugin.js +12 -12
  629. package/lib/utils/vue/vnode.d.ts +4 -4
  630. package/lib/version.js +1 -1
  631. package/lib/version.js.map +1 -1
  632. package/package.json +1 -1
  633. package/web-types.json +1 -1
@@ -29,28 +29,28 @@ declare const __VLS_export: vue.DefineComponent<ColorPickerProps, {
29
29
  */
30
30
  blur: typeof blur;
31
31
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
32
+ "update:modelValue": (val: string | null) => void;
33
+ change: (val: string | null) => void;
32
34
  clear: () => void;
33
35
  focus: (evt: FocusEvent) => void;
34
36
  blur: (evt: FocusEvent) => void;
35
- "update:modelValue": (val: string | null) => void;
36
- change: (val: string | null) => void;
37
37
  activeChange: (val: string | null) => void;
38
38
  }, string, vue.PublicProps, Readonly<ColorPickerProps> & Readonly<{
39
+ "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
40
+ onChange?: ((val: string | null) => any) | undefined;
39
41
  onClear?: (() => any) | undefined;
40
42
  onFocus?: ((evt: FocusEvent) => any) | undefined;
41
43
  onBlur?: ((evt: FocusEvent) => any) | undefined;
42
- onChange?: ((val: string | null) => any) | undefined;
43
- "onUpdate:modelValue"?: ((val: string | null) => any) | undefined;
44
44
  onActiveChange?: ((val: string | null) => any) | undefined;
45
45
  }>, {
46
+ modelValue: string | null;
46
47
  disabled: boolean;
47
- popperStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
48
- persistent: boolean;
49
48
  teleported: boolean;
50
- modelValue: string | null;
51
- validateEvent: boolean;
52
49
  clearable: boolean;
53
50
  tabindex: string | number;
51
+ validateEvent: boolean;
52
+ popperStyle: string | false | vue.CSSProperties | vue.StyleValue[] | null;
53
+ persistent: boolean;
54
54
  valueOnClear: string | number | boolean | Function | null;
55
55
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
56
56
  declare const _default: typeof __VLS_export;
@@ -2,16 +2,16 @@ const require_runtime = require('../../../_virtual/_rolldown/runtime.js');
2
2
  const require_aria = require('../../../constants/aria.js');
3
3
  const require_event = require('../../../constants/event.js');
4
4
  const require_event$1 = require('../../../utils/dom/event.js');
5
- const require_index = require('../../../hooks/use-locale/index.js');
6
- const require_index$1 = require('../../../hooks/use-namespace/index.js');
7
- const require_index$2 = require('../../../hooks/use-focus-controller/index.js');
8
- const require_index$3 = require('../../../hooks/use-empty-values/index.js');
9
- const require_index$4 = require('../../icon/index.js');
5
+ const require_index = require('../../../directives/click-outside/index.js');
6
+ const require_index$1 = require('../../../hooks/use-locale/index.js');
7
+ const require_index$2 = require('../../../hooks/use-namespace/index.js');
8
+ const require_index$3 = require('../../../hooks/use-focus-controller/index.js');
9
+ const require_index$4 = require('../../../hooks/use-empty-values/index.js');
10
+ const require_index$5 = require('../../icon/index.js');
10
11
  const require_use_form_common_props = require('../../form/src/hooks/use-form-common-props.js');
11
12
  const require_use_form_item = require('../../form/src/hooks/use-form-item.js');
12
- const require_index$5 = require('../../tooltip/index.js');
13
- const require_index$6 = require('../../button/index.js');
14
- const require_index$7 = require('../../../directives/click-outside/index.js');
13
+ const require_index$6 = require('../../tooltip/index.js');
14
+ const require_index$7 = require('../../button/index.js');
15
15
  const require_color_picker_panel = require('../../color-picker-panel/src/color-picker-panel.js');
16
16
  const require_color = require('../../color-picker-panel/src/utils/color.js');
17
17
  const require_use_common_color = require('../../color-picker-panel/src/composables/use-common-color.js');
@@ -40,12 +40,12 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
40
40
  setup(__props, { expose: __expose, emit: __emit }) {
41
41
  const props = __props;
42
42
  const emit = __emit;
43
- const { t } = require_index.useLocale();
44
- const ns = require_index$1.useNamespace("color");
43
+ const { t } = require_index$1.useLocale();
44
+ const ns = require_index$2.useNamespace("color");
45
45
  const { formItem } = require_use_form_item.useFormItem();
46
46
  const colorSize = require_use_form_common_props.useFormSize();
47
47
  const colorDisabled = require_use_form_common_props.useFormDisabled();
48
- const { valueOnClear, isEmptyValue } = require_index$3.useEmptyValues(props, null);
48
+ const { valueOnClear, isEmptyValue } = require_index$4.useEmptyValues(props, null);
49
49
  const commonColor = require_use_common_color.useCommonColor(props, emit);
50
50
  const { inputId: buttonId, isLabeledByFormItem } = require_use_form_item.useFormItemInputId(props, { formItemContext: formItem });
51
51
  const popper = (0, vue.ref)();
@@ -54,7 +54,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
54
54
  const showPicker = (0, vue.ref)(false);
55
55
  const showPanelColor = (0, vue.ref)(false);
56
56
  let shouldActiveChange = true;
57
- const { isFocused, handleFocus, handleBlur } = require_index$2.useFocusController(triggerRef, {
57
+ const { isFocused, handleFocus, handleBlur } = require_index$3.useFocusController(triggerRef, {
58
58
  disabled: colorDisabled,
59
59
  beforeBlur(event) {
60
60
  return popper.value?.isFocusInsideContent(event);
@@ -203,7 +203,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
203
203
  blur
204
204
  });
205
205
  return (_ctx, _cache) => {
206
- return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$5.ElTooltip), {
206
+ return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElTooltip), {
207
207
  ref_key: "popper",
208
208
  ref: popper,
209
209
  visible: showPicker.value,
@@ -239,7 +239,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
239
239
  "validate-event": false,
240
240
  onKeydown: (0, vue.withKeys)(handleEsc, ["esc"])
241
241
  }), {
242
- footer: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", null, [__props.clearable ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$6.ElButton), {
242
+ footer: (0, vue.withCtx)(() => [(0, vue.createElementVNode)("div", null, [__props.clearable ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$7.ElButton), {
243
243
  key: 0,
244
244
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("footer", "link-btn")),
245
245
  text: "",
@@ -248,7 +248,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
248
248
  }, {
249
249
  default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("el.colorpicker.clear")), 1)]),
250
250
  _: 1
251
- }, 8, ["class"])) : (0, vue.createCommentVNode)("v-if", true), (0, vue.createVNode)((0, vue.unref)(require_index$6.ElButton), {
251
+ }, 8, ["class"])) : (0, vue.createCommentVNode)("v-if", true), (0, vue.createVNode)((0, vue.unref)(require_index$7.ElButton), {
252
252
  plain: "",
253
253
  size: "small",
254
254
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("footer", "btn")),
@@ -259,7 +259,7 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
259
259
  }, 8, ["class"])])]),
260
260
  _: 1
261
261
  }, 16)), [[
262
- (0, vue.unref)(require_index$7.default),
262
+ (0, vue.unref)(require_index.default),
263
263
  handleClickOutside,
264
264
  triggerRef.value
265
265
  ]])]),
@@ -284,10 +284,10 @@ var color_picker_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ (
284
284
  }, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "color"), (0, vue.unref)(ns).is("alpha", __props.showAlpha)]) }, [(0, vue.createElementVNode)("span", {
285
285
  class: (0, vue.normalizeClass)((0, vue.unref)(ns).be("picker", "color-inner")),
286
286
  style: (0, vue.normalizeStyle)({ backgroundColor: displayedColor.value })
287
- }, [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$4.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "icon"), (0, vue.unref)(ns).is("icon-arrow-down")]) }, {
287
+ }, [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$5.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "icon"), (0, vue.unref)(ns).is("icon-arrow-down")]) }, {
288
288
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.ArrowDown))]),
289
289
  _: 1
290
- }, 8, ["class"]), [[vue.vShow, __props.modelValue || showPanelColor.value]]), (0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$4.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "empty"), (0, vue.unref)(ns).is("icon-close")]) }, {
290
+ }, 8, ["class"]), [[vue.vShow, __props.modelValue || showPanelColor.value]]), (0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$5.ElIcon), { class: (0, vue.normalizeClass)([(0, vue.unref)(ns).be("picker", "empty"), (0, vue.unref)(ns).is("icon-close")]) }, {
291
291
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.Close))]),
292
292
  _: 1
293
293
  }, 8, ["class"]), [[vue.vShow, !__props.modelValue && !showPanelColor.value]])], 6)], 2)], 2)], 16, _hoisted_1)]),
@@ -1 +1 @@
1
- {"version":3,"file":"color-picker.vue_vue_type_script_setup_true_lang.js","names":["$attrs"],"sources":["../../../../../../packages/components/color-picker/src/color-picker.vue"],"sourcesContent":["<template>\n <el-tooltip\n ref=\"popper\"\n :visible=\"showPicker\"\n :show-arrow=\"false\"\n :fallback-placements=\"['bottom', 'top', 'right', 'left']\"\n :offset=\"0\"\n :gpu-acceleration=\"false\"\n :popper-class=\"[ns.be('picker', 'panel'), popperClass!]\"\n :popper-style=\"popperStyle\"\n :stop-popper-mouse-event=\"false\"\n pure\n loop\n role=\"dialog\"\n effect=\"light\"\n trigger=\"click\"\n :teleported=\"teleported\"\n :transition=\"`${ns.namespace.value}-zoom-in-top`\"\n :persistent=\"persistent\"\n :append-to=\"appendTo\"\n @show=\"handleShowTooltip\"\n @hide=\"setShowPicker(false)\"\n >\n <template #content>\n <el-color-picker-panel\n ref=\"pickerPanelRef\"\n v-bind=\"panelProps\"\n v-click-outside:[triggerRef]=\"handleClickOutside\"\n :border=\"false\"\n :validate-event=\"false\"\n @keydown.esc=\"handleEsc\"\n >\n <template #footer>\n <div>\n <el-button\n v-if=\"clearable\"\n :class=\"ns.be('footer', 'link-btn')\"\n text\n size=\"small\"\n @click=\"clear\"\n >\n {{ t('el.colorpicker.clear') }}\n </el-button>\n <el-button\n plain\n size=\"small\"\n :class=\"ns.be('footer', 'btn')\"\n @click=\"confirmValue\"\n >\n {{ t('el.colorpicker.confirm') }}\n </el-button>\n </div>\n </template>\n </el-color-picker-panel>\n </template>\n <template #default>\n <div\n :id=\"buttonId\"\n ref=\"triggerRef\"\n v-bind=\"$attrs\"\n :class=\"btnKls\"\n role=\"button\"\n :aria-label=\"buttonAriaLabel\"\n :aria-labelledby=\"buttonAriaLabelledby\"\n :aria-description=\"\n t('el.colorpicker.description', { color: modelValue || '' })\n \"\n :aria-disabled=\"colorDisabled\"\n :tabindex=\"colorDisabled ? undefined : tabindex\"\n @keydown=\"handleKeyDown\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n >\n <div :class=\"ns.be('picker', 'trigger')\" @click=\"handleTrigger\">\n <span :class=\"[ns.be('picker', 'color'), ns.is('alpha', showAlpha)]\">\n <span\n :class=\"ns.be('picker', 'color-inner')\"\n :style=\"{\n backgroundColor: displayedColor,\n }\"\n >\n <el-icon\n v-show=\"modelValue || showPanelColor\"\n :class=\"[ns.be('picker', 'icon'), ns.is('icon-arrow-down')]\"\n >\n <arrow-down />\n </el-icon>\n <el-icon\n v-show=\"!modelValue && !showPanelColor\"\n :class=\"[ns.be('picker', 'empty'), ns.is('icon-close')]\"\n >\n <close />\n </el-icon>\n </span>\n </span>\n </div>\n </div>\n </template>\n </el-tooltip>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, nextTick, provide, ref, watch } from 'vue'\nimport { debounce, pick } from 'lodash-unified'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { reactiveComputed } from '@vueuse/core'\nimport { ClickOutside as vClickOutside } from '@element-plus/directives'\nimport { ElTooltip } from '@element-plus/components/tooltip'\nimport { ElButton } from '@element-plus/components/button'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport {\n useEmptyValues,\n useFocusController,\n useLocale,\n useNamespace,\n} from '@element-plus/hooks'\nimport {\n CHANGE_EVENT,\n EVENT_CODE,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { NOOP, getEventCode } from '@element-plus/utils'\nimport { ArrowDown, Close } from '@element-plus/icons-vue'\nimport { colorPickerEmits, colorPickerPropsDefaults } from './color-picker'\nimport {\n ElColorPickerPanel,\n ROOT_COMMON_COLOR_INJECTION_KEY,\n colorPickerPanelProps,\n} from '@element-plus/components/color-picker-panel'\nimport Color from '@element-plus/components/color-picker-panel/src/utils/color'\nimport { useCommonColor } from '@element-plus/components/color-picker-panel/src/composables/use-common-color'\n\nimport type { ColorPickerPanelInstance } from '@element-plus/components/color-picker-panel'\nimport type { TooltipInstance } from '@element-plus/components/tooltip'\nimport type { ColorPickerProps } from './color-picker'\n\ndefineOptions({\n name: 'ElColorPicker',\n})\nconst props = withDefaults(\n defineProps<ColorPickerProps>(),\n colorPickerPropsDefaults\n)\n\nconst emit = defineEmits(colorPickerEmits)\n\nconst { t } = useLocale()\nconst ns = useNamespace('color')\nconst { formItem } = useFormItem()\nconst colorSize = useFormSize()\nconst colorDisabled = useFormDisabled()\nconst { valueOnClear, isEmptyValue } = useEmptyValues(props, null)\nconst commonColor = useCommonColor(props, emit)\nconst { inputId: buttonId, isLabeledByFormItem } = useFormItemInputId(props, {\n formItemContext: formItem,\n})\n\nconst popper = ref<TooltipInstance>()\nconst triggerRef = ref()\nconst pickerPanelRef = ref<ColorPickerPanelInstance>()\nconst showPicker = ref(false)\nconst showPanelColor = ref(false)\n\n// active-change is used to prevent modelValue changes from triggering.\nlet shouldActiveChange = true\n\nconst { isFocused, handleFocus, handleBlur } = useFocusController(triggerRef, {\n disabled: colorDisabled,\n beforeBlur(event) {\n return popper.value?.isFocusInsideContent(event)\n },\n afterBlur() {\n setShowPicker(false)\n resetColor()\n if (props.validateEvent) {\n formItem?.validate?.('blur').catch(NOOP)\n }\n },\n})\n\nconst color = reactiveComputed(\n () => pickerPanelRef.value?.color ?? commonColor.color\n) as Color\n\nconst panelProps = computed(() =>\n pick(props, Object.keys(colorPickerPanelProps))\n)\n\nconst displayedColor = computed(() => {\n if (!props.modelValue && !showPanelColor.value) {\n return 'transparent'\n }\n return displayedRgb(color, props.showAlpha)\n})\n\nconst currentColor = computed(() => {\n return !props.modelValue && !showPanelColor.value ? '' : color.value\n})\n\nconst buttonAriaLabel = computed<string | undefined>(() => {\n return !isLabeledByFormItem.value\n ? props.ariaLabel || t('el.colorpicker.defaultLabel')\n : undefined\n})\n\nconst buttonAriaLabelledby = computed<string | undefined>(() => {\n return isLabeledByFormItem.value ? formItem?.labelId : undefined\n})\n\nconst btnKls = computed(() => {\n return [\n ns.b('picker'),\n ns.is('disabled', colorDisabled.value),\n ns.bm('picker', colorSize.value),\n ns.is('focused', isFocused.value),\n ]\n})\n\nfunction displayedRgb(color: Color, showAlpha: boolean) {\n const { r, g, b, a } = color.toRgb()\n return showAlpha ? `rgba(${r}, ${g}, ${b}, ${a})` : `rgb(${r}, ${g}, ${b})`\n}\n\nfunction setShowPicker(value: boolean) {\n showPicker.value = value\n}\n\nconst debounceSetShowPicker = debounce(setShowPicker, 100, { leading: true })\nfunction show() {\n if (colorDisabled.value) return\n setShowPicker(true)\n}\n\nfunction hide() {\n debounceSetShowPicker(false)\n resetColor()\n}\n\nfunction resetColor() {\n nextTick(() => {\n if (props.modelValue) {\n color.fromString(props.modelValue)\n } else {\n color.value = ''\n nextTick(() => {\n showPanelColor.value = false\n })\n }\n })\n}\n\nfunction handleTrigger() {\n if (colorDisabled.value) return\n if (showPicker.value) {\n resetColor()\n }\n debounceSetShowPicker(!showPicker.value)\n}\n\nfunction confirmValue() {\n const value = isEmptyValue(color.value) ? valueOnClear.value : color.value\n emit(UPDATE_MODEL_EVENT, value)\n emit(CHANGE_EVENT, value)\n if (props.validateEvent) {\n formItem?.validate('change').catch(NOOP)\n }\n debounceSetShowPicker(false)\n // check if modelValue change, if not change, then reset color.\n nextTick(() => {\n const newColor = new Color({\n enableAlpha: props.showAlpha,\n format: props.colorFormat || '',\n value: props.modelValue,\n })\n if (!color.compare(newColor)) {\n resetColor()\n }\n })\n}\n\nfunction clear() {\n debounceSetShowPicker(false)\n emit(UPDATE_MODEL_EVENT, valueOnClear.value)\n emit(CHANGE_EVENT, valueOnClear.value)\n if (props.modelValue !== valueOnClear.value && props.validateEvent) {\n formItem?.validate('change').catch(NOOP)\n }\n resetColor()\n emit('clear')\n}\n\nfunction handleShowTooltip() {\n pickerPanelRef?.value?.inputRef?.focus()\n}\n\nfunction handleClickOutside() {\n if (!showPicker.value) return\n hide()\n isFocused.value && focus()\n}\n\nfunction handleEsc(event: KeyboardEvent) {\n event.preventDefault()\n event.stopPropagation()\n setShowPicker(false)\n resetColor()\n}\n\nfunction handleKeyDown(event: KeyboardEvent) {\n const code = getEventCode(event)\n\n switch (code) {\n case EVENT_CODE.enter:\n case EVENT_CODE.numpadEnter:\n case EVENT_CODE.space:\n event.preventDefault()\n event.stopPropagation()\n show()\n break\n case EVENT_CODE.esc:\n handleEsc(event)\n break\n }\n}\n\nfunction focus() {\n triggerRef.value.focus()\n}\n\nfunction blur() {\n triggerRef.value.blur()\n}\n\nwatch(\n () => currentColor.value,\n (val) => {\n shouldActiveChange && emit('activeChange', val)\n shouldActiveChange = true\n }\n)\n\nwatch(\n () => color.value,\n () => {\n if (!props.modelValue && !showPanelColor.value) {\n showPanelColor.value = true\n }\n }\n)\n\nwatch(\n () => props.modelValue,\n (newVal) => {\n if (!newVal) {\n showPanelColor.value = false\n } else if (newVal && newVal !== color.value) {\n shouldActiveChange = false\n color.fromString(newVal)\n }\n }\n)\n\nwatch(\n () => showPicker.value,\n () => {\n pickerPanelRef.value && nextTick(pickerPanelRef.value.update)\n }\n)\n\nprovide(ROOT_COMMON_COLOR_INJECTION_KEY, commonColor)\n\ndefineExpose({\n /**\n * @description current color object\n */\n color,\n /**\n * @description manually show ColorPicker\n */\n show,\n /**\n * @description manually hide ColorPicker\n */\n hide,\n /**\n * @description focus the input element\n */\n focus,\n /**\n * @description blur the input element\n */\n blur,\n})\n</script>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgJA,MAAM,QAAQ;EAKd,MAAM,OAAO;EAEb,MAAM,EAAE,MAAM,yBAAU;EACxB,MAAM,KAAK,6BAAa,QAAO;EAC/B,MAAM,EAAE,aAAa,mCAAY;EACjC,MAAM,YAAY,2CAAY;EAC9B,MAAM,gBAAgB,+CAAgB;EACtC,MAAM,EAAE,cAAc,iBAAiB,+BAAe,OAAO,KAAI;EACjE,MAAM,cAAc,wCAAe,OAAO,KAAI;EAC9C,MAAM,EAAE,SAAS,UAAU,wBAAwB,yCAAmB,OAAO,EAC3E,iBAAiB,UAClB,CAAA;EAED,MAAM,uBAA8B;EACpC,MAAM,2BAAiB;EACvB,MAAM,+BAA+C;EACrD,MAAM,0BAAiB,MAAK;EAC5B,MAAM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AAA,CAAA;KACZ,+BAAK,mBAAqC,eAAA;oEASjC,uBAAA,EAAA,EAHP,+BAAK,gBAAG,GAAE,CAAC,GAAE,UAAA,OAAA,iBAAoB,GAAE,CAAC,GAAE,kBAAA,CAAA,CAAA;qCAEzB,qCAAA,kCAAA,CAAA;;mCAHN,QAAA,cAAc,eAAA,MAAc,gEAU5B,uBAAA,EAAA,EAHP,+BAAK,gBAAG,GAAE,CAAC,GAAE,UAAA,QAAA,iBAAqB,GAAE,CAAC,GAAE,aAAA,CAAA,CAAA;qCAE/B,qCAAA,8BAAA,CAAA;;oCAHA,QAAA,cAAU,CAAK,eAAA,MAAc"}
1
+ {"version":3,"file":"color-picker.vue_vue_type_script_setup_true_lang.js","names":["$attrs"],"sources":["../../../../../../packages/components/color-picker/src/color-picker.vue"],"sourcesContent":["<template>\n <el-tooltip\n ref=\"popper\"\n :visible=\"showPicker\"\n :show-arrow=\"false\"\n :fallback-placements=\"['bottom', 'top', 'right', 'left']\"\n :offset=\"0\"\n :gpu-acceleration=\"false\"\n :popper-class=\"[ns.be('picker', 'panel'), popperClass!]\"\n :popper-style=\"popperStyle\"\n :stop-popper-mouse-event=\"false\"\n pure\n loop\n role=\"dialog\"\n effect=\"light\"\n trigger=\"click\"\n :teleported=\"teleported\"\n :transition=\"`${ns.namespace.value}-zoom-in-top`\"\n :persistent=\"persistent\"\n :append-to=\"appendTo\"\n @show=\"handleShowTooltip\"\n @hide=\"setShowPicker(false)\"\n >\n <template #content>\n <el-color-picker-panel\n ref=\"pickerPanelRef\"\n v-bind=\"panelProps\"\n v-click-outside:[triggerRef]=\"handleClickOutside\"\n :border=\"false\"\n :validate-event=\"false\"\n @keydown.esc=\"handleEsc\"\n >\n <template #footer>\n <div>\n <el-button\n v-if=\"clearable\"\n :class=\"ns.be('footer', 'link-btn')\"\n text\n size=\"small\"\n @click=\"clear\"\n >\n {{ t('el.colorpicker.clear') }}\n </el-button>\n <el-button\n plain\n size=\"small\"\n :class=\"ns.be('footer', 'btn')\"\n @click=\"confirmValue\"\n >\n {{ t('el.colorpicker.confirm') }}\n </el-button>\n </div>\n </template>\n </el-color-picker-panel>\n </template>\n <template #default>\n <div\n :id=\"buttonId\"\n ref=\"triggerRef\"\n v-bind=\"$attrs\"\n :class=\"btnKls\"\n role=\"button\"\n :aria-label=\"buttonAriaLabel\"\n :aria-labelledby=\"buttonAriaLabelledby\"\n :aria-description=\"\n t('el.colorpicker.description', { color: modelValue || '' })\n \"\n :aria-disabled=\"colorDisabled\"\n :tabindex=\"colorDisabled ? undefined : tabindex\"\n @keydown=\"handleKeyDown\"\n @focus=\"handleFocus\"\n @blur=\"handleBlur\"\n >\n <div :class=\"ns.be('picker', 'trigger')\" @click=\"handleTrigger\">\n <span :class=\"[ns.be('picker', 'color'), ns.is('alpha', showAlpha)]\">\n <span\n :class=\"ns.be('picker', 'color-inner')\"\n :style=\"{\n backgroundColor: displayedColor,\n }\"\n >\n <el-icon\n v-show=\"modelValue || showPanelColor\"\n :class=\"[ns.be('picker', 'icon'), ns.is('icon-arrow-down')]\"\n >\n <arrow-down />\n </el-icon>\n <el-icon\n v-show=\"!modelValue && !showPanelColor\"\n :class=\"[ns.be('picker', 'empty'), ns.is('icon-close')]\"\n >\n <close />\n </el-icon>\n </span>\n </span>\n </div>\n </div>\n </template>\n </el-tooltip>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed, nextTick, provide, ref, watch } from 'vue'\nimport { debounce, pick } from 'lodash-unified'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { reactiveComputed } from '@vueuse/core'\nimport { ClickOutside as vClickOutside } from '@element-plus/directives'\nimport { ElTooltip } from '@element-plus/components/tooltip'\nimport { ElButton } from '@element-plus/components/button'\nimport {\n useFormDisabled,\n useFormItem,\n useFormItemInputId,\n useFormSize,\n} from '@element-plus/components/form'\nimport {\n useEmptyValues,\n useFocusController,\n useLocale,\n useNamespace,\n} from '@element-plus/hooks'\nimport {\n CHANGE_EVENT,\n EVENT_CODE,\n UPDATE_MODEL_EVENT,\n} from '@element-plus/constants'\nimport { NOOP, getEventCode } from '@element-plus/utils'\nimport { ArrowDown, Close } from '@element-plus/icons-vue'\nimport { colorPickerEmits, colorPickerPropsDefaults } from './color-picker'\nimport {\n ElColorPickerPanel,\n ROOT_COMMON_COLOR_INJECTION_KEY,\n colorPickerPanelProps,\n} from '@element-plus/components/color-picker-panel'\nimport Color from '@element-plus/components/color-picker-panel/src/utils/color'\nimport { useCommonColor } from '@element-plus/components/color-picker-panel/src/composables/use-common-color'\n\nimport type { ColorPickerPanelInstance } from '@element-plus/components/color-picker-panel'\nimport type { TooltipInstance } from '@element-plus/components/tooltip'\nimport type { ColorPickerProps } from './color-picker'\n\ndefineOptions({\n name: 'ElColorPicker',\n})\nconst props = withDefaults(\n defineProps<ColorPickerProps>(),\n colorPickerPropsDefaults\n)\n\nconst emit = defineEmits(colorPickerEmits)\n\nconst { t } = useLocale()\nconst ns = useNamespace('color')\nconst { formItem } = useFormItem()\nconst colorSize = useFormSize()\nconst colorDisabled = useFormDisabled()\nconst { valueOnClear, isEmptyValue } = useEmptyValues(props, null)\nconst commonColor = useCommonColor(props, emit)\nconst { inputId: buttonId, isLabeledByFormItem } = useFormItemInputId(props, {\n formItemContext: formItem,\n})\n\nconst popper = ref<TooltipInstance>()\nconst triggerRef = ref()\nconst pickerPanelRef = ref<ColorPickerPanelInstance>()\nconst showPicker = ref(false)\nconst showPanelColor = ref(false)\n\n// active-change is used to prevent modelValue changes from triggering.\nlet shouldActiveChange = true\n\nconst { isFocused, handleFocus, handleBlur } = useFocusController(triggerRef, {\n disabled: colorDisabled,\n beforeBlur(event) {\n return popper.value?.isFocusInsideContent(event)\n },\n afterBlur() {\n setShowPicker(false)\n resetColor()\n if (props.validateEvent) {\n formItem?.validate?.('blur').catch(NOOP)\n }\n },\n})\n\nconst color = reactiveComputed(\n () => pickerPanelRef.value?.color ?? commonColor.color\n) as Color\n\nconst panelProps = computed(() =>\n pick(props, Object.keys(colorPickerPanelProps))\n)\n\nconst displayedColor = computed(() => {\n if (!props.modelValue && !showPanelColor.value) {\n return 'transparent'\n }\n return displayedRgb(color, props.showAlpha)\n})\n\nconst currentColor = computed(() => {\n return !props.modelValue && !showPanelColor.value ? '' : color.value\n})\n\nconst buttonAriaLabel = computed<string | undefined>(() => {\n return !isLabeledByFormItem.value\n ? props.ariaLabel || t('el.colorpicker.defaultLabel')\n : undefined\n})\n\nconst buttonAriaLabelledby = computed<string | undefined>(() => {\n return isLabeledByFormItem.value ? formItem?.labelId : undefined\n})\n\nconst btnKls = computed(() => {\n return [\n ns.b('picker'),\n ns.is('disabled', colorDisabled.value),\n ns.bm('picker', colorSize.value),\n ns.is('focused', isFocused.value),\n ]\n})\n\nfunction displayedRgb(color: Color, showAlpha: boolean) {\n const { r, g, b, a } = color.toRgb()\n return showAlpha ? `rgba(${r}, ${g}, ${b}, ${a})` : `rgb(${r}, ${g}, ${b})`\n}\n\nfunction setShowPicker(value: boolean) {\n showPicker.value = value\n}\n\nconst debounceSetShowPicker = debounce(setShowPicker, 100, { leading: true })\nfunction show() {\n if (colorDisabled.value) return\n setShowPicker(true)\n}\n\nfunction hide() {\n debounceSetShowPicker(false)\n resetColor()\n}\n\nfunction resetColor() {\n nextTick(() => {\n if (props.modelValue) {\n color.fromString(props.modelValue)\n } else {\n color.value = ''\n nextTick(() => {\n showPanelColor.value = false\n })\n }\n })\n}\n\nfunction handleTrigger() {\n if (colorDisabled.value) return\n if (showPicker.value) {\n resetColor()\n }\n debounceSetShowPicker(!showPicker.value)\n}\n\nfunction confirmValue() {\n const value = isEmptyValue(color.value) ? valueOnClear.value : color.value\n emit(UPDATE_MODEL_EVENT, value)\n emit(CHANGE_EVENT, value)\n if (props.validateEvent) {\n formItem?.validate('change').catch(NOOP)\n }\n debounceSetShowPicker(false)\n // check if modelValue change, if not change, then reset color.\n nextTick(() => {\n const newColor = new Color({\n enableAlpha: props.showAlpha,\n format: props.colorFormat || '',\n value: props.modelValue,\n })\n if (!color.compare(newColor)) {\n resetColor()\n }\n })\n}\n\nfunction clear() {\n debounceSetShowPicker(false)\n emit(UPDATE_MODEL_EVENT, valueOnClear.value)\n emit(CHANGE_EVENT, valueOnClear.value)\n if (props.modelValue !== valueOnClear.value && props.validateEvent) {\n formItem?.validate('change').catch(NOOP)\n }\n resetColor()\n emit('clear')\n}\n\nfunction handleShowTooltip() {\n pickerPanelRef?.value?.inputRef?.focus()\n}\n\nfunction handleClickOutside() {\n if (!showPicker.value) return\n hide()\n isFocused.value && focus()\n}\n\nfunction handleEsc(event: KeyboardEvent) {\n event.preventDefault()\n event.stopPropagation()\n setShowPicker(false)\n resetColor()\n}\n\nfunction handleKeyDown(event: KeyboardEvent) {\n const code = getEventCode(event)\n\n switch (code) {\n case EVENT_CODE.enter:\n case EVENT_CODE.numpadEnter:\n case EVENT_CODE.space:\n event.preventDefault()\n event.stopPropagation()\n show()\n break\n case EVENT_CODE.esc:\n handleEsc(event)\n break\n }\n}\n\nfunction focus() {\n triggerRef.value.focus()\n}\n\nfunction blur() {\n triggerRef.value.blur()\n}\n\nwatch(\n () => currentColor.value,\n (val) => {\n shouldActiveChange && emit('activeChange', val)\n shouldActiveChange = true\n }\n)\n\nwatch(\n () => color.value,\n () => {\n if (!props.modelValue && !showPanelColor.value) {\n showPanelColor.value = true\n }\n }\n)\n\nwatch(\n () => props.modelValue,\n (newVal) => {\n if (!newVal) {\n showPanelColor.value = false\n } else if (newVal && newVal !== color.value) {\n shouldActiveChange = false\n color.fromString(newVal)\n }\n }\n)\n\nwatch(\n () => showPicker.value,\n () => {\n pickerPanelRef.value && nextTick(pickerPanelRef.value.update)\n }\n)\n\nprovide(ROOT_COMMON_COLOR_INJECTION_KEY, commonColor)\n\ndefineExpose({\n /**\n * @description current color object\n */\n color,\n /**\n * @description manually show ColorPicker\n */\n show,\n /**\n * @description manually hide ColorPicker\n */\n hide,\n /**\n * @description focus the input element\n */\n focus,\n /**\n * @description blur the input element\n */\n blur,\n})\n</script>\n"],"mappings":";;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wC,QAAA,cAAU,IAAA,CAAA;KAGhF,gCAAe,cAAa;KAC5B,yBAAU,cAAa,GAAG,SAAY,QAAA;KACtC,WAAS;KACT,SAAK,OAAA,OAAA,OAAA,iCAAE,YAAA,mBAAA,YAAA,CAAA,GAAA,KAAW;KAClB,QAAI,OAAA,OAAA,OAAA,iCAAE,WAAA,mBAAA,WAAA,CAAA,GAAA,KAAU;qCAwBX,OAAA;KAtBA,8CAAO,GAAE,CAAC,GAAE,UAAA,UAAA,CAAA;KAAwB,SAAO;oCAqBxC,QAAA,EApBA,+BAAK,gBAAG,GAAE,CAAC,GAAE,UAAA,QAAA,iBAAqB,GAAE,CAAC,GAAE,SAAU,QAAA,UAAS,CAAA,CAAA,iCAmBxD,QAAA;KAjBJ,8CAAO,GAAE,CAAC,GAAE,UAAA,cAAA,CAAA;KACZ,+BAAK,mBAAqC,eAAA;oEASjC,uBAAA,EAAA,EAHP,+BAAK,gBAAG,GAAE,CAAC,GAAE,UAAA,OAAA,iBAAoB,GAAE,CAAC,GAAE,kBAAA,CAAA,CAAA;qCAEzB,qCAAA,kCAAA,CAAA;;mCAHN,QAAA,cAAc,eAAA,MAAc,gEAU5B,uBAAA,EAAA,EAHP,+BAAK,gBAAG,GAAE,CAAC,GAAE,UAAA,QAAA,iBAAqB,GAAE,CAAC,GAAE,aAAA,CAAA,CAAA;qCAE/B,qCAAA,8BAAA,CAAA;;oCAHA,QAAA,cAAU,CAAK,eAAA,MAAc"}
@@ -33,7 +33,7 @@ declare function useGlobalComponentSettings(block: string, sizeFallback?: MaybeR
33
33
  currentZIndex: vue.ComputedRef<number>;
34
34
  nextZIndex: () => number;
35
35
  };
36
- size: vue.ComputedRef<"default" | "" | "large" | "small">;
36
+ size: vue.ComputedRef<"" | "default" | "large" | "small">;
37
37
  };
38
38
  declare const provideGlobalConfig: (config: MaybeRef<ConfigProviderContext>, app?: App, global?: boolean) => vue.ComputedRef<Partial<ConfigProviderProps>> | undefined;
39
39
  //#endregion
@@ -11,11 +11,11 @@ declare const __VLS_base: vue.DefineComponent<CountdownProps, {
11
11
  */
12
12
  displayValue: vue.ComputedRef<string>;
13
13
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
14
- finish: () => void;
15
14
  change: (value: number) => void;
15
+ finish: () => void;
16
16
  }, string, vue.PublicProps, Readonly<CountdownProps> & Readonly<{
17
- onFinish?: (() => any) | undefined;
18
17
  onChange?: ((value: number) => any) | undefined;
18
+ onFinish?: (() => any) | undefined;
19
19
  }>, {
20
20
  value: number | dayjs$1.Dayjs;
21
21
  format: string;
@@ -1,8 +1,8 @@
1
1
  const require_runtime = require('../../../_virtual/_rolldown/runtime.js');
2
2
  const require_event = require('../../../constants/event.js');
3
3
  const require_raf = require('../../../utils/raf.js');
4
- const require_countdown = require('./countdown.js');
5
4
  const require_index = require('../../statistic/index.js');
5
+ const require_countdown = require('./countdown.js');
6
6
  const require_utils = require('./utils.js');
7
7
  let vue = require("vue");
8
8
 
@@ -36,7 +36,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
36
36
  readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
37
37
  readonly unlinkPanels: BooleanConstructor;
38
38
  readonly singlePanel: BooleanConstructor;
39
- readonly placement: EpPropFinalized<(new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
39
+ readonly placement: EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
40
40
  readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
41
41
  readonly disabledHours: {
42
42
  readonly type: vue.PropType<GetDisabledHours>;
@@ -235,7 +235,7 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
235
235
  readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
236
236
  readonly unlinkPanels: BooleanConstructor;
237
237
  readonly singlePanel: BooleanConstructor;
238
- readonly placement: EpPropFinalized<(new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
238
+ readonly placement: EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
239
239
  readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
240
240
  readonly disabledHours: {
241
241
  readonly type: vue.PropType<GetDisabledHours>;
@@ -410,20 +410,20 @@ declare const _default: vue.DefineComponent<vue.ExtractPropTypes<{
410
410
  }>> & Readonly<{
411
411
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
412
412
  }>, {
413
+ readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
413
414
  readonly type: EpPropMergeType<(new (...args: any[]) => "year" | "months" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType) | (((new (...args: any[]) => "year" | "months" | "years" | "month" | "date" | "dates" | "week" | "datetime" | "datetimerange" | "daterange" | "monthrange" | "yearrange") | (() => DatePickerType)) | null)[], unknown, unknown>;
414
415
  readonly disabled: EpPropMergeType<BooleanConstructor, unknown, unknown>;
415
416
  readonly placeholder: string;
416
- readonly popperStyle: vue.StyleValue;
417
- readonly fallbackPlacements: Placement[];
418
- readonly placement: EpPropMergeType<(new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
419
- readonly popperOptions: Partial<Options>;
420
- readonly modelValue: EpPropMergeType<(new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null) | (((new (...args: any[]) => string | number | string[] | Date | number[] | Date[]) | (() => ModelValueType | null)) | null)[], unknown, unknown>;
421
- readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
422
417
  readonly readonly: boolean;
423
418
  readonly clearable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
424
419
  readonly clearIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
425
420
  readonly prefixIcon: EpPropMergeType<(new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component) | (((new (...args: any[]) => (string | vue.Component) & {}) | (() => string | vue.Component)) | null)[], unknown, unknown>;
426
421
  readonly tabindex: EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>;
422
+ readonly validateEvent: EpPropMergeType<BooleanConstructor, unknown, unknown>;
423
+ readonly popperStyle: vue.StyleValue;
424
+ readonly fallbackPlacements: Placement[];
425
+ readonly placement: EpPropMergeType<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown>;
426
+ readonly popperOptions: Partial<Options>;
427
427
  readonly valueOnClear: EpPropMergeType<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown>;
428
428
  readonly automaticDropdown: EpPropMergeType<BooleanConstructor, unknown, unknown>;
429
429
  readonly editable: EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -35,7 +35,7 @@ declare const datePickerProps: {
35
35
  readonly validateEvent: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
36
36
  readonly unlinkPanels: BooleanConstructor;
37
37
  readonly singlePanel: BooleanConstructor;
38
- readonly placement: EpPropFinalized<(new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "bottom" | "auto" | "auto-start" | "auto-end" | "top" | "right" | "left" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
38
+ readonly placement: EpPropFinalized<(new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement) | (((new (...args: any[]) => "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => Placement)) | null)[], Placement, unknown, "bottom", boolean>;
39
39
  readonly fallbackPlacements: EpPropFinalized<(new (...args: any[]) => Placement[]) | (() => Placement[]) | (((new (...args: any[]) => Placement[]) | (() => Placement[])) | null)[], unknown, unknown, readonly ["bottom", "top", "right", "left"], boolean>;
40
40
  readonly disabledHours: {
41
41
  readonly type: vue.PropType<GetDisabledHours>;
@@ -2,15 +2,15 @@ const require_runtime = require('../../../../_virtual/_rolldown/runtime.js');
2
2
  const require_aria = require('../../../../constants/aria.js');
3
3
  const require_event = require('../../../../utils/dom/event.js');
4
4
  const require_arrays = require('../../../../utils/arrays.js');
5
- const require_index = require('../../../../hooks/use-locale/index.js');
6
- const require_index$1 = require('../../../../hooks/use-namespace/index.js');
7
- const require_index$2 = require('../../../icon/index.js');
5
+ const require_index = require('../../../../directives/click-outside/index.js');
6
+ const require_index$1 = require('../../../../hooks/use-locale/index.js');
7
+ const require_index$2 = require('../../../../hooks/use-namespace/index.js');
8
+ const require_index$3 = require('../../../icon/index.js');
8
9
  const require_use_form_common_props = require('../../../form/src/hooks/use-form-common-props.js');
9
- const require_index$3 = require('../../../input/index.js');
10
- const require_index$4 = require('../../../button/index.js');
10
+ const require_index$4 = require('../../../input/index.js');
11
+ const require_index$5 = require('../../../button/index.js');
11
12
  const require_constants = require('../../../time-picker/src/constants.js');
12
13
  const require_utils = require('../../../time-picker/src/utils.js');
13
- const require_index$5 = require('../../../../directives/click-outside/index.js');
14
14
  const require_panel_time_pick = require('../../../time-picker/src/time-picker-com/panel-time-pick.js');
15
15
  const require_constants$1 = require('../constants.js');
16
16
  const require_panel_date_pick = require('../props/panel-date-pick.js');
@@ -44,11 +44,11 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
44
44
  const timeWithinRange = (_, __, ___) => true;
45
45
  const props = __props;
46
46
  const contextEmit = __emit;
47
- const ppNs = require_index$1.useNamespace("picker-panel");
48
- const dpNs = require_index$1.useNamespace("date-picker");
47
+ const ppNs = require_index$2.useNamespace("picker-panel");
48
+ const dpNs = require_index$2.useNamespace("date-picker");
49
49
  const attrs = (0, vue.useAttrs)();
50
50
  const slots = (0, vue.useSlots)();
51
- const { t, lang } = require_index.useLocale();
51
+ const { t, lang } = require_index$1.useLocale();
52
52
  const pickerBase = (0, vue.inject)(require_constants.PICKER_BASE_INJECTION_KEY);
53
53
  const isDefaultFormat = (0, vue.inject)(require_constants$1.ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY, void 0);
54
54
  const { shortcuts, disabledDate, cellClassName, defaultTime } = pickerBase.props;
@@ -456,7 +456,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
456
456
  showTime.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
457
457
  key: 0,
458
458
  class: (0, vue.normalizeClass)((0, vue.unref)(dpNs).e("time-header"))
459
- }, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)((0, vue.unref)(dpNs).e("editor-wrap")) }, [(0, vue.createVNode)((0, vue.unref)(require_index$3.ElInput), {
459
+ }, [(0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)((0, vue.unref)(dpNs).e("editor-wrap")) }, [(0, vue.createVNode)((0, vue.unref)(require_index$4.ElInput), {
460
460
  placeholder: (0, vue.unref)(t)("el.datepicker.selectDate"),
461
461
  "model-value": visibleDate.value,
462
462
  size: "small",
@@ -470,7 +470,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
470
470
  "model-value",
471
471
  "disabled",
472
472
  "readonly"
473
- ])], 2), (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("span", { class: (0, vue.normalizeClass)((0, vue.unref)(dpNs).e("editor-wrap")) }, [(0, vue.createVNode)((0, vue.unref)(require_index$3.ElInput), {
473
+ ])], 2), (0, vue.withDirectives)(((0, vue.openBlock)(), (0, vue.createElementBlock)("span", { class: (0, vue.normalizeClass)((0, vue.unref)(dpNs).e("editor-wrap")) }, [(0, vue.createVNode)((0, vue.unref)(require_index$4.ElInput), {
474
474
  placeholder: (0, vue.unref)(t)("el.datepicker.selectTime"),
475
475
  "model-value": visibleTime.value,
476
476
  size: "small",
@@ -494,7 +494,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
494
494
  "visible",
495
495
  "format",
496
496
  "parsed-value"
497
- ])], 2)), [[(0, vue.unref)(require_index$5.default), handleTimePickClose]])], 2)) : (0, vue.createCommentVNode)("v-if", true),
497
+ ])], 2)), [[(0, vue.unref)(require_index.default), handleTimePickClose]])], 2)) : (0, vue.createCommentVNode)("v-if", true),
498
498
  (0, vue.withDirectives)((0, vue.createElementVNode)("div", { class: (0, vue.normalizeClass)([(0, vue.unref)(dpNs).e("header"), (currentView.value === "year" || currentView.value === "month") && (0, vue.unref)(dpNs).em("header", "bordered")]) }, [
499
499
  (0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)((0, vue.unref)(dpNs).e("prev-btn")) }, [(0, vue.createElementVNode)("button", {
500
500
  type: "button",
@@ -502,7 +502,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
502
502
  class: (0, vue.normalizeClass)(["d-arrow-left", (0, vue.unref)(ppNs).e("icon-btn")]),
503
503
  disabled: (0, vue.unref)(dateDisabled),
504
504
  onClick: _cache[2] || (_cache[2] = ($event) => moveByYear(false))
505
- }, [(0, vue.renderSlot)(_ctx.$slots, "prev-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$2.ElIcon), null, {
505
+ }, [(0, vue.renderSlot)(_ctx.$slots, "prev-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$3.ElIcon), null, {
506
506
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.DArrowLeft))]),
507
507
  _: 1
508
508
  })])], 10, _hoisted_2), (0, vue.withDirectives)((0, vue.createElementVNode)("button", {
@@ -511,7 +511,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
511
511
  class: (0, vue.normalizeClass)([(0, vue.unref)(ppNs).e("icon-btn"), "arrow-left"]),
512
512
  disabled: (0, vue.unref)(dateDisabled),
513
513
  onClick: _cache[3] || (_cache[3] = ($event) => moveByMonth(false))
514
- }, [(0, vue.renderSlot)(_ctx.$slots, "prev-month", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$2.ElIcon), null, {
514
+ }, [(0, vue.renderSlot)(_ctx.$slots, "prev-month", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$3.ElIcon), null, {
515
515
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.ArrowLeft))]),
516
516
  _: 1
517
517
  })])], 10, _hoisted_3), [[vue.vShow, currentView.value === "date"]])], 2),
@@ -539,7 +539,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
539
539
  class: (0, vue.normalizeClass)([(0, vue.unref)(ppNs).e("icon-btn"), "arrow-right"]),
540
540
  disabled: (0, vue.unref)(dateDisabled),
541
541
  onClick: _cache[8] || (_cache[8] = ($event) => moveByMonth(true))
542
- }, [(0, vue.renderSlot)(_ctx.$slots, "next-month", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$2.ElIcon), null, {
542
+ }, [(0, vue.renderSlot)(_ctx.$slots, "next-month", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$3.ElIcon), null, {
543
543
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.ArrowRight))]),
544
544
  _: 1
545
545
  })])], 10, _hoisted_6), [[vue.vShow, currentView.value === "date"]]), (0, vue.createElementVNode)("button", {
@@ -548,7 +548,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
548
548
  class: (0, vue.normalizeClass)([(0, vue.unref)(ppNs).e("icon-btn"), "d-arrow-right"]),
549
549
  disabled: (0, vue.unref)(dateDisabled),
550
550
  onClick: _cache[9] || (_cache[9] = ($event) => moveByYear(true))
551
- }, [(0, vue.renderSlot)(_ctx.$slots, "next-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$2.ElIcon), null, {
551
+ }, [(0, vue.renderSlot)(_ctx.$slots, "next-year", {}, () => [(0, vue.createVNode)((0, vue.unref)(require_index$3.ElIcon), null, {
552
552
  default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(_element_plus_icons_vue.DArrowRight))]),
553
553
  _: 1
554
554
  })])], 10, _hoisted_7)], 2)
@@ -621,7 +621,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
621
621
  ], 2), _ctx.showFooter && footerVisible.value && footerFilled.value ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", {
622
622
  key: 0,
623
623
  class: (0, vue.normalizeClass)((0, vue.unref)(ppNs).e("footer"))
624
- }, [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$4.ElButton), {
624
+ }, [(0, vue.withDirectives)((0, vue.createVNode)((0, vue.unref)(require_index$5.ElButton), {
625
625
  text: "",
626
626
  size: "small",
627
627
  class: (0, vue.normalizeClass)((0, vue.unref)(ppNs).e("link-btn")),
@@ -630,7 +630,7 @@ var panel_date_pick_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ *
630
630
  }, {
631
631
  default: (0, vue.withCtx)(() => [(0, vue.createTextVNode)((0, vue.toDisplayString)((0, vue.unref)(t)("el.datepicker.now")), 1)]),
632
632
  _: 1
633
- }, 8, ["class", "disabled"]), [[vue.vShow, !isMultipleType.value && _ctx.showNow]]), _ctx.showConfirm ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$4.ElButton), {
633
+ }, 8, ["class", "disabled"]), [[vue.vShow, !isMultipleType.value && _ctx.showNow]]), _ctx.showConfirm ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_index$5.ElButton), {
634
634
  key: 0,
635
635
  plain: "",
636
636
  size: "small",