element-plus 2.2.12 → 2.2.15

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 (561) hide show
  1. package/attributes.json +1 -1
  2. package/dist/index.css +1 -1
  3. package/dist/index.full.js +926 -725
  4. package/dist/index.full.min.js +16 -16
  5. package/dist/index.full.min.js.map +1 -1
  6. package/dist/index.full.min.mjs +17 -17
  7. package/dist/index.full.min.mjs.map +1 -1
  8. package/dist/index.full.mjs +927 -726
  9. package/dist/locale/af.js +1 -1
  10. package/dist/locale/af.min.js +1 -1
  11. package/dist/locale/af.min.mjs +1 -1
  12. package/dist/locale/af.mjs +1 -1
  13. package/dist/locale/ar.js +1 -1
  14. package/dist/locale/ar.min.js +1 -1
  15. package/dist/locale/ar.min.mjs +1 -1
  16. package/dist/locale/ar.mjs +1 -1
  17. package/dist/locale/az.js +1 -1
  18. package/dist/locale/az.min.js +1 -1
  19. package/dist/locale/az.min.mjs +1 -1
  20. package/dist/locale/az.mjs +1 -1
  21. package/dist/locale/bg.js +1 -1
  22. package/dist/locale/bg.min.js +1 -1
  23. package/dist/locale/bg.min.mjs +1 -1
  24. package/dist/locale/bg.mjs +1 -1
  25. package/dist/locale/bn.js +1 -1
  26. package/dist/locale/bn.min.js +1 -1
  27. package/dist/locale/bn.min.mjs +1 -1
  28. package/dist/locale/bn.mjs +1 -1
  29. package/dist/locale/ca.js +1 -1
  30. package/dist/locale/ca.min.js +1 -1
  31. package/dist/locale/ca.min.mjs +1 -1
  32. package/dist/locale/ca.mjs +1 -1
  33. package/dist/locale/cs.js +1 -1
  34. package/dist/locale/cs.min.js +1 -1
  35. package/dist/locale/cs.min.mjs +1 -1
  36. package/dist/locale/cs.mjs +1 -1
  37. package/dist/locale/da.js +1 -1
  38. package/dist/locale/da.min.js +1 -1
  39. package/dist/locale/da.min.mjs +1 -1
  40. package/dist/locale/da.mjs +1 -1
  41. package/dist/locale/de.js +1 -1
  42. package/dist/locale/de.min.js +1 -1
  43. package/dist/locale/de.min.mjs +1 -1
  44. package/dist/locale/de.mjs +1 -1
  45. package/dist/locale/el.js +1 -1
  46. package/dist/locale/el.min.js +1 -1
  47. package/dist/locale/el.min.mjs +1 -1
  48. package/dist/locale/el.mjs +1 -1
  49. package/dist/locale/en.js +1 -1
  50. package/dist/locale/en.min.js +1 -1
  51. package/dist/locale/en.min.mjs +1 -1
  52. package/dist/locale/en.mjs +1 -1
  53. package/dist/locale/eo.js +1 -1
  54. package/dist/locale/eo.min.js +1 -1
  55. package/dist/locale/eo.min.mjs +1 -1
  56. package/dist/locale/eo.mjs +1 -1
  57. package/dist/locale/es.js +1 -1
  58. package/dist/locale/es.min.js +1 -1
  59. package/dist/locale/es.min.mjs +1 -1
  60. package/dist/locale/es.mjs +1 -1
  61. package/dist/locale/et.js +1 -1
  62. package/dist/locale/et.min.js +1 -1
  63. package/dist/locale/et.min.mjs +1 -1
  64. package/dist/locale/et.mjs +1 -1
  65. package/dist/locale/eu.js +1 -1
  66. package/dist/locale/eu.min.js +1 -1
  67. package/dist/locale/eu.min.mjs +1 -1
  68. package/dist/locale/eu.mjs +1 -1
  69. package/dist/locale/fa.js +1 -1
  70. package/dist/locale/fa.min.js +1 -1
  71. package/dist/locale/fa.min.mjs +1 -1
  72. package/dist/locale/fa.mjs +1 -1
  73. package/dist/locale/fi.js +1 -1
  74. package/dist/locale/fi.min.js +1 -1
  75. package/dist/locale/fi.min.mjs +1 -1
  76. package/dist/locale/fi.mjs +1 -1
  77. package/dist/locale/fr.js +1 -1
  78. package/dist/locale/fr.min.js +1 -1
  79. package/dist/locale/fr.min.mjs +1 -1
  80. package/dist/locale/fr.mjs +1 -1
  81. package/dist/locale/he.js +1 -1
  82. package/dist/locale/he.min.js +1 -1
  83. package/dist/locale/he.min.mjs +1 -1
  84. package/dist/locale/he.mjs +1 -1
  85. package/dist/locale/hr.js +1 -1
  86. package/dist/locale/hr.min.js +1 -1
  87. package/dist/locale/hr.min.mjs +1 -1
  88. package/dist/locale/hr.mjs +1 -1
  89. package/dist/locale/hu.js +1 -1
  90. package/dist/locale/hu.min.js +1 -1
  91. package/dist/locale/hu.min.mjs +1 -1
  92. package/dist/locale/hu.mjs +1 -1
  93. package/dist/locale/hy-am.js +1 -1
  94. package/dist/locale/hy-am.min.js +1 -1
  95. package/dist/locale/hy-am.min.mjs +1 -1
  96. package/dist/locale/hy-am.mjs +1 -1
  97. package/dist/locale/id.js +1 -1
  98. package/dist/locale/id.min.js +1 -1
  99. package/dist/locale/id.min.mjs +1 -1
  100. package/dist/locale/id.mjs +1 -1
  101. package/dist/locale/it.js +1 -1
  102. package/dist/locale/it.min.js +1 -1
  103. package/dist/locale/it.min.mjs +1 -1
  104. package/dist/locale/it.mjs +1 -1
  105. package/dist/locale/ja.js +1 -1
  106. package/dist/locale/ja.min.js +1 -1
  107. package/dist/locale/ja.min.mjs +1 -1
  108. package/dist/locale/ja.mjs +1 -1
  109. package/dist/locale/kk.js +1 -1
  110. package/dist/locale/kk.min.js +1 -1
  111. package/dist/locale/kk.min.mjs +1 -1
  112. package/dist/locale/kk.mjs +1 -1
  113. package/dist/locale/km.js +1 -1
  114. package/dist/locale/km.min.js +1 -1
  115. package/dist/locale/km.min.mjs +1 -1
  116. package/dist/locale/km.mjs +1 -1
  117. package/dist/locale/ko.js +1 -1
  118. package/dist/locale/ko.min.js +1 -1
  119. package/dist/locale/ko.min.mjs +1 -1
  120. package/dist/locale/ko.mjs +1 -1
  121. package/dist/locale/ku.js +1 -1
  122. package/dist/locale/ku.min.js +1 -1
  123. package/dist/locale/ku.min.mjs +1 -1
  124. package/dist/locale/ku.mjs +1 -1
  125. package/dist/locale/ky.js +1 -1
  126. package/dist/locale/ky.min.js +1 -1
  127. package/dist/locale/ky.min.mjs +1 -1
  128. package/dist/locale/ky.mjs +1 -1
  129. package/dist/locale/lt.js +1 -1
  130. package/dist/locale/lt.min.js +1 -1
  131. package/dist/locale/lt.min.mjs +1 -1
  132. package/dist/locale/lt.mjs +1 -1
  133. package/dist/locale/lv.js +1 -1
  134. package/dist/locale/lv.min.js +1 -1
  135. package/dist/locale/lv.min.mjs +1 -1
  136. package/dist/locale/lv.mjs +1 -1
  137. package/dist/locale/mg.js +1 -1
  138. package/dist/locale/mg.min.js +1 -1
  139. package/dist/locale/mg.min.mjs +1 -1
  140. package/dist/locale/mg.mjs +1 -1
  141. package/dist/locale/mn.js +1 -1
  142. package/dist/locale/mn.min.js +1 -1
  143. package/dist/locale/mn.min.mjs +1 -1
  144. package/dist/locale/mn.mjs +1 -1
  145. package/dist/locale/nb-no.js +1 -1
  146. package/dist/locale/nb-no.min.js +1 -1
  147. package/dist/locale/nb-no.min.mjs +1 -1
  148. package/dist/locale/nb-no.mjs +1 -1
  149. package/dist/locale/nl.js +1 -1
  150. package/dist/locale/nl.min.js +1 -1
  151. package/dist/locale/nl.min.mjs +1 -1
  152. package/dist/locale/nl.mjs +1 -1
  153. package/dist/locale/pa.js +1 -1
  154. package/dist/locale/pa.min.js +1 -1
  155. package/dist/locale/pa.min.mjs +1 -1
  156. package/dist/locale/pa.mjs +1 -1
  157. package/dist/locale/pl.js +1 -1
  158. package/dist/locale/pl.min.js +1 -1
  159. package/dist/locale/pl.min.mjs +1 -1
  160. package/dist/locale/pl.mjs +1 -1
  161. package/dist/locale/pt-br.js +1 -1
  162. package/dist/locale/pt-br.min.js +1 -1
  163. package/dist/locale/pt-br.min.mjs +1 -1
  164. package/dist/locale/pt-br.mjs +1 -1
  165. package/dist/locale/pt.js +1 -1
  166. package/dist/locale/pt.min.js +1 -1
  167. package/dist/locale/pt.min.mjs +1 -1
  168. package/dist/locale/pt.mjs +1 -1
  169. package/dist/locale/ro.js +1 -1
  170. package/dist/locale/ro.min.js +1 -1
  171. package/dist/locale/ro.min.mjs +1 -1
  172. package/dist/locale/ro.mjs +1 -1
  173. package/dist/locale/ru.js +1 -1
  174. package/dist/locale/ru.min.js +1 -1
  175. package/dist/locale/ru.min.mjs +1 -1
  176. package/dist/locale/ru.mjs +1 -1
  177. package/dist/locale/sk.js +1 -1
  178. package/dist/locale/sk.min.js +1 -1
  179. package/dist/locale/sk.min.mjs +1 -1
  180. package/dist/locale/sk.mjs +1 -1
  181. package/dist/locale/sl.js +1 -1
  182. package/dist/locale/sl.min.js +1 -1
  183. package/dist/locale/sl.min.mjs +1 -1
  184. package/dist/locale/sl.mjs +1 -1
  185. package/dist/locale/sr.js +1 -1
  186. package/dist/locale/sr.min.js +1 -1
  187. package/dist/locale/sr.min.mjs +1 -1
  188. package/dist/locale/sr.mjs +1 -1
  189. package/dist/locale/sv.js +1 -1
  190. package/dist/locale/sv.min.js +1 -1
  191. package/dist/locale/sv.min.mjs +1 -1
  192. package/dist/locale/sv.mjs +1 -1
  193. package/dist/locale/ta.js +1 -1
  194. package/dist/locale/ta.min.js +1 -1
  195. package/dist/locale/ta.min.mjs +1 -1
  196. package/dist/locale/ta.mjs +1 -1
  197. package/dist/locale/th.js +1 -1
  198. package/dist/locale/th.min.js +1 -1
  199. package/dist/locale/th.min.mjs +1 -1
  200. package/dist/locale/th.mjs +1 -1
  201. package/dist/locale/tk.js +1 -1
  202. package/dist/locale/tk.min.js +1 -1
  203. package/dist/locale/tk.min.mjs +1 -1
  204. package/dist/locale/tk.mjs +1 -1
  205. package/dist/locale/tr.js +1 -1
  206. package/dist/locale/tr.min.js +1 -1
  207. package/dist/locale/tr.min.mjs +1 -1
  208. package/dist/locale/tr.mjs +1 -1
  209. package/dist/locale/ug-cn.js +1 -1
  210. package/dist/locale/ug-cn.min.js +1 -1
  211. package/dist/locale/ug-cn.min.mjs +1 -1
  212. package/dist/locale/ug-cn.mjs +1 -1
  213. package/dist/locale/uk.js +1 -1
  214. package/dist/locale/uk.min.js +1 -1
  215. package/dist/locale/uk.min.mjs +1 -1
  216. package/dist/locale/uk.mjs +1 -1
  217. package/dist/locale/uz-uz.js +1 -1
  218. package/dist/locale/uz-uz.min.js +1 -1
  219. package/dist/locale/uz-uz.min.mjs +1 -1
  220. package/dist/locale/uz-uz.mjs +1 -1
  221. package/dist/locale/vi.js +1 -1
  222. package/dist/locale/vi.min.js +1 -1
  223. package/dist/locale/vi.min.mjs +1 -1
  224. package/dist/locale/vi.mjs +1 -1
  225. package/dist/locale/zh-cn.js +1 -1
  226. package/dist/locale/zh-cn.min.js +1 -1
  227. package/dist/locale/zh-cn.min.mjs +1 -1
  228. package/dist/locale/zh-cn.mjs +1 -1
  229. package/dist/locale/zh-tw.js +47 -12
  230. package/dist/locale/zh-tw.min.js +1 -1
  231. package/dist/locale/zh-tw.min.js.map +1 -1
  232. package/dist/locale/zh-tw.min.mjs +1 -1
  233. package/dist/locale/zh-tw.min.mjs.map +1 -1
  234. package/dist/locale/zh-tw.mjs +47 -12
  235. package/es/components/carousel/index.d.ts +1 -1
  236. package/es/components/carousel/src/carousel.vue.d.ts +1 -1
  237. package/es/components/cascader/index.d.ts +2 -2
  238. package/es/components/cascader/src/index.mjs +15 -12
  239. package/es/components/cascader/src/index.mjs.map +1 -1
  240. package/es/components/cascader/src/index.vue.d.ts +42 -43
  241. package/es/components/checkbox/index.d.ts +2 -2
  242. package/es/components/checkbox/src/checkbox-group.mjs +3 -3
  243. package/es/components/checkbox/src/checkbox-group.mjs.map +1 -1
  244. package/es/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
  245. package/es/components/checkbox/src/checkbox.d.ts +4 -5
  246. package/es/components/checkbox/src/checkbox.mjs +6 -10
  247. package/es/components/checkbox/src/checkbox.mjs.map +1 -1
  248. package/es/components/color-picker/src/index.mjs +10 -15
  249. package/es/components/color-picker/src/index.mjs.map +1 -1
  250. package/es/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -0
  251. package/es/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -0
  252. package/es/components/date-picker/src/panel-utils.d.ts +2 -0
  253. package/es/components/dialog/src/use-dialog.mjs +1 -1
  254. package/es/components/dialog/src/use-dialog.mjs.map +1 -1
  255. package/es/components/form/index.d.ts +4 -0
  256. package/es/components/form/src/form-item2.mjs +1 -0
  257. package/es/components/form/src/form-item2.mjs.map +1 -1
  258. package/es/components/form/src/form.d.ts +1 -0
  259. package/es/components/form/src/form.mjs +5 -0
  260. package/es/components/form/src/form.mjs.map +1 -1
  261. package/es/components/form/src/form.vue.d.ts +4 -0
  262. package/es/components/index.mjs +1 -1
  263. package/es/components/menu/index.d.ts +224 -0
  264. package/es/components/menu/src/menu.mjs +39 -17
  265. package/es/components/menu/src/menu.mjs.map +1 -1
  266. package/es/components/menu/src/sub-menu.d.ts +138 -2
  267. package/es/components/menu/src/sub-menu.mjs +18 -3
  268. package/es/components/menu/src/sub-menu.mjs.map +1 -1
  269. package/es/components/message/src/instance.mjs +1 -1
  270. package/es/components/message/src/instance.mjs.map +1 -1
  271. package/es/components/message/src/method.mjs +1 -1
  272. package/es/components/message/src/method.mjs.map +1 -1
  273. package/es/components/message-box/src/message-box.type.d.ts +1 -1
  274. package/es/components/message-box/src/messageBox.mjs +10 -9
  275. package/es/components/message-box/src/messageBox.mjs.map +1 -1
  276. package/es/components/notification/src/notification.d.ts +2 -0
  277. package/es/components/notification/src/notification.mjs.map +1 -1
  278. package/es/components/notification/src/notification.vue.d.ts +111 -5
  279. package/es/components/notification/src/notification2.mjs +84 -91
  280. package/es/components/notification/src/notification2.mjs.map +1 -1
  281. package/es/components/notification/src/notify.mjs +2 -2
  282. package/es/components/notification/src/notify.mjs.map +1 -1
  283. package/es/components/page-header/index.d.ts +46 -0
  284. package/es/components/page-header/src/page-header.vue.d.ts +46 -0
  285. package/es/components/page-header/src/page-header2.mjs +70 -28
  286. package/es/components/page-header/src/page-header2.mjs.map +1 -1
  287. package/es/components/pagination/index.d.ts +6 -0
  288. package/es/components/pagination/src/components/next.d.ts +6 -0
  289. package/es/components/pagination/src/components/next.mjs +4 -0
  290. package/es/components/pagination/src/components/next.mjs.map +1 -1
  291. package/es/components/pagination/src/components/next.vue.d.ts +18 -1
  292. package/es/components/pagination/src/components/next2.mjs +2 -3
  293. package/es/components/pagination/src/components/next2.mjs.map +1 -1
  294. package/es/components/pagination/src/components/prev.d.ts +6 -0
  295. package/es/components/pagination/src/components/prev.mjs +4 -0
  296. package/es/components/pagination/src/components/prev.mjs.map +1 -1
  297. package/es/components/pagination/src/components/prev.vue.d.ts +18 -1
  298. package/es/components/pagination/src/components/prev2.mjs +2 -3
  299. package/es/components/pagination/src/components/prev2.mjs.map +1 -1
  300. package/es/components/pagination/src/pagination.d.ts +8 -0
  301. package/es/components/pagination/src/pagination.mjs +12 -0
  302. package/es/components/pagination/src/pagination.mjs.map +1 -1
  303. package/es/components/popconfirm/index.d.ts +7 -0
  304. package/es/components/popconfirm/src/popconfirm.d.ts +1 -0
  305. package/es/components/popconfirm/src/popconfirm.mjs +5 -1
  306. package/es/components/popconfirm/src/popconfirm.mjs.map +1 -1
  307. package/es/components/popconfirm/src/popconfirm.vue.d.ts +454 -447
  308. package/es/components/popconfirm/src/popconfirm2.mjs +14 -5
  309. package/es/components/popconfirm/src/popconfirm2.mjs.map +1 -1
  310. package/es/components/popover/src/popover2.mjs +1 -1
  311. package/es/components/popover/src/popover2.mjs.map +1 -1
  312. package/es/components/scrollbar/index.mjs +2 -2
  313. package/es/components/scrollbar/src/scrollbar.mjs +169 -44
  314. package/es/components/scrollbar/src/scrollbar.mjs.map +1 -1
  315. package/es/components/scrollbar/src/scrollbar2.mjs +44 -169
  316. package/es/components/scrollbar/src/scrollbar2.mjs.map +1 -1
  317. package/es/components/select/src/useOption.mjs +2 -2
  318. package/es/components/select/src/useOption.mjs.map +1 -1
  319. package/es/components/select/src/useSelect.d.ts +31 -32
  320. package/es/components/select/src/useSelect.mjs +8 -11
  321. package/es/components/select/src/useSelect.mjs.map +1 -1
  322. package/es/components/slider/src/composables/use-marks.mjs +1 -1
  323. package/es/components/slider/src/composables/use-marks.mjs.map +1 -1
  324. package/es/components/slot/src/only-child.mjs +3 -1
  325. package/es/components/slot/src/only-child.mjs.map +1 -1
  326. package/es/components/space/index.d.ts +3 -3
  327. package/es/components/space/src/space.d.ts +5 -4
  328. package/es/components/space/src/space.mjs.map +1 -1
  329. package/es/components/space/src/use-space.d.ts +1 -1
  330. package/es/components/switch/src/switch2.mjs +2 -1
  331. package/es/components/switch/src/switch2.mjs.map +1 -1
  332. package/es/components/table/src/table/style-helper.mjs +11 -9
  333. package/es/components/table/src/table/style-helper.mjs.map +1 -1
  334. package/es/components/table/src/table-body/events-helper.d.ts +1 -3
  335. package/es/components/table/src/table-body/events-helper.mjs +2 -2
  336. package/es/components/table/src/table-body/events-helper.mjs.map +1 -1
  337. package/es/components/table/src/table-body/index.mjs +1 -5
  338. package/es/components/table/src/table-body/index.mjs.map +1 -1
  339. package/es/components/table/src/table-body/render-helper.mjs +2 -2
  340. package/es/components/table/src/table-body/render-helper.mjs.map +1 -1
  341. package/es/components/table/src/table-header/index.mjs +1 -2
  342. package/es/components/table/src/table-header/index.mjs.map +1 -1
  343. package/es/components/table/src/util.mjs +1 -0
  344. package/es/components/table/src/util.mjs.map +1 -1
  345. package/es/components/time-picker/src/common/picker.mjs +6 -9
  346. package/es/components/time-picker/src/common/picker.mjs.map +1 -1
  347. package/es/components/time-picker/src/common/picker.vue.d.ts +21 -22
  348. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs +12 -4
  349. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.mjs.map +1 -1
  350. package/es/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -0
  351. package/es/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -0
  352. package/es/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -0
  353. package/es/components/transfer/index.d.ts +10 -10
  354. package/es/components/transfer/src/transfer-panel.vue.d.ts +2 -2
  355. package/es/components/transfer/src/transfer.vue.d.ts +10 -10
  356. package/es/components/tree/src/model/node.mjs +3 -3
  357. package/es/components/tree/src/model/node.mjs.map +1 -1
  358. package/es/components/tree/src/model/tree-store.mjs +2 -2
  359. package/es/components/tree/src/model/tree-store.mjs.map +1 -1
  360. package/es/components/tree-v2/src/composables/useTree.d.ts +4 -0
  361. package/es/components/tree-v2/src/composables/useTree.mjs +21 -7
  362. package/es/components/tree-v2/src/composables/useTree.mjs.map +1 -1
  363. package/es/components/tree-v2/src/tree.mjs +10 -2
  364. package/es/components/tree-v2/src/tree.mjs.map +1 -1
  365. package/es/components/virtual-list/src/builders/build-list.mjs +3 -3
  366. package/es/components/virtual-list/src/builders/build-list.mjs.map +1 -1
  367. package/es/hooks/use-id/index.mjs +4 -1
  368. package/es/hooks/use-id/index.mjs.map +1 -1
  369. package/es/hooks/use-lockscreen/index.mjs +4 -6
  370. package/es/hooks/use-lockscreen/index.mjs.map +1 -1
  371. package/es/index.mjs +1 -1
  372. package/es/locale/lang/zh-tw.d.ts +35 -0
  373. package/es/locale/lang/zh-tw.mjs +46 -11
  374. package/es/locale/lang/zh-tw.mjs.map +1 -1
  375. package/es/utils/dom/index.d.ts +0 -1
  376. package/es/utils/dom/index.mjs +0 -1
  377. package/es/utils/dom/index.mjs.map +1 -1
  378. package/es/utils/index.mjs +0 -1
  379. package/es/utils/index.mjs.map +1 -1
  380. package/es/version.d.ts +1 -1
  381. package/es/version.mjs +1 -1
  382. package/es/version.mjs.map +1 -1
  383. package/lib/components/carousel/index.d.ts +1 -1
  384. package/lib/components/carousel/src/carousel.vue.d.ts +1 -1
  385. package/lib/components/cascader/index.d.ts +2 -2
  386. package/lib/components/cascader/src/index.js +16 -13
  387. package/lib/components/cascader/src/index.js.map +1 -1
  388. package/lib/components/cascader/src/index.vue.d.ts +42 -43
  389. package/lib/components/checkbox/index.d.ts +2 -2
  390. package/lib/components/checkbox/src/checkbox-group.js +3 -3
  391. package/lib/components/checkbox/src/checkbox-group.js.map +1 -1
  392. package/lib/components/checkbox/src/checkbox-group.vue.d.ts +1 -1
  393. package/lib/components/checkbox/src/checkbox.d.ts +4 -5
  394. package/lib/components/checkbox/src/checkbox.js +4 -8
  395. package/lib/components/checkbox/src/checkbox.js.map +1 -1
  396. package/lib/components/color-picker/src/index.js +8 -13
  397. package/lib/components/color-picker/src/index.js.map +1 -1
  398. package/lib/components/date-picker/src/date-picker-com/panel-date-pick.vue.d.ts +1 -0
  399. package/lib/components/date-picker/src/date-picker-com/panel-date-range.vue.d.ts +1 -0
  400. package/lib/components/date-picker/src/panel-utils.d.ts +2 -0
  401. package/lib/components/dialog/src/use-dialog.js +1 -1
  402. package/lib/components/dialog/src/use-dialog.js.map +1 -1
  403. package/lib/components/form/index.d.ts +4 -0
  404. package/lib/components/form/src/form-item2.js +1 -0
  405. package/lib/components/form/src/form-item2.js.map +1 -1
  406. package/lib/components/form/src/form.d.ts +1 -0
  407. package/lib/components/form/src/form.js +5 -0
  408. package/lib/components/form/src/form.js.map +1 -1
  409. package/lib/components/form/src/form.vue.d.ts +4 -0
  410. package/lib/components/index.js +1 -1
  411. package/lib/components/menu/index.d.ts +224 -0
  412. package/lib/components/menu/src/menu.js +39 -17
  413. package/lib/components/menu/src/menu.js.map +1 -1
  414. package/lib/components/menu/src/sub-menu.d.ts +138 -2
  415. package/lib/components/menu/src/sub-menu.js +17 -2
  416. package/lib/components/menu/src/sub-menu.js.map +1 -1
  417. package/lib/components/message/src/instance.js +1 -1
  418. package/lib/components/message/src/instance.js.map +1 -1
  419. package/lib/components/message/src/method.js +1 -1
  420. package/lib/components/message/src/method.js.map +1 -1
  421. package/lib/components/message-box/src/message-box.type.d.ts +1 -1
  422. package/lib/components/message-box/src/messageBox.js +10 -9
  423. package/lib/components/message-box/src/messageBox.js.map +1 -1
  424. package/lib/components/notification/src/notification.d.ts +2 -0
  425. package/lib/components/notification/src/notification.js.map +1 -1
  426. package/lib/components/notification/src/notification.vue.d.ts +111 -5
  427. package/lib/components/notification/src/notification2.js +85 -92
  428. package/lib/components/notification/src/notification2.js.map +1 -1
  429. package/lib/components/notification/src/notify.js +2 -2
  430. package/lib/components/notification/src/notify.js.map +1 -1
  431. package/lib/components/page-header/index.d.ts +46 -0
  432. package/lib/components/page-header/src/page-header.vue.d.ts +46 -0
  433. package/lib/components/page-header/src/page-header2.js +69 -27
  434. package/lib/components/page-header/src/page-header2.js.map +1 -1
  435. package/lib/components/pagination/index.d.ts +6 -0
  436. package/lib/components/pagination/src/components/next.d.ts +6 -0
  437. package/lib/components/pagination/src/components/next.js +4 -0
  438. package/lib/components/pagination/src/components/next.js.map +1 -1
  439. package/lib/components/pagination/src/components/next.vue.d.ts +18 -1
  440. package/lib/components/pagination/src/components/next2.js +1 -2
  441. package/lib/components/pagination/src/components/next2.js.map +1 -1
  442. package/lib/components/pagination/src/components/prev.d.ts +6 -0
  443. package/lib/components/pagination/src/components/prev.js +4 -0
  444. package/lib/components/pagination/src/components/prev.js.map +1 -1
  445. package/lib/components/pagination/src/components/prev.vue.d.ts +18 -1
  446. package/lib/components/pagination/src/components/prev2.js +1 -2
  447. package/lib/components/pagination/src/components/prev2.js.map +1 -1
  448. package/lib/components/pagination/src/pagination.d.ts +8 -0
  449. package/lib/components/pagination/src/pagination.js +12 -0
  450. package/lib/components/pagination/src/pagination.js.map +1 -1
  451. package/lib/components/popconfirm/index.d.ts +7 -0
  452. package/lib/components/popconfirm/src/popconfirm.d.ts +1 -0
  453. package/lib/components/popconfirm/src/popconfirm.js +5 -1
  454. package/lib/components/popconfirm/src/popconfirm.js.map +1 -1
  455. package/lib/components/popconfirm/src/popconfirm.vue.d.ts +454 -447
  456. package/lib/components/popconfirm/src/popconfirm2.js +13 -4
  457. package/lib/components/popconfirm/src/popconfirm2.js.map +1 -1
  458. package/lib/components/popover/src/popover2.js +1 -1
  459. package/lib/components/popover/src/popover2.js.map +1 -1
  460. package/lib/components/scrollbar/index.js +2 -2
  461. package/lib/components/scrollbar/src/scrollbar.js +169 -45
  462. package/lib/components/scrollbar/src/scrollbar.js.map +1 -1
  463. package/lib/components/scrollbar/src/scrollbar2.js +45 -169
  464. package/lib/components/scrollbar/src/scrollbar2.js.map +1 -1
  465. package/lib/components/select/src/useOption.js +1 -1
  466. package/lib/components/select/src/useOption.js.map +1 -1
  467. package/lib/components/select/src/useSelect.d.ts +31 -32
  468. package/lib/components/select/src/useSelect.js +9 -12
  469. package/lib/components/select/src/useSelect.js.map +1 -1
  470. package/lib/components/slider/src/composables/use-marks.js +1 -1
  471. package/lib/components/slider/src/composables/use-marks.js.map +1 -1
  472. package/lib/components/slot/src/only-child.js +3 -1
  473. package/lib/components/slot/src/only-child.js.map +1 -1
  474. package/lib/components/space/index.d.ts +3 -3
  475. package/lib/components/space/src/space.d.ts +5 -4
  476. package/lib/components/space/src/space.js.map +1 -1
  477. package/lib/components/space/src/use-space.d.ts +1 -1
  478. package/lib/components/switch/src/switch2.js +2 -1
  479. package/lib/components/switch/src/switch2.js.map +1 -1
  480. package/lib/components/table/src/table/style-helper.js +11 -9
  481. package/lib/components/table/src/table/style-helper.js.map +1 -1
  482. package/lib/components/table/src/table-body/events-helper.d.ts +1 -3
  483. package/lib/components/table/src/table-body/events-helper.js +2 -2
  484. package/lib/components/table/src/table-body/events-helper.js.map +1 -1
  485. package/lib/components/table/src/table-body/index.js +0 -4
  486. package/lib/components/table/src/table-body/index.js.map +1 -1
  487. package/lib/components/table/src/table-body/render-helper.js +2 -2
  488. package/lib/components/table/src/table-body/render-helper.js.map +1 -1
  489. package/lib/components/table/src/table-header/index.js +1 -2
  490. package/lib/components/table/src/table-header/index.js.map +1 -1
  491. package/lib/components/table/src/util.js +1 -0
  492. package/lib/components/table/src/util.js.map +1 -1
  493. package/lib/components/time-picker/src/common/picker.js +17 -20
  494. package/lib/components/time-picker/src/common/picker.js.map +1 -1
  495. package/lib/components/time-picker/src/common/picker.vue.d.ts +21 -22
  496. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js +12 -4
  497. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.js.map +1 -1
  498. package/lib/components/time-picker/src/time-picker-com/basic-time-spinner.vue.d.ts +1 -0
  499. package/lib/components/time-picker/src/time-picker-com/panel-time-pick.vue.d.ts +1 -0
  500. package/lib/components/time-picker/src/time-picker-com/panel-time-range.vue.d.ts +1 -0
  501. package/lib/components/transfer/index.d.ts +10 -10
  502. package/lib/components/transfer/src/transfer-panel.vue.d.ts +2 -2
  503. package/lib/components/transfer/src/transfer.vue.d.ts +10 -10
  504. package/lib/components/tree/src/model/node.js +3 -3
  505. package/lib/components/tree/src/model/node.js.map +1 -1
  506. package/lib/components/tree/src/model/tree-store.js +1 -1
  507. package/lib/components/tree/src/model/tree-store.js.map +1 -1
  508. package/lib/components/tree-v2/src/composables/useTree.d.ts +4 -0
  509. package/lib/components/tree-v2/src/composables/useTree.js +21 -7
  510. package/lib/components/tree-v2/src/composables/useTree.js.map +1 -1
  511. package/lib/components/tree-v2/src/tree.js +10 -2
  512. package/lib/components/tree-v2/src/tree.js.map +1 -1
  513. package/lib/components/virtual-list/src/builders/build-list.js +2 -2
  514. package/lib/components/virtual-list/src/builders/build-list.js.map +1 -1
  515. package/lib/hooks/use-id/index.js +4 -1
  516. package/lib/hooks/use-id/index.js.map +1 -1
  517. package/lib/hooks/use-lockscreen/index.js +4 -6
  518. package/lib/hooks/use-lockscreen/index.js.map +1 -1
  519. package/lib/index.js +1 -1
  520. package/lib/locale/lang/zh-tw.d.ts +35 -0
  521. package/lib/locale/lang/zh-tw.js +46 -11
  522. package/lib/locale/lang/zh-tw.js.map +1 -1
  523. package/lib/utils/dom/index.d.ts +0 -1
  524. package/lib/utils/dom/index.js +0 -3
  525. package/lib/utils/dom/index.js.map +1 -1
  526. package/lib/utils/index.js +0 -3
  527. package/lib/utils/index.js.map +1 -1
  528. package/lib/version.d.ts +1 -1
  529. package/lib/version.js +1 -1
  530. package/lib/version.js.map +1 -1
  531. package/package.json +6 -4
  532. package/tags.json +1 -1
  533. package/theme-chalk/el-form.css +1 -1
  534. package/theme-chalk/el-input.css +1 -1
  535. package/theme-chalk/el-menu.css +1 -1
  536. package/theme-chalk/el-message.css +1 -1
  537. package/theme-chalk/el-page-header.css +1 -1
  538. package/theme-chalk/el-popover.css +1 -1
  539. package/theme-chalk/el-rate.css +1 -1
  540. package/theme-chalk/el-select-v2.css +1 -1
  541. package/theme-chalk/el-select.css +1 -1
  542. package/theme-chalk/el-table.css +1 -1
  543. package/theme-chalk/index.css +1 -1
  544. package/theme-chalk/src/common/var.scss +0 -2
  545. package/theme-chalk/src/form.scss +17 -6
  546. package/theme-chalk/src/input.scss +1 -0
  547. package/theme-chalk/src/menu.scss +0 -11
  548. package/theme-chalk/src/message.scss +1 -0
  549. package/theme-chalk/src/page-header.scss +40 -26
  550. package/theme-chalk/src/popover.scss +8 -0
  551. package/theme-chalk/src/rate.scss +1 -1
  552. package/theme-chalk/src/select/common.scss +3 -5
  553. package/theme-chalk/src/select.scss +1 -0
  554. package/theme-chalk/src/table.scss +15 -25
  555. package/web-types.json +1 -1
  556. package/es/utils/dom/resize-event.d.ts +0 -9
  557. package/es/utils/dom/resize-event.mjs +0 -34
  558. package/es/utils/dom/resize-event.mjs.map +0 -1
  559. package/lib/utils/dom/resize-event.d.ts +0 -9
  560. package/lib/utils/dom/resize-event.js +0 -39
  561. package/lib/utils/dom/resize-event.js.map +0 -1
