@element-plus/nightly 0.0.20221019 → 0.0.20221021

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 (430) hide show
  1. package/dist/index.full.js +815 -774
  2. package/dist/index.full.min.js +20 -20
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +21 -21
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +815 -774
  7. package/dist/locale/af.js +1 -1
  8. package/dist/locale/af.min.js +1 -1
  9. package/dist/locale/af.min.mjs +1 -1
  10. package/dist/locale/af.mjs +1 -1
  11. package/dist/locale/ar.js +1 -1
  12. package/dist/locale/ar.min.js +1 -1
  13. package/dist/locale/ar.min.mjs +1 -1
  14. package/dist/locale/ar.mjs +1 -1
  15. package/dist/locale/az.js +1 -1
  16. package/dist/locale/az.min.js +1 -1
  17. package/dist/locale/az.min.mjs +1 -1
  18. package/dist/locale/az.mjs +1 -1
  19. package/dist/locale/bg.js +1 -1
  20. package/dist/locale/bg.min.js +1 -1
  21. package/dist/locale/bg.min.mjs +1 -1
  22. package/dist/locale/bg.mjs +1 -1
  23. package/dist/locale/bn.js +1 -1
  24. package/dist/locale/bn.min.js +1 -1
  25. package/dist/locale/bn.min.mjs +1 -1
  26. package/dist/locale/bn.mjs +1 -1
  27. package/dist/locale/ca.js +1 -1
  28. package/dist/locale/ca.min.js +1 -1
  29. package/dist/locale/ca.min.mjs +1 -1
  30. package/dist/locale/ca.mjs +1 -1
  31. package/dist/locale/cs.js +1 -1
  32. package/dist/locale/cs.min.js +1 -1
  33. package/dist/locale/cs.min.mjs +1 -1
  34. package/dist/locale/cs.mjs +1 -1
  35. package/dist/locale/da.js +1 -1
  36. package/dist/locale/da.min.js +1 -1
  37. package/dist/locale/da.min.mjs +1 -1
  38. package/dist/locale/da.mjs +1 -1
  39. package/dist/locale/de.js +1 -1
  40. package/dist/locale/de.min.js +1 -1
  41. package/dist/locale/de.min.mjs +1 -1
  42. package/dist/locale/de.mjs +1 -1
  43. package/dist/locale/el.js +1 -1
  44. package/dist/locale/el.min.js +1 -1
  45. package/dist/locale/el.min.mjs +1 -1
  46. package/dist/locale/el.mjs +1 -1
  47. package/dist/locale/en.js +1 -1
  48. package/dist/locale/en.min.js +1 -1
  49. package/dist/locale/en.min.mjs +1 -1
  50. package/dist/locale/en.mjs +1 -1
  51. package/dist/locale/eo.js +1 -1
  52. package/dist/locale/eo.min.js +1 -1
  53. package/dist/locale/eo.min.mjs +1 -1
  54. package/dist/locale/eo.mjs +1 -1
  55. package/dist/locale/es.js +1 -1
  56. package/dist/locale/es.min.js +1 -1
  57. package/dist/locale/es.min.mjs +1 -1
  58. package/dist/locale/es.mjs +1 -1
  59. package/dist/locale/et.js +1 -1
  60. package/dist/locale/et.min.js +1 -1
  61. package/dist/locale/et.min.mjs +1 -1
  62. package/dist/locale/et.mjs +1 -1
  63. package/dist/locale/eu.js +1 -1
  64. package/dist/locale/eu.min.js +1 -1
  65. package/dist/locale/eu.min.mjs +1 -1
  66. package/dist/locale/eu.mjs +1 -1
  67. package/dist/locale/fa.js +1 -1
  68. package/dist/locale/fa.min.js +1 -1
  69. package/dist/locale/fa.min.mjs +1 -1
  70. package/dist/locale/fa.mjs +1 -1
  71. package/dist/locale/fi.js +1 -1
  72. package/dist/locale/fi.min.js +1 -1
  73. package/dist/locale/fi.min.mjs +1 -1
  74. package/dist/locale/fi.mjs +1 -1
  75. package/dist/locale/fr.js +1 -1
  76. package/dist/locale/fr.min.js +1 -1
  77. package/dist/locale/fr.min.mjs +1 -1
  78. package/dist/locale/fr.mjs +1 -1
  79. package/dist/locale/he.js +1 -1
  80. package/dist/locale/he.min.js +1 -1
  81. package/dist/locale/he.min.mjs +1 -1
  82. package/dist/locale/he.mjs +1 -1
  83. package/dist/locale/hr.js +1 -1
  84. package/dist/locale/hr.min.js +1 -1
  85. package/dist/locale/hr.min.mjs +1 -1
  86. package/dist/locale/hr.mjs +1 -1
  87. package/dist/locale/hu.js +1 -1
  88. package/dist/locale/hu.min.js +1 -1
  89. package/dist/locale/hu.min.mjs +1 -1
  90. package/dist/locale/hu.mjs +1 -1
  91. package/dist/locale/hy-am.js +1 -1
  92. package/dist/locale/hy-am.min.js +1 -1
  93. package/dist/locale/hy-am.min.mjs +1 -1
  94. package/dist/locale/hy-am.mjs +1 -1
  95. package/dist/locale/id.js +1 -1
  96. package/dist/locale/id.min.js +1 -1
  97. package/dist/locale/id.min.mjs +1 -1
  98. package/dist/locale/id.mjs +1 -1
  99. package/dist/locale/it.js +1 -1
  100. package/dist/locale/it.min.js +1 -1
  101. package/dist/locale/it.min.mjs +1 -1
  102. package/dist/locale/it.mjs +1 -1
  103. package/dist/locale/ja.js +1 -1
  104. package/dist/locale/ja.min.js +1 -1
  105. package/dist/locale/ja.min.mjs +1 -1
  106. package/dist/locale/ja.mjs +1 -1
  107. package/dist/locale/kk.js +1 -1
  108. package/dist/locale/kk.min.js +1 -1
  109. package/dist/locale/kk.min.mjs +1 -1
  110. package/dist/locale/kk.mjs +1 -1
  111. package/dist/locale/km.js +1 -1
  112. package/dist/locale/km.min.js +1 -1
  113. package/dist/locale/km.min.mjs +1 -1
  114. package/dist/locale/km.mjs +1 -1
  115. package/dist/locale/ko.js +1 -1
  116. package/dist/locale/ko.min.js +1 -1
  117. package/dist/locale/ko.min.mjs +1 -1
  118. package/dist/locale/ko.mjs +1 -1
  119. package/dist/locale/ku.js +1 -1
  120. package/dist/locale/ku.min.js +1 -1
  121. package/dist/locale/ku.min.mjs +1 -1
  122. package/dist/locale/ku.mjs +1 -1
  123. package/dist/locale/ky.js +1 -1
  124. package/dist/locale/ky.min.js +1 -1
  125. package/dist/locale/ky.min.mjs +1 -1
  126. package/dist/locale/ky.mjs +1 -1
  127. package/dist/locale/lt.js +1 -1
  128. package/dist/locale/lt.min.js +1 -1
  129. package/dist/locale/lt.min.mjs +1 -1
  130. package/dist/locale/lt.mjs +1 -1
  131. package/dist/locale/lv.js +1 -1
  132. package/dist/locale/lv.min.js +1 -1
  133. package/dist/locale/lv.min.mjs +1 -1
  134. package/dist/locale/lv.mjs +1 -1
  135. package/dist/locale/mg.js +1 -1
  136. package/dist/locale/mg.min.js +1 -1
  137. package/dist/locale/mg.min.mjs +1 -1
  138. package/dist/locale/mg.mjs +1 -1
  139. package/dist/locale/mn.js +1 -1
  140. package/dist/locale/mn.min.js +1 -1
  141. package/dist/locale/mn.min.mjs +1 -1
  142. package/dist/locale/mn.mjs +1 -1
  143. package/dist/locale/nb-no.js +1 -1
  144. package/dist/locale/nb-no.min.js +1 -1
  145. package/dist/locale/nb-no.min.mjs +1 -1
  146. package/dist/locale/nb-no.mjs +1 -1
  147. package/dist/locale/nl.js +1 -1
  148. package/dist/locale/nl.min.js +1 -1
  149. package/dist/locale/nl.min.mjs +1 -1
  150. package/dist/locale/nl.mjs +1 -1
  151. package/dist/locale/pa.js +1 -1
  152. package/dist/locale/pa.min.js +1 -1
  153. package/dist/locale/pa.min.mjs +1 -1
  154. package/dist/locale/pa.mjs +1 -1
  155. package/dist/locale/pl.js +1 -1
  156. package/dist/locale/pl.min.js +1 -1
  157. package/dist/locale/pl.min.mjs +1 -1
  158. package/dist/locale/pl.mjs +1 -1
  159. package/dist/locale/pt-br.js +1 -1
  160. package/dist/locale/pt-br.min.js +1 -1
  161. package/dist/locale/pt-br.min.mjs +1 -1
  162. package/dist/locale/pt-br.mjs +1 -1
  163. package/dist/locale/pt.js +1 -1
  164. package/dist/locale/pt.min.js +1 -1
  165. package/dist/locale/pt.min.mjs +1 -1
  166. package/dist/locale/pt.mjs +1 -1
  167. package/dist/locale/ro.js +1 -1
  168. package/dist/locale/ro.min.js +1 -1
  169. package/dist/locale/ro.min.mjs +1 -1
  170. package/dist/locale/ro.mjs +1 -1
  171. package/dist/locale/ru.js +1 -1
  172. package/dist/locale/ru.min.js +1 -1
  173. package/dist/locale/ru.min.mjs +1 -1
  174. package/dist/locale/ru.mjs +1 -1
  175. package/dist/locale/sk.js +1 -1
  176. package/dist/locale/sk.min.js +1 -1
  177. package/dist/locale/sk.min.mjs +1 -1
  178. package/dist/locale/sk.mjs +1 -1
  179. package/dist/locale/sl.js +1 -1
  180. package/dist/locale/sl.min.js +1 -1
  181. package/dist/locale/sl.min.mjs +1 -1
  182. package/dist/locale/sl.mjs +1 -1
  183. package/dist/locale/sr.js +1 -1
  184. package/dist/locale/sr.min.js +1 -1
  185. package/dist/locale/sr.min.mjs +1 -1
  186. package/dist/locale/sr.mjs +1 -1
  187. package/dist/locale/sv.js +1 -1
  188. package/dist/locale/sv.min.js +1 -1
  189. package/dist/locale/sv.min.mjs +1 -1
  190. package/dist/locale/sv.mjs +1 -1
  191. package/dist/locale/ta.js +1 -1
  192. package/dist/locale/ta.min.js +1 -1
  193. package/dist/locale/ta.min.mjs +1 -1
  194. package/dist/locale/ta.mjs +1 -1
  195. package/dist/locale/th.js +1 -1
  196. package/dist/locale/th.min.js +1 -1
  197. package/dist/locale/th.min.mjs +1 -1
  198. package/dist/locale/th.mjs +1 -1
  199. package/dist/locale/tk.js +1 -1
  200. package/dist/locale/tk.min.js +1 -1
  201. package/dist/locale/tk.min.mjs +1 -1
  202. package/dist/locale/tk.mjs +1 -1
  203. package/dist/locale/tr.js +1 -1
  204. package/dist/locale/tr.min.js +1 -1
  205. package/dist/locale/tr.min.mjs +1 -1
  206. package/dist/locale/tr.mjs +1 -1
  207. package/dist/locale/ug-cn.js +1 -1
  208. package/dist/locale/ug-cn.min.js +1 -1
  209. package/dist/locale/ug-cn.min.mjs +1 -1
  210. package/dist/locale/ug-cn.mjs +1 -1
  211. package/dist/locale/uk.js +1 -1
  212. package/dist/locale/uk.min.js +1 -1
  213. package/dist/locale/uk.min.mjs +1 -1
  214. package/dist/locale/uk.mjs +1 -1
  215. package/dist/locale/uz-uz.js +1 -1
  216. package/dist/locale/uz-uz.min.js +1 -1
  217. package/dist/locale/uz-uz.min.mjs +1 -1
  218. package/dist/locale/uz-uz.mjs +1 -1
  219. package/dist/locale/vi.js +1 -1
  220. package/dist/locale/vi.min.js +1 -1
  221. package/dist/locale/vi.min.mjs +1 -1
  222. package/dist/locale/vi.mjs +1 -1
  223. package/dist/locale/zh-cn.js +1 -1
  224. package/dist/locale/zh-cn.min.js +1 -1
  225. package/dist/locale/zh-cn.min.mjs +1 -1
  226. package/dist/locale/zh-cn.mjs +1 -1
  227. package/dist/locale/zh-tw.js +1 -1
  228. package/dist/locale/zh-tw.min.js +1 -1
  229. package/dist/locale/zh-tw.min.mjs +1 -1
  230. package/dist/locale/zh-tw.mjs +1 -1
  231. package/es/components/backtop/index.d.ts +2 -6
  232. package/es/components/backtop/index.mjs.map +1 -1
  233. package/es/components/backtop/src/backtop.d.ts +0 -2
  234. package/es/components/backtop/src/backtop.mjs.map +1 -1
  235. package/es/components/backtop/src/backtop.vue.d.ts +5 -10
  236. package/es/components/backtop/src/backtop2.mjs +6 -52
  237. package/es/components/backtop/src/backtop2.mjs.map +1 -1
  238. package/es/components/backtop/src/instance.d.ts +2 -0
  239. package/es/components/backtop/src/instance.mjs +2 -0
  240. package/es/components/backtop/src/instance.mjs.map +1 -0
  241. package/es/components/backtop/src/use-backtop.d.ts +6 -0
  242. package/es/components/backtop/src/use-backtop.mjs +58 -0
  243. package/es/components/backtop/src/use-backtop.mjs.map +1 -0
  244. package/es/components/button/index.d.ts +4 -10
  245. package/es/components/button/index.mjs.map +1 -1
  246. package/es/components/button/src/button-group.d.ts +0 -2
  247. package/es/components/button/src/button-group.mjs.map +1 -1
  248. package/es/components/button/src/button.d.ts +0 -2
  249. package/es/components/button/src/button.mjs.map +1 -1
  250. package/es/components/button/src/button.vue.d.ts +3 -10
  251. package/es/components/button/src/button2.mjs +5 -46
  252. package/es/components/button/src/button2.mjs.map +1 -1
  253. package/es/components/button/src/instance.d.ts +4 -0
  254. package/es/components/button/src/instance.mjs +2 -0
  255. package/es/components/button/src/instance.mjs.map +1 -0
  256. package/es/components/button/src/use-button.d.ts +10 -0
  257. package/es/components/button/src/use-button.mjs +59 -0
  258. package/es/components/button/src/use-button.mjs.map +1 -0
  259. package/es/components/calendar/index.d.ts +39 -58
  260. package/es/components/calendar/index.mjs.map +1 -1
  261. package/es/components/calendar/src/calendar.d.ts +0 -2
  262. package/es/components/calendar/src/calendar.mjs.map +1 -1
  263. package/es/components/calendar/src/calendar.vue.d.ts +101 -125
  264. package/es/components/calendar/src/calendar2.mjs +19 -134
  265. package/es/components/calendar/src/calendar2.mjs.map +1 -1
  266. package/es/components/calendar/src/date-table.d.ts +0 -2
  267. package/es/components/calendar/src/date-table.mjs.map +1 -1
  268. package/es/components/calendar/src/date-table.vue.d.ts +26 -31
  269. package/es/components/calendar/src/date-table2.mjs +14 -82
  270. package/es/components/calendar/src/date-table2.mjs.map +1 -1
  271. package/es/components/calendar/src/instance.d.ts +5 -0
  272. package/es/components/calendar/src/instance.mjs +2 -0
  273. package/es/components/calendar/src/instance.mjs.map +1 -0
  274. package/es/components/calendar/src/use-calendar.d.ts +14 -0
  275. package/es/components/calendar/src/use-calendar.mjs +140 -0
  276. package/es/components/calendar/src/use-calendar.mjs.map +1 -0
  277. package/es/components/calendar/src/use-date-table.d.ts +18 -0
  278. package/es/components/calendar/src/use-date-table.mjs +96 -0
  279. package/es/components/calendar/src/use-date-table.mjs.map +1 -0
  280. package/es/components/color-picker/index.d.ts +3 -10
  281. package/es/components/color-picker/src/color-picker.vue.d.ts +3 -10
  282. package/es/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  283. package/es/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  284. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +27 -34
  285. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +29 -36
  286. package/es/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  287. package/es/components/date-picker/src/panel-utils.d.ts +59 -73
  288. package/es/components/dialog/index.d.ts +1 -0
  289. package/es/components/dialog/src/dialog.vue.d.ts +1 -0
  290. package/es/components/dialog/src/dialog2.mjs +4 -2
  291. package/es/components/dialog/src/dialog2.mjs.map +1 -1
  292. package/es/components/dialog/src/use-dialog.d.ts +1 -0
  293. package/es/components/dialog/src/use-dialog.mjs +7 -0
  294. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  295. package/es/components/drawer/index.d.ts +1 -0
  296. package/es/components/drawer/src/drawer.vue.d.ts +1 -0
  297. package/es/components/pagination/src/components/next.mjs +34 -19
  298. package/es/components/pagination/src/components/next.mjs.map +1 -1
  299. package/es/components/pagination/src/components/next2.mjs +19 -34
  300. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  301. package/es/components/pagination/src/pagination.mjs +1 -1
  302. package/es/components/popconfirm/index.d.ts +3 -10
  303. package/es/components/popconfirm/src/popconfirm.vue.d.ts +3 -10
  304. package/es/components/skeleton/index.d.ts +1 -1
  305. package/es/components/skeleton/src/skeleton.vue.d.ts +1 -1
  306. package/es/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  307. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
  308. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
  309. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  310. package/es/components/transfer/index.d.ts +3 -10
  311. package/es/components/transfer/src/transfer.vue.d.ts +3 -10
  312. package/es/components/tree-v2/index.d.ts +868 -3
  313. package/es/components/tree-v2/src/composables/useCheck.d.ts +2 -1
  314. package/es/components/tree-v2/src/composables/useCheck.mjs.map +1 -1
  315. package/es/components/tree-v2/src/composables/useTree.d.ts +6 -3
  316. package/es/components/tree-v2/src/composables/useTree.mjs +1 -1
  317. package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
  318. package/es/components/tree-v2/src/tree-node.mjs +63 -78
  319. package/es/components/tree-v2/src/tree-node.mjs.map +1 -1
  320. package/es/components/tree-v2/src/tree-node.vue.d.ts +566 -3
  321. package/es/components/tree-v2/src/tree.mjs +62 -75
  322. package/es/components/tree-v2/src/tree.mjs.map +1 -1
  323. package/es/components/tree-v2/src/tree.vue.d.ts +868 -3
  324. package/es/components/tree-v2/src/types.d.ts +1 -1
  325. package/es/components/tree-v2/src/virtual-tree.d.ts +3 -2
  326. package/es/components/tree-v2/src/virtual-tree.mjs.map +1 -1
  327. package/es/version.d.ts +1 -1
  328. package/es/version.mjs +1 -1
  329. package/es/version.mjs.map +1 -1
  330. package/lib/components/backtop/index.d.ts +2 -6
  331. package/lib/components/backtop/index.js.map +1 -1
  332. package/lib/components/backtop/src/backtop.d.ts +0 -2
  333. package/lib/components/backtop/src/backtop.js.map +1 -1
  334. package/lib/components/backtop/src/backtop.vue.d.ts +5 -10
  335. package/lib/components/backtop/src/backtop2.js +5 -51
  336. package/lib/components/backtop/src/backtop2.js.map +1 -1
  337. package/lib/components/backtop/src/instance.d.ts +2 -0
  338. package/lib/components/backtop/src/instance.js +3 -0
  339. package/lib/components/backtop/src/instance.js.map +1 -0
  340. package/lib/components/backtop/src/use-backtop.d.ts +6 -0
  341. package/lib/components/backtop/src/use-backtop.js +62 -0
  342. package/lib/components/backtop/src/use-backtop.js.map +1 -0
  343. package/lib/components/button/index.d.ts +4 -10
  344. package/lib/components/button/index.js.map +1 -1
  345. package/lib/components/button/src/button-group.d.ts +0 -2
  346. package/lib/components/button/src/button-group.js.map +1 -1
  347. package/lib/components/button/src/button.d.ts +0 -2
  348. package/lib/components/button/src/button.js.map +1 -1
  349. package/lib/components/button/src/button.vue.d.ts +3 -10
  350. package/lib/components/button/src/button2.js +8 -49
  351. package/lib/components/button/src/button2.js.map +1 -1
  352. package/lib/components/button/src/instance.d.ts +4 -0
  353. package/lib/components/button/src/instance.js +3 -0
  354. package/lib/components/button/src/instance.js.map +1 -0
  355. package/lib/components/button/src/use-button.d.ts +10 -0
  356. package/lib/components/button/src/use-button.js +63 -0
  357. package/lib/components/button/src/use-button.js.map +1 -0
  358. package/lib/components/calendar/index.d.ts +39 -58
  359. package/lib/components/calendar/index.js.map +1 -1
  360. package/lib/components/calendar/src/calendar.d.ts +0 -2
  361. package/lib/components/calendar/src/calendar.js.map +1 -1
  362. package/lib/components/calendar/src/calendar.vue.d.ts +101 -125
  363. package/lib/components/calendar/src/calendar2.js +23 -142
  364. package/lib/components/calendar/src/calendar2.js.map +1 -1
  365. package/lib/components/calendar/src/date-table.d.ts +0 -2
  366. package/lib/components/calendar/src/date-table.js.map +1 -1
  367. package/lib/components/calendar/src/date-table.vue.d.ts +26 -31
  368. package/lib/components/calendar/src/date-table2.js +15 -88
  369. package/lib/components/calendar/src/date-table2.js.map +1 -1
  370. package/lib/components/calendar/src/instance.d.ts +5 -0
  371. package/lib/components/calendar/src/instance.js +3 -0
  372. package/lib/components/calendar/src/instance.js.map +1 -0
  373. package/lib/components/calendar/src/use-calendar.d.ts +14 -0
  374. package/lib/components/calendar/src/use-calendar.js +148 -0
  375. package/lib/components/calendar/src/use-calendar.js.map +1 -0
  376. package/lib/components/calendar/src/use-date-table.d.ts +18 -0
  377. package/lib/components/calendar/src/use-date-table.js +105 -0
  378. package/lib/components/calendar/src/use-date-table.js.map +1 -0
  379. package/lib/components/color-picker/index.d.ts +3 -10
  380. package/lib/components/color-picker/src/color-picker.vue.d.ts +3 -10
  381. package/lib/components/date-picker/src/composables/use-range-picker.d.ts +1 -1
  382. package/lib/components/date-picker/src/date-picker-com/basic-date-table.vue.d.ts +6 -6
  383. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +27 -34
  384. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +29 -36
  385. package/lib/components/date-picker/src/date-picker-com/panel-month-range.vue.d.ts +3 -3
  386. package/lib/components/date-picker/src/panel-utils.d.ts +59 -73
  387. package/lib/components/dialog/index.d.ts +1 -0
  388. package/lib/components/dialog/src/dialog.vue.d.ts +1 -0
  389. package/lib/components/dialog/src/dialog2.js +4 -2
  390. package/lib/components/dialog/src/dialog2.js.map +1 -1
  391. package/lib/components/dialog/src/use-dialog.d.ts +1 -0
  392. package/lib/components/dialog/src/use-dialog.js +7 -0
  393. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  394. package/lib/components/drawer/index.d.ts +1 -0
  395. package/lib/components/drawer/src/drawer.vue.d.ts +1 -0
  396. package/lib/components/pagination/src/components/next.js +34 -19
  397. package/lib/components/pagination/src/components/next.js.map +1 -1
  398. package/lib/components/pagination/src/components/next2.js +19 -34
  399. package/lib/components/pagination/src/components/next2.js.map +1 -1
  400. package/lib/components/pagination/src/pagination.js +1 -1
  401. package/lib/components/popconfirm/index.d.ts +3 -10
  402. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +3 -10
  403. package/lib/components/skeleton/index.d.ts +1 -1
  404. package/lib/components/skeleton/src/skeleton.vue.d.ts +1 -1
  405. package/lib/components/time-picker/src/composables/use-time-picker.d.ts +2 -2
  406. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +5 -5
  407. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +17 -17
  408. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +17 -17
  409. package/lib/components/transfer/index.d.ts +3 -10
  410. package/lib/components/transfer/src/transfer.vue.d.ts +3 -10
  411. package/lib/components/tree-v2/index.d.ts +868 -3
  412. package/lib/components/tree-v2/src/composables/useCheck.d.ts +2 -1
  413. package/lib/components/tree-v2/src/composables/useCheck.js.map +1 -1
  414. package/lib/components/tree-v2/src/composables/useTree.d.ts +6 -3
  415. package/lib/components/tree-v2/src/composables/useTree.js +1 -1
  416. package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
  417. package/lib/components/tree-v2/src/tree-node.js +66 -81
  418. package/lib/components/tree-v2/src/tree-node.js.map +1 -1
  419. package/lib/components/tree-v2/src/tree-node.vue.d.ts +566 -3
  420. package/lib/components/tree-v2/src/tree.js +61 -74
  421. package/lib/components/tree-v2/src/tree.js.map +1 -1
  422. package/lib/components/tree-v2/src/tree.vue.d.ts +868 -3
  423. package/lib/components/tree-v2/src/types.d.ts +1 -1
  424. package/lib/components/tree-v2/src/virtual-tree.d.ts +3 -2
  425. package/lib/components/tree-v2/src/virtual-tree.js.map +1 -1
  426. package/lib/version.d.ts +1 -1
  427. package/lib/version.js +1 -1
  428. package/lib/version.js.map +1 -1
  429. package/package.json +2 -2
  430. package/web-types.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"use-dialog.js","sources":["../../../../../../packages/components/dialog/src/use-dialog.ts"],"sourcesContent":["import {\n computed,\n getCurrentInstance,\n nextTick,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { isClient, useTimeoutFn } from '@vueuse/core'\n\nimport {\n defaultNamespace,\n useGlobalConfig,\n useId,\n useLockscreen,\n useZIndex,\n} from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { addUnit } from '@element-plus/utils'\n\nimport type { CSSProperties, Ref, SetupContext } from 'vue'\nimport type { DialogEmits, DialogProps } from './dialog'\n\nexport const useDialog = (\n props: DialogProps,\n targetRef: Ref<HTMLElement | undefined>\n) => {\n const instance = getCurrentInstance()!\n const emit = instance.emit as SetupContext<DialogEmits>['emit']\n const { nextZIndex } = useZIndex()\n\n let lastPosition = ''\n const titleId = useId()\n const bodyId = useId()\n const visible = ref(false)\n const closed = ref(false)\n const rendered = ref(false) // when desctroyOnClose is true, we initialize it as false vise versa\n const zIndex = ref(props.zIndex || nextZIndex())\n\n let openTimer: (() => void) | undefined = undefined\n let closeTimer: (() => void) | undefined = undefined\n\n const namespace = useGlobalConfig('namespace', defaultNamespace)\n\n const style = computed<CSSProperties>(() => {\n const style: CSSProperties = {}\n const varPrefix = `--${namespace.value}-dialog` as const\n if (!props.fullscreen) {\n if (props.top) {\n style[`${varPrefix}-margin-top`] = props.top\n }\n if (props.width) {\n style[`${varPrefix}-width`] = addUnit(props.width)\n }\n }\n return style\n })\n\n const overlayDialogStyle = computed<CSSProperties>(() => {\n if (props.alignCenter) {\n return { display: 'flex' }\n }\n return {}\n })\n\n function afterEnter() {\n emit('opened')\n }\n\n function afterLeave() {\n emit('closed')\n emit(UPDATE_MODEL_EVENT, false)\n if (props.destroyOnClose) {\n rendered.value = false\n }\n }\n\n function beforeLeave() {\n emit('close')\n }\n\n function open() {\n closeTimer?.()\n openTimer?.()\n\n if (props.openDelay && props.openDelay > 0) {\n ;({ stop: openTimer } = useTimeoutFn(() => doOpen(), props.openDelay))\n } else {\n doOpen()\n }\n }\n\n function close() {\n openTimer?.()\n closeTimer?.()\n\n if (props.closeDelay && props.closeDelay > 0) {\n ;({ stop: closeTimer } = useTimeoutFn(() => doClose(), props.closeDelay))\n } else {\n doClose()\n }\n }\n\n function handleClose() {\n function hide(shouldCancel?: boolean) {\n if (shouldCancel) return\n closed.value = true\n visible.value = false\n }\n\n if (props.beforeClose) {\n props.beforeClose(hide)\n } else {\n close()\n }\n }\n\n function onModalClick() {\n if (props.closeOnClickModal) {\n handleClose()\n }\n }\n\n function doOpen() {\n if (!isClient) return\n visible.value = true\n }\n\n function doClose() {\n visible.value = false\n }\n\n function onOpenAutoFocus() {\n emit('openAutoFocus')\n }\n\n function onCloseAutoFocus() {\n emit('closeAutoFocus')\n }\n\n if (props.lockScroll) {\n useLockscreen(visible)\n }\n\n function onCloseRequested() {\n if (props.closeOnPressEscape) {\n handleClose()\n }\n }\n\n watch(\n () => props.modelValue,\n (val) => {\n if (val) {\n closed.value = false\n open()\n rendered.value = true // enables lazy rendering\n zIndex.value = props.zIndex ? zIndex.value++ : nextZIndex()\n // this.$el.addEventListener('scroll', this.updatePopper)\n nextTick(() => {\n emit('open')\n if (targetRef.value) {\n targetRef.value.scrollTop = 0\n }\n })\n } else {\n // this.$el.removeEventListener('scroll', this.updatePopper\n if (visible.value) {\n close()\n }\n }\n }\n )\n\n watch(\n () => props.fullscreen,\n (val) => {\n if (!targetRef.value) return\n if (val) {\n lastPosition = targetRef.value.style.transform\n targetRef.value.style.transform = ''\n } else {\n targetRef.value.style.transform = lastPosition\n }\n }\n )\n\n onMounted(() => {\n if (props.modelValue) {\n visible.value = true\n rendered.value = true // enables lazy rendering\n open()\n }\n })\n\n return {\n afterEnter,\n afterLeave,\n beforeLeave,\n handleClose,\n onModalClick,\n close,\n doClose,\n onOpenAutoFocus,\n onCloseAutoFocus,\n onCloseRequested,\n titleId,\n bodyId,\n closed,\n style,\n overlayDialogStyle,\n rendered,\n visible,\n zIndex,\n }\n}\n"],"names":["getCurrentInstance","useZIndex","useId","ref","useGlobalConfig","defaultNamespace","style","computed","addUnit","UPDATE_MODEL_EVENT","useTimeoutFn","isClient","useLockscreen","watch","nextTick","onMounted"],"mappings":";;;;;;;;;;;;;;;;;AAkBY,MAAC,SAAS,GAAG,CAAC,KAAK,EAAE,SAAS,KAAK;AAC/C,EAAE,MAAM,QAAQ,GAAGA,sBAAkB,EAAE,CAAC;AACxC,EAAE,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;AAC7B,EAAE,MAAM,EAAE,UAAU,EAAE,GAAGC,eAAS,EAAE,CAAC;AACrC,EAAE,IAAI,YAAY,GAAG,EAAE,CAAC;AACxB,EAAE,MAAM,OAAO,GAAGC,aAAK,EAAE,CAAC;AAC1B,EAAE,MAAM,MAAM,GAAGA,aAAK,EAAE,CAAC;AACzB,EAAE,MAAM,OAAO,GAAGC,OAAG,CAAC,KAAK,CAAC,CAAC;AAC7B,EAAE,MAAM,MAAM,GAAGA,OAAG,CAAC,KAAK,CAAC,CAAC;AAC5B,EAAE,MAAM,QAAQ,GAAGA,OAAG,CAAC,KAAK,CAAC,CAAC;AAC9B,EAAE,MAAM,MAAM,GAAGA,OAAG,CAAC,KAAK,CAAC,MAAM,IAAI,UAAU,EAAE,CAAC,CAAC;AACnD,EAAE,IAAI,SAAS,GAAG,KAAK,CAAC,CAAC;AACzB,EAAE,IAAI,UAAU,GAAG,KAAK,CAAC,CAAC;AAC1B,EAAE,MAAM,SAAS,GAAGC,uBAAe,CAAC,WAAW,EAAEC,wBAAgB,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,MAAM;AACV,WAAIT,OAAK;AACT,IAAI,kBAAkB;AACtB,IAAI,QAAQ;AACZ,IAAI,OAAO;AACX,IAAI,MAAM;AACV,GAAG,CAAC;AACJ;;;;"}