@@ -1,11 +1,13 @@
1
- import { defineComponent, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString } from 'vue';
1
+ import { defineComponent, useSlots, computed, openBlock, createElementBlock, normalizeClass, unref, createElementVNode, renderSlot, createBlock, withCtx, resolveDynamicComponent, createCommentVNode, createTextVNode, toDisplayString, createVNode } from 'vue';
2
2
  import { ElIcon } from '../../icon/index.mjs';
3
+ import { ElDivider } from '../../divider/index.mjs';
3
4
  import '../../../hooks/index.mjs';
4
5
  import { pageHeaderProps, pageHeaderEmits } from './page-header.mjs';
5
6
  import _export_sfc from '../../../_virtual/plugin-vue_export-helper.mjs';
6
7
  import { useLocale } from '../../../hooks/use-locale/index.mjs';
7
8
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
8
9
 
10
+ const _hoisted_1 = ["aria-label"];
9
11
  const __default__ = {
10
12
  name: "ElPageHeader"
11
13
  };
@@ -14,47 +16,87 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
14
16
  props: pageHeaderProps,
15
17
  emits: pageHeaderEmits,
16
18
  setup(__props, { emit }) {
19
+ const slots = useSlots();
17
20
  const { t } = useLocale();
18
21
  const ns = useNamespace("page-header");
22
+ const kls = computed(() => {
23
+ return [
24
+ ns.b(),
25
+ {
26
+ [ns.m("has-breadcrumb")]: !!slots.breadcrumb,
27
+ [ns.m("has-extra")]: !!slots.extra,
28
+ [ns.is("contentful")]: !!slots.default
29
+ }
30
+ ];
31
+ });
19
32
  function handleClick() {
20
33
  emit("back");
21
34
  }
22
35
  return (_ctx, _cache) => {
23
36
  return openBlock(), createElementBlock("div", {
24
- class: normalizeClass(unref(ns).b())
37
+ class: normalizeClass(unref(kls))
25
38
  }, [
26
39
  createElementVNode("div", {
27
- class: normalizeClass(unref(ns).e("left")),
28
- onClick: handleClick
40
+ class: normalizeClass(unref(ns).e("breadcrumb"))
41
+ }, [
42
+ renderSlot(_ctx.$slots, "breadcrumb")
43
+ ], 2),
44
+ createElementVNode("div", {
45
+ class: normalizeClass(unref(ns).e("header"))
29
46
  }, [
30
- _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("div", {
31
- key: 0,
32
- class: normalizeClass(unref(ns).e("icon"))
33
- }, [
34
- renderSlot(_ctx.$slots, "icon", {}, () => [
35
- _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
36
- default: withCtx(() => [
37
- (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
38
- ]),
39
- _: 1
40
- })) : createCommentVNode("v-if", true)
41
- ])
42
- ], 2)) : createCommentVNode("v-if", true),
43
47
  createElementVNode("div", {
44
- class: normalizeClass(unref(ns).e("title"))
48
+ class: normalizeClass(unref(ns).e("left"))
49
+ }, [
50
+ createElementVNode("div", {
51
+ class: normalizeClass(unref(ns).e("back")),
52
+ role: "button",
53
+ tabindex: "0",
54
+ onClick: handleClick
55
+ }, [
56
+ _ctx.icon || _ctx.$slots.icon ? (openBlock(), createElementBlock("div", {
57
+ key: 0,
58
+ "aria-label": _ctx.title || unref(t)("el.pageHeader.title"),
59
+ class: normalizeClass(unref(ns).e("icon"))
60
+ }, [
61
+ renderSlot(_ctx.$slots, "icon", {}, () => [
62
+ _ctx.icon ? (openBlock(), createBlock(unref(ElIcon), { key: 0 }, {
63
+ default: withCtx(() => [
64
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.icon)))
65
+ ]),
66
+ _: 1
67
+ })) : createCommentVNode("v-if", true)
68
+ ])
69
+ ], 10, _hoisted_1)) : createCommentVNode("v-if", true),
70
+ createElementVNode("div", {
71
+ class: normalizeClass(unref(ns).e("title"))
72
+ }, [
73
+ renderSlot(_ctx.$slots, "title", {}, () => [
74
+ createTextVNode(toDisplayString(_ctx.title || unref(t)("el.pageHeader.title")), 1)
75
+ ])
76
+ ], 2)
77
+ ], 2),
78
+ createVNode(unref(ElDivider), { direction: "vertical" }),
79
+ createElementVNode("div", {
80
+ class: normalizeClass(unref(ns).e("content"))
81
+ }, [
82
+ renderSlot(_ctx.$slots, "content", {}, () => [
83
+ createTextVNode(toDisplayString(_ctx.content), 1)
84
+ ])
85
+ ], 2)
86
+ ], 2),
87
+ _ctx.$slots.extra ? (openBlock(), createElementBlock("div", {
88
+ key: 0,
89
+ class: normalizeClass(unref(ns).e("extra"))
45
90
  }, [
46
- renderSlot(_ctx.$slots, "title", {}, () => [
47
- createTextVNode(toDisplayString(_ctx.title || unref(t)("el.pageHeader.title")), 1)
48
- ])
49
- ], 2)
91
+ renderSlot(_ctx.$slots, "extra")
92
+ ], 2)) : createCommentVNode("v-if", true)
50
93
  ], 2),
51
- createElementVNode("div", {
52
- class: normalizeClass(unref(ns).e("content"))
94
+ _ctx.$slots.default ? (openBlock(), createElementBlock("div", {
95
+ key: 0,
96
+ class: normalizeClass(unref(ns).e("main"))
53
97
  }, [
54
- renderSlot(_ctx.$slots, "content", {}, () => [
55
- createTextVNode(toDisplayString(_ctx.content), 1)
56
- ])
57
- ], 2)
98
+ renderSlot(_ctx.$slots, "default")
99
+ ], 2)) : createCommentVNode("v-if", true)
58
100
  ], 2);
59
101
  };
60
102
  }
@@ -1 +1 @@
1
- {"version":3,"file":"page-header2.mjs","sources":["../../../../../../packages/components/page-header/src/page-header.vue"],"sourcesContent":["<template>\n <div :class=\"ns.b()\">\n <div :class=\"ns.e('left')\" @click=\"handleClick\">\n <div v-if=\"icon || $slots.icon\" :class=\"ns.e('icon')\">\n <slot name=\"icon\">\n <el-icon v-if=\"icon\">\n <component :is=\"icon\" />\n </el-icon>\n </slot>\n </div>\n <div :class=\"ns.e('title')\">\n <slot name=\"title\">{{ title || t('el.pageHeader.title') }}</slot>\n </div>\n </div>\n <div :class=\"ns.e('content')\">\n <slot name=\"content\">{{ content }}</slot>\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { ElIcon } from '@element-plus/components/icon'\n\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { pageHeaderEmits, pageHeaderProps } from './page-header'\n\ndefineOptions({\n name: 'ElPageHeader',\n})\ndefineProps(pageHeaderProps)\nconst emit = defineEmits(pageHeaderEmits)\n\nconst { t } = useLocale()\nconst ns = useNamespace('page-header')\n\nfunction handleClick() {\n emit('back')\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA+BA,IAAA,MAAA,EAAA,MAAA,SAAA,EAAA,CAAA;AACA,IAAA,MAAA,EAAA,GAAA,aAAA,aAAA,CAAA,CAAA;AAEA,IAAA,SAAA,WAAA,GAAA;AACA,MAAA,IAAA,CAAA,MAAA,CAAA,CAAA;AAAA,KACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"page-header2.mjs","sources":["../../../../../../packages/components/page-header/src/page-header.vue"],"sourcesContent":["<template>\n <div :class=\"kls\">\n <div :class=\"ns.e('breadcrumb')\">\n <slot name=\"breadcrumb\" />\n </div>\n <div :class=\"ns.e('header')\">\n <div :class=\"ns.e('left')\">\n <div\n :class=\"ns.e('back')\"\n role=\"button\"\n tabindex=\"0\"\n @click=\"handleClick\"\n >\n <div\n v-if=\"icon || $slots.icon\"\n :aria-label=\"title || t('el.pageHeader.title')\"\n :class=\"ns.e('icon')\"\n >\n <slot name=\"icon\">\n <el-icon v-if=\"icon\">\n <component :is=\"icon\" />\n </el-icon>\n </slot>\n </div>\n <div :class=\"ns.e('title')\">\n <slot name=\"title\">{{ title || t('el.pageHeader.title') }}</slot>\n </div>\n </div>\n <el-divider direction=\"vertical\" />\n <div :class=\"ns.e('content')\">\n <slot name=\"content\">{{ content }}</slot>\n </div>\n </div>\n\n <div v-if=\"$slots.extra\" :class=\"ns.e('extra')\">\n <slot name=\"extra\" />\n </div>\n </div>\n\n <div v-if=\"$slots.default\" :class=\"ns.e('main')\">\n <slot />\n </div>\n </div>\n</template>\n<script lang=\"ts\" setup>\nimport { computed, useSlots } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ElDivider } from '@element-plus/components/divider'\n\nimport { useLocale, useNamespace } from '@element-plus/hooks'\nimport { pageHeaderEmits, pageHeaderProps } from './page-header'\n\ndefineOptions({\n name: 'ElPageHeader',\n})\n\ndefineProps(pageHeaderProps)\nconst emit = defineEmits(pageHeaderEmits)\nconst slots = useSlots()\n\nconst { t } = useLocale()\nconst ns = useNamespace('page-header')\nconst kls = computed(() => {\n return [\n ns.b(),\n {\n [ns.m('has-breadcrumb')]: !!slots.breadcrumb,\n [ns.m('has-extra')]: !!slots.extra,\n [ns.is('contentful')]: !!slots.default,\n },\n ]\n})\n\nfunction handleClick() {\n emit('back')\n}\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AA0DA,IAAA,MAAA,QAAA,QAAA,EAAA,CAAA;AAEA,IAAA,MAAA,EAAA,MAAA,SAAA,EAAA,CAAA;AACA,IAAA,MAAA,EAAA,GAAA,aAAA,aAAA,CAAA,CAAA;AACA,IAAA,MAAA,GAAA,GAAA,SAAA,MAAA;AACA,MAAA,OAAA;AAAA,QACA,GAAA,CAAA,EAAA;AAAA,QACA;AAAA,UACA,CAAA,EAAA,CAAA,CAAA,CAAA,gBAAA,CAAA,GAAA,CAAA,CAAA,KAAA,CAAA,UAAA;AAAA,UACA,CAAA,EAAA,CAAA,CAAA,CAAA,WAAA,CAAA,GAAA,CAAA,CAAA,KAAA,CAAA,KAAA;AAAA,UACA,CAAA,EAAA,CAAA,EAAA,CAAA,YAAA,CAAA,GAAA,CAAA,CAAA,KAAA,CAAA,OAAA;AAAA,SACA;AAAA,OACA,CAAA;AAAA,KACA,CAAA,CAAA;AAEA,IAAA,SAAA,WAAA,GAAA;AACA,MAAA,IAAA,CAAA,MAAA,CAAA,CAAA;AAAA,KACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -10,7 +10,9 @@ export declare const ElPagination: import("element-plus/es/utils").SFCWithInstal
10
10
  readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
11
11
  readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
12
12
  readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
13
+ readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
13
14
  readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
15
+ readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
14
16
  readonly small: BooleanConstructor;
15
17
  readonly background: BooleanConstructor;
16
18
  readonly disabled: BooleanConstructor;
@@ -36,7 +38,9 @@ export declare const ElPagination: import("element-plus/es/utils").SFCWithInstal
36
38
  readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
37
39
  readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
38
40
  readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
41
+ readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
39
42
  readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
43
+ readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>, boolean>;
40
44
  readonly small: BooleanConstructor;
41
45
  readonly background: BooleanConstructor;
42
46
  readonly disabled: BooleanConstructor;
@@ -57,7 +61,9 @@ export declare const ElPagination: import("element-plus/es/utils").SFCWithInstal
57
61
  readonly pagerCount: number;
58
62
  readonly pageSizes: number[];
59
63
  readonly prevText: string;
64
+ readonly prevIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
60
65
  readonly nextText: string;
66
+ readonly nextIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
61
67
  readonly hideOnSinglePage: boolean;
62
68
  }>> & Record<string, any>;
63
69
  export default ElPagination;
@@ -10,6 +10,12 @@ export declare const paginationNextProps: {
10
10
  readonly validator: ((val: unknown) => boolean) | undefined;
11
11
  __epPropKey: true;
12
12
  };
13
+ readonly nextIcon: {
14
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
15
+ readonly required: false;
16
+ readonly validator: ((val: unknown) => boolean) | undefined;
17
+ __epPropKey: true;
18
+ };
13
19
  };