1
+ {"version":3,"file":"use-dialog.js","sources":["../../../../../../packages/components/dialog/src/use-dialog.ts"],"sourcesContent":["import {\n computed,\n getCurrentInstance,\n nextTick,\n onMounted,\n ref,\n watch,\n} from 'vue'\nimport { isClient, useTimeoutFn } from '@vueuse/core'\n\nimport {\n defaultNamespace,\n useGlobalConfig,\n useId,\n useLockscreen,\n useZIndex,\n} from '@element-plus/hooks'\nimport { UPDATE_MODEL_EVENT } from '@element-plus/constants'\nimport { addUnit } from '@element-plus/utils'\n\nimport type { CSSProperties, Ref, SetupContext } from 'vue'\nimport type { DialogEmits, DialogProps } from './dialog'\n\nexport const useDialog = (\n props: DialogProps,\n targetRef: Ref<HTMLElement | undefined>\n) => {\n const instance = getCurrentInstance()!\n const emit = instance.emit as SetupContext<DialogEmits>['emit']\n const { nextZIndex } = useZIndex()\n\n let lastPosition = ''\n const titleId = useId()\n const bodyId = useId()\n const visible = ref(false)\n const closed = ref(false)\n const rendered = ref(false) // when desctroyOnClose is true, we initialize it as false vise versa\n const zIndex = ref(props.zIndex || nextZIndex())\n\n let openTimer: (() => void) | undefined = undefined\n let closeTimer: (() => void) | undefined = undefined\n\n const namespace = useGlobalConfig('namespace', defaultNamespace)\n\n const style = computed<CSSProperties>(() => {\n const style: CSSProperties = {}\n const varPrefix = `--${namespace.value}-dialog` as const\n if (!props.fullscreen) {\n if (props.top) {\n style[`${varPrefix}-margin-top`] = props.top\n }\n if (props.width) {\n style[`${varPrefix}-width`] = addUnit(props.width)\n }\n }\n return style\n })\n\n const overlayDialogStyle = computed<CSSProperties>(() => {\n if (props.alignCenter) {\n return { display: 'flex' }\n }\n return {}\n })\n\n function afterEnter() {\n emit('opened')\n }\n\n function afterLeave() {\n emit('closed')\n emit(UPDATE_MODEL_EVENT, false)\n if (props.destroyOnClose) {\n rendered.value = false\n }\n }\n\n function beforeLeave() {\n emit('close')\n }\n\n function open() {\n closeTimer?.()\n openTimer?.()\n\n if (props.openDelay && props.openDelay > 0) {\n ;({ stop: openTimer } = useTimeoutFn(() => doOpen(), props.openDelay))\n } else {\n doOpen()\n }\n }\n\n function close() {\n openTimer?.()\n closeTimer?.()\n\n if (props.closeDelay && props.closeDelay > 0) {\n ;({ stop: closeTimer } = useTimeoutFn(() => doClose(), props.closeDelay))\n } else {\n doClose()\n }\n }\n\n function handleClose() {\n function hide(shouldCancel?: boolean) {\n if (shouldCancel) return\n closed.value = true\n visible.value = false\n }\n\n if (props.beforeClose) {\n props.beforeClose(hide)\n } else {\n close()\n }\n }\n\n function onModalClick() {\n if (props.closeOnClickModal) {\n handleClose()\n }\n }\n\n function doOpen() {\n if (!isClient) return\n visible.value = true\n }\n\n function doClose() {\n visible.value = false\n }\n\n function onOpenAutoFocus() {\n emit('openAutoFocus')\n }\n\n function onCloseAutoFocus() {\n emit('closeAutoFocus')\n }\n\n function onFocusoutPrevented(event: CustomEvent) {\n if (event.detail?.focusReason === 'pointer') {\n event.preventDefault()\n }\n }\n\n if (props.lockScroll) {\n useLockscreen(visible)\n }\n\n function onCloseRequested() {\n if (props.closeOnPressEscape) {\n handleClose()\n }\n }\n\n watch(\n () => props.modelValue,\n (val) => {\n if (val) {\n closed.value = false\n open()\n rendered.value = true // enables lazy rendering\n zIndex.value = props.zIndex ? zIndex.value++ : nextZIndex()\n // this.$el.addEventListener('scroll', this.updatePopper)\n nextTick(() => {\n emit('open')\n if (targetRef.value) {\n targetRef.value.scrollTop = 0\n }\n })\n } else {\n // this.$el.removeEventListener('scroll', this.updatePopper\n if (visible.value) {\n close()\n }\n }\n }\n )\n\n watch(\n () => props.fullscreen,\n (val) => {\n if (!targetRef.value) return\n if (val) {\n lastPosition = targetRef.value.style.transform\n targetRef.value.style.transform = ''\n } else {\n targetRef.value.style.transform = lastPosition\n }\n }\n )\n\n onMounted(() => {\n if (props.modelValue) {\n visible.value = true\n rendered.value = true // enables lazy rendering\n open()\n }\n })\n\n return {\n afterEnter,\n afterLeave,\n beforeLeave,\n handleClose,\n onModalClick,\n close,\n doClose,\n onOpenAutoFocus,\n onCloseAutoFocus,\n onCloseRequested,\n onFocusoutPrevented,\n titleId,\n bodyId,\n closed,\n style,\n overlayDialogStyle,\n rendered,\n visible,\n zIndex,\n }\n}\n"],"names":["getCurrentInstance","useZIndex","useId","ref","useGlobalConfig","defaultNamespace","style","computed","addUnit","UPDATE_MODEL_EVENT","useTimeoutFn","isClient","useLockscreen","watch","nextTick","onMounted"],"mappings":";;;;;;;;;;;;;;;;;AAkBY,MAAC,SAAS,GAAG,CAAC,KAAK,EAAE,SAAS,KAAK;AAC/C,EAAE,MAAM,QAAQ,GAAGA,sBAAkB,EAAE,CAAC;AACxC,EAAE,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC;AAC7B,EAAE,MAAM,EAAE,UAAU,EAAE,GAAGC,eAAS,EAAE,CAAC;AACrC,EAAE,IAAI,YAAY,GAAG,EAAE,CAAC;AACxB,EAAE,MAAM,OAAO,GAAGC,aAAK,EAAE,CAAC;AAC1B,EAAE,MAAM,MAAM,GAAGA,aAAK,EAAE,CAAC;AACzB,EAAE,MAAM,OAAO,GAAGC,OAAG,CAAC,KAAK,CAAC,CAAC;AAC7B,EAAE,MAAM,MAAM,GAAGA,OAAG,CAAC,KAAK,CAAC,CAAC;AAC5B,EAAE,MAAM,QAAQ,GAAGA,OAAG,CAAC,KAAK,CAAC,CAAC;AAC9B,EAAE,MAAM,MAAM,GAAGA,OAAG,CAAC,KAAK,CAAC,MAAM,IAAI,UAAU,EAAE,CAAC,CAAC;AACnD,EAAE,IAAI,SAAS,GAAG,KAAK,CAAC,CAAC;AACzB,EAAE,IAAI,UAAU,GAAG,KAAK,CAAC,CAAC;AAC1B,EAAE,MAAM,SAAS,GAAGC,uBAAe,CAAC,WAAW,EAAEC,wBAAgB,CAAC,CAAC;AAC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,GAAG,CAAC,CAAC;AACL,EAAE,OAAO;AACT,IAAI,UAAU;AACd,IAAI,UAAU;AACd,IAAI,WAAW;AACf,IAAI,WAAW;AACf,IAAI,YAAY;AAChB,IAAI,KAAK;AACT,IAAI,OAAO;AACX,IAAI,eAAe;AACnB,IAAI,gBAAgB;AACpB,IAAI,gBAAgB;AACpB,IAAI,mBAAmB;AACvB,IAAI,OAAO;AACX,IAAI,MAAM;AACV,IAAI,MAAM;AACV,WAAIT,OAAK;AACT,IAAI,kBAAkB;AACtB,IAAI,QAAQ;AACZ,IAAI,OAAO;AACX,IAAI,MAAM;AACV,GAAG,CAAC;AACJ;;;;"}
@@ -85,6 +85,7 @@ export declare const ElDrawer: import("element-plus/es/utils").SFCWithInstall<im
85
85
  onOpenAutoFocus: () => void;