14
20
  export declare type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>;
15
21
  export declare type NextInstance = InstanceType<typeof Next>;
@@ -1,5 +1,6 @@
1
1
  import '../../../../utils/index.mjs';
2
2
  import { buildProps } from '../../../../utils/vue/props/runtime.mjs';
3
+ import { iconPropType } from '../../../../utils/vue/icon.mjs';
3
4
 
4
5
  const paginationNextProps = buildProps({
5
6
  disabled: Boolean,
@@ -13,6 +14,9 @@ const paginationNextProps = buildProps({
13
14
  },
14
15
  nextText: {
15
16
  type: String
17
+ },
18
+ nextIcon: {
19
+ type: iconPropType
16
20
  }
17
21
  });
18
22
 
@@ -1 +1 @@
1
- {"version":3,"file":"next.mjs","sources":["../../../../../../../packages/components/pagination/src/components/next.ts"],"sourcesContent":["import { buildProps } 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} as const)\n\nexport type PaginationNextProps = ExtractPropTypes<typeof paginationNextProps>\n\nexport type NextInstance = InstanceType<typeof Next>\n"],"names":[],"mappings":";;;AACY,MAAC,mBAAmB,GAAG,UAAU,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,CAAC;;;;"}
1
+ {"version":3,"file":"next.mjs","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":[],"mappings":";;;;AACY,MAAC,mBAAmB,GAAG,UAAU,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,EAAE,YAAY;AACtB,GAAG;AACH,CAAC;;;;"}
@@ -8,6 +8,12 @@ declare const _default: import("vue").DefineComponent<{
8
8
  readonly validator: ((val: unknown) => boolean) | undefined;
9
9
  __epPropKey: true;
10
10
  };
11
+ readonly nextIcon: {
12
+ readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
13
+ readonly required: false;
14
+ readonly validator: ((val: unknown) => boolean) | undefined;
15
+ __epPropKey: true;
16
+ };
11
17
  }, {
12
18
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
13
19
  readonly disabled: BooleanConstructor;
@@ -19,6 +25,12 @@ declare const _default: import("vue").DefineComponent<{
19
25
  readonly validator: ((val: unknown) => boolean) | undefined;
20
26
  __epPropKey: true;
21
27
  };
28
+ readonly nextIcon: {
29
+ readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
30
+ readonly required: false;
31
+ readonly validator: ((val: unknown) => boolean) | undefined;
32
+ __epPropKey: true;
33
+ };
22
34
  }>> & {
23
35
  onClick?: ((...args: any[]) => any) | undefined;
24
36
  }>>;
@@ -86,7 +98,6 @@ declare const _default: import("vue").DefineComponent<{
86
98
  __epPropKey: true;
87
99
  };
88
100
  }>>, {}>> & Record<string, any>;
89
- ArrowRight: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
90
101
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
91
102
  readonly disabled: BooleanConstructor;
92
103
  readonly currentPage: import("../../../../utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
@@ -97,6 +108,12 @@ declare const _default: import("vue").DefineComponent<{
97
108
  readonly validator: ((val: unknown) => boolean) | undefined;
98
109
  __epPropKey: true;
99
110
  };
111
+ readonly nextIcon: {
112
+ readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
113
+ readonly required: false;
114
+ readonly validator: ((val: unknown) => boolean) | undefined;
115
+ __epPropKey: true;
116
+ };
100
117
  }>> & {
101
118
  onClick?: ((...args: any[]) => any) | undefined;
102
119
  }, {
@@ -1,6 +1,5 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, unref, toDisplayString, createBlock, withCtx, createVNode } from 'vue';
1
+ import { defineComponent, computed, openBlock, createElementBlock, unref, toDisplayString, createBlock, withCtx, resolveDynamicComponent } from 'vue';
2
2
  import { ElIcon } from '../../../icon/index.mjs';
3
- import { ArrowRight } from '@element-plus/icons-vue';
4
3
  import { paginationNextProps } from './next.mjs';