86
86
  onCloseAutoFocus: () => void;
87
87
  onCloseRequested: () => void;
88
+ onFocusoutPrevented: (event: CustomEvent<any>) => void;
88
89
  titleId: import("vue").Ref<string>;
89
90
  bodyId: import("vue").Ref<string>;
90
91
  closed: import("vue").Ref<boolean>;
@@ -85,6 +85,7 @@ declare const _default: import("vue").DefineComponent<{
85
85
  onOpenAutoFocus: () => void;
86
86
  onCloseAutoFocus: () => void;
87
87
  onCloseRequested: () => void;
88
+ onFocusoutPrevented: (event: CustomEvent<any>) => void;
88
89
  titleId: import("vue").Ref<string>;
89
90
  bodyId: import("vue").Ref<string>;
90
91
  closed: import("vue").Ref<boolean>;
@@ -2,27 +2,42 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('../../../../utils/index.js');
6
- var runtime = require('../../../../utils/vue/props/runtime.js');
7
- var icon = require('../../../../utils/vue/icon.js');
5
+ var vue = require('vue');
6
+ var index = require('../../../icon/index.js');
7
+ var next = require('./next2.js');
8
+ var pluginVue_exportHelper = require('../../../../_virtual/plugin-vue_export-helper.js');
8
9
 
9
- const paginationNextProps = runtime.buildProps({
10
- disabled: Boolean,
11
- currentPage: {
12
- type: Number,
13
- default: 1
14
- },
15
- pageCount: {
16
- type: Number,
17
- default: 50
18
- },
19
- nextText: {
20
- type: String
21
- },
22
- nextIcon: {
23
- type: icon.iconPropType
10
+ const _hoisted_1 = ["disabled", "aria-disabled"];
11
+ const _hoisted_2 = { key: 0 };
12
+ const __default__ = vue.defineComponent({
13
+ name: "ElPaginationNext"
14
+ });
15
+ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
+ ...__default__,
17
+ props: next.paginationNextProps,
18
+ emits: ["click"],
19
+ setup(__props) {
20
+ const props = __props;
21
+ const internalDisabled = vue.computed(() => props.disabled || props.currentPage === props.pageCount || props.pageCount === 0);
22
+ return (_ctx, _cache) => {
23
+ return vue.openBlock(), vue.createElementBlock("button", {
24
+ type: "button",
25
+ class: "btn-next",
26
+ disabled: vue.unref(internalDisabled),
27
+ "aria-disabled": vue.unref(internalDisabled),
28
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
29
+ }, [
30
+ _ctx.nextText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(_ctx.nextText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(index.ElIcon), { key: 1 }, {
31
+ default: vue.withCtx(() => [
32
+ (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.nextIcon)))
33
+ ]),
34
+ _: 1
35
+ }))
36
+ ], 8, _hoisted_1);
37
+ };
24
38
  }
25
39
  });