5
4
  import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
6
5
 
@@ -26,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
25
  }, [
27
26
  _ctx.nextText ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(_ctx.nextText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
28
27
  default: withCtx(() => [
29
- createVNode(unref(ArrowRight))
28
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.nextIcon)))
30
29
  ]),
31
30
  _: 1
32
31
  }))
@@ -1 +1 @@
1
- {"version":3,"file":"next2.mjs","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><arrow-right /></el-icon>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ArrowRight } from '@element-plus/icons-vue'\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":[],"mappings":";;;;;;;;;;;;;;;;;AA2BA,IAAA,MAAA,gBAAA,GAAA,QACA,CAAA,MACA,KAAA,CAAA,QAAA,IACA,KAAA,CAAA,WAAA,KAAA,KAAA,CAAA,SAAA,IACA,KAAA,CAAA,SAAA,KAAA,CACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"next2.mjs","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":[],"mappings":";;;;;;;;;;;;;;;;AA4BA,IAAA,MAAA,gBAAA,GAAA,QACA,CAAA,MACA,KAAA,CAAA,QAAA,IACA,KAAA,CAAA,WAAA,KAAA,KAAA,CAAA,SAAA,IACA,KAAA,CAAA,SAAA,KAAA,CACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -9,6 +9,12 @@ export declare const paginationPrevProps: {
9
9
  readonly validator: ((val: unknown) => boolean) | undefined;
10
10
  __epPropKey: true;
11
11
  };
12
+ readonly prevIcon: {
13
+ readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
14
+ readonly required: false;
15
+ readonly validator: ((val: unknown) => boolean) | undefined;
16
+ __epPropKey: true;
17
+ };
12
18
  };
13
19
  export declare const paginationPrevEmits: {
14
20
  click: (evt: MouseEvent) => boolean;
@@ -1,5 +1,6 @@
1
1
  import '../../../../utils/index.mjs';
2
2
  import { buildProps } from '../../../../utils/vue/props/runtime.mjs';
3
+ import { iconPropType } from '../../../../utils/vue/icon.mjs';
3
4
 
4
5
  const paginationPrevProps = buildProps({
5
6
  disabled: Boolean,
@@ -9,6 +10,9 @@ const paginationPrevProps = buildProps({
9
10
  },
10
11
  prevText: {
11
12
  type: String
13
+ },
14
+ prevIcon: {
15
+ type: iconPropType
12
16
  }
13
17
  });
14
18
  const paginationPrevEmits = {
@@ -1 +1 @@
1
- {"version":3,"file":"prev.mjs","sources":["../../../../../../../packages/components/pagination/src/components/prev.ts"],"sourcesContent":["import { buildProps } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Prev from './prev.vue'\n\nexport const paginationPrevProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n prevText: {\n type: String,\n },\n} as const)\n\nexport const paginationPrevEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\n\nexport type PrevInstance = InstanceType<typeof Prev>\n"],"names":[],"mappings":";;;AACY,MAAC,mBAAmB,GAAG,UAAU,CAAC;AAC9C,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,mBAAmB,GAAG;AACnC,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;"}
1
+ {"version":3,"file":"prev.mjs","sources":["../../../../../../../packages/components/pagination/src/components/prev.ts"],"sourcesContent":["import { buildProps, iconPropType } from '@element-plus/utils'\nimport type { ExtractPropTypes } from 'vue'\nimport type Prev from './prev.vue'\n\nexport const paginationPrevProps = buildProps({\n disabled: Boolean,\n currentPage: {\n type: Number,\n default: 1,\n },\n prevText: {\n type: String,\n },\n prevIcon: {\n type: iconPropType,\n },\n} as const)\n\nexport const paginationPrevEmits = {\n click: (evt: MouseEvent) => evt instanceof MouseEvent,\n}\n\nexport type PaginationPrevProps = ExtractPropTypes<typeof paginationPrevProps>\n\nexport type PrevInstance = InstanceType<typeof Prev>\n"],"names":[],"mappings":";;;;AACY,MAAC,mBAAmB,GAAG,UAAU,CAAC;AAC9C,EAAE,QAAQ,EAAE,OAAO;AACnB,EAAE,WAAW,EAAE;AACf,IAAI,IAAI,EAAE,MAAM;AAChB,IAAI,OAAO,EAAE,CAAC;AACd,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,MAAM;AAChB,GAAG;AACH,EAAE,QAAQ,EAAE;AACZ,IAAI,IAAI,EAAE,YAAY;AACtB,GAAG;AACH,CAAC,EAAE;AACS,MAAC,mBAAmB,GAAG;AACnC,EAAE,KAAK,EAAE,CAAC,GAAG,KAAK,GAAG,YAAY,UAAU;AAC3C;;;;"}
@@ -7,6 +7,12 @@ declare const _default: import("vue").DefineComponent<{
7
7
  readonly validator: ((val: unknown) => boolean) | undefined;
8
8
  __epPropKey: true;
9
9
  };
10
+ readonly prevIcon: {
11
+ readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
12
+ readonly required: false;
13
+ readonly validator: ((val: unknown) => boolean) | undefined;
14
+ __epPropKey: true;
15
+ };
10
16
  }, {
11
17
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
12
18
  readonly disabled: BooleanConstructor;
@@ -17,6 +23,12 @@ declare const _default: import("vue").DefineComponent<{
17
23
  readonly validator: ((val: unknown) => boolean) | undefined;
18
24
  __epPropKey: true;
19
25
  };
26
+ readonly prevIcon: {
27
+ readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
28
+ readonly required: false;
29
+ readonly validator: ((val: unknown) => boolean) | undefined;
30
+ __epPropKey: true;
31
+ };
20
32
  }>> & {
21
33
  onClick?: ((evt: MouseEvent) => any) | undefined;
22
34
  }>>;
@@ -84,7 +96,6 @@ declare const _default: import("vue").DefineComponent<{
84
96
  __epPropKey: true;
85
97
  };
86
98
  }>>, {}>> & Record<string, any>;
87
- ArrowLeft: import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
88
99
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
89
100
  click: (evt: MouseEvent) => boolean;
90
101
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
@@ -96,6 +107,12 @@ declare const _default: import("vue").DefineComponent<{
96
107
  readonly validator: ((val: unknown) => boolean) | undefined;
97
108
  __epPropKey: true;
98
109
  };
110
+ readonly prevIcon: {
111
+ readonly type: import("vue").PropType<import("../../../../utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
112
+ readonly required: false;
113
+ readonly validator: ((val: unknown) => boolean) | undefined;
114
+ __epPropKey: true;
115
+ };
99
116
  }>> & {
100
117
  onClick?: ((evt: MouseEvent) => any) | undefined;
101
118
  }, {
@@ -1,6 +1,5 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, unref, toDisplayString, createBlock, withCtx, createVNode } from 'vue';
1
+ import { defineComponent, computed, openBlock, createElementBlock, unref, toDisplayString, createBlock, withCtx, resolveDynamicComponent } from 'vue';
2
2
  import { ElIcon } from '../../../icon/index.mjs';
3
- import { ArrowLeft } from '@element-plus/icons-vue';
4
3
  import { paginationPrevProps, paginationPrevEmits } from './prev.mjs';
5
4
  import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.mjs';
6
5
 
@@ -26,7 +25,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
26
25
  }, [
27
26
  _ctx.prevText ? (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(_ctx.prevText), 1)) : (openBlock(), createBlock(unref(ElIcon), { key: 1 }, {
28
27
  default: withCtx(() => [
29
- createVNode(unref(ArrowLeft))
28
+ (openBlock(), createBlock(resolveDynamicComponent(_ctx.prevIcon)))
30
29
  ]),
31
30
  _: 1
32
31
  }))