40
+ var Next = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);
26
41
 
27
- exports.paginationNextProps = paginationNextProps;
42
+ exports["default"] = Next;
28
43
  //# sourceMappingURL=next.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"next.js","sources":["../../../../../../../packages/components/pagination/src/components/next.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Next from './next.vue'\n\nexport const paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n default: 50,\n },\n nextText: {\n type: String,\n },\n nextIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next>\n"],"names":["buildProps","iconPropType"],"mappings":";;;;;;;;AACY,MAAC,mBAAmB,GAAGA,kBAAU,CAAC;AAC9C,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,CAAC;;;;"}
1
+ {"version":3,"file":"next.js","sources":["../../../../../../../packages/components/pagination/src/components/next.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-next\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"nextText\">{{ nextText }}</span>\n <el-icon v-else>\n <component :is=\"nextIcon\" />\n </el-icon>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { paginationNextProps } from './next'\n\ndefineOptions({\n name: 'ElPaginationNext',\n})\n\nconst props = defineProps(paginationNextProps)\n\ndefineEmits(['click'])\n\nconst internalDisabled = computed(\n () =>\n props.disabled ||\n props.currentPage === props.pageCount ||\n props.pageCount === 0\n)\n</script>\n"],"names":["computed"],"mappings":";;;;;;;;;;;uCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,kBAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAMA,IAAM,MAAA,gBAAA,GAAmBA,YACvB,CAAA,MACE,KAAM,CAAA,QAAA,IACN,KAAM,CAAA,WAAA,KAAgB,KAAM,CAAA,SAAA,IAC5B,KAAM,CAAA,SAAA,KAAc,CACxB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -2,42 +2,27 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var vue = require('vue');
6
- var index = require('../../../icon/index.js');
7
- var next = require('./next.js');
8
- var pluginVue_exportHelper = require('../../../../_virtual/plugin-vue_export-helper.js');
5
+ require('../../../../utils/index.js');
6
+ var runtime = require('../../../../utils/vue/props/runtime.js');
7
+ var icon = require('../../../../utils/vue/icon.js');
9
8
 
10
- const _hoisted_1 = ["disabled", "aria-disabled"];
11
- const _hoisted_2 = { key: 0 };
12
- const __default__ = vue.defineComponent({
13
- name: "ElPaginationNext"
14
- });
15
- const _sfc_main = /* @__PURE__ */ vue.defineComponent({
16
- ...__default__,
17
- props: next.paginationNextProps,
18
- emits: ["click"],
19
- setup(__props) {
20
- const props = __props;
21
- const internalDisabled = vue.computed(() => props.disabled || props.currentPage === props.pageCount || props.pageCount === 0);
22
- return (_ctx, _cache) => {
23
- return vue.openBlock(), vue.createElementBlock("button", {
24
- type: "button",
25
- class: "btn-next",
26
- disabled: vue.unref(internalDisabled),
27
- "aria-disabled": vue.unref(internalDisabled),
28
- onClick: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("click", $event))
29
- }, [
30
- _ctx.nextText ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_2, vue.toDisplayString(_ctx.nextText), 1)) : (vue.openBlock(), vue.createBlock(vue.unref(index.ElIcon), { key: 1 }, {
31
- default: vue.withCtx(() => [
32
- (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(_ctx.nextIcon)))
33
- ]),
34
- _: 1
35
- }))
36
- ], 8, _hoisted_1);
37
- };
9
+ const paginationNextProps = runtime.buildProps({
10
+ disabled: Boolean,
11
+ currentPage: {
12
+ type: Number,
13
+ default: 1
14
+ },
15
+ pageCount: {
16
+ type: Number,
17
+ default: 50
18
+ },
19
+ nextText: {
20
+ type: String
21
+ },
22
+ nextIcon: {
23
+ type: icon.iconPropType
38
24
  }
39
25
  });