@@ -1 +1 @@
1
- {"version":3,"file":"prev2.mjs","sources":["../../../../../../../packages/components/pagination/src/components/prev.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-prev\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"prevText\">{{ prevText }}</span>\n <el-icon v-else><arrow-left /></el-icon>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\nimport { computed } from 'vue'\nimport { ElIcon } from '@element-plus/components/icon'\nimport { ArrowLeft } from '@element-plus/icons-vue'\nimport { paginationPrevEmits, paginationPrevProps } from './prev'\n\ndefineOptions({\n name: 'ElPaginationPrev',\n})\n\nconst props = defineProps(paginationPrevProps)\ndefineEmits(paginationPrevEmits)\n\nconst internalDisabled = computed(\n () => props.disabled || props.currentPage <= 1\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AA0BA,IAAA,MAAA,mBAAA,QACA,CAAA,MAAA,MAAA,QAAA,IAAA,KAAA,CAAA,eAAA,CACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"prev2.mjs","sources":["../../../../../../../packages/components/pagination/src/components/prev.vue"],"sourcesContent":["<template>\n <button\n type=\"button\"\n class=\"btn-prev\"\n :disabled=\"internalDisabled\"\n :aria-disabled=\"internalDisabled\"\n @click=\"$emit('click', $event)\"\n >\n <span v-if=\"prevText\">{{ prevText }}</span>\n <el-icon v-else>\n <component :is=\"prevIcon\" />\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 { paginationPrevEmits, paginationPrevProps } from './prev'\n\ndefineOptions({\n name: 'ElPaginationPrev',\n})\n\nconst props = defineProps(paginationPrevProps)\ndefineEmits(paginationPrevEmits)\n\nconst internalDisabled = computed(\n () => props.disabled || props.currentPage <= 1\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AA2BA,IAAA,MAAA,mBAAA,QACA,CAAA,MAAA,MAAA,QAAA,IAAA,KAAA,CAAA,eAAA,CACA,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -11,7 +11,9 @@ export declare const paginationProps: {
11
11
  readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
12
12
  readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
13
13
  readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
14
+ readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
14
15
  readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
16
+ readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
15
17
  readonly small: BooleanConstructor;
16
18
  readonly background: BooleanConstructor;
17
19
  readonly disabled: BooleanConstructor;
@@ -39,7 +41,9 @@ declare const _default: import("vue").DefineComponent<{
39
41
  readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
40
42
  readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
41
43
  readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
44
+ readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
42
45
  readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
46
+ readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
43
47
  readonly small: BooleanConstructor;
44
48
  readonly background: BooleanConstructor;
45
49
  readonly disabled: BooleanConstructor;
@@ -65,7 +69,9 @@ declare const _default: import("vue").DefineComponent<{
65
69
  readonly pageSizes: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => number[]) | (() => number[]) | ((new (...args: any[]) => number[]) | (() => number[]))[], unknown, unknown, () => [10, 20, 30, 40, 50, 100], boolean>;
66
70
  readonly popperClass: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
67
71
  readonly prevText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
72
+ readonly prevIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
68
73
  readonly nextText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
74
+ readonly nextIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>, boolean>;
69
75
  readonly small: BooleanConstructor;
70
76
  readonly background: BooleanConstructor;
71
77
  readonly disabled: BooleanConstructor;
@@ -86,7 +92,9 @@ declare const _default: import("vue").DefineComponent<{
86
92
  readonly pagerCount: number;
87
93
  readonly pageSizes: number[];
88
94
  readonly prevText: string;
95
+ readonly prevIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
89
96
  readonly nextText: string;
97
+ readonly nextIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
90
98
  readonly hideOnSinglePage: boolean;
91
99
  }>;
92
100
  export default _default;
@@ -1,4 +1,5 @@
1
1
  import { defineComponent, getCurrentInstance, computed, ref, watch, provide, h } from 'vue';
2
+ import { ArrowLeft, ArrowRight } from '@element-plus/icons-vue';
2
3
  import '../../../utils/index.mjs';
3
4
  import '../../../hooks/index.mjs';
4
5
  import '../../../tokens/index.mjs';
@@ -10,6 +11,7 @@ import Total from './components/total2.mjs';
10
11
  import Pager from './components/pager2.mjs';
11
12
  import { buildProps, definePropType } from '../../../utils/vue/props/runtime.mjs';
12
13
  import { mutable } from '../../../utils/typescript.mjs';
14
+ import { iconPropType } from '../../../utils/vue/icon.mjs';
13
15
  import { useLocale } from '../../../hooks/use-locale/index.mjs';
14
16
  import { useNamespace } from '../../../hooks/use-namespace/index.mjs';
15
17
  import { elPaginationKey } from '../../../tokens/pagination.mjs';
@@ -46,10 +48,18 @@ const paginationProps = buildProps({
46
48
  type: String,
47
49
  default: ""
48
50
  },
51
+ prevIcon: {
52
+ type: iconPropType,
53
+ default: () => ArrowLeft
54
+ },
49
55
  nextText: {
50
56
  type: String,
51
57
  default: ""
52
58
  },
59
+ nextIcon: {
60
+ type: iconPropType,
61
+ default: () => ArrowRight
62
+ },
53
63
  small: Boolean,
54
64
  background: Boolean,
55
65
  disabled: Boolean,
@@ -198,6 +208,7 @@ var Pagination = defineComponent({
198
208
  disabled: props.disabled,
199
209
  currentPage: currentPageBridge.value,
200
210
  prevText: props.prevText,
211
+ prevIcon: props.prevIcon,
201
212
  onClick: prev
202
213
  }),
203
214
  jumper: h(Jumper),
@@ -213,6 +224,7 @@ var Pagination = defineComponent({
213
224
  currentPage: currentPageBridge.value,
214
225
  pageCount: pageCountBridge.value,
215
226
  nextText: props.nextText,
227
+ nextIcon: props.nextIcon,
216
228
  onClick: next
217
229
  }),
218
230
  sizes: h(Sizes, {