40
- var Next = /* @__PURE__ */ pluginVue_exportHelper["default"](_sfc_main, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);
41
26
 
42
- exports["default"] = Next;
27
+ exports.paginationNextProps = paginationNextProps;
43
28
  //# sourceMappingURL=next2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"next2.js","sources":["../../../../../../../packages/components/pagination/src/components/next.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-next\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"nextText\">{{ nextText }}</span>\n <el-icon v-else>\n <component :is=\"nextIcon\" />\n </el-icon>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { paginationNextProps } from './next'\n\ndefineOptions({\n name: 'ElPaginationNext',\n})\n\nconst props = defineProps(paginationNextProps)\n\ndefineEmits(['click'])\n\nconst internalDisabled = computed(\n () =>\n props.disabled ||\n props.currentPage === props.pageCount ||\n props.pageCount === 0\n)\n</script>\n"],"names":["computed"],"mappings":";;;;;;;;;;;uCAoBc,CAAA;AAAA,EACZ,IAAM,EAAA,kBAAA;AACR,CAAA,CAAA,CAAA;;;;;;;AAMA,IAAM,MAAA,gBAAA,GAAmBA,YACvB,CAAA,MACE,KAAM,CAAA,QAAA,IACN,KAAM,CAAA,WAAA,KAAgB,KAAM,CAAA,SAAA,IAC5B,KAAM,CAAA,SAAA,KAAc,CACxB,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"next2.js","sources":["../../../../../../../packages/components/pagination/src/components/next.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Next from './next.vue'\n\nexport const paginationNextProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n pageCount: {\n type: Number,\n default: 50,\n },\n nextText: {\n type: String,\n },\n nextIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next>\n"],"names":["buildProps","iconPropType"],"mappings":";;;;;;;;AACY,MAAC,mBAAmB,GAAGA,kBAAU,CAAC;AAC9C,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,SAAS,EAAE;AACb,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,EAAE;AACf,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAEC,iBAAY;AACtB,GAAG;AACH,CAAC;;;;"}
@@ -8,7 +8,7 @@ require('../../../utils/index.js');
8
8
  require('../../../hooks/index.js');
9
9
  require('../../../tokens/index.js');
10
10
  var prev = require('./components/prev2.js');
11
- var next = require('./components/next2.js');
11
+ var next = require('./components/next.js');
12
12
  var sizes = require('./components/sizes2.js');
13
13
  var jumper = require('./components/jumper.js');
14
14
  var total = require('./components/total2.js');
@@ -6205,11 +6205,7 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6205
6205
  onClick?: ((evt: MouseEvent) => any) | undefined;
6206
6206
  }>>;
6207
6207
  emit: (event: "click", evt: MouseEvent) => void;
6208
- slots: Readonly<{
6209
- [name: string]: import("vue").Slot | undefined;
6210
- }>;
6211
- buttonGroupContext: import("../..").ButtonGroupContext | undefined;
6212
- globalConfig: import("vue").Ref<import("..").ButtonConfigContext | undefined>;
6208
+ buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6213
6209
  ns: {
6214
6210
  namespace: import("vue").Ref<string>;
6215
6211
  b: (blockSuffix?: string) => string;
@@ -6228,14 +6224,11 @@ export declare const ElPopconfirm: import("element-plus/es/utils").SFCWithInstal
6228
6224
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
6229
6225
  cssVarBlockName: (name: string) => string;
6230
6226
  };
6231
- form: import("../..").FormContext | undefined;
6232
- _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6233
- _disabled: import("vue").ComputedRef<boolean>;
6234
6227
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
6228
+ _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6235
6229
  _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
6236
- autoInsertSpace: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
6230
+ _disabled: import("vue").ComputedRef<boolean>;
6237
6231
  shouldAddSpace: import("vue").ComputedRef<boolean>;
6238
- buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6239
6232
  handleClick: (evt: MouseEvent) => void;
6240
6233
  ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
6241
6234
  readonly size: {
@@ -6205,11 +6205,7 @@ declare const _default: import("vue").DefineComponent<{
6205
6205
  onClick?: ((evt: MouseEvent) => any) | undefined;
6206
6206
  }>>;
6207
6207
  emit: (event: "click", evt: MouseEvent) => void;
6208
- slots: Readonly<{
6209
- [name: string]: import("vue").Slot | undefined;
6210
- }>;
6211
- buttonGroupContext: import("../../..").ButtonGroupContext | undefined;
6212
- globalConfig: import("vue").Ref<import("element-plus/es/components/button").ButtonConfigContext | undefined>;
6208
+ buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6213
6209
  ns: {
6214
6210
  namespace: import("vue").Ref<string>;
6215
6211
  b: (blockSuffix?: string) => string;
@@ -6228,14 +6224,11 @@ declare const _default: import("vue").DefineComponent<{
6228
6224
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
6229
6225
  cssVarBlockName: (name: string) => string;
6230
6226
  };
6231
- form: import("../../..").FormContext | undefined;
6232
- _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6233
- _disabled: import("vue").ComputedRef<boolean>;
6234
6227
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
6228
+ _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
6235
6229
  _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
6236
- autoInsertSpace: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
6230
+ _disabled: import("vue").ComputedRef<boolean>;
6237
6231
  shouldAddSpace: import("vue").ComputedRef<boolean>;
6238
- buttonStyle: import("vue").ComputedRef<Record<string, string>>;
6239
6232
  handleClick: (evt: MouseEvent) => void;
6240
6233
  ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
6241
6234
  readonly size: {
@@ -83,9 +83,9 @@ export declare const ElSkeleton: import("element-plus/es/utils").SFCWithInstall<
83
83
  };
84
84
  }>>, {
85
85
  readonly loading: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
86
+ readonly rows: number;
86
87
  readonly animated: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
87
88
  readonly count: number;
88
- readonly rows: number;
89
89
  }>> & {
90
90
  SkeletonItem: import("vue").DefineComponent<{
91
91
  readonly variant: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "text" | "button" | "circle" | "caption" | "image" | "rect" | "h1" | "h3" | "p", unknown, "text", boolean>;
@@ -83,8 +83,8 @@ declare const _default: import("vue").DefineComponent<{
83
83
  };
84
84
  }>>, {
85
85
  readonly loading: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
86
+ readonly rows: number;
86
87
  readonly animated: import("../../../utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
87
88
  readonly count: number;
88
- readonly rows: number;
89
89
  }>;
90
90
  export default _default;
@@ -56,7 +56,7 @@ export declare const useOldValue: (props: {
56
56
  startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
57
57
  endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
58
58
  format: (template?: string | undefined) => string;
59
- diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "years" | "d" | "h" | "m" | "s" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
59
+ diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "s" | "milliseconds" | "days" | "years" | "d" | "h" | "m" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
60
60
  valueOf: () => number;
61
61
  unix: () => number;
62
62
  daysInMonth: () => number;
@@ -126,7 +126,7 @@ export declare const useOldValue: (props: {
126
126
  startOf: (unit: import("dayjs").OpUnitType) => Dayjs;
127
127
  endOf: (unit: import("dayjs").OpUnitType) => Dayjs;
128
128
  format: (template?: string | undefined) => string;
129
- diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "years" | "d" | "h" | "m" | "s" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
129
+ diff: (date?: string | number | Date | Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "s" | "milliseconds" | "days" | "years" | "d" | "h" | "m" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
130
130
  valueOf: () => number;
131
131
  unix: () => number;
132
132
  daysInMonth: () => number;
@@ -100,7 +100,7 @@ declare const _default: import("vue").DefineComponent<{
100
100
  getMinutesList: (hour: number, role: string, compare?: import("dayjs").Dayjs | undefined) => boolean[];
101
101
  getSecondsList: (hour: number, minute: number, role: string, compare?: import("dayjs").Dayjs | undefined) => boolean[];
102
102
  isScrolling: boolean;
103
- currentScrollbar: Ref<"seconds" | "minutes" | "hours" | undefined>;
103
+ currentScrollbar: Ref<"hours" | "minutes" | "seconds" | undefined>;
104
104
  listHoursRef: Ref<({
105
105
  $: import("vue").ComponentInternalInstance;
106
106
  $data: {};
@@ -3326,7 +3326,7 @@ declare const _default: import("vue").DefineComponent<{
3326
3326
  readonly ratioY: number;
3327
3327
  }>;
3328
3328
  }> & {} & import("vue").ComponentCustomProperties) | undefined>;
3329
- listRefsMap: Record<"seconds" | "minutes" | "hours", Ref<({
3329
+ listRefsMap: Record<"hours" | "minutes" | "seconds", Ref<({
3330
3330
  $: import("vue").ComponentInternalInstance;
3331
3331
  $data: {};
3332
3332
  $props: Partial<{
@@ -4401,14 +4401,14 @@ declare const _default: import("vue").DefineComponent<{
4401
4401
  readonly ratioY: number;
4402
4402
  }>;
4403
4403
  }> & {} & import("vue").ComponentCustomProperties) | undefined>>;
4404
- spinnerItems: import("vue").ComputedRef<readonly ["hours", "minutes", "seconds"] | ("seconds" | "minutes" | "hours")[]>;
4405
- timePartials: import("vue").ComputedRef<Record<"seconds" | "minutes" | "hours", number>>;
4404
+ spinnerItems: import("vue").ComputedRef<readonly ["hours", "minutes", "seconds"] | ("hours" | "minutes" | "seconds")[]>;
4405
+ timePartials: import("vue").ComputedRef<Record<"hours" | "minutes" | "seconds", number>>;
4406
4406
  timeList: import("vue").ComputedRef<{
4407
4407
  hours: boolean[];
4408
4408
  minutes: boolean[];
4409
4409
  seconds: boolean[];
4410
4410
  }>;
4411
- arrowControlTimeList: import("vue").ComputedRef<Record<"seconds" | "minutes" | "hours", TimeList>>;
4411
+ arrowControlTimeList: import("vue").ComputedRef<Record<"hours" | "minutes" | "seconds", TimeList>>;
4412
4412
  debouncedResetScroll: import("lodash").DebouncedFunc<(type: any) => void>;
4413
4413
  getAmPmFlag: (hour: number) => string;
4414
4414
  emitSelectRange: (type: TimeUnit) => void;
@@ -101,7 +101,7 @@ declare const _default: import("vue").DefineComponent<{
101
101
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
102
102
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
103
103
  format: (template?: string | undefined) => string;
104
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "years" | "d" | "h" | "m" | "s" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
104
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "s" | "milliseconds" | "days" | "years" | "d" | "h" | "m" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
105
105
  valueOf: () => number;
106
106
  unix: () => number;
107
107
  daysInMonth: () => number;
@@ -171,7 +171,7 @@ declare const _default: import("vue").DefineComponent<{
171
171
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
172
172
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
173
173
  format: (template?: string | undefined) => string;
174
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "years" | "d" | "h" | "m" | "s" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
174
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "s" | "milliseconds" | "days" | "years" | "d" | "h" | "m" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
175
175
  valueOf: () => number;
176
176
  unix: () => number;
177
177
  daysInMonth: () => number;
@@ -314,7 +314,7 @@ declare const _default: import("vue").DefineComponent<{
314
314
  getMinutesList: (hour: number, role: string, compare?: dayjs.Dayjs | undefined) => boolean[];
315
315
  getSecondsList: (hour: number, minute: number, role: string, compare?: dayjs.Dayjs | undefined) => boolean[];
316
316
  isScrolling: boolean;
317
- currentScrollbar: import("vue").Ref<"seconds" | "minutes" | "hours" | undefined>;
317
+ currentScrollbar: import("vue").Ref<"hours" | "minutes" | "seconds" | undefined>;
318
318
  listHoursRef: import("vue").Ref<({
319
319
  $: import("vue").ComponentInternalInstance;
320
320
  $data: {};
@@ -3540,7 +3540,7 @@ declare const _default: import("vue").DefineComponent<{
3540
3540
  readonly ratioY: number;
3541
3541
  }>;
3542
3542
  }> & {} & import("vue").ComponentCustomProperties) | undefined>;
3543
- listRefsMap: Record<"seconds" | "minutes" | "hours", import("vue").Ref<({
3543
+ listRefsMap: Record<"hours" | "minutes" | "seconds", import("vue").Ref<({
3544
3544
  $: import("vue").ComponentInternalInstance;
3545
3545
  $data: {};
3546
3546
  $props: Partial<{
@@ -4615,33 +4615,33 @@ declare const _default: import("vue").DefineComponent<{
4615
4615
  readonly ratioY: number;
4616
4616
  }>;
4617
4617
  }> & {} & import("vue").ComponentCustomProperties) | undefined>>;
4618
- spinnerItems: import("vue").ComputedRef<readonly ["hours", "minutes", "seconds"] | ("seconds" | "minutes" | "hours")[]>;
4619
- timePartials: import("vue").ComputedRef<Record<"seconds" | "minutes" | "hours", number>>;
4618
+ spinnerItems: import("vue").ComputedRef<readonly ["hours", "minutes", "seconds"] | ("hours" | "minutes" | "seconds")[]>;
4619
+ timePartials: import("vue").ComputedRef<Record<"hours" | "minutes" | "seconds", number>>;
4620
4620
  timeList: import("vue").ComputedRef<{
4621
4621
  hours: boolean[];
4622
4622
  minutes: boolean[];
4623
4623
  seconds: boolean[];
4624
4624
  }>;
4625
- arrowControlTimeList: import("vue").ComputedRef<Record<"seconds" | "minutes" | "hours", import("../utils").TimeList>>;
4625
+ arrowControlTimeList: import("vue").ComputedRef<Record<"hours" | "minutes" | "seconds", import("../utils").TimeList>>;
4626
4626
  debouncedResetScroll: import("lodash").DebouncedFunc<(type: any) => void>;
4627
4627
  getAmPmFlag: (hour: number) => string;
4628
- emitSelectRange: (type: "seconds" | "minutes" | "hours") => void;
4629
- adjustCurrentSpinner: (type: "seconds" | "minutes" | "hours") => void;
4628
+ emitSelectRange: (type: "hours" | "minutes" | "seconds") => void;
4629
+ adjustCurrentSpinner: (type: "hours" | "minutes" | "seconds") => void;
4630
4630
  adjustSpinners: () => void;
4631
4631
  getScrollbarElement: (el: HTMLElement) => HTMLElement;
4632
- adjustSpinner: (type: "seconds" | "minutes" | "hours", value: number) => void;
4633
- typeItemHeight: (type: "seconds" | "minutes" | "hours") => number;
4632
+ adjustSpinner: (type: "hours" | "minutes" | "seconds", value: number) => void;
4633
+ typeItemHeight: (type: "hours" | "minutes" | "seconds") => number;
4634
4634
  onIncrement: () => void;
4635
4635
  onDecrement: () => void;
4636
4636
  scrollDown: (step: number) => void;
4637
- findNextUnDisabled: (type: "seconds" | "minutes" | "hours", now: number, step: number, total: number) => number;
4638
- modifyDateField: (type: "seconds" | "minutes" | "hours", value: number) => void;
4639
- handleClick: (type: "seconds" | "minutes" | "hours", { value, disabled }: {
4637
+ findNextUnDisabled: (type: "hours" | "minutes" | "seconds", now: number, step: number, total: number) => number;
4638
+ modifyDateField: (type: "hours" | "minutes" | "seconds", value: number) => void;
4639
+ handleClick: (type: "hours" | "minutes" | "seconds", { value, disabled }: {
4640
4640
  value: number;
4641
4641
  disabled: boolean;
4642
4642
  }) => void;
4643
- handleScroll: (type: "seconds" | "minutes" | "hours") => void;
4644
- scrollBarHeight: (type: "seconds" | "minutes" | "hours") => any;
4643
+ handleScroll: (type: "hours" | "minutes" | "seconds") => void;
4644
+ scrollBarHeight: (type: "hours" | "minutes" | "seconds") => any;
4645
4645
  bindScrollEvent: () => void;
4646
4646
  setRef: (scrollbar: {
4647
4647
  $: import("vue").ComponentInternalInstance;
@@ -5717,7 +5717,7 @@ declare const _default: import("vue").DefineComponent<{
5717
5717
  readonly ratioX: number;
5718
5718
  readonly ratioY: number;
5719
5719
  }>;
5720
- }> & {} & import("vue").ComponentCustomProperties, type: "seconds" | "minutes" | "hours") => void;
5720
+ }> & {} & import("vue").ComponentCustomProperties, type: "hours" | "minutes" | "seconds") => void;
5721
5721
  vRepeatClick: import("vue").ObjectDirective<HTMLElement, import("../../../../directives/repeat-click").RepeatClickOptions | ((...args: unknown[]) => unknown)>;
5722
5722
  ElScrollbar: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
5723
5723
  readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
@@ -116,7 +116,7 @@ declare const _default: import("vue").DefineComponent<{
116
116
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
117
117
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
118
118
  format: (template?: string | undefined) => string;
119
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "years" | "d" | "h" | "m" | "s" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
119
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "s" | "milliseconds" | "days" | "years" | "d" | "h" | "m" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
120
120
  valueOf: () => number;
121
121
  unix: () => number;
122
122
  daysInMonth: () => number;
@@ -186,7 +186,7 @@ declare const _default: import("vue").DefineComponent<{
186
186
  startOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
187
187
  endOf: (unit: dayjs.OpUnitType) => dayjs.Dayjs;
188
188
  format: (template?: string | undefined) => string;
189
- diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "millisecond" | "second" | "minute" | "hour" | "day" | "milliseconds" | "seconds" | "minutes" | "hours" | "days" | "years" | "d" | "h" | "m" | "s" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
189
+ diff: (date?: string | number | Date | dayjs.Dayjs | null | undefined, unit?: "year" | "month" | "date" | "dates" | "week" | "D" | "M" | "y" | "weeks" | "months" | "day" | "hour" | "minute" | "second" | "millisecond" | "hours" | "minutes" | "seconds" | "s" | "milliseconds" | "days" | "years" | "d" | "h" | "m" | "ms" | "w" | "quarter" | "quarters" | "Q" | undefined, float?: boolean | undefined) => number;
190
190
  valueOf: () => number;
191
191
  unix: () => number;
192
192
  daysInMonth: () => number;
@@ -340,7 +340,7 @@ declare const _default: import("vue").DefineComponent<{
340
340
  getMinutesList: (hour: number, role: string, compare?: dayjs.Dayjs | undefined) => boolean[];
341
341
  getSecondsList: (hour: number, minute: number, role: string, compare?: dayjs.Dayjs | undefined) => boolean[];
342
342
  isScrolling: boolean;
343
- currentScrollbar: import("vue").Ref<"seconds" | "minutes" | "hours" | undefined>;
343
+ currentScrollbar: import("vue").Ref<"hours" | "minutes" | "seconds" | undefined>;
344
344
  listHoursRef: import("vue").Ref<({
345
345
  $: import("vue").ComponentInternalInstance;
346
346
  $data: {};
@@ -3566,7 +3566,7 @@ declare const _default: import("vue").DefineComponent<{
3566
3566
  readonly ratioY: number;
3567
3567
  }>;
3568
3568
  }> & {} & import("vue").ComponentCustomProperties) | undefined>;
3569
- listRefsMap: Record<"seconds" | "minutes" | "hours", import("vue").Ref<({
3569
+ listRefsMap: Record<"hours" | "minutes" | "seconds", import("vue").Ref<({
3570
3570
  $: import("vue").ComponentInternalInstance;
3571
3571
  $data: {};
3572
3572
  $props: Partial<{
@@ -4641,33 +4641,33 @@ declare const _default: import("vue").DefineComponent<{
4641
4641
  readonly ratioY: number;
4642
4642
  }>;
4643
4643
  }> & {} & import("vue").ComponentCustomProperties) | undefined>>;
4644
- spinnerItems: import("vue").ComputedRef<readonly ["hours", "minutes", "seconds"] | ("seconds" | "minutes" | "hours")[]>;
4645
- timePartials: import("vue").ComputedRef<Record<"seconds" | "minutes" | "hours", number>>;
4644
+ spinnerItems: import("vue").ComputedRef<readonly ["hours", "minutes", "seconds"] | ("hours" | "minutes" | "seconds")[]>;
4645
+ timePartials: import("vue").ComputedRef<Record<"hours" | "minutes" | "seconds", number>>;
4646
4646
  timeList: import("vue").ComputedRef<{
4647
4647
  hours: boolean[];
4648
4648
  minutes: boolean[];
4649
4649
  seconds: boolean[];
4650
4650
  }>;
4651
- arrowControlTimeList: import("vue").ComputedRef<Record<"seconds" | "minutes" | "hours", import("../utils").TimeList>>;
4651
+ arrowControlTimeList: import("vue").ComputedRef<Record<"hours" | "minutes" | "seconds", import("../utils").TimeList>>;
4652
4652
  debouncedResetScroll: import("lodash").DebouncedFunc<(type: any) => void>;
4653
4653
  getAmPmFlag: (hour: number) => string;
4654
- emitSelectRange: (type: "seconds" | "minutes" | "hours") => void;
4655
- adjustCurrentSpinner: (type: "seconds" | "minutes" | "hours") => void;
4654
+ emitSelectRange: (type: "hours" | "minutes" | "seconds") => void;
4655
+ adjustCurrentSpinner: (type: "hours" | "minutes" | "seconds") => void;
4656
4656
  adjustSpinners: () => void;
4657
4657
  getScrollbarElement: (el: HTMLElement) => HTMLElement;
4658
- adjustSpinner: (type: "seconds" | "minutes" | "hours", value: number) => void;
4659
- typeItemHeight: (type: "seconds" | "minutes" | "hours") => number;
4658
+ adjustSpinner: (type: "hours" | "minutes" | "seconds", value: number) => void;
4659
+ typeItemHeight: (type: "hours" | "minutes" | "seconds") => number;
4660
4660
  onIncrement: () => void;
4661
4661
  onDecrement: () => void;
4662
4662
  scrollDown: (step: number) => void;
4663
- findNextUnDisabled: (type: "seconds" | "minutes" | "hours", now: number, step: number, total: number) => number;
4664
- modifyDateField: (type: "seconds" | "minutes" | "hours", value: number) => void;
4665
- handleClick: (type: "seconds" | "minutes" | "hours", { value, disabled }: {
4663
+ findNextUnDisabled: (type: "hours" | "minutes" | "seconds", now: number, step: number, total: number) => number;
4664
+ modifyDateField: (type: "hours" | "minutes" | "seconds", value: number) => void;
4665
+ handleClick: (type: "hours" | "minutes" | "seconds", { value, disabled }: {
4666
4666
  value: number;
4667
4667
  disabled: boolean;
4668
4668
  }) => void;
4669
- handleScroll: (type: "seconds" | "minutes" | "hours") => void;
4670
- scrollBarHeight: (type: "seconds" | "minutes" | "hours") => any;
4669
+ handleScroll: (type: "hours" | "minutes" | "seconds") => void;
4670
+ scrollBarHeight: (type: "hours" | "minutes" | "seconds") => any;
4671
4671
  bindScrollEvent: () => void;
4672
4672
  setRef: (scrollbar: {
4673
4673
  $: import("vue").ComponentInternalInstance;
@@ -5743,7 +5743,7 @@ declare const _default: import("vue").DefineComponent<{
5743
5743
  readonly ratioX: number;
5744
5744
  readonly ratioY: number;
5745
5745
  }>;
5746
- }> & {} & import("vue").ComponentCustomProperties, type: "seconds" | "minutes" | "hours") => void;
5746
+ }> & {} & import("vue").ComponentCustomProperties, type: "hours" | "minutes" | "seconds") => void;
5747
5747
  vRepeatClick: import("vue").ObjectDirective<HTMLElement, import("../../../../directives/repeat-click").RepeatClickOptions | ((...args: unknown[]) => unknown)>;
5748
5748
  ElScrollbar: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
5749
5749
  readonly height: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
@@ -4635,11 +4635,7 @@ export declare const ElTransfer: import("element-plus/es/utils").SFCWithInstall<
4635
4635
  onClick?: ((evt: MouseEvent) => any) | undefined;
4636
4636
  }>>;
4637
4637
  emit: (event: "click", evt: MouseEvent) => void;
4638
- slots: Readonly<{
4639
- [name: string]: import("vue").Slot | undefined;
4640
- }>;
4641
- buttonGroupContext: import("../..").ButtonGroupContext | undefined;
4642
- globalConfig: import("vue").Ref<import("..").ButtonConfigContext | undefined>;
4638
+ buttonStyle: import("vue").ComputedRef<Record<string, string>>;
4643
4639
  ns: {
4644
4640
  namespace: import("vue").Ref<string>;
4645
4641
  b: (blockSuffix?: string) => string;
@@ -4658,14 +4654,11 @@ export declare const ElTransfer: import("element-plus/es/utils").SFCWithInstall<
4658
4654
  cssVarBlock: (object: Record<string, string>) => Record<string, string>;
4659
4655
  cssVarBlockName: (name: string) => string;
4660
4656
  };
4661
- form: import("../..").FormContext | undefined;
4662
- _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
4663
- _disabled: import("vue").ComputedRef<boolean>;
4664
4657
  _ref: import("vue").Ref<HTMLButtonElement | undefined>;
4658
+ _size: import("vue").ComputedRef<"" | "default" | "small" | "large">;
4665
4659
  _type: import("vue").ComputedRef<"" | "default" | "primary" | "success" | "warning" | "info" | "danger" | "text">;
4666
- autoInsertSpace: import("vue").ComputedRef<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
4660
+ _disabled: import("vue").ComputedRef<boolean>;
4667
4661
  shouldAddSpace: import("vue").ComputedRef<boolean>;
4668
- buttonStyle: import("vue").ComputedRef<Record<string, string>>;
4669
4662
  handleClick: (evt: MouseEvent) => void;
4670
4663
  ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
4671
4664
  readonly size: {